From 9d83e55f4e2fc1c27300e11993bfc8acb64d5243 Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 12:19:06 -0600 Subject: [PATCH 1/6] cleanup libs --- __test__/adapters/ticket-master.test.js | 22 + {test => __test__}/config/index.cache.js | 0 {test => __test__}/config/index.customer.js | 0 {test => __test__}/config/index.order.js | 0 {test => __test__}/mock/address-service.js | 0 {test => __test__}/mock/event-service.js | 0 {test => __test__}/mock/index.js | 0 {test => __test__}/mock/inventory-service.js | 0 {test => __test__}/mock/payment-service.js | 0 {test => __test__}/mock/service1.js | 0 {test => __test__}/mock/shipping-service.js | 0 {test => __test__}/models/mixins.js | 0 .../services-mock/event-service.js | 0 .../services-mock/event-service.mjs | 0 .../services/order-service-local.js | 0 .../services/order-service-remote.js | 0 .../services/shipping-service copy.js | 0 {test => __test__}/services/webswitch.js | 0 package.json | 7 +- src/adapters/ticket-master.js | 34 +- src/domain/webswitch.js | 1 + yarn.lock | 7327 +++++++++++++++++ 22 files changed, 7377 insertions(+), 14 deletions(-) create mode 100644 __test__/adapters/ticket-master.test.js rename {test => __test__}/config/index.cache.js (100%) rename {test => __test__}/config/index.customer.js (100%) rename {test => __test__}/config/index.order.js (100%) rename {test => __test__}/mock/address-service.js (100%) rename {test => __test__}/mock/event-service.js (100%) rename {test => __test__}/mock/index.js (100%) rename {test => __test__}/mock/inventory-service.js (100%) rename {test => __test__}/mock/payment-service.js (100%) rename {test => __test__}/mock/service1.js (100%) rename {test => __test__}/mock/shipping-service.js (100%) rename {test => __test__}/models/mixins.js (100%) rename {test => __test__}/services-mock/event-service.js (100%) rename {test => __test__}/services-mock/event-service.mjs (100%) rename {test => __test__}/services/order-service-local.js (100%) rename {test => __test__}/services/order-service-remote.js (100%) rename {test => __test__}/services/shipping-service copy.js (100%) rename {test => __test__}/services/webswitch.js (100%) create mode 100644 yarn.lock diff --git a/__test__/adapters/ticket-master.test.js b/__test__/adapters/ticket-master.test.js new file mode 100644 index 00000000..4996150a --- /dev/null +++ b/__test__/adapters/ticket-master.test.js @@ -0,0 +1,22 @@ +import { tmListEventsOut } from '../../src/adapters/ticket-master' +import assert from 'node:assert' + +describe('TICKETMASTER', function () { + describe('#DISCOVER()', function () { + it('RETURN DATA', async function () { + const sched = await tmListEventsOut()({ + args: [{ apiKey: process.env.TICKETMASTER_APIKEY }] + }) + console.log(sched) + assert.ok(sched, 'fail', sched) + }) + it('AUTENTICATE', async function () { + const sched = await tmListEventsOut()({ + args: [{ apiKey: process.env.TICKETMASTER_APIKEY }] + }) + if (JSON.parse(sched)?.fault?.faulString === 'Invalid Keysdd') { + console.log(JSON.parse(sched)) + } else assert.ok(true) + }) + }) +}) diff --git a/test/config/index.cache.js b/__test__/config/index.cache.js similarity index 100% rename from test/config/index.cache.js rename to __test__/config/index.cache.js diff --git a/test/config/index.customer.js b/__test__/config/index.customer.js similarity index 100% rename from test/config/index.customer.js rename to __test__/config/index.customer.js diff --git a/test/config/index.order.js b/__test__/config/index.order.js similarity index 100% rename from test/config/index.order.js rename to __test__/config/index.order.js diff --git a/test/mock/address-service.js b/__test__/mock/address-service.js similarity index 100% rename from test/mock/address-service.js rename to __test__/mock/address-service.js diff --git a/test/mock/event-service.js b/__test__/mock/event-service.js similarity index 100% rename from test/mock/event-service.js rename to __test__/mock/event-service.js diff --git a/test/mock/index.js b/__test__/mock/index.js similarity index 100% rename from test/mock/index.js rename to __test__/mock/index.js diff --git a/test/mock/inventory-service.js b/__test__/mock/inventory-service.js similarity index 100% rename from test/mock/inventory-service.js rename to __test__/mock/inventory-service.js diff --git a/test/mock/payment-service.js b/__test__/mock/payment-service.js similarity index 100% rename from test/mock/payment-service.js rename to __test__/mock/payment-service.js diff --git a/test/mock/service1.js b/__test__/mock/service1.js similarity index 100% rename from test/mock/service1.js rename to __test__/mock/service1.js diff --git a/test/mock/shipping-service.js b/__test__/mock/shipping-service.js similarity index 100% rename from test/mock/shipping-service.js rename to __test__/mock/shipping-service.js diff --git a/test/models/mixins.js b/__test__/models/mixins.js similarity index 100% rename from test/models/mixins.js rename to __test__/models/mixins.js diff --git a/test/services-mock/event-service.js b/__test__/services-mock/event-service.js similarity index 100% rename from test/services-mock/event-service.js rename to __test__/services-mock/event-service.js diff --git a/test/services-mock/event-service.mjs b/__test__/services-mock/event-service.mjs similarity index 100% rename from test/services-mock/event-service.mjs rename to __test__/services-mock/event-service.mjs diff --git a/test/services/order-service-local.js b/__test__/services/order-service-local.js similarity index 100% rename from test/services/order-service-local.js rename to __test__/services/order-service-local.js diff --git a/test/services/order-service-remote.js b/__test__/services/order-service-remote.js similarity index 100% rename from test/services/order-service-remote.js rename to __test__/services/order-service-remote.js diff --git a/test/services/shipping-service copy.js b/__test__/services/shipping-service copy.js similarity index 100% rename from test/services/shipping-service copy.js rename to __test__/services/shipping-service copy.js diff --git a/test/services/webswitch.js b/__test__/services/webswitch.js similarity index 100% rename from test/services/webswitch.js rename to __test__/services/webswitch.js diff --git a/package.json b/package.json index cdf8583c..4c56d407 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,6 @@ "version": "1.0.1", "description": "", "main": "./dist/main.js", - "installConfig": { - "pnp": false - }, "repository": { "url": "https://github.com/module-federation/aegis-app" }, @@ -38,7 +35,7 @@ "clean": "rm -rf dist", "clean-cache": "rm -rf cache", "transpile": "babel src -d dist", - "test": "mocha", + "test": "jest && mocha", "demo": "open http://localhost", "kafka-start": "npm run kafka-stop && scripts/start-kafka.sh && sleep 5 && npm run kafka-topics-create", "kafka-stop": "scripts/stop-kafka.sh", @@ -61,7 +58,6 @@ "mongodb": "4.9.0", "multicast-dns": "^7.2.5", "nanoid": "^3.1.12", - "nodemon": "^2.0.20", "pnp": "^0.0.3", "query-params-mongo": "^1.1.3", "smartystreets-javascript-sdk": "^1.6.0", @@ -80,6 +76,7 @@ "esm": "^3.2.25", "express-cli": "0.0.1", "is-core-module": "^2.2.0", + "jest": "^29.3.1", "mocha": "^8.2.0", "py-loader": "^0.3.1", "snowpack": "^3.4.0", diff --git a/src/adapters/ticket-master.js b/src/adapters/ticket-master.js index e7721491..14023267 100644 --- a/src/adapters/ticket-master.js +++ b/src/adapters/ticket-master.js @@ -1,12 +1,28 @@ +import https from 'https' + export function tmListEventsOut (service) { - return async function (data) { - try { - const key = data.args[0].apiKey - const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}` - return await (await fetch(url)).json() - } catch (error) { - console.error({ fn: tmListEventsOut.name, error }) - throw error - } + return async function ({ args }) { + const apiKey = args[0].apiKey + const chunks = [] + return new Promise((resolve, reject) => { + https.get( + `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`, + res => { + res.on('data', chunk => chunks.push(chunk)) + res.on('end', () => resolve(chunks.join(''))) + } + ) + }) } + + // return async function (data) { + // try { + // const key = data.args[0].apiKey + // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}` + // return await (await fetch(url)).json() + // } catch (error) { + // console.error({ fn: tmListEventsOut.name, error }) + // throw error + // } + // } } diff --git a/src/domain/webswitch.js b/src/domain/webswitch.js index 8e589c1e..b65c44a8 100644 --- a/src/domain/webswitch.js +++ b/src/domain/webswitch.js @@ -88,6 +88,7 @@ export class ServiceMeshClient extends EventEmitter { ...performance.nodeTiming }, services: this.mesh.listServices(), + events: , socketState: this.mesh.websocketStatus() || 'undefined' } } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..db87f928 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,7327 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.1.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@apimatic/schema@^0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@apimatic/schema/-/schema-0.4.1.tgz#cb7a122895846638b01f402cc4ca1a32f656aa11" + integrity sha512-KdGp4GaC0sTlcwshahvqZ8OrB/QEM99lxm3sEAo5JgVQP3XH0y/+zeguV8OZhiXRsHERoVZvcI4rKBSHcL84gQ== + dependencies: + lodash.flatten "^4.4.0" + +"@assemblyscript/loader@^0.19.10": + version "0.19.23" + resolved "https://registry.yarnpkg.com/@assemblyscript/loader/-/loader-0.19.23.tgz#7fccae28d0a2692869f1d1219d36093bc24d5e72" + integrity sha512-ulkCYfFbYj01ie1MDOyxv2F6SpRN1TOj7fQxbP07D6HmeR+gr2JLSmINKjga2emB+b1L2KGrFKBTc+e00p54nw== + +"@babel/cli@^7.10.5": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.20.7.tgz#8fc12e85c744a1a617680eacb488fab1fcd35b7c" + integrity sha512-WylgcELHB66WwQqItxNILsMlaTd8/SO6SgTTjMp4uCI7P4QyH1r3nqgFmO3BfM4AtfniHgFMH3EpYFj/zynBkQ== + dependencies: + "@jridgewell/trace-mapping" "^0.3.8" + commander "^4.0.1" + convert-source-map "^1.1.0" + fs-readdir-recursive "^1.1.0" + glob "^7.2.0" + make-dir "^2.1.0" + slash "^2.0.0" + optionalDependencies: + "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" + chokidar "^3.4.0" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.1", "@babel/compat-data@^7.20.5": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" + integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== + +"@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.7.tgz#37072f951bd4d28315445f66e0ec9f6ae0c8c35f" + integrity sha512-t1ZjCluspe5DW24bn2Rr1CDb2v9rn/hROtg9a2tmd0+QYf4bsloYfLQzjG4qHPNMhWtKdGC33R5AxGR2Af2cBw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.7" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + +"@babel/generator@^7.20.7", "@babel/generator@^7.7.2": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" + integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== + dependencies: + "@babel/types" "^7.20.7" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" + integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" + integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== + dependencies: + "@babel/helper-explode-assignable-expression" "^7.18.6" + "@babel/types" "^7.18.9" + +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0", "@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.20.5", "@babel/helper-create-class-features-plugin@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.7.tgz#d0e1f8d7e4ed5dac0389364d9c0c191d948ade6f" + integrity sha512-LtoWbDXOaidEf50hmdDqn9g8VEzsorMexoWMQdQODbvmqYmaF23pBP5VNPAGIFHsFQCIeKokDiz3CH5Y2jlY6w== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-split-export-declaration" "^7.18.6" + +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.20.5.tgz#5ea79b59962a09ec2acf20a963a01ab4d076ccca" + integrity sha512-m68B1lkg3XDGX5yCvGO0kPx3v9WIYLnzjKfPcQiwntEQa5ZeRkPmo2X/ISJc8qxWGfwUr+kvZAeEzAwLec2r2w== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + regexpu-core "^5.2.1" + +"@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + dependencies: + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + +"@babel/helper-explode-assignable-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== + dependencies: + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" + +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-member-expression-to-functions@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05" + integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== + dependencies: + "@babel/types" "^7.20.7" + +"@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.20.7": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" + +"@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" + integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + +"@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" + integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-wrap-function" "^7.18.9" + "@babel/types" "^7.18.9" + +"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" + integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + dependencies: + "@babel/types" "^7.20.2" + +"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" + integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== + dependencies: + "@babel/types" "^7.20.0" + +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/helper-validator-option@^7.12.17", "@babel/helper-validator-option@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + +"@babel/helper-wrap-function@^7.18.9": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz#75e2d84d499a0ab3b31c33bcfe59d6b8a45f62e3" + integrity sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q== + dependencies: + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.20.5" + "@babel/types" "^7.20.5" + +"@babel/helpers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" + integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" + integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" + integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz#d9c85589258539a22a901033853101a6198d4ef1" + integrity sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.7" + +"@babel/plugin-proposal-async-generator-functions@^7.20.1": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" + integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-remap-async-to-generator" "^7.18.9" + "@babel/plugin-syntax-async-generators" "^7.8.4" + +"@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-class-static-block@^7.18.6": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.20.7.tgz#92592e9029b13b15be0f7ce6a7aedc2879ca45a7" + integrity sha512-AveGOoi9DAjUYYuUAG//Ig69GlazLnoyzMw68VCDux+c1tsnnH/OkYcpz/5xzMkEFC6UxjR5Gw1c+iY2wOGVeQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + +"@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + +"@babel/plugin-proposal-export-namespace-from@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-proposal-json-strings@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" + integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + +"@babel/plugin-proposal-numeric-separator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-object-rest-spread@^7.20.2": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.20.7" + +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.20.7.tgz#49f2b372519ab31728cc14115bb0998b15bfda55" + integrity sha512-T+A7b1kfjtRM51ssoOfS1+wbyCVqorfyZhT99TvxxLMirPShD8CzKMRepMlCBGM5RpHMbn8s+5MMHnPstJH6mQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-private-property-in-object@^7.18.6": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.20.5.tgz#309c7668f2263f1c711aa399b5a9a6291eef6135" + integrity sha512-Vq7b9dUA12ByzB4EjQTPo25sFhY+08pQDBSZRtUAkj7lb7jahaHR5igera16QZ+3my1nYR4dKsNdYj5IjPHilQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.20.5" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-assertions@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz#bb50e0d4bea0957235390641209394e87bdb9cc4" + integrity sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-syntax-import-meta@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" + integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + +"@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz#bea332b0e8b2dab3dafe55a163d8227531ab0551" + integrity sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz#dfee18623c8cb31deb796aa3ca84dda9cea94354" + integrity sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-remap-async-to-generator" "^7.18.9" + +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" + integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-block-scoping@^7.20.2": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.11.tgz#9f5a3424bd112a3f32fe0cf9364fbb155cff262a" + integrity sha512-tA4N427a7fjf1P0/2I4ScsHGc5jcHPbb30xMbaTke2gxDuWpUfXDuX1FEymJwKk4tuGUvGcejAR6HdZVqmmPyw== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-classes@^7.20.2": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.7.tgz#f438216f094f6bb31dc266ebfab8ff05aecad073" + integrity sha512-LWYbsiXTPKl+oBlXUGlwNlJZetXD5Am+CyBdqhPsDVjM9Jc8jwBJFrKhHf900Kfk2eZG1y9MAG3UNajol7A4VQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-split-export-declaration" "^7.18.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz#704cc2fd155d1c996551db8276d55b9d46e4d0aa" + integrity sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/template" "^7.20.7" + +"@babel/plugin-transform-destructuring@^7.20.2": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz#8bda578f71620c7de7c93af590154ba331415454" + integrity sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" + integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-duplicate-keys@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" + integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" + integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-for-of@^7.18.8": + version "7.18.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" + integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-function-name@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" + integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== + dependencies: + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" + integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-member-expression-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" + integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-modules-amd@^7.19.6": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz#3daccca8e4cc309f03c3a0c4b41dc4b26f55214a" + integrity sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g== + dependencies: + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-modules-commonjs@^7.19.6": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.20.11.tgz#8cb23010869bf7669fd4b3098598b6b2be6dc607" + integrity sha512-S8e1f7WQ7cimJQ51JkAaDrEtohVEitXjgCGAS2N8S31Y42E+kWwfSz83LYz57QdBm7q9diARVqanIaH2oVgQnw== + dependencies: + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-simple-access" "^7.20.2" + +"@babel/plugin-transform-modules-systemjs@^7.19.6": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz#467ec6bba6b6a50634eea61c9c232654d8a4696e" + integrity sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw== + dependencies: + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-validator-identifier" "^7.19.1" + +"@babel/plugin-transform-modules-umd@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" + integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== + dependencies: + "@babel/helper-module-transforms" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz#626298dd62ea51d452c3be58b285d23195ba69a8" + integrity sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.20.5" + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-new-target@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz#d128f376ae200477f37c4ddfcc722a8a1b3246a8" + integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-object-super@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" + integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-replace-supers" "^7.18.6" + +"@babel/plugin-transform-parameters@^7.20.1", "@babel/plugin-transform-parameters@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz#0ee349e9d1bc96e78e3b37a7af423a4078a7083f" + integrity sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + +"@babel/plugin-transform-property-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" + integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-regenerator@^7.18.6": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz#57cda588c7ffb7f4f8483cc83bdcea02a907f04d" + integrity sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + regenerator-transform "^0.15.1" + +"@babel/plugin-transform-reserved-words@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz#b1abd8ebf8edaa5f7fe6bbb8d2133d23b6a6f76a" + integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-shorthand-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" + integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-spread@^7.19.0": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" + integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + +"@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz#c6706eb2b1524028e317720339583ad0f444adcc" + integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-template-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" + integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-typeof-symbol@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" + integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" + integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + +"@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" + integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/polyfill@^7.11.5": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96" + integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g== + dependencies: + core-js "^2.6.5" + regenerator-runtime "^0.13.4" + +"@babel/preset-env@^7.11.0": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.20.2.tgz#9b1642aa47bb9f43a86f9630011780dab7f86506" + integrity sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg== + dependencies: + "@babel/compat-data" "^7.20.1" + "@babel/helper-compilation-targets" "^7.20.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.20.1" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.20.2" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.20.0" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.20.2" + "@babel/plugin-transform-classes" "^7.20.2" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.20.2" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.19.6" + "@babel/plugin-transform-modules-commonjs" "^7.19.6" + "@babel/plugin-transform-modules-systemjs" "^7.19.6" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.20.1" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.19.0" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.20.2" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + core-js-compat "^3.25.1" + semver "^6.3.0" + +"@babel/preset-modules@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" + integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/register@^7.12.1": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.18.9.tgz#1888b24bc28d5cc41c412feb015e9ff6b96e439c" + integrity sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw== + dependencies: + clone-deep "^4.0.1" + find-cache-dir "^2.0.0" + make-dir "^2.1.0" + pirates "^4.0.5" + source-map-support "^0.5.16" + +"@babel/runtime@^7.8.4": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" + integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== + dependencies: + regenerator-runtime "^0.13.11" + +"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/traverse@^7.20.10", "@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7", "@babel/traverse@^7.7.2": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.10.tgz#2bf98239597fcec12f842756f186a9dde6d09230" + integrity sha512-oSf1juCgymrSez8NI4A2sr4+uB/mFd9MXplYGPEBnfAuWmmyeVcHa6xLPiaRBcXkcb/28bgxmQLTVwFKE1yfsg== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + +"@gar/promisify@^1.0.1": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" + integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== + +"@isaacs/string-locale-compare@^1.0.1": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" + integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/console@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.3.1.tgz#3e3f876e4e47616ea3b1464b9fbda981872e9583" + integrity sha512-IRE6GD47KwcqA09RIWrabKdHPiKDGgtAL31xDxbi/RjQMsr+lY+ppxmHwY0dUEV3qvvxZzoe5Hl0RXZJOjQNUg== + dependencies: + "@jest/types" "^29.3.1" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^29.3.1" + jest-util "^29.3.1" + slash "^3.0.0" + +"@jest/core@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.3.1.tgz#bff00f413ff0128f4debec1099ba7dcd649774a1" + integrity sha512-0ohVjjRex985w5MmO5L3u5GR1O30DexhBSpuwx2P+9ftyqHdJXnk7IUWiP80oHMvt7ubHCJHxV0a0vlKVuZirw== + dependencies: + "@jest/console" "^29.3.1" + "@jest/reporters" "^29.3.1" + "@jest/test-result" "^29.3.1" + "@jest/transform" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + ci-info "^3.2.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-changed-files "^29.2.0" + jest-config "^29.3.1" + jest-haste-map "^29.3.1" + jest-message-util "^29.3.1" + jest-regex-util "^29.2.0" + jest-resolve "^29.3.1" + jest-resolve-dependencies "^29.3.1" + jest-runner "^29.3.1" + jest-runtime "^29.3.1" + jest-snapshot "^29.3.1" + jest-util "^29.3.1" + jest-validate "^29.3.1" + jest-watcher "^29.3.1" + micromatch "^4.0.4" + pretty-format "^29.3.1" + slash "^3.0.0" + strip-ansi "^6.0.0" + +"@jest/environment@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.3.1.tgz#eb039f726d5fcd14698acd072ac6576d41cfcaa6" + integrity sha512-pMmvfOPmoa1c1QpfFW0nXYtNLpofqo4BrCIk6f2kW4JFeNlHV2t3vd+3iDLf31e2ot2Mec0uqZfmI+U0K2CFag== + dependencies: + "@jest/fake-timers" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + jest-mock "^29.3.1" + +"@jest/expect-utils@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.3.1.tgz#531f737039e9b9e27c42449798acb5bba01935b6" + integrity sha512-wlrznINZI5sMjwvUoLVk617ll/UYfGIZNxmbU+Pa7wmkL4vYzhV9R2pwVqUh4NWWuLQWkI8+8mOkxs//prKQ3g== + dependencies: + jest-get-type "^29.2.0" + +"@jest/expect@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.3.1.tgz#456385b62894349c1d196f2d183e3716d4c6a6cd" + integrity sha512-QivM7GlSHSsIAWzgfyP8dgeExPRZ9BIe2LsdPyEhCGkZkoyA+kGsoIzbKAfZCvvRzfZioKwPtCZIt5SaoxYCvg== + dependencies: + expect "^29.3.1" + jest-snapshot "^29.3.1" + +"@jest/fake-timers@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.3.1.tgz#b140625095b60a44de820876d4c14da1aa963f67" + integrity sha512-iHTL/XpnDlFki9Tq0Q1GGuVeQ8BHZGIYsvCO5eN/O/oJaRzofG9Xndd9HuSDBI/0ZS79pg0iwn07OMTQ7ngF2A== + dependencies: + "@jest/types" "^29.3.1" + "@sinonjs/fake-timers" "^9.1.2" + "@types/node" "*" + jest-message-util "^29.3.1" + jest-mock "^29.3.1" + jest-util "^29.3.1" + +"@jest/globals@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.3.1.tgz#92be078228e82d629df40c3656d45328f134a0c6" + integrity sha512-cTicd134vOcwO59OPaB6AmdHQMCtWOe+/DitpTZVxWgMJ+YvXL1HNAmPyiGbSHmF/mXVBkvlm8YYtQhyHPnV6Q== + dependencies: + "@jest/environment" "^29.3.1" + "@jest/expect" "^29.3.1" + "@jest/types" "^29.3.1" + jest-mock "^29.3.1" + +"@jest/reporters@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.3.1.tgz#9a6d78c109608e677c25ddb34f907b90e07b4310" + integrity sha512-GhBu3YFuDrcAYW/UESz1JphEAbvUjaY2vShRZRoRY1mxpCMB3yGSJ4j9n0GxVlEOdCf7qjvUfBCrTUUqhVfbRA== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^29.3.1" + "@jest/test-result" "^29.3.1" + "@jest/transform" "^29.3.1" + "@jest/types" "^29.3.1" + "@jridgewell/trace-mapping" "^0.3.15" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^5.1.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-message-util "^29.3.1" + jest-util "^29.3.1" + jest-worker "^29.3.1" + slash "^3.0.0" + string-length "^4.0.1" + strip-ansi "^6.0.0" + v8-to-istanbul "^9.0.1" + +"@jest/schemas@^29.0.0": + version "29.0.0" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a" + integrity sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA== + dependencies: + "@sinclair/typebox" "^0.24.1" + +"@jest/source-map@^29.2.0": + version "29.2.0" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.2.0.tgz#ab3420c46d42508dcc3dc1c6deee0b613c235744" + integrity sha512-1NX9/7zzI0nqa6+kgpSdKPK+WU1p+SJk3TloWZf5MzPbxri9UEeXX5bWZAPCzbQcyuAzubcdUHA7hcNznmRqWQ== + dependencies: + "@jridgewell/trace-mapping" "^0.3.15" + callsites "^3.0.0" + graceful-fs "^4.2.9" + +"@jest/test-result@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.3.1.tgz#92cd5099aa94be947560a24610aa76606de78f50" + integrity sha512-qeLa6qc0ddB0kuOZyZIhfN5q0e2htngokyTWsGriedsDhItisW7SDYZ7ceOe57Ii03sL988/03wAcBh3TChMGw== + dependencies: + "@jest/console" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + +"@jest/test-sequencer@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.3.1.tgz#fa24b3b050f7a59d48f7ef9e0b782ab65123090d" + integrity sha512-IqYvLbieTv20ArgKoAMyhLHNrVHJfzO6ARZAbQRlY4UGWfdDnLlZEF0BvKOMd77uIiIjSZRwq3Jb3Fa3I8+2UA== + dependencies: + "@jest/test-result" "^29.3.1" + graceful-fs "^4.2.9" + jest-haste-map "^29.3.1" + slash "^3.0.0" + +"@jest/transform@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.3.1.tgz#1e6bd3da4af50b5c82a539b7b1f3770568d6e36d" + integrity sha512-8wmCFBTVGYqFNLWfcOWoVuMuKYPUBTnTMDkdvFtAYELwDOl9RGwOsvQWGPFxDJ8AWY9xM/8xCXdqmPK3+Q5Lug== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^29.3.1" + "@jridgewell/trace-mapping" "^0.3.15" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.3.1" + jest-regex-util "^29.2.0" + jest-util "^29.3.1" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + +"@jest/types@^29.3.1": + version "29.3.1" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.3.1.tgz#7c5a80777cb13e703aeec6788d044150341147e3" + integrity sha512-d0S0jmmTpjnhCmNpApgX3jrUZgZ22ivKJRvL2lli5hpCRoNnp1f85r2/wpKfXuYu8E7Jjh1hGfhPyup1NM5AmA== + dependencies: + "@jest/schemas" "^29.0.0" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + +"@jridgewell/gen-mapping@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/source-map@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb" + integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15", "@jridgewell/trace-mapping@^0.3.8", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@leichtgewicht/ip-codec@^2.0.1": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" + integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== + +"@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": + version "2.1.8-no-fsevents.3" + resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" + integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== + +"@npmcli/arborist@^2.6.4": + version "2.10.0" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-2.10.0.tgz#424c2d73a7ae59c960b0cc7f74fed043e4316c2c" + integrity sha512-CLnD+zXG9oijEEzViimz8fbOoFVb7hoypiaf7p6giJhvYtrxLAyY3cZAMPIFQvsG731+02eMDp3LqVBNo7BaZA== + dependencies: + "@isaacs/string-locale-compare" "^1.0.1" + "@npmcli/installed-package-contents" "^1.0.7" + "@npmcli/map-workspaces" "^1.0.2" + "@npmcli/metavuln-calculator" "^1.1.0" + "@npmcli/move-file" "^1.1.0" + "@npmcli/name-from-folder" "^1.0.1" + "@npmcli/node-gyp" "^1.0.1" + "@npmcli/package-json" "^1.0.1" + "@npmcli/run-script" "^1.8.2" + bin-links "^2.2.1" + cacache "^15.0.3" + common-ancestor-path "^1.0.1" + json-parse-even-better-errors "^2.3.1" + json-stringify-nice "^1.1.4" + mkdirp "^1.0.4" + mkdirp-infer-owner "^2.0.0" + npm-install-checks "^4.0.0" + npm-package-arg "^8.1.5" + npm-pick-manifest "^6.1.0" + npm-registry-fetch "^11.0.0" + pacote "^11.3.5" + parse-conflict-json "^1.1.1" + proc-log "^1.0.0" + promise-all-reject-late "^1.0.0" + promise-call-limit "^1.0.1" + read-package-json-fast "^2.0.2" + readdir-scoped-modules "^1.1.0" + rimraf "^3.0.2" + semver "^7.3.5" + ssri "^8.0.1" + treeverse "^1.0.4" + walk-up-path "^1.0.0" + +"@npmcli/fs@^1.0.0": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" + integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== + dependencies: + "@gar/promisify" "^1.0.1" + semver "^7.3.5" + +"@npmcli/git@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" + integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== + dependencies: + "@npmcli/promise-spawn" "^1.3.2" + lru-cache "^6.0.0" + mkdirp "^1.0.4" + npm-pick-manifest "^6.1.1" + promise-inflight "^1.0.1" + promise-retry "^2.0.1" + semver "^7.3.5" + which "^2.0.2" + +"@npmcli/installed-package-contents@^1.0.6", "@npmcli/installed-package-contents@^1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" + integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== + dependencies: + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + +"@npmcli/map-workspaces@^1.0.2": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-1.0.4.tgz#915708b55afa25e20bc2c14a766c124c2c5d4cab" + integrity sha512-wVR8QxhyXsFcD/cORtJwGQodeeaDf0OxcHie8ema4VgFeqwYkFsDPnSrIRSytX8xR6nKPAH89WnwTcaU608b/Q== + dependencies: + "@npmcli/name-from-folder" "^1.0.1" + glob "^7.1.6" + minimatch "^3.0.4" + read-package-json-fast "^2.0.1" + +"@npmcli/metavuln-calculator@^1.1.0": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-1.1.1.tgz#2f95ff3c6d88b366dd70de1c3f304267c631b458" + integrity sha512-9xe+ZZ1iGVaUovBVFI9h3qW+UuECUzhvZPxK9RaEA2mjU26o5D0JloGYWwLYvQELJNmBdQB6rrpuN8jni6LwzQ== + dependencies: + cacache "^15.0.5" + pacote "^11.1.11" + semver "^7.3.2" + +"@npmcli/move-file@^1.0.1", "@npmcli/move-file@^1.1.0": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" + integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== + dependencies: + mkdirp "^1.0.4" + rimraf "^3.0.2" + +"@npmcli/name-from-folder@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" + integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== + +"@npmcli/node-gyp@^1.0.1", "@npmcli/node-gyp@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" + integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== + +"@npmcli/package-json@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-1.0.1.tgz#1ed42f00febe5293c3502fd0ef785647355f6e89" + integrity sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg== + dependencies: + json-parse-even-better-errors "^2.3.1" + +"@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" + integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== + dependencies: + infer-owner "^1.0.4" + +"@npmcli/run-script@^1.8.2": + version "1.8.6" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.6.tgz#18314802a6660b0d4baa4c3afe7f1ad39d8c28b7" + integrity sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g== + dependencies: + "@npmcli/node-gyp" "^1.0.2" + "@npmcli/promise-spawn" "^1.3.2" + node-gyp "^7.1.0" + read-package-json-fast "^2.0.1" + +"@rollup/plugin-commonjs@^16.0.0": + version "16.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f" + integrity sha512-LuNyypCP3msCGVQJ7ki8PqYdpjfEkE/xtFa5DqlF+7IBD0JsfMZ87C58heSwIMint58sAUZbt3ITqOmdQv/dXw== + dependencies: + "@rollup/pluginutils" "^3.1.0" + commondir "^1.0.1" + estree-walker "^2.0.1" + glob "^7.1.6" + is-reference "^1.2.1" + magic-string "^0.25.7" + resolve "^1.17.0" + +"@rollup/plugin-inject@^4.0.0", "@rollup/plugin-inject@^4.0.2": + version "4.0.4" + resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-4.0.4.tgz#fbeee66e9a700782c4f65c8b0edbafe58678fbc2" + integrity sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ== + dependencies: + "@rollup/pluginutils" "^3.1.0" + estree-walker "^2.0.1" + magic-string "^0.25.7" + +"@rollup/plugin-json@^4.0.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3" + integrity sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw== + dependencies: + "@rollup/pluginutils" "^3.0.8" + +"@rollup/plugin-node-resolve@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-10.0.0.tgz#44064a2b98df7530e66acf8941ff262fc9b4ead8" + integrity sha512-sNijGta8fqzwA1VwUEtTvWCx2E7qC70NMsDh4ZG13byAXYigBNZMxALhKUSycBks5gupJdq0lFrKumFrRZ8H3A== + dependencies: + "@rollup/pluginutils" "^3.1.0" + "@types/resolve" "1.17.1" + builtin-modules "^3.1.0" + deepmerge "^4.2.2" + is-module "^1.0.0" + resolve "^1.17.0" + +"@rollup/plugin-replace@^2.4.2": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a" + integrity sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg== + dependencies: + "@rollup/pluginutils" "^3.1.0" + magic-string "^0.25.7" + +"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" + integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== + dependencies: + "@types/estree" "0.0.39" + estree-walker "^1.0.1" + picomatch "^2.2.2" + +"@sinclair/typebox@^0.24.1": + version "0.24.51" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" + integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== + +"@sindresorhus/is@^4.0.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" + integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== + +"@sinonjs/commons@^1.7.0": + version "1.8.6" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" + integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^9.1.2": + version "9.1.2" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" + integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== + dependencies: + "@sinonjs/commons" "^1.7.0" + +"@szmarczak/http-timer@^4.0.5": + version "4.0.6" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" + integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== + dependencies: + defer-to-connect "^2.0.0" + +"@tootallnate/once@1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" + integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + +"@types/babel__core@^7.1.14": + version "7.1.20" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" + integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.6.4" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" + integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.1" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": + version "7.18.3" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" + integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== + dependencies: + "@babel/types" "^7.3.0" + +"@types/cacheable-request@^6.0.1": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" + integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== + dependencies: + "@types/http-cache-semantics" "*" + "@types/keyv" "^3.1.4" + "@types/node" "*" + "@types/responselike" "^1.0.0" + +"@types/eslint-scope@^3.7.0": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" + integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== + dependencies: + "@types/eslint" "*" + "@types/estree" "*" + +"@types/eslint@*": + version "8.4.10" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.10.tgz#19731b9685c19ed1552da7052b6f668ed7eb64bb" + integrity sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw== + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + +"@types/estree@*": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" + integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== + +"@types/estree@0.0.39": + version "0.0.39" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" + integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== + +"@types/estree@^0.0.45": + version "0.0.45" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884" + integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== + +"@types/graceful-fs@^4.1.3": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + dependencies: + "@types/node" "*" + +"@types/http-cache-semantics@*": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" + integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/json-schema@*", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/keyv@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" + integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== + dependencies: + "@types/node" "*" + +"@types/node@*": + version "18.11.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + +"@types/prettier@^2.1.5": + version "2.7.2" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" + integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== + +"@types/resolve@1.17.1": + version "1.17.1" + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" + integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== + dependencies: + "@types/node" "*" + +"@types/responselike@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" + integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== + dependencies: + "@types/node" "*" + +"@types/stack-utils@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" + integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + +"@types/webidl-conversions@*": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz#2b8e60e33906459219aa587e9d1a612ae994cfe7" + integrity sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog== + +"@types/whatwg-url@^8.2.1": + version "8.2.2" + resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-8.2.2.tgz#749d5b3873e845897ada99be4448041d4cc39e63" + integrity sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA== + dependencies: + "@types/node" "*" + "@types/webidl-conversions" "*" + +"@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + +"@types/yargs@^17.0.8": + version "17.0.18" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.18.tgz#466225ab4fbabb9aa711f5b406796daf1374a5b7" + integrity sha512-eIJR1UER6ur3EpKM3d+2Pgd+ET+k6Kn9B4ZItX0oPjjVI5PrfaRjKyLT5UYendDpLuoiJMNJvovLQbEXqhsPaw== + dependencies: + "@types/yargs-parser" "*" + +"@ungap/promise-all-settled@1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" + integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== + +"@webassemblyjs/ast@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" + integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== + dependencies: + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" + +"@webassemblyjs/floating-point-hex-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" + integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== + +"@webassemblyjs/helper-api-error@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" + integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== + +"@webassemblyjs/helper-buffer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" + integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== + +"@webassemblyjs/helper-code-frame@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" + integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== + dependencies: + "@webassemblyjs/wast-printer" "1.9.0" + +"@webassemblyjs/helper-fsm@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" + integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== + +"@webassemblyjs/helper-module-context@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" + integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== + dependencies: + "@webassemblyjs/ast" "1.9.0" + +"@webassemblyjs/helper-wasm-bytecode@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" + integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== + +"@webassemblyjs/helper-wasm-section@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" + integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + +"@webassemblyjs/ieee754@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" + integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== + dependencies: + "@xtuc/ieee754" "^1.2.0" + +"@webassemblyjs/leb128@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" + integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== + dependencies: + "@xtuc/long" "4.2.2" + +"@webassemblyjs/utf8@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" + integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== + +"@webassemblyjs/wasm-edit@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" + integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/helper-wasm-section" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-opt" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + "@webassemblyjs/wast-printer" "1.9.0" + +"@webassemblyjs/wasm-gen@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" + integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" + +"@webassemblyjs/wasm-opt@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" + integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-buffer" "1.9.0" + "@webassemblyjs/wasm-gen" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + +"@webassemblyjs/wasm-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" + integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-wasm-bytecode" "1.9.0" + "@webassemblyjs/ieee754" "1.9.0" + "@webassemblyjs/leb128" "1.9.0" + "@webassemblyjs/utf8" "1.9.0" + +"@webassemblyjs/wast-parser@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" + integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/floating-point-hex-parser" "1.9.0" + "@webassemblyjs/helper-api-error" "1.9.0" + "@webassemblyjs/helper-code-frame" "1.9.0" + "@webassemblyjs/helper-fsm" "1.9.0" + "@xtuc/long" "4.2.2" + +"@webassemblyjs/wast-printer@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" + integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/wast-parser" "1.9.0" + "@xtuc/long" "4.2.2" + +"@xtuc/ieee754@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" + integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== + +"@xtuc/long@4.2.2": + version "4.2.2" + resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" + integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== + +abbrev@1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + +acorn-walk@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + +acorn@^7.4.0: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +acorn@^8.5.0, acorn@^8.7.0: + version "8.8.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" + integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== + +address@^1.0.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/address/-/address-1.2.2.tgz#2b5248dac5485a6390532c6a517fda2e3faac89e" + integrity sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA== + +agent-base@6, agent-base@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +agentkeepalive@^4.1.3: + version "4.2.1" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" + integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== + dependencies: + debug "^4.1.0" + depd "^1.1.2" + humanize-ms "^1.2.1" + +aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + +ajv-keywords@^3.5.2: + version "3.5.2" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" + integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== + +ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-colors@4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +anymatch@^3.0.3, anymatch@~3.1.1, anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +aproba@^1.0.3: + version "1.2.0" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" + integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== + +are-we-there-yet@~1.1.2: + version "1.1.7" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" + integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== + dependencies: + delegates "^1.0.0" + readable-stream "^2.0.6" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +arr-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" + integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== + +arr-flatten@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" + integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== + +arr-union@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" + integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== + +array-unique@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" + integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== + +asap@^2.0.0: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== + +asn1@~0.2.3: + version "0.2.6" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" + integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== + dependencies: + safer-buffer "~2.1.0" + +assemblyscript@^0.19.10: + version "0.19.23" + resolved "https://registry.yarnpkg.com/assemblyscript/-/assemblyscript-0.19.23.tgz#16ece69f7f302161e2e736a0f6a474e6db72134c" + integrity sha512-fwOQNZVTMga5KRsfY80g7cpOl4PsFQczMwHzdtgoqLXaYhkhavufKb0sB0l3T1DUxpAufA0KNhlbpuuhZUwxMA== + dependencies: + binaryen "102.0.0-nightly.20211028" + long "^5.2.0" + source-map-support "^0.5.20" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== + +assert@^1.4.1: + version "1.5.0" + resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" + integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== + dependencies: + object-assign "^4.1.1" + util "0.10.3" + +assign-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" + integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +atob@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" + integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== + +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" + integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== + +aws4@^1.8.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" + integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== + +axios-retry@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.2.0.tgz#eb48e72f90b177fde62329b2896aa8476cfb90ba" + integrity sha512-RK2cLMgIsAQBDhlIsJR5dOhODPigvel18XUv1dDXW+4k1FzebyfRk+C+orot6WPZOYFKSfhLwHPwVmTVOODQ5w== + dependencies: + is-retry-allowed "^1.1.0" + +axios@^0.21.1: + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + dependencies: + follow-redirects "^1.14.0" + +axios@^0.26.1: + version "0.26.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" + integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== + dependencies: + follow-redirects "^1.14.8" + +babel-jest@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.3.1.tgz#05c83e0d128cd48c453eea851482a38782249f44" + integrity sha512-aard+xnMoxgjwV70t0L6wkW/3HQQtV+O0PEimxKgzNqCJnbYmroPojdP2tqKSOAt8QAKV/uSZU8851M7B5+fcA== + dependencies: + "@jest/transform" "^29.3.1" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^29.2.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" + +babel-loader@^8.2.5: + version "8.3.0" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8" + integrity sha512-H8SvsMF+m9t15HNLMipppzkC+Y2Yq+v3SonZyU70RBL/h1gxPkH08Ot8pEE9Z4Kd+czyWJClmFS8qzIP9OZ04Q== + dependencies: + find-cache-dir "^3.3.1" + loader-utils "^2.0.0" + make-dir "^3.1.0" + schema-utils "^2.6.5" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-jest-hoist@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.2.0.tgz#23ee99c37390a98cfddf3ef4a78674180d823094" + integrity sha512-TnspP2WNiR3GLfCsUNHqeXw0RoQ2f9U5hQ5L3XFpwuO8htQmSrhh8qsB6vi5Yi8+kuynN1yjDjQsPfkebmB6ZA== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.1.14" + "@types/babel__traverse" "^7.0.6" + +babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== + dependencies: + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" + semver "^6.1.1" + +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" + +babel-plugin-polyfill-regenerator@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.8.3" + +babel-preset-jest@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.2.0.tgz#3048bea3a1af222e3505e4a767a974c95a7620dc" + integrity sha512-z9JmMJppMxNv8N7fNRHvhMg9cvIkMxQBXgFkane3yKVEvEOP+kB50lk8DFRvF9PGqbyXxlmebKWhuDORO8RgdA== + dependencies: + babel-plugin-jest-hoist "^29.2.0" + babel-preset-current-node-syntax "^1.0.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +base@^0.11.1: + version "0.11.2" + resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" + integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== + dependencies: + cache-base "^1.0.1" + class-utils "^0.3.5" + component-emitter "^1.2.1" + define-property "^1.0.0" + isobject "^3.0.1" + mixin-deep "^1.2.0" + pascalcase "^0.1.1" + +bcrypt-pbkdf@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== + dependencies: + tweetnacl "^0.14.3" + +big-integer@^1.6.7: + version "1.6.51" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + +big.js@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" + integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== + +bin-links@^2.2.1: + version "2.3.0" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-2.3.0.tgz#1ff241c86d2c29b24ae52f49544db5d78a4eb967" + integrity sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA== + dependencies: + cmd-shim "^4.0.1" + mkdirp-infer-owner "^2.0.0" + npm-normalize-package-bin "^1.0.0" + read-cmd-shim "^2.0.0" + rimraf "^3.0.0" + write-file-atomic "^3.0.3" + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +binaryen@102.0.0-nightly.20211028: + version "102.0.0-nightly.20211028" + resolved "https://registry.yarnpkg.com/binaryen/-/binaryen-102.0.0-nightly.20211028.tgz#8f1efb0920afd34509e342e37f84313ec936afb2" + integrity sha512-GCJBVB5exbxzzvyt8MGDv/MeUjs6gkXDvf4xOIItRBptYl0Tz5sm1o/uG95YK0L0VeG5ajDu3hRtkBP2kzqC5w== + +boolbase@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== + +bplist-parser@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6" + integrity sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q== + dependencies: + big-integer "^1.6.7" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" + integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== + dependencies: + arr-flatten "^1.1.0" + array-unique "^0.3.2" + extend-shallow "^2.0.1" + fill-range "^4.0.0" + isobject "^3.0.1" + repeat-element "^1.1.2" + snapdragon "^0.8.1" + snapdragon-node "^2.0.1" + split-string "^3.0.2" + to-regex "^3.0.1" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browser-stdout@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" + integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== + +browserslist@^4.21.3, browserslist@^4.21.4: + version "4.21.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== + dependencies: + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +bson@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.0.tgz#7874a60091ffc7a45c5dd2973b5cad7cded9718a" + integrity sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA== + dependencies: + buffer "^5.6.0" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +bufferutil@^4.0.2: + version "4.0.7" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" + integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== + dependencies: + node-gyp-build "^4.3.0" + +builtin-modules@^3.1.0, builtin-modules@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" + integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== + +builtins@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== + +cacache@^15.0.0, cacache@^15.0.3, cacache@^15.0.5, cacache@^15.2.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" + integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== + dependencies: + "@npmcli/fs" "^1.0.0" + "@npmcli/move-file" "^1.0.1" + chownr "^2.0.0" + fs-minipass "^2.0.0" + glob "^7.1.4" + infer-owner "^1.0.4" + lru-cache "^6.0.0" + minipass "^3.1.1" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.2" + mkdirp "^1.0.3" + p-map "^4.0.0" + promise-inflight "^1.0.1" + rimraf "^3.0.2" + ssri "^8.0.1" + tar "^6.0.2" + unique-filename "^1.1.1" + +cache-base@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" + integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== + dependencies: + collection-visit "^1.0.0" + component-emitter "^1.2.1" + get-value "^2.0.6" + has-value "^1.0.0" + isobject "^3.0.1" + set-value "^2.0.0" + to-object-path "^0.3.0" + union-value "^1.0.0" + unset-value "^1.0.0" + +cacheable-lookup@^5.0.3: + version "5.0.4" + resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" + integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== + +cacheable-request@^7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" + integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^4.0.0" + lowercase-keys "^2.0.0" + normalize-url "^6.0.1" + responselike "^2.0.0" + +cachedir@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" + integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.0.0, camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.0.0, camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001400: + version "1.0.30001441" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz#987437b266260b640a23cd18fbddb509d7f69f3e" + integrity sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg== + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== + +chalk@^2.0.0, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +cheerio-select@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-1.6.0.tgz#489f36604112c722afa147dedd0d4609c09e1696" + integrity sha512-eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g== + dependencies: + css-select "^4.3.0" + css-what "^6.0.1" + domelementtype "^2.2.0" + domhandler "^4.3.1" + domutils "^2.8.0" + +cheerio@1.0.0-rc.10: + version "1.0.0-rc.10" + resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.10.tgz#2ba3dcdfcc26e7956fc1f440e61d51c643379f3e" + integrity sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw== + dependencies: + cheerio-select "^1.5.0" + dom-serializer "^1.3.2" + domhandler "^4.2.0" + htmlparser2 "^6.1.0" + parse5 "^6.0.1" + parse5-htmlparser2-tree-adapter "^6.0.1" + tslib "^2.2.0" + +chokidar@3.5.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" + integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== + dependencies: + anymatch "~3.1.1" + braces "~3.0.2" + glob-parent "~5.1.0" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.5.0" + optionalDependencies: + fsevents "~2.3.1" + +chokidar@^3.4.0, chokidar@^3.5.2: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + +chrome-trace-event@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" + integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== + +ci-info@^3.2.0: + version "3.7.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f" + integrity sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w== + +cjs-module-lexer@^1.0.0, cjs-module-lexer@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" + integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== + +class-utils@^0.3.5: + version "0.3.6" + resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" + integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== + dependencies: + arr-union "^3.1.0" + define-property "^0.2.5" + isobject "^3.0.0" + static-extend "^0.1.1" + +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + +cli-spinners@^2.5.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" + integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== + +cliui@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" + integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== + dependencies: + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + +clone-response@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== + dependencies: + mimic-response "^1.0.0" + +cmd-shim@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" + integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== + dependencies: + mkdirp-infer-owner "^2.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== + +collect-v8-coverage@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" + integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + +collection-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" + integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== + dependencies: + map-visit "^1.0.0" + object-visit "^1.0.0" + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^4.0.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + +common-ancestor-path@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" + integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== + +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" + integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== + +component-emitter@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" + integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== + +compressible@^2.0.18: + version "2.0.18" + resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" + integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== + dependencies: + mime-db ">= 1.43.0 < 2" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +console-control-strings@^1.0.0, console-control-strings@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== + +convert-source-map@^1.1.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== + +cookie@0.4.2: + version "0.4.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" + integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== + +copy-descriptor@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" + integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== + +core-js-compat@^3.25.1: + version "3.27.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.27.1.tgz#b5695eb25c602d72b1d30cbfba3cb7e5e4cf0a67" + integrity sha512-Dg91JFeCDA17FKnneN7oCMz4BkQ4TcffkgHP4OWwp9yx3pi7ubqMDXXSacfNak1PQqjc95skyt+YBLHQJnkJwA== + dependencies: + browserslist "^4.21.4" + +core-js@^2.6.5: + version "2.6.12" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" + integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== + +core-js@^3.6.5: + version "3.27.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.27.1.tgz#23cc909b315a6bb4e418bf40a52758af2103ba46" + integrity sha512-GutwJLBChfGCpwwhbYoqfv03LAfmiz7e7D/BNxzeMxwQf10GRSzqiOjx7AmtEk+heiD/JWmBuyBPgFtx0Sg1ww== + +core-util-is@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +css-select@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" + integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== + dependencies: + boolbase "^1.0.0" + css-what "^6.0.1" + domhandler "^4.3.1" + domutils "^2.8.0" + nth-check "^2.0.1" + +css-what@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" + integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +dashdash@^1.12.0, dashdash@^1.5.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== + dependencies: + assert-plus "^1.0.0" + +debug@2.6.9, debug@^2.2.0, debug@^2.3.3: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.3: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +debug@4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" + integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== + dependencies: + ms "2.1.2" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debuglog@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== + +decamelize@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + +decamelize@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" + integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== + +decode-uri-component@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" + integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== + +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + +dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +default-browser-id@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-2.0.0.tgz#01ecce371a71e85f15a17177e7863047e73dbe7d" + integrity sha512-+LePblg9HDIx3CIla8BxfI/zYUFs8Kp67U5feqb7iTJcAxBOvcZ7ZNXKFsBDnGE5x0ap66o848VHE0fq7cgpPg== + dependencies: + bplist-parser "^0.1.0" + pify "^2.3.0" + untildify "^2.0.0" + +defer-to-connect@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + +define-property@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" + integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== + dependencies: + is-descriptor "^0.1.0" + +define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" + integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== + dependencies: + is-descriptor "^1.0.0" + +define-property@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" + integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== + dependencies: + is-descriptor "^1.0.2" + isobject "^3.0.1" + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + +denque@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/denque/-/denque-2.1.0.tgz#e93e1a6569fb5e66f16a3c2a2964617d349d6ab1" + integrity sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw== + +depd@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + +depd@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +detect-file@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" + integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== + +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +detect-node@^2.0.4: + version "2.1.0" + resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" + integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== + +detect-port@^1.3.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/detect-port/-/detect-port-1.5.1.tgz#451ca9b6eaf20451acb0799b8ab40dff7718727b" + integrity sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ== + dependencies: + address "^1.0.1" + debug "4" + +dezalgo@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== + dependencies: + asap "^2.0.0" + wrappy "1" + +diff-sequences@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.3.1.tgz#104b5b95fe725932421a9c6e5b4bef84c3f2249e" + integrity sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ== + +diff@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" + integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== + +dns-packet@^5.2.2: + version "5.4.0" + resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.4.0.tgz#1f88477cf9f27e78a213fb6d118ae38e759a879b" + integrity sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g== + dependencies: + "@leichtgewicht/ip-codec" "^2.0.1" + +dom-serializer@^1.0.1, dom-serializer@^1.3.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" + integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== + dependencies: + domelementtype "^2.0.1" + domhandler "^4.2.0" + entities "^2.0.0" + +domelementtype@^2.0.1, domelementtype@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" + integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== + +domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" + integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== + dependencies: + domelementtype "^2.2.0" + +domutils@^2.5.2, domutils@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" + integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== + dependencies: + dom-serializer "^1.0.1" + domelementtype "^2.2.0" + domhandler "^4.2.0" + +dotenv@^16.0.3: + version "16.0.3" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" + integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== + +ecc-jsbn@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" + integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== + dependencies: + jsbn "~0.1.0" + safer-buffer "^2.1.0" + +ejs@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-1.0.0.tgz#c9c60a48a46ee452fb32a71c317b95e5aa1fcb3d" + integrity sha512-hK3tEqj0pP7UF5UHKNiRvm3zCaYk7UI4EBJ6wwN5O2qX1WdSovmqvUHEbNOJuglXzVkk/H0r7vgst3mVcQXrPA== + +electron-to-chromium@^1.4.251: + version "1.4.284" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" + integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== + +emittery@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" + integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== + +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emojis-list@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" + integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== + +encoding@^0.1.12: + version "0.1.13" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + +end-of-stream@^1.1.0: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + +enhanced-resolve@5.0.0-beta.10: + version "5.0.0-beta.10" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.0.0-beta.10.tgz#3907c034f8e59446dfa5a89a1fd73db29aa0f246" + integrity sha512-vEyxvHv3f8xl7i7QmTQ6BqKY32acSPQ4dTZo8WRMtcqTDYH9YyXnDxqXsQqBLvdRHUiwl9nVivESiM1RcrxbKQ== + dependencies: + graceful-fs "^4.2.0" + tapable "^2.0.0-beta.10" + +enhanced-resolve@^4.1.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" + integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== + dependencies: + graceful-fs "^4.1.2" + memory-fs "^0.5.0" + tapable "^1.0.0" + +entities@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" + integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== + +env-paths@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" + integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== + +err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== + +errno@^0.1.3: + version "0.1.8" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" + integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== + dependencies: + prr "~1.0.1" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-module-lexer@^0.3.24: + version "0.3.26" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.26.tgz#7b507044e97d5b03b01d4392c74ffeb9c177a83b" + integrity sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA== + +es-module-lexer@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.6.0.tgz#e72ab05b7412e62b9be37c37a09bdb6000d706f0" + integrity sha512-f8kcHX1ArhllUtb/wVSyvygoKCznIjnxhLxy7TCvIiMdT7fL4ZDTIKaadMe6eLvOXg6Wk02UeoFgUoZ2EKZZUA== + +esbuild@~0.9.0: + version "0.9.7" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.9.7.tgz#ea0d639cbe4b88ec25fbed4d6ff00c8d788ef70b" + integrity sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg== + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +esinstall@^1.0.0, esinstall@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/esinstall/-/esinstall-1.1.7.tgz#ceabeb4b8685bf48c805a503e292dfafe4e0cb22" + integrity sha512-irDsrIF7fZ5BCQEAV5gmH+4nsK6JhnkI9C9VloXdmzJLbM1EcshPw8Ap95UUGc4ZJdzGeOrjV+jgKjQ/Z7Q3pg== + dependencies: + "@rollup/plugin-commonjs" "^16.0.0" + "@rollup/plugin-inject" "^4.0.2" + "@rollup/plugin-json" "^4.0.0" + "@rollup/plugin-node-resolve" "^10.0.0" + "@rollup/plugin-replace" "^2.4.2" + builtin-modules "^3.2.0" + cjs-module-lexer "^1.2.1" + es-module-lexer "^0.6.0" + execa "^5.1.1" + is-valid-identifier "^2.0.2" + kleur "^4.1.1" + mkdirp "^1.0.3" + picomatch "^2.3.0" + resolve "^1.20.0" + rimraf "^3.0.0" + rollup "~2.37.1" + rollup-plugin-polyfill-node "^0.6.2" + slash "~3.0.0" + validate-npm-package-name "^3.0.0" + vm2 "^3.9.2" + +eslint-scope@^5.1.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +esm@^3.2.25: + version "3.2.25" + resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" + integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estree-walker@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" + integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== + +estree-walker@^2.0.1, estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +etag@^1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== + +eventemitter3@^4.0.4: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +execa@^5.0.0, execa@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== + +expand-brackets@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" + integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== + dependencies: + debug "^2.3.3" + define-property "^0.2.5" + extend-shallow "^2.0.1" + posix-character-classes "^0.1.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +expand-tilde@^2.0.0, expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== + dependencies: + homedir-polyfill "^1.0.1" + +expect@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.3.1.tgz#92877aad3f7deefc2e3f6430dd195b92295554a6" + integrity sha512-gGb1yTgU30Q0O/tQq+z30KBWv24ApkMgFUpvKBkyLUBL68Wv8dHdJxTBZFl/iT8K/bqDHvUYRH6IIN3rToopPA== + dependencies: + "@jest/expect-utils" "^29.3.1" + jest-get-type "^29.2.0" + jest-matcher-utils "^29.3.1" + jest-message-util "^29.3.1" + jest-util "^29.3.1" + +express-cli@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/express-cli/-/express-cli-0.0.1.tgz#4b8053cf46ea5b78a50ec8924a174f9c8efca52f" + integrity sha512-4HJ65kcpNJsj991kpfy3ts3bmGewIHoqIhhB67BCRdPYqT5ihu+FTFL3fIqOpbLRLNxH9wk90rZvWOSa+GZkoA== + +express-session@^1.17.1: + version "1.17.3" + resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.3.tgz#14b997a15ed43e5949cb1d073725675dd2777f36" + integrity sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw== + dependencies: + cookie "0.4.2" + cookie-signature "1.0.6" + debug "2.6.9" + depd "~2.0.0" + on-headers "~1.0.2" + parseurl "~1.3.3" + safe-buffer "5.2.1" + uid-safe "~2.1.5" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== + dependencies: + is-extendable "^0.1.0" + +extend-shallow@^3.0.0, extend-shallow@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" + integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== + dependencies: + assign-symbols "^1.0.0" + is-extendable "^1.0.1" + +extend@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +extglob@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" + integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== + dependencies: + array-unique "^0.3.2" + define-property "^1.0.0" + expand-brackets "^2.1.4" + extend-shallow "^2.0.1" + fragment-cache "^0.2.1" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== + +extsprintf@^1.2.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" + integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== + +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + +fdir@^5.0.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/fdir/-/fdir-5.3.0.tgz#67c6a75edebb887906fb22fec224fa5c2b1ff1e8" + integrity sha512-BtE53+jaa7nNHT+gPdfU6cFAXOJUWDs2b5GFox8dtl6zLXmfNf/N6im69b9nqNNwDyl27mpIWX8qR7AafWzSdQ== + +fill-range@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" + integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== + dependencies: + extend-shallow "^2.0.1" + is-number "^3.0.0" + repeat-string "^1.6.1" + to-regex-range "^2.1.0" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-cache-dir@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" + integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== + dependencies: + commondir "^1.0.1" + make-dir "^2.0.0" + pkg-dir "^3.0.0" + +find-cache-dir@^3.3.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" + integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== + dependencies: + commondir "^1.0.1" + make-dir "^3.0.2" + pkg-dir "^4.1.0" + +find-up@5.0.0, find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== + dependencies: + locate-path "^3.0.0" + +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +findup-sync@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" + integrity sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== + dependencies: + detect-file "^1.0.0" + is-glob "^4.0.0" + micromatch "^3.0.4" + resolve-dir "^1.0.1" + +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + +follow-redirects@^1.14.0, follow-redirects@^1.14.8: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + +for-in@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" + integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== + +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== + +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +form-data@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" + integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.6" + mime-types "^2.1.12" + +fragment-cache@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" + integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== + dependencies: + map-cache "^0.2.2" + +fs-minipass@^2.0.0, fs-minipass@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + +fs-readdir-recursive@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" + integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2, fsevents@~2.3.1, fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +fsevents@~2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" + integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" + integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg== + dependencies: + aproba "^1.0.3" + console-control-strings "^1.0.0" + has-unicode "^2.0.0" + object-assign "^4.1.0" + signal-exit "^3.0.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" + wide-align "^1.1.0" + +generic-names@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-4.0.0.tgz#0bd8a2fd23fe8ea16cbd0a279acd69c06933d9a3" + integrity sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A== + dependencies: + loader-utils "^3.2.0" + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.1, get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stream@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" + integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== + dependencies: + pump "^3.0.0" + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +get-value@^2.0.3, get-value@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" + integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== + +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== + dependencies: + assert-plus "^1.0.0" + +glob-parent@~5.1.0, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-to-regexp@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" + integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== + +glob@7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7, glob@^7.2.0: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-modules@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" + integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== + dependencies: + global-prefix "^1.0.1" + is-windows "^1.0.1" + resolve-dir "^1.0.0" + +global-modules@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" + integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== + dependencies: + global-prefix "^3.0.0" + +global-prefix@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" + integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== + dependencies: + expand-tilde "^2.0.2" + homedir-polyfill "^1.0.1" + ini "^1.3.4" + is-windows "^1.0.1" + which "^1.2.14" + +global-prefix@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" + integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== + dependencies: + ini "^1.3.5" + kind-of "^6.0.2" + which "^1.3.1" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +got@^11.1.4: + version "11.8.6" + resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" + integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== + dependencies: + "@sindresorhus/is" "^4.0.0" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + cacheable-lookup "^5.0.3" + cacheable-request "^7.0.2" + decompress-response "^6.0.0" + http2-wrapper "^1.0.0-beta.5.2" + lowercase-keys "^2.0.0" + p-cancelable "^2.0.0" + responselike "^2.0.0" + +graceful-fs@^4.1.2, graceful-fs@^4.2.0, graceful-fs@^4.2.3, graceful-fs@^4.2.4, graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +growl@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" + integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== + +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" + integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== + +har-validator@~5.1.3: + version "5.1.5" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" + integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== + dependencies: + ajv "^6.12.3" + har-schema "^2.0.0" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-unicode@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== + +has-value@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" + integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== + dependencies: + get-value "^2.0.3" + has-values "^0.1.4" + isobject "^2.0.0" + +has-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" + integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== + dependencies: + get-value "^2.0.6" + has-values "^1.0.0" + isobject "^3.0.0" + +has-values@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" + integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== + +has-values@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" + integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== + dependencies: + is-number "^3.0.0" + kind-of "^4.0.0" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +he@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + +homedir-polyfill@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" + integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== + dependencies: + parse-passwd "^1.0.0" + +hosted-git-info@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" + integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== + dependencies: + lru-cache "^6.0.0" + +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +htmlparser2@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7" + integrity sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A== + dependencies: + domelementtype "^2.0.1" + domhandler "^4.0.0" + domutils "^2.5.2" + entities "^2.0.0" + +http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" + integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== + +http-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" + integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== + dependencies: + "@tootallnate/once" "1" + agent-base "6" + debug "4" + +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" + integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +http2-wrapper@^1.0.0-beta.5.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" + integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.0.0" + +httpie@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/httpie/-/httpie-1.1.2.tgz#e76a6792c2172446ea6df8805977a6f57bc9615d" + integrity sha512-VQ82oXG95oY1fQw/XecHuvcFBA+lZQ9Vwj1RfLcO8a7HpDd4cc2ukwpJt+TUlFaLUAzZErylxWu6wclJ1rUhUQ== + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +humanize-ms@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== + dependencies: + ms "^2.0.0" + +iconv-lite@^0.6.2: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +icss-replace-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" + integrity sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg== + +icss-utils@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" + integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== + +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore-by-default@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" + integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== + +ignore-walk@^3.0.3: + version "3.0.4" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" + integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== + dependencies: + minimatch "^3.0.4" + +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +import-local@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" + integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== + dependencies: + pkg-dir "^3.0.0" + resolve-cwd "^2.0.0" + +import-local@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + +infer-owner@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" + integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" + integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== + +ini@^1.3.4, ini@^1.3.5: + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +interpret@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + +ip@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" + integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== + +is-accessor-descriptor@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" + integrity sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A== + dependencies: + kind-of "^3.0.2" + +is-accessor-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" + integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== + dependencies: + kind-of "^6.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-buffer@^1.1.5: + version "1.1.6" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== + +is-core-module@^2.2.0, is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-data-descriptor@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" + integrity sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg== + dependencies: + kind-of "^3.0.2" + +is-data-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" + integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== + dependencies: + kind-of "^6.0.0" + +is-descriptor@^0.1.0: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" + integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== + dependencies: + is-accessor-descriptor "^0.1.6" + is-data-descriptor "^0.1.4" + kind-of "^5.0.0" + +is-descriptor@^1.0.0, is-descriptor@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" + integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== + dependencies: + is-accessor-descriptor "^1.0.0" + is-data-descriptor "^1.0.0" + kind-of "^6.0.2" + +is-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-extendable@^0.1.0, is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== + +is-extendable@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" + integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== + dependencies: + is-plain-object "^2.0.4" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== + +is-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" + integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== + +is-number@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" + integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== + dependencies: + kind-of "^3.0.2" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-plain-obj@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" + integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== + +is-plain-object@^2.0.3, is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + +is-reference@^1.1.4, is-reference@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" + integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== + dependencies: + "@types/estree" "*" + +is-retry-allowed@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" + integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-typedarray@^1.0.0, is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +is-valid-identifier@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-valid-identifier/-/is-valid-identifier-2.0.2.tgz#146d9dbf29821b8118580b039d2203aa4bd1da4b" + integrity sha512-mpS5EGqXOwzXtKAg6I44jIAqeBfntFLxpAth1rrKbxtKyI6LPktyDYpHBI+tHlduhhX/SF26mFXmxQu995QVqg== + dependencies: + assert "^1.4.1" + +is-windows@^1.0.1, is-windows@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" + integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== + +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +isarray@1.0.0, isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isbinaryfile@^4.0.6: + version "4.0.10" + resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" + integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isobject@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" + integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== + dependencies: + isarray "1.0.0" + +isobject@^3.0.0, isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== + +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + +istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +istanbul-lib-report@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" + integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^3.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== + dependencies: + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" + +istanbul-reports@^3.1.3: + version "3.1.5" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" + integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== + dependencies: + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" + +jest-changed-files@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.2.0.tgz#b6598daa9803ea6a4dce7968e20ab380ddbee289" + integrity sha512-qPVmLLyBmvF5HJrY7krDisx6Voi8DmlV3GZYX0aFNbaQsZeoz1hfxcCMbqDGuQCxU1dJy9eYc2xscE8QrCCYaA== + dependencies: + execa "^5.0.0" + p-limit "^3.1.0" + +jest-circus@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.3.1.tgz#177d07c5c0beae8ef2937a67de68f1e17bbf1b4a" + integrity sha512-wpr26sEvwb3qQQbdlmei+gzp6yoSSoSL6GsLPxnuayZSMrSd5Ka7IjAvatpIernBvT2+Ic6RLTg+jSebScmasg== + dependencies: + "@jest/environment" "^29.3.1" + "@jest/expect" "^29.3.1" + "@jest/test-result" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + is-generator-fn "^2.0.0" + jest-each "^29.3.1" + jest-matcher-utils "^29.3.1" + jest-message-util "^29.3.1" + jest-runtime "^29.3.1" + jest-snapshot "^29.3.1" + jest-util "^29.3.1" + p-limit "^3.1.0" + pretty-format "^29.3.1" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-cli@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.3.1.tgz#e89dff427db3b1df50cea9a393ebd8640790416d" + integrity sha512-TO/ewvwyvPOiBBuWZ0gm04z3WWP8TIK8acgPzE4IxgsLKQgb377NYGrQLc3Wl/7ndWzIH2CDNNsUjGxwLL43VQ== + dependencies: + "@jest/core" "^29.3.1" + "@jest/test-result" "^29.3.1" + "@jest/types" "^29.3.1" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + import-local "^3.0.2" + jest-config "^29.3.1" + jest-util "^29.3.1" + jest-validate "^29.3.1" + prompts "^2.0.1" + yargs "^17.3.1" + +jest-config@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.3.1.tgz#0bc3dcb0959ff8662957f1259947aedaefb7f3c6" + integrity sha512-y0tFHdj2WnTEhxmGUK1T7fgLen7YK4RtfvpLFBXfQkh2eMJAQq24Vx9472lvn5wg0MAO6B+iPfJfzdR9hJYalg== + dependencies: + "@babel/core" "^7.11.6" + "@jest/test-sequencer" "^29.3.1" + "@jest/types" "^29.3.1" + babel-jest "^29.3.1" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-circus "^29.3.1" + jest-environment-node "^29.3.1" + jest-get-type "^29.2.0" + jest-regex-util "^29.2.0" + jest-resolve "^29.3.1" + jest-runner "^29.3.1" + jest-util "^29.3.1" + jest-validate "^29.3.1" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^29.3.1" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.3.1.tgz#d8215b72fed8f1e647aed2cae6c752a89e757527" + integrity sha512-vU8vyiO7568tmin2lA3r2DP8oRvzhvRcD4DjpXc6uGveQodyk7CKLhQlCSiwgx3g0pFaE88/KLZ0yaTWMc4Uiw== + dependencies: + chalk "^4.0.0" + diff-sequences "^29.3.1" + jest-get-type "^29.2.0" + pretty-format "^29.3.1" + +jest-docblock@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.2.0.tgz#307203e20b637d97cee04809efc1d43afc641e82" + integrity sha512-bkxUsxTgWQGbXV5IENmfiIuqZhJcyvF7tU4zJ/7ioTutdz4ToB5Yx6JOFBpgI+TphRY4lhOyCWGNH/QFQh5T6A== + dependencies: + detect-newline "^3.0.0" + +jest-each@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.3.1.tgz#bc375c8734f1bb96625d83d1ca03ef508379e132" + integrity sha512-qrZH7PmFB9rEzCSl00BWjZYuS1BSOH8lLuC0azQE9lQrAx3PWGKHTDudQiOSwIy5dGAJh7KA0ScYlCP7JxvFYA== + dependencies: + "@jest/types" "^29.3.1" + chalk "^4.0.0" + jest-get-type "^29.2.0" + jest-util "^29.3.1" + pretty-format "^29.3.1" + +jest-environment-node@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.3.1.tgz#5023b32472b3fba91db5c799a0d5624ad4803e74" + integrity sha512-xm2THL18Xf5sIHoU7OThBPtuH6Lerd+Y1NLYiZJlkE3hbE+7N7r8uvHIl/FkZ5ymKXJe/11SQuf3fv4v6rUMag== + dependencies: + "@jest/environment" "^29.3.1" + "@jest/fake-timers" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + jest-mock "^29.3.1" + jest-util "^29.3.1" + +jest-get-type@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.2.0.tgz#726646f927ef61d583a3b3adb1ab13f3a5036408" + integrity sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA== + +jest-haste-map@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.3.1.tgz#af83b4347f1dae5ee8c2fb57368dc0bb3e5af843" + integrity sha512-/FFtvoG1xjbbPXQLFef+WSU4yrc0fc0Dds6aRPBojUid7qlPqZvxdUBA03HW0fnVHXVCnCdkuoghYItKNzc/0A== + dependencies: + "@jest/types" "^29.3.1" + "@types/graceful-fs" "^4.1.3" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^29.2.0" + jest-util "^29.3.1" + jest-worker "^29.3.1" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-leak-detector@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.3.1.tgz#95336d020170671db0ee166b75cd8ef647265518" + integrity sha512-3DA/VVXj4zFOPagGkuqHnSQf1GZBmmlagpguxEERO6Pla2g84Q1MaVIB3YMxgUaFIaYag8ZnTyQgiZ35YEqAQA== + dependencies: + jest-get-type "^29.2.0" + pretty-format "^29.3.1" + +jest-matcher-utils@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.3.1.tgz#6e7f53512f80e817dfa148672bd2d5d04914a572" + integrity sha512-fkRMZUAScup3txIKfMe3AIZZmPEjWEdsPJFK3AIy5qRohWqQFg1qrmKfYXR9qEkNc7OdAu2N4KPHibEmy4HPeQ== + dependencies: + chalk "^4.0.0" + jest-diff "^29.3.1" + jest-get-type "^29.2.0" + pretty-format "^29.3.1" + +jest-message-util@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.3.1.tgz#37bc5c468dfe5120712053dd03faf0f053bd6adb" + integrity sha512-lMJTbgNcDm5z+6KDxWtqOFWlGQxD6XaYwBqHR8kmpkP+WWWG90I35kdtQHY67Ay5CSuydkTBbJG+tH9JShFCyA== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^29.3.1" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^29.3.1" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.3.1.tgz#60287d92e5010979d01f218c6b215b688e0f313e" + integrity sha512-H8/qFDtDVMFvFP4X8NuOT3XRDzOUTz+FeACjufHzsOIBAxivLqkB1PoLCaJx9iPPQ8dZThHPp/G3WRWyMgA3JA== + dependencies: + "@jest/types" "^29.3.1" + "@types/node" "*" + jest-util "^29.3.1" + +jest-pnp-resolver@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== + +jest-regex-util@^29.2.0: + version "29.2.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.2.0.tgz#82ef3b587e8c303357728d0322d48bbfd2971f7b" + integrity sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA== + +jest-resolve-dependencies@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.3.1.tgz#a6a329708a128e68d67c49f38678a4a4a914c3bf" + integrity sha512-Vk0cYq0byRw2WluNmNWGqPeRnZ3p3hHmjJMp2dyyZeYIfiBskwq4rpiuGFR6QGAdbj58WC7HN4hQHjf2mpvrLA== + dependencies: + jest-regex-util "^29.2.0" + jest-snapshot "^29.3.1" + +jest-resolve@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.3.1.tgz#9a4b6b65387a3141e4a40815535c7f196f1a68a7" + integrity sha512-amXJgH/Ng712w3Uz5gqzFBBjxV8WFLSmNjoreBGMqxgCz5cH7swmBZzgBaCIOsvb0NbpJ0vgaSFdJqMdT+rADw== + dependencies: + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.3.1" + jest-pnp-resolver "^1.2.2" + jest-util "^29.3.1" + jest-validate "^29.3.1" + resolve "^1.20.0" + resolve.exports "^1.1.0" + slash "^3.0.0" + +jest-runner@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.3.1.tgz#a92a879a47dd096fea46bb1517b0a99418ee9e2d" + integrity sha512-oFvcwRNrKMtE6u9+AQPMATxFcTySyKfLhvso7Sdk/rNpbhg4g2GAGCopiInk1OP4q6gz3n6MajW4+fnHWlU3bA== + dependencies: + "@jest/console" "^29.3.1" + "@jest/environment" "^29.3.1" + "@jest/test-result" "^29.3.1" + "@jest/transform" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.13.1" + graceful-fs "^4.2.9" + jest-docblock "^29.2.0" + jest-environment-node "^29.3.1" + jest-haste-map "^29.3.1" + jest-leak-detector "^29.3.1" + jest-message-util "^29.3.1" + jest-resolve "^29.3.1" + jest-runtime "^29.3.1" + jest-util "^29.3.1" + jest-watcher "^29.3.1" + jest-worker "^29.3.1" + p-limit "^3.1.0" + source-map-support "0.5.13" + +jest-runtime@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.3.1.tgz#21efccb1a66911d6d8591276a6182f520b86737a" + integrity sha512-jLzkIxIqXwBEOZx7wx9OO9sxoZmgT2NhmQKzHQm1xwR1kNW/dn0OjxR424VwHHf1SPN6Qwlb5pp1oGCeFTQ62A== + dependencies: + "@jest/environment" "^29.3.1" + "@jest/fake-timers" "^29.3.1" + "@jest/globals" "^29.3.1" + "@jest/source-map" "^29.2.0" + "@jest/test-result" "^29.3.1" + "@jest/transform" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^29.3.1" + jest-message-util "^29.3.1" + jest-mock "^29.3.1" + jest-regex-util "^29.2.0" + jest-resolve "^29.3.1" + jest-snapshot "^29.3.1" + jest-util "^29.3.1" + slash "^3.0.0" + strip-bom "^4.0.0" + +jest-snapshot@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.3.1.tgz#17bcef71a453adc059a18a32ccbd594b8cc4e45e" + integrity sha512-+3JOc+s28upYLI2OJM4PWRGK9AgpsMs/ekNryUV0yMBClT9B1DF2u2qay8YxcQd338PPYSFNb0lsar1B49sLDA== + dependencies: + "@babel/core" "^7.11.6" + "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" + "@babel/types" "^7.3.3" + "@jest/expect-utils" "^29.3.1" + "@jest/transform" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/babel__traverse" "^7.0.6" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^29.3.1" + graceful-fs "^4.2.9" + jest-diff "^29.3.1" + jest-get-type "^29.2.0" + jest-haste-map "^29.3.1" + jest-matcher-utils "^29.3.1" + jest-message-util "^29.3.1" + jest-util "^29.3.1" + natural-compare "^1.4.0" + pretty-format "^29.3.1" + semver "^7.3.5" + +jest-util@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.3.1.tgz#1dda51e378bbcb7e3bc9d8ab651445591ed373e1" + integrity sha512-7YOVZaiX7RJLv76ZfHt4nbNEzzTRiMW/IiOG7ZOKmTXmoGBxUDefgMAxQubu6WPVqP5zSzAdZG0FfLcC7HOIFQ== + dependencies: + "@jest/types" "^29.3.1" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-validate@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.3.1.tgz#d56fefaa2e7d1fde3ecdc973c7f7f8f25eea704a" + integrity sha512-N9Lr3oYR2Mpzuelp1F8negJR3YE+L1ebk1rYA5qYo9TTY3f9OWdptLoNSPP9itOCBIRBqjt/S5XHlzYglLN67g== + dependencies: + "@jest/types" "^29.3.1" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^29.2.0" + leven "^3.1.0" + pretty-format "^29.3.1" + +jest-watcher@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.3.1.tgz#3341547e14fe3c0f79f9c3a4c62dbc3fc977fd4a" + integrity sha512-RspXG2BQFDsZSRKGCT/NiNa8RkQ1iKAjrO0//soTMWx/QUt+OcxMqMSBxz23PYGqUuWm2+m2mNNsmj0eIoOaFg== + dependencies: + "@jest/test-result" "^29.3.1" + "@jest/types" "^29.3.1" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.13.1" + jest-util "^29.3.1" + string-length "^4.0.1" + +jest-worker@^26.5.0: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" + integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^7.0.0" + +jest-worker@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.3.1.tgz#e9462161017a9bb176380d721cab022661da3d6b" + integrity sha512-lY4AnnmsEWeiXirAIA0c9SDPbuCBq8IYuDVL8PMm0MZ2PEs2yPvRA/J64QBXuZp7CYKrDM/rmNrc9/i3KJQncw== + dependencies: + "@types/node" "*" + jest-util "^29.3.1" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.3.1.tgz#c130c0d551ae6b5459b8963747fed392ddbde122" + integrity sha512-6iWfL5DTT0Np6UYs/y5Niu7WIfNv/wRTtN5RSXt2DIEft3dx3zPuw/3WJQBCJfmEzvDiEKwoqMbGD9n49+qLSA== + dependencies: + "@jest/core" "^29.3.1" + "@jest/types" "^29.3.1" + import-local "^3.0.2" + jest-cli "^29.3.1" + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f" + integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q== + dependencies: + argparse "^2.0.1" + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + +json-parse-better-errors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" + integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== + +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema@0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" + integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== + +json-stringify-nice@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" + integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== + +json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== + +json5@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== + dependencies: + minimist "^1.2.0" + +json5@^2.1.2, json5@^2.2.1: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +jsonparse@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" + integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== + +jsonschema@~1.2.5: + version "1.2.11" + resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.11.tgz#7a799cc2aa5a285d893203e8dc81f5becbfb0e91" + integrity sha512-XNZHs3N1IOa3lPKm//npxMhOdaoPw+MvEV0NIgxcER83GTJcG13rehtWmpBCfEt8DrtYwIkMTs8bdXoYs4fvnQ== + +jsprim@^1.2.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" + integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.4.0" + verror "1.10.0" + +just-diff-apply@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-3.1.2.tgz#710d8cda00c65dc4e692df50dbe9bac5581c2193" + integrity sha512-TCa7ZdxCeq6q3Rgms2JCRHTCfWAETPZ8SzYUbkYF6KR3I03sN29DaOIC+xyWboIcMvjAsD5iG2u/RWzHD8XpgQ== + +just-diff@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-3.1.1.tgz#d50c597c6fd4776495308c63bdee1b6839082647" + integrity sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ== + +kafkajs@^1.14.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/kafkajs/-/kafkajs-1.16.0.tgz#bfcc3ae2b69265ca8435b53a01ee9e8787b9fee5" + integrity sha512-+Rcfu2hyQ/jv5skqRY8xA7Ra+mmRkDAzCaLDYbkGtgsNKpzxPWiLbk8ub0dgr4EbWrN1Zb4BCXHUkD6+zYfdWg== + +keyv@^4.0.0: + version "4.5.2" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" + integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== + dependencies: + json-buffer "3.0.1" + +kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" + integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== + dependencies: + is-buffer "^1.1.5" + +kind-of@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" + integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== + dependencies: + is-buffer "^1.1.5" + +kind-of@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" + integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +kleur@^4.1.0, kleur@^4.1.1: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +loader-runner@^4.0.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" + integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== + +loader-utils@^1.1.0, loader-utils@^1.4.0: + version "1.4.2" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" + integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^1.0.1" + +loader-utils@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + +loader-utils@^3.2.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-3.2.1.tgz#4fb104b599daafd82ef3e1a41fb9265f87e1f576" + integrity sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw== + +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + dependencies: + p-locate "^3.0.0" + path-exists "^3.0.0" + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash.camelcase@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" + integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.flatmap@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.flatmap/-/lodash.flatmap-4.5.0.tgz#ef8cbf408f6e48268663345305c6acc0b778702e" + integrity sha512-/OcpcAGWlrZyoHGeHh3cAoa6nGdX6QYtmzNP84Jqol6UEQQ2gIaU3H+0eICcjcKGl0/XF8LWOujNn9lffsnaOg== + +lodash.flatten@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" + integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== + +log-symbols@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" + integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA== + dependencies: + chalk "^4.0.0" + +long@^5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" + integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== + +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +magic-string@^0.25.7: + version "0.25.9" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" + integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== + dependencies: + sourcemap-codec "^1.4.8" + +make-dir@^2.0.0, make-dir@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" + integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== + dependencies: + pify "^4.0.1" + semver "^5.6.0" + +make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + +make-fetch-happen@^9.0.1: + version "9.1.0" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" + integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== + dependencies: + agentkeepalive "^4.1.3" + cacache "^15.2.0" + http-cache-semantics "^4.1.0" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^6.0.0" + minipass "^3.1.3" + minipass-collect "^1.0.2" + minipass-fetch "^1.3.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.2" + promise-retry "^2.0.1" + socks-proxy-agent "^6.0.0" + ssri "^8.0.0" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +map-cache@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== + +map-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" + integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== + dependencies: + object-visit "^1.0.0" + +memory-fs@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" + integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== + dependencies: + errno "^0.1.3" + readable-stream "^2.0.1" + +memory-pager@^1.0.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" + integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +meriyah@^3.1.6: + version "3.1.6" + resolved "https://registry.yarnpkg.com/meriyah/-/meriyah-3.1.6.tgz#56c9c0edb63f9640c7609a39a413c60b038e4451" + integrity sha512-JDOSi6DIItDc33U5N52UdV6P8v+gn+fqZKfbAfHzdWApRQyQWdcvxPvAr9t01bI2rBxGvSrKRQSCg3SkZC1qeg== + +micromatch@^3.0.4: + version "3.1.10" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" + integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + braces "^2.3.1" + define-property "^2.0.2" + extend-shallow "^3.0.2" + extglob "^2.0.4" + fragment-cache "^0.2.1" + kind-of "^6.0.2" + nanomatch "^1.2.9" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.2" + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12, mime-types@^2.1.26, mime-types@^2.1.27, mime-types@~2.1.19: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +mimic-response@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + +minimatch@3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.0: + version "1.2.7" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + +minipass-collect@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" + integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== + dependencies: + minipass "^3.0.0" + +minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.4.1.tgz#d75e0091daac1b0ffd7e9d41629faff7d0c1f1b6" + integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== + dependencies: + minipass "^3.1.0" + minipass-sized "^1.0.3" + minizlib "^2.0.0" + optionalDependencies: + encoding "^0.1.12" + +minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== + dependencies: + minipass "^3.0.0" + +minipass-json-stream@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" + integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== + dependencies: + jsonparse "^1.3.1" + minipass "^3.0.0" + +minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== + dependencies: + minipass "^3.0.0" + +minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + +minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + +minipass@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.0.tgz#7cebb0f9fa7d56f0c5b17853cbe28838a8dbbd3b" + integrity sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw== + dependencies: + yallist "^4.0.0" + +minizlib@^2.0.0, minizlib@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + +mixin-deep@^1.2.0: + version "1.3.2" + resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" + integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== + dependencies: + for-in "^1.0.2" + is-extendable "^1.0.1" + +mkdirp-infer-owner@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" + integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== + dependencies: + chownr "^2.0.0" + infer-owner "^1.0.4" + mkdirp "^1.0.3" + +mkdirp@^1.0.3, mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +mocha@^8.2.0: + version "8.4.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.4.0.tgz#677be88bf15980a3cae03a73e10a0fc3997f0cff" + integrity sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ== + dependencies: + "@ungap/promise-all-settled" "1.1.2" + ansi-colors "4.1.1" + browser-stdout "1.3.1" + chokidar "3.5.1" + debug "4.3.1" + diff "5.0.0" + escape-string-regexp "4.0.0" + find-up "5.0.0" + glob "7.1.6" + growl "1.10.5" + he "1.2.0" + js-yaml "4.0.0" + log-symbols "4.0.0" + minimatch "3.0.4" + ms "2.1.3" + nanoid "3.1.20" + serialize-javascript "5.0.1" + strip-json-comments "3.1.1" + supports-color "8.1.1" + which "2.0.2" + wide-align "1.1.3" + workerpool "6.1.0" + yargs "16.2.0" + yargs-parser "20.2.4" + yargs-unparser "2.0.0" + +mongodb-connection-string-url@^2.5.3: + version "2.6.0" + resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz#57901bf352372abdde812c81be47b75c6b2ec5cf" + integrity sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ== + dependencies: + "@types/whatwg-url" "^8.2.1" + whatwg-url "^11.0.0" + +mongodb@4.9.0: + version "4.9.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.9.0.tgz#58618439b721f2d6f7d38bb10a4612e29d7f1c8a" + integrity sha512-tJJEFJz7OQTQPZeVHZJIeSOjMRqc5eSyXTt86vSQENEErpkiG7279tM/GT5AVZ7TgXNh9HQxoa2ZkbrANz5GQw== + dependencies: + bson "^4.7.0" + denque "^2.1.0" + mongodb-connection-string-url "^2.5.3" + socks "^2.7.0" + optionalDependencies: + saslprep "^1.0.3" + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@2.1.3, ms@^2.0.0, ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +multicast-dns@^7.2.5: + version "7.2.5" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" + integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== + dependencies: + dns-packet "^5.2.2" + thunky "^1.0.2" + +nanoid@3.1.20: + version "3.1.20" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788" + integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== + +nanoid@^3.1.12, nanoid@^3.3.4: + version "3.3.4" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" + integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + +nanomatch@^1.2.9: + version "1.2.13" + resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" + integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + define-property "^2.0.2" + extend-shallow "^3.0.2" + fragment-cache "^0.2.1" + is-windows "^1.0.2" + kind-of "^6.0.2" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +negotiator@^0.6.2: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +neo-async@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +node-cmd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/node-cmd/-/node-cmd-3.0.0.tgz#38fff70a4aaa4f659d203eb57862737018e24f6f" + integrity sha512-SBvtm39iEkhEEDbUowR0O2YVaqpbD2nRvQ3fxXP/Tn1FgRpZAaUb8yKeEtFulBIv+xTHDodOKkj4EXIBANj+AQ== + +node-gyp-build@^4.3.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" + integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== + +node-gyp@^7.1.0: + version "7.1.2" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" + integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== + dependencies: + env-paths "^2.2.0" + glob "^7.1.4" + graceful-fs "^4.2.3" + nopt "^5.0.0" + npmlog "^4.1.2" + request "^2.88.2" + rimraf "^3.0.2" + semver "^7.3.2" + tar "^6.0.2" + which "^2.0.2" + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.6: + version "2.0.8" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== + +nodemon@^2.0.20: + version "2.0.20" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.20.tgz#e3537de768a492e8d74da5c5813cb0c7486fc701" + integrity sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw== + dependencies: + chokidar "^3.5.2" + debug "^3.2.7" + ignore-by-default "^1.0.1" + minimatch "^3.1.2" + pstree.remy "^1.1.8" + semver "^5.7.1" + simple-update-notifier "^1.0.7" + supports-color "^5.5.0" + touch "^3.1.0" + undefsafe "^2.0.5" + +nopt@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" + integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== + dependencies: + abbrev "1" + +nopt@~1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" + integrity sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg== + dependencies: + abbrev "1" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-url@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + +npm-bundled@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" + integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== + dependencies: + npm-normalize-package-bin "^1.0.1" + +npm-install-checks@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" + integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== + dependencies: + semver "^7.1.1" + +npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + +npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: + version "8.1.5" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" + integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== + dependencies: + hosted-git-info "^4.0.1" + semver "^7.3.4" + validate-npm-package-name "^3.0.0" + +npm-packlist@^2.1.4: + version "2.2.2" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8" + integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== + dependencies: + glob "^7.1.6" + ignore-walk "^3.0.3" + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + +npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.0, npm-pick-manifest@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" + integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== + dependencies: + npm-install-checks "^4.0.0" + npm-normalize-package-bin "^1.0.1" + npm-package-arg "^8.1.2" + semver "^7.3.4" + +npm-registry-fetch@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz#68c1bb810c46542760d62a6a965f85a702d43a76" + integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== + dependencies: + make-fetch-happen "^9.0.1" + minipass "^3.1.3" + minipass-fetch "^1.3.0" + minipass-json-stream "^1.0.1" + minizlib "^2.0.0" + npm-package-arg "^8.0.0" + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +npmlog@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" + integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== + dependencies: + are-we-there-yet "~1.1.2" + console-control-strings "~1.1.0" + gauge "~2.7.3" + set-blocking "~2.0.0" + +nth-check@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== + dependencies: + boolbase "^1.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== + +oauth-sign@~0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" + integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== + +object-assign@^4.1.0, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-copy@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" + integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== + dependencies: + copy-descriptor "^0.1.0" + define-property "^0.2.5" + kind-of "^3.0.3" + +object-visit@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" + integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== + dependencies: + isobject "^3.0.0" + +object.pick@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" + integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== + dependencies: + isobject "^3.0.1" + +on-headers@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" + integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== + +once@^1.3.0, once@^1.3.1, once@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +open@^8.2.1: + version "8.4.0" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" + integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + +os-homedir@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" + integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== + +p-cancelable@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" + integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== + +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== + +p-limit@^2.0.0, p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2, p-limit@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== + dependencies: + p-limit "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + +p-queue@^6.2.1: + version "6.6.2" + resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" + integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== + dependencies: + eventemitter3 "^4.0.4" + p-timeout "^3.2.0" + +p-timeout@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== + dependencies: + p-finally "^1.0.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +pacote@^11.1.11, pacote@^11.3.4, pacote@^11.3.5: + version "11.3.5" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.3.5.tgz#73cf1fc3772b533f575e39efa96c50be8c3dc9d2" + integrity sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg== + dependencies: + "@npmcli/git" "^2.1.0" + "@npmcli/installed-package-contents" "^1.0.6" + "@npmcli/promise-spawn" "^1.2.0" + "@npmcli/run-script" "^1.8.2" + cacache "^15.0.5" + chownr "^2.0.0" + fs-minipass "^2.1.0" + infer-owner "^1.0.4" + minipass "^3.1.3" + mkdirp "^1.0.3" + npm-package-arg "^8.0.1" + npm-packlist "^2.1.4" + npm-pick-manifest "^6.0.0" + npm-registry-fetch "^11.0.0" + promise-retry "^2.0.1" + read-package-json-fast "^2.0.1" + rimraf "^3.0.2" + ssri "^8.0.1" + tar "^6.1.0" + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-conflict-json@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-1.1.1.tgz#54ec175bde0f2d70abf6be79e0e042290b86701b" + integrity sha512-4gySviBiW5TRl7XHvp1agcS7SOe0KZOjC//71dzZVWJrY9hCrgtvl5v3SyIxCZ4fZF47TxD9nfzmxcx76xmbUw== + dependencies: + json-parse-even-better-errors "^2.3.0" + just-diff "^3.0.1" + just-diff-apply "^3.0.0" + +parse-json@^5.0.0, parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== + +parse5-htmlparser2-tree-adapter@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6" + integrity sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA== + dependencies: + parse5 "^6.0.1" + +parse5@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" + integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== + +parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +pascalcase@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" + integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" + integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== + +periscopic@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/periscopic/-/periscopic-2.0.3.tgz#326e16c46068172ca9a9d20af1a684cd0796fa99" + integrity sha512-FuCZe61mWxQOJAQFEfmt9FjzebRlcpFz8sFPbyaCKtdusPkMEbA9ey0eARnRav5zAhmXznhaQkKGFAPn7X9NUw== + dependencies: + estree-walker "^2.0.2" + is-reference "^1.1.4" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== + +pify@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" + integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== + +pirates@^4.0.4, pirates@^4.0.5: + version "4.0.5" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" + integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + +pkg-dir@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" + integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== + dependencies: + find-up "^3.0.0" + +pkg-dir@^4.1.0, pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +pnp@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/pnp/-/pnp-0.0.3.tgz#c2cb6981070427c5e22c7acfb5b56b0b2cfeb0ab" + integrity sha512-OQHNwRwXRUfpTPULPeBl9B1tAQIWZCOS4hDgSUlvuyVb6ZYromTkN5fxMtrD3seBIQOsc6iKTVUTpmAnaztT/g== + dependencies: + dashdash "^1.5.0" + ejs "^1.0.0" + url "^0.10.1" + +posix-character-classes@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" + integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== + +postcss-modules-extract-imports@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" + integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== + +postcss-modules-local-by-default@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz#ebbb54fae1598eecfdf691a02b3ff3b390a5a51c" + integrity sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ== + dependencies: + icss-utils "^5.0.0" + postcss-selector-parser "^6.0.2" + postcss-value-parser "^4.1.0" + +postcss-modules-scope@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" + integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg== + dependencies: + postcss-selector-parser "^6.0.4" + +postcss-modules-values@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" + integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== + dependencies: + icss-utils "^5.0.0" + +postcss-modules@^4.0.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-4.3.1.tgz#517c06c09eab07d133ae0effca2c510abba18048" + integrity sha512-ItUhSUxBBdNamkT3KzIZwYNNRFKmkJrofvC2nWab3CPKhYBQ1f27XXh1PAPE27Psx58jeelPsxWB/+og+KEH0Q== + dependencies: + generic-names "^4.0.0" + icss-replace-symbols "^1.1.0" + lodash.camelcase "^4.3.0" + postcss-modules-extract-imports "^3.0.0" + postcss-modules-local-by-default "^4.0.0" + postcss-modules-scope "^3.0.0" + postcss-modules-values "^4.0.0" + string-hash "^1.1.1" + +postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: + version "6.0.11" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz#2e41dc39b7ad74046e1615185185cd0b17d0c8dc" + integrity sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-value-parser@^4.1.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss@^8.3.5: + version "8.4.20" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.20.tgz#64c52f509644cecad8567e949f4081d98349dc56" + integrity sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g== + dependencies: + nanoid "^3.3.4" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +pretty-format@^29.3.1: + version "29.3.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.3.1.tgz#1841cac822b02b4da8971dacb03e8a871b4722da" + integrity sha512-FyLnmb1cYJV8biEIiRyzRFvs2lry7PPIvOqKVe1GCUEYg4YGmlx1qG9EJNMxArYm7piII4qb8UV1Pncq5dxmcg== + dependencies: + "@jest/schemas" "^29.0.0" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +proc-log@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-1.0.0.tgz#0d927307401f69ed79341e83a0b2c9a13395eb77" + integrity sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg== + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +promise-all-reject-late@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" + integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== + +promise-call-limit@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" + integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== + +promise-inflight@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== + +promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== + dependencies: + err-code "^2.0.2" + retry "^0.12.0" + +prompts@^2.0.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +prr@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" + integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== + +psl@^1.1.28: + version "1.9.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== + +pstree.remy@^1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" + integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== + +pump@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" + integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== + +punycode@^2.1.0, punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +py-loader@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/py-loader/-/py-loader-0.3.1.tgz#8d871518354edf3f4a102333fa6bc92fd8e0085c" + integrity sha512-C9gYo9Yiinpw/Qm8G0Uu43KRh0wk1uLZ/YO4OLfar+6oW1lvRx6adf8tqtqOY+gZmeXGAKLu+AoRn+FKaBxxrA== + dependencies: + loader-utils "^1.1.0" + node-cmd "^3.0.0" + +qs@~6.5.2: + version "6.5.3" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" + integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== + +query-params-mongo@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/query-params-mongo/-/query-params-mongo-1.1.3.tgz#34276e324622bbccc47af60d04edd34b500ba645" + integrity sha512-FksHM/v8NVDlCVUxqhxMas2rnXPiyw+yLegM+G9gOUMMTPDtWRCydUy1iHm5NFsobHMsyZBkkpBldhGEJ+7Tsg== + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== + +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + +random-bytes@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b" + integrity sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ== + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + +read-cmd-shim@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9" + integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== + +read-package-json-fast@^2.0.1, read-package-json-fast@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" + integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== + dependencies: + json-parse-even-better-errors "^2.3.0" + npm-normalize-package-bin "^1.0.1" + +readable-stream@^2.0.1, readable-stream@^2.0.6: + version "2.3.7" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readdir-scoped-modules@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" + integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== + dependencies: + debuglog "^1.0.1" + dezalgo "^1.0.0" + graceful-fs "^4.1.2" + once "^1.3.0" + +readdirp@~3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" + integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== + dependencies: + picomatch "^2.2.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +regenerate-unicode-properties@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" + integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + +regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== + +regenerator-transform@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" + integrity sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg== + dependencies: + "@babel/runtime" "^7.8.4" + +regex-not@^1.0.0, regex-not@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" + integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== + dependencies: + extend-shallow "^3.0.2" + safe-regex "^1.1.0" + +regexpu-core@^5.2.1: + version "5.2.2" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.2.2.tgz#3e4e5d12103b64748711c3aad69934d7718e75fc" + integrity sha512-T0+1Zp2wjF/juXMrMxHxidqGYn8U4R+zleSJhX9tQ1PUsS8a9UtYfbsF9LdiVgNX3kiX8RNaKM42nfSgvFJjmw== + dependencies: + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsgen "^0.7.1" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.1.0" + +regjsgen@^0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" + integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + +repeat-element@^1.1.2: + version "1.1.4" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" + integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== + +repeat-string@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== + +request@^2.88.2: + version "2.88.2" + resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" + integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== + dependencies: + aws-sign2 "~0.7.0" + aws4 "^1.8.0" + caseless "~0.12.0" + combined-stream "~1.0.6" + extend "~3.0.2" + forever-agent "~0.6.1" + form-data "~2.3.2" + har-validator "~5.1.3" + http-signature "~1.2.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.19" + oauth-sign "~0.9.0" + performance-now "^2.1.0" + qs "~6.5.2" + safe-buffer "^5.1.2" + tough-cookie "~2.5.0" + tunnel-agent "^0.6.0" + uuid "^3.3.2" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + +resolve-alpn@^1.0.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== + +resolve-cwd@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" + integrity sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg== + dependencies: + resolve-from "^3.0.0" + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-dir@^1.0.0, resolve-dir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" + integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== + dependencies: + expand-tilde "^2.0.0" + global-modules "^1.0.0" + +resolve-from@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" + integrity sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve-url@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== + +resolve.exports@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" + integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== + +resolve@^1.14.2, resolve@^1.17.0, resolve@^1.20.0: + version "1.22.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +responselike@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" + integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== + dependencies: + lowercase-keys "^2.0.0" + +ret@~0.1.10: + version "0.1.15" + resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" + integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== + +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + +rimraf@^3.0.0, rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +rollup-plugin-polyfill-node@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.6.2.tgz#dea62e00f5cc2c174e4b4654b5daab79b1a92fc3" + integrity sha512-gMCVuR0zsKq0jdBn8pSXN1Ejsc458k2QsFFvQdbHoM0Pot5hEnck+pBP/FDwFS6uAi77pD3rDTytsaUStsOMlA== + dependencies: + "@rollup/plugin-inject" "^4.0.0" + +rollup@^2.23.0: + version "2.79.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" + integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== + optionalDependencies: + fsevents "~2.3.2" + +rollup@~2.37.1: + version "2.37.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.37.1.tgz#aa7aadffd75c80393f9314f9857e851b0ffd34e7" + integrity sha512-V3ojEeyGeSdrMSuhP3diBb06P+qV4gKQeanbDv+Qh/BZbhdZ7kHV0xAt8Yjk4GFshq/WjO7R4c7DFM20AwTFVQ== + optionalDependencies: + fsevents "~2.1.2" + +safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" + integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== + dependencies: + ret "~0.1.10" + +"safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +saslprep@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226" + integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag== + dependencies: + sparse-bitfield "^3.0.3" + +schema-utils@^2.6.5, schema-utils@^2.7.0: + version "2.7.1" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" + integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== + dependencies: + "@types/json-schema" "^7.0.5" + ajv "^6.12.4" + ajv-keywords "^3.5.2" + +schema-utils@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" + integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== + dependencies: + "@types/json-schema" "^7.0.8" + ajv "^6.12.5" + ajv-keywords "^3.5.2" + +semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +semver@~7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" + integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== + +serialize-javascript@5.0.1, serialize-javascript@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" + integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== + dependencies: + randombytes "^2.1.0" + +set-blocking@^2.0.0, set-blocking@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + +set-value@^2.0.0, set-value@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" + integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.3" + split-string "^3.0.1" + +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== + dependencies: + shebang-regex "^1.0.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +simple-update-notifier@^1.0.7: + version "1.1.0" + resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz#67694c121de354af592b347cdba798463ed49c82" + integrity sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg== + dependencies: + semver "~7.0.0" + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +skypack@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/skypack/-/skypack-0.3.2.tgz#9df9fde1ed73ae6874d15111f0636e16f2cab1b9" + integrity sha512-je1pix0QYER6iHuUGbgcafRJT5TI+EGUIBfzBLMqo3Wi22I2SzB9TVHQqwKCw8pzJMuHqhVTFEHc3Ey+ra25Sw== + dependencies: + cacache "^15.0.0" + cachedir "^2.3.0" + esinstall "^1.0.0" + etag "^1.8.1" + find-up "^5.0.0" + got "^11.1.4" + kleur "^4.1.0" + mkdirp "^1.0.3" + p-queue "^6.2.1" + rimraf "^3.0.0" + rollup "^2.23.0" + validate-npm-package-name "^3.0.0" + +slash@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" + integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== + +slash@^3.0.0, slash@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + +smartystreets-javascript-sdk@^1.6.0: + version "1.13.7" + resolved "https://registry.yarnpkg.com/smartystreets-javascript-sdk/-/smartystreets-javascript-sdk-1.13.7.tgz#2bb3ba4a81da5bf84a027912f8b45f77ac784dd8" + integrity sha512-oLZKVV9+OfL3nXyVSvS3S4R9AvzWKZau5hw2lFz9V+Ra0MvKy1s8rBKNorViji27LUo/KSsY/UDzzmJM0I+fVg== + dependencies: + axios "^0.26.1" + axios-retry "3.2.0" + +snapdragon-node@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" + integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== + dependencies: + define-property "^1.0.0" + isobject "^3.0.0" + snapdragon-util "^3.0.1" + +snapdragon-util@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" + integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== + dependencies: + kind-of "^3.2.0" + +snapdragon@^0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" + integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== + dependencies: + base "^0.11.1" + debug "^2.2.0" + define-property "^0.2.5" + extend-shallow "^2.0.1" + map-cache "^0.2.2" + source-map "^0.5.6" + source-map-resolve "^0.5.0" + use "^3.1.0" + +snowpack@^3.4.0: + version "3.8.8" + resolved "https://registry.yarnpkg.com/snowpack/-/snowpack-3.8.8.tgz#237f1c0ad49c68313864f3aa4438db3affee0806" + integrity sha512-Y/4V8FdzzYpwmJU2TgXRRFytz+GFSliWULK9J5O6C72KyK60w20JKqCdRtVs1S6BuobCedF5vSBD1Gvtm+gsJg== + dependencies: + "@npmcli/arborist" "^2.6.4" + bufferutil "^4.0.2" + cachedir "^2.3.0" + cheerio "1.0.0-rc.10" + chokidar "^3.4.0" + cli-spinners "^2.5.0" + compressible "^2.0.18" + cosmiconfig "^7.0.0" + deepmerge "^4.2.2" + default-browser-id "^2.0.0" + detect-port "^1.3.0" + es-module-lexer "^0.3.24" + esbuild "~0.9.0" + esinstall "^1.1.7" + estree-walker "^2.0.2" + etag "^1.8.1" + execa "^5.1.1" + fdir "^5.0.0" + find-cache-dir "^3.3.1" + find-up "^5.0.0" + glob "^7.1.7" + httpie "^1.1.2" + is-plain-object "^5.0.0" + is-reference "^1.2.1" + isbinaryfile "^4.0.6" + jsonschema "~1.2.5" + kleur "^4.1.1" + magic-string "^0.25.7" + meriyah "^3.1.6" + mime-types "^2.1.26" + mkdirp "^1.0.3" + npm-run-path "^4.0.1" + open "^8.2.1" + pacote "^11.3.4" + periscopic "^2.0.3" + picomatch "^2.3.0" + postcss "^8.3.5" + postcss-modules "^4.0.0" + resolve "^1.20.0" + resolve-from "^5.0.0" + rimraf "^3.0.0" + rollup "~2.37.1" + signal-exit "^3.0.3" + skypack "^0.3.2" + slash "~3.0.0" + source-map "^0.7.3" + strip-ansi "^6.0.0" + strip-comments "^2.0.1" + utf-8-validate "^5.0.3" + ws "^7.3.0" + yargs-parser "^20.0.0" + optionalDependencies: + fsevents "^2.3.2" + +socks-proxy-agent@^6.0.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz#2687a31f9d7185e38d530bef1944fe1f1496d6ce" + integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== + dependencies: + agent-base "^6.0.2" + debug "^4.3.3" + socks "^2.6.2" + +socks@^2.6.2, socks@^2.7.0: + version "2.7.1" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" + integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== + dependencies: + ip "^2.0.0" + smart-buffer "^4.2.0" + +source-list-map@^2.0.0, source-list-map@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" + integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map-resolve@^0.5.0: + version "0.5.3" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" + integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== + dependencies: + atob "^2.1.2" + decode-uri-component "^0.2.0" + resolve-url "^0.2.1" + source-map-url "^0.4.0" + urix "^0.1.0" + +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-support@^0.5.16, source-map-support@^0.5.20, source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map-url@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" + integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== + +source-map@^0.5.6: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== + +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +source-map@^0.7.3: + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + +sourcemap-codec@^1.4.8: + version "1.4.8" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + +sparse-bitfield@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz#ff4ae6e68656056ba4b3e792ab3334d38273ca11" + integrity sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ== + dependencies: + memory-pager "^1.0.2" + +split-string@^3.0.1, split-string@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" + integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== + dependencies: + extend-shallow "^3.0.0" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +square@^8.1.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/square/-/square-8.1.1.tgz#b460293519292a56a9f7b120f8366493c3f38556" + integrity sha512-MSfpAEuos5Fh6NXA+GSjGrK+H4JyFm8198iJwgVUviPOasJE2eO5U5mcZDFz0HPW68NVcrKPnqmPa7Bjvxn33w== + dependencies: + "@apimatic/schema" "^0.4.1" + axios "^0.21.1" + detect-node "^2.0.4" + form-data "^3.0.0" + lodash.flatmap "^4.5.0" + tiny-warning "^1.0.3" + +sshpk@^1.7.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" + integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + bcrypt-pbkdf "^1.0.0" + dashdash "^1.12.0" + ecc-jsbn "~0.1.1" + getpass "^0.1.1" + jsbn "~0.1.0" + safer-buffer "^2.0.2" + tweetnacl "~0.14.0" + +ssri@^8.0.0, ssri@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" + integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== + dependencies: + minipass "^3.1.1" + +stack-utils@^2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== + dependencies: + escape-string-regexp "^2.0.0" + +static-extend@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" + integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== + dependencies: + define-property "^0.2.5" + object-copy "^0.1.0" + +string-hash@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" + integrity sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A== + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +"string-width@^1.0.2 || 2": + version "2.1.1" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" + integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^3.0.0, string-width@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== + dependencies: + ansi-regex "^3.0.0" + +strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-comments@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-2.0.1.tgz#4ad11c3fbcac177a67a40ac224ca339ca1c1ba9b" + integrity sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-json-comments@3.1.1, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@8.1.1, supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-color@^5.3.0, supports-color@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" + integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +tapable@^1.0.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" + integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== + +tapable@^2.0.0-beta.10, tapable@^2.0.0-beta.11: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +tar@^6.0.2, tar@^6.1.0: + version "6.1.13" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" + integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^4.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + +terser-webpack-plugin@^4.1.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz#28daef4a83bd17c1db0297070adc07fc8cfc6a9a" + integrity sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ== + dependencies: + cacache "^15.0.5" + find-cache-dir "^3.3.1" + jest-worker "^26.5.0" + p-limit "^3.0.2" + schema-utils "^3.0.0" + serialize-javascript "^5.0.1" + source-map "^0.6.1" + terser "^5.3.4" + webpack-sources "^1.4.3" + +terser@^5.3.4: + version "5.16.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.1.tgz#5af3bc3d0f24241c7fb2024199d5c461a1075880" + integrity sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw== + dependencies: + "@jridgewell/source-map" "^0.3.2" + acorn "^8.5.0" + commander "^2.20.0" + source-map-support "~0.5.20" + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +thunky@^1.0.2: + version "1.1.0" + resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" + integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== + +tiny-warning@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" + integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-object-path@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" + integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== + dependencies: + kind-of "^3.0.2" + +to-regex-range@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" + integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== + dependencies: + is-number "^3.0.0" + repeat-string "^1.6.1" + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +to-regex@^3.0.1, to-regex@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" + integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== + dependencies: + define-property "^2.0.2" + extend-shallow "^3.0.2" + regex-not "^1.0.2" + safe-regex "^1.1.0" + +touch@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b" + integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA== + dependencies: + nopt "~1.0.10" + +tough-cookie@~2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" + integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + +tr46@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" + integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== + dependencies: + punycode "^2.1.1" + +treeverse@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-1.0.4.tgz#a6b0ebf98a1bca6846ddc7ecbc900df08cb9cd5f" + integrity sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g== + +tslib@^2.2.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" + integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== + +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +uid-safe@~2.1.5: + version "2.1.5" + resolved "https://registry.yarnpkg.com/uid-safe/-/uid-safe-2.1.5.tgz#2b3d5c7240e8fc2e58f8aa269e5ee49c0857bd3a" + integrity sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA== + dependencies: + random-bytes "~1.0.0" + +undefsafe@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" + integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== + +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== + dependencies: + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" + integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + +union-value@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" + integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== + dependencies: + arr-union "^3.1.0" + get-value "^2.0.6" + is-extendable "^0.1.1" + set-value "^2.0.1" + +unique-filename@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" + integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== + dependencies: + unique-slug "^2.0.0" + +unique-slug@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" + integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== + dependencies: + imurmurhash "^0.1.4" + +unset-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" + integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== + dependencies: + has-value "^0.3.1" + isobject "^3.0.0" + +untildify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-2.1.0.tgz#17eb2807987f76952e9c0485fc311d06a826a2e0" + integrity sha512-sJjbDp2GodvkB0FZZcn7k6afVisqX5BZD7Yq3xp4nN2O15BBK0cLm3Vwn2vQaF7UDS0UUsrQMkkplmDI5fskig== + dependencies: + os-homedir "^1.0.0" + +update-browserslist-db@^1.0.9: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +urix@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" + integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== + +url@^0.10.1: + version "0.10.3" + resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" + integrity sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ== + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +use@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" + integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== + +utf-8-validate@^5.0.3: + version "5.0.10" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" + integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== + dependencies: + node-gyp-build "^4.3.0" + +util-deprecate@^1.0.2, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +util@0.10.3: + version "0.10.3" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" + integrity sha512-5KiHfsmkqacuKjkRkdV7SsfDJ2EGiPsK92s2MhNSY0craxjTdKTtqKsJaCWp4LW33ZZ0OPUv1WO/TFvNQRiQxQ== + dependencies: + inherits "2.0.1" + +uuid@^3.3.2: + version "3.4.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" + integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== + +v8-compile-cache@^2.1.1: + version "2.3.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== + +v8-to-istanbul@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" + integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== + dependencies: + "@jridgewell/trace-mapping" "^0.3.12" + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + +validate-npm-package-name@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== + dependencies: + builtins "^1.0.3" + +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" + +vm2@^3.9.2: + version "3.9.13" + resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.13.tgz#774a1a3d73b9b90b1aa45bcc5f25e349f2eef649" + integrity sha512-0rvxpB8P8Shm4wX2EKOiMp7H2zq+HUE/UwodY0pCZXs9IffIKZq6vUti5OgkVCTakKo9e/fgO4X1fkwfjWxE3Q== + dependencies: + acorn "^8.7.0" + acorn-walk "^8.2.0" + +walk-up-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" + integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== + +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + +watchpack@2.0.0-beta.14: + version "2.0.0-beta.14" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.0.0-beta.14.tgz#6135804571e4bc6792d44e4df6a97f07e7d40272" + integrity sha512-mToSRWik+KvbvQ0c9Oxy2PjhiCUz5CXx6kpKI9MdJ/fiBDxi0HYx4UTGxQoHIEA7aXQKJrfNUhw9OeH2bc4Wvg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + +webidl-conversions@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== + +webpack-cli@^3.3.12: + version "3.3.12" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.12.tgz#94e9ada081453cd0aa609c99e500012fd3ad2d4a" + integrity sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag== + dependencies: + chalk "^2.4.2" + cross-spawn "^6.0.5" + enhanced-resolve "^4.1.1" + findup-sync "^3.0.0" + global-modules "^2.0.0" + import-local "^2.0.0" + interpret "^1.4.0" + loader-utils "^1.4.0" + supports-color "^6.1.0" + v8-compile-cache "^2.1.1" + yargs "^13.3.2" + +webpack-node-externals@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-2.5.2.tgz#178e017a24fec6015bc9e672c77958a6afac861d" + integrity sha512-aHdl/y2N7PW2Sx7K+r3AxpJO+aDMcYzMQd60Qxefq3+EwhewSbTBqNumOsCE1JsCUNoyfGj5465N0sSf6hc/5w== + +webpack-sources@2.0.0-beta.9: + version "2.0.0-beta.9" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.0.0-beta.9.tgz#49a504a08c0a8b1c5418c1fdca4ced06b5cb9119" + integrity sha512-q6O+gKGojLye0Fm05vgthtmx5LPbYpAU4FsdMsX8YBgkOZovDbQmBMhjY/CiWhxD9u/0AWeWdXFNbQz17mkdLw== + dependencies: + source-list-map "^2.0.1" + source-map "^0.6.1" + +webpack-sources@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" + integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== + dependencies: + source-list-map "^2.0.0" + source-map "~0.6.1" + +webpack@5.0.0-beta.28: + version "5.0.0-beta.28" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.0.0-beta.28.tgz#5e3f3f0e1587f3eeffd8402ce7bd3d7d3ab1f242" + integrity sha512-NVaE2s4YlhP07eFtfw8mmBKlRQYcc+vjLIVyLSaawCvJdt7i53oHDe2K8zTDNCNcP/HWluEg9kghV19LBE2T4A== + dependencies: + "@types/eslint-scope" "^3.7.0" + "@types/estree" "^0.0.45" + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/wasm-edit" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + acorn "^7.4.0" + chrome-trace-event "^1.0.2" + core-js "^3.6.5" + enhanced-resolve "5.0.0-beta.10" + eslint-scope "^5.1.0" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.4" + json-parse-better-errors "^1.0.2" + loader-runner "^4.0.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + pkg-dir "^4.2.0" + schema-utils "^2.7.0" + tapable "^2.0.0-beta.11" + terser-webpack-plugin "^4.1.0" + watchpack "2.0.0-beta.14" + webpack-sources "2.0.0-beta.9" + +whatwg-url@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" + integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== + dependencies: + tr46 "^3.0.0" + webidl-conversions "^7.0.0" + +which-module@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" + integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== + +which@2.0.2, which@^2.0.1, which@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +which@^1.2.14, which@^1.2.9, which@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +wide-align@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" + integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== + dependencies: + string-width "^1.0.2 || 2" + +wide-align@^1.1.0: + version "1.1.5" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + +workerpool@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.0.tgz#a8e038b4c94569596852de7a8ea4228eefdeb37b" + integrity sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg== + +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== + dependencies: + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +ws@^7.3.0, ws@^7.5.2: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +y18n@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" + integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0: + version "1.10.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yargs-parser@20.2.4: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + +yargs-parser@^20.0.0, yargs-parser@^20.2.2: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs-unparser@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" + integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== + dependencies: + camelcase "^6.0.0" + decamelize "^4.0.0" + flat "^5.0.2" + is-plain-obj "^2.1.0" + +yargs@16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + +yargs@^13.3.2: + version "13.3.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== + dependencies: + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.2" + +yargs@^17.3.1: + version "17.6.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" + integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== From 8e6be9884dcdcf24e312dbbcd316d39dd1e3c385 Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 12:35:31 -0600 Subject: [PATCH 2/6] fix local installer --- dist/334.js | 1062 +- dist/334.js.map | 2 +- dist/732.js | 278 +- dist/732.js.map | 2 +- dist/829.js | 671 +- dist/829.js.map | 2 +- dist/867.js | 1447 +- dist/867.js.map | 2 +- dist/main.js | 136519 +++++++++++-------------------------- dist/main.js.map | 2 +- dist/main.wasm | Bin 16591 -> 0 bytes dist/remoteEntry.js | 452 +- dist/remoteEntry.js.map | 2 +- install.sh | 10 +- yarn.lock | 74 +- 15 files changed, 41585 insertions(+), 98940 deletions(-) delete mode 100644 dist/main.wasm diff --git a/dist/334.js b/dist/334.js index 24d3effc..af085b51 100644 --- a/dist/334.js +++ b/dist/334.js @@ -133,7 +133,7 @@ __webpack_require__.r(__webpack_exports__); var _mixinSets; -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } @@ -144,7 +144,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } 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); } @@ -842,30 +842,28 @@ var invokePort = function invokePort(fn, onCreate, onUpdate) { return /*#__PURE__*/function () { var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(o) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { - invokePort: function invokePort() { - console.log({ - func: 'invokePort', - fn: fn, - args: args - }); - return this[fn].apply(this, args).then(function (o) { - return o; - }); - } - }, addValidation({ - model: o, - name: 'invokePort', - output: enableValidation.onUpdate, - order: 85 - }))); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { + invokePort: function invokePort() { + console.log({ + func: 'invokePort', + fn: fn, + args: args + }); + return this[fn].apply(this, args).then(function (o) { + return o; + }); + } + }, addValidation({ + model: o, + name: 'invokePort', + output: enableValidation.onUpdate, + order: 85 + }))); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -892,59 +890,55 @@ var execMethod = function execMethod(fn, onCreate, onUpdate) { var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(o) { var functionType; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - functionType = { - "function": function _function(fn, obj) { - for (var _len9 = arguments.length, args = new Array(_len9 > 2 ? _len9 - 2 : 0), _key9 = 2; _key9 < _len9; _key9++) { - args[_key9 - 2] = arguments[_key9]; - } - return fn.apply(void 0, [obj].concat(args)).then(function (o) { - return o; - }); - }, - string: function string(fn, obj) { - for (var _len10 = arguments.length, args = new Array(_len10 > 2 ? _len10 - 2 : 0), _key10 = 2; _key10 < _len10; _key10++) { - args[_key10 - 2] = arguments[_key10]; - } - return obj[fn].apply(obj, args).then(function (o) { - return o; - }); + while (1) switch (_context3.prev = _context3.next) { + case 0: + functionType = { + "function": function _function(fn, obj) { + for (var _len9 = arguments.length, args = new Array(_len9 > 2 ? _len9 - 2 : 0), _key9 = 2; _key9 < _len9; _key9++) { + args[_key9 - 2] = arguments[_key9]; } - }; - return _context3.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { - execMethod: function execMethod() { - var _this3 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - var model; - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return functionType[_typeof(fn)].apply(functionType, [fn, _this3].concat(args)); - case 2: - model = _context2.sent; - return _context2.abrupt("return", model); - case 4: - case "end": - return _context2.stop(); - } - } - }, _callee2); - }))(); + return fn.apply(void 0, [obj].concat(args)).then(function (o) { + return o; + }); + }, + string: function string(fn, obj) { + for (var _len10 = arguments.length, args = new Array(_len10 > 2 ? _len10 - 2 : 0), _key10 = 2; _key10 < _len10; _key10++) { + args[_key10 - 2] = arguments[_key10]; } - }, addValidation({ - model: o, - name: 'execMethod', - output: enableValidation.onUpdate, - order: 40 - }))); - case 2: - case "end": - return _context3.stop(); - } + return obj[fn].apply(obj, args).then(function (o) { + return o; + }); + } + }; + return _context3.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { + execMethod: function execMethod() { + var _this3 = this; + return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + var model; + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return functionType[_typeof(fn)].apply(functionType, [fn, _this3].concat(args)); + case 2: + model = _context2.sent; + return _context2.abrupt("return", model); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + }))(); + } + }, addValidation({ + model: o, + name: 'execMethod', + output: enableValidation.onUpdate, + order: 40 + }))); + case 2: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -1119,7 +1113,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } @@ -1138,7 +1132,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g 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); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1458,20 +1452,18 @@ function _paymentCompleted() { changes, _args4 = arguments; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - options = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}; - payload = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('confirmationCode', options, payload, paymentCompleted.name); - return _context4.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { - orderStatus: OrderStatus.COMPLETE - }))); - case 5: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + options = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}; + payload = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('confirmationCode', options, payload, paymentCompleted.name); + return _context4.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { + orderStatus: OrderStatus.COMPLETE + }))); + case 5: + case "end": + return _context4.stop(); } }, _callee4); })); @@ -1493,21 +1485,19 @@ function _orderShipped() { shipmentPayload, _args5 = arguments; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - options = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {}; - payload = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : {}; - order = options.model; - shipmentPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shipmentId', options, payload, orderShipped.name); - return _context5.abrupt("return", order.update({ - shipmentId: shipmentPayload.shipmentId, - orderStatus: OrderStatus.SHIPPING - })); - case 5: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + options = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {}; + payload = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : {}; + order = options.model; + shipmentPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shipmentId', options, payload, orderShipped.name); + return _context5.abrupt("return", order.update({ + shipmentId: shipmentPayload.shipmentId, + orderStatus: OrderStatus.SHIPPING + })); + case 5: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -1530,18 +1520,16 @@ function _orderPicked() { changes, _args6 = arguments; return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - options = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}; - payload = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('pickupAddress', options, payload, addressValidated.name); - return _context6.abrupt("return", order.update(changes)); - case 5: - case "end": - return _context6.stop(); - } + while (1) switch (_context6.prev = _context6.next) { + case 0: + options = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}; + payload = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('pickupAddress', options, payload, addressValidated.name); + return _context6.abrupt("return", order.update(changes)); + case 5: + case "end": + return _context6.stop(); } }, _callee6); })); @@ -1564,20 +1552,18 @@ function _addressValidated() { addressPayload, _args7 = arguments; return _regeneratorRuntime().wrap(function _callee7$(_context7) { - while (1) { - switch (_context7.prev = _context7.next) { - case 0: - options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}; - payload = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : {}; - order = options.model; - addressPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shippingAddress', options, payload, addressValidated.name); - return _context7.abrupt("return", order.update({ - shippingAddress: addressPayload.shippingAddress - })); - case 5: - case "end": - return _context7.stop(); - } + while (1) switch (_context7.prev = _context7.next) { + case 0: + options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}; + payload = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : {}; + order = options.model; + addressPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shippingAddress', options, payload, addressValidated.name); + return _context7.abrupt("return", order.update({ + shippingAddress: addressPayload.shippingAddress + })); + case 5: + case "end": + return _context7.stop(); } }, _callee7); })); @@ -1601,20 +1587,18 @@ function _paymentAuthorized() { changes, _args8 = arguments; return _regeneratorRuntime().wrap(function _callee8$(_context8) { - while (1) { - switch (_context8.prev = _context8.next) { - case 0: - options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}; - payload = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('paymentStatus', options, payload, paymentAuthorized.name); - return _context8.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { - paymentStatus: paymentStatus - }), false)); - case 5: - case "end": - return _context8.stop(); - } + while (1) switch (_context8.prev = _context8.next) { + case 0: + options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}; + payload = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('paymentStatus', options, payload, paymentAuthorized.name); + return _context8.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { + paymentStatus: paymentStatus + }), false)); + case 5: + case "end": + return _context8.stop(); } }, _callee8); })); @@ -1632,20 +1616,18 @@ function refundPayment(_x) { function _refundPayment() { _refundPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(order) { return _regeneratorRuntime().wrap(function _callee9$(_context9) { - while (1) { - switch (_context9.prev = _context9.next) { - case 0: - // call port by same name. - order.refundPayment(function (options, payload) { - var changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('refundReceipt', options, payload, refundPayment.name); - return order.update(_objectSpread(_objectSpread({}, changes), {}, { - orderStatus: OrderStatus.CANCELED - })); - }); - case 1: - case "end": - return _context9.stop(); - } + while (1) switch (_context9.prev = _context9.next) { + case 0: + // call port by same name. + order.refundPayment(function (options, payload) { + var changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('refundReceipt', options, payload, refundPayment.name); + return order.update(_objectSpread(_objectSpread({}, changes), {}, { + orderStatus: OrderStatus.CANCELED + })); + }); + case 1: + case "end": + return _context9.stop(); } }, _callee9); })); @@ -1667,18 +1649,16 @@ function verifyAddress(_x2) { function _verifyAddress() { _verifyAddress = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(order) { return _regeneratorRuntime().wrap(function _callee10$(_context10) { - while (1) { - switch (_context10.prev = _context10.next) { - case 0: - console.debug({ - fn: verifyAddress.name, - validateAddress: order.validateAddress - }); - return _context10.abrupt("return", order.validateAddress(addressValidated)); - case 2: - case "end": - return _context10.stop(); - } + while (1) switch (_context10.prev = _context10.next) { + case 0: + console.debug({ + fn: verifyAddress.name, + validateAddress: order.validateAddress + }); + return _context10.abrupt("return", order.validateAddress(addressValidated)); + case 2: + case "end": + return _context10.stop(); } }, _callee10); })); @@ -1697,31 +1677,29 @@ function _verifyPayment() { _verifyPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(order) { var authorizeOrder; return _regeneratorRuntime().wrap(function _callee11$(_context11) { - while (1) { - switch (_context11.prev = _context11.next) { - case 0: - _context11.prev = 0; - _context11.next = 3; - return order.authorizePayment(paymentAuthorized); - case 3: - authorizeOrder = _context11.sent; - if (authorizeOrder.paymentDeclined) { - _context11.next = 6; - break; - } - throw new Error('payment declined'); - case 6: - return _context11.abrupt("return", authorizeOrder); - case 9: - _context11.prev = 9; - _context11.t0 = _context11["catch"](0); - handleError(_context11.t0, order, verifyPayment.name); - case 12: - return _context11.abrupt("return", order); - case 13: - case "end": - return _context11.stop(); - } + while (1) switch (_context11.prev = _context11.next) { + case 0: + _context11.prev = 0; + _context11.next = 3; + return order.authorizePayment(paymentAuthorized); + case 3: + authorizeOrder = _context11.sent; + if (authorizeOrder.paymentDeclined) { + _context11.next = 6; + break; + } + throw new Error('payment declined'); + case 6: + return _context11.abrupt("return", authorizeOrder); + case 9: + _context11.prev = 9; + _context11.t0 = _context11["catch"](0); + handleError(_context11.t0, order, verifyPayment.name); + case 12: + return _context11.abrupt("return", order); + case 13: + case "end": + return _context11.stop(); } }, _callee11, null, [[0, 9]]); })); @@ -1741,39 +1719,37 @@ function _verifyInventory() { _verifyInventory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(order) { var inventory, insufficient; return _regeneratorRuntime().wrap(function _callee12$(_context12) { - while (1) { - switch (_context12.prev = _context12.next) { - case 0: - _context12.next = 2; - return order.inventory(); - case 2: - inventory = _context12.sent; - if (!(inventory.length < 1)) { - _context12.next = 5; - break; - } - throw new Error('bad inventory ID'); - case 5: - insufficient = order.orderItems.filter(function (item) { - var inv = inventory.find(function (i) { - return i.id === item.itemId; - }); - if (!inv) return true; - if (inv.quantity < item.qty) return true; - return false; + while (1) switch (_context12.prev = _context12.next) { + case 0: + _context12.next = 2; + return order.inventory(); + case 2: + inventory = _context12.sent; + if (!(inventory.length < 1)) { + _context12.next = 5; + break; + } + throw new Error('bad inventory ID'); + case 5: + insufficient = order.orderItems.filter(function (item) { + var inv = inventory.find(function (i) { + return i.id === item.itemId; }); - if (!(insufficient.length > 0)) { - _context12.next = 9; - break; - } - order.emit('lowOrOutOfStock', insufficient); - throw new Error("low or out of stock: ".concat(insufficient.map(function (i) { - return i.itemId; - }))); - case 9: - case "end": - return _context12.stop(); - } + if (!inv) return true; + if (inv.quantity < item.qty) return true; + return false; + }); + if (!(insufficient.length > 0)) { + _context12.next = 9; + break; + } + order.emit('lowOrOutOfStock', insufficient); + throw new Error("low or out of stock: ".concat(insufficient.map(function (i) { + return i.itemId; + }))); + case 9: + case "end": + return _context12.stop(); } }, _callee12); })); @@ -1793,59 +1769,57 @@ function _getCustomerOrder() { _getCustomerOrder = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(order) { var customer, custInfo, update, _custInfo, _customer; return _regeneratorRuntime().wrap(function _callee13$(_context13) { - while (1) { - switch (_context13.prev = _context13.next) { - case 0: - if (!order.customerId) { - _context13.next = 13; - break; - } - if (!order.customer) { - console.log({ - order: order - }); - } - // Use the relation defined in the spec - _context13.next = 4; - return order.customer(); - case 4: - customer = _context13.sent; - if (customer) { - _context13.next = 7; - break; - } - throw new Error('invalid customer id', order.customerId); - case 7: - // Add customer data to the order - custInfo = _objectSpread(_objectSpread({}, customer.decrypt()), {}, { - firstName: customer.firstName - }); - _context13.next = 10; - return order.update(custInfo); - case 10: - update = _context13.sent; - console.info('update order with data from existing customer', custInfo); - return _context13.abrupt("return", update); - case 13: - if (!order.saveShippingDetails) { - _context13.next = 20; - break; - } - _custInfo = _objectSpread(_objectSpread({}, order.decrypt()), {}, { - firstName: order.firstName + while (1) switch (_context13.prev = _context13.next) { + case 0: + if (!order.customerId) { + _context13.next = 13; + break; + } + if (!order.customer) { + console.log({ + order: order }); - _context13.next = 17; - return order.customer(_custInfo); - case 17: - _customer = _context13.sent; - console.info('create new customer with data from order', _customer); - return _context13.abrupt("return", order); - case 20: - return _context13.abrupt("return", order); - case 21: - case "end": - return _context13.stop(); - } + } + // Use the relation defined in the spec + _context13.next = 4; + return order.customer(); + case 4: + customer = _context13.sent; + if (customer) { + _context13.next = 7; + break; + } + throw new Error('invalid customer id', order.customerId); + case 7: + // Add customer data to the order + custInfo = _objectSpread(_objectSpread({}, customer.decrypt()), {}, { + firstName: customer.firstName + }); + _context13.next = 10; + return order.update(custInfo); + case 10: + update = _context13.sent; + console.info('update order with data from existing customer', custInfo); + return _context13.abrupt("return", update); + case 13: + if (!order.saveShippingDetails) { + _context13.next = 20; + break; + } + _custInfo = _objectSpread(_objectSpread({}, order.decrypt()), {}, { + firstName: order.firstName + }); + _context13.next = 17; + return order.customer(_custInfo); + case 17: + _customer = _context13.sent; + console.info('create new customer with data from order', _customer); + return _context13.abrupt("return", order); + case 20: + return _context13.abrupt("return", order); + case 21: + case "end": + return _context13.stop(); } }, _callee13); })); @@ -1884,35 +1858,33 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }), _defineProperty(_OrderActions, OrderStatus.SHIPPING, function () { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(order) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - order.trackShipment(trackingUpdate); - console.debug({ - func: OrderStatus.SHIPPING, - order: order - }); - _context.next = 5; - return order.update({ - orderStatus: OrderStatus.SHIPPING - }); - case 5: - _context.next = 7; - return _context.sent.emit('orderPicked'); - case 7: - _context.next = 12; - break; - case 9: - _context.prev = 9; - _context.t0 = _context["catch"](0); - handleError(_context.t0, order, OrderStatus.SHIPPING); - case 12: - return _context.abrupt("return", order); - case 13: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + order.trackShipment(trackingUpdate); + console.debug({ + func: OrderStatus.SHIPPING, + order: order + }); + _context.next = 5; + return order.update({ + orderStatus: OrderStatus.SHIPPING + }); + case 5: + _context.next = 7; + return _context.sent.emit('orderPicked'); + case 7: + _context.next = 12; + break; + case 9: + _context.prev = 9; + _context.t0 = _context["catch"](0); + handleError(_context.t0, order, OrderStatus.SHIPPING); + case 12: + return _context.abrupt("return", order); + case 13: + case "end": + return _context.stop(); } }, _callee, null, [[0, 9]]); })); @@ -1922,26 +1894,24 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }()), _defineProperty(_OrderActions, OrderStatus.CANCELED, function () { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(order) { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.prev = 0; - console.debug({ - func: OrderStatus.CANCELED, - desc: 'order canceled, calling undo', - orderNo: order.orderNo - }); - return _context2.abrupt("return", order.undo()); - case 5: - _context2.prev = 5; - _context2.t0 = _context2["catch"](0); - handleError(_context2.t0, order, OrderStatus.CANCELED); - case 8: - return _context2.abrupt("return", order); - case 9: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.prev = 0; + console.debug({ + func: OrderStatus.CANCELED, + desc: 'order canceled, calling undo', + orderNo: order.orderNo + }); + return _context2.abrupt("return", order.undo()); + case 5: + _context2.prev = 5; + _context2.t0 = _context2["catch"](0); + handleError(_context2.t0, order, OrderStatus.CANCELED); + case 8: + return _context2.abrupt("return", order); + case 9: + case "end": + return _context2.stop(); } }, _callee2, null, [[0, 5]]); })); @@ -1951,16 +1921,14 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }()), _defineProperty(_OrderActions, OrderStatus.COMPLETE, function () { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(order) { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - // send route to questionnaire, perform analysis, schedule follow-up - console.log('customer sentiment analysis, customer care, sales analysis'); - return _context3.abrupt("return", order); - case 2: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + // send route to questionnaire, perform analysis, schedule follow-up + console.log('customer sentiment analysis, customer care, sales analysis'); + return _context3.abrupt("return", order); + case 2: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -2137,25 +2105,23 @@ function _approve() { _approve = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(order) { var approvedOrder; return _regeneratorRuntime().wrap(function _callee14$(_context14) { - while (1) { - switch (_context14.prev = _context14.next) { - case 0: - console.debug({ - msg: 'got order', - order: order - }); - approvedOrder = order.updateSync({ - orderStatus: OrderStatus.APPROVED - }, false); - console.debug({ - approvedOrder: approvedOrder - }); - approvedOrder.logStateChange(OrderStatus.APPROVED); - return _context14.abrupt("return", runOrderWorkflow(approvedOrder)); - case 5: - case "end": - return _context14.stop(); - } + while (1) switch (_context14.prev = _context14.next) { + case 0: + console.debug({ + msg: 'got order', + order: order + }); + approvedOrder = order.updateSync({ + orderStatus: OrderStatus.APPROVED + }, false); + console.debug({ + approvedOrder: approvedOrder + }); + approvedOrder.logStateChange(OrderStatus.APPROVED); + return _context14.abrupt("return", runOrderWorkflow(approvedOrder)); + case 5: + case "end": + return _context14.stop(); } }, _callee14); })); @@ -2174,21 +2140,19 @@ function _cancel() { _cancel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(order) { var canceledOrder; return _regeneratorRuntime().wrap(function _callee15$(_context15) { - while (1) { - switch (_context15.prev = _context15.next) { - case 0: - _context15.next = 2; - return order.update({ - orderStatus: OrderStatus.CANCELED - }); - case 2: - canceledOrder = _context15.sent; - canceledOrder.logStateChange(OrderStatus.CANCELED); - return _context15.abrupt("return", runOrderWorkflow(canceledOrder)); - case 5: - case "end": - return _context15.stop(); - } + while (1) switch (_context15.prev = _context15.next) { + case 0: + _context15.next = 2; + return order.update({ + orderStatus: OrderStatus.CANCELED + }); + case 2: + canceledOrder = _context15.sent; + canceledOrder.logStateChange(OrderStatus.CANCELED); + return _context15.abrupt("return", runOrderWorkflow(canceledOrder)); + case 5: + case "end": + return _context15.stop(); } }, _callee15); })); @@ -2205,14 +2169,12 @@ function checkout(_x11) { function _checkout() { _checkout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(order) { return _regeneratorRuntime().wrap(function _callee16$(_context16) { - while (1) { - switch (_context16.prev = _context16.next) { - case 0: - return _context16.abrupt("return", approve(order)); - case 1: - case "end": - return _context16.stop(); - } + while (1) switch (_context16.prev = _context16.next) { + case 0: + return _context16.abrupt("return", approve(order)); + case 1: + case "end": + return _context16.stop(); } }, _callee16); })); @@ -2265,19 +2227,17 @@ function returnInventory(_x12) { function _returnInventory() { _returnInventory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(order) { return _regeneratorRuntime().wrap(function _callee17$(_context17) { - while (1) { - switch (_context17.prev = _context17.next) { - case 0: - console.log(returnInventory.name); - order.logEvent(returnInventory.name, 'timeout'); - order.emit(returnInventory.name, errMsg); - return _context17.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 4: - case "end": - return _context17.stop(); - } + while (1) switch (_context17.prev = _context17.next) { + case 0: + console.log(returnInventory.name); + order.logEvent(returnInventory.name, 'timeout'); + order.emit(returnInventory.name, errMsg); + return _context17.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 4: + case "end": + return _context17.stop(); } }, _callee17); })); @@ -2289,18 +2249,16 @@ function returnShipment(_x13) { function _returnShipment() { _returnShipment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(order) { return _regeneratorRuntime().wrap(function _callee18$(_context18) { - while (1) { - switch (_context18.prev = _context18.next) { - case 0: - console.log(returnShipment.name); - order.logUndo(returnShipment.name); - return _context18.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 3: - case "end": - return _context18.stop(); - } + while (1) switch (_context18.prev = _context18.next) { + case 0: + console.log(returnShipment.name); + order.logUndo(returnShipment.name); + return _context18.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 3: + case "end": + return _context18.stop(); } }, _callee18); })); @@ -2324,17 +2282,15 @@ function returnDelivery(_x14) { function _returnDelivery() { _returnDelivery = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(order) { return _regeneratorRuntime().wrap(function _callee19$(_context19) { - while (1) { - switch (_context19.prev = _context19.next) { - case 0: - console.log(returnDelivery.name); - return _context19.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 2: - case "end": - return _context19.stop(); - } + while (1) switch (_context19.prev = _context19.next) { + case 0: + console.log(returnDelivery.name); + return _context19.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 2: + case "end": + return _context19.stop(); } }, _callee19); })); @@ -2346,17 +2302,15 @@ function cancelPayment(_x15) { function _cancelPayment() { _cancelPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(order) { return _regeneratorRuntime().wrap(function _callee20$(_context20) { - while (1) { - switch (_context20.prev = _context20.next) { - case 0: - console.log(cancelPayment.name); - return _context20.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 2: - case "end": - return _context20.stop(); - } + while (1) switch (_context20.prev = _context20.next) { + case 0: + console.log(cancelPayment.name); + return _context20.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 2: + case "end": + return _context20.stop(); } }, _callee20); })); @@ -2393,32 +2347,30 @@ function _cancelOrders() { _cancelOrders = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(data) { var cancelOrdersTransform; return _regeneratorRuntime().wrap(function _callee21$(_context21) { - while (1) { - switch (_context21.prev = _context21.next) { - case 0: - cancelOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ - objectMode: true, - transform: function transform(chunk, _encoding, done) { - if (chunk._id) delete chunk._id; - done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { - orderStatus: OrderStatus.CANCELED - }))); - } - }); - _context21.next = 3; - return this.list({ - writable: this.createWriteStream(), - transform: cancelOrdersTransform, - serialize: false - }); - case 3: - return _context21.abrupt("return", { - status: '🏆' - }); - case 4: - case "end": - return _context21.stop(); - } + while (1) switch (_context21.prev = _context21.next) { + case 0: + cancelOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ + objectMode: true, + transform: function transform(chunk, _encoding, done) { + if (chunk._id) delete chunk._id; + done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { + orderStatus: OrderStatus.CANCELED + }))); + } + }); + _context21.next = 3; + return this.list({ + writable: this.createWriteStream(), + transform: cancelOrdersTransform, + serialize: false + }); + case 3: + return _context21.abrupt("return", { + status: '🏆' + }); + case 4: + case "end": + return _context21.stop(); } }, _callee21, this); })); @@ -2436,32 +2388,30 @@ function _approveOrders() { _approveOrders = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) { var approveOrdersTransform; return _regeneratorRuntime().wrap(function _callee22$(_context22) { - while (1) { - switch (_context22.prev = _context22.next) { - case 0: - approveOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ - objectMode: true, - transform: function transform(chunk, encoding, done) { - if (chunk._id) delete chunk._id; - done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { - orderStatus: OrderStatus.APPROVED - }))); - } - }); - _context22.next = 3; - return this.list({ - writable: this.createWriteStream(), - transform: approveOrdersTransform, - serialize: false - }); - case 3: - return _context22.abrupt("return", { - status: '🏆' - }); - case 4: - case "end": - return _context22.stop(); - } + while (1) switch (_context22.prev = _context22.next) { + case 0: + approveOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ + objectMode: true, + transform: function transform(chunk, encoding, done) { + if (chunk._id) delete chunk._id; + done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { + orderStatus: OrderStatus.APPROVED + }))); + } + }); + _context22.next = 3; + return this.list({ + writable: this.createWriteStream(), + transform: approveOrdersTransform, + serialize: false + }); + case 3: + return _context22.abrupt("return", { + status: '🏆' + }); + case 4: + case "end": + return _context22.stop(); } }, _callee22, this); })); @@ -2474,35 +2424,33 @@ function _trackAsyncContext() { _trackAsyncContext = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() { var ctx, dur, startTime, metric; return _regeneratorRuntime().wrap(function _callee23$(_context23) { - while (1) { - switch (_context23.prev = _context23.next) { - case 0: - ctx = this.getContext(); - dur = 'test-duration'; - startTime = Date.now(); - _context23.next = 5; - return new Promise(function (resolve) { - return setTimeout(resolve, 100); - }); - case 5: - // require('fs') - // .stream('/etc/hosts') - // .pipe(ctx.get('res')) - - ctx.set(dur, Date.now() - startTime); - metric = { - requestId: ctx.get('id'), - fn: trackAsyncContext.name, - duration: ctx.get(dur), - context: _toConsumableArray(ctx) - }; - this.emit('metric', metric); - console.log(metric.ctx); - return _context23.abrupt("return", metric); - case 10: - case "end": - return _context23.stop(); - } + while (1) switch (_context23.prev = _context23.next) { + case 0: + ctx = this.getContext(); + dur = 'test-duration'; + startTime = Date.now(); + _context23.next = 5; + return new Promise(function (resolve) { + return setTimeout(resolve, 100); + }); + case 5: + // require('fs') + // .stream('/etc/hosts') + // .pipe(ctx.get('res')) + + ctx.set(dur, Date.now() - startTime); + metric = { + requestId: ctx.get('id'), + fn: trackAsyncContext.name, + duration: ctx.get(dur), + context: _toConsumableArray(ctx) + }; + this.emit('metric', metric); + console.log(metric.ctx); + return _context23.abrupt("return", metric); + case 10: + case "end": + return _context23.stop(); } }, _callee23, this); })); @@ -2514,27 +2462,25 @@ function customHttpStatus(_x18) { function _customHttpStatus() { _customHttpStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) { return _regeneratorRuntime().wrap(function _callee24$(_context24) { - while (1) { - switch (_context24.prev = _context24.next) { - case 0: - if (!data.args.code) { - _context24.next = 2; - break; - } - throw new OrderError(data.args.message || 'custom status', data.args.code); - case 2: - _context24.prev = 2; - console.log(x); - _context24.next = 9; + while (1) switch (_context24.prev = _context24.next) { + case 0: + if (!data.args.code) { + _context24.next = 2; break; - case 6: - _context24.prev = 6; - _context24.t0 = _context24["catch"](2); - throw new OrderError(_context24.t0, 500); - case 9: - case "end": - return _context24.stop(); - } + } + throw new OrderError(data.args.message || 'custom status', data.args.code); + case 2: + _context24.prev = 2; + console.log(x); + _context24.next = 9; + break; + case 6: + _context24.prev = 6; + _context24.t0 = _context24["catch"](2); + throw new OrderError(_context24.t0, 500); + case 9: + case "end": + return _context24.stop(); } }, _callee24, null, [[2, 6]]); })); @@ -2546,17 +2492,15 @@ function testContainsMany(_x19) { function _testContainsMany() { _testContainsMany = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(data) { return _regeneratorRuntime().wrap(function _callee25$(_context25) { - while (1) { - switch (_context25.prev = _context25.next) { - case 0: - this.chat(); - return _context25.abrupt("return", { - status: 'ok' - }); - case 2: - case "end": - return _context25.stop(); - } + while (1) switch (_context25.prev = _context25.next) { + case 0: + this.chat(); + return _context25.abrupt("return", { + status: 'ok' + }); + case 2: + case "end": + return _context25.stop(); } }, _callee25, this); })); @@ -2578,23 +2522,21 @@ function _runFibonacciJs() { _runFibonacciJs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(data) { var param, start; return _regeneratorRuntime().wrap(function _callee26$(_context26) { - while (1) { - switch (_context26.prev = _context26.next) { - case 0: - console.log({ - data: data - }); - param = parseInt(data.args.fibonacci || 20); - start = Date.now(); - return _context26.abrupt("return", { - fibonacci: param, - result: fibonacci(param), - time: Date.now() - start - }); - case 4: - case "end": - return _context26.stop(); - } + while (1) switch (_context26.prev = _context26.next) { + case 0: + console.log({ + data: data + }); + param = parseInt(data.args.fibonacci || 20); + start = Date.now(); + return _context26.abrupt("return", { + fibonacci: param, + result: fibonacci(param), + time: Date.now() - start + }); + case 4: + case "end": + return _context26.stop(); } }, _callee26); })); diff --git a/dist/334.js.map b/dist/334.js.map index 020cf4fc..74a1cd77 100644 --- a/dist/334.js.map +++ b/dist/334.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js"],"names":["checkPayload","key","options","payload","port","name","model","Object","keys","Error","desc","error","Array","isArray","map","k","reduce","p","c","find","then","latest","prevmodel","Symbol","validations","mixinType","pre","post","mixinSets","premixins","postmixins","processUpdate","changes","JSON","parse","stringify","updates","compose","values","updated","updateMixins","type","o","cb","mixinSet","Map","has","set","eventMask","update","create","onload","handleUpdateEvent","event","isUpdate","decrypted","decrypt","isObject","containsUpdates","changeList","length","every","util","console","fn","validateModel","input","filter","v","sort","a","b","order","apply","output","enableEvent","onUpdate","onCreate","onLoad","enabled","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","warn","parseKeys","propKeys","flat","RegExp","test","encryptProperties","encryptProps","obj","encrypt","freezeProperties","preventUpdates","mutations","includes","requireProperties","requireProps","missing","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","concat","unknownProps","rejectUnknownProperties","RegEx","email","ipv4Address","ipv6Address","phone","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","propKey","Validator","tests","isValid","regex","maxnum","maxlen","validateProperties","validate","invalid","updateProperties","updaters","updateProps","u","invokePort","args","log","func","execMethod","functionType","string","createMethod","withValidFormat","checkFormat","value","x","encryptPersonalInfo","GlobalMixins","orderStatus","orderTotal","orderNo","OrderStatus","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","itemId","price","checkItems","orderItems","items","calcTotal","total","item","qty","itemCount","freezeOnApproval","finalStatus","status","freezeOnCompletion","requiredForGuest","customerId","requiredForApproval","requiredForCompletion","invalidStatusChange","from","to","invalidStatusChanges","statusChangeValid","i","orderTotalValid","recalcTotal","updateSignature","signatureRequired","readyToDelete","handleError","errMsg","emit","paymentCompleted","orderShipped","shipmentPayload","shipmentId","orderPicked","addressValidated","addressPayload","shippingAddress","paymentAuthorized","paymentStatus","refundPayment","verifyAddress","debug","validateAddress","verifyPayment","authorizePayment","authorizeOrder","paymentDeclined","verifyInventory","inventory","insufficient","inv","id","quantity","getCustomerOrder","customer","custInfo","firstName","info","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","pickOrder","trackShipment","trackingUpdate","undo","handleOrderEvent","eventType","needsSignature","logMessage","message","msg","substring","time","Date","now","toJSON","toISOString","makeOrderFactory","dependencies","createOrder","lastName","billingAddress","creditCardNumber","shippingPriority","requireSignature","fibonacci","result","estimatedArrival","uuid","push","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","freeze","approve","approvedOrder","logStateChange","cancel","canceledOrder","checkout","errorCallback","timeoutCallback","ports","adapterFn","returnInventory","returnShipment","logUndo","accountOrder","req","res","returnDelivery","cancelPayment","OrderError","code","cancelOrders","data","cancelOrdersTransform","Transform","objectMode","transform","chunk","_encoding","done","_id","list","writable","createWriteStream","serialize","approveOrders","approveOrdersTransform","encoding","trackAsyncContext","ctx","getContext","dur","startTime","Promise","resolve","setTimeout","metric","requestId","get","duration","context","customHttpStatus","testContainsMany","chat","runFibonacciJs","param","start","funcs","initVal","reduceRight","composeAsync","f","passwd","process","env","ENCRYPTION_PWD","algo","crypto","String","iv","Buffer","alloc","text","cipher","cipherText","decipher","digest","nanoid","makeArray","makeObject","prop","async","promise","ok","object","asObject","asArray"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AANA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOe,SAASA,YAAY,CAClCC,GAAG,EAIH;EAAA,IAHAC,OAAO,uEAAG,CAAC,CAAC;EAAA,IACZC,OAAO,uEAAG,CAAC,CAAC;EAAA,IACZC,IAAI,uEAAGJ,YAAY,CAACK,IAAI;EAExB,IAAQC,KAAK,GAAKJ,OAAO,CAAjBI,KAAK;EAEb,IAAI,CAACA,KAAK,IAAIC,MAAM,CAACC,IAAI,CAACL,OAAO,CAAC,GAAG,CAAC,IAAI,CAACF,GAAG,EAAE;IAC9C,MAAM,IAAIQ,KAAK,CAAC;MACdC,IAAI,EAAE,mCAAmC;MACzCJ,KAAK,EAALA,KAAK;MACLF,IAAI,EAAJA,IAAI;MACJO,KAAK,EAALA,KAAK;MACLR,OAAO,EAAPA,OAAO;MACPF,GAAG,EAAHA;IACF,CAAC,CAAC;EACJ;EAEA,IAAIW,KAAK,CAACC,OAAO,CAACZ,GAAG,CAAC,EAAE;IACtB,IAAMO,IAAI,GAAGP,GAAG,CAACa,GAAG,CAAC,UAAAC,CAAC;MAAA,OAAIf,YAAY,CAACe,CAAC,EAAEb,OAAO,EAAEC,OAAO,EAAEC,IAAI,CAAC;IAAA,EAAC;IAElE,OAAOI,IAAI,CAACQ,MAAM,CAAC,UAACC,CAAC,EAAEC,CAAC;MAAA,uCAAWD,CAAC,GAAKC,CAAC;IAAA,CAAG,CAAC;EAChD;EAEA,IAAIf,OAAO,CAACF,GAAG,CAAC,EAAE;IAChB,2BAAUA,GAAG,EAAGE,OAAO,CAAC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;AAClB;AAEO,SAASoD,IAAI,CAAE6L,IAAI,EAAE;EAC1B,OAAO6C,wDACM,CAAC,MAAM,CAAC,CAClBpS,MAAM,CAACuP,IAAI,CAAC,CACZsD,MAAM,CAAC,KAAK,CAAC;AAClB;AAEO,SAASrF,IAAI,GAAI;EACtB;EACA;EACA;EACA,OAAOsF,8CAAM,EAAE;AACjB;AAEO,SAASC,SAAS,CAAE5R,CAAC,EAAE;EAC5B,OAAOxD,KAAK,CAACC,OAAO,CAACuD,CAAC,CAAC,GAAGA,CAAC,GAAG,CAACA,CAAC,CAAC;AACnC;AAEO,SAAS6R,UAAU,CAAEC,IAAI,EAAE;EAChC,IAAItV,KAAK,CAACC,OAAO,CAACqV,IAAI,CAAC,EAAE;IACvB,OAAOA,IAAI,CAAClV,MAAM,CAAC,UAACC,CAAC,EAAEC,CAAC;MAAA,uCAAWD,CAAC,GAAKC,CAAC;IAAA,CAAG,CAAC;EAChD;EACA,OAAOgV,IAAI;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,KAAK,CAAEC,OAAO,EAAE;EAC9B,OAAOA,OAAO,CACXhV,IAAI,CAAC,UAAAmP,MAAM;IAAA,OAAK;MACf8F,EAAE,EAAE,IAAI;MACRC,MAAM,EAAE/F,MAAM;MACdgG,QAAQ,EAAE;QAAA,OAAMN,UAAU,CAAC1F,MAAM,CAAC;MAAA;MAClCiG,OAAO,EAAE;QAAA,OAAMR,SAAS,CAACzF,MAAM,CAAC;MAAA;IAClC,CAAC;EAAA,CAAC,CAAC,SACG,CAAC,UAAA5P,KAAK,EAAI;IACdoD,OAAO,CAACpD,KAAK,CAACA,KAAK,CAAC;IACpB,OAAOkT,OAAO,CAACC,OAAO,CAAC;MAAEuC,EAAE,EAAE,KAAK;MAAE1V,KAAK,EAALA;IAAM,CAAC,CAAC;EAC9C,CAAC,CAAC;AACN,C","file":"334.js","sourcesContent":["'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js"],"names":["checkPayload","key","options","payload","port","name","model","Object","keys","Error","desc","error","Array","isArray","map","k","reduce","p","c","find","then","latest","prevmodel","Symbol","validations","mixinType","pre","post","mixinSets","premixins","postmixins","processUpdate","changes","JSON","parse","stringify","updates","compose","values","updated","updateMixins","type","o","cb","mixinSet","Map","has","set","eventMask","update","create","onload","handleUpdateEvent","event","isUpdate","decrypted","decrypt","isObject","containsUpdates","changeList","length","every","util","console","fn","validateModel","input","filter","v","sort","a","b","order","apply","output","enableEvent","onUpdate","onCreate","onLoad","enabled","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","warn","parseKeys","propKeys","flat","RegExp","test","encryptProperties","encryptProps","obj","encrypt","freezeProperties","preventUpdates","mutations","includes","requireProperties","requireProps","missing","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","concat","unknownProps","rejectUnknownProperties","RegEx","email","ipv4Address","ipv6Address","phone","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","propKey","Validator","tests","isValid","regex","maxnum","maxlen","validateProperties","validate","invalid","updateProperties","updaters","updateProps","u","invokePort","args","log","func","execMethod","functionType","string","createMethod","withValidFormat","checkFormat","value","x","encryptPersonalInfo","GlobalMixins","orderStatus","orderTotal","orderNo","OrderStatus","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","itemId","price","checkItems","orderItems","items","calcTotal","total","item","qty","itemCount","freezeOnApproval","finalStatus","status","freezeOnCompletion","requiredForGuest","customerId","requiredForApproval","requiredForCompletion","invalidStatusChange","from","to","invalidStatusChanges","statusChangeValid","i","orderTotalValid","recalcTotal","updateSignature","signatureRequired","readyToDelete","handleError","errMsg","emit","paymentCompleted","orderShipped","shipmentPayload","shipmentId","orderPicked","addressValidated","addressPayload","shippingAddress","paymentAuthorized","paymentStatus","refundPayment","verifyAddress","debug","validateAddress","verifyPayment","authorizePayment","authorizeOrder","paymentDeclined","verifyInventory","inventory","insufficient","inv","id","quantity","getCustomerOrder","customer","custInfo","firstName","info","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","pickOrder","trackShipment","trackingUpdate","undo","handleOrderEvent","eventType","needsSignature","logMessage","message","msg","substring","time","Date","now","toJSON","toISOString","makeOrderFactory","dependencies","createOrder","lastName","billingAddress","creditCardNumber","shippingPriority","requireSignature","fibonacci","result","estimatedArrival","uuid","push","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","freeze","approve","approvedOrder","logStateChange","cancel","canceledOrder","checkout","errorCallback","timeoutCallback","ports","adapterFn","returnInventory","returnShipment","logUndo","accountOrder","req","res","returnDelivery","cancelPayment","OrderError","code","cancelOrders","data","cancelOrdersTransform","Transform","objectMode","transform","chunk","_encoding","done","_id","list","writable","createWriteStream","serialize","approveOrders","approveOrdersTransform","encoding","trackAsyncContext","ctx","getContext","dur","startTime","Promise","resolve","setTimeout","metric","requestId","get","duration","context","customHttpStatus","testContainsMany","chat","runFibonacciJs","param","start","funcs","initVal","reduceRight","composeAsync","f","passwd","process","env","ENCRYPTION_PWD","algo","crypto","String","iv","Buffer","alloc","text","cipher","cipherText","decipher","digest","nanoid","makeArray","makeObject","prop","async","promise","ok","object","asObject","asArray"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AANA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOe,SAASA,YAAY,CAClCC,GAAG,EAIH;EAAA,IAHAC,OAAO,uEAAG,CAAC,CAAC;EAAA,IACZC,OAAO,uEAAG,CAAC,CAAC;EAAA,IACZC,IAAI,uEAAGJ,YAAY,CAACK,IAAI;EAExB,IAAQC,KAAK,GAAKJ,OAAO,CAAjBI,KAAK;EAEb,IAAI,CAACA,KAAK,IAAIC,MAAM,CAACC,IAAI,CAACL,OAAO,CAAC,GAAG,CAAC,IAAI,CAACF,GAAG,EAAE;IAC9C,MAAM,IAAIQ,KAAK,CAAC;MACdC,IAAI,EAAE,mCAAmC;MACzCJ,KAAK,EAALA,KAAK;MACLF,IAAI,EAA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AK;MAAE1V,KAAK,EAALA;IAAM,CAAC,CAAC;EAC9C,CAAC,CAAC;AACN,C","file":"334.js","sourcesContent":["'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/732.js b/dist/732.js index a8a4179a..eb291f97 100644 --- a/dist/732.js +++ b/dist/732.js @@ -20,7 +20,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var uuid = __webpack_require__(/*! ../domain/utils */ "./src/domain/utils.js").uuid; @@ -45,66 +45,64 @@ var Address = { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var lookup, response, candidate, validatedAddress; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - console.log("REAL validating address...".concat(address)); - if (address) { - _context.next = 4; - break; - } - console.log('no address'); - return _context.abrupt("return"); - case 4: - if (!disabled) { - _context.next = 7; - break; - } - console.log('address service disabled'); - return _context.abrupt("return", address); - case 7: - _context.prev = 7; - lookup = new Lookup(); - lookup.inputId = uuid(); - lookup.street = address; - lookup.maxCandidates = 1; - _context.prev = 12; - _context.next = 15; - return client.send(lookup); - case 15: - response = _context.sent; - _context.next = 21; + while (1) switch (_context.prev = _context.next) { + case 0: + console.log("REAL validating address...".concat(address)); + if (address) { + _context.next = 4; break; - case 18: - _context.prev = 18; - _context.t0 = _context["catch"](12); - throw new Error(_context.t0); - case 21: - candidate = response.lookups[0].result[0]; - if (candidate) { - _context.next = 24; - break; - } - throw new Error('invalid address'); - case 24: - validatedAddress = [candidate.deliveryLine1, candidate.deliveryLine2, candidate.lastLine].join(' '); - console.log("address: ".concat(validatedAddress)); - if (validatedAddress) { - _context.next = 28; - break; - } - throw new Error('invalid address'); - case 28: - return _context.abrupt("return", validatedAddress); - case 31: - _context.prev = 31; - _context.t1 = _context["catch"](7); - console.error(_context.t1); - throw new Error('Address service error', _context.t1.message); - case 35: - case "end": - return _context.stop(); - } + } + console.log('no address'); + return _context.abrupt("return"); + case 4: + if (!disabled) { + _context.next = 7; + break; + } + console.log('address service disabled'); + return _context.abrupt("return", address); + case 7: + _context.prev = 7; + lookup = new Lookup(); + lookup.inputId = uuid(); + lookup.street = address; + lookup.maxCandidates = 1; + _context.prev = 12; + _context.next = 15; + return client.send(lookup); + case 15: + response = _context.sent; + _context.next = 21; + break; + case 18: + _context.prev = 18; + _context.t0 = _context["catch"](12); + throw new Error(_context.t0); + case 21: + candidate = response.lookups[0].result[0]; + if (candidate) { + _context.next = 24; + break; + } + throw new Error('invalid address'); + case 24: + validatedAddress = [candidate.deliveryLine1, candidate.deliveryLine2, candidate.lastLine].join(' '); + console.log("address: ".concat(validatedAddress)); + if (validatedAddress) { + _context.next = 28; + break; + } + throw new Error('invalid address'); + case 28: + return _context.abrupt("return", validatedAddress); + case 31: + _context.prev = 31; + _context.t1 = _context["catch"](7); + console.error(_context.t1); + throw new Error('Address service error', _context.t1.message); + case 35: + case "end": + return _context.stop(); } }, _callee, null, [[7, 31], [12, 18]]); }))(); @@ -264,7 +262,7 @@ __webpack_require__.r(__webpack_exports__); // accessToken: process.env.SQUARE_ACCESS_TOKEN, // }); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var Payment = { @@ -282,71 +280,69 @@ var Payment = { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var autocomplete, currency, payload; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - autocomplete = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : false; - currency = _arguments.length > 5 && _arguments[5] !== undefined ? _arguments[5] : "USD"; - payload = { - idempotency_key: id, - amount_money: { - amount: amount, - currency: currency - }, - source_id: source_id, - autocomplete: autocomplete, - customer_id: customer_id, - location_id: "XK3DBG77NJBFX", - reference_id: "123456", - note: "Brief description", - app_fee_money: { - amount: 10, - currency: "USD" - } - }; - /* - const bodyAmountMoney = {}; - bodyAmountMoney.amount = 200; - bodyAmountMoney.currency = "USD"; - const bodyTipMoney = {}; - bodyTipMoney.amount = 198; - bodyTipMoney.currency = "CHF"; - const bodyAppFeeMoney = {}; - bodyAppFeeMoney.amount = 10; - bodyAppFeeMoney.currency = "USD"; - const body = { - sourceId: "ccof:uIbfJXhXETSP197M3GB", - idempotencyKey: "4935a656-a929-4792-b97c-8848be85c27c", - amountMoney: bodyAmountMoney, - }; - body.tipMoney = bodyTipMoney; - body.appFeeMoney = bodyAppFeeMoney; - body.delayDuration = "delay_duration6"; - body.autocomplete = true; - body.orderId = "order_id0"; - body.customerId = "VDKXEEKPJN48QDG3BGGFAK05P8"; - body.locationId = "XK3DBG77NJBFX"; - body.referenceId = "123456"; - body.note = "Brief description"; - // try { - // const { - // result, - // ...httpResponse - // } = await client.paymentsApi.createPayment(body); - // // Get more response info... - // // const { statusCode, headers } = httpResponse; - // } catch (error) { - // if (error instanceof ApiError) { - // const errors = error.result; - // // const { statusCode, headers } = error; - // } - // } - */ - return _context.abrupt("return", "1234"); - case 4: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + autocomplete = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : false; + currency = _arguments.length > 5 && _arguments[5] !== undefined ? _arguments[5] : "USD"; + payload = { + idempotency_key: id, + amount_money: { + amount: amount, + currency: currency + }, + source_id: source_id, + autocomplete: autocomplete, + customer_id: customer_id, + location_id: "XK3DBG77NJBFX", + reference_id: "123456", + note: "Brief description", + app_fee_money: { + amount: 10, + currency: "USD" + } + }; + /* + const bodyAmountMoney = {}; + bodyAmountMoney.amount = 200; + bodyAmountMoney.currency = "USD"; + const bodyTipMoney = {}; + bodyTipMoney.amount = 198; + bodyTipMoney.currency = "CHF"; + const bodyAppFeeMoney = {}; + bodyAppFeeMoney.amount = 10; + bodyAppFeeMoney.currency = "USD"; + const body = { + sourceId: "ccof:uIbfJXhXETSP197M3GB", + idempotencyKey: "4935a656-a929-4792-b97c-8848be85c27c", + amountMoney: bodyAmountMoney, + }; + body.tipMoney = bodyTipMoney; + body.appFeeMoney = bodyAppFeeMoney; + body.delayDuration = "delay_duration6"; + body.autocomplete = true; + body.orderId = "order_id0"; + body.customerId = "VDKXEEKPJN48QDG3BGGFAK05P8"; + body.locationId = "XK3DBG77NJBFX"; + body.referenceId = "123456"; + body.note = "Brief description"; + // try { + // const { + // result, + // ...httpResponse + // } = await client.paymentsApi.createPayment(body); + // // Get more response info... + // // const { statusCode, headers } = httpResponse; + // } catch (error) { + // if (error instanceof ApiError) { + // const errors = error.result; + // // const { statusCode, headers } = error; + // } + // } + */ + return _context.abrupt("return", "1234"); + case 4: + case "end": + return _context.stop(); } }, _callee); }))(); @@ -425,15 +421,13 @@ var Payment = { completePayment: function completePayment(model) { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - console.log("REAL completing payment: %s", model.orderNo); - return _context2.abrupt("return", "1234"); - case 2: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + console.log("REAL completing payment: %s", model.orderNo); + return _context2.abrupt("return", "1234"); + case 2: + case "end": + return _context2.stop(); } }, _callee2); }))(); @@ -441,14 +435,12 @@ var Payment = { refundPayment: function refundPayment(model) { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - console.log("REAL refunding payment: %s", model.orderNo); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + console.log("REAL refunding payment: %s", model.orderNo); + case 1: + case "end": + return _context3.stop(); } }, _callee3); }))(); diff --git a/dist/732.js.map b/dist/732.js.map index a949871c..9f68e15c 100644 --- a/dist/732.js.map +++ b/dist/732.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js"],"names":["uuid","require","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","disabled","process","env","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","client","buildClient","Address","validateAddress","address","console","log","lookup","inputId","street","maxCandidates","send","response","Error","candidate","lookups","result","validatedAddress","deliveryLine1","deliveryLine2","lastLine","join","error","message","_notify","notify","Event","_listen","listen","model","EventBus","topic","args","options","Payment","authorizePayment","id","amount","source_id","customer_id","autocomplete","currency","payload","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","completePayment","orderNo","refundPayment","createEventMessage","requester","service","type","name","data","eventSource","eventTarget","eventType","eventName","eventTime","Date","getTime","eventUuid","eventData","createCommandEvent","commandName","commandResp","commandArgs","Shipping","serviceName","shipOrder","shipTo","shipFrom","lineItems","signature","externalId","respondOn","trackShipment","shipmentId","trackingId","verifyDelivery","returnShipment","getPayload","func","event","payloads","trackingStatus","proofOfDelivery","getProperty","key"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAAA;AAAA,+CACZ;AAAA;AAAA;AACA,IAAMA,IAAI,GAAGC,wEAA+B;AAC5C,IAAMC,gBAAgB,GAAGD,mBAAO,CAAC,+HAA8B,CAAC;AAEhE,IAAME,iBAAiB,GAAGD,gBAAgB,CAACE,IAAI;AAC/C,IAAMC,MAAM,GAAGH,gBAAgB,CAACI,QAAQ,CAACD,MAAM;;AAE/C;AACA,IAAME,QAAQ,GAAGC,OAAO,CAACC,GAAG,CAACC,eAAe,IAAI,KAAK;AACrD,IAAMC,MAAM,GAAGH,OAAO,CAACC,GAAG,CAACG,cAAc;AACzC,IAAMC,SAAS,GAAGL,OAAO,CAACC,GAAG,CAACK,iBAAiB;AAC/C,IAAMC,WAAW,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B,4BACpBC,EAAE,EACFC,MAAM,EACNC,SAAS,EACTC,WAAW,EAGX;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAAA;cAFAC,YAAY,0EAAG,KAAK;cACpBC,QAAQ,0EAAG,KAAK;cAEVC,OAAO,GAAG;gBACdC,eAAe,EAAEP,EAAE;gBACnBQ,YAAY,EAAE;kBACZP,MAAM,EAANA,MAAM;kBACNI,QAAQ,EAARA;gBACF,CAAC;gBACDH,SAAS,EAATA,SAAS;gBACTE,YAAY,EAAZA,YAAY;gBACZD,WAAW,EAAXA,WAAW;gBACXM,WAAW,EAAE,eAAe;gBAC5BC,YAAY,EAAE,QAAQ;gBACtBC,IAAI,EAAE,mBAAmB;gBACzBC,aAAa,EAAE;kBACbX,MAAM,EAAE,EAAE;kBACVI,QAAQ,EAAE;gBACZ;cACF,CAAC;cACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;cArCI,iCA2CO,MAAM;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEQQ,eAAe,2BAACpB,KAAK,EAAE;IAAA;MAAA;QAAA;UAAA;YAAA;cAC3BxB,OAAO,CAACC,GAAG,CAAC,6BAA6B,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EAAEM,KAAK,CAACrB,SAAS,CAACe;IAC9B,CAAC,8BACA,IAAI,CAACD,aAAa,CAACxB,IAAI,EAAG;MACzB0B,UAAU,EAAEK,KAAK,CAACrB,SAAS,CAACgB,UAAU;MACtCO,cAAc,EAAEF,KAAK,CAACrB,SAAS,CAACuB;IAClC,CAAC,8BACA,IAAI,CAACN,cAAc,CAAC3B,IAAI,EAAG;MAC1BkC,eAAe,EAAEH,KAAK,CAACrB,SAAS,CAACwB;IACnC,CAAC,aACF;IACD,OAAOF,QAAQ,CAACF,IAAI,CAAC;EACvB,CAAC;EAEDK,WAAW,uBAACJ,KAAK,EAAEK,GAAG,EAAE;IACtB,OAAOL,KAAK,CAACrB,SAAS,CAAC0B,GAAG,CAAC;EAC7B;AACF,CAAC,C","file":"732.js","sourcesContent":["'use strict'\n\nconst uuid = require('../domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js"],"names":["uuid","require","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","disabled","process","env","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","client","buildClient","Address","validateAddress","address","console","log","lookup","inputId","street","maxCandidates","send","response","Error","candidate","lookups","result","validatedAddress","deliveryLine1","deliveryLine2","lastLine","join","error","message","_notify","notify","Event","_listen","listen","model","EventBus","topic","args","options","Payment","authorizePayment","id","amount","source_id","customer_id","autocomplete","currency","payload","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","completePayment","orderNo","refundPayment","createEventMessage","requester","service","type","name","data","eventSource","eventTarget","eventType","eventName","eventTime","Date","getTime","eventUuid","eventData","createCommandEvent","commandName","commandResp","commandArgs","Shipping","serviceName","shipOrder","shipTo","shipFrom","lineItems","signature","externalId","respondOn","trackShipment","shipmentId","trackingId","verifyDelivery","returnShipment","getPayload","func","event","payloads","trackingStatus","proofOfDelivery","getProperty","key"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAAA;AAAA,+CACZ;AAAA;AAAA;AACA,IAAMA,IAAI,GAAGC,wEAA+B;AAC5C,IAAMC,gBAAgB,GAAGD,mBAAO,CAAC,+HAA8B,CAAC;AAEhE,IAAME,iBAAiB,GAAGD,gBAAgB,CAACE,IAAI;AAC/C,IAAMC,MAAM,GAAGH,gBAAgB,CAACI,QAAQ,CAACD,MAAM;;AAE/C;AACA,IAAME,QAAQ,GAAGC,OAAO,CAACC,GAAG,CAACC,eAAe,IAAI,KAAK;AACrD,IAAMC,MAAM,GAAGH,OAAO,CAACC,GAAG,CAACG,cAAc;AACzC,IAAMC,SAAS,GAAGL,OAAO,CAACC,GAAG,CAACK,iBAAiB;AAC/C,IAAMC,WAAW,GAAG,IAAIZ,iBAAiB,CAACa,iBAAiB,CAACL,MAAM,EAAEE,SAAS,CAAC;AAE9E,IAAMI,MAAM,GAAGd,iBAAiB,CAACe,WAAW,CAACZ,QAAQ,CAACS,WAAW,CAAC;;AAElE;AACA;AACA;AACO,IAAMI,OAAO,GAAG;EACrB;EACA;EAEMC,eAAe,2BAAEC,OAAO,EAAE;IAAA;MAAA;MAAA;QAAA;UAAA;YAC9BC,OAAO,CAACC,GAAG,qCAA8BF,OAAO,EAAG;YAAA,IAE9CA,OAAO;cAAA;cAAA;YAAA;YACVC,OAAO,CAACC,GAAG,CAAC,YAAY,CAAC;YAAA;UAAA;YAAA,KAIvBhB,QAAQ;cAAA;cAAA;YAAA;YACVe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VI,QAAQ,EAAE;cACZ;YACF,CAAC;YACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;YArCI,iCA2CO,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEQQ,eAAe,2BAACpB,KAAK,EAAE;IAAA;MAAA;QAAA;UAAA;YAC3BxB,OAAO,CAACC,GAAG,CAAC,6BAA6B,EAAEuB,KAAK,CAACqB,OAAO,CAAC;YAAC,kCACnD,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAEKC,aAAa,yBAACtB,KAAK,EAAE;IAAA;MAAA;QAAA;UAAA;YACzBxB,OAAO,CAACC,GAAG,CAAC,4BAA4B,EAAEuB,KAAK,CAACqB,OAAO,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAC3D;AACF,CAAC,C;;;;;;;;;;;;;;;;;;;AC3LY;;AAEb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/829.js b/dist/829.js index beefcf0f..c52446e7 100644 --- a/dist/829.js +++ b/dist/829.js @@ -292,7 +292,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -515,18 +515,16 @@ var Order = { get: function () { var _get = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req, res, ports) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", ports.listModels({ - writable: res, - serialize: true, - query: req.query - })); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", ports.listModels({ + writable: res, + serialize: true, + query: req.query + })); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -539,30 +537,28 @@ var Order = { var _post = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(req, res, ports) { var result; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - console.log('/orders'); - _context2.prev = 1; - _context2.next = 4; - return ports.addModel(req.body); - case 4: - result = _context2.sent; - res.status(200).json({ - message: 'ok', - ctx: result.context, - id: result.id - }); - _context2.next = 11; - break; - case 8: - _context2.prev = 8; - _context2.t0 = _context2["catch"](1); - throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context2.t0, 404); - case 11: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + console.log('/orders'); + _context2.prev = 1; + _context2.next = 4; + return ports.addModel(req.body); + case 4: + result = _context2.sent; + res.status(200).json({ + message: 'ok', + ctx: result.context, + id: result.id + }); + _context2.next = 11; + break; + case 8: + _context2.prev = 8; + _context2.t0 = _context2["catch"](1); + throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context2.t0, 404); + case 11: + case "end": + return _context2.stop(); } }, _callee2, null, [[1, 8]]); })); @@ -576,18 +572,16 @@ var Order = { get: function () { var _get2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(req, res, ports) { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - return _context3.abrupt("return", ports.listModels({ - writable: res, - serialize: true, - query: req.query - })); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + return _context3.abrupt("return", ports.listModels({ + writable: res, + serialize: true, + query: req.query + })); + case 1: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -600,32 +594,30 @@ var Order = { var _patch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(req, res, ports) { var result; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - console.log('/orders/:id'); - _context4.prev = 1; - _context4.next = 4; - return ports.editModel({ - id: req.params.id, - changes: req.body - }); - case 4: - result = _context4.sent; - res.status(200).json({ - message: 'ok', - ctx: result.context - }); - _context4.next = 11; - break; - case 8: - _context4.prev = 8; - _context4.t0 = _context4["catch"](1); - throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context4.t0, 404); - case 11: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + console.log('/orders/:id'); + _context4.prev = 1; + _context4.next = 4; + return ports.editModel({ + id: req.params.id, + changes: req.body + }); + case 4: + result = _context4.sent; + res.status(200).json({ + message: 'ok', + ctx: result.context + }); + _context4.next = 11; + break; + case 8: + _context4.prev = 8; + _context4.t0 = _context4["catch"](1); + throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context4.t0, 404); + case 11: + case "end": + return _context4.stop(); } }, _callee4, null, [[1, 8]]); })); @@ -705,7 +697,7 @@ var Order = { /*! namespace exports */ /*! export WebSwitch [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -714,6 +706,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "WebSwitch": () => /* binding */ WebSwitch /* harmony export */ }); /* harmony import */ var _domain_webswitch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../domain/webswitch */ "./src/domain/webswitch.js"); +/* harmony import */ var _domain_webswitch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_domain_webswitch__WEBPACK_IMPORTED_MODULE_0__); @@ -865,7 +858,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function makeCustomerFactory(dependencies) { @@ -900,27 +893,25 @@ function _okToDelete() { _okToDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(customer) { var orders; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - _context.next = 3; - return customer.orders(); - case 3: - orders = _context.sent; - return _context.abrupt("return", orders.length > 0); - case 7: - _context.prev = 7; - _context.t0 = _context["catch"](0); - console.error({ - func: okToDelete.name, - error: _context.t0 - }); - return _context.abrupt("return", true); - case 11: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + _context.next = 3; + return customer.orders(); + case 3: + orders = _context.sent; + return _context.abrupt("return", orders.length > 0); + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error({ + func: okToDelete.name, + error: _context.t0 + }); + return _context.abrupt("return", true); + case 11: + case "end": + return _context.stop(); } }, _callee, null, [[0, 7]]); })); @@ -1295,487 +1286,11 @@ var makeInventoryFactory = function makeInventoryFactory(dependencies) { /*!*********************************!*\ !*** ./src/domain/webswitch.js ***! \*********************************/ -/*! namespace exports */ -/*! export ServiceMeshClient [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export makeClient [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ServiceMeshClient": () => /* binding */ ServiceMeshClient, -/* harmony export */ "makeClient": () => /* binding */ makeClient -/* harmony export */ }); -/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! os */ "os"); -/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! events */ "events"); -/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var nanoid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! nanoid */ "webpack/sharing/consume/default/nanoid/nanoid"); -/* harmony import */ var nanoid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(nanoid__WEBPACK_IMPORTED_MODULE_2__); -/** - * webswitch (c) - * - * Websocket clients connect to a common ws server, - * called a webswitch. When a client sends a message, - * webswitch broadcasts the message to all other - * connected clients, including a special webswitch - * server that acts as an uplink to another network, - * if one is defined. A Webswitch server can also - * receive messgages from an uplink and will broadcast - * those messages to its clients as well. - */ - - +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: */ +/***/ (() => { -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } -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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } -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); } -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - - - -var HOSTNAME = 'webswitch.local'; -var SERVICENAME = 'webswitch'; -var HBEATTIMEOUT = 'heartBeatTimeout'; -var WSOCKETERROR = 'webSocketError'; -var isPrimary = /true/i.test(process.env.SWITCH); -var isBackup = /true/i.test(process.env.BACKUP); -var debug = /true/i.test(process.env.DEBUG); -var heartbeatMs = 10000; -var sslEnabled = /true/i.test(process.env.SSL_ENABLED); -var clearPort = process.env.PORT || 80; -var cipherPort = process.env.SSL_PORT || 443; -var activePort = sslEnabled ? cipherPort : clearPort; -var activeProto = sslEnabled ? 'wss' : 'ws'; -var activeHost = process.env.DOMAIN || os__WEBPACK_IMPORTED_MODULE_0___default().hostname(); -var proto = isPrimary ? activeProto : process.env.SWITCH_PROTO; -var port = isPrimary ? activePort : process.env.SWITCH_PORT; -var host = isPrimary ? activeHost : process.env.SWITCH_HOST; -var override = /true/i.test(process.env.SWITCH_OVERRIDE); -var apiProto = sslEnabled ? 'https' : 'http'; -var apiUrl = "".concat(apiProto, "://").concat(activeHost, ":").concat(activePort); -function serviceUrl() { - var url = "".concat(proto, "://").concat(host, ":").concat(port); - if (proto && host && port) return url; - if (isPrimary) throw new Error("invalid url ".concat(url)); - return null; -} - -/** - * Service mesh client impl. Uses websocket and service-locator - * adapters through ports injected into the {@link mesh} model. - * Cf. modelSpec by the same name, i.e. `webswitch`. - */ -var ServiceMeshClient = /*#__PURE__*/function (_EventEmitter) { - _inherits(ServiceMeshClient, _EventEmitter); - var _super = _createSuper(ServiceMeshClient); - function ServiceMeshClient(mesh) { - var _this; - _classCallCheck(this, ServiceMeshClient); - _this = _super.call(this, 'webswitch'); - _this.url; - _this.mesh = mesh; - _this.name = SERVICENAME; - _this.isPrimary = isPrimary; - _this.isBackup = isBackup; - _this.pong = true; - _this.heartbeatTimer = 3000; - _this.headers = { - 'x-webswitch-host': os__WEBPACK_IMPORTED_MODULE_0___default().hostname(), - 'x-webswitch-role': 'node', - 'x-webswitch-pid': process.pid - }; - return _this; - } - - /** - * - * @param {number} asyncId id's instance to kill - * @returns {{telemetry:{mem:number,cpu:number}}} - */ - _createClass(ServiceMeshClient, [{ - key: "telemetry", - value: function telemetry() { - return { - eventName: 'telemetry', - proto: this.name, - apiUrl: apiUrl, - heartbeatMs: heartbeatMs, - hostname: os__WEBPACK_IMPORTED_MODULE_0___default().hostname(), - role: 'node', - pid: process.pid, - telemetry: _objectSpread(_objectSpread(_objectSpread({}, process.memoryUsage()), process.cpuUsage()), performance.nodeTiming), - services: this.mesh.listServices(), - socketState: this.mesh.websocketStatus() || 'undefined' - }; - } - - /** - * Zero-config, self-forming mesh network: - * Discover URL of broker to connect to, or - * if this is the broker, cast the local url - * @returns {Promise} url - */ - }, { - key: "resolveUrl", - value: function () { - var _resolveUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return this.mesh.serviceLocatorInit({ - serviceUrl: serviceUrl(), - name: this.name, - primary: this.isPrimary, - backup: this.isBackup - }); - case 2: - if (!this.isPrimary) { - _context.next = 6; - break; - } - _context.next = 5; - return this.mesh.serviceLocatorAnswer(); - case 5: - return _context.abrupt("return", serviceUrl()); - case 6: - return _context.abrupt("return", override ? serviceUrl() : this.mesh.serviceLocatorAsk()); - case 7: - case "end": - return _context.stop(); - } - } - }, _callee, this); - })); - function resolveUrl() { - return _resolveUrl.apply(this, arguments); - } - return resolveUrl; - }() - /** - * Use multicast dns to resolve broker url. Connect to - * service mesh broker. Allow listeners to subscribe to - * indivdual or all events. Send binary messages with - * protocol and idempotentency headers. Periodically send - * telemetry data. - * - * @param {*} options - * @returns - */ - }, { - key: "connect", - value: function () { - var _connect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - var _this2 = this; - var options, - _args2 = arguments; - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - options = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : { - binary: true - }; - this.options = options; - _context2.next = 4; - return this.resolveUrl(); - case 4: - this.url = _context2.sent; - this.mesh.websocketConnect(this.url, { - agent: false, - headers: this.headers, - protocol: SERVICENAME, - useBinary: options.binary - }); - this.mesh.websocketOnOpen(function () { - console.log('connection open'); - _this2.send(_this2.telemetry()); - _this2.heartbeat(); - setTimeout(function () { - return _this2.sendQueuedMsgs(); - }, 3000); - }); - this.mesh.websocketOnMessage(function (message) { - if (!message.eventName) { - debug && console.debug({ - missingEventName: message - }); - _this2.emit('missingEventName', message); - return; - } - try { - _this2.emit(message.eventName, message); - _this2.listeners('*').forEach(function (listener) { - return listener(message); - }); - } catch (error) { - console.error({ - fn: _this2.connect.name, - error: error - }); - } - }); - this.mesh.websocketOnError(function (error) { - _this2.emit(WSOCKETERROR, error); - console.error({ - fn: _this2.connect.name, - error: error - }); - }); - this.mesh.websocketOnClose(function (code, reason) { - console.log({ - msg: 'received close frame', - code: code, - reason: reason === null || reason === void 0 ? void 0 : reason.toString() - }); - clearTimeout(_this2.heartbeatTimer); - setTimeout(function () { - console.debug('reconnect due to socket close'); - _this2.connect(); - }, 5000); - }); - this.mesh.websocketOnPong(function () { - return _this2.pong = true; - }); - this.once('timeout', this.timeout); - case 12: - case "end": - return _context2.stop(); - } - } - }, _callee2, this); - })); - function connect() { - return _connect.apply(this, arguments); - } - return connect; - }() - }, { - key: "timeout", - value: function timeout() { - var _this3 = this; - console.warn('timeout'); - this.emit(HBEATTIMEOUT, this.telemetry()); - this.mesh.websocketTerminate(); - setTimeout(function () { - console.debug('reconnect due to timeout'); - _this3.connect(); - }, 5000); - } - }, { - key: "heartbeat", - value: function heartbeat() { - var _this4 = this; - if (this.pong) { - this.pong = false; - this.mesh.websocketPing(); - this.heartbeatTimer = setTimeout(function () { - return _this4.heartbeat(); - }, heartbeatMs); - } else { - clearTimeout(this.heartbeatTimer); - this.emit('timeout'); - } - } - - /** - * Convert message to binary and send with protocol and idempotency headers. - * If message cannot be sent because of connection state or buffering queue - * message in domain object for retry later. Using a domain object ensures - * persistence of the queue across boots. - * - * @param {object} msg - * @returns {Promise} true if sent, false if not - */ - }, { - key: "send", - value: function send(msg) { - var sent = this.mesh.websocketSend(msg, { - headers: _objectSpread(_objectSpread({}, this.headers), {}, { - 'idempotency-key': (0,nanoid__WEBPACK_IMPORTED_MODULE_2__.nanoid)() - }) - }); - if (sent) return true; - this.mesh.enqueue(msg); - return false; - } - - /** - * Send any messages buffered in `sendQueue`. - */ - }, { - key: "sendQueuedMsgs", - value: function sendQueuedMsgs() { - var sent = true; - while (this.mesh.queueDepth() > 0 && sent) { - sent = this.send(this.mesh.dequeue()); - } - } - - /** - * Connects if needed then sends message to mesh broker service. - * @param {*} msg - */ - }, { - key: "publish", - value: function publish(msg) { - return this.send(msg); - } - - /** - * Register handler to fire on event - * @param {string} eventName - * @param {function()} callback - */ - }, { - key: "subscribe", - value: function subscribe(eventName, callback) { - this.on(eventName, callback); - } - - /** - * A new object will be created on system reload. - * Dispose of the old one. Run in context to - * distinguish between the new and old instance. - * - * @param {*} code - * @param {*} reason - */ - }, { - key: "close", - value: function () { - var _close = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(code, reason) { - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - console.debug('closing socket'); - _context3.next = 3; - return this.mesh.save(); - case 3: - // save queued messages - this.removeAllListeners(); - this.mesh.websocketClose(code, reason); - case 5: - case "end": - return _context3.stop(); - } - } - }, _callee3, this); - })); - function close(_x, _x2) { - return _close.apply(this, arguments); - } - return close; - }() - }]); - return ServiceMeshClient; -}((events__WEBPACK_IMPORTED_MODULE_1___default())); - -/** - * Domain model factory function. This model is - * used internally by the Aegis framework as a - * pluggable service mesh client. Implement the - * the methods below to create a new plugin. - * - * @param {*} dependencies injected depedencies - * @returns - */ -function makeClient(dependencies) { - var client; - return function (_ref) { - var listServices = _ref.listServices; - return { - listServices: listServices, - sendQueue: [], - sendQueueMax: 1000, - queueDepth: function queueDepth() { - return this.sendQueue.length; - }, - enqueue: function enqueue(msg) { - this.sendQueue.push(msg); - }, - dequeue: function dequeue() { - return this.sendQueue.shift(); - }, - getClient: function getClient() { - if (client) return client; - client = new ServiceMeshClient(this); - return client; - }, - connect: function connect(options) { - var _this5 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() { - return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - _this5.getClient().connect(options); - case 1: - case "end": - return _context4.stop(); - } - } - }, _callee4); - }))(); - }, - publish: function publish(event) { - var _this6 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() { - return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - _this6.getClient().publish(event); - case 1: - case "end": - return _context5.stop(); - } - } - }, _callee5); - }))(); - }, - subscribe: function subscribe(eventName, handler) { - this.getClient().subscribe(eventName, handler); - }, - close: function close(code, reason) { - var _this7 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() { - return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - _this7.getClient().close(code, reason); - case 1: - case "end": - return _context6.stop(); - } - } - }, _callee6); - }))(); - } - }; - }; -} +throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nSyntaxError: /Users/tysonmidboe/Code/aegis-app/src/domain/webswitch.js: Unexpected token (91:14)\n\n\u001b[0m \u001b[90m 89 |\u001b[39m }\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 90 |\u001b[39m services\u001b[33m:\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mmesh\u001b[33m.\u001b[39mlistServices()\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 91 |\u001b[39m events\u001b[33m:\u001b[39m \u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 92 |\u001b[39m socketState\u001b[33m:\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mmesh\u001b[33m.\u001b[39mwebsocketStatus() \u001b[33m||\u001b[39m \u001b[32m'undefined'\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 93 |\u001b[39m }\u001b[0m\n\u001b[0m \u001b[90m 94 |\u001b[39m }\u001b[0m\n at instantiate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:67:32)\n at constructor (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:364:12)\n at Parser.raise (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:3363:19)\n at Parser.unexpected (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:3396:16)\n at Parser.parseExprAtom (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11579:22)\n at Parser.parseExprSubscripts (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11182:23)\n at Parser.parseUpdate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11164:21)\n at Parser.parseMaybeUnary (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11138:23)\n at Parser.parseMaybeUnaryOrPrivate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10967:61)\n at Parser.parseExprOps (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10973:23)\n at Parser.parseMaybeConditional (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10948:23)\n at Parser.parseMaybeAssign (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10906:21)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10874:39\n at Parser.allowInAnd (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12651:12)\n at Parser.parseMaybeAssignAllowIn (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10874:17)\n at Parser.parseObjectProperty (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12138:83)\n at Parser.parseObjPropValue (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12165:100)\n at Parser.parsePropertyDefinition (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12094:17)\n at Parser.parseObjectLike (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12004:21)\n at Parser.parseExprAtom (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11475:23)\n at Parser.parseExprSubscripts (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11182:23)\n at Parser.parseUpdate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11164:21)\n at Parser.parseMaybeUnary (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11138:23)\n at Parser.parseMaybeUnaryOrPrivate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10967:61)\n at Parser.parseExprOps (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10973:23)\n at Parser.parseMaybeConditional (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10948:23)\n at Parser.parseMaybeAssign (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10906:21)\n at Parser.parseExpressionBase (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10856:23)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10851:39\n at Parser.allowInAnd (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12646:16)\n at Parser.parseExpression (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10851:17)\n at Parser.parseReturnStatement (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13364:28)\n at Parser.parseStatementContent (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13003:21)\n at Parser.parseStatementLike (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12963:17)\n at Parser.parseStatementListItem (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12948:17)\n at Parser.parseBlockOrModuleBlockBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13569:61)\n at Parser.parseBlockBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13561:10)\n at Parser.parseBlock (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13549:10)\n at Parser.parseFunctionBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12298:24)\n at Parser.parseFunctionBodyAndFinish (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12282:10)\n at Parser.parseMethod (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12237:31)\n at Parser.pushClassMethod (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14036:30)\n at Parser.parseClassMemberWithIsStatic (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13906:12)\n at Parser.parseClassMember (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13848:10)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13790:14\n at Parser.withSmartMixTopicForbiddingContext (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12628:14)\n at Parser.parseClassBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13769:10)\n at Parser.parseClass (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13744:22)\n at Parser.parseExportDeclaration (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14254:25)\n at Parser.maybeParseExportDeclaration (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14210:31)"); /***/ }) diff --git a/dist/829.js.map b/dist/829.js.map index 2aada09d..69875bc7 100644 --- a/dist/829.js.map +++ b/dist/829.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js","webpack://aegis-app/./src/domain/webswitch.js"],"names":["getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","console","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","name","creds","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","regex","relations","orders","type","foreignKey","commands","decrypt","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","every","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","update","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","listen","service","timeout","notify","validateAddress","keys","producesEvent","disabled","authorizePayment","consumesEvent","undo","cancelPayment","pickOrder","callback","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","shipOrder","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","trackShipment","verifyDelivery","returnDelivery","completePayment","paymentCompleted","refundPayment","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","get","req","res","listModels","writable","serialize","query","post","log","addModel","body","result","status","json","message","ctx","context","OrderError","patch","editModel","params","changes","approve","runFibonacci","model","start","Date","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","on","key","value","enabled","WebSwitch","makeClient","internal","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","websocketConnect","websocketPing","websocketSend","websocketClose","websocketStatus","websocketTerminate","websocketOnClose","websocketOnOpen","websocketOnMessage","websocketOnError","websocketOnPong","makeAdapters","adapters","services","map","port","e","warn","reduce","c","createCustomer","firstName","lastName","shippingAddress","creditCardNumber","billingAddress","phone","email","userId","freeze","customerId","length","error","func","validateSpec","spec","missing","filter","Error","entries","makeModel","concat","GlobalMixins","bindAdapters","models","modelSpecs","category","price","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity","HOSTNAME","SERVICENAME","HBEATTIMEOUT","WSOCKETERROR","isPrimary","test","SWITCH","isBackup","BACKUP","DEBUG","heartbeatMs","sslEnabled","SSL_ENABLED","clearPort","PORT","cipherPort","SSL_PORT","activePort","activeProto","activeHost","DOMAIN","os","proto","SWITCH_PROTO","SWITCH_PORT","host","SWITCH_HOST","override","SWITCH_OVERRIDE","apiProto","apiUrl","serviceUrl","ServiceMeshClient","mesh","pong","heartbeatTimer","headers","pid","eventName","hostname","role","telemetry","memoryUsage","cpuUsage","performance","nodeTiming","listServices","socketState","primary","backup","options","binary","resolveUrl","agent","protocol","useBinary","send","heartbeat","setTimeout","sendQueuedMsgs","missingEventName","emit","listeners","forEach","listener","fn","connect","code","reason","msg","toString","clearTimeout","once","sent","enqueue","queueDepth","dequeue","save","removeAllListeners","EventEmitter","client","sendQueue","sendQueueMax","push","shift","getClient","publish","event","subscribe","handler","close"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEZ,SAASA,SAAS,GAAI;EACpB,OAAOC,OAAO,CAACC,GAAG,CAACC,aAAa,IAAI;IAAEC,IAAI,EAAE,IAAI;IAAEC,IAAI,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAK,CAAC;AAC7E;AAEA,SAASC,OAAO,CAAEC,EAAE,EAAE;EACpBC,OAAO,CAACC,KAAK,CAAC,cAAc,EAAEF,EAAE,CAAC;AACnC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMG,wBAAwB,GAAG,SAA3BA,wBAAwB,CACnCC,GAAG,EACHC,SAAS,EACTC,iBAAiB,EACjB;EACA;AACF;AACA;AACA;AACA;EAJE,IAKMC,wBAAwB;IAAA;IAAA;IAC5B,kCAAaC,UAAU,EAAEC,OAAO,EAAEC,IAAI,EAAE;MAAA;MAAA;MACtC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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWmC;AACO;;AAE1C;AACuC;AACA;AACC;AACxC;AACuC;;AAEvC;AACA;AACA;AACA;AACA,SAASE,YAAY,CAAEC,IAAI,EAAE;EAC3B,IAAMC,OAAO,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC,CAACC,MAAM,CAAC,UAAA9C,GAAG;IAA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AElD,SAAS,EAAEmD,OAAO,EAAE;QAC7B,IAAI,CAACJ,SAAS,EAAE,CAACG,SAAS,CAAClD,SAAS,EAAEmD,OAAO,CAAC;MAChD,CAAC;MAEKC,KAAK,iBAAEvB,IAAI,EAAEC,MAAM,EAAE;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;kBACzB,MAAI,CAACiB,SAAS,EAAE,CAACK,KAAK,CAACvB,IAAI,EAAEC,MAAM,CAAC;gBAAA;gBAAA;kBAAA;cAAA;YAAA;UAAA;QAAA;MACtC;IACF,CAAC;EACH,CAAC;AACH,C","file":"829.js","sourcesContent":["'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n","/**\n * webswitch (c)\n *\n * Websocket clients connect to a common ws server,\n * called a webswitch. When a client sends a message,\n * webswitch broadcasts the message to all other\n * connected clients, including a special webswitch\n * server that acts as an uplink to another network,\n * if one is defined. A Webswitch server can also\n * receive messgages from an uplink and will broadcast\n * those messages to its clients as well.\n */\n\n'use strict'\n\nimport os from 'os'\nimport EventEmitter from 'events'\nimport { nanoid } from 'nanoid'\n\nconst HOSTNAME = 'webswitch.local'\nconst SERVICENAME = 'webswitch'\nconst HBEATTIMEOUT = 'heartBeatTimeout'\nconst WSOCKETERROR = 'webSocketError'\n\nconst isPrimary = /true/i.test(process.env.SWITCH)\nconst isBackup = /true/i.test(process.env.BACKUP)\nconst debug = /true/i.test(process.env.DEBUG)\nconst heartbeatMs = 10000\nconst sslEnabled = /true/i.test(process.env.SSL_ENABLED)\nconst clearPort = process.env.PORT || 80\nconst cipherPort = process.env.SSL_PORT || 443\nconst activePort = sslEnabled ? cipherPort : clearPort\nconst activeProto = sslEnabled ? 'wss' : 'ws'\nconst activeHost = process.env.DOMAIN || os.hostname()\nconst proto = isPrimary ? activeProto : process.env.SWITCH_PROTO\nconst port = isPrimary ? activePort : process.env.SWITCH_PORT\nconst host = isPrimary ? activeHost : process.env.SWITCH_HOST\nconst override = /true/i.test(process.env.SWITCH_OVERRIDE)\nconst apiProto = sslEnabled ? 'https' : 'http'\nconst apiUrl = `${apiProto}://${activeHost}:${activePort}`\n\nfunction serviceUrl () {\n const url = `${proto}://${host}:${port}`\n if (proto && host && port) return url\n if (isPrimary) throw new Error(`invalid url ${url}`)\n return null\n}\n\n/**\n * Service mesh client impl. Uses websocket and service-locator\n * adapters through ports injected into the {@link mesh} model.\n * Cf. modelSpec by the same name, i.e. `webswitch`.\n */\nexport class ServiceMeshClient extends EventEmitter {\n constructor (mesh) {\n super('webswitch')\n this.url\n this.mesh = mesh\n this.name = SERVICENAME\n this.isPrimary = isPrimary\n this.isBackup = isBackup\n this.pong = true\n this.heartbeatTimer = 3000\n this.headers = {\n 'x-webswitch-host': os.hostname(),\n 'x-webswitch-role': 'node',\n 'x-webswitch-pid': process.pid\n }\n }\n\n /**\n *\n * @param {number} asyncId id's instance to kill\n * @returns {{telemetry:{mem:number,cpu:number}}}\n */\n telemetry () {\n return {\n eventName: 'telemetry',\n proto: this.name,\n apiUrl,\n heartbeatMs,\n hostname: os.hostname(),\n role: 'node',\n pid: process.pid,\n telemetry: {\n ...process.memoryUsage(),\n ...process.cpuUsage(),\n ...performance.nodeTiming\n },\n services: this.mesh.listServices(),\n socketState: this.mesh.websocketStatus() || 'undefined'\n }\n }\n\n /**\n * Zero-config, self-forming mesh network:\n * Discover URL of broker to connect to, or\n * if this is the broker, cast the local url\n * @returns {Promise} url\n */\n async resolveUrl () {\n await this.mesh.serviceLocatorInit({\n serviceUrl: serviceUrl(),\n name: this.name,\n primary: this.isPrimary,\n backup: this.isBackup\n })\n if (this.isPrimary) {\n await this.mesh.serviceLocatorAnswer()\n return serviceUrl()\n }\n return override ? serviceUrl() : this.mesh.serviceLocatorAsk()\n }\n\n /**\n * Use multicast dns to resolve broker url. Connect to\n * service mesh broker. Allow listeners to subscribe to\n * indivdual or all events. Send binary messages with\n * protocol and idempotentency headers. Periodically send\n * telemetry data.\n *\n * @param {*} options\n * @returns\n */\n async connect (options = { binary: true }) {\n this.options = options\n this.url = await this.resolveUrl()\n\n this.mesh.websocketConnect(this.url, {\n agent: false,\n headers: this.headers,\n protocol: SERVICENAME,\n useBinary: options.binary\n })\n\n this.mesh.websocketOnOpen(() => {\n console.log('connection open')\n this.send(this.telemetry())\n this.heartbeat()\n setTimeout(() => this.sendQueuedMsgs(), 3000)\n })\n\n this.mesh.websocketOnMessage(message => {\n if (!message.eventName) {\n debug && console.debug({ missingEventName: message })\n this.emit('missingEventName', message)\n return\n }\n try {\n this.emit(message.eventName, message)\n this.listeners('*').forEach(listener => listener(message))\n } catch (error) {\n console.error({ fn: this.connect.name, error })\n }\n })\n\n this.mesh.websocketOnError(error => {\n this.emit(WSOCKETERROR, error)\n console.error({ fn: this.connect.name, error })\n })\n\n this.mesh.websocketOnClose((code, reason) => {\n console.log({\n msg: 'received close frame',\n code,\n reason: reason?.toString()\n })\n clearTimeout(this.heartbeatTimer)\n setTimeout(() => {\n console.debug('reconnect due to socket close')\n this.connect()\n }, 5000)\n })\n\n this.mesh.websocketOnPong(() => (this.pong = true))\n this.once('timeout', this.timeout)\n }\n\n timeout () {\n console.warn('timeout')\n this.emit(HBEATTIMEOUT, this.telemetry())\n this.mesh.websocketTerminate()\n setTimeout(() => {\n console.debug('reconnect due to timeout')\n this.connect()\n }, 5000)\n }\n\n heartbeat () {\n if (this.pong) {\n this.pong = false\n this.mesh.websocketPing()\n this.heartbeatTimer = setTimeout(() => this.heartbeat(), heartbeatMs)\n } else {\n clearTimeout(this.heartbeatTimer)\n this.emit('timeout')\n }\n }\n\n /**\n * Convert message to binary and send with protocol and idempotency headers.\n * If message cannot be sent because of connection state or buffering queue\n * message in domain object for retry later. Using a domain object ensures\n * persistence of the queue across boots.\n *\n * @param {object} msg\n * @returns {Promise} true if sent, false if not\n */\n send (msg) {\n const sent = this.mesh.websocketSend(msg, {\n headers: {\n ...this.headers,\n 'idempotency-key': nanoid()\n }\n })\n if (sent) return true\n this.mesh.enqueue(msg)\n return false\n }\n\n /**\n * Send any messages buffered in `sendQueue`.\n */\n sendQueuedMsgs () {\n let sent = true\n while (this.mesh.queueDepth() > 0 && sent)\n sent = this.send(this.mesh.dequeue())\n }\n\n /**\n * Connects if needed then sends message to mesh broker service.\n * @param {*} msg\n */\n publish (msg) {\n return this.send(msg)\n }\n\n /**\n * Register handler to fire on event\n * @param {string} eventName\n * @param {function()} callback\n */\n subscribe (eventName, callback) {\n this.on(eventName, callback)\n }\n\n /**\n * A new object will be created on system reload.\n * Dispose of the old one. Run in context to\n * distinguish between the new and old instance.\n *\n * @param {*} code\n * @param {*} reason\n */\n async close (code, reason) {\n console.debug('closing socket')\n await this.mesh.save() // save queued messages\n this.removeAllListeners()\n this.mesh.websocketClose(code, reason)\n }\n}\n\n/**\n * Domain model factory function. This model is\n * used internally by the Aegis framework as a\n * pluggable service mesh client. Implement the\n * the methods below to create a new plugin.\n *\n * @param {*} dependencies injected depedencies\n * @returns\n */\nexport function makeClient (dependencies) {\n let client\n return function ({ listServices }) {\n return {\n listServices,\n sendQueue: [],\n sendQueueMax: 1000,\n\n queueDepth () {\n return this.sendQueue.length\n },\n\n enqueue (msg) {\n this.sendQueue.push(msg)\n },\n\n dequeue () {\n return this.sendQueue.shift()\n },\n\n getClient () {\n if (client) return client\n client = new ServiceMeshClient(this)\n return client\n },\n\n async connect (options) {\n this.getClient().connect(options)\n },\n\n async publish (event) {\n this.getClient().publish(event)\n },\n\n subscribe (eventName, handler) {\n this.getClient().subscribe(eventName, handler)\n },\n\n async close (code, reason) {\n this.getClient().close(code, reason)\n }\n }\n }\n}\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js"],"names":["getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","console","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","name","creds","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","regex","relations","orders","type","foreignKey","commands","decrypt","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","every","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","update","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","listen","service","timeout","notify","validateAddress","keys","producesEvent","disabled","authorizePayment","consumesEvent","undo","cancelPayment","pickOrder","callback","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","shipOrder","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","trackShipment","verifyDelivery","returnDelivery","completePayment","paymentCompleted","refundPayment","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","get","req","res","listModels","writable","serialize","query","post","log","addModel","body","result","status","json","message","ctx","context","OrderError","patch","editModel","params","changes","approve","runFibonacci","model","start","Date","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","on","key","value","enabled","WebSwitch","makeClient","internal","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","websocketConnect","websocketPing","websocketSend","websocketClose","websocketStatus","websocketTerminate","websocketOnClose","websocketOnOpen","websocketOnMessage","websocketOnError","websocketOnPong","makeAdapters","adapters","services","map","port","e","warn","reduce","c","createCustomer","firstName","lastName","shippingAddress","creditCardNumber","billingAddress","phone","email","userId","freeze","customerId","length","error","func","validateSpec","spec","missing","filter","Error","entries","makeModel","concat","GlobalMixins","bindAdapters","models","modelSpecs","category","price","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity"],"mappings":";;;;;;;;;;;;;;;;;;;AAAY;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEZ,SAASA,SAAS,GAAI;EACpB,OAAOC,OAAO,CAACC,GAAG,CAACC,aAAa,IAAI;IAAEC,IAAI,EAAE,IAAI;IAAEC,IAAI,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAK,CAAC;AAC7E;AAEA,SAASC,OAAO,CAAEC,EAAE,EAAE;EACpBC,OAAO,CAACC,KAAK,CAAC,cAAc,EAAEF,EAAE,CAAC;AACnC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMG,wBAAwB,GAAG,SAA3BA,wBAAwB,CACnCC,GAAG,EACHC,SAAS,EACTC,iBAAiB,EACjB;EACA;AACF;AACA;AACA;AACA;EAJE,IAKMC,wBAAwB;IAAA;IAAA;IAC5B,kCAAaC,UAAU,EAAEC,OAAO,EAAEC,IAAI,EAAE;MAAA;MAAA;MACtC,0BAAMF,UAAU,EAAEC,OAAO,EAAEC,IAAI;MAC/B,MAAKN,GAAG,GAAGA,GAAG;MACd,MAAKC,SAAS,GAAGA,SAAS;MAC1B,MAAKM,KAAK,GAAGnB,SAAS,EAAE;MAAA;IAC1B;;IAEA;AACJ;AACA;IAFI;MAAA;MAAA,OAGA,iBAAQQ,EAAE,EAAE;QACVC,OAAO,CAACC,KAAK,CAAC,SAAS,EAAEF,EAAE,CAAC;QAC5BD,OAAO,CAACC,EAAE,CAAC;MACb;IAAC;IAAA;EAAA,EAdoCM,iBAAiB;EAiBxD,OAAOC,wBAAwB;AACjC,CAAC,C;;;;;;;;;;;;;;;;;;;;;;;;AC7CW;;AAOa;AAC2C;AACiB;AACtD;;AAE/B;AACA;AACA;AACO,IAAMK,QAAQ,GAAG;EACtBC,SAAS,EAAE,UAAU;EACr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KAAK,EAALA,KAAK;MACLC,MAAM,EAANA;IACF,CAAC,CAAC;EACJ,CAAC;AACH;AAEO,SAAe7K,UAAU;EAAA;AAAA;AAQ/B;EAAA,yEARM,iBAA0BgB,QAAQ;IAAA;IAAA;MAAA;QAAA;UAAA;UAAA;UAAA,OAEhBA,QAAQ,CAACR,MAAM,EAAE;QAAA;UAAhCA,MAAM;UAAA,iCACLA,MAAM,CAACwK,MAAM,GAAG,CAAC;QAAA;UAAA;UAAA;UAExBrM,OAAO,CAACsM,KAAK,CAAC;YAAEC,IAAI,EAAElL,UAAU,CAACZ,IAAI;YAAE6L,KAAK;UAAC,CAAC,CAAC;UAAC,iCACzC,IAAI;QAAA;QAAA;UAAA;MAAA;IAAA;EAAA,CAEd;EAAA;AAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;ACnCW;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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js","sourcesContent":["'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/867.js b/dist/867.js index 8e118332..b696f80f 100644 --- a/dist/867.js +++ b/dist/867.js @@ -33,12 +33,12 @@ __webpack_require__.r(__webpack_exports__); * @param {import("../services/address-service").Address} service */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -47,34 +47,32 @@ function validateAddress(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) { var order, _options$args, callback, shippingAddress, update; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - _context.prev = 1; - _context.next = 4; - return service.validateAddress(order.decrypt().shippingAddress); - case 4: - shippingAddress = _context.sent; - _context.next = 7; - return callback(options, { - shippingAddress: shippingAddress - }); - case 7: - update = _context.sent; - return _context.abrupt("return", update); - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - console.error({ - func: validateAddress.name, - error: _context.t0, - options: options - }); - case 14: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + _context.prev = 1; + _context.next = 4; + return service.validateAddress(order.decrypt().shippingAddress); + case 4: + shippingAddress = _context.sent; + _context.next = 7; + return callback(options, { + shippingAddress: shippingAddress + }); + case 7: + update = _context.sent; + return _context.abrupt("return", update); + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + console.error({ + func: validateAddress.name, + error: _context.t0, + options: options + }); + case 14: + case "end": + return _context.stop(); } }, _callee, null, [[1, 11]]); })); @@ -228,9 +226,9 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty 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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } @@ -238,7 +236,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /** @@ -308,40 +306,38 @@ var Subscription = function Subscription(_ref) { var _this = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - if (!filters) { - _context.next = 7; - break; - } - if (!filters.every(filterMatches(message))) { - _context.next = 6; - break; - } - if (once) { - // Only looking for 1 msg, got it. - _this.unsubscribe(); - } - _context.next = 5; - return callback({ - message: message, - subscription: _this - }); - case 5: - return _context.abrupt("return"); - case 6: - return _context.abrupt("return"); - case 7: - _context.next = 9; - return callback({ - message: message, - subscription: _this - }); - case 9: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + if (!filters) { + _context.next = 7; + break; + } + if (!filters.every(filterMatches(message))) { + _context.next = 6; + break; + } + if (once) { + // Only looking for 1 msg, got it. + _this.unsubscribe(); + } + _context.next = 5; + return callback({ + message: message, + subscription: _this + }); + case 5: + return _context.abrupt("return"); + case 6: + return _context.abrupt("return"); + case 7: + _context.next = 9; + return callback({ + message: message, + subscription: _this + }); + case 9: + case "end": + return _context.stop(); } }, _callee); }))(); @@ -360,68 +356,62 @@ function listen() { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(options) { var model, _options$args, arg, subscription; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - model = options.model, _options$args = _slicedToArray(options.args, 1), arg = _options$args[0]; - subscription = Subscription(_objectSpread({ - model: model - }, arg)); - if (!subscriptions.has(arg.topic)) { - _context4.next = 5; - break; - } - subscriptions.get(arg.topic).set(arg.id, subscription); - return _context4.abrupt("return", subscription); - case 5: - subscriptions.set(arg.topic, new Map().set(arg.id, subscription)); - if (!service.listening) { - service.listen(/Channel/, /*#__PURE__*/function () { - var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref3) { - var topic, message; - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - topic = _ref3.topic, message = _ref3.message; - if (subscriptions.has(topic)) { - subscriptions.get(topic).forEach( /*#__PURE__*/function () { - var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(subscription) { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return subscription.filter(message); - case 2: - case "end": - return _context2.stop(); - } - } - }, _callee2); - })); - return function (_x3) { - return _ref5.apply(this, arguments); - }; - }()); - } - case 2: - case "end": - return _context3.stop(); + while (1) switch (_context4.prev = _context4.next) { + case 0: + model = options.model, _options$args = _slicedToArray(options.args, 1), arg = _options$args[0]; + subscription = Subscription(_objectSpread({ + model: model + }, arg)); + if (!subscriptions.has(arg.topic)) { + _context4.next = 5; + break; + } + subscriptions.get(arg.topic).set(arg.id, subscription); + return _context4.abrupt("return", subscription); + case 5: + subscriptions.set(arg.topic, new Map().set(arg.id, subscription)); + if (!service.listening) { + service.listen(/Channel/, /*#__PURE__*/function () { + var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref3) { + var topic, message; + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + topic = _ref3.topic, message = _ref3.message; + if (subscriptions.has(topic)) { + subscriptions.get(topic).forEach( /*#__PURE__*/function () { + var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(subscription) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return subscription.filter(message); + case 2: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x3) { + return _ref5.apply(this, arguments); + }; + }()); } - } - }, _callee3); - })); - return function (_x2) { - return _ref4.apply(this, arguments); - }; - }()); - } - return _context4.abrupt("return", subscription); - case 8: - case "end": - return _context4.stop(); - } + case 2: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x2) { + return _ref4.apply(this, arguments); + }; + }()); + } + return _context4.abrupt("return", subscription); + case 8: + case "end": + return _context4.stop(); } }, _callee4); })); @@ -441,22 +431,20 @@ function notify() { var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(_ref6) { var model, _ref6$args, topic, message; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - model = _ref6.model, _ref6$args = _slicedToArray(_ref6.args, 2), topic = _ref6$args[0], message = _ref6$args[1]; - console.debug("sending...", { - topic: topic, - message: JSON.parse(message) - }); - _context5.next = 4; - return service.notify(topic, message); - case 4: - return _context5.abrupt("return", model); - case 5: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + model = _ref6.model, _ref6$args = _slicedToArray(_ref6.args, 2), topic = _ref6$args[0], message = _ref6$args[1]; + console.debug("sending...", { + topic: topic, + message: JSON.parse(message) + }); + _context5.next = 4; + return service.notify(topic, message); + case 4: + return _context5.abrupt("return", model); + case 5: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -643,14 +631,14 @@ __webpack_require__.r(__webpack_exports__); * @type {adapterFactory} */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function pickOrder(service) { return function (options) { @@ -669,31 +657,29 @@ function pickOrder(service) { var _callback2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { var message, event, pickupAddress, newOrder; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - message = _ref.message; - _context.prev = 1; - event = JSON.parse(message); - console.log('recieved event: ', event); - pickupAddress = event.eventData.warehouse_addr; - _context.next = 7; - return _callback(options, { - pickupAddress: pickupAddress - }); - case 7: - newOrder = _context.sent; - resolve(newOrder); // hold promise until we get an answer - _context.next = 14; - break; - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - reject(_context.t0); - case 14: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + message = _ref.message; + _context.prev = 1; + event = JSON.parse(message); + console.log('recieved event: ', event); + pickupAddress = event.eventData.warehouse_addr; + _context.next = 7; + return _callback(options, { + pickupAddress: pickupAddress + }); + case 7: + newOrder = _context.sent; + resolve(newOrder); // hold promise until we get an answer + _context.next = 14; + break; + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + reject(_context.t0); + case 14: + case "end": + return _context.stop(); } }, _callee, null, [[1, 11]]); })); @@ -753,7 +739,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } @@ -814,14 +800,12 @@ var OrderAdapter = /*#__PURE__*/function () { value: function () { var _createOrder = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - throw new Error("unimplemented abstract method"); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + throw new Error("unimplemented abstract method"); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -837,15 +821,13 @@ var OrderAdapter = /*#__PURE__*/function () { var orderId, _args2 = arguments; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - orderId = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : this.orderId; - throw new Error("unimplemented abstract method"); - case 2: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + orderId = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : this.orderId; + throw new Error("unimplemented abstract method"); + case 2: + case "end": + return _context2.stop(); } }, _callee2, this); })); @@ -861,15 +843,13 @@ var OrderAdapter = /*#__PURE__*/function () { var orderId, _args3 = arguments; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - orderId = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : this.orderId; - throw new Error("unimplememnted abstract method"); - case 2: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + orderId = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : this.orderId; + throw new Error("unimplememnted abstract method"); + case 2: + case "end": + return _context3.stop(); } }, _callee3, this); })); @@ -911,27 +891,25 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var _createOrder2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() { var _this2 = this; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - if (this.orderInfo) { - _context4.next = 2; - break; - } - throw new Error("there is no order data"); - case 2: - return _context4.abrupt("return", axios.post(this.url, this.orderInfo).then(function (response) { - _this2.orderId = response.data.modelId; - return _this2; - }, function (error) { - console.error(error.response.data); - })["catch"](function (e) { - return console.log(e); - })); - case 3: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (this.orderInfo) { + _context4.next = 2; + break; + } + throw new Error("there is no order data"); + case 2: + return _context4.abrupt("return", axios.post(this.url, this.orderInfo).then(function (response) { + _this2.orderId = response.data.modelId; + return _this2; + }, function (error) { + console.error(error.response.data); + })["catch"](function (e) { + return console.log(e); + })); + case 3: + case "end": + return _context4.stop(); } }, _callee4, this); })); @@ -952,28 +930,26 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var orderId, _args5 = arguments; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - orderId = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : this.orderId; - if (this.orderInfo) { - _context5.next = 3; - break; - } - throw new Error("there is no order data"); - case 3: - return _context5.abrupt("return", axios.patch(this.url + orderId, { - orderStatus: "APPROVED" - }).then(function () { - return _this3; - }, function (error) { - console.error(error.response.data); - throw new Error(error); - })); - case 4: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + orderId = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : this.orderId; + if (this.orderInfo) { + _context5.next = 3; + break; + } + throw new Error("there is no order data"); + case 3: + return _context5.abrupt("return", axios.patch(this.url + orderId, { + orderStatus: "APPROVED" + }).then(function () { + return _this3; + }, function (error) { + console.error(error.response.data); + throw new Error(error); + })); + case 4: + case "end": + return _context5.stop(); } }, _callee5, this); })); @@ -990,22 +966,20 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var orderId, _args6 = arguments; return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - orderId = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : this.orderId; - return _context6.abrupt("return", axios.get(this.url + orderId).then(function (response) { - console.log(response.data); - _this4.order = response.data; - return _this4.order; - }, function (error) { - console.error(error.response.data); - throw new Error(error); - })); - case 2: - case "end": - return _context6.stop(); - } + while (1) switch (_context6.prev = _context6.next) { + case 0: + orderId = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : this.orderId; + return _context6.abrupt("return", axios.get(this.url + orderId).then(function (response) { + console.log(response.data); + _this4.order = response.data; + return _this4.order; + }, function (error) { + console.error(error.response.data); + throw new Error(error); + })); + case 2: + case "end": + return _context6.stop(); } }, _callee6, this); })); @@ -1121,12 +1095,12 @@ __webpack_require__.r(__webpack_exports__); * @param {import("../services/payment-service").PaymentService} service */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1135,22 +1109,20 @@ function authorizePayment(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) { var order, _options$args, callback, paymentAuthorization, paymentStatus; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - _context.next = 3; - return service.authorizePayment(order.orderNo, 12.0, 'src', 'ibm', false); - case 3: - paymentAuthorization = _context.sent; - paymentStatus = 'APPROVED'; - return _context.abrupt("return", callback(options, { - paymentStatus: paymentStatus - })); - case 6: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + _context.next = 3; + return service.authorizePayment(order.orderNo, 12.0, 'src', 'ibm', false); + case 3: + paymentAuthorization = _context.sent; + paymentStatus = 'APPROVED'; + return _context.abrupt("return", callback(options, { + paymentStatus: paymentStatus + })); + case 6: + case "end": + return _context.stop(); } }, _callee); })); @@ -1168,25 +1140,23 @@ function completePayment(service) { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(options) { var order, _options$args2, callback, confirmationCode, newOrder; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; - _context2.next = 3; - return service.completePayment(order); - case 3: - confirmationCode = _context2.sent; - _context2.next = 6; - return callback(options, { - confirmationCode: confirmationCode - }); - case 6: - newOrder = _context2.sent; - return _context2.abrupt("return", newOrder); - case 8: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; + _context2.next = 3; + return service.completePayment(order); + case 3: + confirmationCode = _context2.sent; + _context2.next = 6; + return callback(options, { + confirmationCode: confirmationCode + }); + case 6: + newOrder = _context2.sent; + return _context2.abrupt("return", newOrder); + case 8: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -1203,22 +1173,20 @@ function refundPayment(service) { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(options) { var order, _options$args3, callback, newOrder; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; - _context3.next = 3; - return service.refundPayment(order); - case 3: - _context3.next = 5; - return callback(options); - case 5: - newOrder = _context3.sent; - return _context3.abrupt("return", newOrder); - case 7: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; + _context3.next = 3; + return service.refundPayment(order); + case 3: + _context3.next = 5; + return callback(options); + case 5: + newOrder = _context3.sent; + return _context3.abrupt("return", newOrder); + case 7: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -1248,7 +1216,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! http */ "http"); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1261,29 +1229,27 @@ function qeGetPublicIpAddressOut() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var buffer; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - buffer = []; - return _context.abrupt("return", new Promise(function (resolve) { - http__WEBPACK_IMPORTED_MODULE_0___default().get({ - hostname: 'checkip.amazonaws.com', - method: 'get' - }, function (response) { - response.on('data', function (chunk) { - return buffer.push(chunk); - }); - response.on('end', function () { - resolve({ - address: buffer.join('') - }); + while (1) switch (_context.prev = _context.next) { + case 0: + buffer = []; + return _context.abrupt("return", new Promise(function (resolve) { + http__WEBPACK_IMPORTED_MODULE_0___default().get({ + hostname: 'checkip.amazonaws.com', + method: 'get' + }, function (response) { + response.on('data', function (chunk) { + return buffer.push(chunk); + }); + response.on('end', function () { + resolve({ + address: buffer.join('') }); }); - })); - case 2: - case "end": - return _context.stop(); - } + }); + })); + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -1317,12 +1283,12 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1469,16 +1435,14 @@ function serviceLocatorInit() { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { var _ref2$args, options; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _ref2$args = _slicedToArray(_ref2.args, 1), options = _ref2$args[0]; - console.debug('serviceLocatorInit called'); - locator = new ServiceLocator(options); - case 3: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _ref2$args = _slicedToArray(_ref2.args, 1), options = _ref2$args[0]; + console.debug('serviceLocatorInit called'); + locator = new ServiceLocator(options); + case 3: + case "end": + return _context.stop(); } }, _callee); })); @@ -1490,14 +1454,12 @@ function serviceLocatorInit() { function serviceLocatorAsk() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - return _context2.abrupt("return", locator.listen()); - case 1: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + return _context2.abrupt("return", locator.listen()); + case 1: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -1505,14 +1467,12 @@ function serviceLocatorAsk() { function serviceLocatorAnswer() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - return _context3.abrupt("return", locator.answer()); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + return _context3.abrupt("return", locator.answer()); + case 1: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -1579,12 +1539,12 @@ __webpack_require__.r(__webpack_exports__); * @returns {function({model:Order,args:[portCallback]}):Order} */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1617,80 +1577,76 @@ function shipOrder(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(options) { var order, _options$args, callback, shipOrderCallback, callShipOrder; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - callShipOrder = function _callShipOrder() { - return order.notify(service.topic, JSON.stringify(service.shipOrder({ - shipTo: order.decrypt().shippingAddress, - shipFrom: order.pickupAddress, - lineItems: order.orderItems, - signature: order.signatureRequired, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - shipOrderCallback = function _shipOrderCallback(resolve, reject) { - return /*#__PURE__*/function () { - var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { - var message, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - message = _ref2.message; - _context.prev = 1; - event = JSON.parse(message); - console.debug('received event... ', event); - payload = service.getPayload(shipOrder.name, event); - _context.next = 7; - return callback(options, payload); - case 7: - updated = _context.sent; - resolve(updated); - _context.next = 14; - break; - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - handleError(_context.t0, reject, shipOrderCallback.name); - case 14: - case "end": - return _context.stop(); - } - } - }, _callee, null, [[1, 11]]); - })); - return function (_x2) { - return _ref3.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - /** - * Called by the event listener when the shipOrder - * response message arrives. Resolve the promise - * the caller has been waiting on since we sent - * the request message. - * @param {function(Order)} resolve - * @param {function(Error)} reject - * @returns {function(message):Promise} - */ - return _context2.abrupt("return", new Promise(function (resolve, reject) { - return order.listen({ - once: true, - model: order, - id: order.orderNo, - topic: ORDER_TOPIC, - filters: [order.orderNo, 'orderShipped', 'shipmentId'], - callback: shipOrderCallback(resolve, reject) - }).then(callShipOrder)["catch"](handleError); - })); - case 4: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + callShipOrder = function _callShipOrder() { + return order.notify(service.topic, JSON.stringify(service.shipOrder({ + shipTo: order.decrypt().shippingAddress, + shipFrom: order.pickupAddress, + lineItems: order.orderItems, + signature: order.signatureRequired, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + shipOrderCallback = function _shipOrderCallback(resolve, reject) { + return /*#__PURE__*/function () { + var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { + var message, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + message = _ref2.message; + _context.prev = 1; + event = JSON.parse(message); + console.debug('received event... ', event); + payload = service.getPayload(shipOrder.name, event); + _context.next = 7; + return callback(options, payload); + case 7: + updated = _context.sent; + resolve(updated); + _context.next = 14; + break; + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + handleError(_context.t0, reject, shipOrderCallback.name); + case 14: + case "end": + return _context.stop(); + } + }, _callee, null, [[1, 11]]); + })); + return function (_x2) { + return _ref3.apply(this, arguments); + }; + }(); + }; + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + /** + * Called by the event listener when the shipOrder + * response message arrives. Resolve the promise + * the caller has been waiting on since we sent + * the request message. + * @param {function(Order)} resolve + * @param {function(Error)} reject + * @returns {function(message):Promise} + */ + return _context2.abrupt("return", new Promise(function (resolve, reject) { + return order.listen({ + once: true, + model: order, + id: order.orderNo, + topic: ORDER_TOPIC, + filters: [order.orderNo, 'orderShipped', 'shipmentId'], + callback: shipOrderCallback(resolve, reject) + }).then(callShipOrder)["catch"](handleError); + })); + case 4: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -1709,91 +1665,85 @@ function trackShipment(service) { var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(options) { var order, _options$args2, callback, trackShipmentCallback, callTrackShipment; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - callTrackShipment = function _callTrackShipment() { - return order.notify(service.topic, JSON.stringify(service.trackShipment({ - shipmentId: order.shipmentId, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - trackShipmentCallback = function _trackShipmentCallbac(resolve, reject) { - return /*#__PURE__*/function () { - var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) { - var message, subscription, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - message = _ref5.message, subscription = _ref5.subscription; - _context3.prev = 1; - event = JSON.parse(message); - console.debug('received event...', event); - payload = service.getPayload(trackShipment.name, event); - _context3.next = 7; - return callback(options, payload); - case 7: - updated = _context3.sent; - if (updated.trackingStatus === 'orderDelivered') { - subscription.unsubscribe(); - resolve(updated); - } - _context3.next = 14; - break; - case 11: - _context3.prev = 11; - _context3.t0 = _context3["catch"](1); - handleError(_context3.t0, reject, trackShipment.name); - case 14: - case "end": - return _context3.stop(); + while (1) switch (_context5.prev = _context5.next) { + case 0: + callTrackShipment = function _callTrackShipment() { + return order.notify(service.topic, JSON.stringify(service.trackShipment({ + shipmentId: order.shipmentId, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + trackShipmentCallback = function _trackShipmentCallbac(resolve, reject) { + return /*#__PURE__*/function () { + var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) { + var message, subscription, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + message = _ref5.message, subscription = _ref5.subscription; + _context3.prev = 1; + event = JSON.parse(message); + console.debug('received event...', event); + payload = service.getPayload(trackShipment.name, event); + _context3.next = 7; + return callback(options, payload); + case 7: + updated = _context3.sent; + if (updated.trackingStatus === 'orderDelivered') { + subscription.unsubscribe(); + resolve(updated); } - } - }, _callee3, null, [[1, 11]]); - })); - return function (_x4) { - return _ref6.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; - /** - * - * @param {function(Order)} resolve resolve the promise - * @param {function(Error)} reject reject promise - */ - return _context5.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(resolve, reject) { - return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - return _context4.abrupt("return", order.listen({ - once: false, - model: order, - id: order.orderNo, - topic: ORDER_TOPIC, - filters: [order.orderNo, 'trackingId', 'trackingStatus'], - callback: trackShipmentCallback(resolve, reject) - }).then(callTrackShipment)["catch"](handleError)); - case 1: - case "end": - return _context4.stop(); - } + _context3.next = 14; + break; + case 11: + _context3.prev = 11; + _context3.t0 = _context3["catch"](1); + handleError(_context3.t0, reject, trackShipment.name); + case 14: + case "end": + return _context3.stop(); } - }, _callee4); + }, _callee3, null, [[1, 11]]); })); - return function (_x5, _x6) { - return _ref7.apply(this, arguments); + return function (_x4) { + return _ref6.apply(this, arguments); }; - }())); - case 4: - case "end": - return _context5.stop(); - } + }(); + }; + order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; + /** + * + * @param {function(Order)} resolve resolve the promise + * @param {function(Error)} reject reject promise + */ + return _context5.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(resolve, reject) { + return _regeneratorRuntime().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + return _context4.abrupt("return", order.listen({ + once: false, + model: order, + id: order.orderNo, + topic: ORDER_TOPIC, + filters: [order.orderNo, 'trackingId', 'trackingStatus'], + callback: trackShipmentCallback(resolve, reject) + }).then(callTrackShipment)["catch"](handleError)); + case 1: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function (_x5, _x6) { + return _ref7.apply(this, arguments); + }; + }())); + case 4: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -1812,89 +1762,83 @@ function verifyDelivery(service) { var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(options) { var order, _options$args3, callback, verifyDeliveryCallback, callVerifyDelivery; return _regeneratorRuntime().wrap(function _callee8$(_context8) { - while (1) { - switch (_context8.prev = _context8.next) { - case 0: - callVerifyDelivery = function _callVerifyDelivery() { - return order.notify(service.topic, JSON.stringify(service.verifyDelivery({ - trackingId: order.trackingId, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - verifyDeliveryCallback = function _verifyDeliveryCallba(resolve, reject) { - return /*#__PURE__*/function () { - var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_ref9) { - var message, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - message = _ref9.message; - _context6.prev = 1; - event = JSON.parse(message); - console.debug('received event...', event); - payload = service.getPayload(verifyDelivery.name, event); - _context6.next = 7; - return callback(options, payload); - case 7: - updated = _context6.sent; - resolve(updated); - _context6.next = 14; - break; - case 11: - _context6.prev = 11; - _context6.t0 = _context6["catch"](1); - handleError(_context6.t0, reject, verifyDeliveryCallback.name); - case 14: - case "end": - return _context6.stop(); - } - } - }, _callee6, null, [[1, 11]]); - })); - return function (_x8) { - return _ref10.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; - /** - * - * @param {function(Order)} resolve - * @param {function(Error)} reject - * @returns - */ - return _context8.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve, reject) { - return _regeneratorRuntime().wrap(function _callee7$(_context7) { - while (1) { - switch (_context7.prev = _context7.next) { - case 0: - return _context7.abrupt("return", order.listen({ - once: true, - model: order, - id: order.orderNo, - topic: 'orderChannel', - filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'], - callback: verifyDeliveryCallback(resolve, reject) - }).then(callVerifyDelivery)["catch"](handleError)); - case 1: - case "end": - return _context7.stop(); - } + while (1) switch (_context8.prev = _context8.next) { + case 0: + callVerifyDelivery = function _callVerifyDelivery() { + return order.notify(service.topic, JSON.stringify(service.verifyDelivery({ + trackingId: order.trackingId, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + verifyDeliveryCallback = function _verifyDeliveryCallba(resolve, reject) { + return /*#__PURE__*/function () { + var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_ref9) { + var message, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + message = _ref9.message; + _context6.prev = 1; + event = JSON.parse(message); + console.debug('received event...', event); + payload = service.getPayload(verifyDelivery.name, event); + _context6.next = 7; + return callback(options, payload); + case 7: + updated = _context6.sent; + resolve(updated); + _context6.next = 14; + break; + case 11: + _context6.prev = 11; + _context6.t0 = _context6["catch"](1); + handleError(_context6.t0, reject, verifyDeliveryCallback.name); + case 14: + case "end": + return _context6.stop(); } - }, _callee7); + }, _callee6, null, [[1, 11]]); })); - return function (_x9, _x10) { - return _ref11.apply(this, arguments); + return function (_x8) { + return _ref10.apply(this, arguments); }; - }())); - case 4: - case "end": - return _context8.stop(); - } + }(); + }; + order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; + /** + * + * @param {function(Order)} resolve + * @param {function(Error)} reject + * @returns + */ + return _context8.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve, reject) { + return _regeneratorRuntime().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + return _context7.abrupt("return", order.listen({ + once: true, + model: order, + id: order.orderNo, + topic: 'orderChannel', + filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'], + callback: verifyDeliveryCallback(resolve, reject) + }).then(callVerifyDelivery)["catch"](handleError)); + case 1: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function (_x9, _x10) { + return _ref11.apply(this, arguments); + }; + }())); + case 4: + case "end": + return _context8.stop(); } }, _callee8); })); @@ -1913,7 +1857,7 @@ function verifyDelivery(service) { /*! namespace exports */ /*! export tmListEventsOut [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -1921,47 +1865,54 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "tmListEventsOut": () => /* binding */ tmListEventsOut /* harmony export */ }); +/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! https */ "https"); +/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + function tmListEventsOut(service) { return /*#__PURE__*/function () { - var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) { - var key, url; + var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { + var args, apiKey, chunks; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - key = data.args[0].apiKey; - url = "https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(key); - _context.next = 5; - return fetch(url); - case 5: - _context.next = 7; - return _context.sent.json(); - case 7: - return _context.abrupt("return", _context.sent); - case 10: - _context.prev = 10; - _context.t0 = _context["catch"](0); - console.error({ - fn: tmListEventsOut.name, - error: _context.t0 + while (1) switch (_context.prev = _context.next) { + case 0: + args = _ref.args; + apiKey = args[0].apiKey; + chunks = []; + return _context.abrupt("return", new Promise(function (resolve, reject) { + https__WEBPACK_IMPORTED_MODULE_0___default().get("https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(apiKey), function (res) { + res.on('data', function (chunk) { + return chunks.push(chunk); + }); + res.on('end', function () { + return resolve(chunks.join('')); + }); }); - throw _context.t0; - case 14: - case "end": - return _context.stop(); - } + })); + case 4: + case "end": + return _context.stop(); } - }, _callee, null, [[0, 10]]); + }, _callee); })); return function (_x) { - return _ref.apply(this, arguments); + return _ref2.apply(this, arguments); }; }(); + + // return async function (data) { + // try { + // const key = data.args[0].apiKey + // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}` + // return await (await fetch(url)).json() + // } catch (error) { + // console.error({ fn: tmListEventsOut.name, error }) + // throw error + // } + // } } /***/ }), @@ -1984,7 +1935,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! http */ "http"); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -1992,29 +1943,27 @@ function wasmGetPublicIpAddress() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var chunks; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - chunks = []; - return _context.abrupt("return", new Promise(function (resolve) { - http__WEBPACK_IMPORTED_MODULE_0___default().get({ - hostname: 'checkip.amazonaws.com', - method: 'get' - }, function (res) { - res.on('data', function (chunk) { - return chunks.push(chunk); - }); - res.on('end', function () { - resolve({ - address: chunks.join('').trim() - }); + while (1) switch (_context.prev = _context.next) { + case 0: + chunks = []; + return _context.abrupt("return", new Promise(function (resolve) { + http__WEBPACK_IMPORTED_MODULE_0___default().get({ + hostname: 'checkip.amazonaws.com', + method: 'get' + }, function (res) { + res.on('data', function (chunk) { + return chunks.push(chunk); + }); + res.on('end', function () { + resolve({ + address: chunks.join('').trim() }); }); - })); - case 2: - case "end": - return _context.stop(); - } + }); + })); + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -2061,7 +2010,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var ws__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ws__WEBPACK_IMPORTED_MODULE_0__); -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -2073,8 +2022,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" = function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /** @type {WebSocket} */ @@ -2196,15 +2145,13 @@ function websocketOnOpen() { var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref7) { var _ref7$args, callback; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _ref7$args = _slicedToArray(_ref7.args, 1), callback = _ref7$args[0]; - if (socket) socket.onopen = callback; - case 2: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _ref7$args = _slicedToArray(_ref7.args, 1), callback = _ref7$args[0]; + if (socket) socket.onopen = callback; + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -2264,7 +2211,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -2295,62 +2242,58 @@ var Event = { var _this = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.prev = 0; - _context2.next = 3; - return consumer.connect(); - case 3: - _context2.next = 5; - return consumer.subscribe({ - topic: topic, - fromBeginning: true - }); - case 5: - _this.listening = true; - _context2.next = 8; - return consumer.run({ - eachMessage: function () { - var _eachMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { - var topic, message; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - topic = _ref.topic, message = _ref.message; - try { - callback({ - topic: topic, - message: message.value.toString() - }); - } catch (error) { - console.error(error); - } - case 2: - case "end": - return _context.stop(); + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.prev = 0; + _context2.next = 3; + return consumer.connect(); + case 3: + _context2.next = 5; + return consumer.subscribe({ + topic: topic, + fromBeginning: true + }); + case 5: + _this.listening = true; + _context2.next = 8; + return consumer.run({ + eachMessage: function () { + var _eachMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { + var topic, message; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + topic = _ref.topic, message = _ref.message; + try { + callback({ + topic: topic, + message: message.value.toString() + }); + } catch (error) { + console.error(error); } - } - }, _callee); - })); - function eachMessage(_x) { - return _eachMessage.apply(this, arguments); - } - return eachMessage; - }() - }); - case 8: - _context2.next = 13; - break; - case 10: - _context2.prev = 10; - _context2.t0 = _context2["catch"](0); - console.error(_context2.t0); - case 13: - case "end": - return _context2.stop(); - } + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + function eachMessage(_x) { + return _eachMessage.apply(this, arguments); + } + return eachMessage; + }() + }); + case 8: + _context2.next = 13; + break; + case 10: + _context2.prev = 10; + _context2.t0 = _context2["catch"](0); + console.error(_context2.t0); + case 13: + case "end": + return _context2.stop(); } }, _callee2, null, [[0, 10]]); }))(); @@ -2364,37 +2307,35 @@ var Event = { var _this2 = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - _context3.prev = 0; - _context3.next = 3; - return producer.connect(); - case 3: - _context3.next = 5; - return producer.send({ - topic: topic, - messages: [{ - value: message - }] - }); - case 5: - _context3.next = 7; - return producer.disconnect(); - case 7: - _context3.next = 12; - break; - case 9: - _context3.prev = 9; - _context3.t0 = _context3["catch"](0); - console.error({ - func: _this2.notify.name, - error: _context3.t0 - }); - case 12: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.prev = 0; + _context3.next = 3; + return producer.connect(); + case 3: + _context3.next = 5; + return producer.send({ + topic: topic, + messages: [{ + value: message + }] + }); + case 5: + _context3.next = 7; + return producer.disconnect(); + case 7: + _context3.next = 12; + break; + case 9: + _context3.prev = 9; + _context3.t0 = _context3["catch"](0); + console.error({ + func: _this2.notify.name, + error: _context3.t0 + }); + case 12: + case "end": + return _context3.stop(); } }, _callee3, null, [[0, 9]]); }))(); diff --git a/dist/867.js.map b/dist/867.js.map index 1d960261..01b59d48 100644 --- a/dist/867.js.map +++ b/dist/867.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/services/event-service.js"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","debug","substring","concat","Subscription","id","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","url","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","process","env","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","key","apiKey","fetch","json","fn","wasmGetPublicIpAddress","chunks","res","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","value","messages","disconnect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAAA;cAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAAK,iCAEHF,OAAO,CADTG,IAAI,MAAGC,QAAQ;cAAA;cAAA;cAAA,OA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AC;cAC/B,CAAC,CAAC;YAAA;cAAA;cAAA,OACIkO,QAAQ,CAACQ,UAAU,EAAE;YAAA;cAAA;cAAA;YAAA;cAAA;cAAA;cAE3B7P,OAAO,CAACC,KAAK,CAAC;gBAAEC,IAAI,EAAE,MAAI,CAAC8C,MAAM,CAAC7C,IAAI;gBAAEF,KAAK;cAAC,CAAC,CAAC;YAAC;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EAErD;AACF,CAAC,C","file":"867.js","sourcesContent":["\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","export function tmListEventsOut (service) {\n return async function (data) {\n try {\n const key = data.args[0].apiKey\n const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n return await (await fetch(url)).json()\n } catch (error) {\n console.error({ fn: tmListEventsOut.name, error })\n throw error\n }\n }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/services/event-service.js"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","debug","substring","concat","Subscription","id","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","url","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","process","env","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","value","messages","disconnect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAAK,iCAEHF,OAAO,CADTG,IAAI,MAAGC,QAAQ;YAAA;YAAA;YAAA,OAIeL,OAAO,CAACD,eAAe,CACnDG,KAAK,CAACI,OAAO,EAAE,CAACC,eAAe,CAChC;UAAA;YAFKA,eAAe;YAAA;YAAA,OAGAF,QAAQ,CAACJ,OAAO,EAAE;cAAEM,eAAe,EAAfA;YAAgB,CAAC,CAAC;UAAA;YAArDC,MAAM;YAAA,iCACLA,MAAM;UAAA;YAAA;YAAA;YAEbC,OAAO,CAACC,KAAK,CAAC;cAAEC,IAAI,EAAEZ,eAAe,CAACa,IAAI;cAAEF,KAAK;cAAET,OAAO,EAAPA;YAAQ,CAAC,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA,CAEjE;IAAA;MAAA;IAAA;EAAA;AACH,C;;;;;;;;;;;;;;;;;;;;;;;;;AChCA;;AAEA;;AAEA;;AAEA;;AAEO,SAASY,YAAY,CAAEb,OAAO,EAAE;EACrC,OAAO,UAAUc,IAAI,EAAE;IACrBL,OAAO,CAACM,GAAG,CAAC;MAAED,IAAI,EAAJA;IAAK,CAAC,CAAC;IACrB,OAAO;MACLE,QAAQ,EAAEF,IAAI,CAACV,IAAI,CAAC,CAAC,CAAC,CAACY,QAAQ;MAC/BC,MAAM,EAAE;I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QAAA;UAAA;YAAA;YAAA;YAAA,OAEnB+N,QAAQ,CAACC,OAAO,EAAE;UAAA;YAAA;YAAA,OAClBD,QAAQ,CAAC9B,IAAI,CAAC;cAClBtL,KAAK,EAAEA,KAAK;cACZ2N,QAAQ,EAAE,CAAC;gBAAED,KAAK,EAAErO;cAAQ,CAAC;YAC/B,CAAC,CAAC;UAAA;YAAA;YAAA,OACI+N,QAAQ,CAACQ,UAAU,EAAE;UAAA;YAAA;YAAA;UAAA;YAAA;YAAA;YAE3B1P,OAAO,CAACC,KAAK,CAAC;cAAEC,IAAI,EAAE,MAAI,CAAC8C,MAAM,CAAC7C,IAAI;cAAEF,KAAK;YAAC,CAAC,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAErD;AACF,CAAC,C","file":"867.js","sourcesContent":["\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/main.js b/dist/main.js index 8a348704..4025da0a 100644 --- a/dist/main.js +++ b/dist/main.js @@ -329,336 +329,6 @@ if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = ( else {} -/***/ }), - -/***/ "./node_modules/accepts/index.js": -/*!***************************************!*\ - !*** ./node_modules/accepts/index.js ***! - \***************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * accepts - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var Negotiator = __webpack_require__(/*! negotiator */ "./node_modules/negotiator/index.js") -var mime = __webpack_require__(/*! mime-types */ "./node_modules/mime-types/index.js") - -/** - * Module exports. - * @public - */ - -module.exports = Accepts - -/** - * Create a new Accepts object for the given req. - * - * @param {object} req - * @public - */ - -function Accepts (req) { - if (!(this instanceof Accepts)) { - return new Accepts(req) - } - - this.headers = req.headers - this.negotiator = new Negotiator(req) -} - -/** - * Check if the given `type(s)` is acceptable, returning - * the best match when true, otherwise `undefined`, in which - * case you should respond with 406 "Not Acceptable". - * - * The `type` value may be a single mime type string - * such as "application/json", the extension name - * such as "json" or an array `["json", "html", "text/plain"]`. When a list - * or array is given the _best_ match, if any is returned. - * - * Examples: - * - * // Accept: text/html - * this.types('html'); - * // => "html" - * - * // Accept: text/*, application/json - * this.types('html'); - * // => "html" - * this.types('text/html'); - * // => "text/html" - * this.types('json', 'text'); - * // => "json" - * this.types('application/json'); - * // => "application/json" - * - * // Accept: text/*, application/json - * this.types('image/png'); - * this.types('png'); - * // => undefined - * - * // Accept: text/*;q=.5, application/json - * this.types(['html', 'json']); - * this.types('html', 'json'); - * // => "json" - * - * @param {String|Array} types... - * @return {String|Array|Boolean} - * @public - */ - -Accepts.prototype.type = -Accepts.prototype.types = function (types_) { - var types = types_ - - // support flattened arguments - if (types && !Array.isArray(types)) { - types = new Array(arguments.length) - for (var i = 0; i < types.length; i++) { - types[i] = arguments[i] - } - } - - // no types, return all requested types - if (!types || types.length === 0) { - return this.negotiator.mediaTypes() - } - - // no accept header, return first given type - if (!this.headers.accept) { - return types[0] - } - - var mimes = types.map(extToMime) - var accepts = this.negotiator.mediaTypes(mimes.filter(validMime)) - var first = accepts[0] - - return first - ? types[mimes.indexOf(first)] - : false -} - -/** - * Return accepted encodings or best fit based on `encodings`. - * - * Given `Accept-Encoding: gzip, deflate` - * an array sorted by quality is returned: - * - * ['gzip', 'deflate'] - * - * @param {String|Array} encodings... - * @return {String|Array} - * @public - */ - -Accepts.prototype.encoding = -Accepts.prototype.encodings = function (encodings_) { - var encodings = encodings_ - - // support flattened arguments - if (encodings && !Array.isArray(encodings)) { - encodings = new Array(arguments.length) - for (var i = 0; i < encodings.length; i++) { - encodings[i] = arguments[i] - } - } - - // no encodings, return all requested encodings - if (!encodings || encodings.length === 0) { - return this.negotiator.encodings() - } - - return this.negotiator.encodings(encodings)[0] || false -} - -/** - * Return accepted charsets or best fit based on `charsets`. - * - * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5` - * an array sorted by quality is returned: - * - * ['utf-8', 'utf-7', 'iso-8859-1'] - * - * @param {String|Array} charsets... - * @return {String|Array} - * @public - */ - -Accepts.prototype.charset = -Accepts.prototype.charsets = function (charsets_) { - var charsets = charsets_ - - // support flattened arguments - if (charsets && !Array.isArray(charsets)) { - charsets = new Array(arguments.length) - for (var i = 0; i < charsets.length; i++) { - charsets[i] = arguments[i] - } - } - - // no charsets, return all requested charsets - if (!charsets || charsets.length === 0) { - return this.negotiator.charsets() - } - - return this.negotiator.charsets(charsets)[0] || false -} - -/** - * Return accepted languages or best fit based on `langs`. - * - * Given `Accept-Language: en;q=0.8, es, pt` - * an array sorted by quality is returned: - * - * ['es', 'pt', 'en'] - * - * @param {String|Array} langs... - * @return {Array|String} - * @public - */ - -Accepts.prototype.lang = -Accepts.prototype.langs = -Accepts.prototype.language = -Accepts.prototype.languages = function (languages_) { - var languages = languages_ - - // support flattened arguments - if (languages && !Array.isArray(languages)) { - languages = new Array(arguments.length) - for (var i = 0; i < languages.length; i++) { - languages[i] = arguments[i] - } - } - - // no languages, return all requested languages - if (!languages || languages.length === 0) { - return this.negotiator.languages() - } - - return this.negotiator.languages(languages)[0] || false -} - -/** - * Convert extnames to mime. - * - * @param {String} type - * @return {String} - * @private - */ - -function extToMime (type) { - return type.indexOf('/') === -1 - ? mime.lookup(type) - : type -} - -/** - * Check if mime is valid. - * - * @param {String} type - * @return {String} - * @private - */ - -function validMime (type) { - return typeof type === 'string' -} - - -/***/ }), - -/***/ "./node_modules/array-flatten/array-flatten.js": -/*!*****************************************************!*\ - !*** ./node_modules/array-flatten/array-flatten.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module) => { - -"use strict"; - - -/** - * Expose `arrayFlatten`. - */ -module.exports = arrayFlatten - -/** - * Recursive flatten function with depth. - * - * @param {Array} array - * @param {Array} result - * @param {Number} depth - * @return {Array} - */ -function flattenWithDepth (array, result, depth) { - for (var i = 0; i < array.length; i++) { - var value = array[i] - - if (depth > 0 && Array.isArray(value)) { - flattenWithDepth(value, result, depth - 1) - } else { - result.push(value) - } - } - - return result -} - -/** - * Recursive flatten function. Omitting depth is slightly faster. - * - * @param {Array} array - * @param {Array} result - * @return {Array} - */ -function flattenForever (array, result) { - for (var i = 0; i < array.length; i++) { - var value = array[i] - - if (Array.isArray(value)) { - flattenForever(value, result) - } else { - result.push(value) - } - } - - return result -} - -/** - * Flatten an array, with the ability to define a depth. - * - * @param {Array} array - * @param {Number} depth - * @return {Array} - */ -function arrayFlatten (array, depth) { - if (depth == null) { - return flattenForever(array, []) - } - - return flattenWithDepth(array, [], depth) -} - - /***/ }), /***/ "./node_modules/axios-retry/index.js": @@ -3578,12 +3248,12 @@ __webpack_require__.r(__webpack_exports__); * @param {import("../services/address-service").Address} service */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -3592,34 +3262,32 @@ function validateAddress(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) { var order, _options$args, callback, shippingAddress, update; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - _context.prev = 1; - _context.next = 4; - return service.validateAddress(order.decrypt().shippingAddress); - case 4: - shippingAddress = _context.sent; - _context.next = 7; - return callback(options, { - shippingAddress: shippingAddress - }); - case 7: - update = _context.sent; - return _context.abrupt("return", update); - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - console.error({ - func: validateAddress.name, - error: _context.t0, - options: options - }); - case 14: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + _context.prev = 1; + _context.next = 4; + return service.validateAddress(order.decrypt().shippingAddress); + case 4: + shippingAddress = _context.sent; + _context.next = 7; + return callback(options, { + shippingAddress: shippingAddress + }); + case 7: + update = _context.sent; + return _context.abrupt("return", update); + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + console.error({ + func: validateAddress.name, + error: _context.t0, + options: options + }); + case 14: + case "end": + return _context.stop(); } }, _callee, null, [[1, 11]]); })); @@ -3857,9 +3525,9 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty 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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } @@ -3867,7 +3535,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /** @@ -3937,40 +3605,38 @@ var Subscription = function Subscription(_ref) { var _this = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - if (!filters) { - _context.next = 7; - break; - } - if (!filters.every(filterMatches(message))) { - _context.next = 6; - break; - } - if (once) { - // Only looking for 1 msg, got it. - _this.unsubscribe(); - } - _context.next = 5; - return callback({ - message: message, - subscription: _this - }); - case 5: - return _context.abrupt("return"); - case 6: - return _context.abrupt("return"); - case 7: - _context.next = 9; - return callback({ - message: message, - subscription: _this - }); - case 9: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + if (!filters) { + _context.next = 7; + break; + } + if (!filters.every(filterMatches(message))) { + _context.next = 6; + break; + } + if (once) { + // Only looking for 1 msg, got it. + _this.unsubscribe(); + } + _context.next = 5; + return callback({ + message: message, + subscription: _this + }); + case 5: + return _context.abrupt("return"); + case 6: + return _context.abrupt("return"); + case 7: + _context.next = 9; + return callback({ + message: message, + subscription: _this + }); + case 9: + case "end": + return _context.stop(); } }, _callee); }))(); @@ -3989,68 +3655,62 @@ function listen() { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(options) { var model, _options$args, arg, subscription; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - model = options.model, _options$args = _slicedToArray(options.args, 1), arg = _options$args[0]; - subscription = Subscription(_objectSpread({ - model: model - }, arg)); - if (!subscriptions.has(arg.topic)) { - _context4.next = 5; - break; - } - subscriptions.get(arg.topic).set(arg.id, subscription); - return _context4.abrupt("return", subscription); - case 5: - subscriptions.set(arg.topic, new Map().set(arg.id, subscription)); - if (!service.listening) { - service.listen(/Channel/, /*#__PURE__*/function () { - var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref3) { - var topic, message; - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - topic = _ref3.topic, message = _ref3.message; - if (subscriptions.has(topic)) { - subscriptions.get(topic).forEach( /*#__PURE__*/function () { - var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(subscription) { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return subscription.filter(message); - case 2: - case "end": - return _context2.stop(); - } - } - }, _callee2); - })); - return function (_x3) { - return _ref5.apply(this, arguments); - }; - }()); - } - case 2: - case "end": - return _context3.stop(); + while (1) switch (_context4.prev = _context4.next) { + case 0: + model = options.model, _options$args = _slicedToArray(options.args, 1), arg = _options$args[0]; + subscription = Subscription(_objectSpread({ + model: model + }, arg)); + if (!subscriptions.has(arg.topic)) { + _context4.next = 5; + break; + } + subscriptions.get(arg.topic).set(arg.id, subscription); + return _context4.abrupt("return", subscription); + case 5: + subscriptions.set(arg.topic, new Map().set(arg.id, subscription)); + if (!service.listening) { + service.listen(/Channel/, /*#__PURE__*/function () { + var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref3) { + var topic, message; + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + topic = _ref3.topic, message = _ref3.message; + if (subscriptions.has(topic)) { + subscriptions.get(topic).forEach( /*#__PURE__*/function () { + var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(subscription) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return subscription.filter(message); + case 2: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x3) { + return _ref5.apply(this, arguments); + }; + }()); } - } - }, _callee3); - })); - return function (_x2) { - return _ref4.apply(this, arguments); - }; - }()); - } - return _context4.abrupt("return", subscription); - case 8: - case "end": - return _context4.stop(); - } + case 2: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x2) { + return _ref4.apply(this, arguments); + }; + }()); + } + return _context4.abrupt("return", subscription); + case 8: + case "end": + return _context4.stop(); } }, _callee4); })); @@ -4070,22 +3730,20 @@ function notify() { var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(_ref6) { var model, _ref6$args, topic, message; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - model = _ref6.model, _ref6$args = _slicedToArray(_ref6.args, 2), topic = _ref6$args[0], message = _ref6$args[1]; - console.debug("sending...", { - topic: topic, - message: JSON.parse(message) - }); - _context5.next = 4; - return service.notify(topic, message); - case 4: - return _context5.abrupt("return", model); - case 5: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + model = _ref6.model, _ref6$args = _slicedToArray(_ref6.args, 2), topic = _ref6$args[0], message = _ref6$args[1]; + console.debug("sending...", { + topic: topic, + message: JSON.parse(message) + }); + _context5.next = 4; + return service.notify(topic, message); + case 4: + return _context5.abrupt("return", model); + case 5: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -4272,14 +3930,14 @@ __webpack_require__.r(__webpack_exports__); * @type {adapterFactory} */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function pickOrder(service) { return function (options) { @@ -4298,31 +3956,29 @@ function pickOrder(service) { var _callback2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { var message, event, pickupAddress, newOrder; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - message = _ref.message; - _context.prev = 1; - event = JSON.parse(message); - console.log('recieved event: ', event); - pickupAddress = event.eventData.warehouse_addr; - _context.next = 7; - return _callback(options, { - pickupAddress: pickupAddress - }); - case 7: - newOrder = _context.sent; - resolve(newOrder); // hold promise until we get an answer - _context.next = 14; - break; - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - reject(_context.t0); - case 14: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + message = _ref.message; + _context.prev = 1; + event = JSON.parse(message); + console.log('recieved event: ', event); + pickupAddress = event.eventData.warehouse_addr; + _context.next = 7; + return _callback(options, { + pickupAddress: pickupAddress + }); + case 7: + newOrder = _context.sent; + resolve(newOrder); // hold promise until we get an answer + _context.next = 14; + break; + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + reject(_context.t0); + case 14: + case "end": + return _context.stop(); } }, _callee, null, [[1, 11]]); })); @@ -4382,7 +4038,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } @@ -4443,14 +4099,12 @@ var OrderAdapter = /*#__PURE__*/function () { value: function () { var _createOrder = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - throw new Error("unimplemented abstract method"); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + throw new Error("unimplemented abstract method"); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -4466,15 +4120,13 @@ var OrderAdapter = /*#__PURE__*/function () { var orderId, _args2 = arguments; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - orderId = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : this.orderId; - throw new Error("unimplemented abstract method"); - case 2: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + orderId = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : this.orderId; + throw new Error("unimplemented abstract method"); + case 2: + case "end": + return _context2.stop(); } }, _callee2, this); })); @@ -4490,15 +4142,13 @@ var OrderAdapter = /*#__PURE__*/function () { var orderId, _args3 = arguments; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - orderId = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : this.orderId; - throw new Error("unimplememnted abstract method"); - case 2: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + orderId = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : this.orderId; + throw new Error("unimplememnted abstract method"); + case 2: + case "end": + return _context3.stop(); } }, _callee3, this); })); @@ -4540,27 +4190,25 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var _createOrder2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() { var _this2 = this; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - if (this.orderInfo) { - _context4.next = 2; - break; - } - throw new Error("there is no order data"); - case 2: - return _context4.abrupt("return", axios.post(this.url, this.orderInfo).then(function (response) { - _this2.orderId = response.data.modelId; - return _this2; - }, function (error) { - console.error(error.response.data); - })["catch"](function (e) { - return console.log(e); - })); - case 3: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (this.orderInfo) { + _context4.next = 2; + break; + } + throw new Error("there is no order data"); + case 2: + return _context4.abrupt("return", axios.post(this.url, this.orderInfo).then(function (response) { + _this2.orderId = response.data.modelId; + return _this2; + }, function (error) { + console.error(error.response.data); + })["catch"](function (e) { + return console.log(e); + })); + case 3: + case "end": + return _context4.stop(); } }, _callee4, this); })); @@ -4581,28 +4229,26 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var orderId, _args5 = arguments; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - orderId = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : this.orderId; - if (this.orderInfo) { - _context5.next = 3; - break; - } - throw new Error("there is no order data"); - case 3: - return _context5.abrupt("return", axios.patch(this.url + orderId, { - orderStatus: "APPROVED" - }).then(function () { - return _this3; - }, function (error) { - console.error(error.response.data); - throw new Error(error); - })); - case 4: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + orderId = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : this.orderId; + if (this.orderInfo) { + _context5.next = 3; + break; + } + throw new Error("there is no order data"); + case 3: + return _context5.abrupt("return", axios.patch(this.url + orderId, { + orderStatus: "APPROVED" + }).then(function () { + return _this3; + }, function (error) { + console.error(error.response.data); + throw new Error(error); + })); + case 4: + case "end": + return _context5.stop(); } }, _callee5, this); })); @@ -4619,22 +4265,20 @@ var RestOrderAdapter = /*#__PURE__*/function (_OrderAdapter) { var orderId, _args6 = arguments; return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - orderId = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : this.orderId; - return _context6.abrupt("return", axios.get(this.url + orderId).then(function (response) { - console.log(response.data); - _this4.order = response.data; - return _this4.order; - }, function (error) { - console.error(error.response.data); - throw new Error(error); - })); - case 2: - case "end": - return _context6.stop(); - } + while (1) switch (_context6.prev = _context6.next) { + case 0: + orderId = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : this.orderId; + return _context6.abrupt("return", axios.get(this.url + orderId).then(function (response) { + console.log(response.data); + _this4.order = response.data; + return _this4.order; + }, function (error) { + console.error(error.response.data); + throw new Error(error); + })); + case 2: + case "end": + return _context6.stop(); } }, _callee6, this); })); @@ -4750,12 +4394,12 @@ __webpack_require__.r(__webpack_exports__); * @param {import("../services/payment-service").PaymentService} service */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -4764,22 +4408,20 @@ function authorizePayment(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) { var order, _options$args, callback, paymentAuthorization, paymentStatus; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - _context.next = 3; - return service.authorizePayment(order.orderNo, 12.0, 'src', 'ibm', false); - case 3: - paymentAuthorization = _context.sent; - paymentStatus = 'APPROVED'; - return _context.abrupt("return", callback(options, { - paymentStatus: paymentStatus - })); - case 6: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + _context.next = 3; + return service.authorizePayment(order.orderNo, 12.0, 'src', 'ibm', false); + case 3: + paymentAuthorization = _context.sent; + paymentStatus = 'APPROVED'; + return _context.abrupt("return", callback(options, { + paymentStatus: paymentStatus + })); + case 6: + case "end": + return _context.stop(); } }, _callee); })); @@ -4797,25 +4439,23 @@ function completePayment(service) { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(options) { var order, _options$args2, callback, confirmationCode, newOrder; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; - _context2.next = 3; - return service.completePayment(order); - case 3: - confirmationCode = _context2.sent; - _context2.next = 6; - return callback(options, { - confirmationCode: confirmationCode - }); - case 6: - newOrder = _context2.sent; - return _context2.abrupt("return", newOrder); - case 8: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; + _context2.next = 3; + return service.completePayment(order); + case 3: + confirmationCode = _context2.sent; + _context2.next = 6; + return callback(options, { + confirmationCode: confirmationCode + }); + case 6: + newOrder = _context2.sent; + return _context2.abrupt("return", newOrder); + case 8: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -4832,22 +4472,20 @@ function refundPayment(service) { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(options) { var order, _options$args3, callback, newOrder; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; - _context3.next = 3; - return service.refundPayment(order); - case 3: - _context3.next = 5; - return callback(options); - case 5: - newOrder = _context3.sent; - return _context3.abrupt("return", newOrder); - case 7: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; + _context3.next = 3; + return service.refundPayment(order); + case 3: + _context3.next = 5; + return callback(options); + case 5: + newOrder = _context3.sent; + return _context3.abrupt("return", newOrder); + case 7: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -4877,7 +4515,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! http */ "http"); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -4890,29 +4528,27 @@ function qeGetPublicIpAddressOut() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var buffer; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - buffer = []; - return _context.abrupt("return", new Promise(function (resolve) { - http__WEBPACK_IMPORTED_MODULE_0___default().get({ - hostname: 'checkip.amazonaws.com', - method: 'get' - }, function (response) { - response.on('data', function (chunk) { - return buffer.push(chunk); - }); - response.on('end', function () { - resolve({ - address: buffer.join('') - }); + while (1) switch (_context.prev = _context.next) { + case 0: + buffer = []; + return _context.abrupt("return", new Promise(function (resolve) { + http__WEBPACK_IMPORTED_MODULE_0___default().get({ + hostname: 'checkip.amazonaws.com', + method: 'get' + }, function (response) { + response.on('data', function (chunk) { + return buffer.push(chunk); + }); + response.on('end', function () { + resolve({ + address: buffer.join('') }); }); - })); - case 2: - case "end": - return _context.stop(); - } + }); + })); + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -4946,12 +4582,12 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -5098,16 +4734,14 @@ function serviceLocatorInit() { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { var _ref2$args, options; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _ref2$args = _slicedToArray(_ref2.args, 1), options = _ref2$args[0]; - console.debug('serviceLocatorInit called'); - locator = new ServiceLocator(options); - case 3: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _ref2$args = _slicedToArray(_ref2.args, 1), options = _ref2$args[0]; + console.debug('serviceLocatorInit called'); + locator = new ServiceLocator(options); + case 3: + case "end": + return _context.stop(); } }, _callee); })); @@ -5119,14 +4753,12 @@ function serviceLocatorInit() { function serviceLocatorAsk() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - return _context2.abrupt("return", locator.listen()); - case 1: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + return _context2.abrupt("return", locator.listen()); + case 1: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -5134,14 +4766,12 @@ function serviceLocatorAsk() { function serviceLocatorAnswer() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - return _context3.abrupt("return", locator.answer()); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + return _context3.abrupt("return", locator.answer()); + case 1: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -5208,12 +4838,12 @@ __webpack_require__.r(__webpack_exports__); * @returns {function({model:Order,args:[portCallback]}):Order} */ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -5246,80 +4876,76 @@ function shipOrder(service) { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(options) { var order, _options$args, callback, shipOrderCallback, callShipOrder; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - callShipOrder = function _callShipOrder() { - return order.notify(service.topic, JSON.stringify(service.shipOrder({ - shipTo: order.decrypt().shippingAddress, - shipFrom: order.pickupAddress, - lineItems: order.orderItems, - signature: order.signatureRequired, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - shipOrderCallback = function _shipOrderCallback(resolve, reject) { - return /*#__PURE__*/function () { - var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { - var message, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - message = _ref2.message; - _context.prev = 1; - event = JSON.parse(message); - console.debug('received event... ', event); - payload = service.getPayload(shipOrder.name, event); - _context.next = 7; - return callback(options, payload); - case 7: - updated = _context.sent; - resolve(updated); - _context.next = 14; - break; - case 11: - _context.prev = 11; - _context.t0 = _context["catch"](1); - handleError(_context.t0, reject, shipOrderCallback.name); - case 14: - case "end": - return _context.stop(); - } - } - }, _callee, null, [[1, 11]]); - })); - return function (_x2) { - return _ref3.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; - /** - * Called by the event listener when the shipOrder - * response message arrives. Resolve the promise - * the caller has been waiting on since we sent - * the request message. - * @param {function(Order)} resolve - * @param {function(Error)} reject - * @returns {function(message):Promise} - */ - return _context2.abrupt("return", new Promise(function (resolve, reject) { - return order.listen({ - once: true, - model: order, - id: order.orderNo, - topic: ORDER_TOPIC, - filters: [order.orderNo, 'orderShipped', 'shipmentId'], - callback: shipOrderCallback(resolve, reject) - }).then(callShipOrder)["catch"](handleError); - })); - case 4: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + callShipOrder = function _callShipOrder() { + return order.notify(service.topic, JSON.stringify(service.shipOrder({ + shipTo: order.decrypt().shippingAddress, + shipFrom: order.pickupAddress, + lineItems: order.orderItems, + signature: order.signatureRequired, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + shipOrderCallback = function _shipOrderCallback(resolve, reject) { + return /*#__PURE__*/function () { + var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref2) { + var message, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + message = _ref2.message; + _context.prev = 1; + event = JSON.parse(message); + console.debug('received event... ', event); + payload = service.getPayload(shipOrder.name, event); + _context.next = 7; + return callback(options, payload); + case 7: + updated = _context.sent; + resolve(updated); + _context.next = 14; + break; + case 11: + _context.prev = 11; + _context.t0 = _context["catch"](1); + handleError(_context.t0, reject, shipOrderCallback.name); + case 14: + case "end": + return _context.stop(); + } + }, _callee, null, [[1, 11]]); + })); + return function (_x2) { + return _ref3.apply(this, arguments); + }; + }(); + }; + order = options.model, _options$args = _slicedToArray(options.args, 1), callback = _options$args[0]; + /** + * Called by the event listener when the shipOrder + * response message arrives. Resolve the promise + * the caller has been waiting on since we sent + * the request message. + * @param {function(Order)} resolve + * @param {function(Error)} reject + * @returns {function(message):Promise} + */ + return _context2.abrupt("return", new Promise(function (resolve, reject) { + return order.listen({ + once: true, + model: order, + id: order.orderNo, + topic: ORDER_TOPIC, + filters: [order.orderNo, 'orderShipped', 'shipmentId'], + callback: shipOrderCallback(resolve, reject) + }).then(callShipOrder)["catch"](handleError); + })); + case 4: + case "end": + return _context2.stop(); } }, _callee2); })); @@ -5338,91 +4964,85 @@ function trackShipment(service) { var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(options) { var order, _options$args2, callback, trackShipmentCallback, callTrackShipment; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - callTrackShipment = function _callTrackShipment() { - return order.notify(service.topic, JSON.stringify(service.trackShipment({ - shipmentId: order.shipmentId, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - trackShipmentCallback = function _trackShipmentCallbac(resolve, reject) { - return /*#__PURE__*/function () { - var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) { - var message, subscription, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - message = _ref5.message, subscription = _ref5.subscription; - _context3.prev = 1; - event = JSON.parse(message); - console.debug('received event...', event); - payload = service.getPayload(trackShipment.name, event); - _context3.next = 7; - return callback(options, payload); - case 7: - updated = _context3.sent; - if (updated.trackingStatus === 'orderDelivered') { - subscription.unsubscribe(); - resolve(updated); - } - _context3.next = 14; - break; - case 11: - _context3.prev = 11; - _context3.t0 = _context3["catch"](1); - handleError(_context3.t0, reject, trackShipment.name); - case 14: - case "end": - return _context3.stop(); + while (1) switch (_context5.prev = _context5.next) { + case 0: + callTrackShipment = function _callTrackShipment() { + return order.notify(service.topic, JSON.stringify(service.trackShipment({ + shipmentId: order.shipmentId, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + trackShipmentCallback = function _trackShipmentCallbac(resolve, reject) { + return /*#__PURE__*/function () { + var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) { + var message, subscription, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + message = _ref5.message, subscription = _ref5.subscription; + _context3.prev = 1; + event = JSON.parse(message); + console.debug('received event...', event); + payload = service.getPayload(trackShipment.name, event); + _context3.next = 7; + return callback(options, payload); + case 7: + updated = _context3.sent; + if (updated.trackingStatus === 'orderDelivered') { + subscription.unsubscribe(); + resolve(updated); } - } - }, _callee3, null, [[1, 11]]); - })); - return function (_x4) { - return _ref6.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; - /** - * - * @param {function(Order)} resolve resolve the promise - * @param {function(Error)} reject reject promise - */ - return _context5.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(resolve, reject) { - return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - return _context4.abrupt("return", order.listen({ - once: false, - model: order, - id: order.orderNo, - topic: ORDER_TOPIC, - filters: [order.orderNo, 'trackingId', 'trackingStatus'], - callback: trackShipmentCallback(resolve, reject) - }).then(callTrackShipment)["catch"](handleError)); - case 1: - case "end": - return _context4.stop(); - } + _context3.next = 14; + break; + case 11: + _context3.prev = 11; + _context3.t0 = _context3["catch"](1); + handleError(_context3.t0, reject, trackShipment.name); + case 14: + case "end": + return _context3.stop(); } - }, _callee4); + }, _callee3, null, [[1, 11]]); })); - return function (_x5, _x6) { - return _ref7.apply(this, arguments); + return function (_x4) { + return _ref6.apply(this, arguments); }; - }())); - case 4: - case "end": - return _context5.stop(); - } + }(); + }; + order = options.model, _options$args2 = _slicedToArray(options.args, 1), callback = _options$args2[0]; + /** + * + * @param {function(Order)} resolve resolve the promise + * @param {function(Error)} reject reject promise + */ + return _context5.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(resolve, reject) { + return _regeneratorRuntime().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + return _context4.abrupt("return", order.listen({ + once: false, + model: order, + id: order.orderNo, + topic: ORDER_TOPIC, + filters: [order.orderNo, 'trackingId', 'trackingStatus'], + callback: trackShipmentCallback(resolve, reject) + }).then(callTrackShipment)["catch"](handleError)); + case 1: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return function (_x5, _x6) { + return _ref7.apply(this, arguments); + }; + }())); + case 4: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -5441,89 +5061,83 @@ function verifyDelivery(service) { var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(options) { var order, _options$args3, callback, verifyDeliveryCallback, callVerifyDelivery; return _regeneratorRuntime().wrap(function _callee8$(_context8) { - while (1) { - switch (_context8.prev = _context8.next) { - case 0: - callVerifyDelivery = function _callVerifyDelivery() { - return order.notify(service.topic, JSON.stringify(service.verifyDelivery({ - trackingId: order.trackingId, - externalId: order.orderNo, - requester: ORDER_SERVICE, - respondOn: ORDER_TOPIC - }))); - }; - verifyDeliveryCallback = function _verifyDeliveryCallba(resolve, reject) { - return /*#__PURE__*/function () { - var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_ref9) { - var message, event, payload, updated; - return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - message = _ref9.message; - _context6.prev = 1; - event = JSON.parse(message); - console.debug('received event...', event); - payload = service.getPayload(verifyDelivery.name, event); - _context6.next = 7; - return callback(options, payload); - case 7: - updated = _context6.sent; - resolve(updated); - _context6.next = 14; - break; - case 11: - _context6.prev = 11; - _context6.t0 = _context6["catch"](1); - handleError(_context6.t0, reject, verifyDeliveryCallback.name); - case 14: - case "end": - return _context6.stop(); - } - } - }, _callee6, null, [[1, 11]]); - })); - return function (_x8) { - return _ref10.apply(this, arguments); - }; - }(); - }; - order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; - /** - * - * @param {function(Order)} resolve - * @param {function(Error)} reject - * @returns - */ - return _context8.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve, reject) { - return _regeneratorRuntime().wrap(function _callee7$(_context7) { - while (1) { - switch (_context7.prev = _context7.next) { - case 0: - return _context7.abrupt("return", order.listen({ - once: true, - model: order, - id: order.orderNo, - topic: 'orderChannel', - filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'], - callback: verifyDeliveryCallback(resolve, reject) - }).then(callVerifyDelivery)["catch"](handleError)); - case 1: - case "end": - return _context7.stop(); - } + while (1) switch (_context8.prev = _context8.next) { + case 0: + callVerifyDelivery = function _callVerifyDelivery() { + return order.notify(service.topic, JSON.stringify(service.verifyDelivery({ + trackingId: order.trackingId, + externalId: order.orderNo, + requester: ORDER_SERVICE, + respondOn: ORDER_TOPIC + }))); + }; + verifyDeliveryCallback = function _verifyDeliveryCallba(resolve, reject) { + return /*#__PURE__*/function () { + var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(_ref9) { + var message, event, payload, updated; + return _regeneratorRuntime().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + message = _ref9.message; + _context6.prev = 1; + event = JSON.parse(message); + console.debug('received event...', event); + payload = service.getPayload(verifyDelivery.name, event); + _context6.next = 7; + return callback(options, payload); + case 7: + updated = _context6.sent; + resolve(updated); + _context6.next = 14; + break; + case 11: + _context6.prev = 11; + _context6.t0 = _context6["catch"](1); + handleError(_context6.t0, reject, verifyDeliveryCallback.name); + case 14: + case "end": + return _context6.stop(); } - }, _callee7); + }, _callee6, null, [[1, 11]]); })); - return function (_x9, _x10) { - return _ref11.apply(this, arguments); + return function (_x8) { + return _ref10.apply(this, arguments); }; - }())); - case 4: - case "end": - return _context8.stop(); - } + }(); + }; + order = options.model, _options$args3 = _slicedToArray(options.args, 1), callback = _options$args3[0]; + /** + * + * @param {function(Order)} resolve + * @param {function(Error)} reject + * @returns + */ + return _context8.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve, reject) { + return _regeneratorRuntime().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + return _context7.abrupt("return", order.listen({ + once: true, + model: order, + id: order.orderNo, + topic: 'orderChannel', + filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'], + callback: verifyDeliveryCallback(resolve, reject) + }).then(callVerifyDelivery)["catch"](handleError)); + case 1: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function (_x9, _x10) { + return _ref11.apply(this, arguments); + }; + }())); + case 4: + case "end": + return _context8.stop(); } }, _callee8); })); @@ -5542,7 +5156,7 @@ function verifyDelivery(service) { /*! namespace exports */ /*! export tmListEventsOut [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -5550,47 +5164,54 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "tmListEventsOut": () => /* binding */ tmListEventsOut /* harmony export */ }); +/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! https */ "https"); +/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + function tmListEventsOut(service) { return /*#__PURE__*/function () { - var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) { - var key, url; + var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { + var args, apiKey, chunks; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - key = data.args[0].apiKey; - url = "https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(key); - _context.next = 5; - return fetch(url); - case 5: - _context.next = 7; - return _context.sent.json(); - case 7: - return _context.abrupt("return", _context.sent); - case 10: - _context.prev = 10; - _context.t0 = _context["catch"](0); - console.error({ - fn: tmListEventsOut.name, - error: _context.t0 + while (1) switch (_context.prev = _context.next) { + case 0: + args = _ref.args; + apiKey = args[0].apiKey; + chunks = []; + return _context.abrupt("return", new Promise(function (resolve, reject) { + https__WEBPACK_IMPORTED_MODULE_0___default().get("https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(apiKey), function (res) { + res.on('data', function (chunk) { + return chunks.push(chunk); + }); + res.on('end', function () { + return resolve(chunks.join('')); + }); }); - throw _context.t0; - case 14: - case "end": - return _context.stop(); - } + })); + case 4: + case "end": + return _context.stop(); } - }, _callee, null, [[0, 10]]); + }, _callee); })); return function (_x) { - return _ref.apply(this, arguments); + return _ref2.apply(this, arguments); }; }(); + + // return async function (data) { + // try { + // const key = data.args[0].apiKey + // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}` + // return await (await fetch(url)).json() + // } catch (error) { + // console.error({ fn: tmListEventsOut.name, error }) + // throw error + // } + // } } /***/ }), @@ -5613,7 +5234,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! http */ "http"); /* harmony import */ var http__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -5621,29 +5242,27 @@ function wasmGetPublicIpAddress() { return /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var chunks; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - chunks = []; - return _context.abrupt("return", new Promise(function (resolve) { - http__WEBPACK_IMPORTED_MODULE_0___default().get({ - hostname: 'checkip.amazonaws.com', - method: 'get' - }, function (res) { - res.on('data', function (chunk) { - return chunks.push(chunk); - }); - res.on('end', function () { - resolve({ - address: chunks.join('').trim() - }); + while (1) switch (_context.prev = _context.next) { + case 0: + chunks = []; + return _context.abrupt("return", new Promise(function (resolve) { + http__WEBPACK_IMPORTED_MODULE_0___default().get({ + hostname: 'checkip.amazonaws.com', + method: 'get' + }, function (res) { + res.on('data', function (chunk) { + return chunks.push(chunk); + }); + res.on('end', function () { + resolve({ + address: chunks.join('').trim() }); }); - })); - case 2: - case "end": - return _context.stop(); - } + }); + })); + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -5690,7 +5309,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var ws__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ws__WEBPACK_IMPORTED_MODULE_0__); -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } @@ -5702,8 +5321,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" = function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /** @type {WebSocket} */ @@ -5825,15 +5444,13 @@ function websocketOnOpen() { var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref7) { var _ref7$args, callback; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _ref7$args = _slicedToArray(_ref7.args, 1), callback = _ref7$args[0]; - if (socket) socket.onopen = callback; - case 2: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _ref7$args = _slicedToArray(_ref7.args, 1), callback = _ref7$args[0]; + if (socket) socket.onopen = callback; + case 2: + case "end": + return _context.stop(); } }, _callee); })); @@ -6079,7 +5696,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -6302,18 +5919,16 @@ var Order = { get: function () { var _get = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req, res, ports) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", ports.listModels({ - writable: res, - serialize: true, - query: req.query - })); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", ports.listModels({ + writable: res, + serialize: true, + query: req.query + })); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -6326,30 +5941,28 @@ var Order = { var _post = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(req, res, ports) { var result; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - console.log('/orders'); - _context2.prev = 1; - _context2.next = 4; - return ports.addModel(req.body); - case 4: - result = _context2.sent; - res.status(200).json({ - message: 'ok', - ctx: result.context, - id: result.id - }); - _context2.next = 11; - break; - case 8: - _context2.prev = 8; - _context2.t0 = _context2["catch"](1); - throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context2.t0, 404); - case 11: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + console.log('/orders'); + _context2.prev = 1; + _context2.next = 4; + return ports.addModel(req.body); + case 4: + result = _context2.sent; + res.status(200).json({ + message: 'ok', + ctx: result.context, + id: result.id + }); + _context2.next = 11; + break; + case 8: + _context2.prev = 8; + _context2.t0 = _context2["catch"](1); + throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context2.t0, 404); + case 11: + case "end": + return _context2.stop(); } }, _callee2, null, [[1, 8]]); })); @@ -6363,18 +5976,16 @@ var Order = { get: function () { var _get2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(req, res, ports) { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - return _context3.abrupt("return", ports.listModels({ - writable: res, - serialize: true, - query: req.query - })); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + return _context3.abrupt("return", ports.listModels({ + writable: res, + serialize: true, + query: req.query + })); + case 1: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -6387,32 +5998,30 @@ var Order = { var _patch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(req, res, ports) { var result; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - console.log('/orders/:id'); - _context4.prev = 1; - _context4.next = 4; - return ports.editModel({ - id: req.params.id, - changes: req.body - }); - case 4: - result = _context4.sent; - res.status(200).json({ - message: 'ok', - ctx: result.context - }); - _context4.next = 11; - break; - case 8: - _context4.prev = 8; - _context4.t0 = _context4["catch"](1); - throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context4.t0, 404); - case 11: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + console.log('/orders/:id'); + _context4.prev = 1; + _context4.next = 4; + return ports.editModel({ + id: req.params.id, + changes: req.body + }); + case 4: + result = _context4.sent; + res.status(200).json({ + message: 'ok', + ctx: result.context + }); + _context4.next = 11; + break; + case 8: + _context4.prev = 8; + _context4.t0 = _context4["catch"](1); + throw new _domain_order__WEBPACK_IMPORTED_MODULE_0__.OrderError(_context4.t0, 404); + case 11: + case "end": + return _context4.stop(); } }, _callee4, null, [[1, 8]]); })); @@ -6492,7 +6101,7 @@ var Order = { /*! namespace exports */ /*! export WebSwitch [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; @@ -6501,6 +6110,7 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "WebSwitch": () => /* binding */ WebSwitch /* harmony export */ }); /* harmony import */ var _domain_webswitch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../domain/webswitch */ "./src/domain/webswitch.js"); +/* harmony import */ var _domain_webswitch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_domain_webswitch__WEBPACK_IMPORTED_MODULE_0__); @@ -6720,7 +6330,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function makeCustomerFactory(dependencies) { @@ -6755,27 +6365,25 @@ function _okToDelete() { _okToDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(customer) { var orders; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - _context.next = 3; - return customer.orders(); - case 3: - orders = _context.sent; - return _context.abrupt("return", orders.length > 0); - case 7: - _context.prev = 7; - _context.t0 = _context["catch"](0); - console.error({ - func: okToDelete.name, - error: _context.t0 - }); - return _context.abrupt("return", true); - case 11: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + _context.next = 3; + return customer.orders(); + case 3: + orders = _context.sent; + return _context.abrupt("return", orders.length > 0); + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error({ + func: okToDelete.name, + error: _context.t0 + }); + return _context.abrupt("return", true); + case 11: + case "end": + return _context.stop(); } }, _callee, null, [[0, 7]]); })); @@ -7209,7 +6817,7 @@ __webpack_require__.r(__webpack_exports__); var _mixinSets; -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } @@ -7220,7 +6828,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } 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); } @@ -7918,30 +7526,28 @@ var invokePort = function invokePort(fn, onCreate, onUpdate) { return /*#__PURE__*/function () { var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(o) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { - invokePort: function invokePort() { - console.log({ - func: 'invokePort', - fn: fn, - args: args - }); - return this[fn].apply(this, args).then(function (o) { - return o; - }); - } - }, addValidation({ - model: o, - name: 'invokePort', - output: enableValidation.onUpdate, - order: 85 - }))); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { + invokePort: function invokePort() { + console.log({ + func: 'invokePort', + fn: fn, + args: args + }); + return this[fn].apply(this, args).then(function (o) { + return o; + }); + } + }, addValidation({ + model: o, + name: 'invokePort', + output: enableValidation.onUpdate, + order: 85 + }))); + case 1: + case "end": + return _context.stop(); } }, _callee); })); @@ -7968,59 +7574,55 @@ var execMethod = function execMethod(fn, onCreate, onUpdate) { var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(o) { var functionType; return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - functionType = { - "function": function _function(fn, obj) { - for (var _len9 = arguments.length, args = new Array(_len9 > 2 ? _len9 - 2 : 0), _key9 = 2; _key9 < _len9; _key9++) { - args[_key9 - 2] = arguments[_key9]; - } - return fn.apply(void 0, [obj].concat(args)).then(function (o) { - return o; - }); - }, - string: function string(fn, obj) { - for (var _len10 = arguments.length, args = new Array(_len10 > 2 ? _len10 - 2 : 0), _key10 = 2; _key10 < _len10; _key10++) { - args[_key10 - 2] = arguments[_key10]; - } - return obj[fn].apply(obj, args).then(function (o) { - return o; - }); + while (1) switch (_context3.prev = _context3.next) { + case 0: + functionType = { + "function": function _function(fn, obj) { + for (var _len9 = arguments.length, args = new Array(_len9 > 2 ? _len9 - 2 : 0), _key9 = 2; _key9 < _len9; _key9++) { + args[_key9 - 2] = arguments[_key9]; } - }; - return _context3.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { - execMethod: function execMethod() { - var _this3 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - var model; - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return functionType[_typeof(fn)].apply(functionType, [fn, _this3].concat(args)); - case 2: - model = _context2.sent; - return _context2.abrupt("return", model); - case 4: - case "end": - return _context2.stop(); - } - } - }, _callee2); - }))(); + return fn.apply(void 0, [obj].concat(args)).then(function (o) { + return o; + }); + }, + string: function string(fn, obj) { + for (var _len10 = arguments.length, args = new Array(_len10 > 2 ? _len10 - 2 : 0), _key10 = 2; _key10 < _len10; _key10++) { + args[_key10 - 2] = arguments[_key10]; } - }, addValidation({ - model: o, - name: 'execMethod', - output: enableValidation.onUpdate, - order: 40 - }))); - case 2: - case "end": - return _context3.stop(); - } + return obj[fn].apply(obj, args).then(function (o) { + return o; + }); + } + }; + return _context3.abrupt("return", _objectSpread(_objectSpread({}, o), {}, { + execMethod: function execMethod() { + var _this3 = this; + return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + var model; + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return functionType[_typeof(fn)].apply(functionType, [fn, _this3].concat(args)); + case 2: + model = _context2.sent; + return _context2.abrupt("return", model); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + }))(); + } + }, addValidation({ + model: o, + name: 'execMethod', + output: enableValidation.onUpdate, + order: 40 + }))); + case 2: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -8195,7 +7797,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } @@ -8214,7 +7816,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g 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); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -8534,20 +8136,18 @@ function _paymentCompleted() { changes, _args4 = arguments; return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - options = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}; - payload = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('confirmationCode', options, payload, paymentCompleted.name); - return _context4.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { - orderStatus: OrderStatus.COMPLETE - }))); - case 5: - case "end": - return _context4.stop(); - } + while (1) switch (_context4.prev = _context4.next) { + case 0: + options = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {}; + payload = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('confirmationCode', options, payload, paymentCompleted.name); + return _context4.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { + orderStatus: OrderStatus.COMPLETE + }))); + case 5: + case "end": + return _context4.stop(); } }, _callee4); })); @@ -8569,21 +8169,19 @@ function _orderShipped() { shipmentPayload, _args5 = arguments; return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - options = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {}; - payload = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : {}; - order = options.model; - shipmentPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shipmentId', options, payload, orderShipped.name); - return _context5.abrupt("return", order.update({ - shipmentId: shipmentPayload.shipmentId, - orderStatus: OrderStatus.SHIPPING - })); - case 5: - case "end": - return _context5.stop(); - } + while (1) switch (_context5.prev = _context5.next) { + case 0: + options = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {}; + payload = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : {}; + order = options.model; + shipmentPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shipmentId', options, payload, orderShipped.name); + return _context5.abrupt("return", order.update({ + shipmentId: shipmentPayload.shipmentId, + orderStatus: OrderStatus.SHIPPING + })); + case 5: + case "end": + return _context5.stop(); } }, _callee5); })); @@ -8606,18 +8204,16 @@ function _orderPicked() { changes, _args6 = arguments; return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - options = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}; - payload = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('pickupAddress', options, payload, addressValidated.name); - return _context6.abrupt("return", order.update(changes)); - case 5: - case "end": - return _context6.stop(); - } + while (1) switch (_context6.prev = _context6.next) { + case 0: + options = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}; + payload = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('pickupAddress', options, payload, addressValidated.name); + return _context6.abrupt("return", order.update(changes)); + case 5: + case "end": + return _context6.stop(); } }, _callee6); })); @@ -8640,20 +8236,18 @@ function _addressValidated() { addressPayload, _args7 = arguments; return _regeneratorRuntime().wrap(function _callee7$(_context7) { - while (1) { - switch (_context7.prev = _context7.next) { - case 0: - options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}; - payload = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : {}; - order = options.model; - addressPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shippingAddress', options, payload, addressValidated.name); - return _context7.abrupt("return", order.update({ - shippingAddress: addressPayload.shippingAddress - })); - case 5: - case "end": - return _context7.stop(); - } + while (1) switch (_context7.prev = _context7.next) { + case 0: + options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}; + payload = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : {}; + order = options.model; + addressPayload = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('shippingAddress', options, payload, addressValidated.name); + return _context7.abrupt("return", order.update({ + shippingAddress: addressPayload.shippingAddress + })); + case 5: + case "end": + return _context7.stop(); } }, _callee7); })); @@ -8677,20 +8271,18 @@ function _paymentAuthorized() { changes, _args8 = arguments; return _regeneratorRuntime().wrap(function _callee8$(_context8) { - while (1) { - switch (_context8.prev = _context8.next) { - case 0: - options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}; - payload = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {}; - order = options.model; - changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('paymentStatus', options, payload, paymentAuthorized.name); - return _context8.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { - paymentStatus: paymentStatus - }), false)); - case 5: - case "end": - return _context8.stop(); - } + while (1) switch (_context8.prev = _context8.next) { + case 0: + options = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}; + payload = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {}; + order = options.model; + changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('paymentStatus', options, payload, paymentAuthorized.name); + return _context8.abrupt("return", order.update(_objectSpread(_objectSpread({}, changes), {}, { + paymentStatus: paymentStatus + }), false)); + case 5: + case "end": + return _context8.stop(); } }, _callee8); })); @@ -8708,20 +8300,18 @@ function refundPayment(_x) { function _refundPayment() { _refundPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(order) { return _regeneratorRuntime().wrap(function _callee9$(_context9) { - while (1) { - switch (_context9.prev = _context9.next) { - case 0: - // call port by same name. - order.refundPayment(function (options, payload) { - var changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('refundReceipt', options, payload, refundPayment.name); - return order.update(_objectSpread(_objectSpread({}, changes), {}, { - orderStatus: OrderStatus.CANCELED - })); - }); - case 1: - case "end": - return _context9.stop(); - } + while (1) switch (_context9.prev = _context9.next) { + case 0: + // call port by same name. + order.refundPayment(function (options, payload) { + var changes = (0,_check_payload__WEBPACK_IMPORTED_MODULE_2__.default)('refundReceipt', options, payload, refundPayment.name); + return order.update(_objectSpread(_objectSpread({}, changes), {}, { + orderStatus: OrderStatus.CANCELED + })); + }); + case 1: + case "end": + return _context9.stop(); } }, _callee9); })); @@ -8743,18 +8333,16 @@ function verifyAddress(_x2) { function _verifyAddress() { _verifyAddress = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(order) { return _regeneratorRuntime().wrap(function _callee10$(_context10) { - while (1) { - switch (_context10.prev = _context10.next) { - case 0: - console.debug({ - fn: verifyAddress.name, - validateAddress: order.validateAddress - }); - return _context10.abrupt("return", order.validateAddress(addressValidated)); - case 2: - case "end": - return _context10.stop(); - } + while (1) switch (_context10.prev = _context10.next) { + case 0: + console.debug({ + fn: verifyAddress.name, + validateAddress: order.validateAddress + }); + return _context10.abrupt("return", order.validateAddress(addressValidated)); + case 2: + case "end": + return _context10.stop(); } }, _callee10); })); @@ -8773,31 +8361,29 @@ function _verifyPayment() { _verifyPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(order) { var authorizeOrder; return _regeneratorRuntime().wrap(function _callee11$(_context11) { - while (1) { - switch (_context11.prev = _context11.next) { - case 0: - _context11.prev = 0; - _context11.next = 3; - return order.authorizePayment(paymentAuthorized); - case 3: - authorizeOrder = _context11.sent; - if (authorizeOrder.paymentDeclined) { - _context11.next = 6; - break; - } - throw new Error('payment declined'); - case 6: - return _context11.abrupt("return", authorizeOrder); - case 9: - _context11.prev = 9; - _context11.t0 = _context11["catch"](0); - handleError(_context11.t0, order, verifyPayment.name); - case 12: - return _context11.abrupt("return", order); - case 13: - case "end": - return _context11.stop(); - } + while (1) switch (_context11.prev = _context11.next) { + case 0: + _context11.prev = 0; + _context11.next = 3; + return order.authorizePayment(paymentAuthorized); + case 3: + authorizeOrder = _context11.sent; + if (authorizeOrder.paymentDeclined) { + _context11.next = 6; + break; + } + throw new Error('payment declined'); + case 6: + return _context11.abrupt("return", authorizeOrder); + case 9: + _context11.prev = 9; + _context11.t0 = _context11["catch"](0); + handleError(_context11.t0, order, verifyPayment.name); + case 12: + return _context11.abrupt("return", order); + case 13: + case "end": + return _context11.stop(); } }, _callee11, null, [[0, 9]]); })); @@ -8817,39 +8403,37 @@ function _verifyInventory() { _verifyInventory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(order) { var inventory, insufficient; return _regeneratorRuntime().wrap(function _callee12$(_context12) { - while (1) { - switch (_context12.prev = _context12.next) { - case 0: - _context12.next = 2; - return order.inventory(); - case 2: - inventory = _context12.sent; - if (!(inventory.length < 1)) { - _context12.next = 5; - break; - } - throw new Error('bad inventory ID'); - case 5: - insufficient = order.orderItems.filter(function (item) { - var inv = inventory.find(function (i) { - return i.id === item.itemId; - }); - if (!inv) return true; - if (inv.quantity < item.qty) return true; - return false; + while (1) switch (_context12.prev = _context12.next) { + case 0: + _context12.next = 2; + return order.inventory(); + case 2: + inventory = _context12.sent; + if (!(inventory.length < 1)) { + _context12.next = 5; + break; + } + throw new Error('bad inventory ID'); + case 5: + insufficient = order.orderItems.filter(function (item) { + var inv = inventory.find(function (i) { + return i.id === item.itemId; }); - if (!(insufficient.length > 0)) { - _context12.next = 9; - break; - } - order.emit('lowOrOutOfStock', insufficient); - throw new Error("low or out of stock: ".concat(insufficient.map(function (i) { - return i.itemId; - }))); - case 9: - case "end": - return _context12.stop(); - } + if (!inv) return true; + if (inv.quantity < item.qty) return true; + return false; + }); + if (!(insufficient.length > 0)) { + _context12.next = 9; + break; + } + order.emit('lowOrOutOfStock', insufficient); + throw new Error("low or out of stock: ".concat(insufficient.map(function (i) { + return i.itemId; + }))); + case 9: + case "end": + return _context12.stop(); } }, _callee12); })); @@ -8869,59 +8453,57 @@ function _getCustomerOrder() { _getCustomerOrder = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(order) { var customer, custInfo, update, _custInfo, _customer; return _regeneratorRuntime().wrap(function _callee13$(_context13) { - while (1) { - switch (_context13.prev = _context13.next) { - case 0: - if (!order.customerId) { - _context13.next = 13; - break; - } - if (!order.customer) { - console.log({ - order: order - }); - } - // Use the relation defined in the spec - _context13.next = 4; - return order.customer(); - case 4: - customer = _context13.sent; - if (customer) { - _context13.next = 7; - break; - } - throw new Error('invalid customer id', order.customerId); - case 7: - // Add customer data to the order - custInfo = _objectSpread(_objectSpread({}, customer.decrypt()), {}, { - firstName: customer.firstName - }); - _context13.next = 10; - return order.update(custInfo); - case 10: - update = _context13.sent; - console.info('update order with data from existing customer', custInfo); - return _context13.abrupt("return", update); - case 13: - if (!order.saveShippingDetails) { - _context13.next = 20; - break; - } - _custInfo = _objectSpread(_objectSpread({}, order.decrypt()), {}, { - firstName: order.firstName + while (1) switch (_context13.prev = _context13.next) { + case 0: + if (!order.customerId) { + _context13.next = 13; + break; + } + if (!order.customer) { + console.log({ + order: order }); - _context13.next = 17; - return order.customer(_custInfo); - case 17: - _customer = _context13.sent; - console.info('create new customer with data from order', _customer); - return _context13.abrupt("return", order); - case 20: - return _context13.abrupt("return", order); - case 21: - case "end": - return _context13.stop(); - } + } + // Use the relation defined in the spec + _context13.next = 4; + return order.customer(); + case 4: + customer = _context13.sent; + if (customer) { + _context13.next = 7; + break; + } + throw new Error('invalid customer id', order.customerId); + case 7: + // Add customer data to the order + custInfo = _objectSpread(_objectSpread({}, customer.decrypt()), {}, { + firstName: customer.firstName + }); + _context13.next = 10; + return order.update(custInfo); + case 10: + update = _context13.sent; + console.info('update order with data from existing customer', custInfo); + return _context13.abrupt("return", update); + case 13: + if (!order.saveShippingDetails) { + _context13.next = 20; + break; + } + _custInfo = _objectSpread(_objectSpread({}, order.decrypt()), {}, { + firstName: order.firstName + }); + _context13.next = 17; + return order.customer(_custInfo); + case 17: + _customer = _context13.sent; + console.info('create new customer with data from order', _customer); + return _context13.abrupt("return", order); + case 20: + return _context13.abrupt("return", order); + case 21: + case "end": + return _context13.stop(); } }, _callee13); })); @@ -8960,35 +8542,33 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }), _defineProperty(_OrderActions, OrderStatus.SHIPPING, function () { var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(order) { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.prev = 0; - order.trackShipment(trackingUpdate); - console.debug({ - func: OrderStatus.SHIPPING, - order: order - }); - _context.next = 5; - return order.update({ - orderStatus: OrderStatus.SHIPPING - }); - case 5: - _context.next = 7; - return _context.sent.emit('orderPicked'); - case 7: - _context.next = 12; - break; - case 9: - _context.prev = 9; - _context.t0 = _context["catch"](0); - handleError(_context.t0, order, OrderStatus.SHIPPING); - case 12: - return _context.abrupt("return", order); - case 13: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + order.trackShipment(trackingUpdate); + console.debug({ + func: OrderStatus.SHIPPING, + order: order + }); + _context.next = 5; + return order.update({ + orderStatus: OrderStatus.SHIPPING + }); + case 5: + _context.next = 7; + return _context.sent.emit('orderPicked'); + case 7: + _context.next = 12; + break; + case 9: + _context.prev = 9; + _context.t0 = _context["catch"](0); + handleError(_context.t0, order, OrderStatus.SHIPPING); + case 12: + return _context.abrupt("return", order); + case 13: + case "end": + return _context.stop(); } }, _callee, null, [[0, 9]]); })); @@ -8998,26 +8578,24 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }()), _defineProperty(_OrderActions, OrderStatus.CANCELED, function () { var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(order) { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.prev = 0; - console.debug({ - func: OrderStatus.CANCELED, - desc: 'order canceled, calling undo', - orderNo: order.orderNo - }); - return _context2.abrupt("return", order.undo()); - case 5: - _context2.prev = 5; - _context2.t0 = _context2["catch"](0); - handleError(_context2.t0, order, OrderStatus.CANCELED); - case 8: - return _context2.abrupt("return", order); - case 9: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.prev = 0; + console.debug({ + func: OrderStatus.CANCELED, + desc: 'order canceled, calling undo', + orderNo: order.orderNo + }); + return _context2.abrupt("return", order.undo()); + case 5: + _context2.prev = 5; + _context2.t0 = _context2["catch"](0); + handleError(_context2.t0, order, OrderStatus.CANCELED); + case 8: + return _context2.abrupt("return", order); + case 9: + case "end": + return _context2.stop(); } }, _callee2, null, [[0, 5]]); })); @@ -9027,16 +8605,14 @@ var OrderActions = (_OrderActions = {}, _defineProperty(_OrderActions, OrderStat }()), _defineProperty(_OrderActions, OrderStatus.COMPLETE, function () { var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(order) { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - // send route to questionnaire, perform analysis, schedule follow-up - console.log('customer sentiment analysis, customer care, sales analysis'); - return _context3.abrupt("return", order); - case 2: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + // send route to questionnaire, perform analysis, schedule follow-up + console.log('customer sentiment analysis, customer care, sales analysis'); + return _context3.abrupt("return", order); + case 2: + case "end": + return _context3.stop(); } }, _callee3); })); @@ -9213,25 +8789,23 @@ function _approve() { _approve = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(order) { var approvedOrder; return _regeneratorRuntime().wrap(function _callee14$(_context14) { - while (1) { - switch (_context14.prev = _context14.next) { - case 0: - console.debug({ - msg: 'got order', - order: order - }); - approvedOrder = order.updateSync({ - orderStatus: OrderStatus.APPROVED - }, false); - console.debug({ - approvedOrder: approvedOrder - }); - approvedOrder.logStateChange(OrderStatus.APPROVED); - return _context14.abrupt("return", runOrderWorkflow(approvedOrder)); - case 5: - case "end": - return _context14.stop(); - } + while (1) switch (_context14.prev = _context14.next) { + case 0: + console.debug({ + msg: 'got order', + order: order + }); + approvedOrder = order.updateSync({ + orderStatus: OrderStatus.APPROVED + }, false); + console.debug({ + approvedOrder: approvedOrder + }); + approvedOrder.logStateChange(OrderStatus.APPROVED); + return _context14.abrupt("return", runOrderWorkflow(approvedOrder)); + case 5: + case "end": + return _context14.stop(); } }, _callee14); })); @@ -9250,21 +8824,19 @@ function _cancel() { _cancel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(order) { var canceledOrder; return _regeneratorRuntime().wrap(function _callee15$(_context15) { - while (1) { - switch (_context15.prev = _context15.next) { - case 0: - _context15.next = 2; - return order.update({ - orderStatus: OrderStatus.CANCELED - }); - case 2: - canceledOrder = _context15.sent; - canceledOrder.logStateChange(OrderStatus.CANCELED); - return _context15.abrupt("return", runOrderWorkflow(canceledOrder)); - case 5: - case "end": - return _context15.stop(); - } + while (1) switch (_context15.prev = _context15.next) { + case 0: + _context15.next = 2; + return order.update({ + orderStatus: OrderStatus.CANCELED + }); + case 2: + canceledOrder = _context15.sent; + canceledOrder.logStateChange(OrderStatus.CANCELED); + return _context15.abrupt("return", runOrderWorkflow(canceledOrder)); + case 5: + case "end": + return _context15.stop(); } }, _callee15); })); @@ -9281,14 +8853,12 @@ function checkout(_x11) { function _checkout() { _checkout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(order) { return _regeneratorRuntime().wrap(function _callee16$(_context16) { - while (1) { - switch (_context16.prev = _context16.next) { - case 0: - return _context16.abrupt("return", approve(order)); - case 1: - case "end": - return _context16.stop(); - } + while (1) switch (_context16.prev = _context16.next) { + case 0: + return _context16.abrupt("return", approve(order)); + case 1: + case "end": + return _context16.stop(); } }, _callee16); })); @@ -9341,19 +8911,17 @@ function returnInventory(_x12) { function _returnInventory() { _returnInventory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(order) { return _regeneratorRuntime().wrap(function _callee17$(_context17) { - while (1) { - switch (_context17.prev = _context17.next) { - case 0: - console.log(returnInventory.name); - order.logEvent(returnInventory.name, 'timeout'); - order.emit(returnInventory.name, errMsg); - return _context17.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 4: - case "end": - return _context17.stop(); - } + while (1) switch (_context17.prev = _context17.next) { + case 0: + console.log(returnInventory.name); + order.logEvent(returnInventory.name, 'timeout'); + order.emit(returnInventory.name, errMsg); + return _context17.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 4: + case "end": + return _context17.stop(); } }, _callee17); })); @@ -9365,18 +8933,16 @@ function returnShipment(_x13) { function _returnShipment() { _returnShipment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(order) { return _regeneratorRuntime().wrap(function _callee18$(_context18) { - while (1) { - switch (_context18.prev = _context18.next) { - case 0: - console.log(returnShipment.name); - order.logUndo(returnShipment.name); - return _context18.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 3: - case "end": - return _context18.stop(); - } + while (1) switch (_context18.prev = _context18.next) { + case 0: + console.log(returnShipment.name); + order.logUndo(returnShipment.name); + return _context18.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 3: + case "end": + return _context18.stop(); } }, _callee18); })); @@ -9400,17 +8966,15 @@ function returnDelivery(_x14) { function _returnDelivery() { _returnDelivery = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(order) { return _regeneratorRuntime().wrap(function _callee19$(_context19) { - while (1) { - switch (_context19.prev = _context19.next) { - case 0: - console.log(returnDelivery.name); - return _context19.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 2: - case "end": - return _context19.stop(); - } + while (1) switch (_context19.prev = _context19.next) { + case 0: + console.log(returnDelivery.name); + return _context19.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 2: + case "end": + return _context19.stop(); } }, _callee19); })); @@ -9422,17 +8986,15 @@ function cancelPayment(_x15) { function _cancelPayment() { _cancelPayment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20(order) { return _regeneratorRuntime().wrap(function _callee20$(_context20) { - while (1) { - switch (_context20.prev = _context20.next) { - case 0: - console.log(cancelPayment.name); - return _context20.abrupt("return", order.update({ - orderStatus: OrderStatus.CANCELED - })); - case 2: - case "end": - return _context20.stop(); - } + while (1) switch (_context20.prev = _context20.next) { + case 0: + console.log(cancelPayment.name); + return _context20.abrupt("return", order.update({ + orderStatus: OrderStatus.CANCELED + })); + case 2: + case "end": + return _context20.stop(); } }, _callee20); })); @@ -9469,32 +9031,30 @@ function _cancelOrders() { _cancelOrders = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(data) { var cancelOrdersTransform; return _regeneratorRuntime().wrap(function _callee21$(_context21) { - while (1) { - switch (_context21.prev = _context21.next) { - case 0: - cancelOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ - objectMode: true, - transform: function transform(chunk, _encoding, done) { - if (chunk._id) delete chunk._id; - done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { - orderStatus: OrderStatus.CANCELED - }))); - } - }); - _context21.next = 3; - return this.list({ - writable: this.createWriteStream(), - transform: cancelOrdersTransform, - serialize: false - }); - case 3: - return _context21.abrupt("return", { - status: '🏆' - }); - case 4: - case "end": - return _context21.stop(); - } + while (1) switch (_context21.prev = _context21.next) { + case 0: + cancelOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ + objectMode: true, + transform: function transform(chunk, _encoding, done) { + if (chunk._id) delete chunk._id; + done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { + orderStatus: OrderStatus.CANCELED + }))); + } + }); + _context21.next = 3; + return this.list({ + writable: this.createWriteStream(), + transform: cancelOrdersTransform, + serialize: false + }); + case 3: + return _context21.abrupt("return", { + status: '🏆' + }); + case 4: + case "end": + return _context21.stop(); } }, _callee21, this); })); @@ -9512,32 +9072,30 @@ function _approveOrders() { _approveOrders = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) { var approveOrdersTransform; return _regeneratorRuntime().wrap(function _callee22$(_context22) { - while (1) { - switch (_context22.prev = _context22.next) { - case 0: - approveOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ - objectMode: true, - transform: function transform(chunk, encoding, done) { - if (chunk._id) delete chunk._id; - done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { - orderStatus: OrderStatus.APPROVED - }))); - } - }); - _context22.next = 3; - return this.list({ - writable: this.createWriteStream(), - transform: approveOrdersTransform, - serialize: false - }); - case 3: - return _context22.abrupt("return", { - status: '🏆' - }); - case 4: - case "end": - return _context22.stop(); - } + while (1) switch (_context22.prev = _context22.next) { + case 0: + approveOrdersTransform = new stream__WEBPACK_IMPORTED_MODULE_3__.Transform({ + objectMode: true, + transform: function transform(chunk, encoding, done) { + if (chunk._id) delete chunk._id; + done(null, JSON.stringify(_objectSpread(_objectSpread({}, chunk), {}, { + orderStatus: OrderStatus.APPROVED + }))); + } + }); + _context22.next = 3; + return this.list({ + writable: this.createWriteStream(), + transform: approveOrdersTransform, + serialize: false + }); + case 3: + return _context22.abrupt("return", { + status: '🏆' + }); + case 4: + case "end": + return _context22.stop(); } }, _callee22, this); })); @@ -9550,35 +9108,33 @@ function _trackAsyncContext() { _trackAsyncContext = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() { var ctx, dur, startTime, metric; return _regeneratorRuntime().wrap(function _callee23$(_context23) { - while (1) { - switch (_context23.prev = _context23.next) { - case 0: - ctx = this.getContext(); - dur = 'test-duration'; - startTime = Date.now(); - _context23.next = 5; - return new Promise(function (resolve) { - return setTimeout(resolve, 100); - }); - case 5: - // require('fs') - // .stream('/etc/hosts') - // .pipe(ctx.get('res')) - - ctx.set(dur, Date.now() - startTime); - metric = { - requestId: ctx.get('id'), - fn: trackAsyncContext.name, - duration: ctx.get(dur), - context: _toConsumableArray(ctx) - }; - this.emit('metric', metric); - console.log(metric.ctx); - return _context23.abrupt("return", metric); - case 10: - case "end": - return _context23.stop(); - } + while (1) switch (_context23.prev = _context23.next) { + case 0: + ctx = this.getContext(); + dur = 'test-duration'; + startTime = Date.now(); + _context23.next = 5; + return new Promise(function (resolve) { + return setTimeout(resolve, 100); + }); + case 5: + // require('fs') + // .stream('/etc/hosts') + // .pipe(ctx.get('res')) + + ctx.set(dur, Date.now() - startTime); + metric = { + requestId: ctx.get('id'), + fn: trackAsyncContext.name, + duration: ctx.get(dur), + context: _toConsumableArray(ctx) + }; + this.emit('metric', metric); + console.log(metric.ctx); + return _context23.abrupt("return", metric); + case 10: + case "end": + return _context23.stop(); } }, _callee23, this); })); @@ -9590,27 +9146,25 @@ function customHttpStatus(_x18) { function _customHttpStatus() { _customHttpStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) { return _regeneratorRuntime().wrap(function _callee24$(_context24) { - while (1) { - switch (_context24.prev = _context24.next) { - case 0: - if (!data.args.code) { - _context24.next = 2; - break; - } - throw new OrderError(data.args.message || 'custom status', data.args.code); - case 2: - _context24.prev = 2; - console.log(x); - _context24.next = 9; + while (1) switch (_context24.prev = _context24.next) { + case 0: + if (!data.args.code) { + _context24.next = 2; break; - case 6: - _context24.prev = 6; - _context24.t0 = _context24["catch"](2); - throw new OrderError(_context24.t0, 500); - case 9: - case "end": - return _context24.stop(); - } + } + throw new OrderError(data.args.message || 'custom status', data.args.code); + case 2: + _context24.prev = 2; + console.log(x); + _context24.next = 9; + break; + case 6: + _context24.prev = 6; + _context24.t0 = _context24["catch"](2); + throw new OrderError(_context24.t0, 500); + case 9: + case "end": + return _context24.stop(); } }, _callee24, null, [[2, 6]]); })); @@ -9622,17 +9176,15 @@ function testContainsMany(_x19) { function _testContainsMany() { _testContainsMany = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(data) { return _regeneratorRuntime().wrap(function _callee25$(_context25) { - while (1) { - switch (_context25.prev = _context25.next) { - case 0: - this.chat(); - return _context25.abrupt("return", { - status: 'ok' - }); - case 2: - case "end": - return _context25.stop(); - } + while (1) switch (_context25.prev = _context25.next) { + case 0: + this.chat(); + return _context25.abrupt("return", { + status: 'ok' + }); + case 2: + case "end": + return _context25.stop(); } }, _callee25, this); })); @@ -9654,23 +9206,21 @@ function _runFibonacciJs() { _runFibonacciJs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(data) { var param, start; return _regeneratorRuntime().wrap(function _callee26$(_context26) { - while (1) { - switch (_context26.prev = _context26.next) { - case 0: - console.log({ - data: data - }); - param = parseInt(data.args.fibonacci || 20); - start = Date.now(); - return _context26.abrupt("return", { - fibonacci: param, - result: fibonacci(param), - time: Date.now() - start - }); - case 4: - case "end": - return _context26.stop(); - } + while (1) switch (_context26.prev = _context26.next) { + case 0: + console.log({ + data: data + }); + param = parseInt(data.args.fibonacci || 20); + start = Date.now(); + return _context26.abrupt("return", { + fibonacci: param, + result: fibonacci(param), + time: Date.now() - start + }); + case 4: + case "end": + return _context26.stop(); } }, _callee26); })); @@ -9886,487 +9436,11 @@ function async(promise) { /*!*********************************!*\ !*** ./src/domain/webswitch.js ***! \*********************************/ -/*! namespace exports */ -/*! export ServiceMeshClient [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export makeClient [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "ServiceMeshClient": () => /* binding */ ServiceMeshClient, -/* harmony export */ "makeClient": () => /* binding */ makeClient -/* harmony export */ }); -/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! os */ "os"); -/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! events */ "events"); -/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var nanoid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! nanoid */ "webpack/sharing/consume/default/nanoid/nanoid"); -/* harmony import */ var nanoid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(nanoid__WEBPACK_IMPORTED_MODULE_2__); -/** - * webswitch (c) - * - * Websocket clients connect to a common ws server, - * called a webswitch. When a client sends a message, - * webswitch broadcasts the message to all other - * connected clients, including a special webswitch - * server that acts as an uplink to another network, - * if one is defined. A Webswitch server can also - * receive messgages from an uplink and will broadcast - * those messages to its clients as well. - */ - - - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } -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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } } -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); } -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - - - -var HOSTNAME = 'webswitch.local'; -var SERVICENAME = 'webswitch'; -var HBEATTIMEOUT = 'heartBeatTimeout'; -var WSOCKETERROR = 'webSocketError'; -var isPrimary = /true/i.test(process.env.SWITCH); -var isBackup = /true/i.test(process.env.BACKUP); -var debug = /true/i.test(process.env.DEBUG); -var heartbeatMs = 10000; -var sslEnabled = /true/i.test(process.env.SSL_ENABLED); -var clearPort = process.env.PORT || 80; -var cipherPort = process.env.SSL_PORT || 443; -var activePort = sslEnabled ? cipherPort : clearPort; -var activeProto = sslEnabled ? 'wss' : 'ws'; -var activeHost = process.env.DOMAIN || os__WEBPACK_IMPORTED_MODULE_0___default().hostname(); -var proto = isPrimary ? activeProto : process.env.SWITCH_PROTO; -var port = isPrimary ? activePort : process.env.SWITCH_PORT; -var host = isPrimary ? activeHost : process.env.SWITCH_HOST; -var override = /true/i.test(process.env.SWITCH_OVERRIDE); -var apiProto = sslEnabled ? 'https' : 'http'; -var apiUrl = "".concat(apiProto, "://").concat(activeHost, ":").concat(activePort); -function serviceUrl() { - var url = "".concat(proto, "://").concat(host, ":").concat(port); - if (proto && host && port) return url; - if (isPrimary) throw new Error("invalid url ".concat(url)); - return null; -} - -/** - * Service mesh client impl. Uses websocket and service-locator - * adapters through ports injected into the {@link mesh} model. - * Cf. modelSpec by the same name, i.e. `webswitch`. - */ -var ServiceMeshClient = /*#__PURE__*/function (_EventEmitter) { - _inherits(ServiceMeshClient, _EventEmitter); - var _super = _createSuper(ServiceMeshClient); - function ServiceMeshClient(mesh) { - var _this; - _classCallCheck(this, ServiceMeshClient); - _this = _super.call(this, 'webswitch'); - _this.url; - _this.mesh = mesh; - _this.name = SERVICENAME; - _this.isPrimary = isPrimary; - _this.isBackup = isBackup; - _this.pong = true; - _this.heartbeatTimer = 3000; - _this.headers = { - 'x-webswitch-host': os__WEBPACK_IMPORTED_MODULE_0___default().hostname(), - 'x-webswitch-role': 'node', - 'x-webswitch-pid': process.pid - }; - return _this; - } - - /** - * - * @param {number} asyncId id's instance to kill - * @returns {{telemetry:{mem:number,cpu:number}}} - */ - _createClass(ServiceMeshClient, [{ - key: "telemetry", - value: function telemetry() { - return { - eventName: 'telemetry', - proto: this.name, - apiUrl: apiUrl, - heartbeatMs: heartbeatMs, - hostname: os__WEBPACK_IMPORTED_MODULE_0___default().hostname(), - role: 'node', - pid: process.pid, - telemetry: _objectSpread(_objectSpread(_objectSpread({}, process.memoryUsage()), process.cpuUsage()), performance.nodeTiming), - services: this.mesh.listServices(), - socketState: this.mesh.websocketStatus() || 'undefined' - }; - } - - /** - * Zero-config, self-forming mesh network: - * Discover URL of broker to connect to, or - * if this is the broker, cast the local url - * @returns {Promise} url - */ - }, { - key: "resolveUrl", - value: function () { - var _resolveUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return this.mesh.serviceLocatorInit({ - serviceUrl: serviceUrl(), - name: this.name, - primary: this.isPrimary, - backup: this.isBackup - }); - case 2: - if (!this.isPrimary) { - _context.next = 6; - break; - } - _context.next = 5; - return this.mesh.serviceLocatorAnswer(); - case 5: - return _context.abrupt("return", serviceUrl()); - case 6: - return _context.abrupt("return", override ? serviceUrl() : this.mesh.serviceLocatorAsk()); - case 7: - case "end": - return _context.stop(); - } - } - }, _callee, this); - })); - function resolveUrl() { - return _resolveUrl.apply(this, arguments); - } - return resolveUrl; - }() - /** - * Use multicast dns to resolve broker url. Connect to - * service mesh broker. Allow listeners to subscribe to - * indivdual or all events. Send binary messages with - * protocol and idempotentency headers. Periodically send - * telemetry data. - * - * @param {*} options - * @returns - */ - }, { - key: "connect", - value: function () { - var _connect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - var _this2 = this; - var options, - _args2 = arguments; - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - options = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : { - binary: true - }; - this.options = options; - _context2.next = 4; - return this.resolveUrl(); - case 4: - this.url = _context2.sent; - this.mesh.websocketConnect(this.url, { - agent: false, - headers: this.headers, - protocol: SERVICENAME, - useBinary: options.binary - }); - this.mesh.websocketOnOpen(function () { - console.log('connection open'); - _this2.send(_this2.telemetry()); - _this2.heartbeat(); - setTimeout(function () { - return _this2.sendQueuedMsgs(); - }, 3000); - }); - this.mesh.websocketOnMessage(function (message) { - if (!message.eventName) { - debug && console.debug({ - missingEventName: message - }); - _this2.emit('missingEventName', message); - return; - } - try { - _this2.emit(message.eventName, message); - _this2.listeners('*').forEach(function (listener) { - return listener(message); - }); - } catch (error) { - console.error({ - fn: _this2.connect.name, - error: error - }); - } - }); - this.mesh.websocketOnError(function (error) { - _this2.emit(WSOCKETERROR, error); - console.error({ - fn: _this2.connect.name, - error: error - }); - }); - this.mesh.websocketOnClose(function (code, reason) { - console.log({ - msg: 'received close frame', - code: code, - reason: reason === null || reason === void 0 ? void 0 : reason.toString() - }); - clearTimeout(_this2.heartbeatTimer); - setTimeout(function () { - console.debug('reconnect due to socket close'); - _this2.connect(); - }, 5000); - }); - this.mesh.websocketOnPong(function () { - return _this2.pong = true; - }); - this.once('timeout', this.timeout); - case 12: - case "end": - return _context2.stop(); - } - } - }, _callee2, this); - })); - function connect() { - return _connect.apply(this, arguments); - } - return connect; - }() - }, { - key: "timeout", - value: function timeout() { - var _this3 = this; - console.warn('timeout'); - this.emit(HBEATTIMEOUT, this.telemetry()); - this.mesh.websocketTerminate(); - setTimeout(function () { - console.debug('reconnect due to timeout'); - _this3.connect(); - }, 5000); - } - }, { - key: "heartbeat", - value: function heartbeat() { - var _this4 = this; - if (this.pong) { - this.pong = false; - this.mesh.websocketPing(); - this.heartbeatTimer = setTimeout(function () { - return _this4.heartbeat(); - }, heartbeatMs); - } else { - clearTimeout(this.heartbeatTimer); - this.emit('timeout'); - } - } - - /** - * Convert message to binary and send with protocol and idempotency headers. - * If message cannot be sent because of connection state or buffering queue - * message in domain object for retry later. Using a domain object ensures - * persistence of the queue across boots. - * - * @param {object} msg - * @returns {Promise} true if sent, false if not - */ - }, { - key: "send", - value: function send(msg) { - var sent = this.mesh.websocketSend(msg, { - headers: _objectSpread(_objectSpread({}, this.headers), {}, { - 'idempotency-key': (0,nanoid__WEBPACK_IMPORTED_MODULE_2__.nanoid)() - }) - }); - if (sent) return true; - this.mesh.enqueue(msg); - return false; - } - - /** - * Send any messages buffered in `sendQueue`. - */ - }, { - key: "sendQueuedMsgs", - value: function sendQueuedMsgs() { - var sent = true; - while (this.mesh.queueDepth() > 0 && sent) { - sent = this.send(this.mesh.dequeue()); - } - } - - /** - * Connects if needed then sends message to mesh broker service. - * @param {*} msg - */ - }, { - key: "publish", - value: function publish(msg) { - return this.send(msg); - } - - /** - * Register handler to fire on event - * @param {string} eventName - * @param {function()} callback - */ - }, { - key: "subscribe", - value: function subscribe(eventName, callback) { - this.on(eventName, callback); - } - - /** - * A new object will be created on system reload. - * Dispose of the old one. Run in context to - * distinguish between the new and old instance. - * - * @param {*} code - * @param {*} reason - */ - }, { - key: "close", - value: function () { - var _close = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(code, reason) { - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - console.debug('closing socket'); - _context3.next = 3; - return this.mesh.save(); - case 3: - // save queued messages - this.removeAllListeners(); - this.mesh.websocketClose(code, reason); - case 5: - case "end": - return _context3.stop(); - } - } - }, _callee3, this); - })); - function close(_x, _x2) { - return _close.apply(this, arguments); - } - return close; - }() - }]); - return ServiceMeshClient; -}((events__WEBPACK_IMPORTED_MODULE_1___default())); +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: */ +/***/ (() => { -/** - * Domain model factory function. This model is - * used internally by the Aegis framework as a - * pluggable service mesh client. Implement the - * the methods below to create a new plugin. - * - * @param {*} dependencies injected depedencies - * @returns - */ -function makeClient(dependencies) { - var client; - return function (_ref) { - var listServices = _ref.listServices; - return { - listServices: listServices, - sendQueue: [], - sendQueueMax: 1000, - queueDepth: function queueDepth() { - return this.sendQueue.length; - }, - enqueue: function enqueue(msg) { - this.sendQueue.push(msg); - }, - dequeue: function dequeue() { - return this.sendQueue.shift(); - }, - getClient: function getClient() { - if (client) return client; - client = new ServiceMeshClient(this); - return client; - }, - connect: function connect(options) { - var _this5 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() { - return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - _this5.getClient().connect(options); - case 1: - case "end": - return _context4.stop(); - } - } - }, _callee4); - }))(); - }, - publish: function publish(event) { - var _this6 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() { - return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - _this6.getClient().publish(event); - case 1: - case "end": - return _context5.stop(); - } - } - }, _callee5); - }))(); - }, - subscribe: function subscribe(eventName, handler) { - this.getClient().subscribe(eventName, handler); - }, - close: function close(code, reason) { - var _this7 = this; - return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() { - return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) { - switch (_context6.prev = _context6.next) { - case 0: - _this7.getClient().close(code, reason); - case 1: - case "end": - return _context6.stop(); - } - } - }, _callee6); - }))(); - } - }; - }; -} +throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nSyntaxError: /Users/tysonmidboe/Code/aegis-app/src/domain/webswitch.js: Unexpected token (91:14)\n\n\u001b[0m \u001b[90m 89 |\u001b[39m }\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 90 |\u001b[39m services\u001b[33m:\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mmesh\u001b[33m.\u001b[39mlistServices()\u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 91 |\u001b[39m events\u001b[33m:\u001b[39m \u001b[33m,\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 92 |\u001b[39m socketState\u001b[33m:\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mmesh\u001b[33m.\u001b[39mwebsocketStatus() \u001b[33m||\u001b[39m \u001b[32m'undefined'\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 93 |\u001b[39m }\u001b[0m\n\u001b[0m \u001b[90m 94 |\u001b[39m }\u001b[0m\n at instantiate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:67:32)\n at constructor (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:364:12)\n at Parser.raise (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:3363:19)\n at Parser.unexpected (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:3396:16)\n at Parser.parseExprAtom (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11579:22)\n at Parser.parseExprSubscripts (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11182:23)\n at Parser.parseUpdate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11164:21)\n at Parser.parseMaybeUnary (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11138:23)\n at Parser.parseMaybeUnaryOrPrivate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10967:61)\n at Parser.parseExprOps (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10973:23)\n at Parser.parseMaybeConditional (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10948:23)\n at Parser.parseMaybeAssign (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10906:21)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10874:39\n at Parser.allowInAnd (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12651:12)\n at Parser.parseMaybeAssignAllowIn (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10874:17)\n at Parser.parseObjectProperty (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12138:83)\n at Parser.parseObjPropValue (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12165:100)\n at Parser.parsePropertyDefinition (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12094:17)\n at Parser.parseObjectLike (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12004:21)\n at Parser.parseExprAtom (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11475:23)\n at Parser.parseExprSubscripts (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11182:23)\n at Parser.parseUpdate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11164:21)\n at Parser.parseMaybeUnary (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:11138:23)\n at Parser.parseMaybeUnaryOrPrivate (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10967:61)\n at Parser.parseExprOps (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10973:23)\n at Parser.parseMaybeConditional (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10948:23)\n at Parser.parseMaybeAssign (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10906:21)\n at Parser.parseExpressionBase (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10856:23)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10851:39\n at Parser.allowInAnd (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12646:16)\n at Parser.parseExpression (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:10851:17)\n at Parser.parseReturnStatement (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13364:28)\n at Parser.parseStatementContent (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13003:21)\n at Parser.parseStatementLike (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12963:17)\n at Parser.parseStatementListItem (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12948:17)\n at Parser.parseBlockOrModuleBlockBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13569:61)\n at Parser.parseBlockBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13561:10)\n at Parser.parseBlock (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13549:10)\n at Parser.parseFunctionBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12298:24)\n at Parser.parseFunctionBodyAndFinish (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12282:10)\n at Parser.parseMethod (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12237:31)\n at Parser.pushClassMethod (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14036:30)\n at Parser.parseClassMemberWithIsStatic (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13906:12)\n at Parser.parseClassMember (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13848:10)\n at /Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13790:14\n at Parser.withSmartMixTopicForbiddingContext (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:12628:14)\n at Parser.parseClassBody (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13769:10)\n at Parser.parseClass (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:13744:22)\n at Parser.parseExportDeclaration (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14254:25)\n at Parser.maybeParseExportDeclaration (/Users/tysonmidboe/Code/aegis-app/node_modules/@babel/parser/lib/index.js:14210:31)"); /***/ }), @@ -10389,7 +9463,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } @@ -10421,16 +9495,14 @@ var EventDispatcher = /*#__PURE__*/function () { var method, _args = arguments; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - method = _args.length > 2 && _args[2] !== undefined ? _args[2] : 'notify'; - _context.next = 3; - return this.adapter[method](topic, message); - case 3: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + method = _args.length > 2 && _args[2] !== undefined ? _args[2] : 'notify'; + _context.next = 3; + return this.adapter[method](topic, message); + case 3: + case "end": + return _context.stop(); } }, _callee, this); })); @@ -10447,31 +9519,29 @@ var EventDispatcher = /*#__PURE__*/function () { emitEvent, _args2 = arguments; return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - emitEvent = function _emitEvent2(topic, message) { - this.emitEvent(topic, message); - }; - method = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : 'listen'; - _context2.next = 4; - return this.adapter[method](/Channel/, function (_ref) { - var _this = this; - var topic = _ref.topic, - message = _ref.message; - if (this.subscriptions.has(topic)) { - this.subscriptions.get(topic).forEach(function (callback) { - return callback({ - message: message, - emitEvent: emitEvent.bind(_this) - }); + while (1) switch (_context2.prev = _context2.next) { + case 0: + emitEvent = function _emitEvent2(topic, message) { + this.emitEvent(topic, message); + }; + method = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : 'listen'; + _context2.next = 4; + return this.adapter[method](/Channel/, function (_ref) { + var _this = this; + var topic = _ref.topic, + message = _ref.message; + if (this.subscriptions.has(topic)) { + this.subscriptions.get(topic).forEach(function (callback) { + return callback({ + message: message, + emitEvent: emitEvent.bind(_this) }); - } - }.bind(this)); - case 4: - case "end": - return _context2.stop(); - } + }); + } + }.bind(this)); + case 4: + case "end": + return _context2.stop(); } }, _callee2, this); })); @@ -10503,7 +9573,7 @@ __webpack_require__.r(__webpack_exports__); var session = __webpack_require__(/*! express-session */ "./node_modules/express-session/index.js"); -var express = __webpack_require__(/*! express */ "./node_modules/express/index.js"); +var express = __webpack_require__(Object(function webpackMissingModule() { var e = new Error("Cannot find module 'express'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())); var http = __webpack_require__(/*! http */ "http"); var WebSocket = __webpack_require__(/*! ws */ "./node_modules/ws/index.js"); var _require = __webpack_require__(/*! ./domain/utils */ "./src/domain/utils.js"), @@ -10744,7 +9814,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va 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); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -10771,21 +9841,19 @@ var Registry = { }); setTimeout( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return emitEvent(topic, JSON.stringify({ - eventData: eventData, - eventName: eventName, - eventTime: new Date().toISOString(), - eventType: 'commandResponse', - eventSource: eventSource - })); - case 2: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return emitEvent(topic, JSON.stringify({ + eventData: eventData, + eventName: eventName, + eventTime: new Date().toISOString(), + eventType: 'commandResponse', + eventSource: eventSource + })); + case 2: + case "end": + return _context.stop(); } }, _callee); })), 5000); @@ -10893,7 +9961,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var uuid = __webpack_require__(/*! ../domain/utils */ "./src/domain/utils.js").uuid; @@ -10918,66 +9986,64 @@ var Address = { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var lookup, response, candidate, validatedAddress; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - console.log("REAL validating address...".concat(address)); - if (address) { - _context.next = 4; - break; - } - console.log('no address'); - return _context.abrupt("return"); - case 4: - if (!disabled) { - _context.next = 7; - break; - } - console.log('address service disabled'); - return _context.abrupt("return", address); - case 7: - _context.prev = 7; - lookup = new Lookup(); - lookup.inputId = uuid(); - lookup.street = address; - lookup.maxCandidates = 1; - _context.prev = 12; - _context.next = 15; - return client.send(lookup); - case 15: - response = _context.sent; - _context.next = 21; + while (1) switch (_context.prev = _context.next) { + case 0: + console.log("REAL validating address...".concat(address)); + if (address) { + _context.next = 4; break; - case 18: - _context.prev = 18; - _context.t0 = _context["catch"](12); - throw new Error(_context.t0); - case 21: - candidate = response.lookups[0].result[0]; - if (candidate) { - _context.next = 24; - break; - } - throw new Error('invalid address'); - case 24: - validatedAddress = [candidate.deliveryLine1, candidate.deliveryLine2, candidate.lastLine].join(' '); - console.log("address: ".concat(validatedAddress)); - if (validatedAddress) { - _context.next = 28; - break; - } - throw new Error('invalid address'); - case 28: - return _context.abrupt("return", validatedAddress); - case 31: - _context.prev = 31; - _context.t1 = _context["catch"](7); - console.error(_context.t1); - throw new Error('Address service error', _context.t1.message); - case 35: - case "end": - return _context.stop(); - } + } + console.log('no address'); + return _context.abrupt("return"); + case 4: + if (!disabled) { + _context.next = 7; + break; + } + console.log('address service disabled'); + return _context.abrupt("return", address); + case 7: + _context.prev = 7; + lookup = new Lookup(); + lookup.inputId = uuid(); + lookup.street = address; + lookup.maxCandidates = 1; + _context.prev = 12; + _context.next = 15; + return client.send(lookup); + case 15: + response = _context.sent; + _context.next = 21; + break; + case 18: + _context.prev = 18; + _context.t0 = _context["catch"](12); + throw new Error(_context.t0); + case 21: + candidate = response.lookups[0].result[0]; + if (candidate) { + _context.next = 24; + break; + } + throw new Error('invalid address'); + case 24: + validatedAddress = [candidate.deliveryLine1, candidate.deliveryLine2, candidate.lastLine].join(' '); + console.log("address: ".concat(validatedAddress)); + if (validatedAddress) { + _context.next = 28; + break; + } + throw new Error('invalid address'); + case 28: + return _context.abrupt("return", validatedAddress); + case 31: + _context.prev = 31; + _context.t1 = _context["catch"](7); + console.error(_context.t1); + throw new Error('Address service error', _context.t1.message); + case 35: + case "end": + return _context.stop(); } }, _callee, null, [[7, 31], [12, 18]]); }))(); @@ -11050,7 +10116,7 @@ __webpack_require__.r(__webpack_exports__); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } @@ -11081,62 +10147,58 @@ var Event = { var _this = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - _context2.prev = 0; - _context2.next = 3; - return consumer.connect(); - case 3: - _context2.next = 5; - return consumer.subscribe({ - topic: topic, - fromBeginning: true - }); - case 5: - _this.listening = true; - _context2.next = 8; - return consumer.run({ - eachMessage: function () { - var _eachMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { - var topic, message; - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - topic = _ref.topic, message = _ref.message; - try { - callback({ - topic: topic, - message: message.value.toString() - }); - } catch (error) { - console.error(error); - } - case 2: - case "end": - return _context.stop(); + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.prev = 0; + _context2.next = 3; + return consumer.connect(); + case 3: + _context2.next = 5; + return consumer.subscribe({ + topic: topic, + fromBeginning: true + }); + case 5: + _this.listening = true; + _context2.next = 8; + return consumer.run({ + eachMessage: function () { + var _eachMessage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) { + var topic, message; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + topic = _ref.topic, message = _ref.message; + try { + callback({ + topic: topic, + message: message.value.toString() + }); + } catch (error) { + console.error(error); } - } - }, _callee); - })); - function eachMessage(_x) { - return _eachMessage.apply(this, arguments); - } - return eachMessage; - }() - }); - case 8: - _context2.next = 13; - break; - case 10: - _context2.prev = 10; - _context2.t0 = _context2["catch"](0); - console.error(_context2.t0); - case 13: - case "end": - return _context2.stop(); - } + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + function eachMessage(_x) { + return _eachMessage.apply(this, arguments); + } + return eachMessage; + }() + }); + case 8: + _context2.next = 13; + break; + case 10: + _context2.prev = 10; + _context2.t0 = _context2["catch"](0); + console.error(_context2.t0); + case 13: + case "end": + return _context2.stop(); } }, _callee2, null, [[0, 10]]); }))(); @@ -11150,37 +10212,35 @@ var Event = { var _this2 = this; return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - _context3.prev = 0; - _context3.next = 3; - return producer.connect(); - case 3: - _context3.next = 5; - return producer.send({ - topic: topic, - messages: [{ - value: message - }] - }); - case 5: - _context3.next = 7; - return producer.disconnect(); - case 7: - _context3.next = 12; - break; - case 9: - _context3.prev = 9; - _context3.t0 = _context3["catch"](0); - console.error({ - func: _this2.notify.name, - error: _context3.t0 - }); - case 12: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.prev = 0; + _context3.next = 3; + return producer.connect(); + case 3: + _context3.next = 5; + return producer.send({ + topic: topic, + messages: [{ + value: message + }] + }); + case 5: + _context3.next = 7; + return producer.disconnect(); + case 7: + _context3.next = 12; + break; + case 9: + _context3.prev = 9; + _context3.t0 = _context3["catch"](0); + console.error({ + func: _this2.notify.name, + error: _context3.t0 + }); + case 12: + case "end": + return _context3.stop(); } }, _callee3, null, [[0, 9]]); }))(); @@ -11296,7 +10356,7 @@ __webpack_require__.r(__webpack_exports__); // accessToken: process.env.SQUARE_ACCESS_TOKEN, // }); function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } -function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } +function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var Payment = { @@ -11314,71 +10374,69 @@ var Payment = { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() { var autocomplete, currency, payload; return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - autocomplete = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : false; - currency = _arguments.length > 5 && _arguments[5] !== undefined ? _arguments[5] : "USD"; - payload = { - idempotency_key: id, - amount_money: { - amount: amount, - currency: currency - }, - source_id: source_id, - autocomplete: autocomplete, - customer_id: customer_id, - location_id: "XK3DBG77NJBFX", - reference_id: "123456", - note: "Brief description", - app_fee_money: { - amount: 10, - currency: "USD" - } - }; - /* - const bodyAmountMoney = {}; - bodyAmountMoney.amount = 200; - bodyAmountMoney.currency = "USD"; - const bodyTipMoney = {}; - bodyTipMoney.amount = 198; - bodyTipMoney.currency = "CHF"; - const bodyAppFeeMoney = {}; - bodyAppFeeMoney.amount = 10; - bodyAppFeeMoney.currency = "USD"; - const body = { - sourceId: "ccof:uIbfJXhXETSP197M3GB", - idempotencyKey: "4935a656-a929-4792-b97c-8848be85c27c", - amountMoney: bodyAmountMoney, - }; - body.tipMoney = bodyTipMoney; - body.appFeeMoney = bodyAppFeeMoney; - body.delayDuration = "delay_duration6"; - body.autocomplete = true; - body.orderId = "order_id0"; - body.customerId = "VDKXEEKPJN48QDG3BGGFAK05P8"; - body.locationId = "XK3DBG77NJBFX"; - body.referenceId = "123456"; - body.note = "Brief description"; - // try { - // const { - // result, - // ...httpResponse - // } = await client.paymentsApi.createPayment(body); - // // Get more response info... - // // const { statusCode, headers } = httpResponse; - // } catch (error) { - // if (error instanceof ApiError) { - // const errors = error.result; - // // const { statusCode, headers } = error; - // } - // } - */ - return _context.abrupt("return", "1234"); - case 4: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + autocomplete = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : false; + currency = _arguments.length > 5 && _arguments[5] !== undefined ? _arguments[5] : "USD"; + payload = { + idempotency_key: id, + amount_money: { + amount: amount, + currency: currency + }, + source_id: source_id, + autocomplete: autocomplete, + customer_id: customer_id, + location_id: "XK3DBG77NJBFX", + reference_id: "123456", + note: "Brief description", + app_fee_money: { + amount: 10, + currency: "USD" + } + }; + /* + const bodyAmountMoney = {}; + bodyAmountMoney.amount = 200; + bodyAmountMoney.currency = "USD"; + const bodyTipMoney = {}; + bodyTipMoney.amount = 198; + bodyTipMoney.currency = "CHF"; + const bodyAppFeeMoney = {}; + bodyAppFeeMoney.amount = 10; + bodyAppFeeMoney.currency = "USD"; + const body = { + sourceId: "ccof:uIbfJXhXETSP197M3GB", + idempotencyKey: "4935a656-a929-4792-b97c-8848be85c27c", + amountMoney: bodyAmountMoney, + }; + body.tipMoney = bodyTipMoney; + body.appFeeMoney = bodyAppFeeMoney; + body.delayDuration = "delay_duration6"; + body.autocomplete = true; + body.orderId = "order_id0"; + body.customerId = "VDKXEEKPJN48QDG3BGGFAK05P8"; + body.locationId = "XK3DBG77NJBFX"; + body.referenceId = "123456"; + body.note = "Brief description"; + // try { + // const { + // result, + // ...httpResponse + // } = await client.paymentsApi.createPayment(body); + // // Get more response info... + // // const { statusCode, headers } = httpResponse; + // } catch (error) { + // if (error instanceof ApiError) { + // const errors = error.result; + // // const { statusCode, headers } = error; + // } + // } + */ + return _context.abrupt("return", "1234"); + case 4: + case "end": + return _context.stop(); } }, _callee); }))(); @@ -11457,15 +10515,13 @@ var Payment = { completePayment: function completePayment(model) { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - console.log("REAL completing payment: %s", model.orderNo); - return _context2.abrupt("return", "1234"); - case 2: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + console.log("REAL completing payment: %s", model.orderNo); + return _context2.abrupt("return", "1234"); + case 2: + case "end": + return _context2.stop(); } }, _callee2); }))(); @@ -11473,14 +10529,12 @@ var Payment = { refundPayment: function refundPayment(model) { return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() { return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - console.log("REAL refunding payment: %s", model.orderNo); - case 1: - case "end": - return _context3.stop(); - } + while (1) switch (_context3.prev = _context3.next) { + case 0: + console.log("REAL refunding payment: %s", model.orderNo); + case 1: + case "end": + return _context3.stop(); } }, _callee3); }))(); @@ -11697,9014 +10751,8477 @@ var Shipping = { /***/ }), -/***/ "./node_modules/body-parser/index.js": -/*!*******************************************!*\ - !*** ./node_modules/body-parser/index.js ***! - \*******************************************/ +/***/ "./node_modules/bufferutil/fallback.js": +/*!*********************************************!*\ + !*** ./node_modules/bufferutil/fallback.js ***! + \*********************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 37:10-24 */ -/*! CommonJS bailout: exports is used directly at 37:0-7 */ -/*! CommonJS bailout: exports.urlencoded(...) prevents optimization as exports is passed as call context as 104:20-38 */ -/*! CommonJS bailout: exports.json(...) prevents optimization as exports is passed as call context as 105:14-26 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ +/***/ ((module) => { "use strict"; -/*! - * body-parser - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - /** - * Module dependencies. - * @private + * Masks a buffer using the given mask. + * + * @param {Buffer} source The buffer to mask + * @param {Buffer} mask The mask to use + * @param {Buffer} output The buffer where to store the result + * @param {Number} offset The offset at which to start writing + * @param {Number} length The number of bytes to mask. + * @public */ - -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('body-parser') +const mask = (source, mask, output, offset, length) => { + for (var i = 0; i < length; i++) { + output[offset + i] = source[i] ^ mask[i & 3]; + } +}; /** - * Cache of loaded parsers. - * @private + * Unmasks a buffer using the given mask. + * + * @param {Buffer} buffer The buffer to unmask + * @param {Buffer} mask The mask to use + * @public */ +const unmask = (buffer, mask) => { + // Required until https://github.com/nodejs/node/issues/9006 is resolved. + const length = buffer.length; + for (var i = 0; i < length; i++) { + buffer[i] ^= mask[i & 3]; + } +}; -var parsers = Object.create(null) +module.exports = { mask, unmask }; -/** - * @typedef Parsers - * @type {function} - * @property {function} json - * @property {function} raw - * @property {function} text - * @property {function} urlencoded - */ -/** - * Module exports. - * @type {Parsers} - */ +/***/ }), -exports = module.exports = deprecate.function(bodyParser, - 'bodyParser: use individual json/urlencoded middlewares') +/***/ "./node_modules/bufferutil/index.js": +/*!******************************************!*\ + !*** ./node_modules/bufferutil/index.js ***! + \******************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:2-16 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * JSON parser. - * @public - */ +"use strict"; +var __dirname = "/"; -Object.defineProperty(exports, "json", ({ - configurable: true, - enumerable: true, - get: createParserGetter('json') -})) -/** - * Raw parser. - * @public - */ +try { + module.exports = __webpack_require__(/*! node-gyp-build */ "./node_modules/node-gyp-build/index.js")(__dirname); +} catch (e) { + module.exports = __webpack_require__(/*! ./fallback */ "./node_modules/bufferutil/fallback.js"); +} -Object.defineProperty(exports, "raw", ({ - configurable: true, - enumerable: true, - get: createParserGetter('raw') -})) -/** - * Text parser. - * @public - */ +/***/ }), -Object.defineProperty(exports, "text", ({ - configurable: true, - enumerable: true, - get: createParserGetter('text') -})) +/***/ "./node_modules/cookie-signature/index.js": +/*!************************************************!*\ + !*** ./node_modules/cookie-signature/index.js ***! + \************************************************/ +/*! default exports */ +/*! export sign [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export unsign [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__, __webpack_require__ */ +/*! CommonJS bailout: exports.sign(...) prevents optimization as exports is passed as call context as 40:12-24 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { /** - * URL-encoded parser. - * @public + * Module dependencies. */ -Object.defineProperty(exports, "urlencoded", ({ - configurable: true, - enumerable: true, - get: createParserGetter('urlencoded') -})) +var crypto = __webpack_require__(/*! crypto */ "crypto"); /** - * Create a middleware to parse json and urlencoded bodies. + * Sign the given `val` with `secret`. * - * @param {object} [options] - * @return {function} - * @deprecated - * @public + * @param {String} val + * @param {String} secret + * @return {String} + * @api private */ -function bodyParser (options) { - // use default type for parsers - var opts = Object.create(options || null, { - type: { - configurable: true, - enumerable: true, - value: undefined, - writable: true - } - }) - - var _urlencoded = exports.urlencoded(opts) - var _json = exports.json(opts) - - return function bodyParser (req, res, next) { - _json(req, res, function (err) { - if (err) return next(err) - _urlencoded(req, res, next) - }) - } -} +exports.sign = function(val, secret){ + if ('string' != typeof val) throw new TypeError("Cookie value must be provided as a string."); + if ('string' != typeof secret) throw new TypeError("Secret string must be provided."); + return val + '.' + crypto + .createHmac('sha256', secret) + .update(val) + .digest('base64') + .replace(/\=+$/, ''); +}; /** - * Create a getter for loading a parser. - * @private + * Unsign and decode the given `val` with `secret`, + * returning `false` if the signature is invalid. + * + * @param {String} val + * @param {String} secret + * @return {String|Boolean} + * @api private */ -function createParserGetter (name) { - return function get () { - return loadParser(name) - } -} +exports.unsign = function(val, secret){ + if ('string' != typeof val) throw new TypeError("Signed cookie string must be provided."); + if ('string' != typeof secret) throw new TypeError("Secret string must be provided."); + var str = val.slice(0, val.lastIndexOf('.')) + , mac = exports.sign(str, secret); + + return sha1(mac) == sha1(val) ? str : false; +}; /** - * Load a parser module. - * @private + * Private */ -function loadParser (parserName) { - var parser = parsers[parserName] - - if (parser !== undefined) { - return parser - } - - // this uses a switch for static require analysis - switch (parserName) { - case 'json': - parser = __webpack_require__(/*! ./lib/types/json */ "./node_modules/body-parser/lib/types/json.js") - break - case 'raw': - parser = __webpack_require__(/*! ./lib/types/raw */ "./node_modules/body-parser/lib/types/raw.js") - break - case 'text': - parser = __webpack_require__(/*! ./lib/types/text */ "./node_modules/body-parser/lib/types/text.js") - break - case 'urlencoded': - parser = __webpack_require__(/*! ./lib/types/urlencoded */ "./node_modules/body-parser/lib/types/urlencoded.js") - break - } - - // store to prevent invoking require() - return (parsers[parserName] = parser) +function sha1(str){ + return crypto.createHash('sha1').update(str).digest('hex'); } /***/ }), -/***/ "./node_modules/body-parser/lib/read.js": -/*!**********************************************!*\ - !*** ./node_modules/body-parser/lib/read.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/cookie/index.js": +/*!**************************************!*\ + !*** ./node_modules/cookie/index.js ***! + \**************************************/ +/*! default exports */ +/*! export parse [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export serialize [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { "use strict"; /*! - * body-parser - * Copyright(c) 2014-2015 Douglas Christopher Wilson + * cookie + * Copyright(c) 2012-2014 Roman Shtylman + * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ -/** - * Module dependencies. - * @private - */ - -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var destroy = __webpack_require__(/*! destroy */ "./node_modules/destroy/index.js") -var getBody = __webpack_require__(/*! raw-body */ "./node_modules/raw-body/index.js") -var iconv = __webpack_require__(/*! iconv-lite */ "./node_modules/iconv-lite/lib/index.js") -var onFinished = __webpack_require__(/*! on-finished */ "./node_modules/on-finished/index.js") -var unpipe = __webpack_require__(/*! unpipe */ "./node_modules/unpipe/index.js") -var zlib = __webpack_require__(/*! zlib */ "zlib") - /** * Module exports. + * @public */ -module.exports = read +exports.parse = parse; +exports.serialize = serialize; /** - * Read a request into a buffer and parse. - * - * @param {object} req - * @param {object} res - * @param {function} next - * @param {function} parse - * @param {function} debug - * @param {object} options + * Module variables. * @private */ -function read (req, res, next, parse, debug, options) { - var length - var opts = options - var stream - - // flag as parsed - req._body = true - - // read options - var encoding = opts.encoding !== null - ? opts.encoding - : null - var verify = opts.verify - - try { - // get the content stream - stream = contentstream(req, debug, opts.inflate) - length = stream.length - stream.length = undefined - } catch (err) { - return next(err) - } - - // set raw-body options - opts.length = length - opts.encoding = verify - ? null - : encoding - - // assert charset is supported - if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) { - return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { - charset: encoding.toLowerCase(), - type: 'charset.unsupported' - })) - } - - // read body - debug('read body') - getBody(stream, opts, function (error, body) { - if (error) { - var _error - - if (error.type === 'encoding.unsupported') { - // echo back charset - _error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { - charset: encoding.toLowerCase(), - type: 'charset.unsupported' - }) - } else { - // set status code on error - _error = createError(400, error) - } - - // unpipe from stream and destroy - if (stream !== req) { - unpipe(req) - destroy(stream, true) - } - - // read off entire request - dump(req, function onfinished () { - next(createError(400, _error)) - }) - return - } - - // verify - if (verify) { - try { - debug('verify body') - verify(req, res, body, encoding) - } catch (err) { - next(createError(403, err, { - body: body, - type: err.type || 'entity.verify.failed' - })) - return - } - } - - // parse - var str = body - try { - debug('parse body') - str = typeof body !== 'string' && encoding !== null - ? iconv.decode(body, encoding) - : body - req.body = parse(str) - } catch (err) { - next(createError(400, err, { - body: str, - type: err.type || 'entity.parse.failed' - })) - return - } - - next() - }) -} +var decode = decodeURIComponent; +var encode = encodeURIComponent; /** - * Get the content stream of the request. + * RegExp to match field-content in RFC 7230 sec 3.2 * - * @param {object} req - * @param {function} debug - * @param {boolean} [inflate=true] - * @return {object} - * @api private + * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] + * field-vchar = VCHAR / obs-text + * obs-text = %x80-FF */ -function contentstream (req, debug, inflate) { - var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase() - var length = req.headers['content-length'] - var stream - - debug('content-encoding "%s"', encoding) - - if (inflate === false && encoding !== 'identity') { - throw createError(415, 'content encoding unsupported', { - encoding: encoding, - type: 'encoding.unsupported' - }) - } - - switch (encoding) { - case 'deflate': - stream = zlib.createInflate() - debug('inflate body') - req.pipe(stream) - break - case 'gzip': - stream = zlib.createGunzip() - debug('gunzip body') - req.pipe(stream) - break - case 'identity': - stream = req - stream.length = length - break - default: - throw createError(415, 'unsupported content encoding "' + encoding + '"', { - encoding: encoding, - type: 'encoding.unsupported' - }) - } - - return stream -} +var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; /** - * Dump the contents of a request. + * Parse a cookie header. * - * @param {object} req - * @param {function} callback - * @api private + * Parse the given cookie header string into an object + * The object has the various cookies as keys(names) => values + * + * @param {string} str + * @param {object} [options] + * @return {object} + * @public */ -function dump (req, callback) { - if (onFinished.isFinished(req)) { - callback(null) - } else { - onFinished(req, callback) - req.resume() +function parse(str, options) { + if (typeof str !== 'string') { + throw new TypeError('argument str must be a string'); } -} - - -/***/ }), -/***/ "./node_modules/body-parser/lib/types/json.js": -/*!****************************************************!*\ - !*** ./node_modules/body-parser/lib/types/json.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var obj = {} + var opt = options || {}; + var pairs = str.split(';') + var dec = opt.decode || decode; -"use strict"; -/*! - * body-parser - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + for (var i = 0; i < pairs.length; i++) { + var pair = pairs[i]; + var index = pair.indexOf('=') + // skip things that don't look like key=value + if (index < 0) { + continue; + } + var key = pair.substring(0, index).trim() -/** - * Module dependencies. - * @private - */ + // only assign once + if (undefined == obj[key]) { + var val = pair.substring(index + 1, pair.length).trim() -var bytes = __webpack_require__(/*! bytes */ "./node_modules/bytes/index.js") -var contentType = __webpack_require__(/*! content-type */ "./node_modules/content-type/index.js") -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var debug = __webpack_require__(/*! debug */ "./node_modules/body-parser/node_modules/debug/src/index.js")('body-parser:json') -var read = __webpack_require__(/*! ../read */ "./node_modules/body-parser/lib/read.js") -var typeis = __webpack_require__(/*! type-is */ "./node_modules/type-is/index.js") + // quoted values + if (val[0] === '"') { + val = val.slice(1, -1) + } -/** - * Module exports. - */ + obj[key] = tryDecode(val, dec); + } + } -module.exports = json + return obj; +} /** - * RegExp to match the first non-space in a string. + * Serialize data into a cookie header. * - * Allowed whitespace is defined in RFC 7159: + * Serialize the a name value pair into a cookie string suitable for + * http headers. An optional options object specified cookie parameters. * - * ws = *( - * %x20 / ; Space - * %x09 / ; Horizontal tab - * %x0A / ; Line feed or New line - * %x0D ) ; Carriage return - */ - -var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/ // eslint-disable-line no-control-regex - -/** - * Create a middleware to parse JSON bodies. + * serialize('foo', 'bar', { httpOnly: true }) + * => "foo=bar; httpOnly" * + * @param {string} name + * @param {string} val * @param {object} [options] - * @return {function} + * @return {string} * @public */ -function json (options) { - var opts = options || {} +function serialize(name, val, options) { + var opt = options || {}; + var enc = opt.encode || encode; - var limit = typeof opts.limit !== 'number' - ? bytes.parse(opts.limit || '100kb') - : opts.limit - var inflate = opts.inflate !== false - var reviver = opts.reviver - var strict = opts.strict !== false - var type = opts.type || 'application/json' - var verify = opts.verify || false + if (typeof enc !== 'function') { + throw new TypeError('option encode is invalid'); + } - if (verify !== false && typeof verify !== 'function') { - throw new TypeError('option verify must be function') + if (!fieldContentRegExp.test(name)) { + throw new TypeError('argument name is invalid'); } - // create the appropriate type checking function - var shouldParse = typeof type !== 'function' - ? typeChecker(type) - : type + var value = enc(val); - function parse (body) { - if (body.length === 0) { - // special-case empty json body, as it's a common client-side mistake - // TODO: maybe make this configurable or part of "strict" option - return {} - } + if (value && !fieldContentRegExp.test(value)) { + throw new TypeError('argument val is invalid'); + } - if (strict) { - var first = firstchar(body) + var str = name + '=' + value; - if (first !== '{' && first !== '[') { - debug('strict violation') - throw createStrictSyntaxError(body, first) - } - } + if (null != opt.maxAge) { + var maxAge = opt.maxAge - 0; - try { - debug('parse json') - return JSON.parse(body, reviver) - } catch (e) { - throw normalizeJsonSyntaxError(e, { - message: e.message, - stack: e.stack - }) + if (isNaN(maxAge) || !isFinite(maxAge)) { + throw new TypeError('option maxAge is invalid') } + + str += '; Max-Age=' + Math.floor(maxAge); } - return function jsonParser (req, res, next) { - if (req._body) { - debug('body already parsed') - next() - return + if (opt.domain) { + if (!fieldContentRegExp.test(opt.domain)) { + throw new TypeError('option domain is invalid'); } - req.body = req.body || {} + str += '; Domain=' + opt.domain; + } - // skip requests without bodies - if (!typeis.hasBody(req)) { - debug('skip empty body') - next() - return + if (opt.path) { + if (!fieldContentRegExp.test(opt.path)) { + throw new TypeError('option path is invalid'); } - debug('content-type %j', req.headers['content-type']) - - // determine if request should be parsed - if (!shouldParse(req)) { - debug('skip parsing') - next() - return - } + str += '; Path=' + opt.path; + } - // assert charset per RFC 7159 sec 8.1 - var charset = getCharset(req) || 'utf-8' - if (charset.slice(0, 4) !== 'utf-') { - debug('invalid charset') - next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', { - charset: charset, - type: 'charset.unsupported' - })) - return + if (opt.expires) { + if (typeof opt.expires.toUTCString !== 'function') { + throw new TypeError('option expires is invalid'); } - // read - read(req, res, next, parse, debug, { - encoding: charset, - inflate: inflate, - limit: limit, - verify: verify - }) + str += '; Expires=' + opt.expires.toUTCString(); } -} -/** - * Create strict violation syntax error matching native error. - * - * @param {string} str - * @param {string} char - * @return {Error} - * @private - */ - -function createStrictSyntaxError (str, char) { - var index = str.indexOf(char) - var partial = index !== -1 - ? str.substring(0, index) + '#' - : '' - - try { - JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation') - } catch (e) { - return normalizeJsonSyntaxError(e, { - message: e.message.replace('#', char), - stack: e.stack - }) + if (opt.httpOnly) { + str += '; HttpOnly'; } -} - -/** - * Get the first non-whitespace character in a string. - * - * @param {string} str - * @return {function} - * @private - */ - -function firstchar (str) { - var match = FIRST_CHAR_REGEXP.exec(str) - - return match - ? match[1] - : undefined -} - -/** - * Get the charset of a request. - * - * @param {object} req - * @api private - */ -function getCharset (req) { - try { - return (contentType.parse(req).parameters.charset || '').toLowerCase() - } catch (e) { - return undefined + if (opt.secure) { + str += '; Secure'; } -} - -/** - * Normalize a SyntaxError for JSON.parse. - * - * @param {SyntaxError} error - * @param {object} obj - * @return {SyntaxError} - */ -function normalizeJsonSyntaxError (error, obj) { - var keys = Object.getOwnPropertyNames(error) + if (opt.sameSite) { + var sameSite = typeof opt.sameSite === 'string' + ? opt.sameSite.toLowerCase() : opt.sameSite; - for (var i = 0; i < keys.length; i++) { - var key = keys[i] - if (key !== 'stack' && key !== 'message') { - delete error[key] + switch (sameSite) { + case true: + str += '; SameSite=Strict'; + break; + case 'lax': + str += '; SameSite=Lax'; + break; + case 'strict': + str += '; SameSite=Strict'; + break; + case 'none': + str += '; SameSite=None'; + break; + default: + throw new TypeError('option sameSite is invalid'); } } - // replace stack before message for Node.js 0.10 and below - error.stack = obj.stack.replace(error.message, obj.message) - error.message = obj.message - - return error + return str; } /** - * Get the simple type checker. + * Try decoding a string using a decoding function. * - * @param {string} type - * @return {function} + * @param {string} str + * @param {function} decode + * @private */ -function typeChecker (type) { - return function checkType (req) { - return Boolean(typeis(req, type)) +function tryDecode(str, decode) { + try { + return decode(str); + } catch (e) { + return str; } } /***/ }), -/***/ "./node_modules/body-parser/lib/types/raw.js": -/*!***************************************************!*\ - !*** ./node_modules/body-parser/lib/types/raw.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ +/***/ "./node_modules/core-js/es6/index.js": +/*!*******************************************!*\ + !*** ./node_modules/core-js/es6/index.js ***! + \*******************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js/modules/_core.js */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * body-parser - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - */ - -var bytes = __webpack_require__(/*! bytes */ "./node_modules/bytes/index.js") -var debug = __webpack_require__(/*! debug */ "./node_modules/body-parser/node_modules/debug/src/index.js")('body-parser:raw') -var read = __webpack_require__(/*! ../read */ "./node_modules/body-parser/lib/read.js") -var typeis = __webpack_require__(/*! type-is */ "./node_modules/type-is/index.js") - -/** - * Module exports. - */ - -module.exports = raw - -/** - * Create a middleware to parse raw bodies. - * - * @param {object} [options] - * @return {function} - * @api public - */ - -function raw (options) { - var opts = options || {} +__webpack_require__(/*! ../modules/es6.symbol */ "./node_modules/core-js/modules/es6.symbol.js"); +__webpack_require__(/*! ../modules/es6.object.create */ "./node_modules/core-js/modules/es6.object.create.js"); +__webpack_require__(/*! ../modules/es6.object.define-property */ "./node_modules/core-js/modules/es6.object.define-property.js"); +__webpack_require__(/*! ../modules/es6.object.define-properties */ "./node_modules/core-js/modules/es6.object.define-properties.js"); +__webpack_require__(/*! ../modules/es6.object.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"); +__webpack_require__(/*! ../modules/es6.object.get-prototype-of */ "./node_modules/core-js/modules/es6.object.get-prototype-of.js"); +__webpack_require__(/*! ../modules/es6.object.keys */ "./node_modules/core-js/modules/es6.object.keys.js"); +__webpack_require__(/*! ../modules/es6.object.get-own-property-names */ "./node_modules/core-js/modules/es6.object.get-own-property-names.js"); +__webpack_require__(/*! ../modules/es6.object.freeze */ "./node_modules/core-js/modules/es6.object.freeze.js"); +__webpack_require__(/*! ../modules/es6.object.seal */ "./node_modules/core-js/modules/es6.object.seal.js"); +__webpack_require__(/*! ../modules/es6.object.prevent-extensions */ "./node_modules/core-js/modules/es6.object.prevent-extensions.js"); +__webpack_require__(/*! ../modules/es6.object.is-frozen */ "./node_modules/core-js/modules/es6.object.is-frozen.js"); +__webpack_require__(/*! ../modules/es6.object.is-sealed */ "./node_modules/core-js/modules/es6.object.is-sealed.js"); +__webpack_require__(/*! ../modules/es6.object.is-extensible */ "./node_modules/core-js/modules/es6.object.is-extensible.js"); +__webpack_require__(/*! ../modules/es6.object.assign */ "./node_modules/core-js/modules/es6.object.assign.js"); +__webpack_require__(/*! ../modules/es6.object.is */ "./node_modules/core-js/modules/es6.object.is.js"); +__webpack_require__(/*! ../modules/es6.object.set-prototype-of */ "./node_modules/core-js/modules/es6.object.set-prototype-of.js"); +__webpack_require__(/*! ../modules/es6.object.to-string */ "./node_modules/core-js/modules/es6.object.to-string.js"); +__webpack_require__(/*! ../modules/es6.function.bind */ "./node_modules/core-js/modules/es6.function.bind.js"); +__webpack_require__(/*! ../modules/es6.function.name */ "./node_modules/core-js/modules/es6.function.name.js"); +__webpack_require__(/*! ../modules/es6.function.has-instance */ "./node_modules/core-js/modules/es6.function.has-instance.js"); +__webpack_require__(/*! ../modules/es6.parse-int */ "./node_modules/core-js/modules/es6.parse-int.js"); +__webpack_require__(/*! ../modules/es6.parse-float */ "./node_modules/core-js/modules/es6.parse-float.js"); +__webpack_require__(/*! ../modules/es6.number.constructor */ "./node_modules/core-js/modules/es6.number.constructor.js"); +__webpack_require__(/*! ../modules/es6.number.to-fixed */ "./node_modules/core-js/modules/es6.number.to-fixed.js"); +__webpack_require__(/*! ../modules/es6.number.to-precision */ "./node_modules/core-js/modules/es6.number.to-precision.js"); +__webpack_require__(/*! ../modules/es6.number.epsilon */ "./node_modules/core-js/modules/es6.number.epsilon.js"); +__webpack_require__(/*! ../modules/es6.number.is-finite */ "./node_modules/core-js/modules/es6.number.is-finite.js"); +__webpack_require__(/*! ../modules/es6.number.is-integer */ "./node_modules/core-js/modules/es6.number.is-integer.js"); +__webpack_require__(/*! ../modules/es6.number.is-nan */ "./node_modules/core-js/modules/es6.number.is-nan.js"); +__webpack_require__(/*! ../modules/es6.number.is-safe-integer */ "./node_modules/core-js/modules/es6.number.is-safe-integer.js"); +__webpack_require__(/*! ../modules/es6.number.max-safe-integer */ "./node_modules/core-js/modules/es6.number.max-safe-integer.js"); +__webpack_require__(/*! ../modules/es6.number.min-safe-integer */ "./node_modules/core-js/modules/es6.number.min-safe-integer.js"); +__webpack_require__(/*! ../modules/es6.number.parse-float */ "./node_modules/core-js/modules/es6.number.parse-float.js"); +__webpack_require__(/*! ../modules/es6.number.parse-int */ "./node_modules/core-js/modules/es6.number.parse-int.js"); +__webpack_require__(/*! ../modules/es6.math.acosh */ "./node_modules/core-js/modules/es6.math.acosh.js"); +__webpack_require__(/*! ../modules/es6.math.asinh */ "./node_modules/core-js/modules/es6.math.asinh.js"); +__webpack_require__(/*! ../modules/es6.math.atanh */ "./node_modules/core-js/modules/es6.math.atanh.js"); +__webpack_require__(/*! ../modules/es6.math.cbrt */ "./node_modules/core-js/modules/es6.math.cbrt.js"); +__webpack_require__(/*! ../modules/es6.math.clz32 */ "./node_modules/core-js/modules/es6.math.clz32.js"); +__webpack_require__(/*! ../modules/es6.math.cosh */ "./node_modules/core-js/modules/es6.math.cosh.js"); +__webpack_require__(/*! ../modules/es6.math.expm1 */ "./node_modules/core-js/modules/es6.math.expm1.js"); +__webpack_require__(/*! ../modules/es6.math.fround */ "./node_modules/core-js/modules/es6.math.fround.js"); +__webpack_require__(/*! ../modules/es6.math.hypot */ "./node_modules/core-js/modules/es6.math.hypot.js"); +__webpack_require__(/*! ../modules/es6.math.imul */ "./node_modules/core-js/modules/es6.math.imul.js"); +__webpack_require__(/*! ../modules/es6.math.log10 */ "./node_modules/core-js/modules/es6.math.log10.js"); +__webpack_require__(/*! ../modules/es6.math.log1p */ "./node_modules/core-js/modules/es6.math.log1p.js"); +__webpack_require__(/*! ../modules/es6.math.log2 */ "./node_modules/core-js/modules/es6.math.log2.js"); +__webpack_require__(/*! ../modules/es6.math.sign */ "./node_modules/core-js/modules/es6.math.sign.js"); +__webpack_require__(/*! ../modules/es6.math.sinh */ "./node_modules/core-js/modules/es6.math.sinh.js"); +__webpack_require__(/*! ../modules/es6.math.tanh */ "./node_modules/core-js/modules/es6.math.tanh.js"); +__webpack_require__(/*! ../modules/es6.math.trunc */ "./node_modules/core-js/modules/es6.math.trunc.js"); +__webpack_require__(/*! ../modules/es6.string.from-code-point */ "./node_modules/core-js/modules/es6.string.from-code-point.js"); +__webpack_require__(/*! ../modules/es6.string.raw */ "./node_modules/core-js/modules/es6.string.raw.js"); +__webpack_require__(/*! ../modules/es6.string.trim */ "./node_modules/core-js/modules/es6.string.trim.js"); +__webpack_require__(/*! ../modules/es6.string.iterator */ "./node_modules/core-js/modules/es6.string.iterator.js"); +__webpack_require__(/*! ../modules/es6.string.code-point-at */ "./node_modules/core-js/modules/es6.string.code-point-at.js"); +__webpack_require__(/*! ../modules/es6.string.ends-with */ "./node_modules/core-js/modules/es6.string.ends-with.js"); +__webpack_require__(/*! ../modules/es6.string.includes */ "./node_modules/core-js/modules/es6.string.includes.js"); +__webpack_require__(/*! ../modules/es6.string.repeat */ "./node_modules/core-js/modules/es6.string.repeat.js"); +__webpack_require__(/*! ../modules/es6.string.starts-with */ "./node_modules/core-js/modules/es6.string.starts-with.js"); +__webpack_require__(/*! ../modules/es6.string.anchor */ "./node_modules/core-js/modules/es6.string.anchor.js"); +__webpack_require__(/*! ../modules/es6.string.big */ "./node_modules/core-js/modules/es6.string.big.js"); +__webpack_require__(/*! ../modules/es6.string.blink */ "./node_modules/core-js/modules/es6.string.blink.js"); +__webpack_require__(/*! ../modules/es6.string.bold */ "./node_modules/core-js/modules/es6.string.bold.js"); +__webpack_require__(/*! ../modules/es6.string.fixed */ "./node_modules/core-js/modules/es6.string.fixed.js"); +__webpack_require__(/*! ../modules/es6.string.fontcolor */ "./node_modules/core-js/modules/es6.string.fontcolor.js"); +__webpack_require__(/*! ../modules/es6.string.fontsize */ "./node_modules/core-js/modules/es6.string.fontsize.js"); +__webpack_require__(/*! ../modules/es6.string.italics */ "./node_modules/core-js/modules/es6.string.italics.js"); +__webpack_require__(/*! ../modules/es6.string.link */ "./node_modules/core-js/modules/es6.string.link.js"); +__webpack_require__(/*! ../modules/es6.string.small */ "./node_modules/core-js/modules/es6.string.small.js"); +__webpack_require__(/*! ../modules/es6.string.strike */ "./node_modules/core-js/modules/es6.string.strike.js"); +__webpack_require__(/*! ../modules/es6.string.sub */ "./node_modules/core-js/modules/es6.string.sub.js"); +__webpack_require__(/*! ../modules/es6.string.sup */ "./node_modules/core-js/modules/es6.string.sup.js"); +__webpack_require__(/*! ../modules/es6.date.now */ "./node_modules/core-js/modules/es6.date.now.js"); +__webpack_require__(/*! ../modules/es6.date.to-json */ "./node_modules/core-js/modules/es6.date.to-json.js"); +__webpack_require__(/*! ../modules/es6.date.to-iso-string */ "./node_modules/core-js/modules/es6.date.to-iso-string.js"); +__webpack_require__(/*! ../modules/es6.date.to-string */ "./node_modules/core-js/modules/es6.date.to-string.js"); +__webpack_require__(/*! ../modules/es6.date.to-primitive */ "./node_modules/core-js/modules/es6.date.to-primitive.js"); +__webpack_require__(/*! ../modules/es6.array.is-array */ "./node_modules/core-js/modules/es6.array.is-array.js"); +__webpack_require__(/*! ../modules/es6.array.from */ "./node_modules/core-js/modules/es6.array.from.js"); +__webpack_require__(/*! ../modules/es6.array.of */ "./node_modules/core-js/modules/es6.array.of.js"); +__webpack_require__(/*! ../modules/es6.array.join */ "./node_modules/core-js/modules/es6.array.join.js"); +__webpack_require__(/*! ../modules/es6.array.slice */ "./node_modules/core-js/modules/es6.array.slice.js"); +__webpack_require__(/*! ../modules/es6.array.sort */ "./node_modules/core-js/modules/es6.array.sort.js"); +__webpack_require__(/*! ../modules/es6.array.for-each */ "./node_modules/core-js/modules/es6.array.for-each.js"); +__webpack_require__(/*! ../modules/es6.array.map */ "./node_modules/core-js/modules/es6.array.map.js"); +__webpack_require__(/*! ../modules/es6.array.filter */ "./node_modules/core-js/modules/es6.array.filter.js"); +__webpack_require__(/*! ../modules/es6.array.some */ "./node_modules/core-js/modules/es6.array.some.js"); +__webpack_require__(/*! ../modules/es6.array.every */ "./node_modules/core-js/modules/es6.array.every.js"); +__webpack_require__(/*! ../modules/es6.array.reduce */ "./node_modules/core-js/modules/es6.array.reduce.js"); +__webpack_require__(/*! ../modules/es6.array.reduce-right */ "./node_modules/core-js/modules/es6.array.reduce-right.js"); +__webpack_require__(/*! ../modules/es6.array.index-of */ "./node_modules/core-js/modules/es6.array.index-of.js"); +__webpack_require__(/*! ../modules/es6.array.last-index-of */ "./node_modules/core-js/modules/es6.array.last-index-of.js"); +__webpack_require__(/*! ../modules/es6.array.copy-within */ "./node_modules/core-js/modules/es6.array.copy-within.js"); +__webpack_require__(/*! ../modules/es6.array.fill */ "./node_modules/core-js/modules/es6.array.fill.js"); +__webpack_require__(/*! ../modules/es6.array.find */ "./node_modules/core-js/modules/es6.array.find.js"); +__webpack_require__(/*! ../modules/es6.array.find-index */ "./node_modules/core-js/modules/es6.array.find-index.js"); +__webpack_require__(/*! ../modules/es6.array.species */ "./node_modules/core-js/modules/es6.array.species.js"); +__webpack_require__(/*! ../modules/es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); +__webpack_require__(/*! ../modules/es6.regexp.constructor */ "./node_modules/core-js/modules/es6.regexp.constructor.js"); +__webpack_require__(/*! ../modules/es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); +__webpack_require__(/*! ../modules/es6.regexp.to-string */ "./node_modules/core-js/modules/es6.regexp.to-string.js"); +__webpack_require__(/*! ../modules/es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); +__webpack_require__(/*! ../modules/es6.regexp.match */ "./node_modules/core-js/modules/es6.regexp.match.js"); +__webpack_require__(/*! ../modules/es6.regexp.replace */ "./node_modules/core-js/modules/es6.regexp.replace.js"); +__webpack_require__(/*! ../modules/es6.regexp.search */ "./node_modules/core-js/modules/es6.regexp.search.js"); +__webpack_require__(/*! ../modules/es6.regexp.split */ "./node_modules/core-js/modules/es6.regexp.split.js"); +__webpack_require__(/*! ../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); +__webpack_require__(/*! ../modules/es6.map */ "./node_modules/core-js/modules/es6.map.js"); +__webpack_require__(/*! ../modules/es6.set */ "./node_modules/core-js/modules/es6.set.js"); +__webpack_require__(/*! ../modules/es6.weak-map */ "./node_modules/core-js/modules/es6.weak-map.js"); +__webpack_require__(/*! ../modules/es6.weak-set */ "./node_modules/core-js/modules/es6.weak-set.js"); +__webpack_require__(/*! ../modules/es6.typed.array-buffer */ "./node_modules/core-js/modules/es6.typed.array-buffer.js"); +__webpack_require__(/*! ../modules/es6.typed.data-view */ "./node_modules/core-js/modules/es6.typed.data-view.js"); +__webpack_require__(/*! ../modules/es6.typed.int8-array */ "./node_modules/core-js/modules/es6.typed.int8-array.js"); +__webpack_require__(/*! ../modules/es6.typed.uint8-array */ "./node_modules/core-js/modules/es6.typed.uint8-array.js"); +__webpack_require__(/*! ../modules/es6.typed.uint8-clamped-array */ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"); +__webpack_require__(/*! ../modules/es6.typed.int16-array */ "./node_modules/core-js/modules/es6.typed.int16-array.js"); +__webpack_require__(/*! ../modules/es6.typed.uint16-array */ "./node_modules/core-js/modules/es6.typed.uint16-array.js"); +__webpack_require__(/*! ../modules/es6.typed.int32-array */ "./node_modules/core-js/modules/es6.typed.int32-array.js"); +__webpack_require__(/*! ../modules/es6.typed.uint32-array */ "./node_modules/core-js/modules/es6.typed.uint32-array.js"); +__webpack_require__(/*! ../modules/es6.typed.float32-array */ "./node_modules/core-js/modules/es6.typed.float32-array.js"); +__webpack_require__(/*! ../modules/es6.typed.float64-array */ "./node_modules/core-js/modules/es6.typed.float64-array.js"); +__webpack_require__(/*! ../modules/es6.reflect.apply */ "./node_modules/core-js/modules/es6.reflect.apply.js"); +__webpack_require__(/*! ../modules/es6.reflect.construct */ "./node_modules/core-js/modules/es6.reflect.construct.js"); +__webpack_require__(/*! ../modules/es6.reflect.define-property */ "./node_modules/core-js/modules/es6.reflect.define-property.js"); +__webpack_require__(/*! ../modules/es6.reflect.delete-property */ "./node_modules/core-js/modules/es6.reflect.delete-property.js"); +__webpack_require__(/*! ../modules/es6.reflect.enumerate */ "./node_modules/core-js/modules/es6.reflect.enumerate.js"); +__webpack_require__(/*! ../modules/es6.reflect.get */ "./node_modules/core-js/modules/es6.reflect.get.js"); +__webpack_require__(/*! ../modules/es6.reflect.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"); +__webpack_require__(/*! ../modules/es6.reflect.get-prototype-of */ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"); +__webpack_require__(/*! ../modules/es6.reflect.has */ "./node_modules/core-js/modules/es6.reflect.has.js"); +__webpack_require__(/*! ../modules/es6.reflect.is-extensible */ "./node_modules/core-js/modules/es6.reflect.is-extensible.js"); +__webpack_require__(/*! ../modules/es6.reflect.own-keys */ "./node_modules/core-js/modules/es6.reflect.own-keys.js"); +__webpack_require__(/*! ../modules/es6.reflect.prevent-extensions */ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"); +__webpack_require__(/*! ../modules/es6.reflect.set */ "./node_modules/core-js/modules/es6.reflect.set.js"); +__webpack_require__(/*! ../modules/es6.reflect.set-prototype-of */ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"); +module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); - var inflate = opts.inflate !== false - var limit = typeof opts.limit !== 'number' - ? bytes.parse(opts.limit || '100kb') - : opts.limit - var type = opts.type || 'application/octet-stream' - var verify = opts.verify || false - if (verify !== false && typeof verify !== 'function') { - throw new TypeError('option verify must be function') - } +/***/ }), - // create the appropriate type checking function - var shouldParse = typeof type !== 'function' - ? typeChecker(type) - : type +/***/ "./node_modules/core-js/fn/array/flat-map.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/fn/array/flat-map.js ***! + \***************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - function parse (buf) { - return buf - } +__webpack_require__(/*! ../../modules/es7.array.flat-map */ "./node_modules/core-js/modules/es7.array.flat-map.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.flatMap; - return function rawParser (req, res, next) { - if (req._body) { - debug('body already parsed') - next() - return - } - req.body = req.body || {} +/***/ }), - // skip requests without bodies - if (!typeis.hasBody(req)) { - debug('skip empty body') - next() - return - } +/***/ "./node_modules/core-js/fn/array/includes.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/fn/array/includes.js ***! + \***************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - debug('content-type %j', req.headers['content-type']) +__webpack_require__(/*! ../../modules/es7.array.includes */ "./node_modules/core-js/modules/es7.array.includes.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.includes; - // determine if request should be parsed - if (!shouldParse(req)) { - debug('skip parsing') - next() - return - } - // read - read(req, res, next, parse, debug, { - encoding: null, - inflate: inflate, - limit: limit, - verify: verify - }) - } -} +/***/ }), -/** - * Get the simple type checker. - * - * @param {string} type - * @return {function} - */ +/***/ "./node_modules/core-js/fn/object/entries.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/fn/object/entries.js ***! + \***************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function typeChecker (type) { - return function checkType (req) { - return Boolean(typeis(req, type)) - } -} +__webpack_require__(/*! ../../modules/es7.object.entries */ "./node_modules/core-js/modules/es7.object.entries.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.entries; /***/ }), -/***/ "./node_modules/body-parser/lib/types/text.js": -/*!****************************************************!*\ - !*** ./node_modules/body-parser/lib/types/text.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ +/***/ "./node_modules/core-js/fn/object/get-own-property-descriptors.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/fn/object/get-own-property-descriptors.js ***! + \************************************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * body-parser - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ +__webpack_require__(/*! ../../modules/es7.object.get-own-property-descriptors */ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.getOwnPropertyDescriptors; +/***/ }), -/** - * Module dependencies. - */ +/***/ "./node_modules/core-js/fn/object/values.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/fn/object/values.js ***! + \**************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var bytes = __webpack_require__(/*! bytes */ "./node_modules/bytes/index.js") -var contentType = __webpack_require__(/*! content-type */ "./node_modules/content-type/index.js") -var debug = __webpack_require__(/*! debug */ "./node_modules/body-parser/node_modules/debug/src/index.js")('body-parser:text') -var read = __webpack_require__(/*! ../read */ "./node_modules/body-parser/lib/read.js") -var typeis = __webpack_require__(/*! type-is */ "./node_modules/type-is/index.js") +__webpack_require__(/*! ../../modules/es7.object.values */ "./node_modules/core-js/modules/es7.object.values.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.values; -/** - * Module exports. - */ -module.exports = text +/***/ }), -/** - * Create a middleware to parse text bodies. - * - * @param {object} [options] - * @return {function} - * @api public - */ +/***/ "./node_modules/core-js/fn/promise/finally.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/fn/promise/finally.js ***! + \****************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function text (options) { - var opts = options || {} +"use strict"; - var defaultCharset = opts.defaultCharset || 'utf-8' - var inflate = opts.inflate !== false - var limit = typeof opts.limit !== 'number' - ? bytes.parse(opts.limit || '100kb') - : opts.limit - var type = opts.type || 'text/plain' - var verify = opts.verify || false +__webpack_require__(/*! ../../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); +__webpack_require__(/*! ../../modules/es7.promise.finally */ "./node_modules/core-js/modules/es7.promise.finally.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Promise.finally; - if (verify !== false && typeof verify !== 'function') { - throw new TypeError('option verify must be function') - } - // create the appropriate type checking function - var shouldParse = typeof type !== 'function' - ? typeChecker(type) - : type +/***/ }), - function parse (buf) { - return buf - } +/***/ "./node_modules/core-js/fn/string/pad-end.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/fn/string/pad-end.js ***! + \***************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return function textParser (req, res, next) { - if (req._body) { - debug('body already parsed') - next() - return - } +__webpack_require__(/*! ../../modules/es7.string.pad-end */ "./node_modules/core-js/modules/es7.string.pad-end.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padEnd; - req.body = req.body || {} - // skip requests without bodies - if (!typeis.hasBody(req)) { - debug('skip empty body') - next() - return - } +/***/ }), - debug('content-type %j', req.headers['content-type']) +/***/ "./node_modules/core-js/fn/string/pad-start.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/fn/string/pad-start.js ***! + \*****************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // determine if request should be parsed - if (!shouldParse(req)) { - debug('skip parsing') - next() - return - } +__webpack_require__(/*! ../../modules/es7.string.pad-start */ "./node_modules/core-js/modules/es7.string.pad-start.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padStart; - // get charset - var charset = getCharset(req) || defaultCharset - // read - read(req, res, next, parse, debug, { - encoding: charset, - inflate: inflate, - limit: limit, - verify: verify - }) - } -} +/***/ }), -/** - * Get the charset of a request. - * - * @param {object} req - * @api private - */ +/***/ "./node_modules/core-js/fn/string/trim-end.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/fn/string/trim-end.js ***! + \****************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function getCharset (req) { - try { - return (contentType.parse(req).parameters.charset || '').toLowerCase() - } catch (e) { - return undefined - } -} +__webpack_require__(/*! ../../modules/es7.string.trim-right */ "./node_modules/core-js/modules/es7.string.trim-right.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimRight; -/** - * Get the simple type checker. - * - * @param {string} type - * @return {function} - */ -function typeChecker (type) { - return function checkType (req) { - return Boolean(typeis(req, type)) - } -} +/***/ }), + +/***/ "./node_modules/core-js/fn/string/trim-start.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/fn/string/trim-start.js ***! + \******************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +__webpack_require__(/*! ../../modules/es7.string.trim-left */ "./node_modules/core-js/modules/es7.string.trim-left.js"); +module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimLeft; /***/ }), -/***/ "./node_modules/body-parser/lib/types/urlencoded.js": +/***/ "./node_modules/core-js/fn/symbol/async-iterator.js": /*!**********************************************************!*\ - !*** ./node_modules/body-parser/lib/types/urlencoded.js ***! + !*** ./node_modules/core-js/fn/symbol/async-iterator.js ***! \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * body-parser - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var bytes = __webpack_require__(/*! bytes */ "./node_modules/bytes/index.js") -var contentType = __webpack_require__(/*! content-type */ "./node_modules/content-type/index.js") -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var debug = __webpack_require__(/*! debug */ "./node_modules/body-parser/node_modules/debug/src/index.js")('body-parser:urlencoded') -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('body-parser') -var read = __webpack_require__(/*! ../read */ "./node_modules/body-parser/lib/read.js") -var typeis = __webpack_require__(/*! type-is */ "./node_modules/type-is/index.js") - -/** - * Module exports. - */ - -module.exports = urlencoded +__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "./node_modules/core-js/modules/es7.symbol.async-iterator.js"); +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js").f('asyncIterator'); -/** - * Cache of parser modules. - */ -var parsers = Object.create(null) +/***/ }), -/** - * Create a middleware to parse urlencoded bodies. - * - * @param {object} [options] - * @return {function} - * @public - */ +/***/ "./node_modules/core-js/library/fn/global.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/library/fn/global.js ***! + \***************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function urlencoded (options) { - var opts = options || {} +__webpack_require__(/*! ../modules/es7.global */ "./node_modules/core-js/library/modules/es7.global.js"); +module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/library/modules/_core.js").global; - // notice because option default will flip in next major - if (opts.extended === undefined) { - deprecate('undefined extended: provide extended option') - } - var extended = opts.extended !== false - var inflate = opts.inflate !== false - var limit = typeof opts.limit !== 'number' - ? bytes.parse(opts.limit || '100kb') - : opts.limit - var type = opts.type || 'application/x-www-form-urlencoded' - var verify = opts.verify || false +/***/ }), - if (verify !== false && typeof verify !== 'function') { - throw new TypeError('option verify must be function') - } +/***/ "./node_modules/core-js/library/modules/_a-function.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_a-function.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - // create the appropriate query parser - var queryparse = extended - ? extendedparser(opts) - : simpleparser(opts) +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; - // create the appropriate type checking function - var shouldParse = typeof type !== 'function' - ? typeChecker(type) - : type - function parse (body) { - return body.length - ? queryparse(body) - : {} - } +/***/ }), - return function urlencodedParser (req, res, next) { - if (req._body) { - debug('body already parsed') - next() - return - } +/***/ "./node_modules/core-js/library/modules/_an-object.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_an-object.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - req.body = req.body || {} +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; - // skip requests without bodies - if (!typeis.hasBody(req)) { - debug('skip empty body') - next() - return - } - debug('content-type %j', req.headers['content-type']) +/***/ }), - // determine if request should be parsed - if (!shouldParse(req)) { - debug('skip parsing') - next() - return - } +/***/ "./node_modules/core-js/library/modules/_core.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/library/modules/_core.js ***! + \*******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:11-25 */ +/***/ ((module) => { - // assert charset - var charset = getCharset(req) || 'utf-8' - if (charset !== 'utf-8') { - debug('invalid charset') - next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', { - charset: charset, - type: 'charset.unsupported' - })) - return - } +var core = module.exports = { version: '2.6.12' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - // read - read(req, res, next, parse, debug, { - debug: debug, - encoding: charset, - inflate: inflate, - limit: limit, - verify: verify - }) - } -} -/** - * Get the extended query parser. - * - * @param {object} options - */ +/***/ }), -function extendedparser (options) { - var parameterLimit = options.parameterLimit !== undefined - ? options.parameterLimit - : 1000 - var parse = parser('qs') +/***/ "./node_modules/core-js/library/modules/_ctx.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/library/modules/_ctx.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (isNaN(parameterLimit) || parameterLimit < 1) { - throw new TypeError('option parameterLimit must be a positive number') +// optional / simple context binding +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/library/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; - if (isFinite(parameterLimit)) { - parameterLimit = parameterLimit | 0 - } - return function queryparse (body) { - var paramCount = parameterCount(body, parameterLimit) +/***/ }), - if (paramCount === undefined) { - debug('too many parameters') - throw createError(413, 'too many parameters', { - type: 'parameters.too.many' - }) - } +/***/ "./node_modules/core-js/library/modules/_descriptors.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_descriptors.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var arrayLimit = Math.max(100, paramCount) +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/library/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); - debug('parse extended urlencoding') - return parse(body, { - allowPrototypes: true, - arrayLimit: arrayLimit, - depth: Infinity, - parameterLimit: parameterLimit - }) - } -} -/** - * Get the charset of a request. - * - * @param {object} req - * @api private - */ +/***/ }), -function getCharset (req) { - try { - return (contentType.parse(req).parameters.charset || '').toLowerCase() - } catch (e) { - return undefined - } -} +/***/ "./node_modules/core-js/library/modules/_dom-create.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_dom-create.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Count the number of parameters, stopping once limit reached - * - * @param {string} body - * @param {number} limit - * @api private - */ +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); +var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; -function parameterCount (body, limit) { - var count = 0 - var index = 0 - while ((index = body.indexOf('&', index)) !== -1) { - count++ - index++ +/***/ }), - if (count === limit) { - return undefined - } - } +/***/ "./node_modules/core-js/library/modules/_export.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/library/modules/_export.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 62:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return count -} - -/** - * Get parser for module name dynamically. - * - * @param {string} name - * @return {function} - * @api private - */ - -function parser (name) { - var mod = parsers[name] +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/library/modules/_core.js"); +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/library/modules/_ctx.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/library/modules/_hide.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/library/modules/_has.js"); +var PROTOTYPE = 'prototype'; - if (mod !== undefined) { - return mod.parse +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var IS_WRAP = type & $export.W; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE]; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; + var key, own, out; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + if (own && has(exports, key)) continue; + // export native or passed + out = own ? target[key] : source[key]; + // prevent global pollution for namespaces + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] + // bind timers to global for call from export context + : IS_BIND && own ? ctx(out, global) + // wrap global constructors for prevent change them in library + : IS_WRAP && target[key] == out ? (function (C) { + var F = function (a, b, c) { + if (this instanceof C) { + switch (arguments.length) { + case 0: return new C(); + case 1: return new C(a); + case 2: return new C(a, b); + } return new C(a, b, c); + } return C.apply(this, arguments); + }; + F[PROTOTYPE] = C[PROTOTYPE]; + return F; + // make static versions for prototype methods + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% + if (IS_PROTO) { + (exports.virtual || (exports.virtual = {}))[key] = out; + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); + } } +}; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; - // this uses a switch for static require analysis - switch (name) { - case 'qs': - mod = __webpack_require__(/*! qs */ "./node_modules/qs/lib/index.js") - break - case 'querystring': - mod = __webpack_require__(/*! querystring */ "querystring") - break - } - // store to prevent invoking require() - parsers[name] = mod +/***/ }), - return mod.parse -} +/***/ "./node_modules/core-js/library/modules/_fails.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/library/modules/_fails.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -/** - * Get the simple query parser. - * - * @param {object} options - */ +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } +}; -function simpleparser (options) { - var parameterLimit = options.parameterLimit !== undefined - ? options.parameterLimit - : 1000 - var parse = parser('querystring') - if (isNaN(parameterLimit) || parameterLimit < 1) { - throw new TypeError('option parameterLimit must be a positive number') - } +/***/ }), - if (isFinite(parameterLimit)) { - parameterLimit = parameterLimit | 0 - } +/***/ "./node_modules/core-js/library/modules/_global.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/library/modules/_global.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:13-27 */ +/***/ ((module) => { - return function queryparse (body) { - var paramCount = parameterCount(body, parameterLimit) +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef - if (paramCount === undefined) { - debug('too many parameters') - throw createError(413, 'too many parameters', { - type: 'parameters.too.many' - }) - } - debug('parse urlencoding') - return parse(body, undefined, undefined, { maxKeys: parameterLimit }) - } -} +/***/ }), -/** - * Get the simple type checker. - * - * @param {string} type - * @return {function} - */ +/***/ "./node_modules/core-js/library/modules/_has.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/library/modules/_has.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { -function typeChecker (type) { - return function checkType (req) { - return Boolean(typeis(req, type)) - } -} +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; /***/ }), -/***/ "./node_modules/body-parser/node_modules/debug/src/browser.js": -/*!********************************************************************!*\ - !*** ./node_modules/body-parser/node_modules/debug/src/browser.js ***! - \********************************************************************/ +/***/ "./node_modules/core-js/library/modules/_hide.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/library/modules/_hide.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 7:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * This is the web browser implementation of `debug()`. - * - * Expose `debug()` as the module. - */ +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/library/modules/_object-dp.js"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/library/modules/_property-desc.js"); +module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/body-parser/node_modules/debug/src/debug.js"); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); -/** - * Colors. - */ +/***/ }), -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; +/***/ "./node_modules/core-js/library/modules/_ie8-dom-define.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_ie8-dom-define.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ +module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/library/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; - } - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); -} +/***/ }), -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ +/***/ "./node_modules/core-js/library/modules/_is-object.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_is-object.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; - } +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; }; -/** - * Colorize log arguments if enabled. - * - * @api public - */ - -function formatArgs(args) { - var useColors = this.useColors; - - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); +/***/ }), - if (!useColors) return; +/***/ "./node_modules/core-js/library/modules/_object-dp.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_object-dp.js ***! + \************************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__, __webpack_require__ */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/library/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/library/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/library/modules/_to-primitive.js"); +var dP = Object.defineProperty; - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); +exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; - args.splice(lastC, 0, c); -} -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ +/***/ }), -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} +/***/ "./node_modules/core-js/library/modules/_property-desc.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_property-desc.js ***! + \****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; +}; -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; - } - } catch(e) {} -} -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ +/***/ }), -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} +/***/ "./node_modules/core-js/library/modules/_to-primitive.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_to-primitive.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); +}; - return r; -} -/** - * Enable namespaces listed in `localStorage.debug` initially. - */ +/***/ }), -exports.enable(load()); +/***/ "./node_modules/core-js/library/modules/es7.global.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/library/modules/es7.global.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ +// https://github.com/tc39/proposal-global +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/library/modules/_export.js"); -function localstorage() { - try { - return window.localStorage; - } catch (e) {} -} +$export($export.G, { global: __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js") }); /***/ }), -/***/ "./node_modules/body-parser/node_modules/debug/src/debug.js": -/*!******************************************************************!*\ - !*** ./node_modules/body-parser/node_modules/debug/src/debug.js ***! - \******************************************************************/ +/***/ "./node_modules/core-js/modules/_a-function.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_a-function.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ -/*! CommonJS bailout: exports is used directly at 9:0-7 */ -/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ -/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ -/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ -/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ -/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { +module.exports = function (it) { + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); + return it; +}; -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - * - * Expose `debug()` as the module. - */ -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = __webpack_require__(/*! ms */ "./node_modules/body-parser/node_modules/ms/index.js"); +/***/ }), -/** - * The currently active debug mode names, and names to skip. - */ +/***/ "./node_modules/core-js/modules/_a-number-value.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_a-number-value.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.names = []; -exports.skips = []; +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +module.exports = function (it, msg) { + if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); + return +it; +}; -/** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ -exports.formatters = {}; +/***/ }), -/** - * Previous log timestamp. - */ +/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var prevTime; +// 22.1.3.31 Array.prototype[@@unscopables] +var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('unscopables'); +var ArrayProto = Array.prototype; +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); +module.exports = function (key) { + ArrayProto[UNSCOPABLES][key] = true; +}; -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ -function selectColor(namespace) { - var hash = 0, i; +/***/ }), - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } +/***/ "./node_modules/core-js/modules/_advance-string-index.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_advance-string-index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return exports.colors[Math.abs(hash) % exports.colors.length]; -} +"use strict"; -/** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - -function createDebug(namespace) { +var at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); - function debug() { - // disabled? - if (!debug.enabled) return; + // `AdvanceStringIndex` abstract operation +// https://tc39.github.io/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? at(S, index).length : 1); +}; - var self = debug; - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; +/***/ }), - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; - } +/***/ "./node_modules/core-js/modules/_an-instance.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_an-instance.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - args[0] = exports.coerce(args[0]); +module.exports = function (it, Constructor, name, forbiddenField) { + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { + throw TypeError(name + ': incorrect invocation!'); + } return it; +}; - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); - } - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); +/***/ }), - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); +/***/ "./node_modules/core-js/modules/_an-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_an-object.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; +}; - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); - } - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); +/***/ }), - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); - } +/***/ "./node_modules/core-js/modules/_array-copy-within.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-copy-within.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return debug; -} +"use strict"; +// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) -/** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -function enable(namespaces) { - exports.save(namespaces); +module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { + var O = toObject(this); + var len = toLength(O.length); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) O[to] = O[from]; + else delete O[to]; + to += inc; + from += inc; + } return O; +}; - exports.names = []; - exports.skips = []; - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; +/***/ }), - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); - } - } -} +/***/ "./node_modules/core-js/modules/_array-fill.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_array-fill.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Disable debug output. - * - * @api public - */ +"use strict"; +// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) -function disable() { - exports.enable(''); -} +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +module.exports = function fill(value /* , start = 0, end = @length */) { + var O = toObject(this); + var length = toLength(O.length); + var aLen = arguments.length; + var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); + var end = aLen > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; + return O; +}; -/** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; - } - } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; - } - } - return false; -} +/***/ }), -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ +/***/ "./node_modules/core-js/modules/_array-includes.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_array-includes.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; -} +// false -> Array#indexOf +// true -> Array#includes +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; +}; /***/ }), -/***/ "./node_modules/body-parser/node_modules/debug/src/index.js": -/*!******************************************************************!*\ - !*** ./node_modules/body-parser/node_modules/debug/src/index.js ***! - \******************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/core-js/modules/_array-methods.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_array-methods.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ - -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/body-parser/node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/body-parser/node_modules/debug/src/node.js"); -} +// 0 -> Array#forEach +// 1 -> Array#map +// 2 -> Array#filter +// 3 -> Array#some +// 4 -> Array#every +// 5 -> Array#find +// 6 -> Array#findIndex +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var asc = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); +module.exports = function (TYPE, $create) { + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + var create = $create || asc; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IObject(O); + var f = ctx(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; + var val, res; + for (;length > index; index++) if (NO_HOLES || index in self) { + val = self[index]; + res = f(val, index, O); + if (TYPE) { + if (IS_MAP) result[index] = res; // map + else if (res) switch (TYPE) { + case 3: return true; // some + case 5: return val; // find + case 6: return index; // findIndex + case 2: result.push(val); // filter + } else if (IS_EVERY) return false; // every + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; + }; +}; /***/ }), -/***/ "./node_modules/body-parser/node_modules/debug/src/node.js": -/*!*****************************************************************!*\ - !*** ./node_modules/body-parser/node_modules/debug/src/node.js ***! - \*****************************************************************/ +/***/ "./node_modules/core-js/modules/_array-reduce.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_array-reduce.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 14:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Module dependencies. - */ +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var tty = __webpack_require__(/*! tty */ "tty"); -var util = __webpack_require__(/*! util */ "util"); +module.exports = function (that, callbackfn, aLen, memo, isRight) { + aFunction(callbackfn); + var O = toObject(that); + var self = IObject(O); + var length = toLength(O.length); + var index = isRight ? length - 1 : 0; + var i = isRight ? -1 : 1; + if (aLen < 2) for (;;) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (isRight ? index < 0 : length <= index) { + throw TypeError('Reduce of empty array with no initial value'); + } + } + for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; +}; -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/body-parser/node_modules/debug/src/debug.js"); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; +/***/ }), -/** - * Colors. - */ +/***/ "./node_modules/core-js/modules/_array-species-constructor.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.colors = [6, 2, 3, 4, 5, 1]; +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); +var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ +module.exports = function (original) { + var C; + if (isArray(original)) { + C = original.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; + if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? Array : C; +}; -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); +/***/ }), - obj[prop] = val; - return obj; -}, {}); +/***/ "./node_modules/core-js/modules/_array-species-create.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-create.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "./node_modules/core-js/modules/_array-species-constructor.js"); -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; +module.exports = function (original, length) { + return new (speciesConstructor(original))(length); +}; -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); +/***/ }), -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ +/***/ "./node_modules/core-js/modules/_bind.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_bind.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); -} +"use strict"; -/** - * Map %o to `util.inspect()`, all on a single line. - */ +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); +var arraySlice = [].slice; +var factories = {}; -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); +var construct = function (F, len, args) { + if (!(len in factories)) { + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; + // eslint-disable-next-line no-new-func + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); + } return factories[len](F, args); }; -/** - * Map %o to `util.inspect()`, allowing multiple lines if needed. - */ - -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); +module.exports = Function.bind || function bind(that /* , ...args */) { + var fn = aFunction(this); + var partArgs = arraySlice.call(arguments, 1); + var bound = function (/* args... */) { + var args = partArgs.concat(arraySlice.call(arguments)); + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); + }; + if (isObject(fn.prototype)) bound.prototype = fn.prototype; + return bound; }; -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ - -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; +/***/ }), - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; - } -} +/***/ "./node_modules/core-js/modules/_classof.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_classof.js ***! + \**************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ +// getting tag from 19.1.3.6 Object.prototype.toString() +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); +// ES3 wrong here +var ARG = cof(function () { return arguments; }()) == 'Arguments'; -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); -} +// fallback for IE11 Script Access Denied error +var tryGet = function (it, key) { + try { + return it[key]; + } catch (e) { /* empty */ } +}; -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ +module.exports = function (it) { + var O, T, B; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T + // builtinTag case + : ARG ? cof(O) + // ES3 arguments fallback + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; +}; -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; - } -} -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ +/***/ }), -function load() { - return process.env.DEBUG; -} +/***/ "./node_modules/core-js/modules/_cof.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_cof.js ***! + \**********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module) => { -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ +var toString = {}.toString; -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); +module.exports = function (it) { + return toString.call(it).slice(8, -1); +}; - // Note stream._type is used for test-module-load-list.js - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; +/***/ }), - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; +/***/ "./node_modules/core-js/modules/_collection-strong.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/_collection-strong.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - case 'FILE': - var fs = __webpack_require__(/*! fs */ "fs"); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; +"use strict"; - case 'PIPE': - case 'TCP': - var net = __webpack_require__(/*! net */ "net"); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); +var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); +var $iterDefine = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js"); +var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); +var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var fastKey = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").fastKey; +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var SIZE = DESCRIPTORS ? '_s' : 'size'; - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; +var getEntry = function (that, key) { + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return that._i[index]; + // frozen object case + for (entry = that._f; entry; entry = entry.n) { + if (entry.k == key) return entry; + } +}; - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = create(null); // index + that._f = undefined; // first entry + that._l = undefined; // last entry + that[SIZE] = 0; // size + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.1.3.1 Map.prototype.clear() + // 23.2.3.2 Set.prototype.clear() + clear: function clear() { + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { + entry.r = true; + if (entry.p) entry.p = entry.p.n = undefined; + delete data[entry.i]; + } + that._f = that._l = undefined; + that[SIZE] = 0; + }, + // 23.1.3.3 Map.prototype.delete(key) + // 23.2.3.4 Set.prototype.delete(value) + 'delete': function (key) { + var that = validate(this, NAME); + var entry = getEntry(that, key); + if (entry) { + var next = entry.n; + var prev = entry.p; + delete that._i[entry.i]; + entry.r = true; + if (prev) prev.n = next; + if (next) next.p = prev; + if (that._f == entry) that._f = next; + if (that._l == entry) that._l = prev; + that[SIZE]--; + } return !!entry; + }, + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) + forEach: function forEach(callbackfn /* , that = undefined */) { + validate(this, NAME); + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.n : this._f) { + f(entry.v, entry.k, this); + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + } + }, + // 23.1.3.7 Map.prototype.has(key) + // 23.2.3.7 Set.prototype.has(value) + has: function has(key) { + return !!getEntry(validate(this, NAME), key); } - break; + }); + if (DESCRIPTORS) dP(C.prototype, 'size', { + get: function () { + return validate(this, NAME)[SIZE]; + } + }); + return C; + }, + def: function (that, key, value) { + var entry = getEntry(that, key); + var prev, index; + // change existing entry + if (entry) { + entry.v = value; + // create new entry + } else { + that._l = entry = { + i: index = fastKey(key, true), // <- index + k: key, // <- key + v: value, // <- value + p: prev = that._l, // <- previous entry + n: undefined, // <- next entry + r: false // <- removed + }; + if (!that._f) that._f = entry; + if (prev) prev.n = entry; + that[SIZE]++; + // add to index + if (index !== 'F') that._i[index] = entry; + } return that; + }, + getEntry: getEntry, + setStrong: function (C, NAME, IS_MAP) { + // add .keys, .values, .entries, [@@iterator] + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 + $iterDefine(C, NAME, function (iterated, kind) { + this._t = validate(iterated, NAME); // target + this._k = kind; // kind + this._l = undefined; // previous + }, function () { + var that = this; + var kind = that._k; + var entry = that._l; + // revert to the last existing entry + while (entry && entry.r) entry = entry.p; + // get next entry + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { + // or finish the iteration + that._t = undefined; + return step(1); + } + // return step by kind + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); + return step(0, [entry.k, entry.v]); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); + // add [@@species], 23.1.2.2, 23.2.2.2 + setSpecies(NAME); } +}; - // For supporting legacy API we put the FD here. - stream.fd = fd; - stream._isStdio = true; +/***/ }), - return stream; -} +/***/ "./node_modules/core-js/modules/_collection-weak.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_collection-weak.js ***! + \**********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ +"use strict"; -function init (debug) { - debug.inspectOpts = {}; +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); +var getWeak = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").getWeak; +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); +var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); +var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); +var $has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var arrayFind = createArrayMethod(5); +var arrayFindIndex = createArrayMethod(6); +var id = 0; - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; +// fallback for uncaught frozen keys +var uncaughtFrozenStore = function (that) { + return that._l || (that._l = new UncaughtFrozenStore()); +}; +var UncaughtFrozenStore = function () { + this.a = []; +}; +var findUncaughtFrozen = function (store, key) { + return arrayFind(store.a, function (it) { + return it[0] === key; + }); +}; +UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.a.push([key, value]); + }, + 'delete': function (key) { + var index = arrayFindIndex(this.a, function (it) { + return it[0] === key; + }); + if (~index) this.a.splice(index, 1); + return !!~index; } -} +}; -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ +module.exports = { + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, NAME, '_i'); + that._t = NAME; // collection type + that._i = id++; // collection id + that._l = undefined; // leak store for uncaught frozen objects + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + }); + redefineAll(C.prototype, { + // 23.3.3.2 WeakMap.prototype.delete(key) + // 23.4.3.3 WeakSet.prototype.delete(value) + 'delete': function (key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); + return data && $has(data, this._i) && delete data[this._i]; + }, + // 23.3.3.4 WeakMap.prototype.has(key) + // 23.4.3.4 WeakSet.prototype.has(value) + has: function has(key) { + if (!isObject(key)) return false; + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); + return data && $has(data, this._i); + } + }); + return C; + }, + def: function (that, key, value) { + var data = getWeak(anObject(key), true); + if (data === true) uncaughtFrozenStore(that).set(key, value); + else data[that._i] = value; + return that; + }, + ufstore: uncaughtFrozenStore +}; -exports.enable(load()); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_collection.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_collection.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); +var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); +var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); +var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); +var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); + +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { + var Base = global[NAME]; + var C = Base; + var ADDER = IS_MAP ? 'set' : 'add'; + var proto = C && C.prototype; + var O = {}; + var fixMethod = function (KEY) { + var fn = proto[KEY]; + redefine(proto, KEY, + KEY == 'delete' ? function (a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'has' ? function has(a) { + return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'get' ? function get(a) { + return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); + } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } + : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } + ); + }; + if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { + new C().entries().next(); + }))) { + // create collection constructor + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); + redefineAll(C.prototype, methods); + meta.NEED = true; + } else { + var instance = new C(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new C(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + if (!ACCEPT_ITERABLES) { + C = wrapper(function (target, iterable) { + anInstance(target, C, NAME); + var that = inheritIfRequired(new Base(), target, C); + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); + return that; + }); + C.prototype = proto; + proto.constructor = C; + } + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + // weak collections should not contains .clear method + if (IS_WEAK && proto.clear) delete proto.clear; + } + + setToStringTag(C, NAME); + + O[NAME] = C; + $export($export.G + $export.W + $export.F * (C != Base), O); + + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); + + return C; +}; /***/ }), -/***/ "./node_modules/body-parser/node_modules/ms/index.js": -/*!***********************************************************!*\ - !*** ./node_modules/body-parser/node_modules/ms/index.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/_core.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_core.js ***! + \***********************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 1:11-25 */ /***/ ((module) => { -/** - * Helpers. - */ +var core = module.exports = { version: '2.6.12' }; +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ - -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isNaN(val) === false) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; +/***/ }), -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ +/***/ "./node_modules/core-js/modules/_create-property.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_create-property.js ***! + \**********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} +"use strict"; -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +var $defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -function fmtShort(ms) { - if (ms >= d) { - return Math.round(ms / d) + 'd'; - } - if (ms >= h) { - return Math.round(ms / h) + 'h'; - } - if (ms >= m) { - return Math.round(ms / m) + 'm'; - } - if (ms >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} +module.exports = function (object, index, value) { + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); + else object[index] = value; +}; -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ -function fmtLong(ms) { - return plural(ms, d, 'day') || - plural(ms, h, 'hour') || - plural(ms, m, 'minute') || - plural(ms, s, 'second') || - ms + ' ms'; -} +/***/ }), -/** - * Pluralization helper. - */ +/***/ "./node_modules/core-js/modules/_ctx.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_ctx.js ***! + \**********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function plural(ms, n, name) { - if (ms < n) { - return; - } - if (ms < n * 1.5) { - return Math.floor(ms / n) + ' ' + name; +// optional / simple context binding +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; } - return Math.ceil(ms / n) + ' ' + name + 's'; -} + return function (/* ...args */) { + return fn.apply(that, arguments); + }; +}; /***/ }), -/***/ "./node_modules/bufferutil/fallback.js": -/*!*********************************************!*\ - !*** ./node_modules/bufferutil/fallback.js ***! - \*********************************************/ +/***/ "./node_modules/core-js/modules/_date-to-iso-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_date-to-iso-string.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; +// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var getTime = Date.prototype.getTime; +var $toISOString = Date.prototype.toISOString; -/** - * Masks a buffer using the given mask. - * - * @param {Buffer} source The buffer to mask - * @param {Buffer} mask The mask to use - * @param {Buffer} output The buffer where to store the result - * @param {Number} offset The offset at which to start writing - * @param {Number} length The number of bytes to mask. - * @public - */ -const mask = (source, mask, output, offset, length) => { - for (var i = 0; i < length; i++) { - output[offset + i] = source[i] ^ mask[i & 3]; - } -}; - -/** - * Unmasks a buffer using the given mask. - * - * @param {Buffer} buffer The buffer to unmask - * @param {Buffer} mask The mask to use - * @public - */ -const unmask = (buffer, mask) => { - // Required until https://github.com/nodejs/node/issues/9006 is resolved. - const length = buffer.length; - for (var i = 0; i < length; i++) { - buffer[i] ^= mask[i & 3]; - } +var lz = function (num) { + return num > 9 ? num : '0' + num; }; -module.exports = { mask, unmask }; +// PhantomJS / old WebKit has a broken implementations +module.exports = (fails(function () { + return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; +}) || !fails(function () { + $toISOString.call(new Date(NaN)); +})) ? function toISOString() { + if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); + var d = this; + var y = d.getUTCFullYear(); + var m = d.getUTCMilliseconds(); + var s = y < 0 ? '-' : y > 9999 ? '+' : ''; + return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + + '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + + 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + + ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; +} : $toISOString; /***/ }), -/***/ "./node_modules/bufferutil/index.js": -/*!******************************************!*\ - !*** ./node_modules/bufferutil/index.js ***! - \******************************************/ +/***/ "./node_modules/core-js/modules/_date-to-primitive.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/_date-to-primitive.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:2-16 */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var __dirname = "/"; +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +var NUMBER = 'number'; -try { - module.exports = __webpack_require__(/*! node-gyp-build */ "./node_modules/node-gyp-build/index.js")(__dirname); -} catch (e) { - module.exports = __webpack_require__(/*! ./fallback */ "./node_modules/bufferutil/fallback.js"); -} +module.exports = function (hint) { + if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); + return toPrimitive(anObject(this), hint != NUMBER); +}; /***/ }), -/***/ "./node_modules/bytes/index.js": -/*!*************************************!*\ - !*** ./node_modules/bytes/index.js ***! - \*************************************/ +/***/ "./node_modules/core-js/modules/_defined.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_defined.js ***! + \**************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ /***/ ((module) => { -"use strict"; -/*! - * bytes - * Copyright(c) 2012-2014 TJ Holowaychuk - * Copyright(c) 2015 Jed Watson - * MIT Licensed - */ - - - -/** - * Module exports. - * @public - */ - -module.exports = bytes; -module.exports.format = format; -module.exports.parse = parse; - -/** - * Module variables. - * @private - */ - -var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g; - -var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/; - -var map = { - b: 1, - kb: 1 << 10, - mb: 1 << 20, - gb: 1 << 30, - tb: Math.pow(1024, 4), - pb: Math.pow(1024, 5), +// 7.2.1 RequireObjectCoercible(argument) +module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; }; -var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i; - -/** - * Convert the given value in bytes into a string or parse to string to an integer in bytes. - * - * @param {string|number} value - * @param {{ - * case: [string], - * decimalPlaces: [number] - * fixedDecimals: [boolean] - * thousandsSeparator: [string] - * unitSeparator: [string] - * }} [options] bytes options. - * - * @returns {string|number|null} - */ - -function bytes(value, options) { - if (typeof value === 'string') { - return parse(value); - } - - if (typeof value === 'number') { - return format(value, options); - } - - return null; -} - -/** - * Format the given value in bytes into a string. - * - * If the value is negative, it is kept as such. If it is a float, - * it is rounded. - * - * @param {number} value - * @param {object} [options] - * @param {number} [options.decimalPlaces=2] - * @param {number} [options.fixedDecimals=false] - * @param {string} [options.thousandsSeparator=] - * @param {string} [options.unit=] - * @param {string} [options.unitSeparator=] - * - * @returns {string|null} - * @public - */ - -function format(value, options) { - if (!Number.isFinite(value)) { - return null; - } - - var mag = Math.abs(value); - var thousandsSeparator = (options && options.thousandsSeparator) || ''; - var unitSeparator = (options && options.unitSeparator) || ''; - var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2; - var fixedDecimals = Boolean(options && options.fixedDecimals); - var unit = (options && options.unit) || ''; - - if (!unit || !map[unit.toLowerCase()]) { - if (mag >= map.pb) { - unit = 'PB'; - } else if (mag >= map.tb) { - unit = 'TB'; - } else if (mag >= map.gb) { - unit = 'GB'; - } else if (mag >= map.mb) { - unit = 'MB'; - } else if (mag >= map.kb) { - unit = 'KB'; - } else { - unit = 'B'; - } - } - var val = value / map[unit.toLowerCase()]; - var str = val.toFixed(decimalPlaces); +/***/ }), - if (!fixedDecimals) { - str = str.replace(formatDecimalsRegExp, '$1'); - } +/***/ "./node_modules/core-js/modules/_descriptors.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_descriptors.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (thousandsSeparator) { - str = str.split('.').map(function (s, i) { - return i === 0 - ? s.replace(formatThousandsRegExp, thousandsSeparator) - : s - }).join('.'); - } +// Thank's IE8 for his funny defineProperty +module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; +}); - return str + unitSeparator + unit; -} -/** - * Parse the string value into an integer in bytes. - * - * If no unit is given, it is assumed the value is in bytes. - * - * @param {number|string} val - * - * @returns {number|null} - * @public - */ +/***/ }), -function parse(val) { - if (typeof val === 'number' && !isNaN(val)) { - return val; - } +/***/ "./node_modules/core-js/modules/_dom-create.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_dom-create.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (typeof val !== 'string') { - return null; - } +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; +// typeof document.createElement is 'object' in old IE +var is = isObject(document) && isObject(document.createElement); +module.exports = function (it) { + return is ? document.createElement(it) : {}; +}; - // Test if the string passed is valid - var results = parseRegExp.exec(val); - var floatValue; - var unit = 'b'; - if (!results) { - // Nothing could be extracted from the given string - floatValue = parseInt(val, 10); - unit = 'b' - } else { - // Retrieve the value and the unit - floatValue = parseFloat(results[1]); - unit = results[4].toLowerCase(); - } +/***/ }), - if (isNaN(floatValue)) { - return null; - } +/***/ "./node_modules/core-js/modules/_enum-bug-keys.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { - return Math.floor(map[unit] * floatValue); -} +// IE 8- don't enum bug keys +module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' +).split(','); /***/ }), -/***/ "./node_modules/call-bind/callBound.js": -/*!*********************************************!*\ - !*** ./node_modules/call-bind/callBound.js ***! - \*********************************************/ +/***/ "./node_modules/core-js/modules/_enum-keys.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_enum-keys.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +// all enumerable object keys, includes symbols +var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); +var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); +module.exports = function (it) { + var result = getKeys(it); + var getSymbols = gOPS.f; + if (getSymbols) { + var symbols = getSymbols(it); + var isEnum = pIE.f; + var i = 0; + var key; + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); + } return result; +}; -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js"); +/***/ }), -var callBind = __webpack_require__(/*! ./ */ "./node_modules/call-bind/index.js"); +/***/ "./node_modules/core-js/modules/_export.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_export.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var PROTOTYPE = 'prototype'; -module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { - return callBind(intrinsic); - } - return intrinsic; +var $export = function (type, name, source) { + var IS_FORCED = type & $export.F; + var IS_GLOBAL = type & $export.G; + var IS_STATIC = type & $export.S; + var IS_PROTO = type & $export.P; + var IS_BIND = type & $export.B; + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); + var key, own, out, exp; + if (IS_GLOBAL) source = name; + for (key in source) { + // contains in native + own = !IS_FORCED && target && target[key] !== undefined; + // export native or passed + out = (own ? target : source)[key]; + // bind timers to global for call from export context + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; + // extend global + if (target) redefine(target, key, out, type & $export.U); + // export + if (exports[key] != out) hide(exports, key, exp); + if (IS_PROTO && expProto[key] != out) expProto[key] = out; + } }; +global.core = core; +// type bitmap +$export.F = 1; // forced +$export.G = 2; // global +$export.S = 4; // static +$export.P = 8; // proto +$export.B = 16; // bind +$export.W = 32; // wrap +$export.U = 64; // safe +$export.R = 128; // real proto method for `library` +module.exports = $export; /***/ }), -/***/ "./node_modules/call-bind/index.js": -/*!*****************************************!*\ - !*** ./node_modules/call-bind/index.js ***! - \*****************************************/ +/***/ "./node_modules/core-js/modules/_fails-is-regexp.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_fails-is-regexp.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/*! CommonJS bailout: module.exports is used directly at 44:17-31 */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - - -var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js"); -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js"); - -var $apply = GetIntrinsic('%Function.prototype.apply%'); -var $call = GetIntrinsic('%Function.prototype.call%'); -var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); +var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); +module.exports = function (KEY) { + var re = /./; + try { + '/./'[KEY](re); + } catch (e) { + try { + re[MATCH] = false; + return !'/./'[KEY](re); + } catch (f) { /* empty */ } + } return true; +}; -var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); -var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); -var $max = GetIntrinsic('%Math.max%'); -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } -} +/***/ }), -module.exports = function callBind(originalFunction) { - var func = $reflectApply(bind, $call, arguments); - if ($gOPD && $defineProperty) { - var desc = $gOPD(func, 'length'); - if (desc.configurable) { - // original length, plus the receiver, minus any additional arguments (after the receiver) - $defineProperty( - func, - 'length', - { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } - ); - } - } - return func; -}; +/***/ "./node_modules/core-js/modules/_fails.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_fails.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -var applyBind = function applyBind() { - return $reflectApply(bind, $apply, arguments); +module.exports = function (exec) { + try { + return !!exec(); + } catch (e) { + return true; + } }; -if ($defineProperty) { - $defineProperty(module.exports, 'apply', { value: applyBind }); -} else { - module.exports.apply = applyBind; -} - /***/ }), -/***/ "./node_modules/content-disposition/index.js": -/*!***************************************************!*\ - !*** ./node_modules/content-disposition/index.js ***! - \***************************************************/ +/***/ "./node_modules/core-js/modules/_fix-re-wks.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_fix-re-wks.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -/*! - * content-disposition - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed - */ +__webpack_require__(/*! ./es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); +var SPECIES = wks('species'); -/** - * Module exports. - * @public - */ - -module.exports = contentDisposition -module.exports.parse = parse - -/** - * Module dependencies. - * @private - */ - -var basename = __webpack_require__(/*! path */ "path").basename -var Buffer = __webpack_require__(/*! safe-buffer */ "./node_modules/safe-buffer/index.js").Buffer - -/** - * RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including "%") - * @private - */ - -var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g // eslint-disable-line no-control-regex +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + // #replace needs built-in support for named groups. + // #match works fine because it just return the exec results, even if it has + // a "grops" property. + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$') !== '7'; +}); -/** - * RegExp to match percent encoding escape. - * @private - */ +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; +})(); -var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/ -var HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g +module.exports = function (KEY, length, exec) { + var SYMBOL = wks(KEY); -/** - * RegExp to match non-latin1 characters. - * @private - */ + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); -var NON_LATIN1_REGEXP = /[^\x20-\x7e\xa0-\xff]/g + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + re.exec = function () { execCalled = true; return null; }; + if (KEY === 'split') { + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + } + re[SYMBOL](''); + return !execCalled; + }) : undefined; -/** - * RegExp to match quoted-pair in RFC 2616 - * - * quoted-pair = "\" CHAR - * CHAR = - * @private - */ + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var fns = exec( + defined, + SYMBOL, + ''[KEY], + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { + if (regexp.exec === regexpExec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + } + ); + var strfn = fns[0]; + var rxfn = fns[1]; -var QESC_REGEXP = /\\([\u0000-\u007f])/g // eslint-disable-line no-control-regex + redefine(String.prototype, KEY, strfn); + hide(RegExp.prototype, SYMBOL, length == 2 + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) + // 21.2.5.11 RegExp.prototype[@@split](string, limit) + ? function (string, arg) { return rxfn.call(string, this, arg); } + // 21.2.5.6 RegExp.prototype[@@match](string) + // 21.2.5.9 RegExp.prototype[@@search](string) + : function (string) { return rxfn.call(string, this); } + ); + } +}; -/** - * RegExp to match chars that must be quoted-pair in RFC 2616 - * @private - */ -var QUOTE_REGEXP = /([\\"])/g +/***/ }), -/** - * RegExp for various RFC 2616 grammar - * - * parameter = token "=" ( token | quoted-string ) - * token = 1* - * separators = "(" | ")" | "<" | ">" | "@" - * | "," | ";" | ":" | "\" | <"> - * | "/" | "[" | "]" | "?" | "=" - * | "{" | "}" | SP | HT - * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> ) - * qdtext = > - * quoted-pair = "\" CHAR - * CHAR = - * TEXT = - * LWS = [CRLF] 1*( SP | HT ) - * CRLF = CR LF - * CR = - * LF = - * SP = - * HT = - * CTL = - * OCTET = - * @private - */ +/***/ "./node_modules/core-js/modules/_flags.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_flags.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var PARAM_REGEXP = /;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g // eslint-disable-line no-control-regex -var TEXT_REGEXP = /^[\x20-\x7e\x80-\xff]+$/ -var TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/ +"use strict"; -/** - * RegExp for various RFC 5987 grammar - * - * ext-value = charset "'" [ language ] "'" value-chars - * charset = "UTF-8" / "ISO-8859-1" / mime-charset - * mime-charset = 1*mime-charsetc - * mime-charsetc = ALPHA / DIGIT - * / "!" / "#" / "$" / "%" / "&" - * / "+" / "-" / "^" / "_" / "`" - * / "{" / "}" / "~" - * language = ( 2*3ALPHA [ extlang ] ) - * / 4ALPHA - * / 5*8ALPHA - * extlang = *3( "-" 3ALPHA ) - * value-chars = *( pct-encoded / attr-char ) - * pct-encoded = "%" HEXDIG HEXDIG - * attr-char = ALPHA / DIGIT - * / "!" / "#" / "$" / "&" / "+" / "-" / "." - * / "^" / "_" / "`" / "|" / "~" - * @private - */ +// 21.2.5.3 get RegExp.prototype.flags +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; + return result; +}; -var EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/ -/** - * RegExp for various RFC 6266 grammar - * - * disposition-type = "inline" | "attachment" | disp-ext-type - * disp-ext-type = token - * disposition-parm = filename-parm | disp-ext-parm - * filename-parm = "filename" "=" value - * | "filename*" "=" ext-value - * disp-ext-parm = token "=" value - * | ext-token "=" ext-value - * ext-token = - * @private - */ +/***/ }), -var DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/ // eslint-disable-line no-control-regex +/***/ "./node_modules/core-js/modules/_flatten-into-array.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Create an attachment Content-Disposition header. - * - * @param {string} [filename] - * @param {object} [options] - * @param {string} [options.type=attachment] - * @param {string|boolean} [options.fallback=true] - * @return {string} - * @public - */ +"use strict"; -function contentDisposition (filename, options) { - var opts = options || {} +// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray +var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('isConcatSpreadable'); - // get type - var type = opts.type || 'attachment' +function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { + var targetIndex = start; + var sourceIndex = 0; + var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; + var element, spreadable; - // get parameters - var params = createparams(filename, opts.fallback) + while (sourceIndex < sourceLen) { + if (sourceIndex in source) { + element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - // format into string - return format(new ContentDisposition(type, params)) -} + spreadable = false; + if (isObject(element)) { + spreadable = element[IS_CONCAT_SPREADABLE]; + spreadable = spreadable !== undefined ? !!spreadable : isArray(element); + } -/** - * Create parameters object from filename and fallback. - * - * @param {string} [filename] - * @param {string|boolean} [fallback=true] - * @return {object} - * @private - */ + if (spreadable && depth > 0) { + targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; + } else { + if (targetIndex >= 0x1fffffffffffff) throw TypeError(); + target[targetIndex] = element; + } -function createparams (filename, fallback) { - if (filename === undefined) { - return + targetIndex++; + } + sourceIndex++; } + return targetIndex; +} - var params = {} +module.exports = flattenIntoArray; - if (typeof filename !== 'string') { - throw new TypeError('filename must be a string') - } - // fallback defaults to true - if (fallback === undefined) { - fallback = true - } +/***/ }), - if (typeof fallback !== 'string' && typeof fallback !== 'boolean') { - throw new TypeError('fallback must be a string or boolean') - } +/***/ "./node_modules/core-js/modules/_for-of.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_for-of.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:14-28 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (typeof fallback === 'string' && NON_LATIN1_REGEXP.test(fallback)) { - throw new TypeError('fallback must be ISO-8859-1 string') +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); +var BREAK = {}; +var RETURN = {}; +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); + var f = ctx(fn, that, entries ? 2 : 1); + var index = 0; + var length, step, iterator, result; + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); + // fast case for arrays with default iterator + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); + if (result === BREAK || result === RETURN) return result; + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { + result = call(iterator, f, step.value, entries); + if (result === BREAK || result === RETURN) return result; } +}; +exports.BREAK = BREAK; +exports.RETURN = RETURN; - // restrict to file base name - var name = basename(filename) - - // determine if name is suitable for quoted string - var isQuotedString = TEXT_REGEXP.test(name) - - // generate fallback name - var fallbackName = typeof fallback !== 'string' - ? fallback && getlatin1(name) - : basename(fallback) - var hasFallback = typeof fallbackName === 'string' && fallbackName !== name - // set extended filename parameter - if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name)) { - params['filename*'] = name - } +/***/ }), - // set filename parameter - if (isQuotedString || hasFallback) { - params.filename = hasFallback - ? fallbackName - : name - } +/***/ "./node_modules/core-js/modules/_function-to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_function-to-string.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return params -} +module.exports = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); -/** - * Format object to Content-Disposition header. - * - * @param {object} obj - * @param {string} obj.type - * @param {object} [obj.parameters] - * @return {string} - * @private - */ -function format (obj) { - var parameters = obj.parameters - var type = obj.type +/***/ }), - if (!type || typeof type !== 'string' || !TOKEN_REGEXP.test(type)) { - throw new TypeError('invalid type') - } +/***/ "./node_modules/core-js/modules/_global.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_global.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:13-27 */ +/***/ ((module) => { - // start with normalized type - var string = String(type).toLowerCase() +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 +var global = module.exports = typeof window != 'undefined' && window.Math == Math + ? window : typeof self != 'undefined' && self.Math == Math ? self + // eslint-disable-next-line no-new-func + : Function('return this')(); +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef - // append parameters - if (parameters && typeof parameters === 'object') { - var param - var params = Object.keys(parameters).sort() - for (var i = 0; i < params.length; i++) { - param = params[i] +/***/ }), - var val = param.substr(-1) === '*' - ? ustring(parameters[param]) - : qstring(parameters[param]) +/***/ "./node_modules/core-js/modules/_has.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_has.js ***! + \**********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { - string += '; ' + param + '=' + val - } - } +var hasOwnProperty = {}.hasOwnProperty; +module.exports = function (it, key) { + return hasOwnProperty.call(it, key); +}; - return string -} -/** - * Decode a RFC 5987 field value (gracefully). - * - * @param {string} str - * @return {string} - * @private - */ +/***/ }), -function decodefield (str) { - var match = EXT_VALUE_REGEXP.exec(str) +/***/ "./node_modules/core-js/modules/_hide.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_hide.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (!match) { - throw new TypeError('invalid extended field value') - } +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); +module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); +} : function (object, key, value) { + object[key] = value; + return object; +}; - var charset = match[1].toLowerCase() - var encoded = match[2] - var value - // to binary string - var binary = encoded.replace(HEX_ESCAPE_REPLACE_REGEXP, pdecode) +/***/ }), - switch (charset) { - case 'iso-8859-1': - value = getlatin1(binary) - break - case 'utf-8': - value = Buffer.from(binary, 'binary').toString('utf8') - break - default: - throw new TypeError('unsupported charset in extended field') - } +/***/ "./node_modules/core-js/modules/_html.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_html.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return value -} +var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; +module.exports = document && document.documentElement; -/** - * Get ISO-8859-1 version of string. - * - * @param {string} val - * @return {string} - * @private - */ -function getlatin1 (val) { - // simple Unicode -> ISO-8859-1 transformation - return String(val).replace(NON_LATIN1_REGEXP, '?') -} +/***/ }), -/** - * Parse Content-Disposition header string. - * - * @param {string} string - * @return {object} - * @public - */ +/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function parse (string) { - if (!string || typeof string !== 'string') { - throw new TypeError('argument string is required') - } +module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +}); - var match = DISPOSITION_TYPE_REGEXP.exec(string) - if (!match) { - throw new TypeError('invalid type format') - } +/***/ }), - // normalize type - var index = match[0].length - var type = match[1].toLowerCase() +/***/ "./node_modules/core-js/modules/_inherit-if-required.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/_inherit-if-required.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var key - var names = [] - var params = {} - var value +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var setPrototypeOf = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set; +module.exports = function (that, target, C) { + var S = target.constructor; + var P; + if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { + setPrototypeOf(that, P); + } return that; +}; - // calculate index to start at - index = PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';' - ? index - 1 - : index - // match parameters - while ((match = PARAM_REGEXP.exec(string))) { - if (match.index !== index) { - throw new TypeError('invalid parameter format') - } +/***/ }), - index += match[0].length - key = match[1].toLowerCase() - value = match[2] +/***/ "./node_modules/core-js/modules/_invoke.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_invoke.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { - if (names.indexOf(key) !== -1) { - throw new TypeError('invalid duplicate parameter') - } +// fast apply, http://jsperf.lnkit.com/fast-apply/5 +module.exports = function (fn, args, that) { + var un = that === undefined; + switch (args.length) { + case 0: return un ? fn() + : fn.call(that); + case 1: return un ? fn(args[0]) + : fn.call(that, args[0]); + case 2: return un ? fn(args[0], args[1]) + : fn.call(that, args[0], args[1]); + case 3: return un ? fn(args[0], args[1], args[2]) + : fn.call(that, args[0], args[1], args[2]); + case 4: return un ? fn(args[0], args[1], args[2], args[3]) + : fn.call(that, args[0], args[1], args[2], args[3]); + } return fn.apply(that, args); +}; - names.push(key) - if (key.indexOf('*') + 1 === key.length) { - // decode extended value - key = key.slice(0, -1) - value = decodefield(value) +/***/ }), - // overwrite existing value - params[key] = value - continue - } +/***/ "./node_modules/core-js/modules/_iobject.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_iobject.js ***! + \**************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (typeof params[key] === 'string') { - continue - } +// fallback for non-array-like ES3 and non-enumerable old V8 strings +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +// eslint-disable-next-line no-prototype-builtins +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); +}; - if (value[0] === '"') { - // remove quotes and escapes - value = value - .substr(1, value.length - 2) - .replace(QESC_REGEXP, '$1') - } - params[key] = value - } +/***/ }), - if (index !== -1 && index !== string.length) { - throw new TypeError('invalid parameter format') - } +/***/ "./node_modules/core-js/modules/_is-array-iter.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array-iter.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return new ContentDisposition(type, params) -} +// check on default Array iterator +var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); +var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); +var ArrayProto = Array.prototype; -/** - * Percent decode a single character. - * - * @param {string} str - * @param {string} hex - * @return {string} - * @private - */ +module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); +}; -function pdecode (str, hex) { - return String.fromCharCode(parseInt(hex, 16)) -} -/** - * Percent encode a single character. - * - * @param {string} char - * @return {string} - * @private - */ +/***/ }), -function pencode (char) { - return '%' + String(char) - .charCodeAt(0) - .toString(16) - .toUpperCase() -} +/***/ "./node_modules/core-js/modules/_is-array.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Quote a string for HTTP. - * - * @param {string} val - * @return {string} - * @private - */ +// 7.2.2 IsArray(argument) +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; +}; -function qstring (val) { - var str = String(val) - return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' -} +/***/ }), -/** - * Encode a Unicode string for HTTP (RFC 5987). - * - * @param {string} val - * @return {string} - * @private - */ +/***/ "./node_modules/core-js/modules/_is-integer.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-integer.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function ustring (val) { - var str = String(val) +// 20.1.2.3 Number.isInteger(number) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var floor = Math.floor; +module.exports = function isInteger(it) { + return !isObject(it) && isFinite(it) && floor(it) === it; +}; - // percent encode as UTF-8 - var encoded = encodeURIComponent(str) - .replace(ENCODE_URL_ATTR_CHAR_REGEXP, pencode) - return 'UTF-8\'\'' + encoded -} +/***/ }), -/** - * Class for parsed Content-Disposition header for v8 optimization - * - * @public - * @param {string} type - * @param {object} parameters - * @constructor - */ +/***/ "./node_modules/core-js/modules/_is-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-object.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -function ContentDisposition (type, parameters) { - this.type = type - this.parameters = parameters -} +module.exports = function (it) { + return typeof it === 'object' ? it !== null : typeof it === 'function'; +}; /***/ }), -/***/ "./node_modules/content-type/index.js": -/*!********************************************!*\ - !*** ./node_modules/content-type/index.js ***! - \********************************************/ -/*! default exports */ -/*! export format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export parse [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +/***/ "./node_modules/core-js/modules/_is-regexp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-regexp.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * content-type - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ +// 7.2.8 IsRegExp(argument) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); +module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); +}; +/***/ }), -/** - * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1 - * - * parameter = token "=" ( token / quoted-string ) - * token = 1*tchar - * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" - * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" - * / DIGIT / ALPHA - * ; any VCHAR, except delimiters - * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE - * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text - * obs-text = %x80-FF - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - */ -var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g -var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/ -var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/ +/***/ "./node_modules/core-js/modules/_iter-call.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-call.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * RegExp to match quoted-pair in RFC 7230 sec 3.2.6 - * - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - * obs-text = %x80-FF - */ -var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g +// call something on iterator step with safe closing on error +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +module.exports = function (iterator, fn, value, entries) { + try { + return entries ? fn(anObject(value)[0], value[1]) : fn(value); + // 7.4.6 IteratorClose(iterator, completion) + } catch (e) { + var ret = iterator['return']; + if (ret !== undefined) anObject(ret.call(iterator)); + throw e; + } +}; -/** - * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6 - */ -var QUOTE_REGEXP = /([\\"])/g -/** - * RegExp to match type in RFC 7231 sec 3.1.1.1 - * - * media-type = type "/" subtype - * type = token - * subtype = token - */ -var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/ +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/core-js/modules/_iter-create.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-create.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.format = format -exports.parse = parse +"use strict"; -/** - * Format object to media type. - * - * @param {object} obj - * @return {string} - * @public - */ +var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); +var descriptor = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); +var IteratorPrototype = {}; -function format (obj) { - if (!obj || typeof obj !== 'object') { - throw new TypeError('argument obj is required') - } +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() +__webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); + +module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); +}; - var parameters = obj.parameters - var type = obj.type - if (!type || !TYPE_REGEXP.test(type)) { - throw new TypeError('invalid type') - } +/***/ }), - var string = type +/***/ "./node_modules/core-js/modules/_iter-define.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-define.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // append parameters - if (parameters && typeof parameters === 'object') { - var param - var params = Object.keys(parameters).sort() +"use strict"; - for (var i = 0; i < params.length; i++) { - param = params[i] +var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; - if (!TOKEN_REGEXP.test(param)) { - throw new TypeError('invalid parameter name') - } +var returnThis = function () { return this; }; - string += '; ' + param + '=' + qstring(parameters[param]) +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } - - return string -} - -/** - * Parse media type to object. - * - * @param {string|object} string - * @return {Object} - * @public - */ - -function parse (string) { - if (!string) { - throw new TypeError('argument string is required') + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; } - - // support req/res-like objects as argument - var header = typeof string === 'object' - ? getcontenttype(string) - : string - - if (typeof header !== 'string') { - throw new TypeError('argument string is required to be a string') + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } + return methods; +}; - var index = header.indexOf(';') - var type = index !== -1 - ? header.substr(0, index).trim() - : header.trim() - if (!TYPE_REGEXP.test(type)) { - throw new TypeError('invalid media type') - } +/***/ }), - var obj = new ContentType(type.toLowerCase()) +/***/ "./node_modules/core-js/modules/_iter-detect.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-detect.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // parse parameters - if (index !== -1) { - var key - var match - var value +var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); +var SAFE_CLOSING = false; - PARAM_REGEXP.lastIndex = index +try { + var riter = [7][ITERATOR](); + riter['return'] = function () { SAFE_CLOSING = true; }; + // eslint-disable-next-line no-throw-literal + Array.from(riter, function () { throw 2; }); +} catch (e) { /* empty */ } - while ((match = PARAM_REGEXP.exec(header))) { - if (match.index !== index) { - throw new TypeError('invalid parameter format') - } +module.exports = function (exec, skipClosing) { + if (!skipClosing && !SAFE_CLOSING) return false; + var safe = false; + try { + var arr = [7]; + var iter = arr[ITERATOR](); + iter.next = function () { return { done: safe = true }; }; + arr[ITERATOR] = function () { return iter; }; + exec(arr); + } catch (e) { /* empty */ } + return safe; +}; - index += match[0].length - key = match[1].toLowerCase() - value = match[2] - if (value[0] === '"') { - // remove quotes and escapes - value = value - .substr(1, value.length - 2) - .replace(QESC_REGEXP, '$1') - } +/***/ }), - obj.parameters[key] = value - } +/***/ "./node_modules/core-js/modules/_iter-step.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-step.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - if (index !== header.length) { - throw new TypeError('invalid parameter format') - } - } +module.exports = function (done, value) { + return { value: value, done: !!done }; +}; - return obj -} -/** - * Get content-type from req/res objects. - * - * @param {object} - * @return {Object} - * @private - */ +/***/ }), -function getcontenttype (obj) { - var header +/***/ "./node_modules/core-js/modules/_iterators.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iterators.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - if (typeof obj.getHeader === 'function') { - // res-like - header = obj.getHeader('content-type') - } else if (typeof obj.headers === 'object') { - // req-like - header = obj.headers && obj.headers['content-type'] - } +module.exports = {}; - if (typeof header !== 'string') { - throw new TypeError('content-type header is missing from object') - } - return header -} +/***/ }), -/** - * Quote a string if necessary. - * - * @param {string} val - * @return {string} - * @private - */ +/***/ "./node_modules/core-js/modules/_library.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_library.js ***! + \**************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -function qstring (val) { - var str = String(val) +module.exports = false; - // no need to quote tokens - if (TOKEN_REGEXP.test(str)) { - return str - } - if (str.length > 0 && !TEXT_REGEXP.test(str)) { - throw new TypeError('invalid parameter value') - } +/***/ }), - return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' -} +/***/ "./node_modules/core-js/modules/_math-expm1.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_math-expm1.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module) => { -/** - * Class to represent a content type. - * @private - */ -function ContentType (type) { - this.parameters = Object.create(null) - this.type = type -} +// 20.2.2.14 Math.expm1(x) +var $expm1 = Math.expm1; +module.exports = (!$expm1 + // Old FF bug + || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 + // Tor Browser bug + || $expm1(-2e-17) != -2e-17 +) ? function expm1(x) { + return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; +} : $expm1; /***/ }), -/***/ "./node_modules/cookie-signature/index.js": -/*!************************************************!*\ - !*** ./node_modules/cookie-signature/index.js ***! - \************************************************/ -/*! default exports */ -/*! export sign [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export unsign [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/*! CommonJS bailout: exports.sign(...) prevents optimization as exports is passed as call context as 40:12-24 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -/** - * Module dependencies. - */ +/***/ "./node_modules/core-js/modules/_math-fround.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_math-fround.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var crypto = __webpack_require__(/*! crypto */ "crypto"); +// 20.2.2.16 Math.fround(x) +var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); +var pow = Math.pow; +var EPSILON = pow(2, -52); +var EPSILON32 = pow(2, -23); +var MAX32 = pow(2, 127) * (2 - EPSILON32); +var MIN32 = pow(2, -126); -/** - * Sign the given `val` with `secret`. - * - * @param {String} val - * @param {String} secret - * @return {String} - * @api private - */ +var roundTiesToEven = function (n) { + return n + 1 / EPSILON - 1 / EPSILON; +}; -exports.sign = function(val, secret){ - if ('string' != typeof val) throw new TypeError("Cookie value must be provided as a string."); - if ('string' != typeof secret) throw new TypeError("Secret string must be provided."); - return val + '.' + crypto - .createHmac('sha256', secret) - .update(val) - .digest('base64') - .replace(/\=+$/, ''); +module.exports = Math.fround || function fround(x) { + var $abs = Math.abs(x); + var $sign = sign(x); + var a, result; + if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; + a = (1 + EPSILON32 / EPSILON) * $abs; + result = a - (a - $abs); + // eslint-disable-next-line no-self-compare + if (result > MAX32 || result != result) return $sign * Infinity; + return $sign * result; }; -/** - * Unsign and decode the given `val` with `secret`, - * returning `false` if the signature is invalid. - * - * @param {String} val - * @param {String} secret - * @return {String|Boolean} - * @api private - */ -exports.unsign = function(val, secret){ - if ('string' != typeof val) throw new TypeError("Signed cookie string must be provided."); - if ('string' != typeof secret) throw new TypeError("Secret string must be provided."); - var str = val.slice(0, val.lastIndexOf('.')) - , mac = exports.sign(str, secret); - - return sha1(mac) == sha1(val) ? str : false; -}; +/***/ }), -/** - * Private - */ +/***/ "./node_modules/core-js/modules/_math-log1p.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_math-log1p.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { -function sha1(str){ - return crypto.createHash('sha1').update(str).digest('hex'); -} +// 20.2.2.20 Math.log1p(x) +module.exports = Math.log1p || function log1p(x) { + return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); +}; /***/ }), -/***/ "./node_modules/cookie/index.js": -/*!**************************************!*\ - !*** ./node_modules/cookie/index.js ***! - \**************************************/ -/*! default exports */ -/*! export parse [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export serialize [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +/***/ "./node_modules/core-js/modules/_math-sign.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_math-sign.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { -"use strict"; -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ +// 20.2.2.28 Math.sign(x) +module.exports = Math.sign || function sign(x) { + // eslint-disable-next-line no-self-compare + return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; +}; +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/core-js/modules/_meta.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_meta.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 47:11-25 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.parse = parse; -exports.serialize = serialize; +var META = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('meta'); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var setDesc = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var id = 0; +var isExtensible = Object.isExtensible || function () { + return true; +}; +var FREEZE = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return isExtensible(Object.preventExtensions({})); +}); +var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); +}; +var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; +}; +var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; +}; +// add metadata on freeze-family methods calling +var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; +}; +var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze +}; -/** - * Module variables. - * @private - */ -var decode = decodeURIComponent; -var encode = encodeURIComponent; +/***/ }), -/** - * RegExp to match field-content in RFC 7230 sec 3.2 - * - * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] - * field-vchar = VCHAR / obs-text - * obs-text = %x80-FF - */ +/***/ "./node_modules/core-js/modules/_microtask.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_microtask.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var macrotask = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; +var Observer = global.MutationObserver || global.WebKitMutationObserver; +var process = global.process; +var Promise = global.Promise; +var isNode = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process'; -/** - * Parse a cookie header. - * - * Parse the given cookie header string into an object - * The object has the various cookies as keys(names) => values - * - * @param {string} str - * @param {object} [options] - * @return {object} - * @public - */ +module.exports = function () { + var head, last, notify; -function parse(str, options) { - if (typeof str !== 'string') { - throw new TypeError('argument str must be a string'); + var flush = function () { + var parent, fn; + if (isNode && (parent = process.domain)) parent.exit(); + while (head) { + fn = head.fn; + head = head.next; + try { + fn(); + } catch (e) { + if (head) notify(); + else last = undefined; + throw e; + } + } last = undefined; + if (parent) parent.enter(); + }; + + // Node.js + if (isNode) { + notify = function () { + process.nextTick(flush); + }; + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 + } else if (Observer && !(global.navigator && global.navigator.standalone)) { + var toggle = true; + var node = document.createTextNode(''); + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new + notify = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (Promise && Promise.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + var promise = Promise.resolve(undefined); + notify = function () { + promise.then(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessag + // - onreadystatechange + // - setTimeout + } else { + notify = function () { + // strange IE + webpack dev server bug - use .call(global) + macrotask.call(global, flush); + }; } - var obj = {} - var opt = options || {}; - var pairs = str.split(';') - var dec = opt.decode || decode; + return function (fn) { + var task = { fn: fn, next: undefined }; + if (last) last.next = task; + if (!head) { + head = task; + notify(); + } last = task; + }; +}; - for (var i = 0; i < pairs.length; i++) { - var pair = pairs[i]; - var index = pair.indexOf('=') - // skip things that don't look like key=value - if (index < 0) { - continue; - } +/***/ }), - var key = pair.substring(0, index).trim() +/***/ "./node_modules/core-js/modules/_new-promise-capability.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/_new-promise-capability.js ***! + \*****************************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // only assign once - if (undefined == obj[key]) { - var val = pair.substring(index + 1, pair.length).trim() +"use strict"; - // quoted values - if (val[0] === '"') { - val = val.slice(1, -1) - } +// 25.4.1.5 NewPromiseCapability(C) +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); - obj[key] = tryDecode(val, dec); +function PromiseCapability(C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aFunction(resolve); + this.reject = aFunction(reject); +} + +module.exports.f = function (C) { + return new PromiseCapability(C); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/_object-assign.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-assign.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + +// 19.1.2.1 Object.assign(target, source, ...) +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); +var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); +var $assign = Object.assign; + +// should work with symbols and should have deterministic property order (V8 bug) +module.exports = !$assign || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; } - } + } return T; +} : $assign; - return obj; -} -/** - * Serialize data into a cookie header. - * - * Serialize the a name value pair into a cookie string suitable for - * http headers. An optional options object specified cookie parameters. - * - * serialize('foo', 'bar', { httpOnly: true }) - * => "foo=bar; httpOnly" - * - * @param {string} name - * @param {string} val - * @param {object} [options] - * @return {string} - * @public - */ +/***/ }), -function serialize(name, val, options) { - var opt = options || {}; - var enc = opt.encode || encode; +/***/ "./node_modules/core-js/modules/_object-create.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-create.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (typeof enc !== 'function') { - throw new TypeError('option encode is invalid'); - } +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var dPs = __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js"); +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); +var Empty = function () { /* empty */ }; +var PROTOTYPE = 'prototype'; - if (!fieldContentRegExp.test(name)) { - throw new TypeError('argument name is invalid'); - } +// Create object with fake `null` prototype: use iframe Object with cleared prototype +var createDict = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js").appendChild(iframe); + iframe.src = 'javascript:'; // eslint-disable-line no-script-url + // createDict = iframe.contentWindow.Object; + // html.removeChild(iframe); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); +}; - var value = enc(val); +module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); +}; - if (value && !fieldContentRegExp.test(value)) { - throw new TypeError('argument val is invalid'); - } - var str = name + '=' + value; +/***/ }), - if (null != opt.maxAge) { - var maxAge = opt.maxAge - 0; +/***/ "./node_modules/core-js/modules/_object-dp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dp.js ***! + \****************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__, __webpack_require__ */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - if (isNaN(maxAge) || !isFinite(maxAge)) { - throw new TypeError('option maxAge is invalid') - } +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +var dP = Object.defineProperty; - str += '; Max-Age=' + Math.floor(maxAge); - } +exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; - if (opt.domain) { - if (!fieldContentRegExp.test(opt.domain)) { - throw new TypeError('option domain is invalid'); - } - str += '; Domain=' + opt.domain; - } +/***/ }), - if (opt.path) { - if (!fieldContentRegExp.test(opt.path)) { - throw new TypeError('option path is invalid'); - } +/***/ "./node_modules/core-js/modules/_object-dps.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dps.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - str += '; Path=' + opt.path; - } +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); - if (opt.expires) { - if (typeof opt.expires.toUTCString !== 'function') { - throw new TypeError('option expires is invalid'); - } +module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; +}; - str += '; Expires=' + opt.expires.toUTCString(); - } - if (opt.httpOnly) { - str += '; HttpOnly'; - } +/***/ }), - if (opt.secure) { - str += '; Secure'; - } +/***/ "./node_modules/core-js/modules/_object-gopd.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopd.js ***! + \******************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__, __webpack_require__ */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - if (opt.sameSite) { - var sameSite = typeof opt.sameSite === 'string' - ? opt.sameSite.toLowerCase() : opt.sameSite; +var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); +var gOPD = Object.getOwnPropertyDescriptor; - switch (sameSite) { - case true: - str += '; SameSite=Strict'; - break; - case 'lax': - str += '; SameSite=Lax'; - break; - case 'strict': - str += '; SameSite=Strict'; - break; - case 'none': - str += '; SameSite=None'; - break; - default: - throw new TypeError('option sameSite is invalid'); - } - } +exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); +}; - return str; -} -/** - * Try decoding a string using a decoding function. - * - * @param {string} str - * @param {function} decode - * @private - */ +/***/ }), -function tryDecode(str, decode) { +/***/ "./node_modules/core-js/modules/_object-gopn-ext.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopn-ext.js ***! + \**********************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, module */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; +var toString = {}.toString; + +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + +var getWindowNames = function (it) { try { - return decode(str); + return gOPN(it); } catch (e) { - return str; + return windowNames.slice(); } -} +}; + +module.exports.f = function getOwnPropertyNames(it) { + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); +}; /***/ }), -/***/ "./node_modules/core-js/es6/index.js": -/*!*******************************************!*\ - !*** ./node_modules/core-js/es6/index.js ***! - \*******************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js/modules/_core.js */ +/***/ "./node_modules/core-js/modules/_object-gopn.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gopn.js ***! + \******************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); +var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); + +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); +}; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/_object-gops.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gops.js ***! + \******************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { + +exports.f = Object.getOwnPropertySymbols; + + +/***/ }), + +/***/ "./node_modules/core-js/modules/_object-gpo.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-gpo.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../modules/es6.symbol */ "./node_modules/core-js/modules/es6.symbol.js"); -__webpack_require__(/*! ../modules/es6.object.create */ "./node_modules/core-js/modules/es6.object.create.js"); -__webpack_require__(/*! ../modules/es6.object.define-property */ "./node_modules/core-js/modules/es6.object.define-property.js"); -__webpack_require__(/*! ../modules/es6.object.define-properties */ "./node_modules/core-js/modules/es6.object.define-properties.js"); -__webpack_require__(/*! ../modules/es6.object.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"); -__webpack_require__(/*! ../modules/es6.object.get-prototype-of */ "./node_modules/core-js/modules/es6.object.get-prototype-of.js"); -__webpack_require__(/*! ../modules/es6.object.keys */ "./node_modules/core-js/modules/es6.object.keys.js"); -__webpack_require__(/*! ../modules/es6.object.get-own-property-names */ "./node_modules/core-js/modules/es6.object.get-own-property-names.js"); -__webpack_require__(/*! ../modules/es6.object.freeze */ "./node_modules/core-js/modules/es6.object.freeze.js"); -__webpack_require__(/*! ../modules/es6.object.seal */ "./node_modules/core-js/modules/es6.object.seal.js"); -__webpack_require__(/*! ../modules/es6.object.prevent-extensions */ "./node_modules/core-js/modules/es6.object.prevent-extensions.js"); -__webpack_require__(/*! ../modules/es6.object.is-frozen */ "./node_modules/core-js/modules/es6.object.is-frozen.js"); -__webpack_require__(/*! ../modules/es6.object.is-sealed */ "./node_modules/core-js/modules/es6.object.is-sealed.js"); -__webpack_require__(/*! ../modules/es6.object.is-extensible */ "./node_modules/core-js/modules/es6.object.is-extensible.js"); -__webpack_require__(/*! ../modules/es6.object.assign */ "./node_modules/core-js/modules/es6.object.assign.js"); -__webpack_require__(/*! ../modules/es6.object.is */ "./node_modules/core-js/modules/es6.object.is.js"); -__webpack_require__(/*! ../modules/es6.object.set-prototype-of */ "./node_modules/core-js/modules/es6.object.set-prototype-of.js"); -__webpack_require__(/*! ../modules/es6.object.to-string */ "./node_modules/core-js/modules/es6.object.to-string.js"); -__webpack_require__(/*! ../modules/es6.function.bind */ "./node_modules/core-js/modules/es6.function.bind.js"); -__webpack_require__(/*! ../modules/es6.function.name */ "./node_modules/core-js/modules/es6.function.name.js"); -__webpack_require__(/*! ../modules/es6.function.has-instance */ "./node_modules/core-js/modules/es6.function.has-instance.js"); -__webpack_require__(/*! ../modules/es6.parse-int */ "./node_modules/core-js/modules/es6.parse-int.js"); -__webpack_require__(/*! ../modules/es6.parse-float */ "./node_modules/core-js/modules/es6.parse-float.js"); -__webpack_require__(/*! ../modules/es6.number.constructor */ "./node_modules/core-js/modules/es6.number.constructor.js"); -__webpack_require__(/*! ../modules/es6.number.to-fixed */ "./node_modules/core-js/modules/es6.number.to-fixed.js"); -__webpack_require__(/*! ../modules/es6.number.to-precision */ "./node_modules/core-js/modules/es6.number.to-precision.js"); -__webpack_require__(/*! ../modules/es6.number.epsilon */ "./node_modules/core-js/modules/es6.number.epsilon.js"); -__webpack_require__(/*! ../modules/es6.number.is-finite */ "./node_modules/core-js/modules/es6.number.is-finite.js"); -__webpack_require__(/*! ../modules/es6.number.is-integer */ "./node_modules/core-js/modules/es6.number.is-integer.js"); -__webpack_require__(/*! ../modules/es6.number.is-nan */ "./node_modules/core-js/modules/es6.number.is-nan.js"); -__webpack_require__(/*! ../modules/es6.number.is-safe-integer */ "./node_modules/core-js/modules/es6.number.is-safe-integer.js"); -__webpack_require__(/*! ../modules/es6.number.max-safe-integer */ "./node_modules/core-js/modules/es6.number.max-safe-integer.js"); -__webpack_require__(/*! ../modules/es6.number.min-safe-integer */ "./node_modules/core-js/modules/es6.number.min-safe-integer.js"); -__webpack_require__(/*! ../modules/es6.number.parse-float */ "./node_modules/core-js/modules/es6.number.parse-float.js"); -__webpack_require__(/*! ../modules/es6.number.parse-int */ "./node_modules/core-js/modules/es6.number.parse-int.js"); -__webpack_require__(/*! ../modules/es6.math.acosh */ "./node_modules/core-js/modules/es6.math.acosh.js"); -__webpack_require__(/*! ../modules/es6.math.asinh */ "./node_modules/core-js/modules/es6.math.asinh.js"); -__webpack_require__(/*! ../modules/es6.math.atanh */ "./node_modules/core-js/modules/es6.math.atanh.js"); -__webpack_require__(/*! ../modules/es6.math.cbrt */ "./node_modules/core-js/modules/es6.math.cbrt.js"); -__webpack_require__(/*! ../modules/es6.math.clz32 */ "./node_modules/core-js/modules/es6.math.clz32.js"); -__webpack_require__(/*! ../modules/es6.math.cosh */ "./node_modules/core-js/modules/es6.math.cosh.js"); -__webpack_require__(/*! ../modules/es6.math.expm1 */ "./node_modules/core-js/modules/es6.math.expm1.js"); -__webpack_require__(/*! ../modules/es6.math.fround */ "./node_modules/core-js/modules/es6.math.fround.js"); -__webpack_require__(/*! ../modules/es6.math.hypot */ "./node_modules/core-js/modules/es6.math.hypot.js"); -__webpack_require__(/*! ../modules/es6.math.imul */ "./node_modules/core-js/modules/es6.math.imul.js"); -__webpack_require__(/*! ../modules/es6.math.log10 */ "./node_modules/core-js/modules/es6.math.log10.js"); -__webpack_require__(/*! ../modules/es6.math.log1p */ "./node_modules/core-js/modules/es6.math.log1p.js"); -__webpack_require__(/*! ../modules/es6.math.log2 */ "./node_modules/core-js/modules/es6.math.log2.js"); -__webpack_require__(/*! ../modules/es6.math.sign */ "./node_modules/core-js/modules/es6.math.sign.js"); -__webpack_require__(/*! ../modules/es6.math.sinh */ "./node_modules/core-js/modules/es6.math.sinh.js"); -__webpack_require__(/*! ../modules/es6.math.tanh */ "./node_modules/core-js/modules/es6.math.tanh.js"); -__webpack_require__(/*! ../modules/es6.math.trunc */ "./node_modules/core-js/modules/es6.math.trunc.js"); -__webpack_require__(/*! ../modules/es6.string.from-code-point */ "./node_modules/core-js/modules/es6.string.from-code-point.js"); -__webpack_require__(/*! ../modules/es6.string.raw */ "./node_modules/core-js/modules/es6.string.raw.js"); -__webpack_require__(/*! ../modules/es6.string.trim */ "./node_modules/core-js/modules/es6.string.trim.js"); -__webpack_require__(/*! ../modules/es6.string.iterator */ "./node_modules/core-js/modules/es6.string.iterator.js"); -__webpack_require__(/*! ../modules/es6.string.code-point-at */ "./node_modules/core-js/modules/es6.string.code-point-at.js"); -__webpack_require__(/*! ../modules/es6.string.ends-with */ "./node_modules/core-js/modules/es6.string.ends-with.js"); -__webpack_require__(/*! ../modules/es6.string.includes */ "./node_modules/core-js/modules/es6.string.includes.js"); -__webpack_require__(/*! ../modules/es6.string.repeat */ "./node_modules/core-js/modules/es6.string.repeat.js"); -__webpack_require__(/*! ../modules/es6.string.starts-with */ "./node_modules/core-js/modules/es6.string.starts-with.js"); -__webpack_require__(/*! ../modules/es6.string.anchor */ "./node_modules/core-js/modules/es6.string.anchor.js"); -__webpack_require__(/*! ../modules/es6.string.big */ "./node_modules/core-js/modules/es6.string.big.js"); -__webpack_require__(/*! ../modules/es6.string.blink */ "./node_modules/core-js/modules/es6.string.blink.js"); -__webpack_require__(/*! ../modules/es6.string.bold */ "./node_modules/core-js/modules/es6.string.bold.js"); -__webpack_require__(/*! ../modules/es6.string.fixed */ "./node_modules/core-js/modules/es6.string.fixed.js"); -__webpack_require__(/*! ../modules/es6.string.fontcolor */ "./node_modules/core-js/modules/es6.string.fontcolor.js"); -__webpack_require__(/*! ../modules/es6.string.fontsize */ "./node_modules/core-js/modules/es6.string.fontsize.js"); -__webpack_require__(/*! ../modules/es6.string.italics */ "./node_modules/core-js/modules/es6.string.italics.js"); -__webpack_require__(/*! ../modules/es6.string.link */ "./node_modules/core-js/modules/es6.string.link.js"); -__webpack_require__(/*! ../modules/es6.string.small */ "./node_modules/core-js/modules/es6.string.small.js"); -__webpack_require__(/*! ../modules/es6.string.strike */ "./node_modules/core-js/modules/es6.string.strike.js"); -__webpack_require__(/*! ../modules/es6.string.sub */ "./node_modules/core-js/modules/es6.string.sub.js"); -__webpack_require__(/*! ../modules/es6.string.sup */ "./node_modules/core-js/modules/es6.string.sup.js"); -__webpack_require__(/*! ../modules/es6.date.now */ "./node_modules/core-js/modules/es6.date.now.js"); -__webpack_require__(/*! ../modules/es6.date.to-json */ "./node_modules/core-js/modules/es6.date.to-json.js"); -__webpack_require__(/*! ../modules/es6.date.to-iso-string */ "./node_modules/core-js/modules/es6.date.to-iso-string.js"); -__webpack_require__(/*! ../modules/es6.date.to-string */ "./node_modules/core-js/modules/es6.date.to-string.js"); -__webpack_require__(/*! ../modules/es6.date.to-primitive */ "./node_modules/core-js/modules/es6.date.to-primitive.js"); -__webpack_require__(/*! ../modules/es6.array.is-array */ "./node_modules/core-js/modules/es6.array.is-array.js"); -__webpack_require__(/*! ../modules/es6.array.from */ "./node_modules/core-js/modules/es6.array.from.js"); -__webpack_require__(/*! ../modules/es6.array.of */ "./node_modules/core-js/modules/es6.array.of.js"); -__webpack_require__(/*! ../modules/es6.array.join */ "./node_modules/core-js/modules/es6.array.join.js"); -__webpack_require__(/*! ../modules/es6.array.slice */ "./node_modules/core-js/modules/es6.array.slice.js"); -__webpack_require__(/*! ../modules/es6.array.sort */ "./node_modules/core-js/modules/es6.array.sort.js"); -__webpack_require__(/*! ../modules/es6.array.for-each */ "./node_modules/core-js/modules/es6.array.for-each.js"); -__webpack_require__(/*! ../modules/es6.array.map */ "./node_modules/core-js/modules/es6.array.map.js"); -__webpack_require__(/*! ../modules/es6.array.filter */ "./node_modules/core-js/modules/es6.array.filter.js"); -__webpack_require__(/*! ../modules/es6.array.some */ "./node_modules/core-js/modules/es6.array.some.js"); -__webpack_require__(/*! ../modules/es6.array.every */ "./node_modules/core-js/modules/es6.array.every.js"); -__webpack_require__(/*! ../modules/es6.array.reduce */ "./node_modules/core-js/modules/es6.array.reduce.js"); -__webpack_require__(/*! ../modules/es6.array.reduce-right */ "./node_modules/core-js/modules/es6.array.reduce-right.js"); -__webpack_require__(/*! ../modules/es6.array.index-of */ "./node_modules/core-js/modules/es6.array.index-of.js"); -__webpack_require__(/*! ../modules/es6.array.last-index-of */ "./node_modules/core-js/modules/es6.array.last-index-of.js"); -__webpack_require__(/*! ../modules/es6.array.copy-within */ "./node_modules/core-js/modules/es6.array.copy-within.js"); -__webpack_require__(/*! ../modules/es6.array.fill */ "./node_modules/core-js/modules/es6.array.fill.js"); -__webpack_require__(/*! ../modules/es6.array.find */ "./node_modules/core-js/modules/es6.array.find.js"); -__webpack_require__(/*! ../modules/es6.array.find-index */ "./node_modules/core-js/modules/es6.array.find-index.js"); -__webpack_require__(/*! ../modules/es6.array.species */ "./node_modules/core-js/modules/es6.array.species.js"); -__webpack_require__(/*! ../modules/es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); -__webpack_require__(/*! ../modules/es6.regexp.constructor */ "./node_modules/core-js/modules/es6.regexp.constructor.js"); -__webpack_require__(/*! ../modules/es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); -__webpack_require__(/*! ../modules/es6.regexp.to-string */ "./node_modules/core-js/modules/es6.regexp.to-string.js"); -__webpack_require__(/*! ../modules/es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); -__webpack_require__(/*! ../modules/es6.regexp.match */ "./node_modules/core-js/modules/es6.regexp.match.js"); -__webpack_require__(/*! ../modules/es6.regexp.replace */ "./node_modules/core-js/modules/es6.regexp.replace.js"); -__webpack_require__(/*! ../modules/es6.regexp.search */ "./node_modules/core-js/modules/es6.regexp.search.js"); -__webpack_require__(/*! ../modules/es6.regexp.split */ "./node_modules/core-js/modules/es6.regexp.split.js"); -__webpack_require__(/*! ../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); -__webpack_require__(/*! ../modules/es6.map */ "./node_modules/core-js/modules/es6.map.js"); -__webpack_require__(/*! ../modules/es6.set */ "./node_modules/core-js/modules/es6.set.js"); -__webpack_require__(/*! ../modules/es6.weak-map */ "./node_modules/core-js/modules/es6.weak-map.js"); -__webpack_require__(/*! ../modules/es6.weak-set */ "./node_modules/core-js/modules/es6.weak-set.js"); -__webpack_require__(/*! ../modules/es6.typed.array-buffer */ "./node_modules/core-js/modules/es6.typed.array-buffer.js"); -__webpack_require__(/*! ../modules/es6.typed.data-view */ "./node_modules/core-js/modules/es6.typed.data-view.js"); -__webpack_require__(/*! ../modules/es6.typed.int8-array */ "./node_modules/core-js/modules/es6.typed.int8-array.js"); -__webpack_require__(/*! ../modules/es6.typed.uint8-array */ "./node_modules/core-js/modules/es6.typed.uint8-array.js"); -__webpack_require__(/*! ../modules/es6.typed.uint8-clamped-array */ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"); -__webpack_require__(/*! ../modules/es6.typed.int16-array */ "./node_modules/core-js/modules/es6.typed.int16-array.js"); -__webpack_require__(/*! ../modules/es6.typed.uint16-array */ "./node_modules/core-js/modules/es6.typed.uint16-array.js"); -__webpack_require__(/*! ../modules/es6.typed.int32-array */ "./node_modules/core-js/modules/es6.typed.int32-array.js"); -__webpack_require__(/*! ../modules/es6.typed.uint32-array */ "./node_modules/core-js/modules/es6.typed.uint32-array.js"); -__webpack_require__(/*! ../modules/es6.typed.float32-array */ "./node_modules/core-js/modules/es6.typed.float32-array.js"); -__webpack_require__(/*! ../modules/es6.typed.float64-array */ "./node_modules/core-js/modules/es6.typed.float64-array.js"); -__webpack_require__(/*! ../modules/es6.reflect.apply */ "./node_modules/core-js/modules/es6.reflect.apply.js"); -__webpack_require__(/*! ../modules/es6.reflect.construct */ "./node_modules/core-js/modules/es6.reflect.construct.js"); -__webpack_require__(/*! ../modules/es6.reflect.define-property */ "./node_modules/core-js/modules/es6.reflect.define-property.js"); -__webpack_require__(/*! ../modules/es6.reflect.delete-property */ "./node_modules/core-js/modules/es6.reflect.delete-property.js"); -__webpack_require__(/*! ../modules/es6.reflect.enumerate */ "./node_modules/core-js/modules/es6.reflect.enumerate.js"); -__webpack_require__(/*! ../modules/es6.reflect.get */ "./node_modules/core-js/modules/es6.reflect.get.js"); -__webpack_require__(/*! ../modules/es6.reflect.get-own-property-descriptor */ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"); -__webpack_require__(/*! ../modules/es6.reflect.get-prototype-of */ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"); -__webpack_require__(/*! ../modules/es6.reflect.has */ "./node_modules/core-js/modules/es6.reflect.has.js"); -__webpack_require__(/*! ../modules/es6.reflect.is-extensible */ "./node_modules/core-js/modules/es6.reflect.is-extensible.js"); -__webpack_require__(/*! ../modules/es6.reflect.own-keys */ "./node_modules/core-js/modules/es6.reflect.own-keys.js"); -__webpack_require__(/*! ../modules/es6.reflect.prevent-extensions */ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"); -__webpack_require__(/*! ../modules/es6.reflect.set */ "./node_modules/core-js/modules/es6.reflect.set.js"); -__webpack_require__(/*! ../modules/es6.reflect.set-prototype-of */ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"); -module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); - - -/***/ }), - -/***/ "./node_modules/core-js/fn/array/flat-map.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/fn/array/flat-map.js ***! - \***************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); +var ObjectProto = Object.prototype; -__webpack_require__(/*! ../../modules/es7.array.flat-map */ "./node_modules/core-js/modules/es7.array.flat-map.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.flatMap; +module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; +}; /***/ }), -/***/ "./node_modules/core-js/fn/array/includes.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/fn/array/includes.js ***! - \***************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/core-js/modules/_object-keys-internal.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_object-keys-internal.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.array.includes */ "./node_modules/core-js/modules/es7.array.includes.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Array.includes; +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); + +module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; +}; /***/ }), -/***/ "./node_modules/core-js/fn/object/entries.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/fn/object/entries.js ***! - \***************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/core-js/modules/_object-keys.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_object-keys.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.object.entries */ "./node_modules/core-js/modules/es7.object.entries.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.entries; +// 19.1.2.14 / 15.2.3.14 Object.keys(O) +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); + +module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); +}; /***/ }), -/***/ "./node_modules/core-js/fn/object/get-own-property-descriptors.js": -/*!************************************************************************!*\ - !*** ./node_modules/core-js/fn/object/get-own-property-descriptors.js ***! - \************************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/_object-pie.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-pie.js ***! + \*****************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -__webpack_require__(/*! ../../modules/es7.object.get-own-property-descriptors */ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.getOwnPropertyDescriptors; +exports.f = {}.propertyIsEnumerable; /***/ }), -/***/ "./node_modules/core-js/fn/object/values.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/fn/object/values.js ***! - \**************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/core-js/modules/_object-sap.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-sap.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.object.values */ "./node_modules/core-js/modules/es7.object.values.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Object.values; +// most Object methods by ES6 should accept primitives +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +module.exports = function (KEY, exec) { + var fn = (core.Object || {})[KEY] || Object[KEY]; + var exp = {}; + exp[KEY] = exec(fn); + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); +}; /***/ }), -/***/ "./node_modules/core-js/fn/promise/finally.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/fn/promise/finally.js ***! - \****************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ +/***/ "./node_modules/core-js/modules/_object-to-array.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/_object-to-array.js ***! + \**********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -__webpack_require__(/*! ../../modules/es6.promise */ "./node_modules/core-js/modules/es6.promise.js"); -__webpack_require__(/*! ../../modules/es7.promise.finally */ "./node_modules/core-js/modules/es7.promise.finally.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").Promise.finally; +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var isEnum = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f; +module.exports = function (isEntries) { + return function (it) { + var O = toIObject(it); + var keys = getKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!DESCRIPTORS || isEnum.call(O, key)) { + result.push(isEntries ? [key, O[key]] : O[key]); + } + } + return result; + }; +}; /***/ }), -/***/ "./node_modules/core-js/fn/string/pad-end.js": +/***/ "./node_modules/core-js/modules/_own-keys.js": /*!***************************************************!*\ - !*** ./node_modules/core-js/fn/string/pad-end.js ***! + !*** ./node_modules/core-js/modules/_own-keys.js ***! \***************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.string.pad-end */ "./node_modules/core-js/modules/es7.string.pad-end.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padEnd; +// all object keys, includes non-enumerable and symbols +var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js"); +var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var Reflect = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect; +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { + var keys = gOPN.f(anObject(it)); + var getSymbols = gOPS.f; + return getSymbols ? keys.concat(getSymbols(it)) : keys; +}; /***/ }), -/***/ "./node_modules/core-js/fn/string/pad-start.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/fn/string/pad-start.js ***! - \*****************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ +/***/ "./node_modules/core-js/modules/_parse-float.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_parse-float.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.string.pad-start */ "./node_modules/core-js/modules/es7.string.pad-start.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.padStart; +var $parseFloat = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseFloat; +var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; + +module.exports = 1 / $parseFloat(__webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { + var string = $trim(String(str), 3); + var result = $parseFloat(string); + return result === 0 && string.charAt(0) == '-' ? -0 : result; +} : $parseFloat; /***/ }), -/***/ "./node_modules/core-js/fn/string/trim-end.js": +/***/ "./node_modules/core-js/modules/_parse-int.js": /*!****************************************************!*\ - !*** ./node_modules/core-js/fn/string/trim-end.js ***! + !*** ./node_modules/core-js/modules/_parse-int.js ***! \****************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.string.trim-right */ "./node_modules/core-js/modules/es7.string.trim-right.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimRight; +var $parseInt = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseInt; +var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; +var ws = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); +var hex = /^[-+]?0[xX]/; + +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { + var string = $trim(String(str), 3); + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); +} : $parseInt; /***/ }), -/***/ "./node_modules/core-js/fn/string/trim-start.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/fn/string/trim-start.js ***! - \******************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/_perform.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_perform.js ***! + \**************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -__webpack_require__(/*! ../../modules/es7.string.trim-left */ "./node_modules/core-js/modules/es7.string.trim-left.js"); -module.exports = __webpack_require__(/*! ../../modules/_core */ "./node_modules/core-js/modules/_core.js").String.trimLeft; +module.exports = function (exec) { + try { + return { e: false, v: exec() }; + } catch (e) { + return { e: true, v: e }; + } +}; /***/ }), -/***/ "./node_modules/core-js/fn/symbol/async-iterator.js": +/***/ "./node_modules/core-js/modules/_promise-resolve.js": /*!**********************************************************!*\ - !*** ./node_modules/core-js/fn/symbol/async-iterator.js ***! + !*** ./node_modules/core-js/modules/_promise-resolve.js ***! \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "./node_modules/core-js/modules/es7.symbol.async-iterator.js"); -module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js").f('asyncIterator'); - - -/***/ }), - -/***/ "./node_modules/core-js/library/fn/global.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/library/fn/global.js ***! - \***************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); -__webpack_require__(/*! ../modules/es7.global */ "./node_modules/core-js/library/modules/es7.global.js"); -module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/library/modules/_core.js").global; +module.exports = function (C, x) { + anObject(C); + if (isObject(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; +}; /***/ }), -/***/ "./node_modules/core-js/library/modules/_a-function.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_a-function.js ***! - \*************************************************************/ +/***/ "./node_modules/core-js/modules/_property-desc.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_property-desc.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ /*! CommonJS bailout: module.exports is used directly at 1:0-14 */ /***/ ((module) => { -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; +module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_an-object.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_an-object.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/_redefine-all.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_redefine-all.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ /*! CommonJS bailout: module.exports is used directly at 2:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +module.exports = function (target, src, safe) { + for (var key in src) redefine(target, key, src[key], safe); + return target; }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_core.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/library/modules/_core.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/_redefine.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_redefine.js ***! + \***************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:11-25 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 13:1-15 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var core = module.exports = { version: '2.6.12' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var SRC = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('src'); +var $toString = __webpack_require__(/*! ./_function-to-string */ "./node_modules/core-js/modules/_function-to-string.js"); +var TO_STRING = 'toString'; +var TPL = ('' + $toString).split(TO_STRING); + +__webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").inspectSource = function (it) { + return $toString.call(it); +}; + +(module.exports = function (O, key, val, safe) { + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); + if (O[key] === val) return; + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); + if (O === global) { + O[key] = val; + } else if (!safe) { + delete O[key]; + hide(O, key, val); + } else if (O[key]) { + O[key] = val; + } else { + hide(O, key, val); + } +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative +})(Function.prototype, TO_STRING, function toString() { + return typeof this == 'function' && this[SRC] || $toString.call(this); +}); /***/ }), -/***/ "./node_modules/core-js/library/modules/_ctx.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/library/modules/_ctx.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/_regexp-exec-abstract.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_regexp-exec-abstract.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// optional / simple context binding -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/library/modules/_a-function.js"); -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; +"use strict"; + + +var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); +var builtinExec = RegExp.prototype.exec; + + // `RegExpExec` abstract operation +// https://tc39.github.io/ecma262/#sec-regexpexec +module.exports = function (R, S) { + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw new TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; + if (classof(R) !== 'RegExp') { + throw new TypeError('RegExp#exec called on incompatible receiver'); + } + return builtinExec.call(R, S); }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_descriptors.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_descriptors.js ***! - \**************************************************************/ +/***/ "./node_modules/core-js/modules/_regexp-exec.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_regexp-exec.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 58:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/library/modules/_fails.js")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), - -/***/ "./node_modules/core-js/library/modules/_dom-create.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_dom-create.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +"use strict"; -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); -var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js").document; -// typeof document.createElement is 'object' in old IE -var is = isObject(document) && isObject(document.createElement); -module.exports = function (it) { - return is ? document.createElement(it) : {}; -}; +var regexpFlags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); -/***/ }), +var nativeExec = RegExp.prototype.exec; +// This always refers to the native implementation, because the +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, +// which loads this file before patching the method. +var nativeReplace = String.prototype.replace; -/***/ "./node_modules/core-js/library/modules/_export.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/library/modules/_export.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 62:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +var patchedExec = nativeExec; -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js"); -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/library/modules/_core.js"); -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/library/modules/_ctx.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/library/modules/_hide.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/library/modules/_has.js"); -var PROTOTYPE = 'prototype'; +var LAST_INDEX = 'lastIndex'; -var $export = function (type, name, source) { - var IS_FORCED = type & $export.F; - var IS_GLOBAL = type & $export.G; - var IS_STATIC = type & $export.S; - var IS_PROTO = type & $export.P; - var IS_BIND = type & $export.B; - var IS_WRAP = type & $export.W; - var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); - var expProto = exports[PROTOTYPE]; - var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; - var key, own, out; - if (IS_GLOBAL) source = name; - for (key in source) { - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - if (own && has(exports, key)) continue; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? ctx(out, global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function (C) { - var F = function (a, b, c) { - if (this instanceof C) { - switch (arguments.length) { - case 0: return new C(); - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if (IS_PROTO) { - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); - } - } -}; -// type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap -$export.U = 64; // safe -$export.R = 128; // real proto method for `library` -module.exports = $export; +var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/, + re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; +})(); +// nonparticipating capturing group, copied from es5-shim's String#split patch. +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; -/***/ }), +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; -/***/ "./node_modules/core-js/library/modules/_fails.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/library/modules/_fails.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +if (PATCH) { + patchedExec = function exec(str) { + var re = this; + var lastIndex, reCopy, match, i; -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } -}; + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; + match = nativeExec.call(re, str); -/***/ }), + if (UPDATES_LAST_INDEX_WRONG && match) { + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + // eslint-disable-next-line no-loop-func + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } -/***/ "./node_modules/core-js/library/modules/_global.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/library/modules/_global.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:13-27 */ -/***/ ((module) => { + return match; + }; +} -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self - // eslint-disable-next-line no-new-func - : Function('return this')(); -if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef +module.exports = patchedExec; /***/ }), -/***/ "./node_modules/core-js/library/modules/_has.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/library/modules/_has.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/_same-value.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_same-value.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ /*! CommonJS bailout: module.exports is used directly at 2:0-14 */ /***/ ((module) => { -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); +// 7.2.9 SameValue(x, y) +module.exports = Object.is || function is(x, y) { + // eslint-disable-next-line no-self-compare + return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_hide.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/library/modules/_hide.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/_set-proto.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_set-proto.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/library/modules/_object-dp.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/library/modules/_property-desc.js"); -module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; +// Works with __proto__ only. Old v8 can't work with null proto objects. +/* eslint-disable no-proto */ +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); +}; +module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_ie8-dom-define.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_ie8-dom-define.js ***! - \*****************************************************************/ +/***/ "./node_modules/core-js/modules/_set-species.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_set-species.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/library/modules/_fails.js")(function () { - return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; -}); - - -/***/ }), +"use strict"; -/***/ "./node_modules/core-js/library/modules/_is-object.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_is-object.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; +module.exports = function (KEY) { + var C = global[KEY]; + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { + configurable: true, + get: function () { return this; } + }); }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_object-dp.js": +/***/ "./node_modules/core-js/modules/_set-to-string-tag.js": /*!************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_object-dp.js ***! + !*** ./node_modules/core-js/modules/_set-to-string-tag.js ***! \************************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/library/modules/_an-object.js"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/library/modules/_ie8-dom-define.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/library/modules/_to-primitive.js"); -var dP = Object.defineProperty; - -exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return dP(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/library/modules/_property-desc.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_property-desc.js ***! - \****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; +var def = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); + +module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), -/***/ "./node_modules/core-js/library/modules/_to-primitive.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/library/modules/_to-primitive.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/_shared-key.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_shared-key.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/library/modules/_is-object.js"); -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); +var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('keys'); +var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); +module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); }; /***/ }), -/***/ "./node_modules/core-js/library/modules/es7.global.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/library/modules/es7.global.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/_shared.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_shared.js ***! + \*************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:1-15 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// https://github.com/tc39/proposal-global -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/library/modules/_export.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var SHARED = '__core-js_shared__'; +var store = global[SHARED] || (global[SHARED] = {}); -$export($export.G, { global: __webpack_require__(/*! ./_global */ "./node_modules/core-js/library/modules/_global.js") }); +(module.exports = function (key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); +})('versions', []).push({ + version: core.version, + mode: __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js") ? 'pure' : 'global', + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' +}); /***/ }), -/***/ "./node_modules/core-js/modules/_a-function.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_a-function.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/_species-constructor.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/_species-constructor.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; +// 7.3.20 SpeciesConstructor(O, defaultConstructor) +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); +module.exports = function (O, D) { + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; /***/ }), -/***/ "./node_modules/core-js/modules/_a-number-value.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_a-number-value.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/_strict-method.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_strict-method.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -module.exports = function (it, msg) { - if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); - return +it; +"use strict"; + +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); + +module.exports = function (method, arg) { + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); + }); }; /***/ }), -/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! - \*************************************************************/ +/***/ "./node_modules/core-js/modules/_string-at.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_string-at.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ /*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 22.1.3.31 Array.prototype[@@unscopables] -var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('unscopables'); -var ArrayProto = Array.prototype; -if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); -module.exports = function (key) { - ArrayProto[UNSCOPABLES][key] = true; +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +// true -> String#at +// false -> String#codePointAt +module.exports = function (TO_STRING) { + return function (that, pos) { + var s = String(defined(that)); + var i = toInteger(pos); + var l = s.length; + var a, b; + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; + a = s.charCodeAt(i); + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff + ? TO_STRING ? s.charAt(i) : a + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; + }; }; /***/ }), -/***/ "./node_modules/core-js/modules/_advance-string-index.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_advance-string-index.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/_string-context.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_string-context.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -var at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); +// helper for String#{startsWith, endsWith, includes} +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); - // `AdvanceStringIndex` abstract operation -// https://tc39.github.io/ecma262/#sec-advancestringindex -module.exports = function (S, index, unicode) { - return index + (unicode ? at(S, index).length : 1); +module.exports = function (that, searchString, NAME) { + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); + return String(defined(that)); }; /***/ }), -/***/ "./node_modules/core-js/modules/_an-instance.js": +/***/ "./node_modules/core-js/modules/_string-html.js": /*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_an-instance.js ***! + !*** ./node_modules/core-js/modules/_string-html.js ***! \******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (it, Constructor, name, forbiddenField) { - if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { - throw TypeError(name + ': incorrect invocation!'); - } return it; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +var quot = /"/g; +// B.2.3.2.1 CreateHTML(string, tag, attribute, value) +var createHTML = function (string, tag, attribute, value) { + var S = String(defined(string)); + var p1 = '<' + tag; + if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; + return p1 + '>' + S + ''; +}; +module.exports = function (NAME, exec) { + var O = {}; + O[NAME] = exec(createHTML); + $export($export.P + $export.F * fails(function () { + var test = ''[NAME]('"'); + return test !== test.toLowerCase() || test.split('"').length > 3; + }), 'String', O); }; /***/ }), -/***/ "./node_modules/core-js/modules/_an-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_an-object.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/_string-pad.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_string-pad.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; +// https://github.com/tc39/proposal-string-pad-start-end +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); + +module.exports = function (that, maxLength, fillString, left) { + var S = String(defined(that)); + var stringLength = S.length; + var fillStr = fillString === undefined ? ' ' : String(fillString); + var intMaxLength = toLength(maxLength); + if (intMaxLength <= stringLength || fillStr == '') return S; + var fillLen = intMaxLength - stringLength; + var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); + return left ? stringFiller + S : S + stringFiller; }; /***/ }), -/***/ "./node_modules/core-js/modules/_array-copy-within.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-copy-within.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/_string-repeat.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_string-repeat.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; +module.exports = function repeat(count) { + var str = String(defined(this)); + var res = ''; + var n = toInteger(count); + if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; + return res; }; /***/ }), -/***/ "./node_modules/core-js/modules/_array-fill.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_array-fill.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/_string-trim.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_string-trim.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var spaces = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); +var space = '[' + spaces + ']'; +var non = '\u200b\u0085'; +var ltrim = RegExp('^' + space + space + '*'); +var rtrim = RegExp(space + space + '*$'); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var aLen = arguments.length; - var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); - var end = aLen > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; +var exporter = function (KEY, exec, ALIAS) { + var exp = {}; + var FORCE = fails(function () { + return !!spaces[KEY]() || non[KEY]() != non; + }); + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; + if (ALIAS) exp[ALIAS] = fn; + $export($export.P + $export.F * FORCE, 'String', exp); +}; + +// 1 -> String#trimLeft +// 2 -> String#trimRight +// 3 -> String#trim +var trim = exporter.trim = function (string, TYPE) { + string = String(defined(string)); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); + return string; }; +module.exports = exporter; + /***/ }), -/***/ "./node_modules/core-js/modules/_array-includes.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_array-includes.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/_string-ws.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_string-ws.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -// false -> Array#indexOf -// true -> Array#includes -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); -module.exports = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), -/***/ "./node_modules/core-js/modules/_array-methods.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_array-methods.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/_task.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_task.js ***! + \***********************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 81:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 0 -> Array#forEach -// 1 -> Array#map -// 2 -> Array#filter -// 3 -> Array#some -// 4 -> Array#every -// 5 -> Array#find -// 6 -> Array#findIndex var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var asc = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); -module.exports = function (TYPE, $create) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - var create = $create || asc; - return function ($this, callbackfn, that) { - var O = toObject($this); - var self = IObject(O); - var f = ctx(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; - var val, res; - for (;length > index; index++) if (NO_HOLES || index in self) { - val = self[index]; - res = f(val, index, O); - if (TYPE) { - if (IS_MAP) result[index] = res; // map - else if (res) switch (TYPE) { - case 3: return true; // some - case 5: return val; // find - case 6: return index; // findIndex - case 2: result.push(val); // filter - } else if (IS_EVERY) return false; // every - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; +var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); +var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); +var cel = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js"); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var process = global.process; +var setTask = global.setImmediate; +var clearTask = global.clearImmediate; +var MessageChannel = global.MessageChannel; +var Dispatch = global.Dispatch; +var counter = 0; +var queue = {}; +var ONREADYSTATECHANGE = 'onreadystatechange'; +var defer, channel, port; +var run = function () { + var id = +this; + // eslint-disable-next-line no-prototype-builtins + if (queue.hasOwnProperty(id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } +}; +var listener = function (event) { + run.call(event.data); +}; +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: +if (!setTask || !clearTask) { + setTask = function setImmediate(fn) { + var args = []; + var i = 1; + while (arguments.length > i) args.push(arguments[i++]); + queue[++counter] = function () { + // eslint-disable-next-line no-new-func + invoke(typeof fn == 'function' ? fn : Function(fn), args); + }; + defer(counter); + return counter; + }; + clearTask = function clearImmediate(id) { + delete queue[id]; }; + // Node.js 0.8- + if (__webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process') { + defer = function (id) { + process.nextTick(ctx(run, id, 1)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(ctx(run, id, 1)); + }; + // Browsers with MessageChannel, includes WebWorkers + } else if (MessageChannel) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = listener; + defer = ctx(port.postMessage, port, 1); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { + defer = function (id) { + global.postMessage(id + '', '*'); + }; + global.addEventListener('message', listener, false); + // IE8- + } else if (ONREADYSTATECHANGE in cel('script')) { + defer = function (id) { + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { + html.removeChild(this); + run.call(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(ctx(run, id, 1), 0); + }; + } +} +module.exports = { + set: setTask, + clear: clearTask }; /***/ }), -/***/ "./node_modules/core-js/modules/_array-reduce.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_array-reduce.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/_to-absolute-index.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/_to-absolute-index.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); - -module.exports = function (that, callbackfn, aLen, memo, isRight) { - aFunction(callbackfn); - var O = toObject(that); - var self = IObject(O); - var length = toLength(O.length); - var index = isRight ? length - 1 : 0; - var i = isRight ? -1 : 1; - if (aLen < 2) for (;;) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (isRight ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var max = Math.max; +var min = Math.min; +module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), -/***/ "./node_modules/core-js/modules/_array-species-constructor.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! - \********************************************************************/ +/***/ "./node_modules/core-js/modules/_to-index.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_to-index.js ***! + \***************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); -var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); - -module.exports = function (original) { - var C; - if (isArray(original)) { - C = original.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return C === undefined ? Array : C; +// https://tc39.github.io/ecma262/#sec-toindex +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +module.exports = function (it) { + if (it === undefined) return 0; + var number = toInteger(it); + var length = toLength(number); + if (number !== length) throw RangeError('Wrong length!'); + return length; }; /***/ }), -/***/ "./node_modules/core-js/modules/_array-species-create.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-create.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/_to-integer.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-integer.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ +/*! runtime requirements: module */ /*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// 9.4.2.3 ArraySpeciesCreate(originalArray, length) -var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "./node_modules/core-js/modules/_array-species-constructor.js"); +/***/ ((module) => { -module.exports = function (original, length) { - return new (speciesConstructor(original))(length); +// 7.1.4 ToInteger +var ceil = Math.ceil; +var floor = Math.floor; +module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), -/***/ "./node_modules/core-js/modules/_bind.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_bind.js ***! - \***********************************************/ +/***/ "./node_modules/core-js/modules/_to-iobject.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-iobject.js ***! + \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +// to indexed object, toObject with fallback for non-array-like ES3 strings +var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +module.exports = function (it) { + return IObject(defined(it)); +}; -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); -var arraySlice = [].slice; -var factories = {}; -var construct = function (F, len, args) { - if (!(len in factories)) { - for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); - } return factories[len](F, args); -}; +/***/ }), -module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = arraySlice.call(arguments, 1); - var bound = function (/* args... */) { - var args = partArgs.concat(arraySlice.call(arguments)); - return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); - }; - if (isObject(fn.prototype)) bound.prototype = fn.prototype; - return bound; +/***/ "./node_modules/core-js/modules/_to-length.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-length.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +// 7.1.15 ToLength +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var min = Math.min; +module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), -/***/ "./node_modules/core-js/modules/_classof.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_classof.js ***! - \**************************************************/ +/***/ "./node_modules/core-js/modules/_to-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-object.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// getting tag from 19.1.3.6 Object.prototype.toString() -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); -// ES3 wrong here -var ARG = cof(function () { return arguments; }()) == 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (e) { /* empty */ } -}; - +// 7.1.13 ToObject(argument) +var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); module.exports = function (it) { - var O, T, B; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T - // builtinTag case - : ARG ? cof(O) - // ES3 arguments fallback - : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; + return Object(defined(it)); }; /***/ }), -/***/ "./node_modules/core-js/modules/_cof.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_cof.js ***! - \**********************************************/ +/***/ "./node_modules/core-js/modules/_to-primitive.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_to-primitive.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module) => { - -var toString = {}.toString; +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (it) { - return toString.call(it).slice(8, -1); +// 7.1.1 ToPrimitive(input [, PreferredType]) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +// instead of the ES6 spec version, we didn't implement @@toPrimitive case +// and the second argument - flag - preferred type is a string +module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); }; /***/ }), -/***/ "./node_modules/core-js/modules/_collection-strong.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/_collection-strong.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/_typed-array.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_typed-array.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 325:2-16 */ +/*! CommonJS bailout: module.exports is used directly at 480:7-21 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); -var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); -var $iterDefine = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js"); -var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); -var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var fastKey = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").fastKey; -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var SIZE = DESCRIPTORS ? '_s' : 'size'; - -var getEntry = function (that, key) { - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return that._i[index]; - // frozen object case - for (entry = that._f; entry; entry = entry.n) { - if (entry.k == key) return entry; - } -}; - -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = create(null); // index - that._f = undefined; // first entry - that._l = undefined; // last entry - that[SIZE] = 0; // size - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { - entry.r = true; - if (entry.p) entry.p = entry.p.n = undefined; - delete data[entry.i]; - } - that._f = that._l = undefined; - that[SIZE] = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = validate(this, NAME); - var entry = getEntry(that, key); - if (entry) { - var next = entry.n; - var prev = entry.p; - delete that._i[entry.i]; - entry.r = true; - if (prev) prev.n = next; - if (next) next.p = prev; - if (that._f == entry) that._f = next; - if (that._l == entry) that._l = prev; - that[SIZE]--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - validate(this, NAME); - var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.n : this._f) { - f(entry.v, entry.k, this); - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(validate(this, NAME), key); - } - }); - if (DESCRIPTORS) dP(C.prototype, 'size', { - get: function () { - return validate(this, NAME)[SIZE]; - } - }); - return C; - }, - def: function (that, key, value) { - var entry = getEntry(that, key); - var prev, index; - // change existing entry - if (entry) { - entry.v = value; - // create new entry - } else { - that._l = entry = { - i: index = fastKey(key, true), // <- index - k: key, // <- key - v: value, // <- value - p: prev = that._l, // <- previous entry - n: undefined, // <- next entry - r: false // <- removed - }; - if (!that._f) that._f = entry; - if (prev) prev.n = entry; - that[SIZE]++; - // add to index - if (index !== 'F') that._i[index] = entry; - } return that; - }, - getEntry: getEntry, - setStrong: function (C, NAME, IS_MAP) { - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - $iterDefine(C, NAME, function (iterated, kind) { - this._t = validate(iterated, NAME); // target - this._k = kind; // kind - this._l = undefined; // previous - }, function () { - var that = this; - var kind = that._k; - var entry = that._l; - // revert to the last existing entry - while (entry && entry.r) entry = entry.p; - // get next entry - if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { - // or finish the iteration - that._t = undefined; - return step(1); - } - // return step by kind - if (kind == 'keys') return step(0, entry.k); - if (kind == 'values') return step(0, entry.v); - return step(0, [entry.k, entry.v]); - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(NAME); - } -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_collection-weak.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_collection-weak.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js")) { + var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); + var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); + var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); + var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); + var $buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); + var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); + var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); + var propertyDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); + var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); + var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); + var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); + var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); + var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); + var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); + var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); + var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); + var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); + var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); + var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); + var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); + var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); + var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); + var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; + var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); + var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); + var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); + var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); + var createArrayIncludes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js"); + var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); + var ArrayIterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); + var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); + var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); + var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); + var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); + var arrayCopyWithin = __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js"); + var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); + var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); + var dP = $DP.f; + var gOPD = $GOPD.f; + var RangeError = global.RangeError; + var TypeError = global.TypeError; + var Uint8Array = global.Uint8Array; + var ARRAY_BUFFER = 'ArrayBuffer'; + var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; + var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; + var PROTOTYPE = 'prototype'; + var ArrayProto = Array[PROTOTYPE]; + var $ArrayBuffer = $buffer.ArrayBuffer; + var $DataView = $buffer.DataView; + var arrayForEach = createArrayMethod(0); + var arrayFilter = createArrayMethod(2); + var arraySome = createArrayMethod(3); + var arrayEvery = createArrayMethod(4); + var arrayFind = createArrayMethod(5); + var arrayFindIndex = createArrayMethod(6); + var arrayIncludes = createArrayIncludes(true); + var arrayIndexOf = createArrayIncludes(false); + var arrayValues = ArrayIterators.values; + var arrayKeys = ArrayIterators.keys; + var arrayEntries = ArrayIterators.entries; + var arrayLastIndexOf = ArrayProto.lastIndexOf; + var arrayReduce = ArrayProto.reduce; + var arrayReduceRight = ArrayProto.reduceRight; + var arrayJoin = ArrayProto.join; + var arraySort = ArrayProto.sort; + var arraySlice = ArrayProto.slice; + var arrayToString = ArrayProto.toString; + var arrayToLocaleString = ArrayProto.toLocaleString; + var ITERATOR = wks('iterator'); + var TAG = wks('toStringTag'); + var TYPED_CONSTRUCTOR = uid('typed_constructor'); + var DEF_CONSTRUCTOR = uid('def_constructor'); + var ALL_CONSTRUCTORS = $typed.CONSTR; + var TYPED_ARRAY = $typed.TYPED; + var VIEW = $typed.VIEW; + var WRONG_LENGTH = 'Wrong length!'; -var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); -var getWeak = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").getWeak; -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); -var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); -var $has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var arrayFind = createArrayMethod(5); -var arrayFindIndex = createArrayMethod(6); -var id = 0; + var $map = createArrayMethod(1, function (O, length) { + return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); + }); -// fallback for uncaught frozen keys -var uncaughtFrozenStore = function (that) { - return that._l || (that._l = new UncaughtFrozenStore()); -}; -var UncaughtFrozenStore = function () { - this.a = []; -}; -var findUncaughtFrozen = function (store, key) { - return arrayFind(store.a, function (it) { - return it[0] === key; + var LITTLE_ENDIAN = fails(function () { + // eslint-disable-next-line no-undef + return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; }); -}; -UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.a.push([key, value]); - }, - 'delete': function (key) { - var index = arrayFindIndex(this.a, function (it) { - return it[0] === key; - }); - if (~index) this.a.splice(index, 1); - return !!~index; - } -}; -module.exports = { - getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, NAME, '_i'); - that._t = NAME; // collection type - that._i = id++; // collection id - that._l = undefined; // leak store for uncaught frozen objects - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - }); - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); - return data && $has(data, this._i) && delete data[this._i]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - if (!isObject(key)) return false; - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); - return data && $has(data, this._i); - } - }); - return C; - }, - def: function (that, key, value) { - var data = getWeak(anObject(key), true); - if (data === true) uncaughtFrozenStore(that).set(key, value); - else data[that._i] = value; - return that; - }, - ufstore: uncaughtFrozenStore -}; + var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { + new Uint8Array(1).set({}); + }); + var toOffset = function (it, BYTES) { + var offset = toInteger(it); + if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); + return offset; + }; -/***/ }), + var validate = function (it) { + if (isObject(it) && TYPED_ARRAY in it) return it; + throw TypeError(it + ' is not a typed array!'); + }; -/***/ "./node_modules/core-js/modules/_collection.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_collection.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var allocate = function (C, length) { + if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { + throw TypeError('It is not a typed array constructor!'); + } return new C(length); + }; -"use strict"; + var speciesFromList = function (O, list) { + return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); + }; -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); -var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); -var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); -var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); -var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); -var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); + var fromList = function (C, list) { + var index = 0; + var length = list.length; + var result = allocate(C, length); + while (length > index) result[index] = list[index++]; + return result; + }; -module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { - var Base = global[NAME]; - var C = Base; - var ADDER = IS_MAP ? 'set' : 'add'; - var proto = C && C.prototype; - var O = {}; - var fixMethod = function (KEY) { - var fn = proto[KEY]; - redefine(proto, KEY, - KEY == 'delete' ? function (a) { - return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'has' ? function has(a) { - return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'get' ? function get(a) { - return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); - } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } - : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } - ); + var addGetter = function (it, key, internal) { + dP(it, key, { get: function () { return this._d[internal]; } }); }; - if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { - new C().entries().next(); - }))) { - // create collection constructor - C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); - redefineAll(C.prototype, methods); - meta.NEED = true; - } else { - var instance = new C(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new C(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - if (!ACCEPT_ITERABLES) { - C = wrapper(function (target, iterable) { - anInstance(target, C, NAME); - var that = inheritIfRequired(new Base(), target, C); - if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); - return that; - }); - C.prototype = proto; - proto.constructor = C; + + var $from = function from(source /* , mapfn, thisArg */) { + var O = toObject(source); + var aLen = arguments.length; + var mapfn = aLen > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iterFn = getIterFn(O); + var i, length, values, result, step, iterator; + if (iterFn != undefined && !isArrayIter(iterFn)) { + for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { + values.push(step.value); + } O = values; } - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); + if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); + for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { + result[i] = mapping ? mapfn(O[i], i) : O[i]; } - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - // weak collections should not contains .clear method - if (IS_WEAK && proto.clear) delete proto.clear; - } - - setToStringTag(C, NAME); - - O[NAME] = C; - $export($export.G + $export.W + $export.F * (C != Base), O); - - if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); - - return C; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_core.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_core.js ***! - \***********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:11-25 */ -/***/ ((module) => { - -var core = module.exports = { version: '2.6.12' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_create-property.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_create-property.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - -var $defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); - -module.exports = function (object, index, value) { - if (index in object) $defineProperty.f(object, index, createDesc(0, value)); - else object[index] = value; -}; + return result; + }; + var $of = function of(/* ...items */) { + var index = 0; + var length = arguments.length; + var result = allocate(this, length); + while (length > index) result[index] = arguments[index++]; + return result; + }; -/***/ }), + // iOS Safari 6.x fails here + var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); -/***/ "./node_modules/core-js/modules/_ctx.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_ctx.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var $toLocaleString = function toLocaleString() { + return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); + }; -// optional / simple context binding -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); + var proto = { + copyWithin: function copyWithin(target, start /* , end */) { + return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); + }, + every: function every(callbackfn /* , thisArg */) { + return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }, + fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars + return arrayFill.apply(validate(this), arguments); + }, + filter: function filter(callbackfn /* , thisArg */) { + return speciesFromList(this, arrayFilter(validate(this), callbackfn, + arguments.length > 1 ? arguments[1] : undefined)); + }, + find: function find(predicate /* , thisArg */) { + return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }, + findIndex: function findIndex(predicate /* , thisArg */) { + return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }, + forEach: function forEach(callbackfn /* , thisArg */) { + arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }, + indexOf: function indexOf(searchElement /* , fromIndex */) { + return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + }, + includes: function includes(searchElement /* , fromIndex */) { + return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + }, + join: function join(separator) { // eslint-disable-line no-unused-vars + return arrayJoin.apply(validate(this), arguments); + }, + lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars + return arrayLastIndexOf.apply(validate(this), arguments); + }, + map: function map(mapfn /* , thisArg */) { + return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); + }, + reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars + return arrayReduce.apply(validate(this), arguments); + }, + reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars + return arrayReduceRight.apply(validate(this), arguments); + }, + reverse: function reverse() { + var that = this; + var length = validate(that).length; + var middle = Math.floor(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } return that; + }, + some: function some(callbackfn /* , thisArg */) { + return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + }, + sort: function sort(comparefn) { + return arraySort.call(validate(this), comparefn); + }, + subarray: function subarray(begin, end) { + var O = validate(this); + var length = O.length; + var $begin = toAbsoluteIndex(begin, length); + return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( + O.buffer, + O.byteOffset + $begin * O.BYTES_PER_ELEMENT, + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) + ); + } }; -}; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_date-to-iso-string.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_date-to-iso-string.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var getTime = Date.prototype.getTime; -var $toISOString = Date.prototype.toISOString; - -var lz = function (num) { - return num > 9 ? num : '0' + num; -}; -// PhantomJS / old WebKit has a broken implementations -module.exports = (fails(function () { - return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails(function () { - $toISOString.call(new Date(NaN)); -})) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var d = this; - var y = d.getUTCFullYear(); - var m = d.getUTCMilliseconds(); - var s = y < 0 ? '-' : y > 9999 ? '+' : ''; - return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + - '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + - 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + - ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; -} : $toISOString; + var $slice = function slice(start, end) { + return speciesFromList(this, arraySlice.call(validate(this), start, end)); + }; + var $set = function set(arrayLike /* , offset */) { + validate(this); + var offset = toOffset(arguments[1], 1); + var length = this.length; + var src = toObject(arrayLike); + var len = toLength(src.length); + var index = 0; + if (len + offset > length) throw RangeError(WRONG_LENGTH); + while (index < len) this[offset + index] = src[index++]; + }; -/***/ }), + var $iterators = { + entries: function entries() { + return arrayEntries.call(validate(this)); + }, + keys: function keys() { + return arrayKeys.call(validate(this)); + }, + values: function values() { + return arrayValues.call(validate(this)); + } + }; -/***/ "./node_modules/core-js/modules/_date-to-primitive.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/_date-to-primitive.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var isTAIndex = function (target, key) { + return isObject(target) + && target[TYPED_ARRAY] + && typeof key != 'symbol' + && key in target + && String(+key) == String(key); + }; + var $getDesc = function getOwnPropertyDescriptor(target, key) { + return isTAIndex(target, key = toPrimitive(key, true)) + ? propertyDesc(2, target[key]) + : gOPD(target, key); + }; + var $setDesc = function defineProperty(target, key, desc) { + if (isTAIndex(target, key = toPrimitive(key, true)) + && isObject(desc) + && has(desc, 'value') + && !has(desc, 'get') + && !has(desc, 'set') + // TODO: add validation descriptor w/o calling accessors + && !desc.configurable + && (!has(desc, 'writable') || desc.writable) + && (!has(desc, 'enumerable') || desc.enumerable) + ) { + target[key] = desc.value; + return target; + } return dP(target, key, desc); + }; -"use strict"; + if (!ALL_CONSTRUCTORS) { + $GOPD.f = $getDesc; + $DP.f = $setDesc; + } -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -var NUMBER = 'number'; + $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { + getOwnPropertyDescriptor: $getDesc, + defineProperty: $setDesc + }); -module.exports = function (hint) { - if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); - return toPrimitive(anObject(this), hint != NUMBER); -}; + if (fails(function () { arrayToString.call({}); })) { + arrayToString = arrayToLocaleString = function toString() { + return arrayJoin.call(this); + }; + } + var $TypedArrayPrototype$ = redefineAll({}, proto); + redefineAll($TypedArrayPrototype$, $iterators); + hide($TypedArrayPrototype$, ITERATOR, $iterators.values); + redefineAll($TypedArrayPrototype$, { + slice: $slice, + set: $set, + constructor: function () { /* noop */ }, + toString: arrayToString, + toLocaleString: $toLocaleString + }); + addGetter($TypedArrayPrototype$, 'buffer', 'b'); + addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); + addGetter($TypedArrayPrototype$, 'byteLength', 'l'); + addGetter($TypedArrayPrototype$, 'length', 'e'); + dP($TypedArrayPrototype$, TAG, { + get: function () { return this[TYPED_ARRAY]; } + }); -/***/ }), + // eslint-disable-next-line max-statements + module.exports = function (KEY, BYTES, wrapper, CLAMPED) { + CLAMPED = !!CLAMPED; + var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + KEY; + var SETTER = 'set' + KEY; + var TypedArray = global[NAME]; + var Base = TypedArray || {}; + var TAC = TypedArray && getPrototypeOf(TypedArray); + var FORCED = !TypedArray || !$typed.ABV; + var O = {}; + var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; + var getter = function (that, index) { + var data = that._d; + return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); + }; + var setter = function (that, index, value) { + var data = that._d; + if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; + data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); + }; + var addElement = function (that, index) { + dP(that, index, { + get: function () { + return getter(this, index); + }, + set: function (value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + if (FORCED) { + TypedArray = wrapper(function (that, data, $offset, $length) { + anInstance(that, TypedArray, NAME, '_d'); + var index = 0; + var offset = 0; + var buffer, byteLength, length, klass; + if (!isObject(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new $ArrayBuffer(byteLength); + } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { + buffer = data; + offset = toOffset($offset, BYTES); + var $len = data.byteLength; + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); + byteLength = $len - offset; + if (byteLength < 0) throw RangeError(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (TYPED_ARRAY in data) { + return fromList(TypedArray, data); + } else { + return $from.call(TypedArray, data); + } + hide(that, '_d', { + b: buffer, + o: offset, + l: byteLength, + e: length, + v: new $DataView(buffer) + }); + while (index < length) addElement(that, index++); + }); + TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); + hide(TypedArrayPrototype, 'constructor', TypedArray); + } else if (!fails(function () { + TypedArray(1); + }) || !fails(function () { + new TypedArray(-1); // eslint-disable-line no-new + }) || !$iterDetect(function (iter) { + new TypedArray(); // eslint-disable-line no-new + new TypedArray(null); // eslint-disable-line no-new + new TypedArray(1.5); // eslint-disable-line no-new + new TypedArray(iter); // eslint-disable-line no-new + }, true)) { + TypedArray = wrapper(function (that, data, $offset, $length) { + anInstance(that, TypedArray, NAME); + var klass; + // `ws` module bug, temporarily remove validation length for Uint8Array + // https://github.com/websockets/ws/pull/645 + if (!isObject(data)) return new Base(toIndex(data)); + if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { + return $length !== undefined + ? new Base(data, toOffset($offset, BYTES), $length) + : $offset !== undefined + ? new Base(data, toOffset($offset, BYTES)) + : new Base(data); + } + if (TYPED_ARRAY in data) return fromList(TypedArray, data); + return $from.call(TypedArray, data); + }); + arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { + if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); + }); + TypedArray[PROTOTYPE] = TypedArrayPrototype; + if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; + } + var $nativeIterator = TypedArrayPrototype[ITERATOR]; + var CORRECT_ITER_NAME = !!$nativeIterator + && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); + var $iterator = $iterators.values; + hide(TypedArray, TYPED_CONSTRUCTOR, true); + hide(TypedArrayPrototype, TYPED_ARRAY, NAME); + hide(TypedArrayPrototype, VIEW, true); + hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); -/***/ "./node_modules/core-js/modules/_defined.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_defined.js ***! - \**************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { + if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { + dP(TypedArrayPrototype, TAG, { + get: function () { return NAME; } + }); + } -// 7.2.1 RequireObjectCoercible(argument) -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; + O[NAME] = TypedArray; + $export($export.G + $export.W + $export.F * (TypedArray != Base), O); -/***/ }), + $export($export.S, NAME, { + BYTES_PER_ELEMENT: BYTES + }); -/***/ "./node_modules/core-js/modules/_descriptors.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_descriptors.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { + from: $from, + of: $of + }); -// Thank's IE8 for his funny defineProperty -module.exports = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); + if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); + $export($export.P, NAME, proto); -/***/ }), + setSpecies(NAME); -/***/ "./node_modules/core-js/modules/_dom-create.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_dom-create.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; -// typeof document.createElement is 'object' in old IE -var is = isObject(document) && isObject(document.createElement); -module.exports = function (it) { - return is ? document.createElement(it) : {}; -}; + $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); + if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; -/***/ }), + $export($export.P + $export.F * fails(function () { + new TypedArray(1).slice(); + }), NAME, { slice: $slice }); -/***/ "./node_modules/core-js/modules/_enum-bug-keys.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_enum-bug-keys.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { + $export($export.P + $export.F * (fails(function () { + return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); + }) || !fails(function () { + TypedArrayPrototype.toLocaleString.call([1, 2]); + })), NAME, { toLocaleString: $toLocaleString }); -// IE 8- don't enum bug keys -module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); + Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; + if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); + }; +} else module.exports = function () { /* empty */ }; /***/ }), -/***/ "./node_modules/core-js/modules/_enum-keys.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_enum-keys.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/_typed-buffer.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_typed-buffer.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// all enumerable object keys, includes symbols -var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); -var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); -var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); -module.exports = function (it) { - var result = getKeys(it); - var getSymbols = gOPS.f; - if (getSymbols) { - var symbols = getSymbols(it); - var isEnum = pIE.f; - var i = 0; - var key; - while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); - } return result; -}; - - -/***/ }), +/*! runtime requirements: __webpack_require__, __webpack_exports__ */ +/*! CommonJS bailout: exports is used directly at 275:0-7 */ +/*! CommonJS bailout: exports is used directly at 276:0-7 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { -/***/ "./node_modules/core-js/modules/_export.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_export.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +"use strict"; var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); +var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); +var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); +var ARRAY_BUFFER = 'ArrayBuffer'; +var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; +var WRONG_LENGTH = 'Wrong length!'; +var WRONG_INDEX = 'Wrong index!'; +var $ArrayBuffer = global[ARRAY_BUFFER]; +var $DataView = global[DATA_VIEW]; +var Math = global.Math; +var RangeError = global.RangeError; +// eslint-disable-next-line no-shadow-restricted-names +var Infinity = global.Infinity; +var BaseBuffer = $ArrayBuffer; +var abs = Math.abs; +var pow = Math.pow; +var floor = Math.floor; +var log = Math.log; +var LN2 = Math.LN2; +var BUFFER = 'buffer'; +var BYTE_LENGTH = 'byteLength'; +var BYTE_OFFSET = 'byteOffset'; +var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; +var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; +var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; -var $export = function (type, name, source) { - var IS_FORCED = type & $export.F; - var IS_GLOBAL = type & $export.G; - var IS_STATIC = type & $export.S; - var IS_PROTO = type & $export.P; - var IS_BIND = type & $export.B; - var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; - var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); - var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); - var key, own, out, exp; - if (IS_GLOBAL) source = name; - for (key in source) { - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - // export native or passed - out = (own ? target : source)[key]; - // bind timers to global for call from export context - exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // extend global - if (target) redefine(target, key, out, type & $export.U); - // export - if (exports[key] != out) hide(exports, key, exp); - if (IS_PROTO && expProto[key] != out) expProto[key] = out; +// IEEE754 conversions based on https://github.com/feross/ieee754 +function packIEEE754(value, mLen, nBytes) { + var buffer = new Array(nBytes); + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; + var i = 0; + var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; + var e, m, c; + value = abs(value); + // eslint-disable-next-line no-self-compare + if (value != value || value === Infinity) { + // eslint-disable-next-line no-self-compare + m = value != value ? 1 : 0; + e = eMax; + } else { + e = floor(log(value) / LN2); + if (value * (c = pow(2, -e)) < 1) { + e--; + c *= 2; + } + if (e + eBias >= 1) { + value += rt / c; + } else { + value += rt * pow(2, 1 - eBias); + } + if (value * c >= 2) { + e++; + c /= 2; + } + if (e + eBias >= eMax) { + m = 0; + e = eMax; + } else if (e + eBias >= 1) { + m = (value * c - 1) * pow(2, mLen); + e = e + eBias; + } else { + m = value * pow(2, eBias - 1) * pow(2, mLen); + e = 0; + } } -}; -global.core = core; -// type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap -$export.U = 64; // safe -$export.R = 128; // real proto method for `library` -module.exports = $export; + for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); + e = e << mLen | m; + eLen += mLen; + for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); + buffer[--i] |= s * 128; + return buffer; +} +function unpackIEEE754(buffer, mLen, nBytes) { + var eLen = nBytes * 8 - mLen - 1; + var eMax = (1 << eLen) - 1; + var eBias = eMax >> 1; + var nBits = eLen - 7; + var i = nBytes - 1; + var s = buffer[i--]; + var e = s & 127; + var m; + s >>= 7; + for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); + m = e & (1 << -nBits) - 1; + e >>= -nBits; + nBits += mLen; + for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); + if (e === 0) { + e = 1 - eBias; + } else if (e === eMax) { + return m ? NaN : s ? -Infinity : Infinity; + } else { + m = m + pow(2, mLen); + e = e - eBias; + } return (s ? -1 : 1) * m * pow(2, e - mLen); +} + +function unpackI32(bytes) { + return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; +} +function packI8(it) { + return [it & 0xff]; +} +function packI16(it) { + return [it & 0xff, it >> 8 & 0xff]; +} +function packI32(it) { + return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; +} +function packF64(it) { + return packIEEE754(it, 52, 8); +} +function packF32(it) { + return packIEEE754(it, 23, 4); +} + +function addGetter(C, key, internal) { + dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); +} + +function get(view, bytes, index, isLittleEndian) { + var numIndex = +index; + var intIndex = toIndex(numIndex); + if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); + var store = view[$BUFFER]._b; + var start = intIndex + view[$OFFSET]; + var pack = store.slice(start, start + bytes); + return isLittleEndian ? pack : pack.reverse(); +} +function set(view, bytes, index, conversion, value, isLittleEndian) { + var numIndex = +index; + var intIndex = toIndex(numIndex); + if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); + var store = view[$BUFFER]._b; + var start = intIndex + view[$OFFSET]; + var pack = conversion(+value); + for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; +} + +if (!$typed.ABV) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer, ARRAY_BUFFER); + var byteLength = toIndex(length); + this._b = arrayFill.call(new Array(byteLength), 0); + this[$LENGTH] = byteLength; + }; + + $DataView = function DataView(buffer, byteOffset, byteLength) { + anInstance(this, $DataView, DATA_VIEW); + anInstance(buffer, $ArrayBuffer, DATA_VIEW); + var bufferLength = buffer[$LENGTH]; + var offset = toInteger(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); + byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); + this[$BUFFER] = buffer; + this[$OFFSET] = offset; + this[$LENGTH] = byteLength; + }; + + if (DESCRIPTORS) { + addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); + addGetter($DataView, BUFFER, '_b'); + addGetter($DataView, BYTE_LENGTH, '_l'); + addGetter($DataView, BYTE_OFFSET, '_o'); + } + + redefineAll($DataView[PROTOTYPE], { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments[1]); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments[1]); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset /* , littleEndian */) { + return unpackI32(get(this, 4, byteOffset, arguments[1])); + }, + getUint32: function getUint32(byteOffset /* , littleEndian */) { + return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; + }, + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); + }, + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); + }, + setInt8: function setInt8(byteOffset, value) { + set(this, 1, byteOffset, packI8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set(this, 1, byteOffset, packI8, value); + }, + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packI16, value, arguments[2]); + }, + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { + set(this, 2, byteOffset, packI16, value, arguments[2]); + }, + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packI32, value, arguments[2]); + }, + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packI32, value, arguments[2]); + }, + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { + set(this, 4, byteOffset, packF32, value, arguments[2]); + }, + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { + set(this, 8, byteOffset, packF64, value, arguments[2]); + } + }); +} else { + if (!fails(function () { + $ArrayBuffer(1); + }) || !fails(function () { + new $ArrayBuffer(-1); // eslint-disable-line no-new + }) || fails(function () { + new $ArrayBuffer(); // eslint-disable-line no-new + new $ArrayBuffer(1.5); // eslint-disable-line no-new + new $ArrayBuffer(NaN); // eslint-disable-line no-new + return $ArrayBuffer.name != ARRAY_BUFFER; + })) { + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer); + return new BaseBuffer(toIndex(length)); + }; + var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; + for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { + if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); + } + if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; + } + // iOS Safari 7.x bug + var view = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = $DataView[PROTOTYPE].setInt8; + view.setInt8(0, 2147483648); + view.setInt8(1, 2147483649); + if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { + setInt8: function setInt8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + } + }, true); +} +setToStringTag($ArrayBuffer, ARRAY_BUFFER); +setToStringTag($DataView, DATA_VIEW); +hide($DataView[PROTOTYPE], $typed.VIEW, true); +exports[ARRAY_BUFFER] = $ArrayBuffer; +exports[DATA_VIEW] = $DataView; /***/ }), -/***/ "./node_modules/core-js/modules/_fails-is-regexp.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_fails-is-regexp.js ***! - \**********************************************************/ +/***/ "./node_modules/core-js/modules/_typed.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_typed.js ***! + \************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); -module.exports = function (KEY) { - var re = /./; - try { - '/./'[KEY](re); - } catch (e) { - try { - re[MATCH] = false; - return !'/./'[KEY](re); - } catch (f) { /* empty */ } - } return true; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); +var TYPED = uid('typed_array'); +var VIEW = uid('view'); +var ABV = !!(global.ArrayBuffer && global.DataView); +var CONSTR = ABV; +var i = 0; +var l = 9; +var Typed; + +var TypedArrayConstructors = ( + 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' +).split(','); + +while (i < l) { + if (Typed = global[TypedArrayConstructors[i++]]) { + hide(Typed.prototype, TYPED, true); + hide(Typed.prototype, VIEW, true); + } else CONSTR = false; +} + +module.exports = { + ABV: ABV, + CONSTR: CONSTR, + TYPED: TYPED, + VIEW: VIEW }; /***/ }), -/***/ "./node_modules/core-js/modules/_fails.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_fails.js ***! - \************************************************/ +/***/ "./node_modules/core-js/modules/_uid.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_uid.js ***! + \**********************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ /***/ ((module) => { -module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } +var id = 0; +var px = Math.random(); +module.exports = function (key) { + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), -/***/ "./node_modules/core-js/modules/_fix-re-wks.js": +/***/ "./node_modules/core-js/modules/_user-agent.js": /*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_fix-re-wks.js ***! + !*** ./node_modules/core-js/modules/_user-agent.js ***! \*****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var navigator = global.navigator; -__webpack_require__(/*! ./es6.regexp.exec */ "./node_modules/core-js/modules/es6.regexp.exec.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); -var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); +module.exports = navigator && navigator.userAgent || ''; -var SPECIES = wks('species'); -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; -}); +/***/ }), -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { - // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length === 2 && result[0] === 'a' && result[1] === 'b'; -})(); +/***/ "./node_modules/core-js/modules/_validate-collection.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/_validate-collection.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (KEY, length, exec) { - var SYMBOL = wks(KEY); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +module.exports = function (it, TYPE) { + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); + return it; +}; - var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - }); - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - re.exec = function () { execCalled = true; return null; }; - if (KEY === 'split') { - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES] = function () { return re; }; - } - re[SYMBOL](''); - return !execCalled; - }) : undefined; +/***/ }), - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) - ) { - var nativeRegExpMethod = /./[SYMBOL]; - var fns = exec( - defined, - SYMBOL, - ''[KEY], - function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; - } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; - } - return { done: false }; - } - ); - var strfn = fns[0]; - var rxfn = fns[1]; +/***/ "./node_modules/core-js/modules/_wks-define.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_wks-define.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - redefine(String.prototype, KEY, strfn); - hide(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return rxfn.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return rxfn.call(string, this); } - ); - } +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); +var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); +var defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +module.exports = function (name) { + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }), -/***/ "./node_modules/core-js/modules/_flags.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_flags.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +/***/ "./node_modules/core-js/modules/_wks-ext.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_wks-ext.js ***! + \**************************************************/ +/*! default exports */ +/*! export f [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js/modules/_wks.js */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__, __webpack_require__ */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { -// 21.2.5.3 get RegExp.prototype.flags -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; -}; +exports.f = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); /***/ }), -/***/ "./node_modules/core-js/modules/_flatten-into-array.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! - \*************************************************************/ +/***/ "./node_modules/core-js/modules/_wks.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_wks.js ***! + \**********************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 6:15-29 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +var store = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('wks'); +var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); +var Symbol = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Symbol; +var USE_SYMBOL = typeof Symbol == 'function'; -// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray -var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('isConcatSpreadable'); - -function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; - var element, spreadable; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - spreadable = false; - if (isObject(element)) { - spreadable = element[IS_CONCAT_SPREADABLE]; - spreadable = spreadable !== undefined ? !!spreadable : isArray(element); - } - - if (spreadable && depth > 0) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1fffffffffffff) throw TypeError(); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; -} +var $exports = module.exports = function (name) { + return store[name] || (store[name] = + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); +}; -module.exports = flattenIntoArray; +$exports.store = store; /***/ }), -/***/ "./node_modules/core-js/modules/_for-of.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_for-of.js ***! - \*************************************************/ +/***/ "./node_modules/core-js/modules/core.get-iterator-method.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***! + \******************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:14-28 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); -var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); -var BREAK = {}; -var RETURN = {}; -var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { - var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); - var f = ctx(fn, that, entries ? 2 : 1); - var index = 0; - var length, step, iterator, result; - if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); - // fast case for arrays with default iterator - if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { - result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); - if (result === BREAK || result === RETURN) return result; - } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { - result = call(iterator, f, step.value, entries); - if (result === BREAK || result === RETURN) return result; - } +var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); +var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); +var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); +module.exports = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").getIteratorMethod = function (it) { + if (it != undefined) return it[ITERATOR] + || it['@@iterator'] + || Iterators[classof(it)]; }; -exports.BREAK = BREAK; -exports.RETURN = RETURN; /***/ }), -/***/ "./node_modules/core-js/modules/_function-to-string.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_function-to-string.js ***! - \*************************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.copy-within.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.copy-within.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); - +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ }), +// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -/***/ "./node_modules/core-js/modules/_global.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_global.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:13-27 */ -/***/ ((module) => { +$export($export.P, 'Array', { copyWithin: __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js") }); -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self - // eslint-disable-next-line no-new-func - : Function('return this')(); -if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('copyWithin'); /***/ }), -/***/ "./node_modules/core-js/modules/_has.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_has.js ***! - \**********************************************/ +/***/ "./node_modules/core-js/modules/es6.array.every.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.every.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { - -var hasOwnProperty = {}.hasOwnProperty; -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; - +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ }), +"use strict"; -/***/ "./node_modules/core-js/modules/_hide.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_hide.js ***! - \***********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $every = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(4); -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].every, true), 'Array', { + // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) + every: function every(callbackfn /* , thisArg */) { + return $every(this, callbackfn, arguments[1]); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_html.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_html.js ***! - \***********************************************/ +/***/ "./node_modules/core-js/modules/es6.array.fill.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.fill.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var document = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").document; -module.exports = document && document.documentElement; +// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.P, 'Array', { fill: __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js") }); + +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('fill'); /***/ }), -/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.filter.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.filter.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $filter = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(2); + +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { + // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) + filter: function filter(callbackfn /* , thisArg */) { + return $filter(this, callbackfn, arguments[1]); + } }); /***/ }), -/***/ "./node_modules/core-js/modules/_inherit-if-required.js": +/***/ "./node_modules/core-js/modules/es6.array.find-index.js": /*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/_inherit-if-required.js ***! + !*** ./node_modules/core-js/modules/es6.array.find-index.js ***! \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var setPrototypeOf = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set; -module.exports = function (that, target, C) { - var S = target.constructor; - var P; - if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { - setPrototypeOf(that, P); - } return that; -}; +"use strict"; + +// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(6); +var KEY = 'findIndex'; +var forced = true; +// Shouldn't skip holes +if (KEY in []) Array(1)[KEY](function () { forced = false; }); +$export($export.P + $export.F * forced, 'Array', { + findIndex: function findIndex(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); /***/ }), -/***/ "./node_modules/core-js/modules/_invoke.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_invoke.js ***! - \*************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.find.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.find.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// fast apply, http://jsperf.lnkit.com/fast-apply/5 -module.exports = function (fn, args, that) { - var un = that === undefined; - switch (args.length) { - case 0: return un ? fn() - : fn.call(that); - case 1: return un ? fn(args[0]) - : fn.call(that, args[0]); - case 2: return un ? fn(args[0], args[1]) - : fn.call(that, args[0], args[1]); - case 3: return un ? fn(args[0], args[1], args[2]) - : fn.call(that, args[0], args[1], args[2]); - case 4: return un ? fn(args[0], args[1], args[2], args[3]) - : fn.call(that, args[0], args[1], args[2], args[3]); - } return fn.apply(that, args); -}; +"use strict"; + +// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(5); +var KEY = 'find'; +var forced = true; +// Shouldn't skip holes +if (KEY in []) Array(1)[KEY](function () { forced = false; }); +$export($export.P + $export.F * forced, 'Array', { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); /***/ }), -/***/ "./node_modules/core-js/modules/_iobject.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_iobject.js ***! - \**************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.for-each.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.for-each.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// fallback for non-array-like ES3 and non-enumerable old V8 strings -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -// eslint-disable-next-line no-prototype-builtins -module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); -}; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $forEach = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); +var STRICT = __webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].forEach, true); + +$export($export.P + $export.F * !STRICT, 'Array', { + // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) + forEach: function forEach(callbackfn /* , thisArg */) { + return $forEach(this, callbackfn, arguments[1]); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_is-array-iter.js": +/***/ "./node_modules/core-js/modules/es6.array.from.js": /*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_is-array-iter.js ***! + !*** ./node_modules/core-js/modules/es6.array.from.js ***! \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// check on default Array iterator -var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); -var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); -var ArrayProto = Array.prototype; +"use strict"; -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); -}; +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); + +$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { + var O = toObject(arrayLike); + var C = typeof this == 'function' ? this : Array; + var aLen = arguments.length; + var mapfn = aLen > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var index = 0; + var iterFn = getIterFn(O); + var length, result, step, iterator; + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); + // if object isn't iterable or it's array with default iterator - use simple case + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); + } + } else { + length = toLength(O.length); + for (result = new C(length); length > index; index++) { + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); + } + } + result.length = index; + return result; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_is-array.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_is-array.js ***! - \***************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.index-of.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.index-of.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// 7.2.2 IsArray(argument) -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -module.exports = Array.isArray || function isArray(arg) { - return cof(arg) == 'Array'; -}; - +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ }), +"use strict"; -/***/ "./node_modules/core-js/modules/_is-integer.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_is-integer.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $indexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); +var $native = [].indexOf; +var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; -// 20.1.2.3 Number.isInteger(number) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var floor = Math.floor; -module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; -}; +$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { + // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) + indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + return NEGATIVE_ZERO + // convert -0 to +0 + ? $native.apply(this, arguments) || 0 + : $indexOf(this, searchElement, arguments[1]); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_is-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_is-object.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.is-array.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.is-array.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_is-regexp.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_is-regexp.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.iterator.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.iterator.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 7.2.8 IsRegExp(argument) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -var MATCH = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match'); -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); -}; +"use strict"; +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js"); +var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); +var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -/***/ }), +// 22.1.3.4 Array.prototype.entries() +// 22.1.3.13 Array.prototype.keys() +// 22.1.3.29 Array.prototype.values() +// 22.1.3.30 Array.prototype[@@iterator]() +module.exports = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { + this._t = toIObject(iterated); // target + this._i = 0; // next index + this._k = kind; // kind +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() +}, function () { + var O = this._t; + var kind = this._k; + var index = this._i++; + if (!O || index >= O.length) { + this._t = undefined; + return step(1); + } + if (kind == 'keys') return step(0, index); + if (kind == 'values') return step(0, O[index]); + return step(0, [index, O[index]]); +}, 'values'); -/***/ "./node_modules/core-js/modules/_iter-call.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_iter-call.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) +Iterators.Arguments = Iterators.Array; -// call something on iterator step with safe closing on error -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -module.exports = function (iterator, fn, value, entries) { - try { - return entries ? fn(anObject(value)[0], value[1]) : fn(value); - // 7.4.6 IteratorClose(iterator, completion) - } catch (e) { - var ret = iterator['return']; - if (ret !== undefined) anObject(ret.call(iterator)); - throw e; - } -}; +addToUnscopables('keys'); +addToUnscopables('values'); +addToUnscopables('entries'); /***/ }), -/***/ "./node_modules/core-js/modules/_iter-create.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_iter-create.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.join.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.join.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); -var descriptor = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -__webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); +// 22.1.3.13 Array.prototype.join(separator) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var arrayJoin = [].join; -module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); -}; +// fallback for not array-like strings +$export($export.P + $export.F * (__webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js") != Object || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")(arrayJoin)), 'Array', { + join: function join(separator) { + return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_iter-define.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_iter-define.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.last-index-of.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.last-index-of.js ***! + \*****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); -var $iterCreate = __webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js"); -var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); -var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); -var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); -var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` -var FF_ITERATOR = '@@iterator'; -var KEYS = 'keys'; -var VALUES = 'values'; - -var returnThis = function () { return this; }; +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var $native = [].lastIndexOf; +var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; -module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { - $iterCreate(Constructor, NAME, next); - var getMethod = function (kind) { - if (!BUGGY && kind in proto) return proto[kind]; - switch (kind) { - case KEYS: return function keys() { return new Constructor(this, kind); }; - case VALUES: return function values() { return new Constructor(this, kind); }; - } return function entries() { return new Constructor(this, kind); }; - }; - var TAG = NAME + ' Iterator'; - var DEF_VALUES = DEFAULT == VALUES; - var VALUES_BUG = false; - var proto = Base.prototype; - var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); - var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; - var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; - var methods, key, IteratorPrototype; - // Fix native - if ($anyNative) { - IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); - if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { - // Set @@toStringTag to native iterators - setToStringTag(IteratorPrototype, TAG, true); - // fix for some old engines - if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); - } - } - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEF_VALUES && $native && $native.name !== VALUES) { - VALUES_BUG = true; - $default = function values() { return $native.call(this); }; - } - // Define iterator - if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { - hide(proto, ITERATOR, $default); +$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { + // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) + lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { + // convert -0 to +0 + if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; + var O = toIObject(this); + var length = toLength(O.length); + var index = length - 1; + if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; + return -1; } - // Plug for library - Iterators[NAME] = $default; - Iterators[TAG] = returnThis; - if (DEFAULT) { - methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), - entries: $entries - }; - if (FORCED) for (key in methods) { - if (!(key in proto)) redefine(proto, key, methods[key]); - } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.array.map.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.map.js ***! + \*******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $map = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(1); + +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].map, true), 'Array', { + // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) + map: function map(callbackfn /* , thisArg */) { + return $map(this, callbackfn, arguments[1]); } - return methods; -}; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_iter-detect.js": +/***/ "./node_modules/core-js/modules/es6.array.of.js": /*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_iter-detect.js ***! + !*** ./node_modules/core-js/modules/es6.array.of.js ***! \******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); -var SAFE_CLOSING = false; +"use strict"; -try { - var riter = [7][ITERATOR](); - riter['return'] = function () { SAFE_CLOSING = true; }; - // eslint-disable-next-line no-throw-literal - Array.from(riter, function () { throw 2; }); -} catch (e) { /* empty */ } +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); -module.exports = function (exec, skipClosing) { - if (!skipClosing && !SAFE_CLOSING) return false; - var safe = false; - try { - var arr = [7]; - var iter = arr[ITERATOR](); - iter.next = function () { return { done: safe = true }; }; - arr[ITERATOR] = function () { return iter; }; - exec(arr); - } catch (e) { /* empty */ } - return safe; -}; +// WebKit Array.of isn't generic +$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + function F() { /* empty */ } + return !(Array.of.call(F) instanceof F); +}), 'Array', { + // 22.1.2.3 Array.of( ...items) + of: function of(/* ...args */) { + var index = 0; + var aLen = arguments.length; + var result = new (typeof this == 'function' ? this : Array)(aLen); + while (aLen > index) createProperty(result, index, arguments[index++]); + result.length = aLen; + return result; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_iter-step.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_iter-step.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.reduce-right.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.reduce-right.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (done, value) { - return { value: value, done: !!done }; -}; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); + +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduceRight, true), 'Array', { + // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) + reduceRight: function reduceRight(callbackfn /* , initialValue */) { + return $reduce(this, callbackfn, arguments.length, arguments[1], true); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_iterators.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_iterators.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.reduce.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.reduce.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = {}; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); + +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduce, true), 'Array', { + // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) + reduce: function reduce(callbackfn /* , initialValue */) { + return $reduce(this, callbackfn, arguments.length, arguments[1], false); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_library.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_library.js ***! - \**************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.slice.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.slice.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = false; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var arraySlice = [].slice; + +// fallback for not array-like ES3 strings and DOM objects +$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + if (html) arraySlice.call(html); +}), 'Array', { + slice: function slice(begin, end) { + var len = toLength(this.length); + var klass = cof(this); + end = end === undefined ? len : end; + if (klass == 'Array') return arraySlice.call(this, begin, end); + var start = toAbsoluteIndex(begin, len); + var upTo = toAbsoluteIndex(end, len); + var size = toLength(upTo - start); + var cloned = new Array(size); + var i = 0; + for (; i < size; i++) cloned[i] = klass == 'String' + ? this.charAt(start + i) + : this[start + i]; + return cloned; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_math-expm1.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_math-expm1.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.some.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.some.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.14 Math.expm1(x) -var $expm1 = Math.expm1; -module.exports = (!$expm1 - // Old FF bug - || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 - // Tor Browser bug - || $expm1(-2e-17) != -2e-17 -) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; -} : $expm1; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $some = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(3); + +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].some, true), 'Array', { + // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) + some: function some(callbackfn /* , thisArg */) { + return $some(this, callbackfn, arguments[1]); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_math-fround.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_math-fround.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.sort.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.sort.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.16 Math.fround(x) -var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); -var pow = Math.pow; -var EPSILON = pow(2, -52); -var EPSILON32 = pow(2, -23); -var MAX32 = pow(2, 127) * (2 - EPSILON32); -var MIN32 = pow(2, -126); +"use strict"; -var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; -}; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var $sort = [].sort; +var test = [1, 2, 3]; -module.exports = Math.fround || function fround(x) { - var $abs = Math.abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; -}; +$export($export.P + $export.F * (fails(function () { + // IE8- + test.sort(undefined); +}) || !fails(function () { + // V8 bug + test.sort(null); + // Old WebKit +}) || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($sort)), 'Array', { + // 22.1.3.25 Array.prototype.sort(comparefn) + sort: function sort(comparefn) { + return comparefn === undefined + ? $sort.call(toObject(this)) + : $sort.call(toObject(this), aFunction(comparefn)); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_math-log1p.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_math-log1p.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.array.species.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.array.species.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.20 Math.log1p(x) -module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); -}; +__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('Array'); /***/ }), -/***/ "./node_modules/core-js/modules/_math-sign.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_math-sign.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.date.now.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.date.now.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.28 Math.sign(x) -module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; -}; +// 20.3.3.1 / 15.9.4.4 Date.now() +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); /***/ }), -/***/ "./node_modules/core-js/modules/_meta.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_meta.js ***! - \***********************************************/ +/***/ "./node_modules/core-js/modules/es6.date.to-iso-string.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.date.to-iso-string.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 47:11-25 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var META = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('meta'); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var setDesc = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var id = 0; -var isExtensible = Object.isExtensible || function () { - return true; -}; -var FREEZE = !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return isExtensible(Object.preventExtensions({})); +// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toISOString = __webpack_require__(/*! ./_date-to-iso-string */ "./node_modules/core-js/modules/_date-to-iso-string.js"); + +// PhantomJS / old WebKit has a broken implementations +$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { + toISOString: toISOString }); -var setMeta = function (it) { - setDesc(it, META, { value: { - i: 'O' + ++id, // object ID - w: {} // weak collections IDs - } }); -}; -var fastKey = function (it, create) { - // return primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMeta(it); - // return object ID - } return it[META].i; -}; -var getWeak = function (it, create) { - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMeta(it); - // return hash weak collections IDs - } return it[META].w; -}; -// add metadata on freeze-family methods calling -var onFreeze = function (it) { - if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); - return it; -}; -var meta = module.exports = { - KEY: META, - NEED: false, - fastKey: fastKey, - getWeak: getWeak, - onFreeze: onFreeze -}; /***/ }), -/***/ "./node_modules/core-js/modules/_microtask.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_microtask.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.date.to-json.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.date.to-json.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var macrotask = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; -var Observer = global.MutationObserver || global.WebKitMutationObserver; -var process = global.process; -var Promise = global.Promise; -var isNode = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process'; +"use strict"; -module.exports = function () { - var head, last, notify; - - var flush = function () { - var parent, fn; - if (isNode && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (e) { - if (head) notify(); - else last = undefined; - throw e; - } - } last = undefined; - if (parent) parent.enter(); - }; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); - // Node.js - if (isNode) { - notify = function () { - process.nextTick(flush); - }; - // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 - } else if (Observer && !(global.navigator && global.navigator.standalone)) { - var toggle = true; - var node = document.createTextNode(''); - new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - // Promise.resolve without an argument throws an error in LG WebOS 2 - var promise = Promise.resolve(undefined); - notify = function () { - promise.then(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout - } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); - }; +$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return new Date(NaN).toJSON() !== null + || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; +}), 'Date', { + // eslint-disable-next-line no-unused-vars + toJSON: function toJSON(key) { + var O = toObject(this); + var pv = toPrimitive(O); + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); } - - return function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; - }; -}; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_new-promise-capability.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/_new-promise-capability.js ***! - \*****************************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.date.to-primitive.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.date.to-primitive.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +var TO_PRIMITIVE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toPrimitive'); +var proto = Date.prototype; -// 25.4.1.5 NewPromiseCapability(C) -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +if (!(TO_PRIMITIVE in proto)) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(proto, TO_PRIMITIVE, __webpack_require__(/*! ./_date-to-primitive */ "./node_modules/core-js/modules/_date-to-primitive.js")); -function PromiseCapability(C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.date.to-string.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.date.to-string.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +var DateProto = Date.prototype; +var INVALID_DATE = 'Invalid Date'; +var TO_STRING = 'toString'; +var $toString = DateProto[TO_STRING]; +var getTime = DateProto.getTime; +if (new Date(NaN) + '' != INVALID_DATE) { + __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(DateProto, TO_STRING, function toString() { + var value = getTime.call(this); + // eslint-disable-next-line no-self-compare + return value === value ? $toString.call(this) : INVALID_DATE; }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); } -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - /***/ }), -/***/ "./node_modules/core-js/modules/_object-assign.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_object-assign.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.function.bind.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.function.bind.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.1 Object.assign(target, source, ...) -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); -var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); -var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); -var $assign = Object.assign; +// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -// should work with symbols and should have deterministic property order (V8 bug) -module.exports = !$assign || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var S = Symbol(); - var K = 'abcdefghijklmnopqrst'; - A[S] = 7; - K.split('').forEach(function (k) { B[k] = k; }); - return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; -}) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var aLen = arguments.length; - var index = 1; - var getSymbols = gOPS.f; - var isEnum = pIE.f; - while (aLen > index) { - var S = IObject(arguments[index++]); - var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; - } - } return T; -} : $assign; +$export($export.P, 'Function', { bind: __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_object-create.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_object-create.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.function.has-instance.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.function.has-instance.js ***! + \*******************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var dPs = __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js"); -var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); -var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); -var Empty = function () { /* empty */ }; -var PROTOTYPE = 'prototype'; +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var createDict = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js")('iframe'); - var i = enumBugKeys.length; - var lt = '<'; - var gt = '>'; - var iframeDocument; - iframe.style.display = 'none'; - __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js").appendChild(iframe); - iframe.src = 'javascript:'; // eslint-disable-line no-script-url - // createDict = iframe.contentWindow.Object; - // html.removeChild(iframe); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); - iframeDocument.close(); - createDict = iframeDocument.F; - while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; - return createDict(); -}; +"use strict"; -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); - result = new Empty(); - Empty[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = createDict(); - return Properties === undefined ? result : dPs(result, Properties); -}; +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('hasInstance'); +var FunctionProto = Function.prototype; +// 19.2.3.6 Function.prototype[@@hasInstance](V) +if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(FunctionProto, HAS_INSTANCE, { value: function (O) { + if (typeof this != 'function' || !isObject(O)) return false; + if (!isObject(this.prototype)) return O instanceof this; + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; + return false; +} }); /***/ }), -/***/ "./node_modules/core-js/modules/_object-dp.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-dp.js ***! - \****************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.function.name.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.function.name.js ***! + \***********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -var dP = Object.defineProperty; +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var FProto = Function.prototype; +var nameRE = /^\s*function ([^ (]*)/; +var NAME = 'name'; -exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return dP(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; +// 19.2.4.2 name +NAME in FProto || __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { + configurable: true, + get: function () { + try { + return ('' + this).match(nameRE)[1]; + } catch (e) { + return ''; + } + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-dps.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-dps.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.map.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/es6.map.js ***! + \*************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +"use strict"; -module.exports = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = getKeys(Properties); - var length = keys.length; - var i = 0; - var P; - while (length > i) dP.f(O, P = keys[i++], Properties[P]); - return O; -}; +var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var MAP = 'Map'; + +// 23.1 Map Objects +module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(MAP, function (get) { + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.1.3.6 Map.prototype.get(key) + get: function get(key) { + var entry = strong.getEntry(validate(this, MAP), key); + return entry && entry.v; + }, + // 23.1.3.9 Map.prototype.set(key, value) + set: function set(key, value) { + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); + } +}, strong, true); /***/ }), -/***/ "./node_modules/core-js/modules/_object-gopd.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_object-gopd.js ***! - \******************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.math.acosh.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.acosh.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var pIE = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "./node_modules/core-js/modules/_ie8-dom-define.js"); -var gOPD = Object.getOwnPropertyDescriptor; +// 20.2.2.3 Math.acosh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var log1p = __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js"); +var sqrt = Math.sqrt; +var $acosh = Math.acosh; -exports.f = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { - O = toIObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return gOPD(O, P); - } catch (e) { /* empty */ } - if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); -}; +$export($export.S + $export.F * !($acosh + // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 + && Math.floor($acosh(Number.MAX_VALUE)) == 710 + // Tor Browser bug: Math.acosh(Infinity) -> NaN + && $acosh(Infinity) == Infinity +), 'Math', { + acosh: function acosh(x) { + return (x = +x) < 1 ? NaN : x > 94906265.62425156 + ? Math.log(x) + Math.LN2 + : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-gopn-ext.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_object-gopn-ext.js ***! - \**********************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, module */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; -var toString = {}.toString; +/***/ "./node_modules/core-js/modules/es6.math.asinh.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.asinh.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; +// 20.2.2.5 Math.asinh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $asinh = Math.asinh; -var getWindowNames = function (it) { - try { - return gOPN(it); - } catch (e) { - return windowNames.slice(); - } -}; +function asinh(x) { + return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); +} -module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); -}; +// Tor Browser bug: Math.asinh(0) -> -0 +$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); /***/ }), -/***/ "./node_modules/core-js/modules/_object-gopn.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_object-gopn.js ***! - \******************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.math.atanh.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.atanh.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) -var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); -var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js").concat('length', 'prototype'); +// 20.2.2.7 Math.atanh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $atanh = Math.atanh; -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return $keys(O, hiddenKeys); -}; +// Tor Browser bug: Math.atanh(-0) -> 0 +$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { + atanh: function atanh(x) { + return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-gops.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_object-gops.js ***! - \******************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +/***/ "./node_modules/core-js/modules/es6.math.cbrt.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.cbrt.js ***! + \*******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -exports.f = Object.getOwnPropertySymbols; +// 20.2.2.9 Math.cbrt(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); + +$export($export.S, 'Math', { + cbrt: function cbrt(x) { + return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-gpo.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-gpo.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.clz32.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.clz32.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); -var ObjectProto = Object.prototype; +// 20.2.2.11 Math.clz32(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = Object.getPrototypeOf || function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectProto : null; -}; +$export($export.S, 'Math', { + clz32: function clz32(x) { + return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-keys-internal.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_object-keys-internal.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.cosh.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.cosh.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); -var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "./node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); +// 20.2.2.12 Math.cosh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var exp = Math.exp; -module.exports = function (object, names) { - var O = toIObject(object); - var i = 0; - var result = []; - var key; - for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); +$export($export.S, 'Math', { + cosh: function cosh(x) { + return (exp(x = +x) + exp(-x)) / 2; } - return result; -}; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_object-keys.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_object-keys.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.expm1.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.expm1.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// 19.1.2.14 / 15.2.3.14 Object.keys(O) -var $keys = __webpack_require__(/*! ./_object-keys-internal */ "./node_modules/core-js/modules/_object-keys-internal.js"); -var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "./node_modules/core-js/modules/_enum-bug-keys.js"); - -module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); -}; - - -/***/ }), +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ "./node_modules/core-js/modules/_object-pie.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-pie.js ***! - \*****************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +// 20.2.2.14 Math.expm1(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); -exports.f = {}.propertyIsEnumerable; +$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); /***/ }), -/***/ "./node_modules/core-js/modules/_object-sap.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-sap.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.fround.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.fround.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// most Object methods by ES6 should accept primitives +// 20.2.2.16 Math.fround(x) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -module.exports = function (KEY, exec) { - var fn = (core.Object || {})[KEY] || Object[KEY]; - var exp = {}; - exp[KEY] = exec(fn); - $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); -}; + +$export($export.S, 'Math', { fround: __webpack_require__(/*! ./_math-fround */ "./node_modules/core-js/modules/_math-fround.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_object-to-array.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_object-to-array.js ***! - \**********************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.hypot.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.hypot.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var isEnum = __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f; -module.exports = function (isEntries) { - return function (it) { - var O = toIObject(it); - var keys = getKeys(O); - var length = keys.length; +// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var abs = Math.abs; + +$export($export.S, 'Math', { + hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars + var sum = 0; var i = 0; - var result = []; - var key; - while (length > i) { - key = keys[i++]; - if (!DESCRIPTORS || isEnum.call(O, key)) { - result.push(isEntries ? [key, O[key]] : O[key]); - } + var aLen = arguments.length; + var larg = 0; + var arg, div; + while (i < aLen) { + arg = abs(arguments[i++]); + if (larg < arg) { + div = larg / arg; + sum = sum * div * div + 1; + larg = arg; + } else if (arg > 0) { + div = arg / larg; + sum += div * div; + } else sum += arg; } - return result; - }; -}; + return larg === Infinity ? Infinity : larg * Math.sqrt(sum); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_own-keys.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_own-keys.js ***! - \***************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.imul.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.imul.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// all object keys, includes non-enumerable and symbols -var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js"); -var gOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var Reflect = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect; -module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { - var keys = gOPN.f(anObject(it)); - var getSymbols = gOPS.f; - return getSymbols ? keys.concat(getSymbols(it)) : keys; -}; +// 20.2.2.18 Math.imul(x, y) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $imul = Math.imul; + +// some WebKit versions fails with big numbers, some has wrong arity +$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return $imul(0xffffffff, 5) != -5 || $imul.length != 2; +}), 'Math', { + imul: function imul(x, y) { + var UINT16 = 0xffff; + var xn = +x; + var yn = +y; + var xl = UINT16 & xn; + var yl = UINT16 & yn; + return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_parse-float.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_parse-float.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.log10.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.log10.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $parseFloat = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseFloat; -var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; +// 20.2.2.21 Math.log10(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = 1 / $parseFloat(__webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { - var string = $trim(String(str), 3); - var result = $parseFloat(string); - return result === 0 && string.charAt(0) == '-' ? -0 : result; -} : $parseFloat; +$export($export.S, 'Math', { + log10: function log10(x) { + return Math.log(x) * Math.LOG10E; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_parse-int.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_parse-int.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.log1p.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.log1p.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $parseInt = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").parseInt; -var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; -var ws = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); -var hex = /^[-+]?0[xX]/; +// 20.2.2.20 Math.log1p(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { - var string = $trim(String(str), 3); - return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); -} : $parseInt; +$export($export.S, 'Math', { log1p: __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_perform.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_perform.js ***! - \**************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.log2.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.log2.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (exec) { - try { - return { e: false, v: exec() }; - } catch (e) { - return { e: true, v: e }; +// 20.2.2.22 Math.log2(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Math', { + log2: function log2(x) { + return Math.log(x) / Math.LN2; } -}; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_promise-resolve.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/_promise-resolve.js ***! - \**********************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.sign.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.sign.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); +// 20.2.2.28 Math.sign(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; -}; +$export($export.S, 'Math', { sign: __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_property-desc.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_property-desc.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.sinh.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.sinh.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; +// 20.2.2.30 Math.sinh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); +var exp = Math.exp; + +// V8 near Chromium 38 has a problem with very small numbers +$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return !Math.sinh(-2e-17) != -2e-17; +}), 'Math', { + sinh: function sinh(x) { + return Math.abs(x = +x) < 1 + ? (expm1(x) - expm1(-x)) / 2 + : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_redefine-all.js": +/***/ "./node_modules/core-js/modules/es6.math.tanh.js": /*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_redefine-all.js ***! + !*** ./node_modules/core-js/modules/es6.math.tanh.js ***! \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -module.exports = function (target, src, safe) { - for (var key in src) redefine(target, key, src[key], safe); - return target; -}; +// 20.2.2.33 Math.tanh(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); +var exp = Math.exp; + +$export($export.S, 'Math', { + tanh: function tanh(x) { + var a = expm1(x = +x); + var b = expm1(-x); + return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_redefine.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_redefine.js ***! - \***************************************************/ +/***/ "./node_modules/core-js/modules/es6.math.trunc.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.math.trunc.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 13:1-15 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var SRC = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js")('src'); -var $toString = __webpack_require__(/*! ./_function-to-string */ "./node_modules/core-js/modules/_function-to-string.js"); -var TO_STRING = 'toString'; -var TPL = ('' + $toString).split(TO_STRING); +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").inspectSource = function (it) { - return $toString.call(it); -}; +// 20.2.2.34 Math.trunc(x) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -(module.exports = function (O, key, val, safe) { - var isFunction = typeof val == 'function'; - if (isFunction) has(val, 'name') || hide(val, 'name', key); - if (O[key] === val) return; - if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); - if (O === global) { - O[key] = val; - } else if (!safe) { - delete O[key]; - hide(O, key, val); - } else if (O[key]) { - O[key] = val; - } else { - hide(O, key, val); +$export($export.S, 'Math', { + trunc: function trunc(it) { + return (it > 0 ? Math.floor : Math.ceil)(it); } -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, TO_STRING, function toString() { - return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), -/***/ "./node_modules/core-js/modules/_regexp-exec-abstract.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_regexp-exec-abstract.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.constructor.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.constructor.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); +var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; +var NUMBER = 'Number'; +var $Number = global[NUMBER]; +var Base = $Number; +var proto = $Number.prototype; +// Opera ~12 has broken Object#toString +var BROKEN_COF = cof(__webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js")(proto)) == NUMBER; +var TRIM = 'trim' in String.prototype; -var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); -var builtinExec = RegExp.prototype.exec; +// 7.1.3 ToNumber(argument) +var toNumber = function (argument) { + var it = toPrimitive(argument, false); + if (typeof it == 'string' && it.length > 2) { + it = TRIM ? it.trim() : $trim(it, 3); + var first = it.charCodeAt(0); + var third, radix, maxCode; + if (first === 43 || first === 45) { + third = it.charCodeAt(2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (it.charCodeAt(1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i + default: return +it; + } + for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { + code = digits.charCodeAt(i); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; +}; - // `RegExpExec` abstract operation -// https://tc39.github.io/ecma262/#sec-regexpexec -module.exports = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw new TypeError('RegExp exec method returned something other than an Object or null'); +if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { + $Number = function Number(value) { + var it = arguments.length < 1 ? 0 : value; + var that = this; + return that instanceof $Number + // check on 1..constructor(foo) case + && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) + ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); + }; + for (var keys = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPN(Base) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES6 (in case, if modules with ES6 Number statics required before): + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' + ).split(','), j = 0, key; keys.length > j; j++) { + if (has(Base, key = keys[j]) && !has($Number, key)) { + dP($Number, key, gOPD(Base, key)); } - return result; - } - if (classof(R) !== 'RegExp') { - throw new TypeError('RegExp#exec called on incompatible receiver'); } - return builtinExec.call(R, S); -}; + $Number.prototype = proto; + proto.constructor = $Number; + __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, NUMBER, $Number); +} /***/ }), -/***/ "./node_modules/core-js/modules/_regexp-exec.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_regexp-exec.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.epsilon.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.epsilon.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 58:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - - -var regexpFlags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); - -var nativeExec = RegExp.prototype.exec; -// This always refers to the native implementation, because the -// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, -// which loads this file before patching the method. -var nativeReplace = String.prototype.replace; - -var patchedExec = nativeExec; - -var LAST_INDEX = 'lastIndex'; - -var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/, - re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); - return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; -})(); - -// nonparticipating capturing group, copied from es5-shim's String#split patch. -var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - -var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; +// 20.1.2.1 Number.EPSILON +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -if (PATCH) { - patchedExec = function exec(str) { - var re = this; - var lastIndex, reCopy, match, i; +$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; - match = nativeExec.call(re, str); +/***/ }), - if (UPDATES_LAST_INDEX_WRONG && match) { - re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - // eslint-disable-next-line no-loop-func - nativeReplace.call(match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } +/***/ "./node_modules/core-js/modules/es6.number.is-finite.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.is-finite.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - return match; - }; -} +// 20.1.2.2 Number.isFinite(number) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var _isFinite = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").isFinite; -module.exports = patchedExec; +$export($export.S, 'Number', { + isFinite: function isFinite(it) { + return typeof it == 'number' && _isFinite(it); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_same-value.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_same-value.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.is-integer.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.is-integer.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.2.9 SameValue(x, y) -module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; -}; +// 20.1.2.3 Number.isInteger(number) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Number', { isInteger: __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_set-proto.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_set-proto.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.is-nan.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.is-nan.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var check = function (O, proto) { - anObject(O); - if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); -}; -module.exports = { - set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line - function (test, buggy, set) { - try { - set = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); - set(test, []); - buggy = !(test instanceof Array); - } catch (e) { buggy = true; } - return function setPrototypeOf(O, proto) { - check(O, proto); - if (buggy) O.__proto__ = proto; - else set(O, proto); - return O; - }; - }({}, false) : undefined), - check: check -}; +// 20.1.2.4 Number.isNaN(number) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Number', { + isNaN: function isNaN(number) { + // eslint-disable-next-line no-self-compare + return number != number; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_set-species.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_set-species.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.is-safe-integer.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.is-safe-integer.js ***! + \********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); +// 20.1.2.5 Number.isSafeInteger(number) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var isInteger = __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js"); +var abs = Math.abs; -module.exports = function (KEY) { - var C = global[KEY]; - if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { - configurable: true, - get: function () { return this; } - }); -}; +$export($export.S, 'Number', { + isSafeInteger: function isSafeInteger(number) { + return isInteger(number) && abs(number) <= 0x1fffffffffffff; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_set-to-string-tag.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/_set-to-string-tag.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.max-safe-integer.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.max-safe-integer.js ***! + \*********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var def = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); +// 20.1.2.6 Number.MAX_SAFE_INTEGER +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = function (it, tag, stat) { - if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); -}; +$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); /***/ }), -/***/ "./node_modules/core-js/modules/_shared-key.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_shared-key.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.min-safe-integer.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.min-safe-integer.js ***! + \*********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('keys'); -var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); -module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); -}; +// 20.1.2.10 Number.MIN_SAFE_INTEGER +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + +$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); /***/ }), -/***/ "./node_modules/core-js/modules/_shared.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_shared.js ***! - \*************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.parse-float.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.parse-float.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:1-15 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || (global[SHARED] = {}); +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: core.version, - mode: __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js") ? 'pure' : 'global', - copyright: '© 2020 Denis Pushkarev (zloirock.ru)' -}); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); +// 20.1.2.12 Number.parseFloat(string) +$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); /***/ }), -/***/ "./node_modules/core-js/modules/_species-constructor.js": +/***/ "./node_modules/core-js/modules/es6.number.parse-int.js": /*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/_species-constructor.js ***! + !*** ./node_modules/core-js/modules/es6.number.parse-int.js ***! \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.3.20 SpeciesConstructor(O, defaultConstructor) -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var SPECIES = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species'); -module.exports = function (O, D) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); -}; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); +// 20.1.2.13 Number.parseInt(string, radix) +$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); /***/ }), -/***/ "./node_modules/core-js/modules/_strict-method.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_strict-method.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.to-fixed.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.to-fixed.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); +var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); +var $toFixed = 1.0.toFixed; +var floor = Math.floor; +var data = [0, 0, 0, 0, 0, 0]; +var ERROR = 'Number.toFixed: incorrect invocation!'; +var ZERO = '0'; -module.exports = function (method, arg) { - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call - arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); - }); +var multiply = function (n, c) { + var i = -1; + var c2 = c; + while (++i < 6) { + c2 += n * data[i]; + data[i] = c2 % 1e7; + c2 = floor(c2 / 1e7); + } +}; +var divide = function (n) { + var i = 6; + var c = 0; + while (--i >= 0) { + c += data[i]; + data[i] = floor(c / n); + c = (c % n) * 1e7; + } +}; +var numToString = function () { + var i = 6; + var s = ''; + while (--i >= 0) { + if (s !== '' || i === 0 || data[i] !== 0) { + var t = String(data[i]); + s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; + } + } return s; +}; +var pow = function (x, n, acc) { + return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); +}; +var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { + n += 12; + x2 /= 4096; + } + while (x2 >= 2) { + n += 1; + x2 /= 2; + } return n; }; +$export($export.P + $export.F * (!!$toFixed && ( + 0.00008.toFixed(3) !== '0.000' || + 0.9.toFixed(0) !== '1' || + 1.255.toFixed(2) !== '1.25' || + 1000000000000000128.0.toFixed(0) !== '1000000000000000128' +) || !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + // V8 ~ Android 4.3- + $toFixed.call({}); +})), 'Number', { + toFixed: function toFixed(fractionDigits) { + var x = aNumberValue(this, ERROR); + var f = toInteger(fractionDigits); + var s = ''; + var m = ZERO; + var e, z, j, k; + if (f < 0 || f > 20) throw RangeError(ERROR); + // eslint-disable-next-line no-self-compare + if (x != x) return 'NaN'; + if (x <= -1e21 || x >= 1e21) return String(x); + if (x < 0) { + s = '-'; + x = -x; + } + if (x > 1e-21) { + e = log(x * pow(2, 69, 1)) - 69; + z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); + z *= 0x10000000000000; + e = 52 - e; + if (e > 0) { + multiply(0, z); + j = f; + while (j >= 7) { + multiply(1e7, 0); + j -= 7; + } + multiply(pow(10, j, 1), 0); + j = e - 1; + while (j >= 23) { + divide(1 << 23); + j -= 23; + } + divide(1 << j); + multiply(1, 1); + divide(2); + m = numToString(); + } else { + multiply(0, z); + multiply(1 << -e, 0); + m = numToString() + repeat.call(ZERO, f); + } + } + if (f > 0) { + k = m.length; + m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); + } else { + m = s + m; + } return m; + } +}); + /***/ }), -/***/ "./node_modules/core-js/modules/_string-at.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_string-at.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.number.to-precision.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.number.to-precision.js ***! + \*****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -// true -> String#at -// false -> String#codePointAt -module.exports = function (TO_STRING) { - return function (that, pos) { - var s = String(defined(that)); - var i = toInteger(pos); - var l = s.length; - var a, b; - if (i < 0 || i >= l) return TO_STRING ? '' : undefined; - a = s.charCodeAt(i); - return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff - ? TO_STRING ? s.charAt(i) : a - : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; - }; -}; +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); +var $toPrecision = 1.0.toPrecision; + +$export($export.P + $export.F * ($fails(function () { + // IE7- + return $toPrecision.call(1, undefined) !== '1'; +}) || !$fails(function () { + // V8 ~ Android 4.3- + $toPrecision.call({}); +})), 'Number', { + toPrecision: function toPrecision(precision) { + var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); + return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_string-context.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_string-context.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.assign.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.assign.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// helper for String#{startsWith, endsWith, includes} -var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +// 19.1.3.1 Object.assign(target, source) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -module.exports = function (that, searchString, NAME) { - if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); - return String(defined(that)); -}; +$export($export.S + $export.F, 'Object', { assign: __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_string-html.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_string-html.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.create.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.create.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -var quot = /"/g; -// B.2.3.2.1 CreateHTML(string, tag, attribute, value) -var createHTML = function (string, tag, attribute, value) { - var S = String(defined(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; -}; -module.exports = function (NAME, exec) { - var O = {}; - O[NAME] = exec(createHTML); - $export($export.P + $export.F * fails(function () { - var test = ''[NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }), 'String', O); -}; +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) +$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_string-pad.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_string-pad.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.object.define-properties.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.define-properties.js ***! + \**********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// https://github.com/tc39/proposal-string-pad-start-end -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) +$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperties: __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js") }); -module.exports = function (that, maxLength, fillString, left) { - var S = String(defined(that)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - if (intMaxLength <= stringLength || fillStr == '') return S; - var fillLen = intMaxLength - stringLength; - var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return left ? stringFiller + S : S + stringFiller; -}; + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.object.define-property.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.define-property.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) +$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f }); /***/ }), -/***/ "./node_modules/core-js/modules/_string-repeat.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_string-repeat.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.freeze.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.freeze.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +// 19.1.2.5 Object.freeze(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('freeze', function ($freeze) { + return function freeze(it) { + return $freeze && isObject(it) ? $freeze(meta(it)) : it; + }; +}); -module.exports = function repeat(count) { - var str = String(defined(this)); - var res = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); - for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; - return res; -}; + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": +/*!********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { + return function getOwnPropertyDescriptor(it, key) { + return $getOwnPropertyDescriptor(toIObject(it), key); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_string-trim.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_string-trim.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.get-own-property-names.js": +/*!***************************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.get-own-property-names.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var spaces = __webpack_require__(/*! ./_string-ws */ "./node_modules/core-js/modules/_string-ws.js"); -var space = '[' + spaces + ']'; -var non = '\u200b\u0085'; -var ltrim = RegExp('^' + space + space + '*'); -var rtrim = RegExp(space + space + '*$'); +// 19.1.2.7 Object.getOwnPropertyNames(O) +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyNames', function () { + return __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js").f; +}); -var exporter = function (KEY, exec, ALIAS) { - var exp = {}; - var FORCE = fails(function () { - return !!spaces[KEY]() || non[KEY]() != non; - }); - var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; - if (ALIAS) exp[ALIAS] = fn; - $export($export.P + $export.F * FORCE, 'String', exp); -}; -// 1 -> String#trimLeft -// 2 -> String#trimRight -// 3 -> String#trim -var trim = exporter.trim = function (string, TYPE) { - string = String(defined(string)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; -}; +/***/ }), -module.exports = exporter; +/***/ "./node_modules/core-js/modules/es6.object.get-prototype-of.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.get-prototype-of.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +// 19.1.2.9 Object.getPrototypeOf(O) +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getPrototypeOf', function () { + return function getPrototypeOf(it) { + return $getPrototypeOf(toObject(it)); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_string-ws.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_string-ws.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.is-extensible.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.is-extensible.js ***! + \******************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + - '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; +// 19.1.2.11 Object.isExtensible(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isExtensible', function ($isExtensible) { + return function isExtensible(it) { + return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_task.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_task.js ***! - \***********************************************/ +/***/ "./node_modules/core-js/modules/es6.object.is-frozen.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.is-frozen.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 81:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var invoke = __webpack_require__(/*! ./_invoke */ "./node_modules/core-js/modules/_invoke.js"); -var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); -var cel = __webpack_require__(/*! ./_dom-create */ "./node_modules/core-js/modules/_dom-create.js"); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var process = global.process; -var setTask = global.setImmediate; -var clearTask = global.clearImmediate; -var MessageChannel = global.MessageChannel; -var Dispatch = global.Dispatch; -var counter = 0; -var queue = {}; -var ONREADYSTATECHANGE = 'onreadystatechange'; -var defer, channel, port; -var run = function () { - var id = +this; - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } -}; -var listener = function (event) { - run.call(event.data); -}; -// Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if (!setTask || !clearTask) { - setTask = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - invoke(typeof fn == 'function' ? fn : Function(fn), args); - }; - defer(counter); - return counter; +// 19.1.2.12 Object.isFrozen(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isFrozen', function ($isFrozen) { + return function isFrozen(it) { + return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; }; - clearTask = function clearImmediate(id) { - delete queue[id]; +}); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.object.is-sealed.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.is-sealed.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +// 19.1.2.13 Object.isSealed(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isSealed', function ($isSealed) { + return function isSealed(it) { + return isObject(it) ? $isSealed ? $isSealed(it) : false : true; }; - // Node.js 0.8- - if (__webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js")(process) == 'process') { - defer = function (id) { - process.nextTick(ctx(run, id, 1)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(ctx(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if (MessageChannel) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = ctx(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { - defer = function (id) { - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in cel('script')) { - defer = function (id) { - html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(ctx(run, id, 1), 0); - }; - } -} -module.exports = { - set: setTask, - clear: clearTask -}; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_to-absolute-index.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/_to-absolute-index.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.is.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.is.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var max = Math.max; -var min = Math.min; -module.exports = function (index, length) { - index = toInteger(index); - return index < 0 ? max(index + length, 0) : min(index, length); -}; +// 19.1.3.10 Object.is(value1, value2) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +$export($export.S, 'Object', { is: __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/_to-index.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_to-index.js ***! - \***************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.keys.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.keys.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// https://tc39.github.io/ecma262/#sec-toindex -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -module.exports = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length!'); - return length; -}; +// 19.1.2.14 Object.keys(O) +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('keys', function () { + return function keys(it) { + return $keys(toObject(it)); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_to-integer.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-integer.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.prevent-extensions.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.prevent-extensions.js ***! + \***********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.1.4 ToInteger -var ceil = Math.ceil; -var floor = Math.floor; -module.exports = function (it) { - return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); -}; +// 19.1.2.15 Object.preventExtensions(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('preventExtensions', function ($preventExtensions) { + return function preventExtensions(it) { + return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_to-iobject.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-iobject.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.seal.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.seal.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// to indexed object, toObject with fallback for non-array-like ES3 strings -var IObject = __webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js"); -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -module.exports = function (it) { - return IObject(defined(it)); -}; +// 19.1.2.17 Object.seal(O) +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; + +__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('seal', function ($seal) { + return function seal(it) { + return $seal && isObject(it) ? $seal(meta(it)) : it; + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_to-length.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-length.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.set-prototype-of.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.set-prototype-of.js ***! + \*********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.1.15 ToLength -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var min = Math.min; -module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; +// 19.1.3.19 Object.setPrototypeOf(O, proto) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set }); /***/ }), -/***/ "./node_modules/core-js/modules/_to-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-object.js ***! - \****************************************************/ +/***/ "./node_modules/core-js/modules/es6.object.to-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.object.to-string.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.1.13 ToObject(argument) -var defined = __webpack_require__(/*! ./_defined */ "./node_modules/core-js/modules/_defined.js"); -module.exports = function (it) { - return Object(defined(it)); -}; +"use strict"; + +// 19.1.3.6 Object.prototype.toString() +var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); +var test = {}; +test[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; +if (test + '' != '[object z]') { + __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { + return '[object ' + classof(this) + ']'; + }, true); +} /***/ }), -/***/ "./node_modules/core-js/modules/_to-primitive.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_to-primitive.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.parse-float.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.parse-float.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); -}; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); +// 18.2.4 parseFloat(string) +$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); /***/ }), -/***/ "./node_modules/core-js/modules/_typed-array.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_typed-array.js ***! - \******************************************************/ +/***/ "./node_modules/core-js/modules/es6.parse-int.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.parse-int.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 325:2-16 */ -/*! CommonJS bailout: module.exports is used directly at 480:7-21 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); +// 18.2.5 parseInt(string, radix) +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); -if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js")) { - var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); - var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); - var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); - var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); - var $buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); - var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); - var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); - var propertyDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); - var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); - var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); - var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); - var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); - var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); - var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); - var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); - var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); - var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); - var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); - var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); - var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); - var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); - var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); - var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; - var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); - var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); - var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); - var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js"); - var createArrayIncludes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js"); - var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); - var ArrayIterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); - var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); - var $iterDetect = __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js"); - var setSpecies = __webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js"); - var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); - var arrayCopyWithin = __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js"); - var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); - var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); - var dP = $DP.f; - var gOPD = $GOPD.f; - var RangeError = global.RangeError; - var TypeError = global.TypeError; - var Uint8Array = global.Uint8Array; - var ARRAY_BUFFER = 'ArrayBuffer'; - var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var PROTOTYPE = 'prototype'; - var ArrayProto = Array[PROTOTYPE]; - var $ArrayBuffer = $buffer.ArrayBuffer; - var $DataView = $buffer.DataView; - var arrayForEach = createArrayMethod(0); - var arrayFilter = createArrayMethod(2); - var arraySome = createArrayMethod(3); - var arrayEvery = createArrayMethod(4); - var arrayFind = createArrayMethod(5); - var arrayFindIndex = createArrayMethod(6); - var arrayIncludes = createArrayIncludes(true); - var arrayIndexOf = createArrayIncludes(false); - var arrayValues = ArrayIterators.values; - var arrayKeys = ArrayIterators.keys; - var arrayEntries = ArrayIterators.entries; - var arrayLastIndexOf = ArrayProto.lastIndexOf; - var arrayReduce = ArrayProto.reduce; - var arrayReduceRight = ArrayProto.reduceRight; - var arrayJoin = ArrayProto.join; - var arraySort = ArrayProto.sort; - var arraySlice = ArrayProto.slice; - var arrayToString = ArrayProto.toString; - var arrayToLocaleString = ArrayProto.toLocaleString; - var ITERATOR = wks('iterator'); - var TAG = wks('toStringTag'); - var TYPED_CONSTRUCTOR = uid('typed_constructor'); - var DEF_CONSTRUCTOR = uid('def_constructor'); - var ALL_CONSTRUCTORS = $typed.CONSTR; - var TYPED_ARRAY = $typed.TYPED; - var VIEW = $typed.VIEW; - var WRONG_LENGTH = 'Wrong length!'; - - var $map = createArrayMethod(1, function (O, length) { - return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); - }); - - var LITTLE_ENDIAN = fails(function () { - // eslint-disable-next-line no-undef - return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; - }); - - var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { - new Uint8Array(1).set({}); - }); - - var toOffset = function (it, BYTES) { - var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); - return offset; - }; - var validate = function (it) { - if (isObject(it) && TYPED_ARRAY in it) return it; - throw TypeError(it + ' is not a typed array!'); - }; +/***/ }), - var allocate = function (C, length) { - if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { - throw TypeError('It is not a typed array constructor!'); - } return new C(length); - }; +/***/ "./node_modules/core-js/modules/es6.promise.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/es6.promise.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - var speciesFromList = function (O, list) { - return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); - }; +"use strict"; - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = allocate(C, length); - while (length > index) result[index] = list[index++]; - return result; - }; +var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); +var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); +var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); +var task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; +var microtask = __webpack_require__(/*! ./_microtask */ "./node_modules/core-js/modules/_microtask.js")(); +var newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); +var perform = __webpack_require__(/*! ./_perform */ "./node_modules/core-js/modules/_perform.js"); +var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); +var PROMISE = 'Promise'; +var TypeError = global.TypeError; +var process = global.process; +var versions = process && process.versions; +var v8 = versions && versions.v8 || ''; +var $Promise = global[PROMISE]; +var isNode = classof(process) == 'process'; +var empty = function () { /* empty */ }; +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; - var addGetter = function (it, key, internal) { - dP(it, key, { get: function () { return this._d[internal]; } }); - }; +var USE_NATIVE = !!function () { + try { + // correct subclassing with @@species support + var promise = $Promise.resolve(1); + var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species')] = function (exec) { + exec(empty, empty); + }; + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test + return (isNode || typeof PromiseRejectionEvent == 'function') + && promise.then(empty) instanceof FakePromise + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // we can't detect it synchronously, so just check versions + && v8.indexOf('6.6') !== 0 + && userAgent.indexOf('Chrome/66') === -1; + } catch (e) { /* empty */ } +}(); - var $from = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var aLen = arguments.length; - var mapfn = aLen > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iterFn = getIterFn(O); - var i, length, values, result, step, iterator; - if (iterFn != undefined && !isArrayIter(iterFn)) { - for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { - values.push(step.value); - } O = values; +// helpers +var isThenable = function (it) { + var then; + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; +}; +var notify = function (promise, isReject) { + if (promise._n) return; + promise._n = true; + var chain = promise._c; + microtask(function () { + var value = promise._v; + var ok = promise._s == 1; + var i = 0; + var run = function (reaction) { + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (promise._h == 2) onHandleUnhandled(promise); + promise._h = 1; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // may throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError('Promise-chain cycle')); + } else if (then = isThenable(result)) { + then.call(result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (e) { + if (domain && !exited) domain.exit(); + reject(e); + } + }; + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach + promise._c = []; + promise._n = false; + if (isReject && !promise._h) onUnhandled(promise); + }); +}; +var onUnhandled = function (promise) { + task.call(global, function () { + var value = promise._v; + var unhandled = isUnhandled(promise); + var result, handler, console; + if (unhandled) { + result = perform(function () { + if (isNode) { + process.emit('unhandledRejection', value, promise); + } else if (handler = global.onunhandledrejection) { + handler({ promise: promise, reason: value }); + } else if ((console = global.console) && console.error) { + console.error('Unhandled promise rejection', value); + } + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + promise._h = isNode || isUnhandled(promise) ? 2 : 1; + } promise._a = undefined; + if (unhandled && result.e) throw result.v; + }); +}; +var isUnhandled = function (promise) { + return promise._h !== 1 && (promise._a || promise._c).length === 0; +}; +var onHandleUnhandled = function (promise) { + task.call(global, function () { + var handler; + if (isNode) { + process.emit('rejectionHandled', promise); + } else if (handler = global.onrejectionhandled) { + handler({ promise: promise, reason: promise._v }); } - if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); - for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; + }); +}; +var $reject = function (value) { + var promise = this; + if (promise._d) return; + promise._d = true; + promise = promise._w || promise; // unwrap + promise._v = value; + promise._s = 2; + if (!promise._a) promise._a = promise._c.slice(); + notify(promise, true); +}; +var $resolve = function (value) { + var promise = this; + var then; + if (promise._d) return; + promise._d = true; + promise = promise._w || promise; // unwrap + try { + if (promise === value) throw TypeError("Promise can't be resolved itself"); + if (then = isThenable(value)) { + microtask(function () { + var wrapper = { _w: promise, _d: false }; // wrap + try { + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); + } catch (e) { + $reject.call(wrapper, e); + } + }); + } else { + promise._v = value; + promise._s = 1; + notify(promise, false); } - return result; - }; - - var $of = function of(/* ...items */) { - var index = 0; - var length = arguments.length; - var result = allocate(this, length); - while (length > index) result[index] = arguments[index++]; - return result; - }; - - // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); - - var $toLocaleString = function toLocaleString() { - return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); - }; + } catch (e) { + $reject.call({ _w: promise, _d: false }, e); // wrap + } +}; - var proto = { - copyWithin: function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); - }, - every: function every(callbackfn /* , thisArg */) { - return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars - return arrayFill.apply(validate(this), arguments); - }, - filter: function filter(callbackfn /* , thisArg */) { - return speciesFromList(this, arrayFilter(validate(this), callbackfn, - arguments.length > 1 ? arguments[1] : undefined)); - }, - find: function find(predicate /* , thisArg */) { - return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - findIndex: function findIndex(predicate /* , thisArg */) { - return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }, - forEach: function forEach(callbackfn /* , thisArg */) { - arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - indexOf: function indexOf(searchElement /* , fromIndex */) { - return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - includes: function includes(searchElement /* , fromIndex */) { - return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }, - join: function join(separator) { // eslint-disable-line no-unused-vars - return arrayJoin.apply(validate(this), arguments); - }, - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars - return arrayLastIndexOf.apply(validate(this), arguments); - }, - map: function map(mapfn /* , thisArg */) { - return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); - }, - reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduce.apply(validate(this), arguments); - }, - reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars - return arrayReduceRight.apply(validate(this), arguments); - }, - reverse: function reverse() { - var that = this; - var length = validate(that).length; - var middle = Math.floor(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; - }, - some: function some(callbackfn /* , thisArg */) { - return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }, - sort: function sort(comparefn) { - return arraySort.call(validate(this), comparefn); - }, - subarray: function subarray(begin, end) { - var O = validate(this); - var length = O.length; - var $begin = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( - O.buffer, - O.byteOffset + $begin * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) - ); +// constructor polyfill +if (!USE_NATIVE) { + // 25.4.3.1 Promise(executor) + $Promise = function Promise(executor) { + anInstance(this, $Promise, PROMISE, '_h'); + aFunction(executor); + Internal.call(this); + try { + executor(ctx($resolve, this, 1), ctx($reject, this, 1)); + } catch (err) { + $reject.call(this, err); } }; - - var $slice = function slice(start, end) { - return speciesFromList(this, arraySlice.call(validate(this), start, end)); - }; - - var $set = function set(arrayLike /* , offset */) { - validate(this); - var offset = toOffset(arguments[1], 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError(WRONG_LENGTH); - while (index < len) this[offset + index] = src[index++]; + // eslint-disable-next-line no-unused-vars + Internal = function Promise(executor) { + this._c = []; // <- awaiting reactions + this._a = undefined; // <- checked in isUnhandled reactions + this._s = 0; // <- state + this._d = false; // <- done + this._v = undefined; // <- value + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled + this._n = false; // <- notify }; - - var $iterators = { - entries: function entries() { - return arrayEntries.call(validate(this)); - }, - keys: function keys() { - return arrayKeys.call(validate(this)); + Internal.prototype = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js")($Promise.prototype, { + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) + then: function then(onFulfilled, onRejected) { + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; + reaction.fail = typeof onRejected == 'function' && onRejected; + reaction.domain = isNode ? process.domain : undefined; + this._c.push(reaction); + if (this._a) this._a.push(reaction); + if (this._s) notify(this, false); + return reaction.promise; }, - values: function values() { - return arrayValues.call(validate(this)); + // 25.4.5.1 Promise.prototype.catch(onRejected) + 'catch': function (onRejected) { + return this.then(undefined, onRejected); } + }); + OwnPromiseCapability = function () { + var promise = new Internal(); + this.promise = promise; + this.resolve = ctx($resolve, promise, 1); + this.reject = ctx($reject, promise, 1); }; - - var isTAIndex = function (target, key) { - return isObject(target) - && target[TYPED_ARRAY] - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - var $getDesc = function getOwnPropertyDescriptor(target, key) { - return isTAIndex(target, key = toPrimitive(key, true)) - ? propertyDesc(2, target[key]) - : gOPD(target, key); - }; - var $setDesc = function defineProperty(target, key, desc) { - if (isTAIndex(target, key = toPrimitive(key, true)) - && isObject(desc) - && has(desc, 'value') - && !has(desc, 'get') - && !has(desc, 'set') - // TODO: add validation descriptor w/o calling accessors - && !desc.configurable - && (!has(desc, 'writable') || desc.writable) - && (!has(desc, 'enumerable') || desc.enumerable) - ) { - target[key] = desc.value; - return target; - } return dP(target, key, desc); + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return C === $Promise || C === Wrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); }; +} - if (!ALL_CONSTRUCTORS) { - $GOPD.f = $getDesc; - $DP.f = $setDesc; - } - - $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { - getOwnPropertyDescriptor: $getDesc, - defineProperty: $setDesc - }); +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); +__webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js")($Promise, PROMISE); +__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(PROMISE); +Wrapper = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js")[PROMISE]; - if (fails(function () { arrayToString.call({}); })) { - arrayToString = arrayToLocaleString = function toString() { - return arrayJoin.call(this); - }; +// statics +$export($export.S + $export.F * !USE_NATIVE, PROMISE, { + // 25.4.4.5 Promise.reject(r) + reject: function reject(r) { + var capability = newPromiseCapability(this); + var $$reject = capability.reject; + $$reject(r); + return capability.promise; } - - var $TypedArrayPrototype$ = redefineAll({}, proto); - redefineAll($TypedArrayPrototype$, $iterators); - hide($TypedArrayPrototype$, ITERATOR, $iterators.values); - redefineAll($TypedArrayPrototype$, { - slice: $slice, - set: $set, - constructor: function () { /* noop */ }, - toString: arrayToString, - toLocaleString: $toLocaleString - }); - addGetter($TypedArrayPrototype$, 'buffer', 'b'); - addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); - addGetter($TypedArrayPrototype$, 'byteLength', 'l'); - addGetter($TypedArrayPrototype$, 'length', 'e'); - dP($TypedArrayPrototype$, TAG, { - get: function () { return this[TYPED_ARRAY]; } - }); - - // eslint-disable-next-line max-statements - module.exports = function (KEY, BYTES, wrapper, CLAMPED) { - CLAMPED = !!CLAMPED; - var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + KEY; - var SETTER = 'set' + KEY; - var TypedArray = global[NAME]; - var Base = TypedArray || {}; - var TAC = TypedArray && getPrototypeOf(TypedArray); - var FORCED = !TypedArray || !$typed.ABV; - var O = {}; - var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; - var getter = function (that, index) { - var data = that._d; - return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); - }; - var setter = function (that, index, value) { - var data = that._d; - if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; - data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); - }; - var addElement = function (that, index) { - dP(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - if (FORCED) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME, '_d'); - var index = 0; - var offset = 0; - var buffer, byteLength, length, klass; - if (!isObject(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new $ArrayBuffer(byteLength); - } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - buffer = data; - offset = toOffset($offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - offset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (TYPED_ARRAY in data) { - return fromList(TypedArray, data); - } else { - return $from.call(TypedArray, data); - } - hide(that, '_d', { - b: buffer, - o: offset, - l: byteLength, - e: length, - v: new $DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); - hide(TypedArrayPrototype, 'constructor', TypedArray); - } else if (!fails(function () { - TypedArray(1); - }) || !fails(function () { - new TypedArray(-1); // eslint-disable-line no-new - }) || !$iterDetect(function (iter) { - new TypedArray(); // eslint-disable-line no-new - new TypedArray(null); // eslint-disable-line no-new - new TypedArray(1.5); // eslint-disable-line no-new - new TypedArray(iter); // eslint-disable-line no-new - }, true)) { - TypedArray = wrapper(function (that, data, $offset, $length) { - anInstance(that, TypedArray, NAME); - var klass; - // `ws` module bug, temporarily remove validation length for Uint8Array - // https://github.com/websockets/ws/pull/645 - if (!isObject(data)) return new Base(toIndex(data)); - if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { - return $length !== undefined - ? new Base(data, toOffset($offset, BYTES), $length) - : $offset !== undefined - ? new Base(data, toOffset($offset, BYTES)) - : new Base(data); - } - if (TYPED_ARRAY in data) return fromList(TypedArray, data); - return $from.call(TypedArray, data); - }); - arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { - if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); +}); +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { + // 25.4.4.6 Promise.resolve(x) + resolve: function resolve(x) { + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); + } +}); +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { + $Promise.all(iter)['catch'](empty); +})), PROMISE, { + // 25.4.4.1 Promise.all(iterable) + all: function all(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var values = []; + var index = 0; + var remaining = 1; + forOf(iterable, false, function (promise) { + var $index = index++; + var alreadyCalled = false; + values.push(undefined); + remaining++; + C.resolve(promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[$index] = value; + --remaining || resolve(values); + }, reject); }); - TypedArray[PROTOTYPE] = TypedArrayPrototype; - if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; - } - var $nativeIterator = TypedArrayPrototype[ITERATOR]; - var CORRECT_ITER_NAME = !!$nativeIterator - && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); - var $iterator = $iterators.values; - hide(TypedArray, TYPED_CONSTRUCTOR, true); - hide(TypedArrayPrototype, TYPED_ARRAY, NAME); - hide(TypedArrayPrototype, VIEW, true); - hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); - - if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { - dP(TypedArrayPrototype, TAG, { - get: function () { return NAME; } + --remaining || resolve(values); + }); + if (result.e) reject(result.v); + return capability.promise; + }, + // 25.4.4.4 Promise.race(iterable) + race: function race(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var reject = capability.reject; + var result = perform(function () { + forOf(iterable, false, function (promise) { + C.resolve(promise).then(capability.resolve, reject); }); - } - - O[NAME] = TypedArray; - - $export($export.G + $export.W + $export.F * (TypedArray != Base), O); - - $export($export.S, NAME, { - BYTES_PER_ELEMENT: BYTES }); + if (result.e) reject(result.v); + return capability.promise; + } +}); - $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { - from: $from, - of: $of - }); - if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); +/***/ }), - $export($export.P, NAME, proto); +/***/ "./node_modules/core-js/modules/es6.reflect.apply.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.apply.js ***! + \***********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - setSpecies(NAME); +// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var rApply = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).apply; +var fApply = Function.apply; +// MS Edge argumentsList argument is optional +$export($export.S + $export.F * !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + rApply(function () { /* empty */ }); +}), 'Reflect', { + apply: function apply(target, thisArgument, argumentsList) { + var T = aFunction(target); + var L = anObject(argumentsList); + return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); + } +}); - $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); - $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); +/***/ }), - if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; +/***/ "./node_modules/core-js/modules/es6.reflect.construct.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.construct.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - $export($export.P + $export.F * fails(function () { - new TypedArray(1).slice(); - }), NAME, { slice: $slice }); +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var bind = __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js"); +var rConstruct = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).construct; - $export($export.P + $export.F * (fails(function () { - return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); - }) || !fails(function () { - TypedArrayPrototype.toLocaleString.call([1, 2]); - })), NAME, { toLocaleString: $toLocaleString }); +// MS Edge supports only 2 arguments and argumentsList argument is optional +// FF Nightly sets third argument as `new.target`, but does not create `this` from it +var NEW_TARGET_BUG = fails(function () { + function F() { /* empty */ } + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); +}); +var ARGS_BUG = !fails(function () { + rConstruct(function () { /* empty */ }); +}); - Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; - if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); - }; -} else module.exports = function () { /* empty */ }; +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { + construct: function construct(Target, args /* , newTarget */) { + aFunction(Target); + anObject(args); + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); + if (Target == newTarget) { + // w/o altered newTarget, optimization for 0-4 arguments + switch (args.length) { + case 0: return new Target(); + case 1: return new Target(args[0]); + case 2: return new Target(args[0], args[1]); + case 3: return new Target(args[0], args[1], args[2]); + case 4: return new Target(args[0], args[1], args[2], args[3]); + } + // w/o altered newTarget, lot of arguments case + var $args = [null]; + $args.push.apply($args, args); + return new (bind.apply(Target, $args))(); + } + // with altered newTarget, not support built-in constructors + var proto = newTarget.prototype; + var instance = create(isObject(proto) ? proto : Object.prototype); + var result = Function.apply.call(Target, instance, args); + return isObject(result) ? result : instance; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_typed-buffer.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_typed-buffer.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.define-property.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.define-property.js ***! + \*********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/*! CommonJS bailout: exports is used directly at 275:0-7 */ -/*! CommonJS bailout: exports is used directly at 276:0-7 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); -var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var redefineAll = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var toIndex = __webpack_require__(/*! ./_to-index */ "./node_modules/core-js/modules/_to-index.js"); -var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var arrayFill = __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js"); -var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); -var ARRAY_BUFFER = 'ArrayBuffer'; -var DATA_VIEW = 'DataView'; -var PROTOTYPE = 'prototype'; -var WRONG_LENGTH = 'Wrong length!'; -var WRONG_INDEX = 'Wrong index!'; -var $ArrayBuffer = global[ARRAY_BUFFER]; -var $DataView = global[DATA_VIEW]; -var Math = global.Math; -var RangeError = global.RangeError; -// eslint-disable-next-line no-shadow-restricted-names -var Infinity = global.Infinity; -var BaseBuffer = $ArrayBuffer; -var abs = Math.abs; -var pow = Math.pow; -var floor = Math.floor; -var log = Math.log; -var LN2 = Math.LN2; -var BUFFER = 'buffer'; -var BYTE_LENGTH = 'byteLength'; -var BYTE_OFFSET = 'byteOffset'; -var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; -var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; -var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; +// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -// IEEE754 conversions based on https://github.com/feross/ieee754 -function packIEEE754(value, mLen, nBytes) { - var buffer = new Array(nBytes); - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; - var i = 0; - var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; - var e, m, c; - value = abs(value); - // eslint-disable-next-line no-self-compare - if (value != value || value === Infinity) { - // eslint-disable-next-line no-self-compare - m = value != value ? 1 : 0; - e = eMax; - } else { - e = floor(log(value) / LN2); - if (value * (c = pow(2, -e)) < 1) { - e--; - c *= 2; - } - if (e + eBias >= 1) { - value += rt / c; - } else { - value += rt * pow(2, 1 - eBias); - } - if (value * c >= 2) { - e++; - c /= 2; - } - if (e + eBias >= eMax) { - m = 0; - e = eMax; - } else if (e + eBias >= 1) { - m = (value * c - 1) * pow(2, mLen); - e = e + eBias; - } else { - m = value * pow(2, eBias - 1) * pow(2, mLen); - e = 0; +// MS Edge has broken Reflect.defineProperty - throwing instead of returning false +$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + // eslint-disable-next-line no-undef + Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); +}), 'Reflect', { + defineProperty: function defineProperty(target, propertyKey, attributes) { + anObject(target); + propertyKey = toPrimitive(propertyKey, true); + anObject(attributes); + try { + dP.f(target, propertyKey, attributes); + return true; + } catch (e) { + return false; } } - for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); - e = e << mLen | m; - eLen += mLen; - for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); - buffer[--i] |= s * 128; - return buffer; -} -function unpackIEEE754(buffer, mLen, nBytes) { - var eLen = nBytes * 8 - mLen - 1; - var eMax = (1 << eLen) - 1; - var eBias = eMax >> 1; - var nBits = eLen - 7; - var i = nBytes - 1; - var s = buffer[i--]; - var e = s & 127; - var m; - s >>= 7; - for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); - m = e & (1 << -nBits) - 1; - e >>= -nBits; - nBits += mLen; - for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); - if (e === 0) { - e = 1 - eBias; - } else if (e === eMax) { - return m ? NaN : s ? -Infinity : Infinity; - } else { - m = m + pow(2, mLen); - e = e - eBias; - } return (s ? -1 : 1) * m * pow(2, e - mLen); -} - -function unpackI32(bytes) { - return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; -} -function packI8(it) { - return [it & 0xff]; -} -function packI16(it) { - return [it & 0xff, it >> 8 & 0xff]; -} -function packI32(it) { - return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; -} -function packF64(it) { - return packIEEE754(it, 52, 8); -} -function packF32(it) { - return packIEEE754(it, 23, 4); -} +}); -function addGetter(C, key, internal) { - dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); -} -function get(view, bytes, index, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = store.slice(start, start + bytes); - return isLittleEndian ? pack : pack.reverse(); -} -function set(view, bytes, index, conversion, value, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); - var store = view[$BUFFER]._b; - var start = intIndex + view[$OFFSET]; - var pack = conversion(+value); - for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; -} +/***/ }), -if (!$typed.ABV) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER); - var byteLength = toIndex(length); - this._b = arrayFill.call(new Array(byteLength), 0); - this[$LENGTH] = byteLength; - }; +/***/ "./node_modules/core-js/modules/es6.reflect.delete-property.js": +/*!*********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.delete-property.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = buffer[$LENGTH]; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); - this[$BUFFER] = buffer; - this[$OFFSET] = offset; - this[$LENGTH] = byteLength; - }; +// 26.1.4 Reflect.deleteProperty(target, propertyKey) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); - if (DESCRIPTORS) { - addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); - addGetter($DataView, BUFFER, '_b'); - addGetter($DataView, BYTE_LENGTH, '_l'); - addGetter($DataView, BYTE_OFFSET, '_o'); +$export($export.S, 'Reflect', { + deleteProperty: function deleteProperty(target, propertyKey) { + var desc = gOPD(anObject(target), propertyKey); + return desc && !desc.configurable ? false : delete target[propertyKey]; } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); - }, - setInt8: function setInt8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set(this, 1, byteOffset, packI8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packI16, value, arguments[2]); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packI32, value, arguments[2]); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packF32, value, arguments[2]); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set(this, 8, byteOffset, packF64, value, arguments[2]); - } - }); -} else { - if (!fails(function () { - $ArrayBuffer(1); - }) || !fails(function () { - new $ArrayBuffer(-1); // eslint-disable-line no-new - }) || fails(function () { - new $ArrayBuffer(); // eslint-disable-line no-new - new $ArrayBuffer(1.5); // eslint-disable-line no-new - new $ArrayBuffer(NaN); // eslint-disable-line no-new - return $ArrayBuffer.name != ARRAY_BUFFER; - })) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new BaseBuffer(toIndex(length)); - }; - var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; - for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { - if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); - } - if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; - } - // iOS Safari 7.x bug - var view = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = $DataView[PROTOTYPE].setInt8; - view.setInt8(0, 2147483648); - view.setInt8(1, 2147483649); - if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - } - }, true); -} -setToStringTag($ArrayBuffer, ARRAY_BUFFER); -setToStringTag($DataView, DATA_VIEW); -hide($DataView[PROTOTYPE], $typed.VIEW, true); -exports[ARRAY_BUFFER] = $ArrayBuffer; -exports[DATA_VIEW] = $DataView; +}); /***/ }), -/***/ "./node_modules/core-js/modules/_typed.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_typed.js ***! - \************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.enumerate.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.enumerate.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); -var TYPED = uid('typed_array'); -var VIEW = uid('view'); -var ABV = !!(global.ArrayBuffer && global.DataView); -var CONSTR = ABV; -var i = 0; -var l = 9; -var Typed; - -var TypedArrayConstructors = ( - 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' -).split(','); - -while (i < l) { - if (Typed = global[TypedArrayConstructors[i++]]) { - hide(Typed.prototype, TYPED, true); - hide(Typed.prototype, VIEW, true); - } else CONSTR = false; -} - -module.exports = { - ABV: ABV, - CONSTR: CONSTR, - TYPED: TYPED, - VIEW: VIEW -}; - - -/***/ }), +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ "./node_modules/core-js/modules/_uid.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_uid.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module) => { +"use strict"; -var id = 0; -var px = Math.random(); -module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); +// 26.1.5 Reflect.enumerate(target) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var Enumerate = function (iterated) { + this._t = anObject(iterated); // target + this._i = 0; // next index + var keys = this._k = []; // keys + var key; + for (key in iterated) keys.push(key); }; +__webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { + var that = this; + var keys = that._k; + var key; + do { + if (that._i >= keys.length) return { value: undefined, done: true }; + } while (!((key = keys[that._i++]) in that._t)); + return { value: key, done: false }; +}); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_user-agent.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_user-agent.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var navigator = global.navigator; - -module.exports = navigator && navigator.userAgent || ''; - - -/***/ }), - -/***/ "./node_modules/core-js/modules/_validate-collection.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/_validate-collection.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -module.exports = function (it, TYPE) { - if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); - return it; -}; +$export($export.S, 'Reflect', { + enumerate: function enumerate(target) { + return new Enumerate(target); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_wks-define.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_wks-define.js ***! - \*****************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js ***! + \*********************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); -var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); -var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); -var defineProperty = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -module.exports = function (name) { - var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); - if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); -}; - - -/***/ }), +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ "./node_modules/core-js/modules/_wks-ext.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_wks-ext.js ***! - \**************************************************/ -/*! default exports */ -/*! export f [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/core-js/modules/_wks.js */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { +// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -exports.f = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); +$export($export.S, 'Reflect', { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { + return gOPD.f(anObject(target), propertyKey); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/_wks.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_wks.js ***! - \**********************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.get-prototype-of.js ***! + \**********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 6:15-29 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var store = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js")('wks'); -var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); -var Symbol = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Symbol; -var USE_SYMBOL = typeof Symbol == 'function'; - -var $exports = module.exports = function (name) { - return store[name] || (store[name] = - USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); -}; - -$exports.store = store; - - -/***/ }), +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -/***/ "./node_modules/core-js/modules/core.get-iterator-method.js": -/*!******************************************************************!*\ - !*** ./node_modules/core-js/modules/core.get-iterator-method.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +// 26.1.8 Reflect.getPrototypeOf(target) +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var getProto = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); -var ITERATOR = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('iterator'); -var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); -module.exports = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js").getIteratorMethod = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; +$export($export.S, 'Reflect', { + getPrototypeOf: function getPrototypeOf(target) { + return getProto(anObject(target)); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.copy-within.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.copy-within.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.get.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.get.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -$export($export.P, 'Array', { copyWithin: __webpack_require__(/*! ./_array-copy-within */ "./node_modules/core-js/modules/_array-copy-within.js") }); +function get(target, propertyKey /* , receiver */) { + var receiver = arguments.length < 3 ? target : arguments[2]; + var desc, proto; + if (anObject(target) === receiver) return target[propertyKey]; + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') + ? desc.value + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); +} -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('copyWithin'); +$export($export.S, 'Reflect', { get: get }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.every.js": +/***/ "./node_modules/core-js/modules/es6.reflect.has.js": /*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.every.js ***! + !*** ./node_modules/core-js/modules/es6.reflect.has.js ***! \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - +// 26.1.9 Reflect.has(target, propertyKey) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $every = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(4); -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].every, true), 'Array', { - // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) - every: function every(callbackfn /* , thisArg */) { - return $every(this, callbackfn, arguments[1]); +$export($export.S, 'Reflect', { + has: function has(target, propertyKey) { + return propertyKey in target; } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.fill.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.fill.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.is-extensible.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.is-extensible.js ***! + \*******************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) +// 26.1.10 Reflect.isExtensible(target) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var $isExtensible = Object.isExtensible; -$export($export.P, 'Array', { fill: __webpack_require__(/*! ./_array-fill */ "./node_modules/core-js/modules/_array-fill.js") }); - -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('fill'); +$export($export.S, 'Reflect', { + isExtensible: function isExtensible(target) { + anObject(target); + return $isExtensible ? $isExtensible(target) : true; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.filter.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.filter.js ***! - \**********************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.own-keys.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.own-keys.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - +// 26.1.11 Reflect.ownKeys(target) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $filter = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(2); -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { - // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments[1]); - } -}); +$export($export.S, 'Reflect', { ownKeys: __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.find-index.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.find-index.js ***! - \**************************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": +/*!************************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.prevent-extensions.js ***! + \************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) +// 26.1.12 Reflect.preventExtensions(target) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(6); -var KEY = 'findIndex'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var $preventExtensions = Object.preventExtensions; + +$export($export.S, 'Reflect', { + preventExtensions: function preventExtensions(target) { + anObject(target); + try { + if ($preventExtensions) $preventExtensions(target); + return true; + } catch (e) { + return false; + } } }); -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.find.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.find.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": +/*!**********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.set-prototype-of.js ***! + \**********************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) +// 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $find = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(5); -var KEY = 'find'; -var forced = true; -// Shouldn't skip holes -if (KEY in []) Array(1)[KEY](function () { forced = false; }); -$export($export.P + $export.F * forced, 'Array', { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); +var setProto = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js"); + +if (setProto) $export($export.S, 'Reflect', { + setPrototypeOf: function setPrototypeOf(target, proto) { + setProto.check(target, proto); + try { + setProto.set(target, proto); + return true; + } catch (e) { + return false; + } } }); -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")(KEY); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.for-each.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.for-each.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.reflect.set.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.reflect.set.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - +// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $forEach = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); -var STRICT = __webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].forEach, true); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -$export($export.P + $export.F * !STRICT, 'Array', { - // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) - forEach: function forEach(callbackfn /* , thisArg */) { - return $forEach(this, callbackfn, arguments[1]); +function set(target, propertyKey, V /* , receiver */) { + var receiver = arguments.length < 4 ? target : arguments[3]; + var ownDesc = gOPD.f(anObject(target), propertyKey); + var existingDescriptor, proto; + if (!ownDesc) { + if (isObject(proto = getPrototypeOf(target))) { + return set(proto, propertyKey, V, receiver); + } + ownDesc = createDesc(0); } -}); + if (has(ownDesc, 'value')) { + if (ownDesc.writable === false || !isObject(receiver)) return false; + if (existingDescriptor = gOPD.f(receiver, propertyKey)) { + if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + } else dP.f(receiver, propertyKey, createDesc(0, V)); + return true; + } + return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +} + +$export($export.S, 'Reflect', { set: set }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.from.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.from.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.constructor.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.constructor.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var call = __webpack_require__(/*! ./_iter-call */ "./node_modules/core-js/modules/_iter-call.js"); -var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "./node_modules/core-js/modules/_is-array-iter.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); -var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "./node_modules/core-js/modules/core.get-iterator-method.js"); - -$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { - // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) - from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var aLen = arguments.length; - var mapfn = aLen > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var index = 0; - var iterFn = getIterFn(O); - var length, result, step, iterator; - if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); - // if object isn't iterable or it's array with default iterator - use simple case - if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { - for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { - createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); - } - } else { - length = toLength(O.length); - for (result = new C(length); length > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); - } - } - result.length = index; - return result; - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.index-of.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.index-of.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); +var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; +var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); +var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); +var $RegExp = global.RegExp; +var Base = $RegExp; +var proto = $RegExp.prototype; +var re1 = /a/g; +var re2 = /a/g; +// "new" creates a new object, old webkit buggy here +var CORRECT_NEW = new $RegExp(re1) !== re1; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $indexOf = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(false); -var $native = [].indexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; +if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && (!CORRECT_NEW || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + re2[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match')] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; +}))) { + $RegExp = function RegExp(p, f) { + var tiRE = this instanceof $RegExp; + var piRE = isRegExp(p); + var fiU = f === undefined; + return !tiRE && piRE && p.constructor === $RegExp && fiU ? p + : inheritIfRequired(CORRECT_NEW + ? new Base(piRE && !fiU ? p.source : p, f) + : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) + , tiRE ? this : proto, $RegExp); + }; + var proxy = function (key) { + key in $RegExp || dP($RegExp, key, { + configurable: true, + get: function () { return Base[key]; }, + set: function (it) { Base[key] = it; } + }); + }; + for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); + proto.constructor = $RegExp; + $RegExp.prototype = proto; + __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, 'RegExp', $RegExp); +} -$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { - // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? $native.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments[1]); - } -}); +__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('RegExp'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.is-array.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.is-array.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.exec.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.exec.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js") }); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.iterator.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.iterator.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; -var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js"); -var step = __webpack_require__(/*! ./_iter-step */ "./node_modules/core-js/modules/_iter-step.js"); -var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); - -// 22.1.3.4 Array.prototype.entries() -// 22.1.3.13 Array.prototype.keys() -// 22.1.3.29 Array.prototype.values() -// 22.1.3.30 Array.prototype[@@iterator]() -module.exports = __webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { - this._t = toIObject(iterated); // target - this._i = 0; // next index - this._k = kind; // kind -// 22.1.5.2.1 %ArrayIteratorPrototype%.next() -}, function () { - var O = this._t; - var kind = this._k; - var index = this._i++; - if (!O || index >= O.length) { - this._t = undefined; - return step(1); - } - if (kind == 'keys') return step(0, index); - if (kind == 'values') return step(0, O[index]); - return step(0, [index, O[index]]); -}, 'values'); - -// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) -Iterators.Arguments = Iterators.Array; - -addToUnscopables('keys'); -addToUnscopables('values'); -addToUnscopables('entries'); +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); +__webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js")({ + target: 'RegExp', + proto: true, + forced: regexpExec !== /./.exec +}, { + exec: regexpExec +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.join.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.join.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -// 22.1.3.13 Array.prototype.join(separator) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var arrayJoin = [].join; - -// fallback for not array-like strings -$export($export.P + $export.F * (__webpack_require__(/*! ./_iobject */ "./node_modules/core-js/modules/_iobject.js") != Object || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")(arrayJoin)), 'Array', { - join: function join(separator) { - return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); - } +// 21.2.5.3 get RegExp.prototype.flags() +if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { + configurable: true, + get: __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js") }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.last-index-of.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.last-index-of.js ***! - \*****************************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.match.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.match.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); + +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var $native = [].lastIndexOf; -var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); -$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($native)), 'Array', { - // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) - lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; - var O = toIObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; - return -1; - } +// @@match logic +__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('match', 1, function (defined, MATCH, $match, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.github.io/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = defined(this); + var fn = regexp == undefined ? undefined : regexp[MATCH]; + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match + function (regexp) { + var res = maybeCallNative($match, regexp, this); + if (res.done) return res.value; + var rx = anObject(regexp); + var S = String(this); + if (!rx.global) return regExpExec(rx, S); + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regExpExec(rx, S)) !== null) { + var matchStr = String(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.map.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.map.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.replace.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.replace.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $map = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(1); - -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].map, true), 'Array', { - // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments[1]); - } -}); - -/***/ }), +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); +var max = Math.max; +var min = Math.min; +var floor = Math.floor; +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; -/***/ "./node_modules/core-js/modules/es6.array.of.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.of.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +var maybeToString = function (it) { + return it === undefined ? it : String(it); +}; -"use strict"; +// @@replace logic +__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { + return [ + // `String.prototype.replace` method + // https://tc39.github.io/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = defined(this); + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; + return fn !== undefined + ? fn.call(searchValue, O, replaceValue) + : $replace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace + function (regexp, replaceValue) { + var res = maybeCallNative($replace, regexp, this, replaceValue); + if (res.done) return res.value; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); + var rx = anObject(regexp); + var S = String(this); + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S); + if (result === null) break; + results.push(result); + if (!global) break; + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + var matched = String(result[0]); + var position = max(min(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; -// WebKit Array.of isn't generic -$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); -}), 'Array', { - // 22.1.2.3 Array.of( ...items) - of: function of(/* ...args */) { - var index = 0; - var aLen = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(aLen); - while (aLen > index) createProperty(result, index, arguments[index++]); - result.length = aLen; - return result; + // https://tc39.github.io/ecma262/#sec-getsubstitution + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return $replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.reduce-right.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.reduce-right.js ***! - \****************************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.search.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.search.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduceRight, true), 'Array', { - // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], true); - } +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var sameValue = __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js"); +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); + +// @@search logic +__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('search', 1, function (defined, SEARCH, $search, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.github.io/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = defined(this); + var fn = regexp == undefined ? undefined : regexp[SEARCH]; + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search + function (regexp) { + var res = maybeCallNative($search, regexp, this); + if (res.done) return res.value; + var rx = anObject(regexp); + var S = String(this); + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.reduce.js": +/***/ "./node_modules/core-js/modules/es6.regexp.split.js": /*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.reduce.js ***! + !*** ./node_modules/core-js/modules/es6.regexp.split.js ***! \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ @@ -20712,171 +19229,252 @@ $export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./ "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $reduce = __webpack_require__(/*! ./_array-reduce */ "./node_modules/core-js/modules/_array-reduce.js"); - -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].reduce, true), 'Array', { - // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) - reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments[1], false); - } -}); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.array.slice.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.slice.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var html = __webpack_require__(/*! ./_html */ "./node_modules/core-js/modules/_html.js"); -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var arraySlice = [].slice; +var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); +var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var $min = Math.min; +var $push = [].push; +var $SPLIT = 'split'; +var LENGTH = 'length'; +var LAST_INDEX = 'lastIndex'; +var MAX_UINT32 = 0xffffffff; -// fallback for not array-like ES3 strings and DOM objects -$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - if (html) arraySlice.call(html); -}), 'Array', { - slice: function slice(begin, end) { - var len = toLength(this.length); - var klass = cof(this); - end = end === undefined ? len : end; - if (klass == 'Array') return arraySlice.call(this, begin, end); - var start = toAbsoluteIndex(begin, len); - var upTo = toAbsoluteIndex(end, len); - var size = toLength(upTo - start); - var cloned = new Array(size); - var i = 0; - for (; i < size; i++) cloned[i] = klass == 'String' - ? this.charAt(start + i) - : this[start + i]; - return cloned; - } +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); + +// @@split logic +__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { + var internalSplit; + if ( + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || + '.'[$SPLIT](/()()/)[LENGTH] > 1 || + ''[$SPLIT](/.?/)[LENGTH] + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = String(this); + if (separator === undefined && limit === 0) return []; + // If `separator` is not a regex, use native split + if (!isRegExp(separator)) return $split.call(string, separator, limit); + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy[LAST_INDEX]; + if (lastIndex > lastLastIndex) { + output.push(string.slice(lastLastIndex, match.index)); + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); + lastLength = match[0][LENGTH]; + lastLastIndex = lastIndex; + if (output[LENGTH] >= splitLimit) break; + } + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop + } + if (lastLastIndex === string[LENGTH]) { + if (lastLength || !separatorCopy.test('')) output.push(''); + } else output.push(string.slice(lastLastIndex)); + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; + }; + // Chakra, V8 + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); + }; + } else { + internalSplit = $split; + } + + return [ + // `String.prototype.split` method + // https://tc39.github.io/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = defined(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (regexp, limit) { + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (SUPPORTS_Y ? 'y' : 'g'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = SUPPORTS_Y ? q : 0; + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); + var e; + if ( + z === null || + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.some.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.some.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $some = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(3); +__webpack_require__(/*! ./es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); +var TO_STRING = 'toString'; +var $toString = /./[TO_STRING]; -$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")([].some, true), 'Array', { - // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) - some: function some(callbackfn /* , thisArg */) { - return $some(this, callbackfn, arguments[1]); - } -}); +var define = function (fn) { + __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); +}; + +// 21.2.5.14 RegExp.prototype.toString() +if (__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { + define(function toString() { + var R = anObject(this); + return '/'.concat(R.source, '/', + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); + }); +// FF44- RegExp#toString has a wrong name +} else if ($toString.name != TO_STRING) { + define(function toString() { + return $toString.call(this); + }); +} /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.sort.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.sort.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.set.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/es6.set.js ***! + \*************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var $sort = [].sort; -var test = [1, 2, 3]; +var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var SET = 'Set'; -$export($export.P + $export.F * (fails(function () { - // IE8- - test.sort(undefined); -}) || !fails(function () { - // V8 bug - test.sort(null); - // Old WebKit -}) || !__webpack_require__(/*! ./_strict-method */ "./node_modules/core-js/modules/_strict-method.js")($sort)), 'Array', { - // 22.1.3.25 Array.prototype.sort(comparefn) - sort: function sort(comparefn) { - return comparefn === undefined - ? $sort.call(toObject(this)) - : $sort.call(toObject(this), aFunction(comparefn)); +// 23.2 Set Objects +module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(SET, function (get) { + return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.2.3.1 Set.prototype.add(value) + add: function add(value) { + return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); } -}); +}, strong); /***/ }), -/***/ "./node_modules/core-js/modules/es6.array.species.js": +/***/ "./node_modules/core-js/modules/es6.string.anchor.js": /*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.array.species.js ***! + !*** ./node_modules/core-js/modules/es6.string.anchor.js ***! \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('Array'); - - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.date.now.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.date.now.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -// 20.3.3.1 / 15.9.4.4 Date.now() -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); +// B.2.3.2 String.prototype.anchor(name) +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('anchor', function (createHTML) { + return function anchor(name) { + return createHTML(this, 'a', 'name', name); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.date.to-iso-string.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.date.to-iso-string.js ***! - \****************************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.big.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.big.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toISOString = __webpack_require__(/*! ./_date-to-iso-string */ "./node_modules/core-js/modules/_date-to-iso-string.js"); +"use strict"; -// PhantomJS / old WebKit has a broken implementations -$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { - toISOString: toISOString +// B.2.3.3 String.prototype.big() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('big', function (createHTML) { + return function big() { + return createHTML(this, 'big', '', ''); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.date.to-json.js": +/***/ "./node_modules/core-js/modules/es6.string.blink.js": /*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.date.to-json.js ***! + !*** ./node_modules/core-js/modules/es6.string.blink.js ***! \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ @@ -20884,549 +19482,722 @@ $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'D "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); - -$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; -}), 'Date', { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); - } +// B.2.3.4 String.prototype.blink() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('blink', function (createHTML) { + return function blink() { + return createHTML(this, 'blink', '', ''); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.date.to-primitive.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.date.to-primitive.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.bold.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.bold.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var TO_PRIMITIVE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toPrimitive'); -var proto = Date.prototype; +"use strict"; -if (!(TO_PRIMITIVE in proto)) __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")(proto, TO_PRIMITIVE, __webpack_require__(/*! ./_date-to-primitive */ "./node_modules/core-js/modules/_date-to-primitive.js")); +// B.2.3.5 String.prototype.bold() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('bold', function (createHTML) { + return function bold() { + return createHTML(this, 'b', '', ''); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.date.to-string.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.date.to-string.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.code-point-at.js": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.code-point-at.js ***! + \******************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var DateProto = Date.prototype; -var INVALID_DATE = 'Invalid Date'; -var TO_STRING = 'toString'; -var $toString = DateProto[TO_STRING]; -var getTime = DateProto.getTime; -if (new Date(NaN) + '' != INVALID_DATE) { - __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(DateProto, TO_STRING, function toString() { - var value = getTime.call(this); - // eslint-disable-next-line no-self-compare - return value === value ? $toString.call(this) : INVALID_DATE; - }); -} +"use strict"; + +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(false); +$export($export.P, 'String', { + // 21.1.3.3 String.prototype.codePointAt(pos) + codePointAt: function codePointAt(pos) { + return $at(this, pos); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.function.bind.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.function.bind.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.ends-with.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.ends-with.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) +"use strict"; +// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) + var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); +var ENDS_WITH = 'endsWith'; +var $endsWith = ''[ENDS_WITH]; -$export($export.P, 'Function', { bind: __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js") }); +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(ENDS_WITH), 'String', { + endsWith: function endsWith(searchString /* , endPosition = @length */) { + var that = context(this, searchString, ENDS_WITH); + var endPosition = arguments.length > 1 ? arguments[1] : undefined; + var len = toLength(that.length); + var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); + var search = String(searchString); + return $endsWith + ? $endsWith.call(that, search, end) + : that.slice(end - search.length, end) === search; + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.function.has-instance.js": -/*!*******************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.function.has-instance.js ***! - \*******************************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.fixed.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.fixed.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); -var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('hasInstance'); -var FunctionProto = Function.prototype; -// 19.2.3.6 Function.prototype[@@hasInstance](V) -if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(FunctionProto, HAS_INSTANCE, { value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; -} }); +// B.2.3.6 String.prototype.fixed() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fixed', function (createHTML) { + return function fixed() { + return createHTML(this, 'tt', '', ''); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.function.name.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.function.name.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.fontcolor.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.fontcolor.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var FProto = Function.prototype; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; +"use strict"; -// 19.2.4.2 name -NAME in FProto || __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { - configurable: true, - get: function () { - try { - return ('' + this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } +// B.2.3.7 String.prototype.fontcolor(color) +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontcolor', function (createHTML) { + return function fontcolor(color) { + return createHTML(this, 'font', 'color', color); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.map.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/es6.map.js ***! - \*************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.fontsize.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.fontsize.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var MAP = 'Map'; - -// 23.1 Map Objects -module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(MAP, function (get) { - return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = strong.getEntry(validate(this, MAP), key); - return entry && entry.v; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); - } -}, strong, true); +// B.2.3.8 String.prototype.fontsize(size) +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontsize', function (createHTML) { + return function fontsize(size) { + return createHTML(this, 'font', 'size', size); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.acosh.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.acosh.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.from-code-point.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.from-code-point.js ***! + \********************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.3 Math.acosh(x) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var log1p = __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js"); -var sqrt = Math.sqrt; -var $acosh = Math.acosh; +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var fromCharCode = String.fromCharCode; +var $fromCodePoint = String.fromCodePoint; -$export($export.S + $export.F * !($acosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - && Math.floor($acosh(Number.MAX_VALUE)) == 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - && $acosh(Infinity) == Infinity -), 'Math', { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? Math.log(x) + Math.LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); +// length should be 1, old FF problem +$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { + // 21.1.2.2 String.fromCodePoint(...codePoints) + fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars + var res = []; + var aLen = arguments.length; + var i = 0; + var code; + while (aLen > i) { + code = +arguments[i++]; + if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); + res.push(code < 0x10000 + ? fromCharCode(code) + : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) + ); + } return res.join(''); } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.asinh.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.asinh.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.includes.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.includes.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.5 Math.asinh(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $asinh = Math.asinh; +"use strict"; +// 21.1.3.7 String.prototype.includes(searchString, position = 0) -function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); -} +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); +var INCLUDES = 'includes'; -// Tor Browser bug: Math.asinh(0) -> -0 -$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { + includes: function includes(searchString /* , position = 0 */) { + return !!~context(this, searchString, INCLUDES) + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); + } +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.atanh.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.atanh.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/core-js/modules/es6.string.italics.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.italics.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__ */ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.7 Math.atanh(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $atanh = Math.atanh; +"use strict"; -// Tor Browser bug: Math.atanh(-0) -> 0 -$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; - } +// B.2.3.9 String.prototype.italics() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('italics', function (createHTML) { + return function italics() { + return createHTML(this, 'i', '', ''); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.cbrt.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.cbrt.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.iterator.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.iterator.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.9 Math.cbrt(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var sign = __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js"); +"use strict"; -$export($export.S, 'Math', { - cbrt: function cbrt(x) { - return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); - } +var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); + +// 21.1.3.27 String.prototype[@@iterator]() +__webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(String, 'String', function (iterated) { + this._t = String(iterated); // target + this._i = 0; // next index +// 21.1.5.2.1 %StringIteratorPrototype%.next() +}, function () { + var O = this._t; + var index = this._i; + var point; + if (index >= O.length) return { value: undefined, done: true }; + point = $at(O, index); + this._i += point.length; + return { value: point, done: false }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.clz32.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.clz32.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.link.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.link.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.11 Math.clz32(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Math', { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; - } +// B.2.3.10 String.prototype.link(url) +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('link', function (createHTML) { + return function link(url) { + return createHTML(this, 'a', 'href', url); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.cosh.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.cosh.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.raw.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.raw.js ***! + \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.12 Math.cosh(x) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var exp = Math.exp; +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -$export($export.S, 'Math', { - cosh: function cosh(x) { - return (exp(x = +x) + exp(-x)) / 2; +$export($export.S, 'String', { + // 21.1.2.4 String.raw(callSite, ...substitutions) + raw: function raw(callSite) { + var tpl = toIObject(callSite.raw); + var len = toLength(tpl.length); + var aLen = arguments.length; + var res = []; + var i = 0; + while (len > i) { + res.push(String(tpl[i++])); + if (i < aLen) res.push(String(arguments[i])); + } return res.join(''); } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.expm1.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.expm1.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.repeat.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.repeat.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.14 Math.expm1(x) var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); -$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); +$export($export.P, 'String', { + // 21.1.3.13 String.prototype.repeat(count) + repeat: __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js") +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.fround.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.fround.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.small.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.small.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.16 Math.fround(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Math', { fround: __webpack_require__(/*! ./_math-fround */ "./node_modules/core-js/modules/_math-fround.js") }); +// B.2.3.11 String.prototype.small() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('small', function (createHTML) { + return function small() { + return createHTML(this, 'small', '', ''); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.hypot.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.hypot.js ***! - \********************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.starts-with.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.starts-with.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) +"use strict"; +// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) + var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var abs = Math.abs; +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); +var STARTS_WITH = 'startsWith'; +var $startsWith = ''[STARTS_WITH]; -$export($export.S, 'Math', { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * Math.sqrt(sum); +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { + startsWith: function startsWith(searchString /* , position = 0 */) { + var that = context(this, searchString, STARTS_WITH); + var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); + var search = String(searchString); + return $startsWith + ? $startsWith.call(that, search, index) + : that.slice(index, index + search.length) === search; } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.imul.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.imul.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.strike.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.strike.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.18 Math.imul(x, y) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $imul = Math.imul; +"use strict"; -// some WebKit versions fails with big numbers, some has wrong arity -$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return $imul(0xffffffff, 5) != -5 || $imul.length != 2; -}), 'Math', { - imul: function imul(x, y) { - var UINT16 = 0xffff; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } +// B.2.3.12 String.prototype.strike() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('strike', function (createHTML) { + return function strike() { + return createHTML(this, 'strike', '', ''); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.log10.js": +/***/ "./node_modules/core-js/modules/es6.string.sub.js": /*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.log10.js ***! + !*** ./node_modules/core-js/modules/es6.string.sub.js ***! \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.21 Math.log10(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Math', { - log10: function log10(x) { - return Math.log(x) * Math.LOG10E; - } +// B.2.3.13 String.prototype.sub() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sub', function (createHTML) { + return function sub() { + return createHTML(this, 'sub', '', ''); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.log1p.js": +/***/ "./node_modules/core-js/modules/es6.string.sup.js": /*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.log1p.js ***! + !*** ./node_modules/core-js/modules/es6.string.sup.js ***! \********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.20 Math.log1p(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Math', { log1p: __webpack_require__(/*! ./_math-log1p */ "./node_modules/core-js/modules/_math-log1p.js") }); +// B.2.3.14 String.prototype.sup() +__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sup', function (createHTML) { + return function sup() { + return createHTML(this, 'sup', '', ''); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.log2.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.log2.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.string.trim.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.string.trim.js ***! + \*********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.22 Math.log2(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +"use strict"; -$export($export.S, 'Math', { - log2: function log2(x) { - return Math.log(x) / Math.LN2; - } +// 21.1.3.25 String.prototype.trim() +__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trim', function ($trim) { + return function trim() { + return $trim(this, 3); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.math.sign.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.sign.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es6.symbol.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/es6.symbol.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.2.2.28 Math.sign(x) +"use strict"; + +// ECMAScript 6 symbols shim +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var META = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").KEY; +var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); +var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); +var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); +var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); +var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); +var wksDefine = __webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js"); +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "./node_modules/core-js/modules/_enum-keys.js"); +var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); +var _create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js"); +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); +var $GOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); +var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); +var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +var gOPD = $GOPD.f; +var dP = $DP.f; +var gOPN = gOPNExt.f; +var $Symbol = global.Symbol; +var $JSON = global.JSON; +var _stringify = $JSON && $JSON.stringify; +var PROTOTYPE = 'prototype'; +var HIDDEN = wks('_hidden'); +var TO_PRIMITIVE = wks('toPrimitive'); +var isEnum = {}.propertyIsEnumerable; +var SymbolRegistry = shared('symbol-registry'); +var AllSymbols = shared('symbols'); +var OPSymbols = shared('op-symbols'); +var ObjectProto = Object[PROTOTYPE]; +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; +var QObject = global.QObject; +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; -$export($export.S, 'Math', { sign: __webpack_require__(/*! ./_math-sign */ "./node_modules/core-js/modules/_math-sign.js") }); +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 +var setSymbolDesc = DESCRIPTORS && $fails(function () { + return _create(dP({}, 'a', { + get: function () { return dP(this, 'a', { value: 7 }).a; } + })).a != 7; +}) ? function (it, key, D) { + var protoDesc = gOPD(ObjectProto, key); + if (protoDesc) delete ObjectProto[key]; + dP(it, key, D); + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); +} : dP; +var wrap = function (tag) { + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); + sym._k = tag; + return sym; +}; -/***/ }), +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + return it instanceof $Symbol; +}; -/***/ "./node_modules/core-js/modules/es6.math.sinh.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.sinh.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +var $defineProperty = function defineProperty(it, key, D) { + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); + anObject(it); + key = toPrimitive(key, true); + anObject(D); + if (has(AllSymbols, key)) { + if (!D.enumerable) { + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); + it[HIDDEN][key] = true; + } else { + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; + D = _create(D, { enumerable: createDesc(0, false) }); + } return setSymbolDesc(it, key, D); + } return dP(it, key, D); +}; +var $defineProperties = function defineProperties(it, P) { + anObject(it); + var keys = enumKeys(P = toIObject(P)); + var i = 0; + var l = keys.length; + var key; + while (l > i) $defineProperty(it, key = keys[i++], P[key]); + return it; +}; +var $create = function create(it, P) { + return P === undefined ? _create(it) : $defineProperties(_create(it), P); +}; +var $propertyIsEnumerable = function propertyIsEnumerable(key) { + var E = isEnum.call(this, key = toPrimitive(key, true)); + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; +}; +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { + it = toIObject(it); + key = toPrimitive(key, true); + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; + var D = gOPD(it, key); + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; + return D; +}; +var $getOwnPropertyNames = function getOwnPropertyNames(it) { + var names = gOPN(toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); + } return result; +}; +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { + var IS_OP = it === ObjectProto; + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); + } return result; +}; -// 20.2.2.30 Math.sinh(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); -var exp = Math.exp; +// 19.4.1.1 Symbol([description]) +if (!USE_NATIVE) { + $Symbol = function Symbol() { + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); + var $set = function (value) { + if (this === ObjectProto) $set.call(OPSymbols, value); + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDesc(this, tag, createDesc(1, value)); + }; + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); + return wrap(tag); + }; + redefine($Symbol[PROTOTYPE], 'toString', function toString() { + return this._k; + }); -// V8 near Chromium 38 has a problem with very small numbers -$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return !Math.sinh(-2e-17) != -2e-17; -}), 'Math', { - sinh: function sinh(x) { - return Math.abs(x = +x) < 1 - ? (expm1(x) - expm1(-x)) / 2 - : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); + $GOPD.f = $getOwnPropertyDescriptor; + $DP.f = $defineProperty; + __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; + __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f = $propertyIsEnumerable; + $GOPS.f = $getOwnPropertySymbols; + + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js")) { + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } -}); + wksExt.f = function (name) { + return wrap(wks(name)); + }; +} -/***/ }), +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); -/***/ "./node_modules/core-js/modules/es6.math.tanh.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.tanh.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +for (var es6Symbols = ( + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); -// 20.2.2.33 Math.tanh(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var expm1 = __webpack_require__(/*! ./_math-expm1 */ "./node_modules/core-js/modules/_math-expm1.js"); -var exp = Math.exp; +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); -$export($export.S, 'Math', { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { + // 19.4.2.1 Symbol.for(key) + 'for': function (key) { + return has(SymbolRegistry, key += '') + ? SymbolRegistry[key] + : SymbolRegistry[key] = $Symbol(key); + }, + // 19.4.2.5 Symbol.keyFor(sym) + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; + }, + useSetter: function () { setter = true; }, + useSimple: function () { setter = false; } }); +$export($export.S + $export.F * !USE_NATIVE, 'Object', { + // 19.1.2.2 Object.create(O [, Properties]) + create: $create, + // 19.1.2.4 Object.defineProperty(O, P, Attributes) + defineProperty: $defineProperty, + // 19.1.2.3 Object.defineProperties(O, Properties) + defineProperties: $defineProperties, + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, + // 19.1.2.7 Object.getOwnPropertyNames(O) + getOwnPropertyNames: $getOwnPropertyNames, + // 19.1.2.8 Object.getOwnPropertySymbols(O) + getOwnPropertySymbols: $getOwnPropertySymbols +}); -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.math.trunc.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.math.trunc.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); -// 20.2.2.34 Math.trunc(x) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + return $GOPS.f(toObject(it)); + } +}); -$export($export.S, 'Math', { - trunc: function trunc(it) { - return (it > 0 ? Math.floor : Math.ceil)(it); +// 24.3.2 JSON.stringify(value [, replacer [, space]]) +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { + var S = $Symbol(); + // MS Edge converts symbol values to JSON as {} + // WebKit converts symbol values to JSON as null + // V8 throws on boxed symbols + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; +})), 'JSON', { + stringify: function stringify(it) { + var args = [it]; + var i = 1; + var replacer, $replacer; + while (arguments.length > i) args.push(arguments[i++]); + $replacer = replacer = args[1]; + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined + if (!isArray(replacer)) replacer = function (key, value) { + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); + if (!isSymbol(value)) return value; + }; + args[1] = replacer; + return _stringify.apply($JSON, args); } }); +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); +// 19.4.3.5 Symbol.prototype[@@toStringTag] +setToStringTag($Symbol, 'Symbol'); +// 20.2.1.9 Math[@@toStringTag] +setToStringTag(Math, 'Math', true); +// 24.3.3 JSON[@@toStringTag] +setToStringTag(global.JSON, 'JSON', true); + /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.constructor.js": +/***/ "./node_modules/core-js/modules/es6.typed.array-buffer.js": /*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.constructor.js ***! + !*** ./node_modules/core-js/modules/es6.typed.array-buffer.js ***! \****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ @@ -21434,7561 +20205,7493 @@ $export($export.S, 'Math', { "use strict"; -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var cof = __webpack_require__(/*! ./_cof */ "./node_modules/core-js/modules/_cof.js"); -var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var $trim = __webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js").trim; -var NUMBER = 'Number'; -var $Number = global[NUMBER]; -var Base = $Number; -var proto = $Number.prototype; -// Opera ~12 has broken Object#toString -var BROKEN_COF = cof(__webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js")(proto)) == NUMBER; -var TRIM = 'trim' in String.prototype; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); +var buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); +var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var ArrayBuffer = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").ArrayBuffer; +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); +var $ArrayBuffer = buffer.ArrayBuffer; +var $DataView = buffer.DataView; +var $isView = $typed.ABV && ArrayBuffer.isView; +var $slice = $ArrayBuffer.prototype.slice; +var VIEW = $typed.VIEW; +var ARRAY_BUFFER = 'ArrayBuffer'; -// 7.1.3 ToNumber(argument) -var toNumber = function (argument) { - var it = toPrimitive(argument, false); - if (typeof it == 'string' && it.length > 2) { - it = TRIM ? it.trim() : $trim(it, 3); - var first = it.charCodeAt(0); - var third, radix, maxCode; - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i - default: return +it; - } - for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { - code = digits.charCodeAt(i); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; -}; +$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); -if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { - $Number = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var that = this; - return that instanceof $Number - // check on 1..constructor(foo) case - && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) - ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); - }; - for (var keys = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") ? gOPN(Base) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES6 (in case, if modules with ES6 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' - ).split(','), j = 0, key; keys.length > j; j++) { - if (has(Base, key = keys[j]) && !has($Number, key)) { - dP($Number, key, gOPD(Base, key)); - } +$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { + // 24.1.3.1 ArrayBuffer.isView(arg) + isView: function isView(it) { + return $isView && $isView(it) || isObject(it) && VIEW in it; } - $Number.prototype = proto; - proto.constructor = $Number; - __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, NUMBER, $Number); -} +}); + +$export($export.P + $export.U + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { + return !new $ArrayBuffer(2).slice(1, undefined).byteLength; +}), ARRAY_BUFFER, { + // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) + slice: function slice(start, end) { + if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix + var len = anObject(this).byteLength; + var first = toAbsoluteIndex(start, len); + var fin = toAbsoluteIndex(end === undefined ? len : end, len); + var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); + var viewS = new $DataView(this); + var viewT = new $DataView(result); + var index = 0; + while (first < fin) { + viewT.setUint8(index++, viewS.getUint8(first++)); + } return result; + } +}); + +__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(ARRAY_BUFFER); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.epsilon.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.epsilon.js ***! - \************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.data-view.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.data-view.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.1 Number.EPSILON var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); +$export($export.G + $export.W + $export.F * !__webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js").ABV, { + DataView: __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js").DataView +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.is-finite.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.is-finite.js ***! - \**************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.float32-array.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.float32-array.js ***! + \*****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.2 Number.isFinite(number) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var _isFinite = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").isFinite; - -$export($export.S, 'Number', { - isFinite: function isFinite(it) { - return typeof it == 'number' && _isFinite(it); - } +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float32', 4, function (init) { + return function Float32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.is-integer.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.is-integer.js ***! - \***************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.float64-array.js": +/*!*****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.float64-array.js ***! + \*****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.3 Number.isInteger(number) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { isInteger: __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js") }); +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float64', 8, function (init) { + return function Float64Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.is-nan.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.is-nan.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.int16-array.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.int16-array.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.4 Number.isNaN(number) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int16', 2, function (init) { + return function Int16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.is-safe-integer.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.is-safe-integer.js ***! - \********************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.int32-array.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.int32-array.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.5 Number.isSafeInteger(number) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var isInteger = __webpack_require__(/*! ./_is-integer */ "./node_modules/core-js/modules/_is-integer.js"); -var abs = Math.abs; - -$export($export.S, 'Number', { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1fffffffffffff; - } +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int32', 4, function (init) { + return function Int32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.max-safe-integer.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.max-safe-integer.js ***! - \*********************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.int8-array.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.int8-array.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.6 Number.MAX_SAFE_INTEGER -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int8', 1, function (init) { + return function Int8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.min-safe-integer.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.min-safe-integer.js ***! - \*********************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.uint16-array.js": +/*!****************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.uint16-array.js ***! + \****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 20.1.2.10 Number.MIN_SAFE_INTEGER -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint16', 2, function (init) { + return function Uint16Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.parse-float.js": +/***/ "./node_modules/core-js/modules/es6.typed.uint32-array.js": /*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.parse-float.js ***! + !*** ./node_modules/core-js/modules/es6.typed.uint32-array.js ***! \****************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); -// 20.1.2.12 Number.parseFloat(string) -$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint32', 4, function (init) { + return function Uint32Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.parse-int.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.parse-int.js ***! - \**************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.uint8-array.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.uint8-array.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); -// 20.1.2.13 Number.parseInt(string, radix) -$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { + return function Uint8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.to-fixed.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.to-fixed.js ***! - \*************************************************************/ +/***/ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": +/*!***********************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js ***! + \***********************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { + return function Uint8ClampedArray(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; +}, true); + + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.weak-map.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.weak-map.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 40:15-29 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); -var repeat = __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js"); -var $toFixed = 1.0.toFixed; -var floor = Math.floor; -var data = [0, 0, 0, 0, 0, 0]; -var ERROR = 'Number.toFixed: incorrect invocation!'; -var ZERO = '0'; +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var each = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); +var assign = __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js"); +var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); +var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; +var WEAK_MAP = 'WeakMap'; +var getWeak = meta.getWeak; +var isExtensible = Object.isExtensible; +var uncaughtFrozenStore = weak.ufstore; +var InternalMap; -var multiply = function (n, c) { - var i = -1; - var c2 = c; - while (++i < 6) { - c2 += n * data[i]; - data[i] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } -}; -var divide = function (n) { - var i = 6; - var c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = floor(c / n); - c = (c % n) * 1e7; - } +var wrapper = function (get) { + return function WeakMap() { + return get(this, arguments.length > 0 ? arguments[0] : undefined); + }; }; -var numToString = function () { - var i = 6; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; + +var methods = { + // 23.3.3.3 WeakMap.prototype.get(key) + get: function get(key) { + if (isObject(key)) { + var data = getWeak(key); + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); + return data ? data[this._i] : undefined; } - } return s; -}; -var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); -}; -var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; + }, + // 23.3.3.5 WeakMap.prototype.set(key, value) + set: function set(key, value) { + return weak.def(validate(this, WEAK_MAP), key, value); } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; }; -$export($export.P + $export.F * (!!$toFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - // V8 ~ Android 4.3- - $toFixed.call({}); -})), 'Number', { - toFixed: function toFixed(fractionDigits) { - var x = aNumberValue(this, ERROR); - var f = toInteger(fractionDigits); - var s = ''; - var m = ZERO; - var e, z, j, k; - if (f < 0 || f > 20) throw RangeError(ERROR); - // eslint-disable-next-line no-self-compare - if (x != x) return 'NaN'; - if (x <= -1e21 || x >= 1e21) return String(x); - if (x < 0) { - s = '-'; - x = -x; - } - if (x > 1e-21) { - e = log(x * pow(2, 69, 1)) - 69; - z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = f; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - m = numToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - m = numToString() + repeat.call(ZERO, f); - } - } - if (f > 0) { - k = m.length; - m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); - } else { - m = s + m; - } return m; - } -}); +// 23.3 WeakMap Objects +var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); + +// IE11 WeakMap frozen keys fix +if (NATIVE_WEAK_MAP && IS_IE11) { + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); + assign(InternalMap.prototype, methods); + meta.NEED = true; + each(['delete', 'has', 'get', 'set'], function (key) { + var proto = $WeakMap.prototype; + var method = proto[key]; + redefine(proto, key, function (a, b) { + // store frozen objects on internal weakmap shim + if (isObject(a) && !isExtensible(a)) { + if (!this._f) this._f = new InternalMap(); + var result = this._f[key](a, b); + return key == 'set' ? this : result; + // store all the rest on native weakmap + } return method.call(this, a, b); + }); + }); +} /***/ }), -/***/ "./node_modules/core-js/modules/es6.number.to-precision.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.number.to-precision.js ***! - \*****************************************************************/ +/***/ "./node_modules/core-js/modules/es6.weak-set.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/es6.weak-set.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var aNumberValue = __webpack_require__(/*! ./_a-number-value */ "./node_modules/core-js/modules/_a-number-value.js"); -var $toPrecision = 1.0.toPrecision; +var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); +var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); +var WEAK_SET = 'WeakSet'; -$export($export.P + $export.F * ($fails(function () { - // IE7- - return $toPrecision.call(1, undefined) !== '1'; -}) || !$fails(function () { - // V8 ~ Android 4.3- - $toPrecision.call({}); -})), 'Number', { - toPrecision: function toPrecision(precision) { - var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); - return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); - } -}); +// 23.4 WeakSet Objects +__webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_SET, function (get) { + return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; +}, { + // 23.4.3.1 WeakSet.prototype.add(value) + add: function add(value) { + return weak.def(validate(this, WEAK_SET), value, true); + } +}, weak, false, true); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.assign.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.assign.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.3.1 Object.assign(target, source) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); - -$export($export.S + $export.F, 'Object', { assign: __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js") }); - +"use strict"; -/***/ }), +// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ "./node_modules/core-js/modules/_flatten-into-array.js"); +var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); +var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); +var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); +var arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); -/***/ "./node_modules/core-js/modules/es6.object.create.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.create.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +$export($export.P, 'Array', { + flatMap: function flatMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var sourceLen, A; + aFunction(callbackfn); + sourceLen = toLength(O.length); + A = arraySpeciesCreate(O, 0); + flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); + return A; + } +}); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js") }); +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('flatMap'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.define-properties.js": -/*!**********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.define-properties.js ***! - \**********************************************************************/ +/***/ "./node_modules/core-js/modules/es7.array.includes.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.array.includes.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) -$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperties: __webpack_require__(/*! ./_object-dps */ "./node_modules/core-js/modules/_object-dps.js") }); - +"use strict"; -/***/ }), +// https://github.com/tc39/Array.prototype.includes +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $includes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(true); -/***/ "./node_modules/core-js/modules/es6.object.define-property.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.define-property.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +$export($export.P, 'Array', { + includes: function includes(el /* , fromIndex = 0 */) { + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + } +}); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) -$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f }); +__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('includes'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.freeze.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.freeze.js ***! - \***********************************************************/ +/***/ "./node_modules/core-js/modules/es7.object.entries.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.object.entries.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.5 Object.freeze(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; +// https://github.com/tc39/proposal-object-values-entries +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $entries = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(true); -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('freeze', function ($freeze) { - return function freeze(it) { - return $freeze && isObject(it) ? $freeze(meta(it)) : it; - }; +$export($export.S, 'Object', { + entries: function entries(it) { + return $entries(it); + } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": -/*!********************************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js ***! - \********************************************************************************/ +/***/ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js ***! + \*********************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) +// https://github.com/tc39/proposal-object-getownpropertydescriptors +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var ownKeys = __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js"); var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; +var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); +var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { - return function getOwnPropertyDescriptor(it, key) { - return $getOwnPropertyDescriptor(toIObject(it), key); - }; +$export($export.S, 'Object', { + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { + var O = toIObject(object); + var getDesc = gOPD.f; + var keys = ownKeys(O); + var result = {}; + var i = 0; + var key, desc; + while (keys.length > i) { + desc = getDesc(O, key = keys[i++]); + if (desc !== undefined) createProperty(result, key, desc); + } + return result; + } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.get-own-property-names.js": -/*!***************************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.get-own-property-names.js ***! - \***************************************************************************/ +/***/ "./node_modules/core-js/modules/es7.object.values.js": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es7.object.values.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.7 Object.getOwnPropertyNames(O) -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getOwnPropertyNames', function () { - return __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js").f; +// https://github.com/tc39/proposal-object-values-entries +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $values = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(false); + +$export($export.S, 'Object', { + values: function values(it) { + return $values(it); + } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.get-prototype-of.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.get-prototype-of.js ***! - \*********************************************************************/ +/***/ "./node_modules/core-js/modules/es7.promise.finally.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.promise.finally.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.9 Object.getPrototypeOf(O) -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); +"use strict"; +// https://github.com/tc39/proposal-promise-finally -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('getPrototypeOf', function () { - return function getPrototypeOf(it) { - return $getPrototypeOf(toObject(it)); - }; -}); +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); + +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { + var C = speciesConstructor(this, core.Promise || global.Promise); + var isFunction = typeof onFinally == 'function'; + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); +} }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.is-extensible.js": -/*!******************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.is-extensible.js ***! - \******************************************************************/ +/***/ "./node_modules/core-js/modules/es7.string.pad-end.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.string.pad-end.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.11 Object.isExtensible(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +"use strict"; -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isExtensible', function ($isExtensible) { - return function isExtensible(it) { - return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; - }; +// https://github.com/tc39/proposal-string-pad-start-end +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); +var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); + +// https://github.com/zloirock/core-js/issues/280 +var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); + +$export($export.P + $export.F * WEBKIT_BUG, 'String', { + padEnd: function padEnd(maxLength /* , fillString = ' ' */) { + return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); + } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.is-frozen.js": +/***/ "./node_modules/core-js/modules/es7.string.pad-start.js": /*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.is-frozen.js ***! + !*** ./node_modules/core-js/modules/es7.string.pad-start.js ***! \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.12 Object.isFrozen(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +"use strict"; -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isFrozen', function ($isFrozen) { - return function isFrozen(it) { - return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; - }; +// https://github.com/tc39/proposal-string-pad-start-end +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); +var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); + +// https://github.com/zloirock/core-js/issues/280 +var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); + +$export($export.P + $export.F * WEBKIT_BUG, 'String', { + padStart: function padStart(maxLength /* , fillString = ' ' */) { + return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); + } }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.is-sealed.js": +/***/ "./node_modules/core-js/modules/es7.string.trim-left.js": /*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.is-sealed.js ***! + !*** ./node_modules/core-js/modules/es7.string.trim-left.js ***! \**************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.13 Object.isSealed(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +"use strict"; -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('isSealed', function ($isSealed) { - return function isSealed(it) { - return isObject(it) ? $isSealed ? $isSealed(it) : false : true; +// https://github.com/sebmarkbage/ecmascript-string-left-right-trim +__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimLeft', function ($trim) { + return function trimLeft() { + return $trim(this, 1); }; -}); +}, 'trimStart'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.is.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.is.js ***! - \*******************************************************/ +/***/ "./node_modules/core-js/modules/es7.string.trim-right.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.string.trim-right.js ***! + \***************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.3.10 Object.is(value1, value2) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -$export($export.S, 'Object', { is: __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js") }); +"use strict"; + +// https://github.com/sebmarkbage/ecmascript-string-left-right-trim +__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimRight', function ($trim) { + return function trimRight() { + return $trim(this, 2); + }; +}, 'trimEnd'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.keys.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.keys.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/es7.symbol.async-iterator.js": +/*!*******************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.symbol.async-iterator.js ***! + \*******************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.14 Object.keys(O) -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); - -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('keys', function () { - return function keys(it) { - return $keys(toObject(it)); - }; -}); +__webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js")('asyncIterator'); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.prevent-extensions.js": -/*!***********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.prevent-extensions.js ***! - \***********************************************************************/ +/***/ "./node_modules/core-js/modules/web.dom.iterable.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/web.dom.iterable.js ***! + \**********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.15 Object.preventExtensions(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; +var $iterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); +var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); +var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); +var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); +var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); +var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); +var ITERATOR = wks('iterator'); +var TO_STRING_TAG = wks('toStringTag'); +var ArrayValues = Iterators.Array; -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('preventExtensions', function ($preventExtensions) { - return function preventExtensions(it) { - return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; - }; -}); +var DOMIterables = { + CSSRuleList: true, // TODO: Not spec compliant, should be false. + CSSStyleDeclaration: false, + CSSValueList: false, + ClientRectList: false, + DOMRectList: false, + DOMStringList: false, + DOMTokenList: true, + DataTransferItemList: false, + FileList: false, + HTMLAllCollection: false, + HTMLCollection: false, + HTMLFormElement: false, + HTMLSelectElement: false, + MediaList: true, // TODO: Not spec compliant, should be false. + MimeTypeArray: false, + NamedNodeMap: false, + NodeList: true, + PaintRequestList: false, + Plugin: false, + PluginArray: false, + SVGLengthList: false, + SVGNumberList: false, + SVGPathSegList: false, + SVGPointList: false, + SVGStringList: false, + SVGTransformList: false, + SourceBufferList: false, + StyleSheetList: true, // TODO: Not spec compliant, should be false. + TextTrackCueList: false, + TextTrackList: false, + TouchList: false +}; + +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { + var NAME = collections[i]; + var explicit = DOMIterables[NAME]; + var Collection = global[NAME]; + var proto = Collection && Collection.prototype; + var key; + if (proto) { + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); + Iterators[NAME] = ArrayValues; + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); + } +} /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.seal.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.seal.js ***! - \*********************************************************/ +/***/ "./node_modules/core-js/modules/web.immediate.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/web.immediate.js ***! + \*******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.2.17 Object.seal(O) -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").onFreeze; - -__webpack_require__(/*! ./_object-sap */ "./node_modules/core-js/modules/_object-sap.js")('seal', function ($seal) { - return function seal(it) { - return $seal && isObject(it) ? $seal(meta(it)) : it; - }; +var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +var $task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js"); +$export($export.G + $export.B, { + setImmediate: $task.set, + clearImmediate: $task.clear }); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.set-prototype-of.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.set-prototype-of.js ***! - \*********************************************************************/ +/***/ "./node_modules/core-js/modules/web.timers.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/web.timers.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: __webpack_require__ */ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.3.19 Object.setPrototypeOf(O, proto) +// ie9- setTimeout & setInterval additional parameters fix +var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js").set }); +var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); +var slice = [].slice; +var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check +var wrap = function (set) { + return function (fn, time /* , ...args */) { + var boundArgs = arguments.length > 2; + var args = boundArgs ? slice.call(arguments, 2) : false; + return set(boundArgs ? function () { + // eslint-disable-next-line no-new-func + (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); + } : fn, time); + }; +}; +$export($export.G + $export.B + $export.F * MSIE, { + setTimeout: wrap(global.setTimeout), + setInterval: wrap(global.setInterval) +}); /***/ }), -/***/ "./node_modules/core-js/modules/es6.object.to-string.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.object.to-string.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +/***/ "./node_modules/core-js/web/index.js": +/*!*******************************************!*\ + !*** ./node_modules/core-js/web/index.js ***! + \*******************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js/modules/_core.js */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 19.1.3.6 Object.prototype.toString() -var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); -var test = {}; -test[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; -if (test + '' != '[object z]') { - __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { - return '[object ' + classof(this) + ']'; - }, true); -} +__webpack_require__(/*! ../modules/web.timers */ "./node_modules/core-js/modules/web.timers.js"); +__webpack_require__(/*! ../modules/web.immediate */ "./node_modules/core-js/modules/web.immediate.js"); +__webpack_require__(/*! ../modules/web.dom.iterable */ "./node_modules/core-js/modules/web.dom.iterable.js"); +module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); /***/ }), -/***/ "./node_modules/core-js/modules/es6.parse-float.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.parse-float.js ***! - \*********************************************************/ +/***/ "./node_modules/debug/src/browser.js": +/*!*******************************************!*\ + !*** ./node_modules/debug/src/browser.js ***! + \*******************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $parseFloat = __webpack_require__(/*! ./_parse-float */ "./node_modules/core-js/modules/_parse-float.js"); -// 18.2.4 parseFloat(string) -$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); - +/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ +/*! CommonJS bailout: module.exports.humanize(...) prevents optimization as module.exports is passed as call context as 152:8-31 */ +/*! CommonJS bailout: exports is used directly at 255:37-44 */ +/*! CommonJS bailout: module.exports is used directly at 255:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 257:21-35 */ +/***/ ((module, exports, __webpack_require__) => { -/***/ }), +/* eslint-env browser */ -/***/ "./node_modules/core-js/modules/es6.parse-int.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.parse-int.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * This is the web browser implementation of `debug()`. + */ -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $parseInt = __webpack_require__(/*! ./_parse-int */ "./node_modules/core-js/modules/_parse-int.js"); -// 18.2.5 parseInt(string, radix) -$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); +exports.destroy = (() => { + let warned = false; + return () => { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; +})(); -/***/ }), +/** + * Colors. + */ -/***/ "./node_modules/core-js/modules/es6.promise.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/es6.promise.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; +exports.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' +]; -var LIBRARY = __webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js"); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var ctx = __webpack_require__(/*! ./_ctx */ "./node_modules/core-js/modules/_ctx.js"); -var classof = __webpack_require__(/*! ./_classof */ "./node_modules/core-js/modules/_classof.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var anInstance = __webpack_require__(/*! ./_an-instance */ "./node_modules/core-js/modules/_an-instance.js"); -var forOf = __webpack_require__(/*! ./_for-of */ "./node_modules/core-js/modules/_for-of.js"); -var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); -var task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js").set; -var microtask = __webpack_require__(/*! ./_microtask */ "./node_modules/core-js/modules/_microtask.js")(); -var newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ "./node_modules/core-js/modules/_new-promise-capability.js"); -var perform = __webpack_require__(/*! ./_perform */ "./node_modules/core-js/modules/_perform.js"); -var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); -var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); -var PROMISE = 'Promise'; -var TypeError = global.TypeError; -var process = global.process; -var versions = process && process.versions; -var v8 = versions && versions.v8 || ''; -var $Promise = global[PROMISE]; -var isNode = classof(process) == 'process'; -var empty = function () { /* empty */ }; -var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; -var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ -var USE_NATIVE = !!function () { - try { - // correct subclassing with @@species support - var promise = $Promise.resolve(1); - var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('species')] = function (exec) { - exec(empty, empty); - }; - // unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return (isNode || typeof PromiseRejectionEvent == 'function') - && promise.then(empty) instanceof FakePromise - // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables - // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 - // we can't detect it synchronously, so just check versions - && v8.indexOf('6.6') !== 0 - && userAgent.indexOf('Chrome/66') === -1; - } catch (e) { /* empty */ } -}(); +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } -// helpers -var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; -}; -var notify = function (promise, isReject) { - if (promise._n) return; - promise._n = true; - var chain = promise._c; - microtask(function () { - var value = promise._v; - var ok = promise._s == 1; - var i = 0; - var run = function (reaction) { - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then, exited; - try { - if (handler) { - if (!ok) { - if (promise._h == 2) onHandleUnhandled(promise); - promise._h = 1; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); // may throw - if (domain) { - domain.exit(); - exited = true; - } - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (e) { - if (domain && !exited) domain.exit(); - reject(e); - } - }; - while (chain.length > i) run(chain[i++]); // variable length - can't use forEach - promise._c = []; - promise._n = false; - if (isReject && !promise._h) onUnhandled(promise); - }); -}; -var onUnhandled = function (promise) { - task.call(global, function () { - var value = promise._v; - var unhandled = isUnhandled(promise); - var result, handler, console; - if (unhandled) { - result = perform(function () { - if (isNode) { - process.emit('unhandledRejection', value, promise); - } else if (handler = global.onunhandledrejection) { - handler({ promise: promise, reason: value }); - } else if ((console = global.console) && console.error) { - console.error('Unhandled promise rejection', value); - } - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - promise._h = isNode || isUnhandled(promise) ? 2 : 1; - } promise._a = undefined; - if (unhandled && result.e) throw result.v; - }); -}; -var isUnhandled = function (promise) { - return promise._h !== 1 && (promise._a || promise._c).length === 0; -}; -var onHandleUnhandled = function (promise) { - task.call(global, function () { - var handler; - if (isNode) { - process.emit('rejectionHandled', promise); - } else if (handler = global.onrejectionhandled) { - handler({ promise: promise, reason: promise._v }); - } - }); -}; -var $reject = function (value) { - var promise = this; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - promise._v = value; - promise._s = 2; - if (!promise._a) promise._a = promise._c.slice(); - notify(promise, true); -}; -var $resolve = function (value) { - var promise = this; - var then; - if (promise._d) return; - promise._d = true; - promise = promise._w || promise; // unwrap - try { - if (promise === value) throw TypeError("Promise can't be resolved itself"); - if (then = isThenable(value)) { - microtask(function () { - var wrapper = { _w: promise, _d: false }; // wrap - try { - then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); - } catch (e) { - $reject.call(wrapper, e); - } - }); - } else { - promise._v = value; - promise._s = 1; - notify(promise, false); - } - } catch (e) { - $reject.call({ _w: promise, _d: false }, e); // wrap - } -}; + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } -// constructor polyfill -if (!USE_NATIVE) { - // 25.4.3.1 Promise(executor) - $Promise = function Promise(executor) { - anInstance(this, $Promise, PROMISE, '_h'); - aFunction(executor); - Internal.call(this); - try { - executor(ctx($resolve, this, 1), ctx($reject, this, 1)); - } catch (err) { - $reject.call(this, err); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - this._c = []; // <- awaiting reactions - this._a = undefined; // <- checked in isUnhandled reactions - this._s = 0; // <- state - this._d = false; // <- done - this._v = undefined; // <- value - this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled - this._n = false; // <- notify - }; - Internal.prototype = __webpack_require__(/*! ./_redefine-all */ "./node_modules/core-js/modules/_redefine-all.js")($Promise.prototype, { - // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) - then: function then(onFulfilled, onRejected) { - var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = isNode ? process.domain : undefined; - this._c.push(reaction); - if (this._a) this._a.push(reaction); - if (this._s) notify(this, false); - return reaction.promise; - }, - // 25.4.5.1 Promise.prototype.catch(onRejected) - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - this.promise = promise; - this.resolve = ctx($resolve, promise, 1); - this.reject = ctx($reject, promise, 1); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === $Promise || C === Wrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); } -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); -__webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js")($Promise, PROMISE); -__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(PROMISE); -Wrapper = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js")[PROMISE]; - -// statics -$export($export.S + $export.F * !USE_NATIVE, PROMISE, { - // 25.4.4.5 Promise.reject(r) - reject: function reject(r) { - var capability = newPromiseCapability(this); - var $$reject = capability.reject; - $$reject(r); - return capability.promise; - } -}); -$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { - // 25.4.4.6 Promise.resolve(x) - resolve: function resolve(x) { - return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); - } -}); -$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ "./node_modules/core-js/modules/_iter-detect.js")(function (iter) { - $Promise.all(iter)['catch'](empty); -})), PROMISE, { - // 25.4.4.1 Promise.all(iterable) - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var index = 0; - var remaining = 1; - forOf(iterable, false, function (promise) { - var $index = index++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[$index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - }, - // 25.4.4.4 Promise.race(iterable) - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - forOf(iterable, false, function (promise) { - C.resolve(promise).then(capability.resolve, reject); - }); - }); - if (result.e) reject(result.v); - return capability.promise; - } -}); +/** + * Colorize log arguments if enabled. + * + * @api public + */ +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); -/***/ }), + if (!this.useColors) { + return; + } -/***/ "./node_modules/core-js/modules/es6.reflect.apply.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.apply.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); -// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var rApply = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).apply; -var fApply = Function.apply; -// MS Edge argumentsList argument is optional -$export($export.S + $export.F * !__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - rApply(function () { /* empty */ }); -}), 'Reflect', { - apply: function apply(target, thisArgument, argumentsList) { - var T = aFunction(target); - var L = anObject(argumentsList); - return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); - } -}); + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + args.splice(lastC, 0, c); +} -/***/ }), +/** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ +exports.log = console.debug || console.log || (() => {}); -/***/ "./node_modules/core-js/modules/es6.reflect.construct.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.construct.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} -// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var bind = __webpack_require__(/*! ./_bind */ "./node_modules/core-js/modules/_bind.js"); -var rConstruct = (__webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").Reflect || {}).construct; +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug'); + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } -// MS Edge supports only 2 arguments and argumentsList argument is optional -// FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); -}); -var ARGS_BUG = !fails(function () { - rConstruct(function () { /* empty */ }); -}); + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } -$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } -}); + return r; +} +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ -/***/ }), +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} -/***/ "./node_modules/core-js/modules/es6.reflect.define-property.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.define-property.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +module.exports = __webpack_require__(/*! ./common */ "./node_modules/debug/src/common.js")(exports); -// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); +const {formatters} = module.exports; -// MS Edge has broken Reflect.defineProperty - throwing instead of returning false -$export($export.S + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); -}), 'Reflect', { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - propertyKey = toPrimitive(propertyKey, true); - anObject(attributes); - try { - dP.f(target, propertyKey, attributes); - return true; - } catch (e) { - return false; - } - } -}); +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; /***/ }), -/***/ "./node_modules/core-js/modules/es6.reflect.delete-property.js": -/*!*********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.delete-property.js ***! - \*********************************************************************/ +/***/ "./node_modules/debug/src/common.js": +/*!******************************************!*\ + !*** ./node_modules/debug/src/common.js ***! + \******************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 274:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 26.1.4 Reflect.deleteProperty(target, propertyKey) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js").f; -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -$export($export.S, 'Reflect', { - deleteProperty: function deleteProperty(target, propertyKey) { - var desc = gOPD(anObject(target), propertyKey); - return desc && !desc.configurable ? false : delete target[propertyKey]; - } -}); +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = __webpack_require__(/*! ms */ "./node_modules/ms/index.js"); + createDebug.destroy = destroy; -/***/ }), + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); -/***/ "./node_modules/core-js/modules/es6.reflect.enumerate.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.enumerate.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + /** + * The currently active debug mode names, and names to skip. + */ -"use strict"; + createDebug.names = []; + createDebug.skips = []; -// 26.1.5 Reflect.enumerate(target) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var Enumerate = function (iterated) { - this._t = anObject(iterated); // target - this._i = 0; // next index - var keys = this._k = []; // keys - var key; - for (key in iterated) keys.push(key); -}; -__webpack_require__(/*! ./_iter-create */ "./node_modules/core-js/modules/_iter-create.js")(Enumerate, 'Object', function () { - var that = this; - var keys = that._k; - var key; - do { - if (that._i >= keys.length) return { value: undefined, done: true }; - } while (!((key = keys[that._i++]) in that._t)); - return { value: key, done: false }; -}); + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; -$export($export.S, 'Reflect', { - enumerate: function enumerate(target) { - return new Enumerate(target); - } -}); + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } -/***/ }), + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; -/***/ "./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + let enableOverride = null; + let namespacesCache; + let enabledCache; -// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } -$export($export.S, 'Reflect', { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return gOPD.f(anObject(target), propertyKey); - } -}); + const self = debug; + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; -/***/ }), + args[0] = createDebug.coerce(args[0]); -/***/ "./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": -/*!**********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.get-prototype-of.js ***! - \**********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } -// 26.1.8 Reflect.getPrototypeOf(target) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var getProto = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); -$export($export.S, 'Reflect', { - getPrototypeOf: function getPrototypeOf(target) { - return getProto(anObject(target)); - } -}); + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); -/***/ }), + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } -/***/ "./node_modules/core-js/modules/es6.reflect.get.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.get.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. -// 26.1.6 Reflect.get(target, propertyKey [, receiver]) -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); -var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: () => { + if (enableOverride !== null) { + return enableOverride; + } + if (namespacesCache !== createDebug.namespaces) { + namespacesCache = createDebug.namespaces; + enabledCache = createDebug.enabled(namespace); + } -function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var desc, proto; - if (anObject(target) === receiver) return target[propertyKey]; - if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') - ? desc.value - : desc.get !== undefined - ? desc.get.call(receiver) - : undefined; - if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); -} + return enabledCache; + }, + set: v => { + enableOverride = v; + } + }); -$export($export.S, 'Reflect', { get: get }); + // Env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + return debug; + } -/***/ }), + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } -/***/ "./node_modules/core-js/modules/es6.reflect.has.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.has.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.namespaces = namespaces; -// 26.1.9 Reflect.has(target, propertyKey) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + createDebug.names = []; + createDebug.skips = []; -$export($export.S, 'Reflect', { - has: function has(target, propertyKey) { - return propertyKey in target; - } -}); + let i; + const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + const len = split.length; + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } -/***/ }), + namespaces = split[i].replace(/\*/g, '.*?'); -/***/ "./node_modules/core-js/modules/es6.reflect.is-extensible.js": -/*!*******************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.is-extensible.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + } -// 26.1.10 Reflect.isExtensible(target) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var $isExtensible = Object.isExtensible; + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names.map(toNamespace), + ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } -$export($export.S, 'Reflect', { - isExtensible: function isExtensible(target) { - anObject(target); - return $isExtensible ? $isExtensible(target) : true; - } -}); + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + let i; + let len; -/***/ }), + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } -/***/ "./node_modules/core-js/modules/es6.reflect.own-keys.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.own-keys.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } -// 26.1.11 Reflect.ownKeys(target) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); + return false; + } -$export($export.S, 'Reflect', { ownKeys: __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js") }); + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + function toNamespace(regexp) { + return regexp.toString() + .substring(2, regexp.toString().length - 2) + .replace(/\.\*\?$/, '*'); + } + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } -/***/ }), + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } -/***/ "./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": -/*!************************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.prevent-extensions.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + createDebug.enable(createDebug.load()); -// 26.1.12 Reflect.preventExtensions(target) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var $preventExtensions = Object.preventExtensions; + return createDebug; +} -$export($export.S, 'Reflect', { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - if ($preventExtensions) $preventExtensions(target); - return true; - } catch (e) { - return false; - } - } -}); +module.exports = setup; /***/ }), -/***/ "./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": -/*!**********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.set-prototype-of.js ***! - \**********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/debug/src/index.js": +/*!*****************************************!*\ + !*** ./node_modules/debug/src/index.js ***! + \*****************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -// 26.1.14 Reflect.setPrototypeOf(target, proto) -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var setProto = __webpack_require__(/*! ./_set-proto */ "./node_modules/core-js/modules/_set-proto.js"); +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ -if (setProto) $export($export.S, 'Reflect', { - setPrototypeOf: function setPrototypeOf(target, proto) { - setProto.check(target, proto); - try { - setProto.set(target, proto); - return true; - } catch (e) { - return false; - } - } -}); +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/debug/src/browser.js"); +} else { + module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/debug/src/node.js"); +} /***/ }), -/***/ "./node_modules/core-js/modules/es6.reflect.set.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.reflect.set.js ***! - \*********************************************************/ +/***/ "./node_modules/debug/src/node.js": +/*!****************************************!*\ + !*** ./node_modules/debug/src/node.js ***! + \****************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ +/*! CommonJS bailout: module.exports.humanize(...) prevents optimization as module.exports is passed as call context as 176:31-54 */ +/*! CommonJS bailout: exports is used directly at 240:37-44 */ +/*! CommonJS bailout: module.exports is used directly at 240:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 242:21-35 */ +/***/ ((module, exports, __webpack_require__) => { -// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); -var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "./node_modules/core-js/modules/_object-gpo.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); +/** + * Module dependencies. + */ -function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDesc = gOPD.f(anObject(target), propertyKey); - var existingDescriptor, proto; - if (!ownDesc) { - if (isObject(proto = getPrototypeOf(target))) { - return set(proto, propertyKey, V, receiver); - } - ownDesc = createDesc(0); - } - if (has(ownDesc, 'value')) { - if (ownDesc.writable === false || !isObject(receiver)) return false; - if (existingDescriptor = gOPD.f(receiver, propertyKey)) { - if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; - existingDescriptor.value = V; - dP.f(receiver, propertyKey, existingDescriptor); - } else dP.f(receiver, propertyKey, createDesc(0, V)); - return true; - } - return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); +const tty = __webpack_require__(/*! tty */ "tty"); +const util = __webpack_require__(/*! util */ "util"); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.destroy = util.deprecate( + () => {}, + 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' +); + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = __webpack_require__(/*! supports-color */ "./node_modules/supports-color/index.js"); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. } -$export($export.S, 'Reflect', { set: set }); +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); -/***/ }), + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } -/***/ "./node_modules/core-js/modules/es6.regexp.constructor.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.constructor.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + obj[prop] = val; + return obj; +}, {}); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var inheritIfRequired = __webpack_require__(/*! ./_inherit-if-required */ "./node_modules/core-js/modules/_inherit-if-required.js"); -var dP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f; -var gOPN = __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f; -var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); -var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); -var $RegExp = global.RegExp; -var Base = $RegExp; -var proto = $RegExp.prototype; -var re1 = /a/g; -var re2 = /a/g; -// "new" creates a new object, old webkit buggy here -var CORRECT_NEW = new $RegExp(re1) !== re1; +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ -if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && (!CORRECT_NEW || __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - re2[__webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('match')] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; -}))) { - $RegExp = function RegExp(p, f) { - var tiRE = this instanceof $RegExp; - var piRE = isRegExp(p); - var fiU = f === undefined; - return !tiRE && piRE && p.constructor === $RegExp && fiU ? p - : inheritIfRequired(CORRECT_NEW - ? new Base(piRE && !fiU ? p.source : p, f) - : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) - , tiRE ? this : proto, $RegExp); - }; - var proxy = function (key) { - key in $RegExp || dP($RegExp, key, { - configurable: true, - get: function () { return Base[key]; }, - set: function (it) { Base[key] = it; } - }); - }; - for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); - proto.constructor = $RegExp; - $RegExp.prototype = proto; - __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(global, 'RegExp', $RegExp); +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); } -__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")('RegExp'); +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ +function formatArgs(args) { + const {namespace: name, useColors} = this; -/***/ }), + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; -/***/ "./node_modules/core-js/modules/es6.regexp.exec.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.exec.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} -"use strict"; +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} -var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); -__webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js")({ - target: 'RegExp', - proto: true, - forced: regexpExec !== /./.exec -}, { - exec: regexpExec -}); +/** + * Invokes `util.format()` with the specified arguments and writes to stderr. + */ +function log(...args) { + return process.stderr.write(util.format(...args) + '\n'); +} -/***/ }), +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} -/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ -// 21.2.5.3 get RegExp.prototype.flags() -if (__webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js") -}); +function load() { + return process.env.DEBUG; +} +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ -/***/ }), +function init(debug) { + debug.inspectOpts = {}; -/***/ "./node_modules/core-js/modules/es6.regexp.match.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.match.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} -"use strict"; +module.exports = __webpack_require__(/*! ./common */ "./node_modules/debug/src/common.js")(exports); +const {formatters} = module.exports; -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); -var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); +/** + * Map %o to `util.inspect()`, all on a single line. + */ -// @@match logic -__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('match', 1, function (defined, MATCH, $match, maybeCallNative) { - return [ - // `String.prototype.match` method - // https://tc39.github.io/ecma262/#sec-string.prototype.match - function match(regexp) { - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[MATCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, - // `RegExp.prototype[@@match]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match - function (regexp) { - var res = maybeCallNative($match, regexp, this); - if (res.done) return res.value; - var rx = anObject(regexp); - var S = String(this); - if (!rx.global) return regExpExec(rx, S); - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - var A = []; - var n = 0; - var result; - while ((result = regExpExec(rx, S)) !== null) { - var matchStr = String(result[0]); - A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - n++; - } - return n === 0 ? null : A; - } - ]; -}); +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n') + .map(str => str.trim()) + .join(' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; /***/ }), -/***/ "./node_modules/core-js/modules/es6.regexp.replace.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.replace.js ***! - \************************************************************/ +/***/ "./node_modules/depd/index.js": +/*!************************************!*\ + !*** ./node_modules/depd/index.js ***! + \************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +/*! + * depd + * Copyright(c) 2014-2018 Douglas Christopher Wilson + * MIT Licensed + */ +/** + * Module dependencies. + */ -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var toInteger = __webpack_require__(/*! ./_to-integer */ "./node_modules/core-js/modules/_to-integer.js"); -var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); -var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); -var max = Math.max; -var min = Math.min; -var floor = Math.floor; -var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; -var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; +var relative = __webpack_require__(/*! path */ "path").relative -var maybeToString = function (it) { - return it === undefined ? it : String(it); -}; +/** + * Module exports. + */ -// @@replace logic -__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { - return [ - // `String.prototype.replace` method - // https://tc39.github.io/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = defined(this); - var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; - return fn !== undefined - ? fn.call(searchValue, O, replaceValue) - : $replace.call(String(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { - var res = maybeCallNative($replace, regexp, this, replaceValue); - if (res.done) return res.value; +module.exports = depd - var rx = anObject(regexp); - var S = String(this); - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - var global = rx.global; - if (global) { - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - var results = []; - while (true) { - var result = regExpExec(rx, S); - if (result === null) break; - results.push(result); - if (!global) break; - var matchStr = String(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - } - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); - var captures = []; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - return accumulatedResult + S.slice(nextSourcePosition); - } - ]; +/** + * Get the path to base files on. + */ - // https://tc39.github.io/ecma262/#sec-getsubstitution - function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; +var basePath = process.cwd() + +/** + * Determine if namespace is contained in the string. + */ + +function containsNamespace (str, namespace) { + var vals = str.split(/[ ,]+/) + var ns = String(namespace).toLowerCase() + + for (var i = 0; i < vals.length; i++) { + var val = vals[i] + + // namespace contained + if (val && (val === '*' || val.toLowerCase() === ns)) { + return true } - return $replace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); } -}); + return false +} -/***/ }), +/** + * Convert a data descriptor to accessor descriptor. + */ -/***/ "./node_modules/core-js/modules/es6.regexp.search.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.search.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +function convertDataDescriptorToAccessor (obj, prop, message) { + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + var value = descriptor.value -"use strict"; + descriptor.get = function getter () { return value } + if (descriptor.writable) { + descriptor.set = function setter (val) { return (value = val) } + } -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var sameValue = __webpack_require__(/*! ./_same-value */ "./node_modules/core-js/modules/_same-value.js"); -var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); + delete descriptor.value + delete descriptor.writable -// @@search logic -__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('search', 1, function (defined, SEARCH, $search, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.github.io/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[SEARCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search - function (regexp) { - var res = maybeCallNative($search, regexp, this); - if (res.done) return res.value; - var rx = anObject(regexp); - var S = String(this); - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; -}); + Object.defineProperty(obj, prop, descriptor) + return descriptor +} -/***/ }), +/** + * Create arguments string to keep arity. + */ -/***/ "./node_modules/core-js/modules/es6.regexp.split.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.split.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +function createArgumentsString (arity) { + var str = '' -"use strict"; + for (var i = 0; i < arity; i++) { + str += ', arg' + i + } + return str.substr(2) +} -var isRegExp = __webpack_require__(/*! ./_is-regexp */ "./node_modules/core-js/modules/_is-regexp.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); -var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "./node_modules/core-js/modules/_advance-string-index.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "./node_modules/core-js/modules/_regexp-exec-abstract.js"); -var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "./node_modules/core-js/modules/_regexp-exec.js"); -var fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var $min = Math.min; -var $push = [].push; -var $SPLIT = 'split'; -var LENGTH = 'length'; -var LAST_INDEX = 'lastIndex'; -var MAX_UINT32 = 0xffffffff; +/** + * Create stack string from stack. + */ -// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError -var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); +function createStackString (stack) { + var str = this.name + ': ' + this.namespace -// @@split logic -__webpack_require__(/*! ./_fix-re-wks */ "./node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { - var internalSplit; - if ( - 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || - 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || - 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || - '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || - '.'[$SPLIT](/()()/)[LENGTH] > 1 || - ''[$SPLIT](/.?/)[LENGTH] - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(this); - if (separator === undefined && limit === 0) return []; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) return $split.call(string, separator, limit); - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy[LAST_INDEX]; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); - lastLength = match[0][LENGTH]; - lastLastIndex = lastIndex; - if (output[LENGTH] >= splitLimit) break; - } - if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop - } - if (lastLastIndex === string[LENGTH]) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; - }; - // Chakra, V8 - } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); - }; - } else { - internalSplit = $split; + if (this.message) { + str += ' deprecated ' + this.message } - return [ - // `String.prototype.split` method - // https://tc39.github.io/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = defined(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); - if (res.done) return res.value; + for (var i = 0; i < stack.length; i++) { + str += '\n at ' + stack[i].toString() + } - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); + return str +} - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); +/** + * Create deprecate for namespace in caller. + */ - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; -}); +function depd (namespace) { + if (!namespace) { + throw new TypeError('argument namespace is required') + } + var stack = getStack() + var site = callSiteLocation(stack[1]) + var file = site[0] -/***/ }), + function deprecate (message) { + // call to self as log + log.call(deprecate, message) + } -/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + deprecate._file = file + deprecate._ignored = isignored(namespace) + deprecate._namespace = namespace + deprecate._traced = istraced(namespace) + deprecate._warned = Object.create(null) -"use strict"; + deprecate.function = wrapfunction + deprecate.property = wrapproperty -__webpack_require__(/*! ./es6.regexp.flags */ "./node_modules/core-js/modules/es6.regexp.flags.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var $flags = __webpack_require__(/*! ./_flags */ "./node_modules/core-js/modules/_flags.js"); -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var TO_STRING = 'toString'; -var $toString = /./[TO_STRING]; + return deprecate +} -var define = function (fn) { - __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); -}; +/** + * Determine if event emitter has listeners of a given type. + * + * The way to do this check is done three different ways in Node.js >= 0.8 + * so this consolidates them into a minimal set using instance methods. + * + * @param {EventEmitter} emitter + * @param {string} type + * @returns {boolean} + * @private + */ -// 21.2.5.14 RegExp.prototype.toString() -if (__webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { - define(function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); - }); -// FF44- RegExp#toString has a wrong name -} else if ($toString.name != TO_STRING) { - define(function toString() { - return $toString.call(this); - }); +function eehaslisteners (emitter, type) { + var count = typeof emitter.listenerCount !== 'function' + ? emitter.listeners(type).length + : emitter.listenerCount(type) + + return count > 0 } +/** + * Determine if namespace is ignored. + */ -/***/ }), +function isignored (namespace) { + if (process.noDeprecation) { + // --no-deprecation support + return true + } -/***/ "./node_modules/core-js/modules/es6.set.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/es6.set.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var str = process.env.NO_DEPRECATION || '' -"use strict"; + // namespace ignored + return containsNamespace(str, namespace) +} -var strong = __webpack_require__(/*! ./_collection-strong */ "./node_modules/core-js/modules/_collection-strong.js"); -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var SET = 'Set'; +/** + * Determine if namespace is traced. + */ -// 23.2 Set Objects -module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(SET, function (get) { - return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); +function istraced (namespace) { + if (process.traceDeprecation) { + // --trace-deprecation support + return true } -}, strong); + var str = process.env.TRACE_DEPRECATION || '' -/***/ }), + // namespace traced + return containsNamespace(str, namespace) +} -/***/ "./node_modules/core-js/modules/es6.string.anchor.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.anchor.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Display deprecation message. + */ -"use strict"; +function log (message, site) { + var haslisteners = eehaslisteners(process, 'deprecation') -// B.2.3.2 String.prototype.anchor(name) -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('anchor', function (createHTML) { - return function anchor(name) { - return createHTML(this, 'a', 'name', name); - }; -}); + // abort early if no destination + if (!haslisteners && this._ignored) { + return + } + var caller + var callFile + var callSite + var depSite + var i = 0 + var seen = false + var stack = getStack() + var file = this._file -/***/ }), + if (site) { + // provided site + depSite = site + callSite = callSiteLocation(stack[1]) + callSite.name = depSite.name + file = callSite[0] + } else { + // get call site + i = 2 + depSite = callSiteLocation(stack[i]) + callSite = depSite + } -/***/ "./node_modules/core-js/modules/es6.string.big.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.big.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + // get caller of deprecated thing in relation to file + for (; i < stack.length; i++) { + caller = callSiteLocation(stack[i]) + callFile = caller[0] -"use strict"; + if (callFile === file) { + seen = true + } else if (callFile === this._file) { + file = this._file + } else if (seen) { + break + } + } -// B.2.3.3 String.prototype.big() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('big', function (createHTML) { - return function big() { - return createHTML(this, 'big', '', ''); - }; -}); + var key = caller + ? depSite.join(':') + '__' + caller.join(':') + : undefined + if (key !== undefined && key in this._warned) { + // already warned + return + } -/***/ }), + this._warned[key] = true -/***/ "./node_modules/core-js/modules/es6.string.blink.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.blink.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + // generate automatic message from call site + var msg = message + if (!msg) { + msg = callSite === depSite || !callSite.name + ? defaultMessage(depSite) + : defaultMessage(callSite) + } -"use strict"; + // emit deprecation if listeners exist + if (haslisteners) { + var err = DeprecationError(this._namespace, msg, stack.slice(i)) + process.emit('deprecation', err) + return + } -// B.2.3.4 String.prototype.blink() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('blink', function (createHTML) { - return function blink() { - return createHTML(this, 'blink', '', ''); - }; -}); + // format and write message + var format = process.stderr.isTTY + ? formatColor + : formatPlain + var output = format.call(this, msg, caller, stack.slice(i)) + process.stderr.write(output + '\n', 'utf8') +} +/** + * Get call site location as array. + */ -/***/ }), +function callSiteLocation (callSite) { + var file = callSite.getFileName() || '' + var line = callSite.getLineNumber() + var colm = callSite.getColumnNumber() -/***/ "./node_modules/core-js/modules/es6.string.bold.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.bold.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + if (callSite.isEval()) { + file = callSite.getEvalOrigin() + ', ' + file + } -"use strict"; + var site = [file, line, colm] -// B.2.3.5 String.prototype.bold() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('bold', function (createHTML) { - return function bold() { - return createHTML(this, 'b', '', ''); - }; -}); + site.callSite = callSite + site.name = callSite.getFunctionName() + return site +} -/***/ }), +/** + * Generate a default message from the site. + */ -/***/ "./node_modules/core-js/modules/es6.string.code-point-at.js": -/*!******************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.code-point-at.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +function defaultMessage (site) { + var callSite = site.callSite + var funcName = site.name -"use strict"; + // make useful anonymous name + if (!funcName) { + funcName = '' + } -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(false); -$export($export.P, 'String', { - // 21.1.3.3 String.prototype.codePointAt(pos) - codePointAt: function codePointAt(pos) { - return $at(this, pos); + var context = callSite.getThis() + var typeName = context && callSite.getTypeName() + + // ignore useless type name + if (typeName === 'Object') { + typeName = undefined } -}); + // make useful type name + if (typeName === 'Function') { + typeName = context.name || typeName + } -/***/ }), + return typeName && callSite.getMethodName() + ? typeName + '.' + funcName + : funcName +} -/***/ "./node_modules/core-js/modules/es6.string.ends-with.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.ends-with.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Format deprecation message without color. + */ -"use strict"; -// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) +function formatPlain (msg, caller, stack) { + var timestamp = new Date().toUTCString() -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); -var ENDS_WITH = 'endsWith'; -var $endsWith = ''[ENDS_WITH]; + var formatted = timestamp + + ' ' + this._namespace + + ' deprecated ' + msg -$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(ENDS_WITH), 'String', { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = context(this, searchString, ENDS_WITH); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); - var search = String(searchString); - return $endsWith - ? $endsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n at ' + stack[i].toString() + } + + return formatted } -}); + if (caller) { + formatted += ' at ' + formatLocation(caller) + } -/***/ }), + return formatted +} -/***/ "./node_modules/core-js/modules/es6.string.fixed.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.fixed.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Format deprecation message with color. + */ -"use strict"; +function formatColor (msg, caller, stack) { + var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan + ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow + ' \x1b[0m' + msg + '\x1b[39m' // reset -// B.2.3.6 String.prototype.fixed() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fixed', function (createHTML) { - return function fixed() { - return createHTML(this, 'tt', '', ''); - }; -}); + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n \x1b[36mat ' + stack[i].toString() + '\x1b[39m' // cyan + } + return formatted + } -/***/ }), + if (caller) { + formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan + } -/***/ "./node_modules/core-js/modules/es6.string.fontcolor.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.fontcolor.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + return formatted +} -"use strict"; +/** + * Format call site location. + */ -// B.2.3.7 String.prototype.fontcolor(color) -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontcolor', function (createHTML) { - return function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - }; -}); +function formatLocation (callSite) { + return relative(basePath, callSite[0]) + + ':' + callSite[1] + + ':' + callSite[2] +} +/** + * Get the stack as array of call sites. + */ -/***/ }), +function getStack () { + var limit = Error.stackTraceLimit + var obj = {} + var prep = Error.prepareStackTrace -/***/ "./node_modules/core-js/modules/es6.string.fontsize.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.fontsize.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + Error.prepareStackTrace = prepareObjectStackTrace + Error.stackTraceLimit = Math.max(10, limit) -"use strict"; + // capture the stack + Error.captureStackTrace(obj) -// B.2.3.8 String.prototype.fontsize(size) -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('fontsize', function (createHTML) { - return function fontsize(size) { - return createHTML(this, 'font', 'size', size); - }; -}); + // slice this function off the top + var stack = obj.stack.slice(1) + Error.prepareStackTrace = prep + Error.stackTraceLimit = limit -/***/ }), + return stack +} -/***/ "./node_modules/core-js/modules/es6.string.from-code-point.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.from-code-point.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/** + * Capture call site stack from v8. + */ -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); -var fromCharCode = String.fromCharCode; -var $fromCodePoint = String.fromCodePoint; +function prepareObjectStackTrace (obj, stack) { + return stack +} -// length should be 1, old FF problem -$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { - // 21.1.2.2 String.fromCodePoint(...codePoints) - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var res = []; - var aLen = arguments.length; - var i = 0; - var code; - while (aLen > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); - res.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) - ); - } return res.join(''); +/** + * Return a wrapped function in a deprecation message. + */ + +function wrapfunction (fn, message) { + if (typeof fn !== 'function') { + throw new TypeError('argument fn must be a function') } -}); + var args = createArgumentsString(fn.length) + var stack = getStack() + var site = callSiteLocation(stack[1]) -/***/ }), + site.name = fn.name -/***/ "./node_modules/core-js/modules/es6.string.includes.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.includes.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + // eslint-disable-next-line no-new-func + var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site', + '"use strict"\n' + + 'return function (' + args + ') {' + + 'log.call(deprecate, message, site)\n' + + 'return fn.apply(this, arguments)\n' + + '}')(fn, log, this, message, site) -"use strict"; -// 21.1.3.7 String.prototype.includes(searchString, position = 0) + return deprecatedfn +} -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); -var INCLUDES = 'includes'; +/** + * Wrap property in a deprecation message. + */ -$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { - includes: function includes(searchString /* , position = 0 */) { - return !!~context(this, searchString, INCLUDES) - .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); +function wrapproperty (obj, prop, message) { + if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { + throw new TypeError('argument obj must be object') } -}); + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) -/***/ }), + if (!descriptor) { + throw new TypeError('must call property on owner object') + } -/***/ "./node_modules/core-js/modules/es6.string.italics.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.italics.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + if (!descriptor.configurable) { + throw new TypeError('property must be configurable') + } -"use strict"; + var deprecate = this + var stack = getStack() + var site = callSiteLocation(stack[1]) -// B.2.3.9 String.prototype.italics() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('italics', function (createHTML) { - return function italics() { - return createHTML(this, 'i', '', ''); - }; -}); + // set site name + site.name = prop + // convert data descriptor + if ('value' in descriptor) { + descriptor = convertDataDescriptorToAccessor(obj, prop, message) + } -/***/ }), + var get = descriptor.get + var set = descriptor.set -/***/ "./node_modules/core-js/modules/es6.string.iterator.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.iterator.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + // wrap getter + if (typeof get === 'function') { + descriptor.get = function getter () { + log.call(deprecate, message, site) + return get.apply(this, arguments) + } + } -"use strict"; + // wrap setter + if (typeof set === 'function') { + descriptor.set = function setter () { + log.call(deprecate, message, site) + return set.apply(this, arguments) + } + } -var $at = __webpack_require__(/*! ./_string-at */ "./node_modules/core-js/modules/_string-at.js")(true); + Object.defineProperty(obj, prop, descriptor) +} -// 21.1.3.27 String.prototype[@@iterator]() -__webpack_require__(/*! ./_iter-define */ "./node_modules/core-js/modules/_iter-define.js")(String, 'String', function (iterated) { - this._t = String(iterated); // target - this._i = 0; // next index -// 21.1.5.2.1 %StringIteratorPrototype%.next() -}, function () { - var O = this._t; - var index = this._i; - var point; - if (index >= O.length) return { value: undefined, done: true }; - point = $at(O, index); - this._i += point.length; - return { value: point, done: false }; -}); +/** + * Create DeprecationError for deprecation + */ +function DeprecationError (namespace, message, stack) { + var error = new Error() + var stackString -/***/ }), + Object.defineProperty(error, 'constructor', { + value: DeprecationError + }) -/***/ "./node_modules/core-js/modules/es6.string.link.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.link.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + Object.defineProperty(error, 'message', { + configurable: true, + enumerable: false, + value: message, + writable: true + }) -"use strict"; + Object.defineProperty(error, 'name', { + enumerable: false, + configurable: true, + value: 'DeprecationError', + writable: true + }) -// B.2.3.10 String.prototype.link(url) -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('link', function (createHTML) { - return function link(url) { - return createHTML(this, 'a', 'href', url); - }; -}); + Object.defineProperty(error, 'namespace', { + configurable: true, + enumerable: false, + value: namespace, + writable: true + }) + Object.defineProperty(error, 'stack', { + configurable: true, + enumerable: false, + get: function () { + if (stackString !== undefined) { + return stackString + } -/***/ }), + // prepare stack trace + return (stackString = createStackString.call(this, stack)) + }, + set: function setter (val) { + stackString = val + } + }) -/***/ "./node_modules/core-js/modules/es6.string.raw.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.raw.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + return error +} -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -$export($export.S, 'String', { - // 21.1.2.4 String.raw(callSite, ...substitutions) - raw: function raw(callSite) { - var tpl = toIObject(callSite.raw); - var len = toLength(tpl.length); - var aLen = arguments.length; - var res = []; - var i = 0; - while (len > i) { - res.push(String(tpl[i++])); - if (i < aLen) res.push(String(arguments[i])); - } return res.join(''); - } -}); +/***/ }), +/***/ "./node_modules/dns-packet/classes.js": +/*!********************************************!*\ + !*** ./node_modules/dns-packet/classes.js ***! + \********************************************/ +/*! default exports */ +/*! export toClass [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -/***/ }), +"use strict"; -/***/ "./node_modules/core-js/modules/es6.string.repeat.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.repeat.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); +exports.toString = function (klass) { + switch (klass) { + case 1: return 'IN' + case 2: return 'CS' + case 3: return 'CH' + case 4: return 'HS' + case 255: return 'ANY' + } + return 'UNKNOWN_' + klass +} -$export($export.P, 'String', { - // 21.1.3.13 String.prototype.repeat(count) - repeat: __webpack_require__(/*! ./_string-repeat */ "./node_modules/core-js/modules/_string-repeat.js") -}); +exports.toClass = function (name) { + switch (name.toUpperCase()) { + case 'IN': return 1 + case 'CS': return 2 + case 'CH': return 3 + case 'HS': return 4 + case 'ANY': return 255 + } + return 0 +} /***/ }), -/***/ "./node_modules/core-js/modules/es6.string.small.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.small.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/dns-packet/index.js": +/*!******************************************!*\ + !*** ./node_modules/dns-packet/index.js ***! + \******************************************/ +/*! default exports */ +/*! export AUTHENTIC_DATA [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export AUTHORITATIVE_ANSWER [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export CHECKING_DISABLED [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export DNSSEC_OK [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export RECURSION_AVAILABLE [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export RECURSION_DESIRED [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export TRUNCATED_RESPONSE [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export a [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export aaaa [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export answer [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export caa [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export cname [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export decode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export dname [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export dnskey [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ds [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export encode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export encodingLength [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export hinfo [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export mx [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export name [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ns [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export nsec [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export nsec3 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export null [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export opt [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export option [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ptr [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export question [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export record [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export rp [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export rrsig [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export soa [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export srv [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export sshfp [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export streamDecode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export streamEncode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export txt [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export unknown [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_exports__ */ +/*! CommonJS bailout: exports.encodingLength(...) prevents optimization as exports is passed as call context as 1528:35-57 */ +/*! CommonJS bailout: exports.encode(...) prevents optimization as exports is passed as call context as 1586:14-28 */ +/*! CommonJS bailout: exports.decode(...) prevents optimization as exports is passed as call context as 1602:17-31 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; -// B.2.3.11 String.prototype.small() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('small', function (createHTML) { - return function small() { - return createHTML(this, 'small', '', ''); - }; -}); +const Buffer = __webpack_require__(/*! buffer */ "buffer").Buffer +const types = __webpack_require__(/*! ./types */ "./node_modules/dns-packet/types.js") +const rcodes = __webpack_require__(/*! ./rcodes */ "./node_modules/dns-packet/rcodes.js") +const opcodes = __webpack_require__(/*! ./opcodes */ "./node_modules/dns-packet/opcodes.js") +const classes = __webpack_require__(/*! ./classes */ "./node_modules/dns-packet/classes.js") +const optioncodes = __webpack_require__(/*! ./optioncodes */ "./node_modules/dns-packet/optioncodes.js") +const ip = __webpack_require__(/*! @leichtgewicht/ip-codec */ "./node_modules/@leichtgewicht/ip-codec/index.cjs") -/***/ }), +const QUERY_FLAG = 0 +const RESPONSE_FLAG = 1 << 15 +const FLUSH_MASK = 1 << 15 +const NOT_FLUSH_MASK = ~FLUSH_MASK +const QU_MASK = 1 << 15 +const NOT_QU_MASK = ~QU_MASK -/***/ "./node_modules/core-js/modules/es6.string.starts-with.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.starts-with.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +const name = exports.name = {} -"use strict"; -// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) +name.encode = function (str, buf, offset) { + if (!buf) buf = Buffer.alloc(name.encodingLength(str)) + if (!offset) offset = 0 + const oldOffset = offset -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var context = __webpack_require__(/*! ./_string-context */ "./node_modules/core-js/modules/_string-context.js"); -var STARTS_WITH = 'startsWith'; -var $startsWith = ''[STARTS_WITH]; + // strip leading and trailing . + const n = str.replace(/^\.|\.$/gm, '') + if (n.length) { + const list = n.split('.') -$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "./node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = context(this, searchString, STARTS_WITH); - var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return $startsWith - ? $startsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; + for (let i = 0; i < list.length; i++) { + const len = buf.write(list[i], offset + 1) + buf[offset] = len + offset += len + 1 + } } -}); - -/***/ }), + buf[offset++] = 0 -/***/ "./node_modules/core-js/modules/es6.string.strike.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.strike.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + name.encode.bytes = offset - oldOffset + return buf +} -"use strict"; +name.encode.bytes = 0 -// B.2.3.12 String.prototype.strike() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('strike', function (createHTML) { - return function strike() { - return createHTML(this, 'strike', '', ''); - }; -}); +name.decode = function (buf, offset) { + if (!offset) offset = 0 + const list = [] + let oldOffset = offset + let totalLength = 0 + let consumedBytes = 0 + let jumped = false -/***/ }), + while (true) { + if (offset >= buf.length) { + throw new Error('Cannot decode name (buffer overflow)') + } + const len = buf[offset++] + consumedBytes += jumped ? 0 : 1 -/***/ "./node_modules/core-js/modules/es6.string.sub.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.sub.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + if (len === 0) { + break + } else if ((len & 0xc0) === 0) { + if (offset + len > buf.length) { + throw new Error('Cannot decode name (buffer overflow)') + } + totalLength += len + 1 + if (totalLength > 254) { + throw new Error('Cannot decode name (name too long)') + } + list.push(buf.toString('utf-8', offset, offset + len)) + offset += len + consumedBytes += jumped ? 0 : len + } else if ((len & 0xc0) === 0xc0) { + if (offset + 1 > buf.length) { + throw new Error('Cannot decode name (buffer overflow)') + } + const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000 + if (jumpOffset >= oldOffset) { + // Allow only pointers to prior data. RFC 1035, section 4.1.4 states: + // "[...] an entire domain name or a list of labels at the end of a domain name + // is replaced with a pointer to a prior occurance (sic) of the same name." + throw new Error('Cannot decode name (bad pointer)') + } + offset = jumpOffset + oldOffset = jumpOffset + consumedBytes += jumped ? 0 : 1 + jumped = true + } else { + throw new Error('Cannot decode name (bad label)') + } + } -"use strict"; + name.decode.bytes = consumedBytes + return list.length === 0 ? '.' : list.join('.') +} -// B.2.3.13 String.prototype.sub() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sub', function (createHTML) { - return function sub() { - return createHTML(this, 'sub', '', ''); - }; -}); +name.decode.bytes = 0 +name.encodingLength = function (n) { + if (n === '.' || n === '..') return 1 + return Buffer.byteLength(n.replace(/^\.|\.$/gm, '')) + 2 +} -/***/ }), +const string = {} -/***/ "./node_modules/core-js/modules/es6.string.sup.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.sup.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +string.encode = function (s, buf, offset) { + if (!buf) buf = Buffer.alloc(string.encodingLength(s)) + if (!offset) offset = 0 -"use strict"; + const len = buf.write(s, offset + 1) + buf[offset] = len + string.encode.bytes = len + 1 + return buf +} -// B.2.3.14 String.prototype.sup() -__webpack_require__(/*! ./_string-html */ "./node_modules/core-js/modules/_string-html.js")('sup', function (createHTML) { - return function sup() { - return createHTML(this, 'sup', '', ''); - }; -}); +string.encode.bytes = 0 +string.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ }), + const len = buf[offset] + const s = buf.toString('utf-8', offset + 1, offset + 1 + len) + string.decode.bytes = len + 1 + return s +} -/***/ "./node_modules/core-js/modules/es6.string.trim.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.string.trim.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +string.decode.bytes = 0 -"use strict"; +string.encodingLength = function (s) { + return Buffer.byteLength(s) + 1 +} -// 21.1.3.25 String.prototype.trim() -__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trim', function ($trim) { - return function trim() { - return $trim(this, 3); - }; -}); +const header = {} +header.encode = function (h, buf, offset) { + if (!buf) buf = header.encodingLength(h) + if (!offset) offset = 0 -/***/ }), + const flags = (h.flags || 0) & 32767 + const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG -/***/ "./node_modules/core-js/modules/es6.symbol.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/es6.symbol.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + buf.writeUInt16BE(h.id || 0, offset) + buf.writeUInt16BE(flags | type, offset + 2) + buf.writeUInt16BE(h.questions.length, offset + 4) + buf.writeUInt16BE(h.answers.length, offset + 6) + buf.writeUInt16BE(h.authorities.length, offset + 8) + buf.writeUInt16BE(h.additionals.length, offset + 10) -"use strict"; + return buf +} -// ECMAScript 6 symbols shim -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var has = __webpack_require__(/*! ./_has */ "./node_modules/core-js/modules/_has.js"); -var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "./node_modules/core-js/modules/_descriptors.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var META = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js").KEY; -var $fails = __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js"); -var shared = __webpack_require__(/*! ./_shared */ "./node_modules/core-js/modules/_shared.js"); -var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "./node_modules/core-js/modules/_set-to-string-tag.js"); -var uid = __webpack_require__(/*! ./_uid */ "./node_modules/core-js/modules/_uid.js"); -var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); -var wksExt = __webpack_require__(/*! ./_wks-ext */ "./node_modules/core-js/modules/_wks-ext.js"); -var wksDefine = __webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js"); -var enumKeys = __webpack_require__(/*! ./_enum-keys */ "./node_modules/core-js/modules/_enum-keys.js"); -var isArray = __webpack_require__(/*! ./_is-array */ "./node_modules/core-js/modules/_is-array.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "./node_modules/core-js/modules/_to-primitive.js"); -var createDesc = __webpack_require__(/*! ./_property-desc */ "./node_modules/core-js/modules/_property-desc.js"); -var _create = __webpack_require__(/*! ./_object-create */ "./node_modules/core-js/modules/_object-create.js"); -var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "./node_modules/core-js/modules/_object-gopn-ext.js"); -var $GOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); -var $GOPS = __webpack_require__(/*! ./_object-gops */ "./node_modules/core-js/modules/_object-gops.js"); -var $DP = __webpack_require__(/*! ./_object-dp */ "./node_modules/core-js/modules/_object-dp.js"); -var $keys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); -var gOPD = $GOPD.f; -var dP = $DP.f; -var gOPN = gOPNExt.f; -var $Symbol = global.Symbol; -var $JSON = global.JSON; -var _stringify = $JSON && $JSON.stringify; -var PROTOTYPE = 'prototype'; -var HIDDEN = wks('_hidden'); -var TO_PRIMITIVE = wks('toPrimitive'); -var isEnum = {}.propertyIsEnumerable; -var SymbolRegistry = shared('symbol-registry'); -var AllSymbols = shared('symbols'); -var OPSymbols = shared('op-symbols'); -var ObjectProto = Object[PROTOTYPE]; -var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; -var QObject = global.QObject; -// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 -var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; +header.encode.bytes = 12 -// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDesc = DESCRIPTORS && $fails(function () { - return _create(dP({}, 'a', { - get: function () { return dP(this, 'a', { value: 7 }).a; } - })).a != 7; -}) ? function (it, key, D) { - var protoDesc = gOPD(ObjectProto, key); - if (protoDesc) delete ObjectProto[key]; - dP(it, key, D); - if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); -} : dP; +header.decode = function (buf, offset) { + if (!offset) offset = 0 + if (buf.length < 12) throw new Error('Header must be 12 bytes') + const flags = buf.readUInt16BE(offset + 2) -var wrap = function (tag) { - var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); - sym._k = tag; - return sym; -}; + return { + id: buf.readUInt16BE(offset), + type: flags & RESPONSE_FLAG ? 'response' : 'query', + flags: flags & 32767, + flag_qr: ((flags >> 15) & 0x1) === 1, + opcode: opcodes.toString((flags >> 11) & 0xf), + flag_aa: ((flags >> 10) & 0x1) === 1, + flag_tc: ((flags >> 9) & 0x1) === 1, + flag_rd: ((flags >> 8) & 0x1) === 1, + flag_ra: ((flags >> 7) & 0x1) === 1, + flag_z: ((flags >> 6) & 0x1) === 1, + flag_ad: ((flags >> 5) & 0x1) === 1, + flag_cd: ((flags >> 4) & 0x1) === 1, + rcode: rcodes.toString(flags & 0xf), + questions: new Array(buf.readUInt16BE(offset + 4)), + answers: new Array(buf.readUInt16BE(offset + 6)), + authorities: new Array(buf.readUInt16BE(offset + 8)), + additionals: new Array(buf.readUInt16BE(offset + 10)) + } +} -var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - return it instanceof $Symbol; -}; +header.decode.bytes = 12 -var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectProto) $defineProperty(OPSymbols, key, D); - anObject(it); - key = toPrimitive(key, true); - anObject(D); - if (has(AllSymbols, key)) { - if (!D.enumerable) { - if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); - it[HIDDEN][key] = true; - } else { - if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = _create(D, { enumerable: createDesc(0, false) }); - } return setSymbolDesc(it, key, D); - } return dP(it, key, D); -}; -var $defineProperties = function defineProperties(it, P) { - anObject(it); - var keys = enumKeys(P = toIObject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; -}; -var $create = function create(it, P) { - return P === undefined ? _create(it) : $defineProperties(_create(it), P); -}; -var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = isEnum.call(this, key = toPrimitive(key, true)); - if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; - return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; -}; -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = toIObject(it); - key = toPrimitive(key, true); - if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; - var D = gOPD(it, key); - if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; -}; -var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = gOPN(toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); - } return result; -}; -var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectProto; - var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); - } return result; -}; +header.encodingLength = function () { + return 12 +} -// 19.4.1.1 Symbol([description]) -if (!USE_NATIVE) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); - var tag = uid(arguments.length > 0 ? arguments[0] : undefined); - var $set = function (value) { - if (this === ObjectProto) $set.call(OPSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDesc(this, tag, createDesc(1, value)); - }; - if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); - return wrap(tag); - }; - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return this._k; - }); +const runknown = exports.unknown = {} - $GOPD.f = $getOwnPropertyDescriptor; - $DP.f = $defineProperty; - __webpack_require__(/*! ./_object-gopn */ "./node_modules/core-js/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; - __webpack_require__(/*! ./_object-pie */ "./node_modules/core-js/modules/_object-pie.js").f = $propertyIsEnumerable; - $GOPS.f = $getOwnPropertySymbols; +runknown.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(runknown.encodingLength(data)) + if (!offset) offset = 0 - if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "./node_modules/core-js/modules/_library.js")) { - redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); - } + buf.writeUInt16BE(data.length, offset) + data.copy(buf, offset + 2) - wksExt.f = function (name) { - return wrap(wks(name)); - }; + runknown.encode.bytes = data.length + 2 + return buf } -$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); +runknown.encode.bytes = 0 -for (var es6Symbols = ( - // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 - 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' -).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); +runknown.decode = function (buf, offset) { + if (!offset) offset = 0 -for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); + const len = buf.readUInt16BE(offset) + const data = buf.slice(offset + 2, offset + 2 + len) + runknown.decode.bytes = len + 2 + return data +} -$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { - // 19.4.2.1 Symbol.for(key) - 'for': function (key) { - return has(SymbolRegistry, key += '') - ? SymbolRegistry[key] - : SymbolRegistry[key] = $Symbol(key); - }, - // 19.4.2.5 Symbol.keyFor(sym) - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { setter = true; }, - useSimple: function () { setter = false; } -}); +runknown.decode.bytes = 0 -$export($export.S + $export.F * !USE_NATIVE, 'Object', { - // 19.1.2.2 Object.create(O [, Properties]) - create: $create, - // 19.1.2.4 Object.defineProperty(O, P, Attributes) - defineProperty: $defineProperty, - // 19.1.2.3 Object.defineProperties(O, Properties) - defineProperties: $defineProperties, - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - getOwnPropertyDescriptor: $getOwnPropertyDescriptor, - // 19.1.2.7 Object.getOwnPropertyNames(O) - getOwnPropertyNames: $getOwnPropertyNames, - // 19.1.2.8 Object.getOwnPropertySymbols(O) - getOwnPropertySymbols: $getOwnPropertySymbols -}); +runknown.encodingLength = function (data) { + return data.length + 2 +} -// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives -// https://bugs.chromium.org/p/v8/issues/detail?id=3443 -var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); +const rns = exports.ns = {} -$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { - getOwnPropertySymbols: function getOwnPropertySymbols(it) { - return $GOPS.f(toObject(it)); - } -}); +rns.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rns.encodingLength(data)) + if (!offset) offset = 0 -// 24.3.2 JSON.stringify(value [, replacer [, space]]) -$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { - var S = $Symbol(); - // MS Edge converts symbol values to JSON as {} - // WebKit converts symbol values to JSON as null - // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; -})), 'JSON', { - stringify: function stringify(it) { - var args = [it]; - var i = 1; - var replacer, $replacer; - while (arguments.length > i) args.push(arguments[i++]); - $replacer = replacer = args[1]; - if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - if (!isArray(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return _stringify.apply($JSON, args); - } -}); + name.encode(data, buf, offset + 2) + buf.writeUInt16BE(name.encode.bytes, offset) + rns.encode.bytes = name.encode.bytes + 2 + return buf +} -// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) -$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); -// 19.4.3.5 Symbol.prototype[@@toStringTag] -setToStringTag($Symbol, 'Symbol'); -// 20.2.1.9 Math[@@toStringTag] -setToStringTag(Math, 'Math', true); -// 24.3.3 JSON[@@toStringTag] -setToStringTag(global.JSON, 'JSON', true); +rns.encode.bytes = 0 +rns.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ }), + const len = buf.readUInt16BE(offset) + const dd = name.decode(buf, offset + 2) -/***/ "./node_modules/core-js/modules/es6.typed.array-buffer.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.array-buffer.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + rns.decode.bytes = len + 2 + return dd +} -"use strict"; +rns.decode.bytes = 0 -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $typed = __webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js"); -var buffer = __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js"); -var anObject = __webpack_require__(/*! ./_an-object */ "./node_modules/core-js/modules/_an-object.js"); -var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "./node_modules/core-js/modules/_to-absolute-index.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var ArrayBuffer = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js").ArrayBuffer; -var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); -var $ArrayBuffer = buffer.ArrayBuffer; -var $DataView = buffer.DataView; -var $isView = $typed.ABV && ArrayBuffer.isView; -var $slice = $ArrayBuffer.prototype.slice; -var VIEW = $typed.VIEW; -var ARRAY_BUFFER = 'ArrayBuffer'; +rns.encodingLength = function (data) { + return name.encodingLength(data) + 2 +} -$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); +const rsoa = exports.soa = {} -$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { - // 24.1.3.1 ArrayBuffer.isView(arg) - isView: function isView(it) { - return $isView && $isView(it) || isObject(it) && VIEW in it; - } -}); +rsoa.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data)) + if (!offset) offset = 0 -$export($export.P + $export.U + $export.F * __webpack_require__(/*! ./_fails */ "./node_modules/core-js/modules/_fails.js")(function () { - return !new $ArrayBuffer(2).slice(1, undefined).byteLength; -}), ARRAY_BUFFER, { - // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) - slice: function slice(start, end) { - if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix - var len = anObject(this).byteLength; - var first = toAbsoluteIndex(start, len); - var fin = toAbsoluteIndex(end === undefined ? len : end, len); - var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); - var viewS = new $DataView(this); - var viewT = new $DataView(result); - var index = 0; - while (first < fin) { - viewT.setUint8(index++, viewS.getUint8(first++)); - } return result; - } -}); + const oldOffset = offset + offset += 2 + name.encode(data.mname, buf, offset) + offset += name.encode.bytes + name.encode(data.rname, buf, offset) + offset += name.encode.bytes + buf.writeUInt32BE(data.serial || 0, offset) + offset += 4 + buf.writeUInt32BE(data.refresh || 0, offset) + offset += 4 + buf.writeUInt32BE(data.retry || 0, offset) + offset += 4 + buf.writeUInt32BE(data.expire || 0, offset) + offset += 4 + buf.writeUInt32BE(data.minimum || 0, offset) + offset += 4 -__webpack_require__(/*! ./_set-species */ "./node_modules/core-js/modules/_set-species.js")(ARRAY_BUFFER); + buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) + rsoa.encode.bytes = offset - oldOffset + return buf +} +rsoa.encode.bytes = 0 -/***/ }), +rsoa.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ "./node_modules/core-js/modules/es6.typed.data-view.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.data-view.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const oldOffset = offset -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -$export($export.G + $export.W + $export.F * !__webpack_require__(/*! ./_typed */ "./node_modules/core-js/modules/_typed.js").ABV, { - DataView: __webpack_require__(/*! ./_typed-buffer */ "./node_modules/core-js/modules/_typed-buffer.js").DataView -}); + const data = {} + offset += 2 + data.mname = name.decode(buf, offset) + offset += name.decode.bytes + data.rname = name.decode(buf, offset) + offset += name.decode.bytes + data.serial = buf.readUInt32BE(offset) + offset += 4 + data.refresh = buf.readUInt32BE(offset) + offset += 4 + data.retry = buf.readUInt32BE(offset) + offset += 4 + data.expire = buf.readUInt32BE(offset) + offset += 4 + data.minimum = buf.readUInt32BE(offset) + offset += 4 + rsoa.decode.bytes = offset - oldOffset + return data +} -/***/ }), +rsoa.decode.bytes = 0 -/***/ "./node_modules/core-js/modules/es6.typed.float32-array.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.float32-array.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rsoa.encodingLength = function (data) { + return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname) +} -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float32', 4, function (init) { - return function Float32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); +const rtxt = exports.txt = {} +rtxt.encode = function (data, buf, offset) { + if (!Array.isArray(data)) data = [data] + for (let i = 0; i < data.length; i++) { + if (typeof data[i] === 'string') { + data[i] = Buffer.from(data[i]) + } + if (!Buffer.isBuffer(data[i])) { + throw new Error('Must be a Buffer') + } + } -/***/ }), + if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data)) + if (!offset) offset = 0 -/***/ "./node_modules/core-js/modules/es6.typed.float64-array.js": -/*!*****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.float64-array.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const oldOffset = offset + offset += 2 -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Float64', 8, function (init) { - return function Float64Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); + data.forEach(function (d) { + buf[offset++] = d.length + d.copy(buf, offset, 0, d.length) + offset += d.length + }) + buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) + rtxt.encode.bytes = offset - oldOffset + return buf +} -/***/ }), +rtxt.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/es6.typed.int16-array.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.int16-array.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rtxt.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset + let remaining = buf.readUInt16BE(offset) + offset += 2 -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int16', 2, function (init) { - return function Int16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); + let data = [] + while (remaining > 0) { + const len = buf[offset++] + --remaining + if (remaining < len) { + throw new Error('Buffer overflow') + } + data.push(buf.slice(offset, offset + len)) + offset += len + remaining -= len + } + rtxt.decode.bytes = offset - oldOffset + return data +} -/***/ }), +rtxt.decode.bytes = 0 -/***/ "./node_modules/core-js/modules/es6.typed.int32-array.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.int32-array.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rtxt.encodingLength = function (data) { + if (!Array.isArray(data)) data = [data] + let length = 2 + data.forEach(function (buf) { + if (typeof buf === 'string') { + length += Buffer.byteLength(buf) + 1 + } else { + length += buf.length + 1 + } + }) + return length +} -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int32', 4, function (init) { - return function Int32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); +const rnull = exports.null = {} +rnull.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rnull.encodingLength(data)) + if (!offset) offset = 0 -/***/ }), + if (typeof data === 'string') data = Buffer.from(data) + if (!data) data = Buffer.alloc(0) -/***/ "./node_modules/core-js/modules/es6.typed.int8-array.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.int8-array.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const oldOffset = offset + offset += 2 -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Int8', 1, function (init) { - return function Int8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); + const len = data.length + data.copy(buf, offset, 0, len) + offset += len + buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) + rnull.encode.bytes = offset - oldOffset + return buf +} -/***/ }), +rnull.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/es6.typed.uint16-array.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.uint16-array.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rnull.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset + const len = buf.readUInt16BE(offset) -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint16', 2, function (init) { - return function Uint16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); + offset += 2 + const data = buf.slice(offset, offset + len) + offset += len -/***/ }), + rnull.decode.bytes = offset - oldOffset + return data +} -/***/ "./node_modules/core-js/modules/es6.typed.uint32-array.js": -/*!****************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.uint32-array.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rnull.decode.bytes = 0 -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint32', 4, function (init) { - return function Uint32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); +rnull.encodingLength = function (data) { + if (!data) return 2 + return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2 +} +const rhinfo = exports.hinfo = {} -/***/ }), +rhinfo.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data)) + if (!offset) offset = 0 -/***/ "./node_modules/core-js/modules/es6.typed.uint8-array.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.uint8-array.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const oldOffset = offset + offset += 2 + string.encode(data.cpu, buf, offset) + offset += string.encode.bytes + string.encode(data.os, buf, offset) + offset += string.encode.bytes + buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) + rhinfo.encode.bytes = offset - oldOffset + return buf +} -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}); +rhinfo.encode.bytes = 0 +rhinfo.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ }), + const oldOffset = offset -/***/ "./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": -/*!***********************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const data = {} + offset += 2 + data.cpu = string.decode(buf, offset) + offset += string.decode.bytes + data.os = string.decode(buf, offset) + offset += string.decode.bytes + rhinfo.decode.bytes = offset - oldOffset + return data +} -__webpack_require__(/*! ./_typed-array */ "./node_modules/core-js/modules/_typed-array.js")('Uint8', 1, function (init) { - return function Uint8ClampedArray(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; -}, true); +rhinfo.decode.bytes = 0 +rhinfo.encodingLength = function (data) { + return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2 +} -/***/ }), +const rptr = exports.ptr = {} +const rcname = exports.cname = rptr +const rdname = exports.dname = rptr -/***/ "./node_modules/core-js/modules/es6.weak-map.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.weak-map.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 40:15-29 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +rptr.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rptr.encodingLength(data)) + if (!offset) offset = 0 -"use strict"; + name.encode(data, buf, offset + 2) + buf.writeUInt16BE(name.encode.bytes, offset) + rptr.encode.bytes = name.encode.bytes + 2 + return buf +} -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var each = __webpack_require__(/*! ./_array-methods */ "./node_modules/core-js/modules/_array-methods.js")(0); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var meta = __webpack_require__(/*! ./_meta */ "./node_modules/core-js/modules/_meta.js"); -var assign = __webpack_require__(/*! ./_object-assign */ "./node_modules/core-js/modules/_object-assign.js"); -var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); -var isObject = __webpack_require__(/*! ./_is-object */ "./node_modules/core-js/modules/_is-object.js"); -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; -var WEAK_MAP = 'WeakMap'; -var getWeak = meta.getWeak; -var isExtensible = Object.isExtensible; -var uncaughtFrozenStore = weak.ufstore; -var InternalMap; +rptr.encode.bytes = 0 -var wrapper = function (get) { - return function WeakMap() { - return get(this, arguments.length > 0 ? arguments[0] : undefined); - }; -}; +rptr.decode = function (buf, offset) { + if (!offset) offset = 0 -var methods = { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - if (isObject(key)) { - var data = getWeak(key); - if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); - return data ? data[this._i] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return weak.def(validate(this, WEAK_MAP), key, value); - } -}; + const data = name.decode(buf, offset + 2) + rptr.decode.bytes = name.decode.bytes + 2 + return data +} -// 23.3 WeakMap Objects -var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); +rptr.decode.bytes = 0 -// IE11 WeakMap frozen keys fix -if (NATIVE_WEAK_MAP && IS_IE11) { - InternalMap = weak.getConstructor(wrapper, WEAK_MAP); - assign(InternalMap.prototype, methods); - meta.NEED = true; - each(['delete', 'has', 'get', 'set'], function (key) { - var proto = $WeakMap.prototype; - var method = proto[key]; - redefine(proto, key, function (a, b) { - // store frozen objects on internal weakmap shim - if (isObject(a) && !isExtensible(a)) { - if (!this._f) this._f = new InternalMap(); - var result = this._f[key](a, b); - return key == 'set' ? this : result; - // store all the rest on native weakmap - } return method.call(this, a, b); - }); - }); +rptr.encodingLength = function (data) { + return name.encodingLength(data) + 2 } +const rsrv = exports.srv = {} -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.weak-set.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/es6.weak-set.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rsrv.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data)) + if (!offset) offset = 0 -"use strict"; + buf.writeUInt16BE(data.priority || 0, offset + 2) + buf.writeUInt16BE(data.weight || 0, offset + 4) + buf.writeUInt16BE(data.port || 0, offset + 6) + name.encode(data.target, buf, offset + 8) -var weak = __webpack_require__(/*! ./_collection-weak */ "./node_modules/core-js/modules/_collection-weak.js"); -var validate = __webpack_require__(/*! ./_validate-collection */ "./node_modules/core-js/modules/_validate-collection.js"); -var WEAK_SET = 'WeakSet'; - -// 23.4 WeakSet Objects -__webpack_require__(/*! ./_collection */ "./node_modules/core-js/modules/_collection.js")(WEAK_SET, function (get) { - return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; -}, { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return weak.def(validate(this, WEAK_SET), value, true); - } -}, weak, false, true); + const len = name.encode.bytes + 6 + buf.writeUInt16BE(len, offset) + rsrv.encode.bytes = len + 2 + return buf +} -/***/ }), +rsrv.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rsrv.decode = function (buf, offset) { + if (!offset) offset = 0 -"use strict"; + const len = buf.readUInt16BE(offset) -// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ "./node_modules/core-js/modules/_flatten-into-array.js"); -var toObject = __webpack_require__(/*! ./_to-object */ "./node_modules/core-js/modules/_to-object.js"); -var toLength = __webpack_require__(/*! ./_to-length */ "./node_modules/core-js/modules/_to-length.js"); -var aFunction = __webpack_require__(/*! ./_a-function */ "./node_modules/core-js/modules/_a-function.js"); -var arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ "./node_modules/core-js/modules/_array-species-create.js"); + const data = {} + data.priority = buf.readUInt16BE(offset + 2) + data.weight = buf.readUInt16BE(offset + 4) + data.port = buf.readUInt16BE(offset + 6) + data.target = name.decode(buf, offset + 8) -$export($export.P, 'Array', { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen, A; - aFunction(callbackfn); - sourceLen = toLength(O.length); - A = arraySpeciesCreate(O, 0); - flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); - return A; - } -}); + rsrv.decode.bytes = len + 2 + return data +} -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('flatMap'); +rsrv.decode.bytes = 0 +rsrv.encodingLength = function (data) { + return 8 + name.encodingLength(data.target) +} -/***/ }), +const rcaa = exports.caa = {} -/***/ "./node_modules/core-js/modules/es7.array.includes.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.array.includes.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rcaa.ISSUER_CRITICAL = 1 << 7 -"use strict"; +rcaa.encode = function (data, buf, offset) { + const len = rcaa.encodingLength(data) -// https://github.com/tc39/Array.prototype.includes -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $includes = __webpack_require__(/*! ./_array-includes */ "./node_modules/core-js/modules/_array-includes.js")(true); + if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data)) + if (!offset) offset = 0 -$export($export.P, 'Array', { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); + if (data.issuerCritical) { + data.flags = rcaa.ISSUER_CRITICAL } -}); -__webpack_require__(/*! ./_add-to-unscopables */ "./node_modules/core-js/modules/_add-to-unscopables.js")('includes'); + buf.writeUInt16BE(len - 2, offset) + offset += 2 + buf.writeUInt8(data.flags || 0, offset) + offset += 1 + string.encode(data.tag, buf, offset) + offset += string.encode.bytes + buf.write(data.value, offset) + offset += Buffer.byteLength(data.value) + rcaa.encode.bytes = len + return buf +} -/***/ }), +rcaa.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/es7.object.entries.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.object.entries.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rcaa.decode = function (buf, offset) { + if (!offset) offset = 0 -// https://github.com/tc39/proposal-object-values-entries -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $entries = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(true); + const len = buf.readUInt16BE(offset) + offset += 2 -$export($export.S, 'Object', { - entries: function entries(it) { - return $entries(it); - } -}); + const oldOffset = offset + const data = {} + data.flags = buf.readUInt8(offset) + offset += 1 + data.tag = string.decode(buf, offset) + offset += string.decode.bytes + data.value = buf.toString('utf-8', offset, oldOffset + len) + data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL) -/***/ }), + rcaa.decode.bytes = len + 2 -/***/ "./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + return data +} -// https://github.com/tc39/proposal-object-getownpropertydescriptors -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var ownKeys = __webpack_require__(/*! ./_own-keys */ "./node_modules/core-js/modules/_own-keys.js"); -var toIObject = __webpack_require__(/*! ./_to-iobject */ "./node_modules/core-js/modules/_to-iobject.js"); -var gOPD = __webpack_require__(/*! ./_object-gopd */ "./node_modules/core-js/modules/_object-gopd.js"); -var createProperty = __webpack_require__(/*! ./_create-property */ "./node_modules/core-js/modules/_create-property.js"); +rcaa.decode.bytes = 0 -$export($export.S, 'Object', { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIObject(object); - var getDesc = gOPD.f; - var keys = ownKeys(O); - var result = {}; - var i = 0; - var key, desc; - while (keys.length > i) { - desc = getDesc(O, key = keys[i++]); - if (desc !== undefined) createProperty(result, key, desc); - } - return result; - } -}); +rcaa.encodingLength = function (data) { + return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2 +} +const rmx = exports.mx = {} -/***/ }), +rmx.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rmx.encodingLength(data)) + if (!offset) offset = 0 -/***/ "./node_modules/core-js/modules/es7.object.values.js": -/*!***********************************************************!*\ - !*** ./node_modules/core-js/modules/es7.object.values.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const oldOffset = offset + offset += 2 + buf.writeUInt16BE(data.preference || 0, offset) + offset += 2 + name.encode(data.exchange, buf, offset) + offset += name.encode.bytes -// https://github.com/tc39/proposal-object-values-entries -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $values = __webpack_require__(/*! ./_object-to-array */ "./node_modules/core-js/modules/_object-to-array.js")(false); + buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) + rmx.encode.bytes = offset - oldOffset + return buf +} -$export($export.S, 'Object', { - values: function values(it) { - return $values(it); - } -}); +rmx.encode.bytes = 0 +rmx.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ }), + const oldOffset = offset -/***/ "./node_modules/core-js/modules/es7.promise.finally.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.promise.finally.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + const data = {} + offset += 2 + data.preference = buf.readUInt16BE(offset) + offset += 2 + data.exchange = name.decode(buf, offset) + offset += name.decode.bytes -"use strict"; -// https://github.com/tc39/proposal-promise-finally + rmx.decode.bytes = offset - oldOffset + return data +} -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var core = __webpack_require__(/*! ./_core */ "./node_modules/core-js/modules/_core.js"); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "./node_modules/core-js/modules/_species-constructor.js"); -var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "./node_modules/core-js/modules/_promise-resolve.js"); +rmx.encodingLength = function (data) { + return 4 + name.encodingLength(data.exchange) +} -$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { - var C = speciesConstructor(this, core.Promise || global.Promise); - var isFunction = typeof onFinally == 'function'; - return this.then( - isFunction ? function (x) { - return promiseResolve(C, onFinally()).then(function () { return x; }); - } : onFinally, - isFunction ? function (e) { - return promiseResolve(C, onFinally()).then(function () { throw e; }); - } : onFinally - ); -} }); +const ra = exports.a = {} +ra.encode = function (host, buf, offset) { + if (!buf) buf = Buffer.alloc(ra.encodingLength(host)) + if (!offset) offset = 0 -/***/ }), + buf.writeUInt16BE(4, offset) + offset += 2 + ip.v4.encode(host, buf, offset) + ra.encode.bytes = 6 + return buf +} -/***/ "./node_modules/core-js/modules/es7.string.pad-end.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.string.pad-end.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +ra.encode.bytes = 0 -"use strict"; +ra.decode = function (buf, offset) { + if (!offset) offset = 0 -// https://github.com/tc39/proposal-string-pad-start-end -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); -var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); + offset += 2 + const host = ip.v4.decode(buf, offset) + ra.decode.bytes = 6 + return host +} -// https://github.com/zloirock/core-js/issues/280 -var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); +ra.decode.bytes = 0 -$export($export.P + $export.F * WEBKIT_BUG, 'String', { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); - } -}); +ra.encodingLength = function () { + return 6 +} +const raaaa = exports.aaaa = {} -/***/ }), +raaaa.encode = function (host, buf, offset) { + if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host)) + if (!offset) offset = 0 -/***/ "./node_modules/core-js/modules/es7.string.pad-start.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.string.pad-start.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + buf.writeUInt16BE(16, offset) + offset += 2 + ip.v6.encode(host, buf, offset) + raaaa.encode.bytes = 18 + return buf +} -"use strict"; +raaaa.encode.bytes = 0 -// https://github.com/tc39/proposal-string-pad-start-end -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $pad = __webpack_require__(/*! ./_string-pad */ "./node_modules/core-js/modules/_string-pad.js"); -var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); +raaaa.decode = function (buf, offset) { + if (!offset) offset = 0 -// https://github.com/zloirock/core-js/issues/280 -var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); + offset += 2 + const host = ip.v6.decode(buf, offset) + raaaa.decode.bytes = 18 + return host +} -$export($export.P + $export.F * WEBKIT_BUG, 'String', { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); - } -}); +raaaa.decode.bytes = 0 +raaaa.encodingLength = function () { + return 18 +} -/***/ }), +const roption = exports.option = {} -/***/ "./node_modules/core-js/modules/es7.string.trim-left.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.string.trim-left.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +roption.encode = function (option, buf, offset) { + if (!buf) buf = Buffer.alloc(roption.encodingLength(option)) + if (!offset) offset = 0 + const oldOffset = offset -"use strict"; + const code = optioncodes.toCode(option.code) + buf.writeUInt16BE(code, offset) + offset += 2 + if (option.data) { + buf.writeUInt16BE(option.data.length, offset) + offset += 2 + option.data.copy(buf, offset) + offset += option.data.length + } else { + switch (code) { + // case 3: NSID. No encode makes sense. + // case 5,6,7: Not implementable + case 8: // ECS + // note: do IP math before calling + const spl = option.sourcePrefixLength || 0 + const fam = option.family || ip.familyOf(option.ip) + const ipBuf = ip.encode(option.ip, Buffer.alloc) + const ipLen = Math.ceil(spl / 8) + buf.writeUInt16BE(ipLen + 4, offset) + offset += 2 + buf.writeUInt16BE(fam, offset) + offset += 2 + buf.writeUInt8(spl, offset++) + buf.writeUInt8(option.scopePrefixLength || 0, offset++) -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimLeft', function ($trim) { - return function trimLeft() { - return $trim(this, 1); - }; -}, 'trimStart'); + ipBuf.copy(buf, offset, 0, ipLen) + offset += ipLen + break + // case 9: EXPIRE (experimental) + // case 10: COOKIE. No encode makes sense. + case 11: // KEEP-ALIVE + if (option.timeout) { + buf.writeUInt16BE(2, offset) + offset += 2 + buf.writeUInt16BE(option.timeout, offset) + offset += 2 + } else { + buf.writeUInt16BE(0, offset) + offset += 2 + } + break + case 12: // PADDING + const len = option.length || 0 + buf.writeUInt16BE(len, offset) + offset += 2 + buf.fill(0, offset, offset + len) + offset += len + break + // case 13: CHAIN. Experimental. + case 14: // KEY-TAG + const tagsLen = option.tags.length * 2 + buf.writeUInt16BE(tagsLen, offset) + offset += 2 + for (const tag of option.tags) { + buf.writeUInt16BE(tag, offset) + offset += 2 + } + break + default: + throw new Error(`Unknown roption code: ${option.code}`) + } + } + roption.encode.bytes = offset - oldOffset + return buf +} -/***/ }), +roption.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/es7.string.trim-right.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.string.trim-right.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +roption.decode = function (buf, offset) { + if (!offset) offset = 0 + const option = {} + option.code = buf.readUInt16BE(offset) + option.type = optioncodes.toString(option.code) + offset += 2 + const len = buf.readUInt16BE(offset) + offset += 2 + option.data = buf.slice(offset, offset + len) + switch (option.code) { + // case 3: NSID. No decode makes sense. + case 8: // ECS + option.family = buf.readUInt16BE(offset) + offset += 2 + option.sourcePrefixLength = buf.readUInt8(offset++) + option.scopePrefixLength = buf.readUInt8(offset++) + const padded = Buffer.alloc((option.family === 1) ? 4 : 16) + buf.copy(padded, 0, offset, offset + len - 4) + option.ip = ip.decode(padded) + break + // case 12: Padding. No decode makes sense. + case 11: // KEEP-ALIVE + if (len > 0) { + option.timeout = buf.readUInt16BE(offset) + offset += 2 + } + break + case 14: + option.tags = [] + for (let i = 0; i < len; i += 2) { + option.tags.push(buf.readUInt16BE(offset)) + offset += 2 + } + // don't worry about default. caller will use data if desired + } -"use strict"; + roption.decode.bytes = len + 4 + return option +} -// https://github.com/sebmarkbage/ecmascript-string-left-right-trim -__webpack_require__(/*! ./_string-trim */ "./node_modules/core-js/modules/_string-trim.js")('trimRight', function ($trim) { - return function trimRight() { - return $trim(this, 2); - }; -}, 'trimEnd'); +roption.decode.bytes = 0 +roption.encodingLength = function (option) { + if (option.data) { + return option.data.length + 4 + } + const code = optioncodes.toCode(option.code) + switch (code) { + case 8: // ECS + const spl = option.sourcePrefixLength || 0 + return Math.ceil(spl / 8) + 8 + case 11: // KEEP-ALIVE + return (typeof option.timeout === 'number') ? 6 : 4 + case 12: // PADDING + return option.length + 4 + case 14: // KEY-TAG + return 4 + (option.tags.length * 2) + } + throw new Error(`Unknown roption code: ${option.code}`) +} -/***/ }), +const ropt = exports.opt = {} -/***/ "./node_modules/core-js/modules/es7.symbol.async-iterator.js": -/*!*******************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.symbol.async-iterator.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +ropt.encode = function (options, buf, offset) { + if (!buf) buf = Buffer.alloc(ropt.encodingLength(options)) + if (!offset) offset = 0 + const oldOffset = offset -__webpack_require__(/*! ./_wks-define */ "./node_modules/core-js/modules/_wks-define.js")('asyncIterator'); + const rdlen = encodingLengthList(options, roption) + buf.writeUInt16BE(rdlen, offset) + offset = encodeList(options, roption, buf, offset + 2) + ropt.encode.bytes = offset - oldOffset + return buf +} -/***/ }), +ropt.encode.bytes = 0 -/***/ "./node_modules/core-js/modules/web.dom.iterable.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/web.dom.iterable.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +ropt.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset -var $iterators = __webpack_require__(/*! ./es6.array.iterator */ "./node_modules/core-js/modules/es6.array.iterator.js"); -var getKeys = __webpack_require__(/*! ./_object-keys */ "./node_modules/core-js/modules/_object-keys.js"); -var redefine = __webpack_require__(/*! ./_redefine */ "./node_modules/core-js/modules/_redefine.js"); -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var hide = __webpack_require__(/*! ./_hide */ "./node_modules/core-js/modules/_hide.js"); -var Iterators = __webpack_require__(/*! ./_iterators */ "./node_modules/core-js/modules/_iterators.js"); -var wks = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js"); -var ITERATOR = wks('iterator'); -var TO_STRING_TAG = wks('toStringTag'); -var ArrayValues = Iterators.Array; + const options = [] + let rdlen = buf.readUInt16BE(offset) + offset += 2 + let o = 0 + while (rdlen > 0) { + options[o++] = roption.decode(buf, offset) + offset += roption.decode.bytes + rdlen -= roption.decode.bytes + } + ropt.decode.bytes = offset - oldOffset + return options +} -var DOMIterables = { - CSSRuleList: true, // TODO: Not spec compliant, should be false. - CSSStyleDeclaration: false, - CSSValueList: false, - ClientRectList: false, - DOMRectList: false, - DOMStringList: false, - DOMTokenList: true, - DataTransferItemList: false, - FileList: false, - HTMLAllCollection: false, - HTMLCollection: false, - HTMLFormElement: false, - HTMLSelectElement: false, - MediaList: true, // TODO: Not spec compliant, should be false. - MimeTypeArray: false, - NamedNodeMap: false, - NodeList: true, - PaintRequestList: false, - Plugin: false, - PluginArray: false, - SVGLengthList: false, - SVGNumberList: false, - SVGPathSegList: false, - SVGPointList: false, - SVGStringList: false, - SVGTransformList: false, - SourceBufferList: false, - StyleSheetList: true, // TODO: Not spec compliant, should be false. - TextTrackCueList: false, - TextTrackList: false, - TouchList: false -}; +ropt.decode.bytes = 0 -for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { - var NAME = collections[i]; - var explicit = DOMIterables[NAME]; - var Collection = global[NAME]; - var proto = Collection && Collection.prototype; - var key; - if (proto) { - if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); - if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); - Iterators[NAME] = ArrayValues; - if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); +ropt.encodingLength = function (options) { + return 2 + encodingLengthList(options || [], roption) +} + +const rdnskey = exports.dnskey = {} + +rdnskey.PROTOCOL_DNSSEC = 3 +rdnskey.ZONE_KEY = 0x80 +rdnskey.SECURE_ENTRYPOINT = 0x8000 + +rdnskey.encode = function (key, buf, offset) { + if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key)) + if (!offset) offset = 0 + const oldOffset = offset + + const keydata = key.key + if (!Buffer.isBuffer(keydata)) { + throw new Error('Key must be a Buffer') } + + offset += 2 // Leave space for length + buf.writeUInt16BE(key.flags, offset) + offset += 2 + buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset) + offset += 1 + buf.writeUInt8(key.algorithm, offset) + offset += 1 + keydata.copy(buf, offset, 0, keydata.length) + offset += keydata.length + + rdnskey.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset) + return buf } +rdnskey.encode.bytes = 0 -/***/ }), +rdnskey.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset -/***/ "./node_modules/core-js/modules/web.immediate.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/web.immediate.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + var key = {} + var length = buf.readUInt16BE(offset) + offset += 2 + key.flags = buf.readUInt16BE(offset) + offset += 2 + if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) { + throw new Error('Protocol must be 3') + } + offset += 1 + key.algorithm = buf.readUInt8(offset) + offset += 1 + key.key = buf.slice(offset, oldOffset + length + 2) + offset += key.key.length + rdnskey.decode.bytes = offset - oldOffset + return key +} -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var $task = __webpack_require__(/*! ./_task */ "./node_modules/core-js/modules/_task.js"); -$export($export.G + $export.B, { - setImmediate: $task.set, - clearImmediate: $task.clear -}); +rdnskey.decode.bytes = 0 +rdnskey.encodingLength = function (key) { + return 6 + Buffer.byteLength(key.key) +} -/***/ }), +const rrrsig = exports.rrsig = {} -/***/ "./node_modules/core-js/modules/web.timers.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/web.timers.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__ */ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { +rrrsig.encode = function (sig, buf, offset) { + if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig)) + if (!offset) offset = 0 + const oldOffset = offset -// ie9- setTimeout & setInterval additional parameters fix -var global = __webpack_require__(/*! ./_global */ "./node_modules/core-js/modules/_global.js"); -var $export = __webpack_require__(/*! ./_export */ "./node_modules/core-js/modules/_export.js"); -var userAgent = __webpack_require__(/*! ./_user-agent */ "./node_modules/core-js/modules/_user-agent.js"); -var slice = [].slice; -var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check -var wrap = function (set) { - return function (fn, time /* , ...args */) { - var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : false; - return set(boundArgs ? function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); - } : fn, time); - }; -}; -$export($export.G + $export.B + $export.F * MSIE, { - setTimeout: wrap(global.setTimeout), - setInterval: wrap(global.setInterval) -}); + const signature = sig.signature + if (!Buffer.isBuffer(signature)) { + throw new Error('Signature must be a Buffer') + } + offset += 2 // Leave space for length + buf.writeUInt16BE(types.toType(sig.typeCovered), offset) + offset += 2 + buf.writeUInt8(sig.algorithm, offset) + offset += 1 + buf.writeUInt8(sig.labels, offset) + offset += 1 + buf.writeUInt32BE(sig.originalTTL, offset) + offset += 4 + buf.writeUInt32BE(sig.expiration, offset) + offset += 4 + buf.writeUInt32BE(sig.inception, offset) + offset += 4 + buf.writeUInt16BE(sig.keyTag, offset) + offset += 2 + name.encode(sig.signersName, buf, offset) + offset += name.encode.bytes + signature.copy(buf, offset, 0, signature.length) + offset += signature.length -/***/ }), + rrrsig.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset) + return buf +} -/***/ "./node_modules/core-js/web/index.js": -/*!*******************************************!*\ - !*** ./node_modules/core-js/web/index.js ***! - \*******************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/core-js/modules/_core.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +rrrsig.encode.bytes = 0 -__webpack_require__(/*! ../modules/web.timers */ "./node_modules/core-js/modules/web.timers.js"); -__webpack_require__(/*! ../modules/web.immediate */ "./node_modules/core-js/modules/web.immediate.js"); -__webpack_require__(/*! ../modules/web.dom.iterable */ "./node_modules/core-js/modules/web.dom.iterable.js"); -module.exports = __webpack_require__(/*! ../modules/_core */ "./node_modules/core-js/modules/_core.js"); +rrrsig.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset + var sig = {} + var length = buf.readUInt16BE(offset) + offset += 2 + sig.typeCovered = types.toString(buf.readUInt16BE(offset)) + offset += 2 + sig.algorithm = buf.readUInt8(offset) + offset += 1 + sig.labels = buf.readUInt8(offset) + offset += 1 + sig.originalTTL = buf.readUInt32BE(offset) + offset += 4 + sig.expiration = buf.readUInt32BE(offset) + offset += 4 + sig.inception = buf.readUInt32BE(offset) + offset += 4 + sig.keyTag = buf.readUInt16BE(offset) + offset += 2 + sig.signersName = name.decode(buf, offset) + offset += name.decode.bytes + sig.signature = buf.slice(offset, oldOffset + length + 2) + offset += sig.signature.length + rrrsig.decode.bytes = offset - oldOffset + return sig +} -/***/ }), +rrrsig.decode.bytes = 0 -/***/ "./node_modules/debug/node_modules/ms/index.js": -/*!*****************************************************!*\ - !*** ./node_modules/debug/node_modules/ms/index.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module) => { +rrrsig.encodingLength = function (sig) { + return 20 + + name.encodingLength(sig.signersName) + + Buffer.byteLength(sig.signature) +} -/** - * Helpers. - */ +const rrp = exports.rp = {} -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var w = d * 7; -var y = d * 365.25; +rrp.encode = function (data, buf, offset) { + if (!buf) buf = Buffer.alloc(rrp.encodingLength(data)) + if (!offset) offset = 0 + const oldOffset = offset -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ + offset += 2 // Leave space for length + name.encode(data.mbox || '.', buf, offset) + offset += name.encode.bytes + name.encode(data.txt || '.', buf, offset) + offset += name.encode.bytes + rrp.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset) + return buf +} -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isFinite(val)) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; +rrp.encode.bytes = 0 -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ +rrp.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'weeks': - case 'week': - case 'w': - return n * w; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } + const data = {} + offset += 2 + data.mbox = name.decode(buf, offset) || '.' + offset += name.decode.bytes + data.txt = name.decode(buf, offset) || '.' + offset += name.decode.bytes + rrp.decode.bytes = offset - oldOffset + return data } -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +rrp.decode.bytes = 0 -function fmtShort(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return Math.round(ms / d) + 'd'; - } - if (msAbs >= h) { - return Math.round(ms / h) + 'h'; - } - if (msAbs >= m) { - return Math.round(ms / m) + 'm'; - } - if (msAbs >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; +rrp.encodingLength = function (data) { + return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.') } -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +const typebitmap = {} -function fmtLong(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, 'day'); - } - if (msAbs >= h) { - return plural(ms, msAbs, h, 'hour'); - } - if (msAbs >= m) { - return plural(ms, msAbs, m, 'minute'); +typebitmap.encode = function (typelist, buf, offset) { + if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist)) + if (!offset) offset = 0 + const oldOffset = offset + + var typesByWindow = [] + for (var i = 0; i < typelist.length; i++) { + var typeid = types.toType(typelist[i]) + if (typesByWindow[typeid >> 8] === undefined) { + typesByWindow[typeid >> 8] = [] + } + typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7)) } - if (msAbs >= s) { - return plural(ms, msAbs, s, 'second'); + + for (i = 0; i < typesByWindow.length; i++) { + if (typesByWindow[i] !== undefined) { + var windowBuf = Buffer.from(typesByWindow[i]) + buf.writeUInt8(i, offset) + offset += 1 + buf.writeUInt8(windowBuf.length, offset) + offset += 1 + windowBuf.copy(buf, offset) + offset += windowBuf.length + } } - return ms + ' ms'; + + typebitmap.encode.bytes = offset - oldOffset + return buf } -/** - * Pluralization helper. - */ +typebitmap.encode.bytes = 0 -function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +typebitmap.decode = function (buf, offset, length) { + if (!offset) offset = 0 + const oldOffset = offset + + var typelist = [] + while (offset - oldOffset < length) { + var window = buf.readUInt8(offset) + offset += 1 + var windowLength = buf.readUInt8(offset) + offset += 1 + for (var i = 0; i < windowLength; i++) { + var b = buf.readUInt8(offset + i) + for (var j = 0; j < 8; j++) { + if (b & (1 << (7 - j))) { + var typeid = types.toString((window << 8) | (i << 3) | j) + typelist.push(typeid) + } + } + } + offset += windowLength + } + + typebitmap.decode.bytes = offset - oldOffset + return typelist } +typebitmap.decode.bytes = 0 -/***/ }), +typebitmap.encodingLength = function (typelist) { + var extents = [] + for (var i = 0; i < typelist.length; i++) { + var typeid = types.toType(typelist[i]) + extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF) + } -/***/ "./node_modules/debug/src/browser.js": -/*!*******************************************!*\ - !*** ./node_modules/debug/src/browser.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports.humanize(...) prevents optimization as module.exports is passed as call context as 152:8-31 */ -/*! CommonJS bailout: exports is used directly at 255:37-44 */ -/*! CommonJS bailout: module.exports is used directly at 255:0-14 */ -/*! CommonJS bailout: module.exports is used directly at 257:21-35 */ -/***/ ((module, exports, __webpack_require__) => { + var len = 0 + for (i = 0; i < extents.length; i++) { + if (extents[i] !== undefined) { + len += 2 + Math.ceil((extents[i] + 1) / 8) + } + } -/* eslint-env browser */ + return len +} -/** - * This is the web browser implementation of `debug()`. - */ +const rnsec = exports.nsec = {} -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = localstorage(); -exports.destroy = (() => { - let warned = false; +rnsec.encode = function (record, buf, offset) { + if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record)) + if (!offset) offset = 0 + const oldOffset = offset - return () => { - if (!warned) { - warned = true; - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - }; -})(); - -/** - * Colors. - */ + offset += 2 // Leave space for length + name.encode(record.nextDomain, buf, offset) + offset += name.encode.bytes + typebitmap.encode(record.rrtypes, buf, offset) + offset += typebitmap.encode.bytes -exports.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' -]; + rnsec.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset) + return buf +} -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ +rnsec.encode.bytes = 0 -// eslint-disable-next-line complexity -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { - return true; - } +rnsec.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset - // Internet Explorer and Edge do not support colors. - if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { - return false; - } + var record = {} + var length = buf.readUInt16BE(offset) + offset += 2 + record.nextDomain = name.decode(buf, offset) + offset += name.decode.bytes + record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset)) + offset += typebitmap.decode.bytes - // Is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // Is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // Is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // Double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); + rnsec.decode.bytes = offset - oldOffset + return record } -/** - * Colorize log arguments if enabled. - * - * @api public - */ +rnsec.decode.bytes = 0 -function formatArgs(args) { - args[0] = (this.useColors ? '%c' : '') + - this.namespace + - (this.useColors ? ' %c' : ' ') + - args[0] + - (this.useColors ? '%c ' : ' ') + - '+' + module.exports.humanize(this.diff); +rnsec.encodingLength = function (record) { + return 2 + + name.encodingLength(record.nextDomain) + + typebitmap.encodingLength(record.rrtypes) +} - if (!this.useColors) { - return; - } +const rnsec3 = exports.nsec3 = {} - const c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit'); +rnsec3.encode = function (record, buf, offset) { + if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record)) + if (!offset) offset = 0 + const oldOffset = offset - // The final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - let index = 0; - let lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, match => { - if (match === '%%') { - return; - } - index++; - if (match === '%c') { - // We only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); + const salt = record.salt + if (!Buffer.isBuffer(salt)) { + throw new Error('salt must be a Buffer') + } - args.splice(lastC, 0, c); -} + const nextDomain = record.nextDomain + if (!Buffer.isBuffer(nextDomain)) { + throw new Error('nextDomain must be a Buffer') + } -/** - * Invokes `console.debug()` when available. - * No-op when `console.debug` is not a "function". - * If `console.debug` is not available, falls back - * to `console.log`. - * - * @api public - */ -exports.log = console.debug || console.log || (() => {}); + offset += 2 // Leave space for length + buf.writeUInt8(record.algorithm, offset) + offset += 1 + buf.writeUInt8(record.flags, offset) + offset += 1 + buf.writeUInt16BE(record.iterations, offset) + offset += 2 + buf.writeUInt8(salt.length, offset) + offset += 1 + salt.copy(buf, offset, 0, salt.length) + offset += salt.length + buf.writeUInt8(nextDomain.length, offset) + offset += 1 + nextDomain.copy(buf, offset, 0, nextDomain.length) + offset += nextDomain.length + typebitmap.encode(record.rrtypes, buf, offset) + offset += typebitmap.encode.bytes -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - try { - if (namespaces) { - exports.storage.setItem('debug', namespaces); - } else { - exports.storage.removeItem('debug'); - } - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } + rnsec3.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset) + return buf } -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ -function load() { - let r; - try { - r = exports.storage.getItem('debug'); - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } - - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } +rnsec3.encode.bytes = 0 - return r; -} +rnsec3.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ + var record = {} + var length = buf.readUInt16BE(offset) + offset += 2 + record.algorithm = buf.readUInt8(offset) + offset += 1 + record.flags = buf.readUInt8(offset) + offset += 1 + record.iterations = buf.readUInt16BE(offset) + offset += 2 + const saltLength = buf.readUInt8(offset) + offset += 1 + record.salt = buf.slice(offset, offset + saltLength) + offset += saltLength + const hashLength = buf.readUInt8(offset) + offset += 1 + record.nextDomain = buf.slice(offset, offset + hashLength) + offset += hashLength + record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset)) + offset += typebitmap.decode.bytes -function localstorage() { - try { - // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context - // The Browser also has localStorage in the global context. - return localStorage; - } catch (error) { - // Swallow - // XXX (@Qix-) should we be logging these? - } + rnsec3.decode.bytes = offset - oldOffset + return record } -module.exports = __webpack_require__(/*! ./common */ "./node_modules/debug/src/common.js")(exports); +rnsec3.decode.bytes = 0 -const {formatters} = module.exports; +rnsec3.encodingLength = function (record) { + return 8 + + record.salt.length + + record.nextDomain.length + + typebitmap.encodingLength(record.rrtypes) +} -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ +const rds = exports.ds = {} -formatters.j = function (v) { - try { - return JSON.stringify(v); - } catch (error) { - return '[UnexpectedJSONParseError]: ' + error.message; - } -}; +rds.encode = function (digest, buf, offset) { + if (!buf) buf = Buffer.alloc(rds.encodingLength(digest)) + if (!offset) offset = 0 + const oldOffset = offset + const digestdata = digest.digest + if (!Buffer.isBuffer(digestdata)) { + throw new Error('Digest must be a Buffer') + } -/***/ }), + offset += 2 // Leave space for length + buf.writeUInt16BE(digest.keyTag, offset) + offset += 2 + buf.writeUInt8(digest.algorithm, offset) + offset += 1 + buf.writeUInt8(digest.digestType, offset) + offset += 1 + digestdata.copy(buf, offset, 0, digestdata.length) + offset += digestdata.length -/***/ "./node_modules/debug/src/common.js": -/*!******************************************!*\ - !*** ./node_modules/debug/src/common.js ***! - \******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 274:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + rds.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset) + return buf +} +rds.encode.bytes = 0 -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - */ +rds.decode = function (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset -function setup(env) { - createDebug.debug = createDebug; - createDebug.default = createDebug; - createDebug.coerce = coerce; - createDebug.disable = disable; - createDebug.enable = enable; - createDebug.enabled = enabled; - createDebug.humanize = __webpack_require__(/*! ms */ "./node_modules/debug/node_modules/ms/index.js"); - createDebug.destroy = destroy; + var digest = {} + var length = buf.readUInt16BE(offset) + offset += 2 + digest.keyTag = buf.readUInt16BE(offset) + offset += 2 + digest.algorithm = buf.readUInt8(offset) + offset += 1 + digest.digestType = buf.readUInt8(offset) + offset += 1 + digest.digest = buf.slice(offset, oldOffset + length + 2) + offset += digest.digest.length + rds.decode.bytes = offset - oldOffset + return digest +} - Object.keys(env).forEach(key => { - createDebug[key] = env[key]; - }); +rds.decode.bytes = 0 - /** - * The currently active debug mode names, and names to skip. - */ +rds.encodingLength = function (digest) { + return 6 + Buffer.byteLength(digest.digest) +} - createDebug.names = []; - createDebug.skips = []; +const rsshfp = exports.sshfp = {} - /** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - createDebug.formatters = {}; +rsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) { + switch (hashType) { + case 1: return 20 + case 2: return 32 + } +} - /** - * Selects a color for a debug namespace - * @param {String} namespace The namespace string for the debug instance to be colored - * @return {Number|String} An ANSI color code for the given namespace - * @api private - */ - function selectColor(namespace) { - let hash = 0; +rsshfp.encode = function encode (record, buf, offset) { + if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record)) + if (!offset) offset = 0 + const oldOffset = offset - for (let i = 0; i < namespace.length; i++) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } + offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one + buf[offset] = record.algorithm + offset += 1 + buf[offset] = record.hash + offset += 1 - return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; - } - createDebug.selectColor = selectColor; + const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex') + if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) { + throw new Error('Invalid fingerprint length') + } + fingerprintBuf.copy(buf, offset) + offset += fingerprintBuf.byteLength - /** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - function createDebug(namespace) { - let prevTime; - let enableOverride = null; - let namespacesCache; - let enabledCache; + rsshfp.encode.bytes = offset - oldOffset + buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset) - function debug(...args) { - // Disabled? - if (!debug.enabled) { - return; - } + return buf +} - const self = debug; +rsshfp.encode.bytes = 0 - // Set `diff` timestamp - const curr = Number(new Date()); - const ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; +rsshfp.decode = function decode (buf, offset) { + if (!offset) offset = 0 + const oldOffset = offset - args[0] = createDebug.coerce(args[0]); + const record = {} + offset += 2 // Account for the RDLENGTH field + record.algorithm = buf[offset] + offset += 1 + record.hash = buf[offset] + offset += 1 - if (typeof args[0] !== 'string') { - // Anything else let's inspect with %O - args.unshift('%O'); - } + const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash) + record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase() + offset += fingerprintLength + rsshfp.decode.bytes = offset - oldOffset + return record +} - // Apply any `formatters` transformations - let index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { - // If we encounter an escaped % then don't increase the array index - if (match === '%%') { - return '%'; - } - index++; - const formatter = createDebug.formatters[format]; - if (typeof formatter === 'function') { - const val = args[index]; - match = formatter.call(self, val); +rsshfp.decode.bytes = 0 - // Now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); +rsshfp.encodingLength = function (record) { + return 4 + Buffer.from(record.fingerprint, 'hex').byteLength +} - // Apply env-specific formatting (colors, etc.) - createDebug.formatArgs.call(self, args); +const renc = exports.record = function (type) { + switch (type.toUpperCase()) { + case 'A': return ra + case 'PTR': return rptr + case 'CNAME': return rcname + case 'DNAME': return rdname + case 'TXT': return rtxt + case 'NULL': return rnull + case 'AAAA': return raaaa + case 'SRV': return rsrv + case 'HINFO': return rhinfo + case 'CAA': return rcaa + case 'NS': return rns + case 'SOA': return rsoa + case 'MX': return rmx + case 'OPT': return ropt + case 'DNSKEY': return rdnskey + case 'RRSIG': return rrrsig + case 'RP': return rrp + case 'NSEC': return rnsec + case 'NSEC3': return rnsec3 + case 'SSHFP': return rsshfp + case 'DS': return rds + } + return runknown +} - const logFn = self.log || createDebug.log; - logFn.apply(self, args); - } +const answer = exports.answer = {} - debug.namespace = namespace; - debug.useColors = createDebug.useColors(); - debug.color = createDebug.selectColor(namespace); - debug.extend = extend; - debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. +answer.encode = function (a, buf, offset) { + if (!buf) buf = Buffer.alloc(answer.encodingLength(a)) + if (!offset) offset = 0 - Object.defineProperty(debug, 'enabled', { - enumerable: true, - configurable: false, - get: () => { - if (enableOverride !== null) { - return enableOverride; - } - if (namespacesCache !== createDebug.namespaces) { - namespacesCache = createDebug.namespaces; - enabledCache = createDebug.enabled(namespace); - } + const oldOffset = offset - return enabledCache; - }, - set: v => { - enableOverride = v; - } - }); + name.encode(a.name, buf, offset) + offset += name.encode.bytes - // Env-specific initialization logic for debug instances - if (typeof createDebug.init === 'function') { - createDebug.init(debug); - } + buf.writeUInt16BE(types.toType(a.type), offset) - return debug; - } + if (a.type.toUpperCase() === 'OPT') { + if (a.name !== '.') { + throw new Error('OPT name must be root.') + } + buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2) + buf.writeUInt8(a.extendedRcode || 0, offset + 4) + buf.writeUInt8(a.ednsVersion || 0, offset + 5) + buf.writeUInt16BE(a.flags || 0, offset + 6) - function extend(namespace, delimiter) { - const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); - newDebug.log = this.log; - return newDebug; - } + offset += 8 + ropt.encode(a.options || [], buf, offset) + offset += ropt.encode.bytes + } else { + let klass = classes.toClass(a.class === undefined ? 'IN' : a.class) + if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit + buf.writeUInt16BE(klass, offset + 2) + buf.writeUInt32BE(a.ttl || 0, offset + 4) - /** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ - function enable(namespaces) { - createDebug.save(namespaces); - createDebug.namespaces = namespaces; + offset += 8 + const enc = renc(a.type) + enc.encode(a.data, buf, offset) + offset += enc.encode.bytes + } - createDebug.names = []; - createDebug.skips = []; + answer.encode.bytes = offset - oldOffset + return buf +} - let i; - const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - const len = split.length; +answer.encode.bytes = 0 - for (i = 0; i < len; i++) { - if (!split[i]) { - // ignore empty strings - continue; - } +answer.decode = function (buf, offset) { + if (!offset) offset = 0 - namespaces = split[i].replace(/\*/g, '.*?'); + const a = {} + const oldOffset = offset - if (namespaces[0] === '-') { - createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); - } else { - createDebug.names.push(new RegExp('^' + namespaces + '$')); - } - } - } + a.name = name.decode(buf, offset) + offset += name.decode.bytes + a.type = types.toString(buf.readUInt16BE(offset)) + if (a.type === 'OPT') { + a.udpPayloadSize = buf.readUInt16BE(offset + 2) + a.extendedRcode = buf.readUInt8(offset + 4) + a.ednsVersion = buf.readUInt8(offset + 5) + a.flags = buf.readUInt16BE(offset + 6) + a.flag_do = ((a.flags >> 15) & 0x1) === 1 + a.options = ropt.decode(buf, offset + 8) + offset += 8 + ropt.decode.bytes + } else { + const klass = buf.readUInt16BE(offset + 2) + a.ttl = buf.readUInt32BE(offset + 4) - /** - * Disable debug output. - * - * @return {String} namespaces - * @api public - */ - function disable() { - const namespaces = [ - ...createDebug.names.map(toNamespace), - ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) - ].join(','); - createDebug.enable(''); - return namespaces; - } + a.class = classes.toString(klass & NOT_FLUSH_MASK) + a.flush = !!(klass & FLUSH_MASK) - /** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ - function enabled(name) { - if (name[name.length - 1] === '*') { - return true; - } + const enc = renc(a.type) + a.data = enc.decode(buf, offset + 8) + offset += 8 + enc.decode.bytes + } - let i; - let len; + answer.decode.bytes = offset - oldOffset + return a +} - for (i = 0, len = createDebug.skips.length; i < len; i++) { - if (createDebug.skips[i].test(name)) { - return false; - } - } +answer.decode.bytes = 0 - for (i = 0, len = createDebug.names.length; i < len; i++) { - if (createDebug.names[i].test(name)) { - return true; - } - } +answer.encodingLength = function (a) { + const data = (a.data !== null && a.data !== undefined) ? a.data : a.options + return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data) +} - return false; - } +const question = exports.question = {} - /** - * Convert regexp to namespace - * - * @param {RegExp} regxep - * @return {String} namespace - * @api private - */ - function toNamespace(regexp) { - return regexp.toString() - .substring(2, regexp.toString().length - 2) - .replace(/\.\*\?$/, '*'); - } +question.encode = function (q, buf, offset) { + if (!buf) buf = Buffer.alloc(question.encodingLength(q)) + if (!offset) offset = 0 - /** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ - function coerce(val) { - if (val instanceof Error) { - return val.stack || val.message; - } - return val; - } + const oldOffset = offset - /** - * XXX DO NOT USE. This is a temporary stub function. - * XXX It WILL be removed in the next major release. - */ - function destroy() { - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } + name.encode(q.name, buf, offset) + offset += name.encode.bytes - createDebug.enable(createDebug.load()); + buf.writeUInt16BE(types.toType(q.type), offset) + offset += 2 - return createDebug; + buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset) + offset += 2 + + question.encode.bytes = offset - oldOffset + return q } -module.exports = setup; +question.encode.bytes = 0 +question.decode = function (buf, offset) { + if (!offset) offset = 0 -/***/ }), + const oldOffset = offset + const q = {} -/***/ "./node_modules/debug/src/index.js": -/*!*****************************************!*\ - !*** ./node_modules/debug/src/index.js ***! - \*****************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + q.name = name.decode(buf, offset) + offset += name.decode.bytes -/** - * Detect Electron renderer / nwjs process, which is node, but we should - * treat as a browser. - */ + q.type = types.toString(buf.readUInt16BE(offset)) + offset += 2 -if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/debug/src/node.js"); + q.class = classes.toString(buf.readUInt16BE(offset)) + offset += 2 + + const qu = !!(q.class & QU_MASK) + if (qu) q.class &= NOT_QU_MASK + + question.decode.bytes = offset - oldOffset + return q } +question.decode.bytes = 0 -/***/ }), +question.encodingLength = function (q) { + return name.encodingLength(q.name) + 4 +} -/***/ "./node_modules/debug/src/node.js": -/*!****************************************!*\ - !*** ./node_modules/debug/src/node.js ***! - \****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports.humanize(...) prevents optimization as module.exports is passed as call context as 176:31-54 */ -/*! CommonJS bailout: exports is used directly at 240:37-44 */ -/*! CommonJS bailout: module.exports is used directly at 240:0-14 */ -/*! CommonJS bailout: module.exports is used directly at 242:21-35 */ -/***/ ((module, exports, __webpack_require__) => { +exports.AUTHORITATIVE_ANSWER = 1 << 10 +exports.TRUNCATED_RESPONSE = 1 << 9 +exports.RECURSION_DESIRED = 1 << 8 +exports.RECURSION_AVAILABLE = 1 << 7 +exports.AUTHENTIC_DATA = 1 << 5 +exports.CHECKING_DISABLED = 1 << 4 +exports.DNSSEC_OK = 1 << 15 -/** - * Module dependencies. - */ +exports.encode = function (result, buf, offset) { + const allocing = !buf -const tty = __webpack_require__(/*! tty */ "tty"); -const util = __webpack_require__(/*! util */ "util"); + if (allocing) buf = Buffer.alloc(exports.encodingLength(result)) + if (!offset) offset = 0 -/** - * This is the Node.js implementation of `debug()`. - */ + const oldOffset = offset -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.destroy = util.deprecate( - () => {}, - 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' -); + if (!result.questions) result.questions = [] + if (!result.answers) result.answers = [] + if (!result.authorities) result.authorities = [] + if (!result.additionals) result.additionals = [] -/** - * Colors. - */ + header.encode(result, buf, offset) + offset += header.encode.bytes -exports.colors = [6, 2, 3, 4, 5, 1]; + offset = encodeList(result.questions, question, buf, offset) + offset = encodeList(result.answers, answer, buf, offset) + offset = encodeList(result.authorities, answer, buf, offset) + offset = encodeList(result.additionals, answer, buf, offset) -try { - // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) - // eslint-disable-next-line import/no-extraneous-dependencies - const supportsColor = __webpack_require__(/*! supports-color */ "./node_modules/supports-color/index.js"); + exports.encode.bytes = offset - oldOffset - if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { - exports.colors = [ - 20, - 21, - 26, - 27, - 32, - 33, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 56, - 57, - 62, - 63, - 68, - 69, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 92, - 93, - 98, - 99, - 112, - 113, - 128, - 129, - 134, - 135, - 148, - 149, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 178, - 179, - 184, - 185, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 214, - 215, - 220, - 221 - ]; - } -} catch (error) { - // Swallow - we only care if `supports-color` is available; it doesn't have to be. + // just a quick sanity check + if (allocing && exports.encode.bytes !== buf.length) { + return buf.slice(0, exports.encode.bytes) + } + + return buf } -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ +exports.encode.bytes = 0 -exports.inspectOpts = Object.keys(process.env).filter(key => { - return /^debug_/i.test(key); -}).reduce((obj, key) => { - // Camel-case - const prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, (_, k) => { - return k.toUpperCase(); - }); +exports.decode = function (buf, offset) { + if (!offset) offset = 0 - // Coerce string value into JS value - let val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) { - val = true; - } else if (/^(no|off|false|disabled)$/i.test(val)) { - val = false; - } else if (val === 'null') { - val = null; - } else { - val = Number(val); - } + const oldOffset = offset + const result = header.decode(buf, offset) + offset += header.decode.bytes - obj[prop] = val; - return obj; -}, {}); + offset = decodeList(result.questions, question, buf, offset) + offset = decodeList(result.answers, answer, buf, offset) + offset = decodeList(result.authorities, answer, buf, offset) + offset = decodeList(result.additionals, answer, buf, offset) -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ + exports.decode.bytes = offset - oldOffset -function useColors() { - return 'colors' in exports.inspectOpts ? - Boolean(exports.inspectOpts.colors) : - tty.isatty(process.stderr.fd); + return result } -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ - -function formatArgs(args) { - const {namespace: name, useColors} = this; +exports.decode.bytes = 0 - if (useColors) { - const c = this.color; - const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); - const prefix = ` ${colorCode};1m${name} \u001B[0m`; +exports.encodingLength = function (result) { + return header.encodingLength(result) + + encodingLengthList(result.questions || [], question) + + encodingLengthList(result.answers || [], answer) + + encodingLengthList(result.authorities || [], answer) + + encodingLengthList(result.additionals || [], answer) +} - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); - } else { - args[0] = getDate() + name + ' ' + args[0]; - } +exports.streamEncode = function (result) { + const buf = exports.encode(result) + const sbuf = Buffer.alloc(2) + sbuf.writeUInt16BE(buf.byteLength) + const combine = Buffer.concat([sbuf, buf]) + exports.streamEncode.bytes = combine.byteLength + return combine } -function getDate() { - if (exports.inspectOpts.hideDate) { - return ''; - } - return new Date().toISOString() + ' '; +exports.streamEncode.bytes = 0 + +exports.streamDecode = function (sbuf) { + const len = sbuf.readUInt16BE(0) + if (sbuf.byteLength < len + 2) { + // not enough data + return null + } + const result = exports.decode(sbuf.slice(2)) + exports.streamDecode.bytes = exports.decode.bytes + return result } -/** - * Invokes `util.format()` with the specified arguments and writes to stderr. - */ +exports.streamDecode.bytes = 0 -function log(...args) { - return process.stderr.write(util.format(...args) + '\n'); +function encodingLengthList (list, enc) { + let len = 0 + for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i]) + return len } -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ -function save(namespaces) { - if (namespaces) { - process.env.DEBUG = namespaces; - } else { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } +function encodeList (list, enc, buf, offset) { + for (let i = 0; i < list.length; i++) { + enc.encode(list[i], buf, offset) + offset += enc.encode.bytes + } + return offset } -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - -function load() { - return process.env.DEBUG; +function decodeList (list, enc, buf, offset) { + for (let i = 0; i < list.length; i++) { + list[i] = enc.decode(buf, offset) + offset += enc.decode.bytes + } + return offset } -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ -function init(debug) { - debug.inspectOpts = {}; +/***/ }), - const keys = Object.keys(exports.inspectOpts); - for (let i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; - } -} +/***/ "./node_modules/dns-packet/opcodes.js": +/*!********************************************!*\ + !*** ./node_modules/dns-packet/opcodes.js ***! + \********************************************/ +/*! default exports */ +/*! export toOpcode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -module.exports = __webpack_require__(/*! ./common */ "./node_modules/debug/src/common.js")(exports); +"use strict"; -const {formatters} = module.exports; -/** - * Map %o to `util.inspect()`, all on a single line. +/* + * Traditional DNS header OPCODEs (4-bits) defined by IANA in + * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5 */ -formatters.o = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n') - .map(str => str.trim()) - .join(' '); -}; - -/** - * Map %O to `util.inspect()`, allowing multiple lines if needed. - */ +exports.toString = function (opcode) { + switch (opcode) { + case 0: return 'QUERY' + case 1: return 'IQUERY' + case 2: return 'STATUS' + case 3: return 'OPCODE_3' + case 4: return 'NOTIFY' + case 5: return 'UPDATE' + case 6: return 'OPCODE_6' + case 7: return 'OPCODE_7' + case 8: return 'OPCODE_8' + case 9: return 'OPCODE_9' + case 10: return 'OPCODE_10' + case 11: return 'OPCODE_11' + case 12: return 'OPCODE_12' + case 13: return 'OPCODE_13' + case 14: return 'OPCODE_14' + case 15: return 'OPCODE_15' + } + return 'OPCODE_' + opcode +} -formatters.O = function (v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; +exports.toOpcode = function (code) { + switch (code.toUpperCase()) { + case 'QUERY': return 0 + case 'IQUERY': return 1 + case 'STATUS': return 2 + case 'OPCODE_3': return 3 + case 'NOTIFY': return 4 + case 'UPDATE': return 5 + case 'OPCODE_6': return 6 + case 'OPCODE_7': return 7 + case 'OPCODE_8': return 8 + case 'OPCODE_9': return 9 + case 'OPCODE_10': return 10 + case 'OPCODE_11': return 11 + case 'OPCODE_12': return 12 + case 'OPCODE_13': return 13 + case 'OPCODE_14': return 14 + case 'OPCODE_15': return 15 + } + return 0 +} /***/ }), -/***/ "./node_modules/depd/index.js": -/*!************************************!*\ - !*** ./node_modules/depd/index.js ***! - \************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "./node_modules/dns-packet/optioncodes.js": +/*!************************************************!*\ + !*** ./node_modules/dns-packet/optioncodes.js ***! + \************************************************/ +/*! default exports */ +/*! export toCode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -/*! - * depd - * Copyright(c) 2014-2018 Douglas Christopher Wilson - * MIT Licensed - */ +"use strict"; -/** - * Module dependencies. - */ -var relative = __webpack_require__(/*! path */ "path").relative +exports.toString = function (type) { + switch (type) { + // list at + // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11 + case 1: return 'LLQ' + case 2: return 'UL' + case 3: return 'NSID' + case 5: return 'DAU' + case 6: return 'DHU' + case 7: return 'N3U' + case 8: return 'CLIENT_SUBNET' + case 9: return 'EXPIRE' + case 10: return 'COOKIE' + case 11: return 'TCP_KEEPALIVE' + case 12: return 'PADDING' + case 13: return 'CHAIN' + case 14: return 'KEY_TAG' + case 26946: return 'DEVICEID' + } + if (type < 0) { + return null + } + return `OPTION_${type}` +} -/** - * Module exports. - */ +exports.toCode = function (name) { + if (typeof name === 'number') { + return name + } + if (!name) { + return -1 + } + switch (name.toUpperCase()) { + case 'OPTION_0': return 0 + case 'LLQ': return 1 + case 'UL': return 2 + case 'NSID': return 3 + case 'OPTION_4': return 4 + case 'DAU': return 5 + case 'DHU': return 6 + case 'N3U': return 7 + case 'CLIENT_SUBNET': return 8 + case 'EXPIRE': return 9 + case 'COOKIE': return 10 + case 'TCP_KEEPALIVE': return 11 + case 'PADDING': return 12 + case 'CHAIN': return 13 + case 'KEY_TAG': return 14 + case 'DEVICEID': return 26946 + case 'OPTION_65535': return 65535 + } + const m = name.match(/_(\d+)$/) + if (m) { + return parseInt(m[1], 10) + } + return -1 +} -module.exports = depd -/** - * Get the path to base files on. - */ +/***/ }), -var basePath = process.cwd() +/***/ "./node_modules/dns-packet/rcodes.js": +/*!*******************************************!*\ + !*** ./node_modules/dns-packet/rcodes.js ***! + \*******************************************/ +/*! default exports */ +/*! export toRcode [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -/** - * Determine if namespace is contained in the string. - */ +"use strict"; -function containsNamespace (str, namespace) { - var vals = str.split(/[ ,]+/) - var ns = String(namespace).toLowerCase() - for (var i = 0; i < vals.length; i++) { - var val = vals[i] +/* + * Traditional DNS header RCODEs (4-bits) defined by IANA in + * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml + */ - // namespace contained - if (val && (val === '*' || val.toLowerCase() === ns)) { - return true - } +exports.toString = function (rcode) { + switch (rcode) { + case 0: return 'NOERROR' + case 1: return 'FORMERR' + case 2: return 'SERVFAIL' + case 3: return 'NXDOMAIN' + case 4: return 'NOTIMP' + case 5: return 'REFUSED' + case 6: return 'YXDOMAIN' + case 7: return 'YXRRSET' + case 8: return 'NXRRSET' + case 9: return 'NOTAUTH' + case 10: return 'NOTZONE' + case 11: return 'RCODE_11' + case 12: return 'RCODE_12' + case 13: return 'RCODE_13' + case 14: return 'RCODE_14' + case 15: return 'RCODE_15' } - - return false + return 'RCODE_' + rcode } -/** - * Convert a data descriptor to accessor descriptor. - */ - -function convertDataDescriptorToAccessor (obj, prop, message) { - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - var value = descriptor.value - - descriptor.get = function getter () { return value } - - if (descriptor.writable) { - descriptor.set = function setter (val) { return (value = val) } +exports.toRcode = function (code) { + switch (code.toUpperCase()) { + case 'NOERROR': return 0 + case 'FORMERR': return 1 + case 'SERVFAIL': return 2 + case 'NXDOMAIN': return 3 + case 'NOTIMP': return 4 + case 'REFUSED': return 5 + case 'YXDOMAIN': return 6 + case 'YXRRSET': return 7 + case 'NXRRSET': return 8 + case 'NOTAUTH': return 9 + case 'NOTZONE': return 10 + case 'RCODE_11': return 11 + case 'RCODE_12': return 12 + case 'RCODE_13': return 13 + case 'RCODE_14': return 14 + case 'RCODE_15': return 15 } + return 0 +} - delete descriptor.value - delete descriptor.writable - Object.defineProperty(obj, prop, descriptor) +/***/ }), - return descriptor -} +/***/ "./node_modules/dns-packet/types.js": +/*!******************************************!*\ + !*** ./node_modules/dns-packet/types.js ***! + \******************************************/ +/*! default exports */ +/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ +/*! export toType [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_exports__ */ +/***/ ((__unused_webpack_module, exports) => { -/** - * Create arguments string to keep arity. - */ +"use strict"; -function createArgumentsString (arity) { - var str = '' - for (var i = 0; i < arity; i++) { - str += ', arg' + i +exports.toString = function (type) { + switch (type) { + case 1: return 'A' + case 10: return 'NULL' + case 28: return 'AAAA' + case 18: return 'AFSDB' + case 42: return 'APL' + case 257: return 'CAA' + case 60: return 'CDNSKEY' + case 59: return 'CDS' + case 37: return 'CERT' + case 5: return 'CNAME' + case 49: return 'DHCID' + case 32769: return 'DLV' + case 39: return 'DNAME' + case 48: return 'DNSKEY' + case 43: return 'DS' + case 55: return 'HIP' + case 13: return 'HINFO' + case 45: return 'IPSECKEY' + case 25: return 'KEY' + case 36: return 'KX' + case 29: return 'LOC' + case 15: return 'MX' + case 35: return 'NAPTR' + case 2: return 'NS' + case 47: return 'NSEC' + case 50: return 'NSEC3' + case 51: return 'NSEC3PARAM' + case 12: return 'PTR' + case 46: return 'RRSIG' + case 17: return 'RP' + case 24: return 'SIG' + case 6: return 'SOA' + case 99: return 'SPF' + case 33: return 'SRV' + case 44: return 'SSHFP' + case 32768: return 'TA' + case 249: return 'TKEY' + case 52: return 'TLSA' + case 250: return 'TSIG' + case 16: return 'TXT' + case 252: return 'AXFR' + case 251: return 'IXFR' + case 41: return 'OPT' + case 255: return 'ANY' } + return 'UNKNOWN_' + type +} - return str.substr(2) +exports.toType = function (name) { + switch (name.toUpperCase()) { + case 'A': return 1 + case 'NULL': return 10 + case 'AAAA': return 28 + case 'AFSDB': return 18 + case 'APL': return 42 + case 'CAA': return 257 + case 'CDNSKEY': return 60 + case 'CDS': return 59 + case 'CERT': return 37 + case 'CNAME': return 5 + case 'DHCID': return 49 + case 'DLV': return 32769 + case 'DNAME': return 39 + case 'DNSKEY': return 48 + case 'DS': return 43 + case 'HIP': return 55 + case 'HINFO': return 13 + case 'IPSECKEY': return 45 + case 'KEY': return 25 + case 'KX': return 36 + case 'LOC': return 29 + case 'MX': return 15 + case 'NAPTR': return 35 + case 'NS': return 2 + case 'NSEC': return 47 + case 'NSEC3': return 50 + case 'NSEC3PARAM': return 51 + case 'PTR': return 12 + case 'RRSIG': return 46 + case 'RP': return 17 + case 'SIG': return 24 + case 'SOA': return 6 + case 'SPF': return 99 + case 'SRV': return 33 + case 'SSHFP': return 44 + case 'TA': return 32768 + case 'TKEY': return 249 + case 'TLSA': return 52 + case 'TSIG': return 250 + case 'TXT': return 16 + case 'AXFR': return 252 + case 'IXFR': return 251 + case 'OPT': return 41 + case 'ANY': return 255 + case '*': return 255 + } + if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8)) + return 0 } -/** - * Create stack string from stack. - */ -function createStackString (stack) { - var str = this.name + ': ' + this.namespace +/***/ }), - if (this.message) { - str += ' deprecated ' + this.message - } +/***/ "./node_modules/dotenv/lib/main.js": +/*!*****************************************!*\ + !*** ./node_modules/dotenv/lib/main.js ***! + \*****************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 112:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - for (var i = 0; i < stack.length; i++) { - str += '\n at ' + stack[i].toString() - } +const fs = __webpack_require__(/*! fs */ "fs") +const path = __webpack_require__(/*! path */ "path") +const os = __webpack_require__(/*! os */ "os") +const packageJson = __webpack_require__(/*! ../package.json */ "./node_modules/dotenv/package.json") - return str -} +const version = packageJson.version -/** - * Create deprecate for namespace in caller. - */ +const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg -function depd (namespace) { - if (!namespace) { - throw new TypeError('argument namespace is required') - } +// Parser src into an Object +function parse (src) { + const obj = {} - var stack = getStack() - var site = callSiteLocation(stack[1]) - var file = site[0] + // Convert buffer to string + let lines = src.toString() - function deprecate (message) { - // call to self as log - log.call(deprecate, message) - } + // Convert line breaks to same format + lines = lines.replace(/\r\n?/mg, '\n') - deprecate._file = file - deprecate._ignored = isignored(namespace) - deprecate._namespace = namespace - deprecate._traced = istraced(namespace) - deprecate._warned = Object.create(null) + let match + while ((match = LINE.exec(lines)) != null) { + const key = match[1] - deprecate.function = wrapfunction - deprecate.property = wrapproperty + // Default undefined or null to empty string + let value = (match[2] || '') - return deprecate -} + // Remove whitespace + value = value.trim() -/** - * Determine if event emitter has listeners of a given type. - * - * The way to do this check is done three different ways in Node.js >= 0.8 - * so this consolidates them into a minimal set using instance methods. - * - * @param {EventEmitter} emitter - * @param {string} type - * @returns {boolean} - * @private - */ - -function eehaslisteners (emitter, type) { - var count = typeof emitter.listenerCount !== 'function' - ? emitter.listeners(type).length - : emitter.listenerCount(type) + // Check if double quoted + const maybeQuote = value[0] - return count > 0 -} + // Remove surrounding quotes + value = value.replace(/^(['"`])([\s\S]*)\1$/mg, '$2') -/** - * Determine if namespace is ignored. - */ + // Expand newlines if double quoted + if (maybeQuote === '"') { + value = value.replace(/\\n/g, '\n') + value = value.replace(/\\r/g, '\r') + } -function isignored (namespace) { - if (process.noDeprecation) { - // --no-deprecation support - return true + // Add to object + obj[key] = value } - var str = process.env.NO_DEPRECATION || '' - - // namespace ignored - return containsNamespace(str, namespace) + return obj } -/** - * Determine if namespace is traced. - */ - -function istraced (namespace) { - if (process.traceDeprecation) { - // --trace-deprecation support - return true - } - - var str = process.env.TRACE_DEPRECATION || '' - - // namespace traced - return containsNamespace(str, namespace) +function _log (message) { + console.log(`[dotenv@${version}][DEBUG] ${message}`) } -/** - * Display deprecation message. - */ - -function log (message, site) { - var haslisteners = eehaslisteners(process, 'deprecation') - - // abort early if no destination - if (!haslisteners && this._ignored) { - return - } - - var caller - var callFile - var callSite - var depSite - var i = 0 - var seen = false - var stack = getStack() - var file = this._file - - if (site) { - // provided site - depSite = site - callSite = callSiteLocation(stack[1]) - callSite.name = depSite.name - file = callSite[0] - } else { - // get call site - i = 2 - depSite = callSiteLocation(stack[i]) - callSite = depSite - } +function _resolveHome (envPath) { + return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath +} - // get caller of deprecated thing in relation to file - for (; i < stack.length; i++) { - caller = callSiteLocation(stack[i]) - callFile = caller[0] +// Populates process.env from .env file +function config (options) { + let dotenvPath = path.resolve(process.cwd(), '.env') + let encoding = 'utf8' + const debug = Boolean(options && options.debug) + const override = Boolean(options && options.override) - if (callFile === file) { - seen = true - } else if (callFile === this._file) { - file = this._file - } else if (seen) { - break + if (options) { + if (options.path != null) { + dotenvPath = _resolveHome(options.path) + } + if (options.encoding != null) { + encoding = options.encoding } } - var key = caller - ? depSite.join(':') + '__' + caller.join(':') - : undefined + try { + // Specifying an encoding returns a string instead of a buffer + const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding })) - if (key !== undefined && key in this._warned) { - // already warned - return - } + Object.keys(parsed).forEach(function (key) { + if (!Object.prototype.hasOwnProperty.call(process.env, key)) { + process.env[key] = parsed[key] + } else { + if (override === true) { + process.env[key] = parsed[key] + } - this._warned[key] = true + if (debug) { + if (override === true) { + _log(`"${key}" is already defined in \`process.env\` and WAS overwritten`) + } else { + _log(`"${key}" is already defined in \`process.env\` and was NOT overwritten`) + } + } + } + }) - // generate automatic message from call site - var msg = message - if (!msg) { - msg = callSite === depSite || !callSite.name - ? defaultMessage(depSite) - : defaultMessage(callSite) - } + return { parsed } + } catch (e) { + if (debug) { + _log(`Failed to load ${dotenvPath} ${e.message}`) + } - // emit deprecation if listeners exist - if (haslisteners) { - var err = DeprecationError(this._namespace, msg, stack.slice(i)) - process.emit('deprecation', err) - return + return { error: e } } - - // format and write message - var format = process.stderr.isTTY - ? formatColor - : formatPlain - var output = format.call(this, msg, caller, stack.slice(i)) - process.stderr.write(output + '\n', 'utf8') } -/** - * Get call site location as array. - */ - -function callSiteLocation (callSite) { - var file = callSite.getFileName() || '' - var line = callSite.getLineNumber() - var colm = callSite.getColumnNumber() - - if (callSite.isEval()) { - file = callSite.getEvalOrigin() + ', ' + file - } +const DotenvModule = { + config, + parse +} - var site = [file, line, colm] +module.exports.config = DotenvModule.config +module.exports.parse = DotenvModule.parse +module.exports = DotenvModule - site.callSite = callSite - site.name = callSite.getFunctionName() - return site -} +/***/ }), -/** - * Generate a default message from the site. - */ +/***/ "./node_modules/dotenv/package.json": +/*!******************************************!*\ + !*** ./node_modules/dotenv/package.json ***! + \******************************************/ +/*! default exports */ +/*! export description [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export devDependencies [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export @types/node [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export decache [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export dtslint [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export sinon [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export standard [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export standard-markdown [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export standard-version [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export tap [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export tar [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export typescript [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export engines [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export node [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export exports [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export . [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export require [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export types [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export ./config [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./config.js [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./lib/cli-options [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./lib/cli-options.js [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./lib/env-options [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./lib/env-options.js [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ./package.json [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export keywords [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export license [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export main [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export name [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export readmeFilename [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export repository [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export type [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export url [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export scripts [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export dts-check [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export lint [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export lint-readme [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export prerelease [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export pretest [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export release [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export types [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export version [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: module */ +/***/ ((module) => { -function defaultMessage (site) { - var callSite = site.callSite - var funcName = site.name +"use strict"; +module.exports = JSON.parse("{\"name\":\"dotenv\",\"version\":\"16.0.3\",\"description\":\"Loads environment variables from .env file\",\"main\":\"lib/main.js\",\"types\":\"lib/main.d.ts\",\"exports\":{\".\":{\"require\":\"./lib/main.js\",\"types\":\"./lib/main.d.ts\",\"default\":\"./lib/main.js\"},\"./config\":\"./config.js\",\"./config.js\":\"./config.js\",\"./lib/env-options\":\"./lib/env-options.js\",\"./lib/env-options.js\":\"./lib/env-options.js\",\"./lib/cli-options\":\"./lib/cli-options.js\",\"./lib/cli-options.js\":\"./lib/cli-options.js\",\"./package.json\":\"./package.json\"},\"scripts\":{\"dts-check\":\"tsc --project tests/types/tsconfig.json\",\"lint\":\"standard\",\"lint-readme\":\"standard-markdown\",\"pretest\":\"npm run lint && npm run dts-check\",\"test\":\"tap tests/*.js --100 -Rspec\",\"prerelease\":\"npm test\",\"release\":\"standard-version\"},\"repository\":{\"type\":\"git\",\"url\":\"git://github.com/motdotla/dotenv.git\"},\"keywords\":[\"dotenv\",\"env\",\".env\",\"environment\",\"variables\",\"config\",\"settings\"],\"readmeFilename\":\"README.md\",\"license\":\"BSD-2-Clause\",\"devDependencies\":{\"@types/node\":\"^17.0.9\",\"decache\":\"^4.6.1\",\"dtslint\":\"^3.7.0\",\"sinon\":\"^12.0.1\",\"standard\":\"^16.0.4\",\"standard-markdown\":\"^7.1.0\",\"standard-version\":\"^9.3.2\",\"tap\":\"^15.1.6\",\"tar\":\"^6.1.11\",\"typescript\":\"^4.5.4\"},\"engines\":{\"node\":\">=12\"}}"); - // make useful anonymous name - if (!funcName) { - funcName = '' - } +/***/ }), - var context = callSite.getThis() - var typeName = context && callSite.getTypeName() +/***/ "./node_modules/express-session/index.js": +/*!***********************************************!*\ + !*** ./node_modules/express-session/index.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, __webpack_exports__, module */ +/*! CommonJS bailout: module.exports is used directly at 39:10-24 */ +/*! CommonJS bailout: exports is used directly at 39:0-7 */ +/***/ ((module, exports, __webpack_require__) => { - // ignore useless type name - if (typeName === 'Object') { - typeName = undefined - } +"use strict"; +/*! + * express-session + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ - // make useful type name - if (typeName === 'Function') { - typeName = context.name || typeName - } - return typeName && callSite.getMethodName() - ? typeName + '.' + funcName - : funcName -} /** - * Format deprecation message without color. + * Module dependencies. + * @private */ -function formatPlain (msg, caller, stack) { - var timestamp = new Date().toUTCString() - - var formatted = timestamp + - ' ' + this._namespace + - ' deprecated ' + msg - - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n at ' + stack[i].toString() - } +var Buffer = __webpack_require__(/*! safe-buffer */ "./node_modules/safe-buffer/index.js").Buffer +var cookie = __webpack_require__(/*! cookie */ "./node_modules/cookie/index.js"); +var crypto = __webpack_require__(/*! crypto */ "crypto") +var debug = __webpack_require__(/*! debug */ "./node_modules/express-session/node_modules/debug/src/index.js")('express-session'); +var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express-session'); +var onHeaders = __webpack_require__(/*! on-headers */ "./node_modules/on-headers/index.js") +var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js"); +var signature = __webpack_require__(/*! cookie-signature */ "./node_modules/cookie-signature/index.js") +var uid = __webpack_require__(/*! uid-safe */ "./node_modules/uid-safe/index.js").sync - return formatted - } +var Cookie = __webpack_require__(/*! ./session/cookie */ "./node_modules/express-session/session/cookie.js") +var MemoryStore = __webpack_require__(/*! ./session/memory */ "./node_modules/express-session/session/memory.js") +var Session = __webpack_require__(/*! ./session/session */ "./node_modules/express-session/session/session.js") +var Store = __webpack_require__(/*! ./session/store */ "./node_modules/express-session/session/store.js") - if (caller) { - formatted += ' at ' + formatLocation(caller) - } +// environment - return formatted -} +var env = "development"; /** - * Format deprecation message with color. + * Expose the middleware. */ -function formatColor (msg, caller, stack) { - var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan - ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow - ' \x1b[0m' + msg + '\x1b[39m' // reset +exports = module.exports = session; - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n \x1b[36mat ' + stack[i].toString() + '\x1b[39m' // cyan - } +/** + * Expose constructors. + */ - return formatted - } +exports.Store = Store; +exports.Cookie = Cookie; +exports.Session = Session; +exports.MemoryStore = MemoryStore; - if (caller) { - formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan - } +/** + * Warning message for `MemoryStore` usage in production. + * @private + */ - return formatted -} +var warning = 'Warning: connect.session() MemoryStore is not\n' + + 'designed for a production environment, as it will leak\n' + + 'memory, and will not scale past a single process.'; /** - * Format call site location. + * Node.js 0.8+ async implementation. + * @private */ -function formatLocation (callSite) { - return relative(basePath, callSite[0]) + - ':' + callSite[1] + - ':' + callSite[2] -} +/* istanbul ignore next */ +var defer = typeof setImmediate === 'function' + ? setImmediate + : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) } /** - * Get the stack as array of call sites. + * Setup session store with the given `options`. + * + * @param {Object} [options] + * @param {Object} [options.cookie] Options for cookie + * @param {Function} [options.genid] + * @param {String} [options.name=connect.sid] Session ID cookie name + * @param {Boolean} [options.proxy] + * @param {Boolean} [options.resave] Resave unmodified sessions back to the store + * @param {Boolean} [options.rolling] Enable/disable rolling session expiration + * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store + * @param {String|Array} [options.secret] Secret for signing session ID + * @param {Object} [options.store=MemoryStore] Session store + * @param {String} [options.unset] + * @return {Function} middleware + * @public */ -function getStack () { - var limit = Error.stackTraceLimit - var obj = {} - var prep = Error.prepareStackTrace +function session(options) { + var opts = options || {} - Error.prepareStackTrace = prepareObjectStackTrace - Error.stackTraceLimit = Math.max(10, limit) + // get the cookie options + var cookieOptions = opts.cookie || {} - // capture the stack - Error.captureStackTrace(obj) + // get the session id generate function + var generateId = opts.genid || generateSessionId - // slice this function off the top - var stack = obj.stack.slice(1) + // get the session cookie name + var name = opts.name || opts.key || 'connect.sid' - Error.prepareStackTrace = prep - Error.stackTraceLimit = limit + // get the session store + var store = opts.store || new MemoryStore() - return stack -} + // get the trust proxy setting + var trustProxy = opts.proxy -/** - * Capture call site stack from v8. - */ + // get the resave session option + var resaveSession = opts.resave; -function prepareObjectStackTrace (obj, stack) { - return stack -} + // get the rolling session option + var rollingSessions = Boolean(opts.rolling) -/** - * Return a wrapped function in a deprecation message. - */ + // get the save uninitialized session option + var saveUninitializedSession = opts.saveUninitialized -function wrapfunction (fn, message) { - if (typeof fn !== 'function') { - throw new TypeError('argument fn must be a function') - } + // get the cookie signing secret + var secret = opts.secret - var args = createArgumentsString(fn.length) - var stack = getStack() - var site = callSiteLocation(stack[1]) + if (typeof generateId !== 'function') { + throw new TypeError('genid option must be a function'); + } - site.name = fn.name + if (resaveSession === undefined) { + deprecate('undefined resave option; provide resave option'); + resaveSession = true; + } - // eslint-disable-next-line no-new-func - var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site', - '"use strict"\n' + - 'return function (' + args + ') {' + - 'log.call(deprecate, message, site)\n' + - 'return fn.apply(this, arguments)\n' + - '}')(fn, log, this, message, site) + if (saveUninitializedSession === undefined) { + deprecate('undefined saveUninitialized option; provide saveUninitialized option'); + saveUninitializedSession = true; + } - return deprecatedfn -} + if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') { + throw new TypeError('unset option must be "destroy" or "keep"'); + } -/** - * Wrap property in a deprecation message. - */ + // TODO: switch to "destroy" on next major + var unsetDestroy = opts.unset === 'destroy' -function wrapproperty (obj, prop, message) { - if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { - throw new TypeError('argument obj must be object') + if (Array.isArray(secret) && secret.length === 0) { + throw new TypeError('secret option array must contain one or more strings'); } - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + if (secret && !Array.isArray(secret)) { + secret = [secret]; + } - if (!descriptor) { - throw new TypeError('must call property on owner object') + if (!secret) { + deprecate('req.secret; provide secret option'); } - if (!descriptor.configurable) { - throw new TypeError('property must be configurable') + // notify user that this store is not + // meant for a production environment + /* istanbul ignore next: not tested */ + if (env === 'production' && store instanceof MemoryStore) { + console.warn(warning); } - var deprecate = this - var stack = getStack() - var site = callSiteLocation(stack[1]) + // generates the new session + store.generate = function(req){ + req.sessionID = generateId(req); + req.session = new Session(req); + req.session.cookie = new Cookie(cookieOptions); - // set site name - site.name = prop + if (cookieOptions.secure === 'auto') { + req.session.cookie.secure = issecure(req, trustProxy); + } + }; - // convert data descriptor - if ('value' in descriptor) { - descriptor = convertDataDescriptorToAccessor(obj, prop, message) - } + var storeImplementsTouch = typeof store.touch === 'function'; - var get = descriptor.get - var set = descriptor.set + // register event listeners for the store to track readiness + var storeReady = true + store.on('disconnect', function ondisconnect() { + storeReady = false + }) + store.on('connect', function onconnect() { + storeReady = true + }) - // wrap getter - if (typeof get === 'function') { - descriptor.get = function getter () { - log.call(deprecate, message, site) - return get.apply(this, arguments) + return function session(req, res, next) { + // self-awareness + if (req.session) { + next() + return } - } - // wrap setter - if (typeof set === 'function') { - descriptor.set = function setter () { - log.call(deprecate, message, site) - return set.apply(this, arguments) + // Handle connection as if there is no session if + // the store has temporarily disconnected etc + if (!storeReady) { + debug('store is disconnected') + next() + return } - } - Object.defineProperty(obj, prop, descriptor) -} + // pathname mismatch + var originalPath = parseUrl.original(req).pathname || '/' + if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next(); -/** - * Create DeprecationError for deprecation - */ + // ensure a secret is available or bail + if (!secret && !req.secret) { + next(new Error('secret option required for sessions')); + return; + } -function DeprecationError (namespace, message, stack) { - var error = new Error() - var stackString + // backwards compatibility for signed cookies + // req.secret is passed from the cookie parser middleware + var secrets = secret || [req.secret]; - Object.defineProperty(error, 'constructor', { - value: DeprecationError - }) + var originalHash; + var originalId; + var savedHash; + var touched = false - Object.defineProperty(error, 'message', { - configurable: true, - enumerable: false, - value: message, - writable: true - }) + // expose store + req.sessionStore = store; - Object.defineProperty(error, 'name', { - enumerable: false, - configurable: true, - value: 'DeprecationError', - writable: true - }) + // get the session ID from the cookie + var cookieId = req.sessionID = getcookie(req, name, secrets); - Object.defineProperty(error, 'namespace', { - configurable: true, - enumerable: false, - value: namespace, - writable: true - }) + // set-cookie + onHeaders(res, function(){ + if (!req.session) { + debug('no session'); + return; + } - Object.defineProperty(error, 'stack', { - configurable: true, - enumerable: false, - get: function () { - if (stackString !== undefined) { - return stackString + if (!shouldSetCookie(req)) { + return; } - // prepare stack trace - return (stackString = createStackString.call(this, stack)) - }, - set: function setter (val) { - stackString = val + // only send secure cookies via https + if (req.session.cookie.secure && !issecure(req, trustProxy)) { + debug('not secured'); + return; + } + + if (!touched) { + // touch session + req.session.touch() + touched = true + } + + // set cookie + setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data); + }); + + // proxy end() to commit the session + var _end = res.end; + var _write = res.write; + var ended = false; + res.end = function end(chunk, encoding) { + if (ended) { + return false; + } + + ended = true; + + var ret; + var sync = true; + + function writeend() { + if (sync) { + ret = _end.call(res, chunk, encoding); + sync = false; + return; + } + + _end.call(res); + } + + function writetop() { + if (!sync) { + return ret; + } + + if (!res._header) { + res._implicitHeader() + } + + if (chunk == null) { + ret = true; + return ret; + } + + var contentLength = Number(res.getHeader('Content-Length')); + + if (!isNaN(contentLength) && contentLength > 0) { + // measure chunk + chunk = !Buffer.isBuffer(chunk) + ? Buffer.from(chunk, encoding) + : chunk; + encoding = undefined; + + if (chunk.length !== 0) { + debug('split response'); + ret = _write.call(res, chunk.slice(0, chunk.length - 1)); + chunk = chunk.slice(chunk.length - 1, chunk.length); + return ret; + } + } + + ret = _write.call(res, chunk, encoding); + sync = false; + + return ret; + } + + if (shouldDestroy(req)) { + // destroy session + debug('destroying'); + store.destroy(req.sessionID, function ondestroy(err) { + if (err) { + defer(next, err); + } + + debug('destroyed'); + writeend(); + }); + + return writetop(); + } + + // no session to save + if (!req.session) { + debug('no session'); + return _end.call(res, chunk, encoding); + } + + if (!touched) { + // touch session + req.session.touch() + touched = true + } + + if (shouldSave(req)) { + req.session.save(function onsave(err) { + if (err) { + defer(next, err); + } + + writeend(); + }); + + return writetop(); + } else if (storeImplementsTouch && shouldTouch(req)) { + // store implements touch method + debug('touching'); + store.touch(req.sessionID, req.session, function ontouch(err) { + if (err) { + defer(next, err); + } + + debug('touched'); + writeend(); + }); + + return writetop(); + } + + return _end.call(res, chunk, encoding); + }; + + // generate the session + function generate() { + store.generate(req); + originalId = req.sessionID; + originalHash = hash(req.session); + wrapmethods(req.session); } - }) - return error -} + // inflate the session + function inflate (req, sess) { + store.createSession(req, sess) + originalId = req.sessionID + originalHash = hash(sess) + if (!resaveSession) { + savedHash = originalHash + } -/***/ }), + wrapmethods(req.session) + } -/***/ "./node_modules/destroy/index.js": -/*!***************************************!*\ - !*** ./node_modules/destroy/index.js ***! - \***************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + function rewrapmethods (sess, callback) { + return function () { + if (req.session !== sess) { + wrapmethods(req.session) + } -"use strict"; -/*! - * destroy - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ + callback.apply(this, arguments) + } + } + // wrap session methods + function wrapmethods(sess) { + var _reload = sess.reload + var _save = sess.save; + function reload(callback) { + debug('reloading %s', this.id) + _reload.call(this, rewrapmethods(this, callback)) + } -/** - * Module dependencies. - * @private - */ + function save() { + debug('saving %s', this.id); + savedHash = hash(this); + _save.apply(this, arguments); + } -var EventEmitter = __webpack_require__(/*! events */ "events").EventEmitter -var ReadStream = __webpack_require__(/*! fs */ "fs").ReadStream -var Stream = __webpack_require__(/*! stream */ "stream") -var Zlib = __webpack_require__(/*! zlib */ "zlib") + Object.defineProperty(sess, 'reload', { + configurable: true, + enumerable: false, + value: reload, + writable: true + }) -/** - * Module exports. - * @public - */ + Object.defineProperty(sess, 'save', { + configurable: true, + enumerable: false, + value: save, + writable: true + }); + } -module.exports = destroy + // check if session has been modified + function isModified(sess) { + return originalId !== sess.id || originalHash !== hash(sess); + } -/** - * Destroy the given stream, and optionally suppress any future `error` events. - * - * @param {object} stream - * @param {boolean} suppress - * @public - */ + // check if session has been saved + function isSaved(sess) { + return originalId === sess.id && savedHash === hash(sess); + } -function destroy (stream, suppress) { - if (isFsReadStream(stream)) { - destroyReadStream(stream) - } else if (isZlibStream(stream)) { - destroyZlibStream(stream) - } else if (hasDestroy(stream)) { - stream.destroy() - } + // determine if session should be destroyed + function shouldDestroy(req) { + return req.sessionID && unsetDestroy && req.session == null; + } - if (isEventEmitter(stream) && suppress) { - stream.removeAllListeners('error') - stream.addListener('error', noop) - } + // determine if session should be saved to store + function shouldSave(req) { + // cannot set cookie without a session ID + if (typeof req.sessionID !== 'string') { + debug('session ignored because of bogus req.sessionID %o', req.sessionID); + return false; + } - return stream -} + return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID + ? isModified(req.session) + : !isSaved(req.session) + } + + // determine if session should be touched + function shouldTouch(req) { + // cannot set cookie without a session ID + if (typeof req.sessionID !== 'string') { + debug('session ignored because of bogus req.sessionID %o', req.sessionID); + return false; + } + + return cookieId === req.sessionID && !shouldSave(req); + } + + // determine if cookie should be set on response + function shouldSetCookie(req) { + // cannot set cookie without a session ID + if (typeof req.sessionID !== 'string') { + return false; + } + + return cookieId !== req.sessionID + ? saveUninitializedSession || isModified(req.session) + : rollingSessions || req.session.cookie.expires != null && isModified(req.session); + } + + // generate a session if the browser doesn't send a sessionID + if (!req.sessionID) { + debug('no SID sent, generating session'); + generate(); + next(); + return; + } + + // generate the session object + debug('fetching %s', req.sessionID); + store.get(req.sessionID, function(err, sess){ + // error handling + if (err && err.code !== 'ENOENT') { + debug('error %j', err); + next(err) + return + } + + try { + if (err || !sess) { + debug('no session found') + generate() + } else { + debug('session found') + inflate(req, sess) + } + } catch (e) { + next(e) + return + } + + next() + }); + }; +}; /** - * Destroy a ReadStream. + * Generate a session ID for a new session. * - * @param {object} stream + * @return {String} * @private */ -function destroyReadStream (stream) { - stream.destroy() - - if (typeof stream.close === 'function') { - // node.js core bug work-around - stream.on('open', onOpenClose) - } +function generateSessionId(sess) { + return uid(24); } /** - * Close a Zlib stream. - * - * Zlib streams below Node.js 4.5.5 have a buggy implementation - * of .close() when zlib encountered an error. + * Get the session ID cookie from request. * - * @param {object} stream + * @return {string} * @private */ -function closeZlibStream (stream) { - if (stream._hadError === true) { - var prop = stream._binding === null - ? '_binding' - : '_handle' +function getcookie(req, name, secrets) { + var header = req.headers.cookie; + var raw; + var val; - stream[prop] = { - close: function () { this[prop] = null } - } - } + // read from cookie header + if (header) { + var cookies = cookie.parse(header); - stream.close() -} + raw = cookies[name]; -/** - * Destroy a Zlib stream. - * - * Zlib streams don't have a destroy function in Node.js 6. On top of that - * simply calling destroy on a zlib stream in Node.js 8+ will result in a - * memory leak. So until that is fixed, we need to call both close AND destroy. - * - * PR to fix memory leak: https://github.com/nodejs/node/pull/23734 - * - * In Node.js 6+8, it's important that destroy is called before close as the - * stream would otherwise emit the error 'zlib binding closed'. - * - * @param {object} stream - * @private - */ + if (raw) { + if (raw.substr(0, 2) === 's:') { + val = unsigncookie(raw.slice(2), secrets); -function destroyZlibStream (stream) { - if (typeof stream.destroy === 'function') { - // node.js core bug work-around - // istanbul ignore if: node.js 0.8 - if (stream._binding) { - // node.js < 0.10.0 - stream.destroy() - if (stream._processing) { - stream._needDrain = true - stream.once('drain', onDrainClearBinding) + if (val === false) { + debug('cookie signature invalid'); + val = undefined; + } } else { - stream._binding.clear() + debug('cookie unsigned') } - } else if (stream._destroy && stream._destroy !== Stream.Transform.prototype._destroy) { - // node.js >= 12, ^11.1.0, ^10.15.1 - stream.destroy() - } else if (stream._destroy && typeof stream.close === 'function') { - // node.js 7, 8 - stream.destroyed = true - stream.close() - } else { - // fallback - // istanbul ignore next - stream.destroy() } - } else if (typeof stream.close === 'function') { - // node.js < 8 fallback - closeZlibStream(stream) } -} - -/** - * Determine if stream has destroy. - * @private - */ -function hasDestroy (stream) { - return stream instanceof Stream && - typeof stream.destroy === 'function' -} + // back-compat read from cookieParser() signedCookies data + if (!val && req.signedCookies) { + val = req.signedCookies[name]; -/** - * Determine if val is EventEmitter. - * @private - */ + if (val) { + deprecate('cookie should be available in req.headers.cookie'); + } + } -function isEventEmitter (val) { - return val instanceof EventEmitter -} + // back-compat read from cookieParser() cookies data + if (!val && req.cookies) { + raw = req.cookies[name]; -/** - * Determine if stream is fs.ReadStream stream. - * @private - */ + if (raw) { + if (raw.substr(0, 2) === 's:') { + val = unsigncookie(raw.slice(2), secrets); -function isFsReadStream (stream) { - return stream instanceof ReadStream -} + if (val) { + deprecate('cookie should be available in req.headers.cookie'); + } -/** - * Determine if stream is Zlib stream. - * @private - */ + if (val === false) { + debug('cookie signature invalid'); + val = undefined; + } + } else { + debug('cookie unsigned') + } + } + } -function isZlibStream (stream) { - return stream instanceof Zlib.Gzip || - stream instanceof Zlib.Gunzip || - stream instanceof Zlib.Deflate || - stream instanceof Zlib.DeflateRaw || - stream instanceof Zlib.Inflate || - stream instanceof Zlib.InflateRaw || - stream instanceof Zlib.Unzip + return val; } /** - * No-op function. + * Hash the given `sess` object omitting changes to `.cookie`. + * + * @param {Object} sess + * @return {String} * @private */ -function noop () {} +function hash(sess) { + // serialize + var str = JSON.stringify(sess, function (key, val) { + // ignore sess.cookie property + if (this === sess && key === 'cookie') { + return + } -/** - * On drain handler to clear binding. - * @private - */ + return val + }) -// istanbul ignore next: node.js 0.8 -function onDrainClearBinding () { - this._binding.clear() + // hash + return crypto + .createHash('sha1') + .update(str, 'utf8') + .digest('hex') } /** - * On open handler to close stream. + * Determine if request is secure. + * + * @param {Object} req + * @param {Boolean} [trustProxy] + * @return {Boolean} * @private */ -function onOpenClose () { - if (typeof this.fd === 'number') { - // actually close down the fd - this.close() +function issecure(req, trustProxy) { + // socket is https server + if (req.connection && req.connection.encrypted) { + return true; } -} - -/***/ }), - -/***/ "./node_modules/dns-packet/classes.js": -/*!********************************************!*\ - !*** ./node_modules/dns-packet/classes.js ***! - \********************************************/ -/*! default exports */ -/*! export toClass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -exports.toString = function (klass) { - switch (klass) { - case 1: return 'IN' - case 2: return 'CS' - case 3: return 'CH' - case 4: return 'HS' - case 255: return 'ANY' + // do not trust proxy + if (trustProxy === false) { + return false; } - return 'UNKNOWN_' + klass -} -exports.toClass = function (name) { - switch (name.toUpperCase()) { - case 'IN': return 1 - case 'CS': return 2 - case 'CH': return 3 - case 'HS': return 4 - case 'ANY': return 255 + // no explicit trust; try req.secure from express + if (trustProxy !== true) { + return req.secure === true } - return 0 -} + // read the proto from x-forwarded-proto header + var header = req.headers['x-forwarded-proto'] || ''; + var index = header.indexOf(','); + var proto = index !== -1 + ? header.substr(0, index).toLowerCase().trim() + : header.toLowerCase().trim() -/***/ }), - -/***/ "./node_modules/dns-packet/index.js": -/*!******************************************!*\ - !*** ./node_modules/dns-packet/index.js ***! - \******************************************/ -/*! default exports */ -/*! export AUTHENTIC_DATA [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export AUTHORITATIVE_ANSWER [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export CHECKING_DISABLED [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export DNSSEC_OK [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export RECURSION_AVAILABLE [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export RECURSION_DESIRED [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export TRUNCATED_RESPONSE [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export a [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export aaaa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export answer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export caa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export cname [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export decode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export dname [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export dnskey [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export encode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export encodingLength [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export hinfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export mx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export name [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ns [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export nsec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export nsec3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export null [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export opt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export option [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ptr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export question [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export record [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export rp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export rrsig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export soa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export srv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export sshfp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export streamDecode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export streamEncode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export txt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export unknown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/*! CommonJS bailout: exports.encodingLength(...) prevents optimization as exports is passed as call context as 1528:35-57 */ -/*! CommonJS bailout: exports.encode(...) prevents optimization as exports is passed as call context as 1586:14-28 */ -/*! CommonJS bailout: exports.decode(...) prevents optimization as exports is passed as call context as 1602:17-31 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; + return proto === 'https'; +} +/** + * Set cookie on response. + * + * @private + */ -const Buffer = __webpack_require__(/*! buffer */ "buffer").Buffer -const types = __webpack_require__(/*! ./types */ "./node_modules/dns-packet/types.js") -const rcodes = __webpack_require__(/*! ./rcodes */ "./node_modules/dns-packet/rcodes.js") -const opcodes = __webpack_require__(/*! ./opcodes */ "./node_modules/dns-packet/opcodes.js") -const classes = __webpack_require__(/*! ./classes */ "./node_modules/dns-packet/classes.js") -const optioncodes = __webpack_require__(/*! ./optioncodes */ "./node_modules/dns-packet/optioncodes.js") -const ip = __webpack_require__(/*! @leichtgewicht/ip-codec */ "./node_modules/@leichtgewicht/ip-codec/index.cjs") +function setcookie(res, name, val, secret, options) { + var signed = 's:' + signature.sign(val, secret); + var data = cookie.serialize(name, signed, options); -const QUERY_FLAG = 0 -const RESPONSE_FLAG = 1 << 15 -const FLUSH_MASK = 1 << 15 -const NOT_FLUSH_MASK = ~FLUSH_MASK -const QU_MASK = 1 << 15 -const NOT_QU_MASK = ~QU_MASK + debug('set-cookie %s', data); -const name = exports.name = {} + var prev = res.getHeader('Set-Cookie') || [] + var header = Array.isArray(prev) ? prev.concat(data) : [prev, data]; -name.encode = function (str, buf, offset) { - if (!buf) buf = Buffer.alloc(name.encodingLength(str)) - if (!offset) offset = 0 - const oldOffset = offset + res.setHeader('Set-Cookie', header) +} - // strip leading and trailing . - const n = str.replace(/^\.|\.$/gm, '') - if (n.length) { - const list = n.split('.') +/** + * Verify and decode the given `val` with `secrets`. + * + * @param {String} val + * @param {Array} secrets + * @returns {String|Boolean} + * @private + */ +function unsigncookie(val, secrets) { + for (var i = 0; i < secrets.length; i++) { + var result = signature.unsign(val, secrets[i]); - for (let i = 0; i < list.length; i++) { - const len = buf.write(list[i], offset + 1) - buf[offset] = len - offset += len + 1 + if (result !== false) { + return result; } } - buf[offset++] = 0 - - name.encode.bytes = offset - oldOffset - return buf + return false; } -name.encode.bytes = 0 - -name.decode = function (buf, offset) { - if (!offset) offset = 0 - const list = [] - let oldOffset = offset - let totalLength = 0 - let consumedBytes = 0 - let jumped = false +/***/ }), - while (true) { - if (offset >= buf.length) { - throw new Error('Cannot decode name (buffer overflow)') - } - const len = buf[offset++] - consumedBytes += jumped ? 0 : 1 +/***/ "./node_modules/express-session/node_modules/debug/src/browser.js": +/*!************************************************************************!*\ + !*** ./node_modules/express-session/node_modules/debug/src/browser.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ +/*! CommonJS bailout: exports is used directly at 7:0-7 */ +/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ +/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ +/***/ ((module, exports, __webpack_require__) => { - if (len === 0) { - break - } else if ((len & 0xc0) === 0) { - if (offset + len > buf.length) { - throw new Error('Cannot decode name (buffer overflow)') - } - totalLength += len + 1 - if (totalLength > 254) { - throw new Error('Cannot decode name (name too long)') - } - list.push(buf.toString('utf-8', offset, offset + len)) - offset += len - consumedBytes += jumped ? 0 : len - } else if ((len & 0xc0) === 0xc0) { - if (offset + 1 > buf.length) { - throw new Error('Cannot decode name (buffer overflow)') - } - const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000 - if (jumpOffset >= oldOffset) { - // Allow only pointers to prior data. RFC 1035, section 4.1.4 states: - // "[...] an entire domain name or a list of labels at the end of a domain name - // is replaced with a pointer to a prior occurance (sic) of the same name." - throw new Error('Cannot decode name (bad pointer)') - } - offset = jumpOffset - oldOffset = jumpOffset - consumedBytes += jumped ? 0 : 1 - jumped = true - } else { - throw new Error('Cannot decode name (bad label)') - } - } +/** + * This is the web browser implementation of `debug()`. + * + * Expose `debug()` as the module. + */ - name.decode.bytes = consumedBytes - return list.length === 0 ? '.' : list.join('.') -} +exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express-session/node_modules/debug/src/debug.js"); +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = 'undefined' != typeof chrome + && 'undefined' != typeof chrome.storage + ? chrome.storage.local + : localstorage(); -name.decode.bytes = 0 +/** + * Colors. + */ -name.encodingLength = function (n) { - if (n === '.' || n === '..') return 1 - return Buffer.byteLength(n.replace(/^\.|\.$/gm, '')) + 2 -} +exports.colors = [ + 'lightseagreen', + 'forestgreen', + 'goldenrod', + 'dodgerblue', + 'darkorchid', + 'crimson' +]; -const string = {} +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ -string.encode = function (s, buf, offset) { - if (!buf) buf = Buffer.alloc(string.encodingLength(s)) - if (!offset) offset = 0 +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { + return true; + } - const len = buf.write(s, offset + 1) - buf[offset] = len - string.encode.bytes = len + 1 - return buf + // is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); } -string.encode.bytes = 0 +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ -string.decode = function (buf, offset) { - if (!offset) offset = 0 +exports.formatters.j = function(v) { + try { + return JSON.stringify(v); + } catch (err) { + return '[UnexpectedJSONParseError]: ' + err.message; + } +}; - const len = buf[offset] - const s = buf.toString('utf-8', offset + 1, offset + 1 + len) - string.decode.bytes = len + 1 - return s -} -string.decode.bytes = 0 +/** + * Colorize log arguments if enabled. + * + * @api public + */ -string.encodingLength = function (s) { - return Buffer.byteLength(s) + 1 -} +function formatArgs(args) { + var useColors = this.useColors; -const header = {} + args[0] = (useColors ? '%c' : '') + + this.namespace + + (useColors ? ' %c' : ' ') + + args[0] + + (useColors ? '%c ' : ' ') + + '+' + exports.humanize(this.diff); -header.encode = function (h, buf, offset) { - if (!buf) buf = header.encodingLength(h) - if (!offset) offset = 0 + if (!useColors) return; - const flags = (h.flags || 0) & 32767 - const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit') - buf.writeUInt16BE(h.id || 0, offset) - buf.writeUInt16BE(flags | type, offset + 2) - buf.writeUInt16BE(h.questions.length, offset + 4) - buf.writeUInt16BE(h.answers.length, offset + 6) - buf.writeUInt16BE(h.authorities.length, offset + 8) - buf.writeUInt16BE(h.additionals.length, offset + 10) + // the final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function(match) { + if ('%%' === match) return; + index++; + if ('%c' === match) { + // we only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); - return buf + args.splice(lastC, 0, c); } -header.encode.bytes = 12 - -header.decode = function (buf, offset) { - if (!offset) offset = 0 - if (buf.length < 12) throw new Error('Header must be 12 bytes') - const flags = buf.readUInt16BE(offset + 2) +/** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ - return { - id: buf.readUInt16BE(offset), - type: flags & RESPONSE_FLAG ? 'response' : 'query', - flags: flags & 32767, - flag_qr: ((flags >> 15) & 0x1) === 1, - opcode: opcodes.toString((flags >> 11) & 0xf), - flag_aa: ((flags >> 10) & 0x1) === 1, - flag_tc: ((flags >> 9) & 0x1) === 1, - flag_rd: ((flags >> 8) & 0x1) === 1, - flag_ra: ((flags >> 7) & 0x1) === 1, - flag_z: ((flags >> 6) & 0x1) === 1, - flag_ad: ((flags >> 5) & 0x1) === 1, - flag_cd: ((flags >> 4) & 0x1) === 1, - rcode: rcodes.toString(flags & 0xf), - questions: new Array(buf.readUInt16BE(offset + 4)), - answers: new Array(buf.readUInt16BE(offset + 6)), - authorities: new Array(buf.readUInt16BE(offset + 8)), - additionals: new Array(buf.readUInt16BE(offset + 10)) - } +function log() { + // this hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return 'object' === typeof console + && console.log + && Function.prototype.apply.call(console.log, console, arguments); } -header.decode.bytes = 12 +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ -header.encodingLength = function () { - return 12 +function save(namespaces) { + try { + if (null == namespaces) { + exports.storage.removeItem('debug'); + } else { + exports.storage.debug = namespaces; + } + } catch(e) {} } -const runknown = exports.unknown = {} +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ -runknown.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(runknown.encodingLength(data)) - if (!offset) offset = 0 +function load() { + var r; + try { + r = exports.storage.debug; + } catch(e) {} - buf.writeUInt16BE(data.length, offset) - data.copy(buf, offset + 2) + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } - runknown.encode.bytes = data.length + 2 - return buf + return r; } -runknown.encode.bytes = 0 - -runknown.decode = function (buf, offset) { - if (!offset) offset = 0 +/** + * Enable namespaces listed in `localStorage.debug` initially. + */ - const len = buf.readUInt16BE(offset) - const data = buf.slice(offset + 2, offset + 2 + len) - runknown.decode.bytes = len + 2 - return data -} +exports.enable(load()); -runknown.decode.bytes = 0 +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ -runknown.encodingLength = function (data) { - return data.length + 2 +function localstorage() { + try { + return window.localStorage; + } catch (e) {} } -const rns = exports.ns = {} - -rns.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rns.encodingLength(data)) - if (!offset) offset = 0 - name.encode(data, buf, offset + 2) - buf.writeUInt16BE(name.encode.bytes, offset) - rns.encode.bytes = name.encode.bytes + 2 - return buf -} +/***/ }), -rns.encode.bytes = 0 +/***/ "./node_modules/express-session/node_modules/debug/src/debug.js": +/*!**********************************************************************!*\ + !*** ./node_modules/express-session/node_modules/debug/src/debug.js ***! + \**********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ +/*! CommonJS bailout: exports is used directly at 9:0-7 */ +/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ +/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ +/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ +/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ +/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ +/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ +/***/ ((module, exports, __webpack_require__) => { -rns.decode = function (buf, offset) { - if (!offset) offset = 0 - const len = buf.readUInt16BE(offset) - const dd = name.decode(buf, offset + 2) +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + * + * Expose `debug()` as the module. + */ - rns.decode.bytes = len + 2 - return dd -} +exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; +exports.coerce = coerce; +exports.disable = disable; +exports.enable = enable; +exports.enabled = enabled; +exports.humanize = __webpack_require__(/*! ms */ "./node_modules/express-session/node_modules/ms/index.js"); -rns.decode.bytes = 0 +/** + * The currently active debug mode names, and names to skip. + */ -rns.encodingLength = function (data) { - return name.encodingLength(data) + 2 -} +exports.names = []; +exports.skips = []; -const rsoa = exports.soa = {} - -rsoa.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data)) - if (!offset) offset = 0 +/** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ - const oldOffset = offset - offset += 2 - name.encode(data.mname, buf, offset) - offset += name.encode.bytes - name.encode(data.rname, buf, offset) - offset += name.encode.bytes - buf.writeUInt32BE(data.serial || 0, offset) - offset += 4 - buf.writeUInt32BE(data.refresh || 0, offset) - offset += 4 - buf.writeUInt32BE(data.retry || 0, offset) - offset += 4 - buf.writeUInt32BE(data.expire || 0, offset) - offset += 4 - buf.writeUInt32BE(data.minimum || 0, offset) - offset += 4 +exports.formatters = {}; - buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) - rsoa.encode.bytes = offset - oldOffset - return buf -} +/** + * Previous log timestamp. + */ -rsoa.encode.bytes = 0 +var prevTime; -rsoa.decode = function (buf, offset) { - if (!offset) offset = 0 +/** + * Select a color. + * @param {String} namespace + * @return {Number} + * @api private + */ - const oldOffset = offset +function selectColor(namespace) { + var hash = 0, i; - const data = {} - offset += 2 - data.mname = name.decode(buf, offset) - offset += name.decode.bytes - data.rname = name.decode(buf, offset) - offset += name.decode.bytes - data.serial = buf.readUInt32BE(offset) - offset += 4 - data.refresh = buf.readUInt32BE(offset) - offset += 4 - data.retry = buf.readUInt32BE(offset) - offset += 4 - data.expire = buf.readUInt32BE(offset) - offset += 4 - data.minimum = buf.readUInt32BE(offset) - offset += 4 + for (i in namespace) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } - rsoa.decode.bytes = offset - oldOffset - return data + return exports.colors[Math.abs(hash) % exports.colors.length]; } -rsoa.decode.bytes = 0 +/** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ -rsoa.encodingLength = function (data) { - return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname) -} +function createDebug(namespace) { -const rtxt = exports.txt = {} + function debug() { + // disabled? + if (!debug.enabled) return; -rtxt.encode = function (data, buf, offset) { - if (!Array.isArray(data)) data = [data] - for (let i = 0; i < data.length; i++) { - if (typeof data[i] === 'string') { - data[i] = Buffer.from(data[i]) - } - if (!Buffer.isBuffer(data[i])) { - throw new Error('Must be a Buffer') + var self = debug; + + // set `diff` timestamp + var curr = +new Date(); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + // turn the `arguments` into a proper Array + var args = new Array(arguments.length); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i]; } - } - if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data)) - if (!offset) offset = 0 + args[0] = exports.coerce(args[0]); - const oldOffset = offset - offset += 2 + if ('string' !== typeof args[0]) { + // anything else let's inspect with %O + args.unshift('%O'); + } - data.forEach(function (d) { - buf[offset++] = d.length - d.copy(buf, offset, 0, d.length) - offset += d.length - }) + // apply any `formatters` transformations + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { + // if we encounter an escaped % then don't increase the array index + if (match === '%%') return match; + index++; + var formatter = exports.formatters[format]; + if ('function' === typeof formatter) { + var val = args[index]; + match = formatter.call(self, val); - buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) - rtxt.encode.bytes = offset - oldOffset - return buf -} + // now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); -rtxt.encode.bytes = 0 + // apply env-specific formatting (colors, etc.) + exports.formatArgs.call(self, args); -rtxt.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset - let remaining = buf.readUInt16BE(offset) - offset += 2 + var logFn = debug.log || exports.log || console.log.bind(console); + logFn.apply(self, args); + } - let data = [] - while (remaining > 0) { - const len = buf[offset++] - --remaining - if (remaining < len) { - throw new Error('Buffer overflow') - } - data.push(buf.slice(offset, offset + len)) - offset += len - remaining -= len + debug.namespace = namespace; + debug.enabled = exports.enabled(namespace); + debug.useColors = exports.useColors(); + debug.color = selectColor(namespace); + + // env-specific initialization logic for debug instances + if ('function' === typeof exports.init) { + exports.init(debug); } - rtxt.decode.bytes = offset - oldOffset - return data + return debug; } -rtxt.decode.bytes = 0 +/** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ -rtxt.encodingLength = function (data) { - if (!Array.isArray(data)) data = [data] - let length = 2 - data.forEach(function (buf) { - if (typeof buf === 'string') { - length += Buffer.byteLength(buf) + 1 +function enable(namespaces) { + exports.save(namespaces); + + exports.names = []; + exports.skips = []; + + var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + var len = split.length; + + for (var i = 0; i < len; i++) { + if (!split[i]) continue; // ignore empty strings + namespaces = split[i].replace(/\*/g, '.*?'); + if (namespaces[0] === '-') { + exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); } else { - length += buf.length + 1 + exports.names.push(new RegExp('^' + namespaces + '$')); } - }) - return length + } } -const rnull = exports.null = {} +/** + * Disable debug output. + * + * @api public + */ -rnull.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rnull.encodingLength(data)) - if (!offset) offset = 0 +function disable() { + exports.enable(''); +} - if (typeof data === 'string') data = Buffer.from(data) - if (!data) data = Buffer.alloc(0) +/** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ - const oldOffset = offset - offset += 2 +function enabled(name) { + var i, len; + for (i = 0, len = exports.skips.length; i < len; i++) { + if (exports.skips[i].test(name)) { + return false; + } + } + for (i = 0, len = exports.names.length; i < len; i++) { + if (exports.names[i].test(name)) { + return true; + } + } + return false; +} - const len = data.length - data.copy(buf, offset, 0, len) - offset += len +/** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ - buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) - rnull.encode.bytes = offset - oldOffset - return buf +function coerce(val) { + if (val instanceof Error) return val.stack || val.message; + return val; } -rnull.encode.bytes = 0 -rnull.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset - const len = buf.readUInt16BE(offset) +/***/ }), - offset += 2 +/***/ "./node_modules/express-session/node_modules/debug/src/index.js": +/*!**********************************************************************!*\ + !*** ./node_modules/express-session/node_modules/debug/src/index.js ***! + \**********************************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - const data = buf.slice(offset, offset + len) - offset += len +/** + * Detect Electron renderer process, which is node, but we should + * treat as a browser. + */ - rnull.decode.bytes = offset - oldOffset - return data +if (typeof process !== 'undefined' && process.type === 'renderer') { + module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/express-session/node_modules/debug/src/browser.js"); +} else { + module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/express-session/node_modules/debug/src/node.js"); } -rnull.decode.bytes = 0 - -rnull.encodingLength = function (data) { - if (!data) return 2 - return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2 -} -const rhinfo = exports.hinfo = {} +/***/ }), -rhinfo.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data)) - if (!offset) offset = 0 +/***/ "./node_modules/express-session/node_modules/debug/src/node.js": +/*!*********************************************************************!*\ + !*** ./node_modules/express-session/node_modules/debug/src/node.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ +/*! CommonJS bailout: exports is used directly at 14:0-7 */ +/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ +/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ +/***/ ((module, exports, __webpack_require__) => { - const oldOffset = offset - offset += 2 - string.encode(data.cpu, buf, offset) - offset += string.encode.bytes - string.encode(data.os, buf, offset) - offset += string.encode.bytes - buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) - rhinfo.encode.bytes = offset - oldOffset - return buf -} +/** + * Module dependencies. + */ -rhinfo.encode.bytes = 0 +var tty = __webpack_require__(/*! tty */ "tty"); +var util = __webpack_require__(/*! util */ "util"); -rhinfo.decode = function (buf, offset) { - if (!offset) offset = 0 +/** + * This is the Node.js implementation of `debug()`. + * + * Expose `debug()` as the module. + */ - const oldOffset = offset +exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express-session/node_modules/debug/src/debug.js"); +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; - const data = {} - offset += 2 - data.cpu = string.decode(buf, offset) - offset += string.decode.bytes - data.os = string.decode(buf, offset) - offset += string.decode.bytes - rhinfo.decode.bytes = offset - oldOffset - return data -} +/** + * Colors. + */ -rhinfo.decode.bytes = 0 +exports.colors = [6, 2, 3, 4, 5, 1]; -rhinfo.encodingLength = function (data) { - return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2 -} +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ -const rptr = exports.ptr = {} -const rcname = exports.cname = rptr -const rdname = exports.dname = rptr +exports.inspectOpts = Object.keys(process.env).filter(function (key) { + return /^debug_/i.test(key); +}).reduce(function (obj, key) { + // camel-case + var prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); -rptr.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rptr.encodingLength(data)) - if (!offset) offset = 0 + // coerce string value into JS value + var val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) val = true; + else if (/^(no|off|false|disabled)$/i.test(val)) val = false; + else if (val === 'null') val = null; + else val = Number(val); - name.encode(data, buf, offset + 2) - buf.writeUInt16BE(name.encode.bytes, offset) - rptr.encode.bytes = name.encode.bytes + 2 - return buf -} + obj[prop] = val; + return obj; +}, {}); -rptr.encode.bytes = 0 +/** + * The file descriptor to write the `debug()` calls to. + * Set the `DEBUG_FD` env variable to override with another value. i.e.: + * + * $ DEBUG_FD=3 node script.js 3>debug.log + */ -rptr.decode = function (buf, offset) { - if (!offset) offset = 0 +var fd = parseInt(process.env.DEBUG_FD, 10) || 2; - const data = name.decode(buf, offset + 2) - rptr.decode.bytes = name.decode.bytes + 2 - return data +if (1 !== fd && 2 !== fd) { + util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() } -rptr.decode.bytes = 0 +var stream = 1 === fd ? process.stdout : + 2 === fd ? process.stderr : + createWritableStdioStream(fd); -rptr.encodingLength = function (data) { - return name.encodingLength(data) + 2 +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts + ? Boolean(exports.inspectOpts.colors) + : tty.isatty(fd); } -const rsrv = exports.srv = {} +/** + * Map %o to `util.inspect()`, all on a single line. + */ -rsrv.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data)) - if (!offset) offset = 0 +exports.formatters.o = function(v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n').map(function(str) { + return str.trim() + }).join(' '); +}; - buf.writeUInt16BE(data.priority || 0, offset + 2) - buf.writeUInt16BE(data.weight || 0, offset + 4) - buf.writeUInt16BE(data.port || 0, offset + 6) - name.encode(data.target, buf, offset + 8) +/** + * Map %o to `util.inspect()`, allowing multiple lines if needed. + */ - const len = name.encode.bytes + 6 - buf.writeUInt16BE(len, offset) +exports.formatters.O = function(v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; - rsrv.encode.bytes = len + 2 - return buf -} +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ -rsrv.encode.bytes = 0 +function formatArgs(args) { + var name = this.namespace; + var useColors = this.useColors; -rsrv.decode = function (buf, offset) { - if (!offset) offset = 0 + if (useColors) { + var c = this.color; + var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; - const len = buf.readUInt16BE(offset) + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); + } else { + args[0] = new Date().toUTCString() + + ' ' + name + ' ' + args[0]; + } +} - const data = {} - data.priority = buf.readUInt16BE(offset + 2) - data.weight = buf.readUInt16BE(offset + 4) - data.port = buf.readUInt16BE(offset + 6) - data.target = name.decode(buf, offset + 8) +/** + * Invokes `util.format()` with the specified arguments and writes to `stream`. + */ - rsrv.decode.bytes = len + 2 - return data +function log() { + return stream.write(util.format.apply(util, arguments) + '\n'); } -rsrv.decode.bytes = 0 +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ -rsrv.encodingLength = function (data) { - return 8 + name.encodingLength(data.target) +function save(namespaces) { + if (null == namespaces) { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } else { + process.env.DEBUG = namespaces; + } } -const rcaa = exports.caa = {} +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ -rcaa.ISSUER_CRITICAL = 1 << 7 +function load() { + return process.env.DEBUG; +} -rcaa.encode = function (data, buf, offset) { - const len = rcaa.encodingLength(data) +/** + * Copied from `node/src/node.js`. + * + * XXX: It's lame that node doesn't expose this API out-of-the-box. It also + * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. + */ - if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data)) - if (!offset) offset = 0 +function createWritableStdioStream (fd) { + var stream; + var tty_wrap = process.binding('tty_wrap'); - if (data.issuerCritical) { - data.flags = rcaa.ISSUER_CRITICAL - } + // Note stream._type is used for test-module-load-list.js - buf.writeUInt16BE(len - 2, offset) - offset += 2 - buf.writeUInt8(data.flags || 0, offset) - offset += 1 - string.encode(data.tag, buf, offset) - offset += string.encode.bytes - buf.write(data.value, offset) - offset += Buffer.byteLength(data.value) + switch (tty_wrap.guessHandleType(fd)) { + case 'TTY': + stream = new tty.WriteStream(fd); + stream._type = 'tty'; - rcaa.encode.bytes = len - return buf -} + // Hack to have stream not keep the event loop alive. + // See https://github.com/joyent/node/issues/1726 + if (stream._handle && stream._handle.unref) { + stream._handle.unref(); + } + break; -rcaa.encode.bytes = 0 + case 'FILE': + var fs = __webpack_require__(/*! fs */ "fs"); + stream = new fs.SyncWriteStream(fd, { autoClose: false }); + stream._type = 'fs'; + break; -rcaa.decode = function (buf, offset) { - if (!offset) offset = 0 + case 'PIPE': + case 'TCP': + var net = __webpack_require__(/*! net */ "net"); + stream = new net.Socket({ + fd: fd, + readable: false, + writable: true + }); - const len = buf.readUInt16BE(offset) - offset += 2 + // FIXME Should probably have an option in net.Socket to create a + // stream from an existing fd which is writable only. But for now + // we'll just add this hack and set the `readable` member to false. + // Test: ./node test/fixtures/echo.js < /etc/passwd + stream.readable = false; + stream.read = null; + stream._type = 'pipe'; - const oldOffset = offset - const data = {} - data.flags = buf.readUInt8(offset) - offset += 1 - data.tag = string.decode(buf, offset) - offset += string.decode.bytes - data.value = buf.toString('utf-8', offset, oldOffset + len) + // FIXME Hack to have stream not keep the event loop alive. + // See https://github.com/joyent/node/issues/1726 + if (stream._handle && stream._handle.unref) { + stream._handle.unref(); + } + break; - data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL) + default: + // Probably an error on in uv_guess_handle() + throw new Error('Implement me. Unknown stream file type!'); + } - rcaa.decode.bytes = len + 2 + // For supporting legacy API we put the FD here. + stream.fd = fd; - return data + stream._isStdio = true; + + return stream; } -rcaa.decode.bytes = 0 +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ -rcaa.encodingLength = function (data) { - return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2 +function init (debug) { + debug.inspectOpts = {}; + + var keys = Object.keys(exports.inspectOpts); + for (var i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } } -const rmx = exports.mx = {} +/** + * Enable namespaces listed in `process.env.DEBUG` initially. + */ -rmx.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rmx.encodingLength(data)) - if (!offset) offset = 0 +exports.enable(load()); - const oldOffset = offset - offset += 2 - buf.writeUInt16BE(data.preference || 0, offset) - offset += 2 - name.encode(data.exchange, buf, offset) - offset += name.encode.bytes - buf.writeUInt16BE(offset - oldOffset - 2, oldOffset) - rmx.encode.bytes = offset - oldOffset - return buf -} +/***/ }), -rmx.encode.bytes = 0 +/***/ "./node_modules/express-session/node_modules/ms/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/express-session/node_modules/ms/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module) => { -rmx.decode = function (buf, offset) { - if (!offset) offset = 0 +/** + * Helpers. + */ - const oldOffset = offset +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var y = d * 365.25; - const data = {} - offset += 2 - data.preference = buf.readUInt16BE(offset) - offset += 2 - data.exchange = name.decode(buf, offset) - offset += name.decode.bytes +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ - rmx.decode.bytes = offset - oldOffset - return data -} +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isNaN(val) === false) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; -rmx.encodingLength = function (data) { - return 4 + name.encodingLength(data.exchange) -} +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ -const ra = exports.a = {} +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} -ra.encode = function (host, buf, offset) { - if (!buf) buf = Buffer.alloc(ra.encodingLength(host)) - if (!offset) offset = 0 +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ - buf.writeUInt16BE(4, offset) - offset += 2 - ip.v4.encode(host, buf, offset) - ra.encode.bytes = 6 - return buf +function fmtShort(ms) { + if (ms >= d) { + return Math.round(ms / d) + 'd'; + } + if (ms >= h) { + return Math.round(ms / h) + 'h'; + } + if (ms >= m) { + return Math.round(ms / m) + 'm'; + } + if (ms >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; } -ra.encode.bytes = 0 - -ra.decode = function (buf, offset) { - if (!offset) offset = 0 +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ - offset += 2 - const host = ip.v4.decode(buf, offset) - ra.decode.bytes = 6 - return host +function fmtLong(ms) { + return plural(ms, d, 'day') || + plural(ms, h, 'hour') || + plural(ms, m, 'minute') || + plural(ms, s, 'second') || + ms + ' ms'; } -ra.decode.bytes = 0 +/** + * Pluralization helper. + */ -ra.encodingLength = function () { - return 6 +function plural(ms, n, name) { + if (ms < n) { + return; + } + if (ms < n * 1.5) { + return Math.floor(ms / n) + ' ' + name; + } + return Math.ceil(ms / n) + ' ' + name + 's'; } -const raaaa = exports.aaaa = {} -raaaa.encode = function (host, buf, offset) { - if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host)) - if (!offset) offset = 0 +/***/ }), - buf.writeUInt16BE(16, offset) - offset += 2 - ip.v6.encode(host, buf, offset) - raaaa.encode.bytes = 18 - return buf -} +/***/ "./node_modules/express-session/session/cookie.js": +/*!********************************************************!*\ + !*** ./node_modules/express-session/session/cookie.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:13-27 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -raaaa.encode.bytes = 0 +"use strict"; +/*! + * Connect - session - Cookie + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * MIT Licensed + */ -raaaa.decode = function (buf, offset) { - if (!offset) offset = 0 - offset += 2 - const host = ip.v6.decode(buf, offset) - raaaa.decode.bytes = 18 - return host -} -raaaa.decode.bytes = 0 +/** + * Module dependencies. + */ -raaaa.encodingLength = function () { - return 18 -} +var cookie = __webpack_require__(/*! cookie */ "./node_modules/cookie/index.js") +var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express-session') -const roption = exports.option = {} +/** + * Initialize a new `Cookie` with the given `options`. + * + * @param {IncomingMessage} req + * @param {Object} options + * @api private + */ -roption.encode = function (option, buf, offset) { - if (!buf) buf = Buffer.alloc(roption.encodingLength(option)) - if (!offset) offset = 0 - const oldOffset = offset +var Cookie = module.exports = function Cookie(options) { + this.path = '/'; + this.maxAge = null; + this.httpOnly = true; - const code = optioncodes.toCode(option.code) - buf.writeUInt16BE(code, offset) - offset += 2 - if (option.data) { - buf.writeUInt16BE(option.data.length, offset) - offset += 2 - option.data.copy(buf, offset) - offset += option.data.length - } else { - switch (code) { - // case 3: NSID. No encode makes sense. - // case 5,6,7: Not implementable - case 8: // ECS - // note: do IP math before calling - const spl = option.sourcePrefixLength || 0 - const fam = option.family || ip.familyOf(option.ip) - const ipBuf = ip.encode(option.ip, Buffer.alloc) - const ipLen = Math.ceil(spl / 8) - buf.writeUInt16BE(ipLen + 4, offset) - offset += 2 - buf.writeUInt16BE(fam, offset) - offset += 2 - buf.writeUInt8(spl, offset++) - buf.writeUInt8(option.scopePrefixLength || 0, offset++) + if (options) { + if (typeof options !== 'object') { + throw new TypeError('argument options must be a object') + } - ipBuf.copy(buf, offset, 0, ipLen) - offset += ipLen - break - // case 9: EXPIRE (experimental) - // case 10: COOKIE. No encode makes sense. - case 11: // KEEP-ALIVE - if (option.timeout) { - buf.writeUInt16BE(2, offset) - offset += 2 - buf.writeUInt16BE(option.timeout, offset) - offset += 2 - } else { - buf.writeUInt16BE(0, offset) - offset += 2 - } - break - case 12: // PADDING - const len = option.length || 0 - buf.writeUInt16BE(len, offset) - offset += 2 - buf.fill(0, offset, offset + len) - offset += len - break - // case 13: CHAIN. Experimental. - case 14: // KEY-TAG - const tagsLen = option.tags.length * 2 - buf.writeUInt16BE(tagsLen, offset) - offset += 2 - for (const tag of option.tags) { - buf.writeUInt16BE(tag, offset) - offset += 2 - } - break - default: - throw new Error(`Unknown roption code: ${option.code}`) + for (var key in options) { + if (key !== 'data') { + this[key] = options[key] + } } } - roption.encode.bytes = offset - oldOffset - return buf -} - -roption.encode.bytes = 0 - -roption.decode = function (buf, offset) { - if (!offset) offset = 0 - const option = {} - option.code = buf.readUInt16BE(offset) - option.type = optioncodes.toString(option.code) - offset += 2 - const len = buf.readUInt16BE(offset) - offset += 2 - option.data = buf.slice(offset, offset + len) - switch (option.code) { - // case 3: NSID. No decode makes sense. - case 8: // ECS - option.family = buf.readUInt16BE(offset) - offset += 2 - option.sourcePrefixLength = buf.readUInt8(offset++) - option.scopePrefixLength = buf.readUInt8(offset++) - const padded = Buffer.alloc((option.family === 1) ? 4 : 16) - buf.copy(padded, 0, offset, offset + len - 4) - option.ip = ip.decode(padded) - break - // case 12: Padding. No decode makes sense. - case 11: // KEEP-ALIVE - if (len > 0) { - option.timeout = buf.readUInt16BE(offset) - offset += 2 - } - break - case 14: - option.tags = [] - for (let i = 0; i < len; i += 2) { - option.tags.push(buf.readUInt16BE(offset)) - offset += 2 - } - // don't worry about default. caller will use data if desired + if (this.originalMaxAge === undefined || this.originalMaxAge === null) { + this.originalMaxAge = this.maxAge } +}; - roption.decode.bytes = len + 4 - return option -} +/*! + * Prototype. + */ -roption.decode.bytes = 0 +Cookie.prototype = { -roption.encodingLength = function (option) { - if (option.data) { - return option.data.length + 4 - } - const code = optioncodes.toCode(option.code) - switch (code) { - case 8: // ECS - const spl = option.sourcePrefixLength || 0 - return Math.ceil(spl / 8) + 8 - case 11: // KEEP-ALIVE - return (typeof option.timeout === 'number') ? 6 : 4 - case 12: // PADDING - return option.length + 4 - case 14: // KEY-TAG - return 4 + (option.tags.length * 2) - } - throw new Error(`Unknown roption code: ${option.code}`) -} + /** + * Set expires `date`. + * + * @param {Date} date + * @api public + */ -const ropt = exports.opt = {} + set expires(date) { + this._expires = date; + this.originalMaxAge = this.maxAge; + }, -ropt.encode = function (options, buf, offset) { - if (!buf) buf = Buffer.alloc(ropt.encodingLength(options)) - if (!offset) offset = 0 - const oldOffset = offset + /** + * Get expires `date`. + * + * @return {Date} + * @api public + */ - const rdlen = encodingLengthList(options, roption) - buf.writeUInt16BE(rdlen, offset) - offset = encodeList(options, roption, buf, offset + 2) + get expires() { + return this._expires; + }, - ropt.encode.bytes = offset - oldOffset - return buf -} + /** + * Set expires via max-age in `ms`. + * + * @param {Number} ms + * @api public + */ -ropt.encode.bytes = 0 + set maxAge(ms) { + if (ms && typeof ms !== 'number' && !(ms instanceof Date)) { + throw new TypeError('maxAge must be a number or Date') + } -ropt.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset + if (ms instanceof Date) { + deprecate('maxAge as Date; pass number of milliseconds instead') + } - const options = [] - let rdlen = buf.readUInt16BE(offset) - offset += 2 - let o = 0 - while (rdlen > 0) { - options[o++] = roption.decode(buf, offset) - offset += roption.decode.bytes - rdlen -= roption.decode.bytes - } - ropt.decode.bytes = offset - oldOffset - return options -} + this.expires = typeof ms === 'number' + ? new Date(Date.now() + ms) + : ms; + }, -ropt.decode.bytes = 0 + /** + * Get expires max-age in `ms`. + * + * @return {Number} + * @api public + */ -ropt.encodingLength = function (options) { - return 2 + encodingLengthList(options || [], roption) -} + get maxAge() { + return this.expires instanceof Date + ? this.expires.valueOf() - Date.now() + : this.expires; + }, -const rdnskey = exports.dnskey = {} + /** + * Return cookie data object. + * + * @return {Object} + * @api private + */ -rdnskey.PROTOCOL_DNSSEC = 3 -rdnskey.ZONE_KEY = 0x80 -rdnskey.SECURE_ENTRYPOINT = 0x8000 + get data() { + return { + originalMaxAge: this.originalMaxAge + , expires: this._expires + , secure: this.secure + , httpOnly: this.httpOnly + , domain: this.domain + , path: this.path + , sameSite: this.sameSite + } + }, -rdnskey.encode = function (key, buf, offset) { - if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key)) - if (!offset) offset = 0 - const oldOffset = offset + /** + * Return a serialized cookie string. + * + * @return {String} + * @api public + */ - const keydata = key.key - if (!Buffer.isBuffer(keydata)) { - throw new Error('Key must be a Buffer') - } + serialize: function(name, val){ + return cookie.serialize(name, val, this.data); + }, - offset += 2 // Leave space for length - buf.writeUInt16BE(key.flags, offset) - offset += 2 - buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset) - offset += 1 - buf.writeUInt8(key.algorithm, offset) - offset += 1 - keydata.copy(buf, offset, 0, keydata.length) - offset += keydata.length + /** + * Return JSON representation of this cookie. + * + * @return {Object} + * @api private + */ - rdnskey.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset) - return buf -} + toJSON: function(){ + return this.data; + } +}; -rdnskey.encode.bytes = 0 -rdnskey.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset +/***/ }), - var key = {} - var length = buf.readUInt16BE(offset) - offset += 2 - key.flags = buf.readUInt16BE(offset) - offset += 2 - if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) { - throw new Error('Protocol must be 3') - } - offset += 1 - key.algorithm = buf.readUInt8(offset) - offset += 1 - key.key = buf.slice(offset, oldOffset + length + 2) - offset += key.key.length - rdnskey.decode.bytes = offset - oldOffset - return key -} +/***/ "./node_modules/express-session/session/memory.js": +/*!********************************************************!*\ + !*** ./node_modules/express-session/session/memory.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -rdnskey.decode.bytes = 0 +"use strict"; +/*! + * express-session + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ -rdnskey.encodingLength = function (key) { - return 6 + Buffer.byteLength(key.key) -} -const rrrsig = exports.rrsig = {} -rrrsig.encode = function (sig, buf, offset) { - if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig)) - if (!offset) offset = 0 - const oldOffset = offset +/** + * Module dependencies. + * @private + */ - const signature = sig.signature - if (!Buffer.isBuffer(signature)) { - throw new Error('Signature must be a Buffer') - } +var Store = __webpack_require__(/*! ./store */ "./node_modules/express-session/session/store.js") +var util = __webpack_require__(/*! util */ "util") - offset += 2 // Leave space for length - buf.writeUInt16BE(types.toType(sig.typeCovered), offset) - offset += 2 - buf.writeUInt8(sig.algorithm, offset) - offset += 1 - buf.writeUInt8(sig.labels, offset) - offset += 1 - buf.writeUInt32BE(sig.originalTTL, offset) - offset += 4 - buf.writeUInt32BE(sig.expiration, offset) - offset += 4 - buf.writeUInt32BE(sig.inception, offset) - offset += 4 - buf.writeUInt16BE(sig.keyTag, offset) - offset += 2 - name.encode(sig.signersName, buf, offset) - offset += name.encode.bytes - signature.copy(buf, offset, 0, signature.length) - offset += signature.length +/** + * Shim setImmediate for node.js < 0.10 + * @private + */ - rrrsig.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset) - return buf -} +/* istanbul ignore next */ +var defer = typeof setImmediate === 'function' + ? setImmediate + : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) } -rrrsig.encode.bytes = 0 +/** + * Module exports. + */ -rrrsig.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset +module.exports = MemoryStore - var sig = {} - var length = buf.readUInt16BE(offset) - offset += 2 - sig.typeCovered = types.toString(buf.readUInt16BE(offset)) - offset += 2 - sig.algorithm = buf.readUInt8(offset) - offset += 1 - sig.labels = buf.readUInt8(offset) - offset += 1 - sig.originalTTL = buf.readUInt32BE(offset) - offset += 4 - sig.expiration = buf.readUInt32BE(offset) - offset += 4 - sig.inception = buf.readUInt32BE(offset) - offset += 4 - sig.keyTag = buf.readUInt16BE(offset) - offset += 2 - sig.signersName = name.decode(buf, offset) - offset += name.decode.bytes - sig.signature = buf.slice(offset, oldOffset + length + 2) - offset += sig.signature.length - rrrsig.decode.bytes = offset - oldOffset - return sig +/** + * A session store in memory. + * @public + */ + +function MemoryStore() { + Store.call(this) + this.sessions = Object.create(null) } -rrrsig.decode.bytes = 0 +/** + * Inherit from Store. + */ -rrrsig.encodingLength = function (sig) { - return 20 + - name.encodingLength(sig.signersName) + - Buffer.byteLength(sig.signature) -} +util.inherits(MemoryStore, Store) -const rrp = exports.rp = {} +/** + * Get all active sessions. + * + * @param {function} callback + * @public + */ -rrp.encode = function (data, buf, offset) { - if (!buf) buf = Buffer.alloc(rrp.encodingLength(data)) - if (!offset) offset = 0 - const oldOffset = offset +MemoryStore.prototype.all = function all(callback) { + var sessionIds = Object.keys(this.sessions) + var sessions = Object.create(null) - offset += 2 // Leave space for length - name.encode(data.mbox || '.', buf, offset) - offset += name.encode.bytes - name.encode(data.txt || '.', buf, offset) - offset += name.encode.bytes - rrp.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset) - return buf -} + for (var i = 0; i < sessionIds.length; i++) { + var sessionId = sessionIds[i] + var session = getSession.call(this, sessionId) -rrp.encode.bytes = 0 + if (session) { + sessions[sessionId] = session; + } + } -rrp.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset + callback && defer(callback, null, sessions) +} - const data = {} - offset += 2 - data.mbox = name.decode(buf, offset) || '.' - offset += name.decode.bytes - data.txt = name.decode(buf, offset) || '.' - offset += name.decode.bytes - rrp.decode.bytes = offset - oldOffset - return data +/** + * Clear all sessions. + * + * @param {function} callback + * @public + */ + +MemoryStore.prototype.clear = function clear(callback) { + this.sessions = Object.create(null) + callback && defer(callback) } -rrp.decode.bytes = 0 +/** + * Destroy the session associated with the given session ID. + * + * @param {string} sessionId + * @public + */ -rrp.encodingLength = function (data) { - return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.') +MemoryStore.prototype.destroy = function destroy(sessionId, callback) { + delete this.sessions[sessionId] + callback && defer(callback) } -const typebitmap = {} +/** + * Fetch session by the given session ID. + * + * @param {string} sessionId + * @param {function} callback + * @public + */ -typebitmap.encode = function (typelist, buf, offset) { - if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist)) - if (!offset) offset = 0 - const oldOffset = offset +MemoryStore.prototype.get = function get(sessionId, callback) { + defer(callback, null, getSession.call(this, sessionId)) +} - var typesByWindow = [] - for (var i = 0; i < typelist.length; i++) { - var typeid = types.toType(typelist[i]) - if (typesByWindow[typeid >> 8] === undefined) { - typesByWindow[typeid >> 8] = [] - } - typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7)) - } +/** + * Commit the given session associated with the given sessionId to the store. + * + * @param {string} sessionId + * @param {object} session + * @param {function} callback + * @public + */ - for (i = 0; i < typesByWindow.length; i++) { - if (typesByWindow[i] !== undefined) { - var windowBuf = Buffer.from(typesByWindow[i]) - buf.writeUInt8(i, offset) - offset += 1 - buf.writeUInt8(windowBuf.length, offset) - offset += 1 - windowBuf.copy(buf, offset) - offset += windowBuf.length - } - } +MemoryStore.prototype.set = function set(sessionId, session, callback) { + this.sessions[sessionId] = JSON.stringify(session) + callback && defer(callback) +} - typebitmap.encode.bytes = offset - oldOffset - return buf +/** + * Get number of active sessions. + * + * @param {function} callback + * @public + */ + +MemoryStore.prototype.length = function length(callback) { + this.all(function (err, sessions) { + if (err) return callback(err) + callback(null, Object.keys(sessions).length) + }) } -typebitmap.encode.bytes = 0 +/** + * Touch the given session object associated with the given session ID. + * + * @param {string} sessionId + * @param {object} session + * @param {function} callback + * @public + */ -typebitmap.decode = function (buf, offset, length) { - if (!offset) offset = 0 - const oldOffset = offset +MemoryStore.prototype.touch = function touch(sessionId, session, callback) { + var currentSession = getSession.call(this, sessionId) - var typelist = [] - while (offset - oldOffset < length) { - var window = buf.readUInt8(offset) - offset += 1 - var windowLength = buf.readUInt8(offset) - offset += 1 - for (var i = 0; i < windowLength; i++) { - var b = buf.readUInt8(offset + i) - for (var j = 0; j < 8; j++) { - if (b & (1 << (7 - j))) { - var typeid = types.toString((window << 8) | (i << 3) | j) - typelist.push(typeid) - } - } - } - offset += windowLength + if (currentSession) { + // update expiration + currentSession.cookie = session.cookie + this.sessions[sessionId] = JSON.stringify(currentSession) } - typebitmap.decode.bytes = offset - oldOffset - return typelist + callback && defer(callback) } -typebitmap.decode.bytes = 0 +/** + * Get session from the store. + * @private + */ -typebitmap.encodingLength = function (typelist) { - var extents = [] - for (var i = 0; i < typelist.length; i++) { - var typeid = types.toType(typelist[i]) - extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF) +function getSession(sessionId) { + var sess = this.sessions[sessionId] + + if (!sess) { + return } - var len = 0 - for (i = 0; i < extents.length; i++) { - if (extents[i] !== undefined) { - len += 2 + Math.ceil((extents[i] + 1) / 8) + // parse + sess = JSON.parse(sess) + + if (sess.cookie) { + var expires = typeof sess.cookie.expires === 'string' + ? new Date(sess.cookie.expires) + : sess.cookie.expires + + // destroy expired session + if (expires && expires <= Date.now()) { + delete this.sessions[sessionId] + return } } - return len + return sess } -const rnsec = exports.nsec = {} - -rnsec.encode = function (record, buf, offset) { - if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record)) - if (!offset) offset = 0 - const oldOffset = offset - offset += 2 // Leave space for length - name.encode(record.nextDomain, buf, offset) - offset += name.encode.bytes - typebitmap.encode(record.rrtypes, buf, offset) - offset += typebitmap.encode.bytes +/***/ }), - rnsec.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset) - return buf -} +/***/ "./node_modules/express-session/session/session.js": +/*!*********************************************************!*\ + !*** ./node_modules/express-session/session/session.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module) => { -rnsec.encode.bytes = 0 +"use strict"; +/*! + * Connect - session - Session + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * MIT Licensed + */ -rnsec.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset - var record = {} - var length = buf.readUInt16BE(offset) - offset += 2 - record.nextDomain = name.decode(buf, offset) - offset += name.decode.bytes - record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset)) - offset += typebitmap.decode.bytes - rnsec.decode.bytes = offset - oldOffset - return record -} +/** + * Expose Session. + */ -rnsec.decode.bytes = 0 +module.exports = Session; -rnsec.encodingLength = function (record) { - return 2 + - name.encodingLength(record.nextDomain) + - typebitmap.encodingLength(record.rrtypes) -} - -const rnsec3 = exports.nsec3 = {} - -rnsec3.encode = function (record, buf, offset) { - if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record)) - if (!offset) offset = 0 - const oldOffset = offset +/** + * Create a new `Session` with the given request and `data`. + * + * @param {IncomingRequest} req + * @param {Object} data + * @api private + */ - const salt = record.salt - if (!Buffer.isBuffer(salt)) { - throw new Error('salt must be a Buffer') - } +function Session(req, data) { + Object.defineProperty(this, 'req', { value: req }); + Object.defineProperty(this, 'id', { value: req.sessionID }); - const nextDomain = record.nextDomain - if (!Buffer.isBuffer(nextDomain)) { - throw new Error('nextDomain must be a Buffer') + if (typeof data === 'object' && data !== null) { + // merge data into this, ignoring prototype properties + for (var prop in data) { + if (!(prop in this)) { + this[prop] = data[prop] + } + } } - - offset += 2 // Leave space for length - buf.writeUInt8(record.algorithm, offset) - offset += 1 - buf.writeUInt8(record.flags, offset) - offset += 1 - buf.writeUInt16BE(record.iterations, offset) - offset += 2 - buf.writeUInt8(salt.length, offset) - offset += 1 - salt.copy(buf, offset, 0, salt.length) - offset += salt.length - buf.writeUInt8(nextDomain.length, offset) - offset += 1 - nextDomain.copy(buf, offset, 0, nextDomain.length) - offset += nextDomain.length - typebitmap.encode(record.rrtypes, buf, offset) - offset += typebitmap.encode.bytes - - rnsec3.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset) - return buf } -rnsec3.encode.bytes = 0 - -rnsec3.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset +/** + * Update reset `.cookie.maxAge` to prevent + * the cookie from expiring when the + * session is still active. + * + * @return {Session} for chaining + * @api public + */ - var record = {} - var length = buf.readUInt16BE(offset) - offset += 2 - record.algorithm = buf.readUInt8(offset) - offset += 1 - record.flags = buf.readUInt8(offset) - offset += 1 - record.iterations = buf.readUInt16BE(offset) - offset += 2 - const saltLength = buf.readUInt8(offset) - offset += 1 - record.salt = buf.slice(offset, offset + saltLength) - offset += saltLength - const hashLength = buf.readUInt8(offset) - offset += 1 - record.nextDomain = buf.slice(offset, offset + hashLength) - offset += hashLength - record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset)) - offset += typebitmap.decode.bytes +defineMethod(Session.prototype, 'touch', function touch() { + return this.resetMaxAge(); +}); - rnsec3.decode.bytes = offset - oldOffset - return record -} +/** + * Reset `.maxAge` to `.originalMaxAge`. + * + * @return {Session} for chaining + * @api public + */ -rnsec3.decode.bytes = 0 +defineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() { + this.cookie.maxAge = this.cookie.originalMaxAge; + return this; +}); -rnsec3.encodingLength = function (record) { - return 8 + - record.salt.length + - record.nextDomain.length + - typebitmap.encodingLength(record.rrtypes) -} +/** + * Save the session data with optional callback `fn(err)`. + * + * @param {Function} fn + * @return {Session} for chaining + * @api public + */ -const rds = exports.ds = {} +defineMethod(Session.prototype, 'save', function save(fn) { + this.req.sessionStore.set(this.id, this, fn || function(){}); + return this; +}); -rds.encode = function (digest, buf, offset) { - if (!buf) buf = Buffer.alloc(rds.encodingLength(digest)) - if (!offset) offset = 0 - const oldOffset = offset +/** + * Re-loads the session data _without_ altering + * the maxAge properties. Invokes the callback `fn(err)`, + * after which time if no exception has occurred the + * `req.session` property will be a new `Session` object, + * although representing the same session. + * + * @param {Function} fn + * @return {Session} for chaining + * @api public + */ - const digestdata = digest.digest - if (!Buffer.isBuffer(digestdata)) { - throw new Error('Digest must be a Buffer') - } +defineMethod(Session.prototype, 'reload', function reload(fn) { + var req = this.req + var store = this.req.sessionStore - offset += 2 // Leave space for length - buf.writeUInt16BE(digest.keyTag, offset) - offset += 2 - buf.writeUInt8(digest.algorithm, offset) - offset += 1 - buf.writeUInt8(digest.digestType, offset) - offset += 1 - digestdata.copy(buf, offset, 0, digestdata.length) - offset += digestdata.length + store.get(this.id, function(err, sess){ + if (err) return fn(err); + if (!sess) return fn(new Error('failed to load session')); + store.createSession(req, sess); + fn(); + }); + return this; +}); - rds.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset) - return buf -} +/** + * Destroy `this` session. + * + * @param {Function} fn + * @return {Session} for chaining + * @api public + */ -rds.encode.bytes = 0 +defineMethod(Session.prototype, 'destroy', function destroy(fn) { + delete this.req.session; + this.req.sessionStore.destroy(this.id, fn); + return this; +}); -rds.decode = function (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset +/** + * Regenerate this request's session. + * + * @param {Function} fn + * @return {Session} for chaining + * @api public + */ - var digest = {} - var length = buf.readUInt16BE(offset) - offset += 2 - digest.keyTag = buf.readUInt16BE(offset) - offset += 2 - digest.algorithm = buf.readUInt8(offset) - offset += 1 - digest.digestType = buf.readUInt8(offset) - offset += 1 - digest.digest = buf.slice(offset, oldOffset + length + 2) - offset += digest.digest.length - rds.decode.bytes = offset - oldOffset - return digest -} +defineMethod(Session.prototype, 'regenerate', function regenerate(fn) { + this.req.sessionStore.regenerate(this.req, fn); + return this; +}); -rds.decode.bytes = 0 +/** + * Helper function for creating a method on a prototype. + * + * @param {Object} obj + * @param {String} name + * @param {Function} fn + * @private + */ +function defineMethod(obj, name, fn) { + Object.defineProperty(obj, name, { + configurable: true, + enumerable: false, + value: fn, + writable: true + }); +}; -rds.encodingLength = function (digest) { - return 6 + Buffer.byteLength(digest.digest) -} -const rsshfp = exports.sshfp = {} +/***/ }), -rsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) { - switch (hashType) { - case 1: return 20 - case 2: return 32 - } -} +/***/ "./node_modules/express-session/session/store.js": +/*!*******************************************************!*\ + !*** ./node_modules/express-session/session/store.js ***! + \*******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -rsshfp.encode = function encode (record, buf, offset) { - if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record)) - if (!offset) offset = 0 - const oldOffset = offset +"use strict"; +/*! + * Connect - session - Store + * Copyright(c) 2010 Sencha Inc. + * Copyright(c) 2011 TJ Holowaychuk + * MIT Licensed + */ - offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one - buf[offset] = record.algorithm - offset += 1 - buf[offset] = record.hash - offset += 1 - const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex') - if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) { - throw new Error('Invalid fingerprint length') - } - fingerprintBuf.copy(buf, offset) - offset += fingerprintBuf.byteLength - rsshfp.encode.bytes = offset - oldOffset - buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset) +/** + * Module dependencies. + * @private + */ - return buf -} +var Cookie = __webpack_require__(/*! ./cookie */ "./node_modules/express-session/session/cookie.js") +var EventEmitter = __webpack_require__(/*! events */ "events").EventEmitter +var Session = __webpack_require__(/*! ./session */ "./node_modules/express-session/session/session.js") +var util = __webpack_require__(/*! util */ "util") -rsshfp.encode.bytes = 0 +/** + * Module exports. + * @public + */ -rsshfp.decode = function decode (buf, offset) { - if (!offset) offset = 0 - const oldOffset = offset +module.exports = Store - const record = {} - offset += 2 // Account for the RDLENGTH field - record.algorithm = buf[offset] - offset += 1 - record.hash = buf[offset] - offset += 1 +/** + * Abstract base class for session stores. + * @public + */ - const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash) - record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase() - offset += fingerprintLength - rsshfp.decode.bytes = offset - oldOffset - return record +function Store () { + EventEmitter.call(this) } -rsshfp.decode.bytes = 0 - -rsshfp.encodingLength = function (record) { - return 4 + Buffer.from(record.fingerprint, 'hex').byteLength -} +/** + * Inherit from EventEmitter. + */ -const renc = exports.record = function (type) { - switch (type.toUpperCase()) { - case 'A': return ra - case 'PTR': return rptr - case 'CNAME': return rcname - case 'DNAME': return rdname - case 'TXT': return rtxt - case 'NULL': return rnull - case 'AAAA': return raaaa - case 'SRV': return rsrv - case 'HINFO': return rhinfo - case 'CAA': return rcaa - case 'NS': return rns - case 'SOA': return rsoa - case 'MX': return rmx - case 'OPT': return ropt - case 'DNSKEY': return rdnskey - case 'RRSIG': return rrrsig - case 'RP': return rrp - case 'NSEC': return rnsec - case 'NSEC3': return rnsec3 - case 'SSHFP': return rsshfp - case 'DS': return rds - } - return runknown -} +util.inherits(Store, EventEmitter) -const answer = exports.answer = {} +/** + * Re-generate the given requests's session. + * + * @param {IncomingRequest} req + * @return {Function} fn + * @api public + */ -answer.encode = function (a, buf, offset) { - if (!buf) buf = Buffer.alloc(answer.encodingLength(a)) - if (!offset) offset = 0 +Store.prototype.regenerate = function(req, fn){ + var self = this; + this.destroy(req.sessionID, function(err){ + self.generate(req); + fn(err); + }); +}; - const oldOffset = offset +/** + * Load a `Session` instance via the given `sid` + * and invoke the callback `fn(err, sess)`. + * + * @param {String} sid + * @param {Function} fn + * @api public + */ - name.encode(a.name, buf, offset) - offset += name.encode.bytes +Store.prototype.load = function(sid, fn){ + var self = this; + this.get(sid, function(err, sess){ + if (err) return fn(err); + if (!sess) return fn(); + var req = { sessionID: sid, sessionStore: self }; + fn(null, self.createSession(req, sess)) + }); +}; - buf.writeUInt16BE(types.toType(a.type), offset) +/** + * Create session from JSON `sess` data. + * + * @param {IncomingRequest} req + * @param {Object} sess + * @return {Session} + * @api private + */ - if (a.type.toUpperCase() === 'OPT') { - if (a.name !== '.') { - throw new Error('OPT name must be root.') - } - buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2) - buf.writeUInt8(a.extendedRcode || 0, offset + 4) - buf.writeUInt8(a.ednsVersion || 0, offset + 5) - buf.writeUInt16BE(a.flags || 0, offset + 6) +Store.prototype.createSession = function(req, sess){ + var expires = sess.cookie.expires + var originalMaxAge = sess.cookie.originalMaxAge - offset += 8 - ropt.encode(a.options || [], buf, offset) - offset += ropt.encode.bytes - } else { - let klass = classes.toClass(a.class === undefined ? 'IN' : a.class) - if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit - buf.writeUInt16BE(klass, offset + 2) - buf.writeUInt32BE(a.ttl || 0, offset + 4) + sess.cookie = new Cookie(sess.cookie); - offset += 8 - const enc = renc(a.type) - enc.encode(a.data, buf, offset) - offset += enc.encode.bytes + if (typeof expires === 'string') { + // convert expires to a Date object + sess.cookie.expires = new Date(expires) } - answer.encode.bytes = offset - oldOffset - return buf -} + // keep originalMaxAge intact + sess.cookie.originalMaxAge = originalMaxAge -answer.encode.bytes = 0 + req.session = new Session(req, sess); + return req.session; +}; -answer.decode = function (buf, offset) { - if (!offset) offset = 0 - const a = {} - const oldOffset = offset +/***/ }), - a.name = name.decode(buf, offset) - offset += name.decode.bytes - a.type = types.toString(buf.readUInt16BE(offset)) - if (a.type === 'OPT') { - a.udpPayloadSize = buf.readUInt16BE(offset + 2) - a.extendedRcode = buf.readUInt8(offset + 4) - a.ednsVersion = buf.readUInt8(offset + 5) - a.flags = buf.readUInt16BE(offset + 6) - a.flag_do = ((a.flags >> 15) & 0x1) === 1 - a.options = ropt.decode(buf, offset + 8) - offset += 8 + ropt.decode.bytes - } else { - const klass = buf.readUInt16BE(offset + 2) - a.ttl = buf.readUInt32BE(offset + 4) +/***/ "./node_modules/follow-redirects/debug.js": +/*!************************************************!*\ + !*** ./node_modules/follow-redirects/debug.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - a.class = classes.toString(klass & NOT_FLUSH_MASK) - a.flush = !!(klass & FLUSH_MASK) +var debug; - const enc = renc(a.type) - a.data = enc.decode(buf, offset + 8) - offset += 8 + enc.decode.bytes +module.exports = function () { + if (!debug) { + try { + /* eslint global-require: off */ + debug = __webpack_require__(/*! debug */ "./node_modules/debug/src/index.js")("follow-redirects"); + } + catch (error) { /* */ } + if (typeof debug !== "function") { + debug = function () { /* */ }; + } } + debug.apply(null, arguments); +}; - answer.decode.bytes = offset - oldOffset - return a -} - -answer.decode.bytes = 0 - -answer.encodingLength = function (a) { - const data = (a.data !== null && a.data !== undefined) ? a.data : a.options - return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data) -} - -const question = exports.question = {} - -question.encode = function (q, buf, offset) { - if (!buf) buf = Buffer.alloc(question.encodingLength(q)) - if (!offset) offset = 0 - const oldOffset = offset +/***/ }), - name.encode(q.name, buf, offset) - offset += name.encode.bytes +/***/ "./node_modules/follow-redirects/index.js": +/*!************************************************!*\ + !*** ./node_modules/follow-redirects/index.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: __webpack_require__, module */ +/*! CommonJS bailout: module.exports is used directly at 620:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - buf.writeUInt16BE(types.toType(q.type), offset) - offset += 2 +var url = __webpack_require__(/*! url */ "url"); +var URL = url.URL; +var http = __webpack_require__(/*! http */ "http"); +var https = __webpack_require__(/*! https */ "https"); +var Writable = __webpack_require__(/*! stream */ "stream").Writable; +var assert = __webpack_require__(/*! assert */ "assert"); +var debug = __webpack_require__(/*! ./debug */ "./node_modules/follow-redirects/debug.js"); - buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset) - offset += 2 +// Create handlers that pass events from native requests +var events = ["abort", "aborted", "connect", "error", "socket", "timeout"]; +var eventHandlers = Object.create(null); +events.forEach(function (event) { + eventHandlers[event] = function (arg1, arg2, arg3) { + this._redirectable.emit(event, arg1, arg2, arg3); + }; +}); - question.encode.bytes = offset - oldOffset - return q -} - -question.encode.bytes = 0 - -question.decode = function (buf, offset) { - if (!offset) offset = 0 +var InvalidUrlError = createErrorType( + "ERR_INVALID_URL", + "Invalid URL", + TypeError +); +// Error types with codes +var RedirectionError = createErrorType( + "ERR_FR_REDIRECTION_FAILURE", + "Redirected request failed" +); +var TooManyRedirectsError = createErrorType( + "ERR_FR_TOO_MANY_REDIRECTS", + "Maximum number of redirects exceeded" +); +var MaxBodyLengthExceededError = createErrorType( + "ERR_FR_MAX_BODY_LENGTH_EXCEEDED", + "Request body larger than maxBodyLength limit" +); +var WriteAfterEndError = createErrorType( + "ERR_STREAM_WRITE_AFTER_END", + "write after end" +); - const oldOffset = offset - const q = {} +// An HTTP(S) request that can be redirected +function RedirectableRequest(options, responseCallback) { + // Initialize the request + Writable.call(this); + this._sanitizeOptions(options); + this._options = options; + this._ended = false; + this._ending = false; + this._redirectCount = 0; + this._redirects = []; + this._requestBodyLength = 0; + this._requestBodyBuffers = []; - q.name = name.decode(buf, offset) - offset += name.decode.bytes + // Attach a callback if passed + if (responseCallback) { + this.on("response", responseCallback); + } - q.type = types.toString(buf.readUInt16BE(offset)) - offset += 2 + // React to responses of native requests + var self = this; + this._onNativeResponse = function (response) { + self._processResponse(response); + }; - q.class = classes.toString(buf.readUInt16BE(offset)) - offset += 2 + // Perform the first request + this._performRequest(); +} +RedirectableRequest.prototype = Object.create(Writable.prototype); - const qu = !!(q.class & QU_MASK) - if (qu) q.class &= NOT_QU_MASK +RedirectableRequest.prototype.abort = function () { + abortRequest(this._currentRequest); + this.emit("abort"); +}; - question.decode.bytes = offset - oldOffset - return q -} +// Writes buffered data to the current native request +RedirectableRequest.prototype.write = function (data, encoding, callback) { + // Writing is not allowed if end has been called + if (this._ending) { + throw new WriteAfterEndError(); + } -question.decode.bytes = 0 + // Validate input and shift parameters if necessary + if (!isString(data) && !isBuffer(data)) { + throw new TypeError("data should be a string, Buffer or Uint8Array"); + } + if (isFunction(encoding)) { + callback = encoding; + encoding = null; + } -question.encodingLength = function (q) { - return name.encodingLength(q.name) + 4 -} + // Ignore empty buffers, since writing them doesn't invoke the callback + // https://github.com/nodejs/node/issues/22066 + if (data.length === 0) { + if (callback) { + callback(); + } + return; + } + // Only write when we don't exceed the maximum body length + if (this._requestBodyLength + data.length <= this._options.maxBodyLength) { + this._requestBodyLength += data.length; + this._requestBodyBuffers.push({ data: data, encoding: encoding }); + this._currentRequest.write(data, encoding, callback); + } + // Error when we exceed the maximum body length + else { + this.emit("error", new MaxBodyLengthExceededError()); + this.abort(); + } +}; -exports.AUTHORITATIVE_ANSWER = 1 << 10 -exports.TRUNCATED_RESPONSE = 1 << 9 -exports.RECURSION_DESIRED = 1 << 8 -exports.RECURSION_AVAILABLE = 1 << 7 -exports.AUTHENTIC_DATA = 1 << 5 -exports.CHECKING_DISABLED = 1 << 4 -exports.DNSSEC_OK = 1 << 15 +// Ends the current native request +RedirectableRequest.prototype.end = function (data, encoding, callback) { + // Shift parameters if necessary + if (isFunction(data)) { + callback = data; + data = encoding = null; + } + else if (isFunction(encoding)) { + callback = encoding; + encoding = null; + } -exports.encode = function (result, buf, offset) { - const allocing = !buf + // Write data if needed and end + if (!data) { + this._ended = this._ending = true; + this._currentRequest.end(null, null, callback); + } + else { + var self = this; + var currentRequest = this._currentRequest; + this.write(data, encoding, function () { + self._ended = true; + currentRequest.end(null, null, callback); + }); + this._ending = true; + } +}; - if (allocing) buf = Buffer.alloc(exports.encodingLength(result)) - if (!offset) offset = 0 +// Sets a header value on the current native request +RedirectableRequest.prototype.setHeader = function (name, value) { + this._options.headers[name] = value; + this._currentRequest.setHeader(name, value); +}; - const oldOffset = offset +// Clears a header value on the current native request +RedirectableRequest.prototype.removeHeader = function (name) { + delete this._options.headers[name]; + this._currentRequest.removeHeader(name); +}; - if (!result.questions) result.questions = [] - if (!result.answers) result.answers = [] - if (!result.authorities) result.authorities = [] - if (!result.additionals) result.additionals = [] +// Global timeout for all underlying requests +RedirectableRequest.prototype.setTimeout = function (msecs, callback) { + var self = this; - header.encode(result, buf, offset) - offset += header.encode.bytes + // Destroys the socket on timeout + function destroyOnTimeout(socket) { + socket.setTimeout(msecs); + socket.removeListener("timeout", socket.destroy); + socket.addListener("timeout", socket.destroy); + } - offset = encodeList(result.questions, question, buf, offset) - offset = encodeList(result.answers, answer, buf, offset) - offset = encodeList(result.authorities, answer, buf, offset) - offset = encodeList(result.additionals, answer, buf, offset) + // Sets up a timer to trigger a timeout event + function startTimer(socket) { + if (self._timeout) { + clearTimeout(self._timeout); + } + self._timeout = setTimeout(function () { + self.emit("timeout"); + clearTimer(); + }, msecs); + destroyOnTimeout(socket); + } - exports.encode.bytes = offset - oldOffset + // Stops a timeout from triggering + function clearTimer() { + // Clear the timeout + if (self._timeout) { + clearTimeout(self._timeout); + self._timeout = null; + } - // just a quick sanity check - if (allocing && exports.encode.bytes !== buf.length) { - return buf.slice(0, exports.encode.bytes) + // Clean up all attached listeners + self.removeListener("abort", clearTimer); + self.removeListener("error", clearTimer); + self.removeListener("response", clearTimer); + if (callback) { + self.removeListener("timeout", callback); + } + if (!self.socket) { + self._currentRequest.removeListener("socket", startTimer); + } } - return buf -} + // Attach callback if passed + if (callback) { + this.on("timeout", callback); + } -exports.encode.bytes = 0 + // Start the timer if or when the socket is opened + if (this.socket) { + startTimer(this.socket); + } + else { + this._currentRequest.once("socket", startTimer); + } -exports.decode = function (buf, offset) { - if (!offset) offset = 0 + // Clean up on events + this.on("socket", destroyOnTimeout); + this.on("abort", clearTimer); + this.on("error", clearTimer); + this.on("response", clearTimer); - const oldOffset = offset - const result = header.decode(buf, offset) - offset += header.decode.bytes + return this; +}; - offset = decodeList(result.questions, question, buf, offset) - offset = decodeList(result.answers, answer, buf, offset) - offset = decodeList(result.authorities, answer, buf, offset) - offset = decodeList(result.additionals, answer, buf, offset) +// Proxy all other public ClientRequest methods +[ + "flushHeaders", "getHeader", + "setNoDelay", "setSocketKeepAlive", +].forEach(function (method) { + RedirectableRequest.prototype[method] = function (a, b) { + return this._currentRequest[method](a, b); + }; +}); - exports.decode.bytes = offset - oldOffset +// Proxy all public ClientRequest properties +["aborted", "connection", "socket"].forEach(function (property) { + Object.defineProperty(RedirectableRequest.prototype, property, { + get: function () { return this._currentRequest[property]; }, + }); +}); - return result -} +RedirectableRequest.prototype._sanitizeOptions = function (options) { + // Ensure headers are always present + if (!options.headers) { + options.headers = {}; + } -exports.decode.bytes = 0 + // Since http.request treats host as an alias of hostname, + // but the url module interprets host as hostname plus port, + // eliminate the host property to avoid confusion. + if (options.host) { + // Use hostname if set, because it has precedence + if (!options.hostname) { + options.hostname = options.host; + } + delete options.host; + } -exports.encodingLength = function (result) { - return header.encodingLength(result) + - encodingLengthList(result.questions || [], question) + - encodingLengthList(result.answers || [], answer) + - encodingLengthList(result.authorities || [], answer) + - encodingLengthList(result.additionals || [], answer) -} + // Complete the URL object when necessary + if (!options.pathname && options.path) { + var searchPos = options.path.indexOf("?"); + if (searchPos < 0) { + options.pathname = options.path; + } + else { + options.pathname = options.path.substring(0, searchPos); + options.search = options.path.substring(searchPos); + } + } +}; -exports.streamEncode = function (result) { - const buf = exports.encode(result) - const sbuf = Buffer.alloc(2) - sbuf.writeUInt16BE(buf.byteLength) - const combine = Buffer.concat([sbuf, buf]) - exports.streamEncode.bytes = combine.byteLength - return combine -} -exports.streamEncode.bytes = 0 +// Executes the next native request (initial or redirect) +RedirectableRequest.prototype._performRequest = function () { + // Load the native protocol + var protocol = this._options.protocol; + var nativeProtocol = this._options.nativeProtocols[protocol]; + if (!nativeProtocol) { + this.emit("error", new TypeError("Unsupported protocol " + protocol)); + return; + } -exports.streamDecode = function (sbuf) { - const len = sbuf.readUInt16BE(0) - if (sbuf.byteLength < len + 2) { - // not enough data - return null + // If specified, use the agent corresponding to the protocol + // (HTTP and HTTPS use different types of agents) + if (this._options.agents) { + var scheme = protocol.slice(0, -1); + this._options.agent = this._options.agents[scheme]; } - const result = exports.decode(sbuf.slice(2)) - exports.streamDecode.bytes = exports.decode.bytes - return result -} -exports.streamDecode.bytes = 0 + // Create the native request and set up its event handlers + var request = this._currentRequest = + nativeProtocol.request(this._options, this._onNativeResponse); + request._redirectable = this; + for (var event of events) { + request.on(event, eventHandlers[event]); + } -function encodingLengthList (list, enc) { - let len = 0 - for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i]) - return len -} + // RFC7230§5.3.1: When making a request directly to an origin server, […] + // a client MUST send only the absolute path […] as the request-target. + this._currentUrl = /^\//.test(this._options.path) ? + url.format(this._options) : + // When making a request to a proxy, […] + // a client MUST send the target URI in absolute-form […]. + this._options.path; -function encodeList (list, enc, buf, offset) { - for (let i = 0; i < list.length; i++) { - enc.encode(list[i], buf, offset) - offset += enc.encode.bytes + // End a redirected request + // (The first request must be ended explicitly with RedirectableRequest#end) + if (this._isRedirect) { + // Write the request entity and end + var i = 0; + var self = this; + var buffers = this._requestBodyBuffers; + (function writeNext(error) { + // Only write if this request has not been redirected yet + /* istanbul ignore else */ + if (request === self._currentRequest) { + // Report any write errors + /* istanbul ignore if */ + if (error) { + self.emit("error", error); + } + // Write the next buffer if there are still left + else if (i < buffers.length) { + var buffer = buffers[i++]; + /* istanbul ignore else */ + if (!request.finished) { + request.write(buffer.data, buffer.encoding, writeNext); + } + } + // End the request if `end` has been called on us + else if (self._ended) { + request.end(); + } + } + }()); } - return offset -} +}; -function decodeList (list, enc, buf, offset) { - for (let i = 0; i < list.length; i++) { - list[i] = enc.decode(buf, offset) - offset += enc.decode.bytes +// Processes a response from the current native request +RedirectableRequest.prototype._processResponse = function (response) { + // Store the redirected response + var statusCode = response.statusCode; + if (this._options.trackRedirects) { + this._redirects.push({ + url: this._currentUrl, + headers: response.headers, + statusCode: statusCode, + }); } - return offset -} + // RFC7231§6.4: The 3xx (Redirection) class of status code indicates + // that further action needs to be taken by the user agent in order to + // fulfill the request. If a Location header field is provided, + // the user agent MAY automatically redirect its request to the URI + // referenced by the Location field value, + // even if the specific status code is not understood. -/***/ }), - -/***/ "./node_modules/dns-packet/opcodes.js": -/*!********************************************!*\ - !*** ./node_modules/dns-packet/opcodes.js ***! - \********************************************/ -/*! default exports */ -/*! export toOpcode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { + // If the response is not a redirect; return it as-is + var location = response.headers.location; + if (!location || this._options.followRedirects === false || + statusCode < 300 || statusCode >= 400) { + response.responseUrl = this._currentUrl; + response.redirects = this._redirects; + this.emit("response", response); -"use strict"; + // Clean up + this._requestBodyBuffers = []; + return; + } + // The response is a redirect, so abort the current request + abortRequest(this._currentRequest); + // Discard the remainder of the response to avoid waiting for data + response.destroy(); -/* - * Traditional DNS header OPCODEs (4-bits) defined by IANA in - * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5 - */ + // RFC7231§6.4: A client SHOULD detect and intervene + // in cyclical redirections (i.e., "infinite" redirection loops). + if (++this._redirectCount > this._options.maxRedirects) { + this.emit("error", new TooManyRedirectsError()); + return; + } -exports.toString = function (opcode) { - switch (opcode) { - case 0: return 'QUERY' - case 1: return 'IQUERY' - case 2: return 'STATUS' - case 3: return 'OPCODE_3' - case 4: return 'NOTIFY' - case 5: return 'UPDATE' - case 6: return 'OPCODE_6' - case 7: return 'OPCODE_7' - case 8: return 'OPCODE_8' - case 9: return 'OPCODE_9' - case 10: return 'OPCODE_10' - case 11: return 'OPCODE_11' - case 12: return 'OPCODE_12' - case 13: return 'OPCODE_13' - case 14: return 'OPCODE_14' - case 15: return 'OPCODE_15' + // Store the request headers if applicable + var requestHeaders; + var beforeRedirect = this._options.beforeRedirect; + if (beforeRedirect) { + requestHeaders = Object.assign({ + // The Host header was set by nativeProtocol.request + Host: response.req.getHeader("host"), + }, this._options.headers); } - return 'OPCODE_' + opcode -} -exports.toOpcode = function (code) { - switch (code.toUpperCase()) { - case 'QUERY': return 0 - case 'IQUERY': return 1 - case 'STATUS': return 2 - case 'OPCODE_3': return 3 - case 'NOTIFY': return 4 - case 'UPDATE': return 5 - case 'OPCODE_6': return 6 - case 'OPCODE_7': return 7 - case 'OPCODE_8': return 8 - case 'OPCODE_9': return 9 - case 'OPCODE_10': return 10 - case 'OPCODE_11': return 11 - case 'OPCODE_12': return 12 - case 'OPCODE_13': return 13 - case 'OPCODE_14': return 14 - case 'OPCODE_15': return 15 + // RFC7231§6.4: Automatic redirection needs to done with + // care for methods not known to be safe, […] + // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change + // the request method from POST to GET for the subsequent request. + var method = this._options.method; + if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || + // RFC7231§6.4.4: The 303 (See Other) status code indicates that + // the server is redirecting the user agent to a different resource […] + // A user agent can perform a retrieval request targeting that URI + // (a GET or HEAD request if using HTTP) […] + (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) { + this._options.method = "GET"; + // Drop a possible entity and headers related to it + this._requestBodyBuffers = []; + removeMatchingHeaders(/^content-/i, this._options.headers); } - return 0 -} + // Drop the Host header, as the redirect might lead to a different host + var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers); -/***/ }), + // If the redirect is relative, carry over the host of the last request + var currentUrlParts = url.parse(this._currentUrl); + var currentHost = currentHostHeader || currentUrlParts.host; + var currentUrl = /^\w+:/.test(location) ? this._currentUrl : + url.format(Object.assign(currentUrlParts, { host: currentHost })); -/***/ "./node_modules/dns-packet/optioncodes.js": -/*!************************************************!*\ - !*** ./node_modules/dns-packet/optioncodes.js ***! - \************************************************/ -/*! default exports */ -/*! export toCode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -exports.toString = function (type) { - switch (type) { - // list at - // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11 - case 1: return 'LLQ' - case 2: return 'UL' - case 3: return 'NSID' - case 5: return 'DAU' - case 6: return 'DHU' - case 7: return 'N3U' - case 8: return 'CLIENT_SUBNET' - case 9: return 'EXPIRE' - case 10: return 'COOKIE' - case 11: return 'TCP_KEEPALIVE' - case 12: return 'PADDING' - case 13: return 'CHAIN' - case 14: return 'KEY_TAG' - case 26946: return 'DEVICEID' + // Determine the URL of the redirection + var redirectUrl; + try { + redirectUrl = url.resolve(currentUrl, location); } - if (type < 0) { - return null + catch (cause) { + this.emit("error", new RedirectionError({ cause: cause })); + return; } - return `OPTION_${type}` -} -exports.toCode = function (name) { - if (typeof name === 'number') { - return name + // Create the redirected request + debug("redirecting to", redirectUrl); + this._isRedirect = true; + var redirectUrlParts = url.parse(redirectUrl); + Object.assign(this._options, redirectUrlParts); + + // Drop confidential headers when redirecting to a less secure protocol + // or to a different domain that is not a superdomain + if (redirectUrlParts.protocol !== currentUrlParts.protocol && + redirectUrlParts.protocol !== "https:" || + redirectUrlParts.host !== currentHost && + !isSubdomain(redirectUrlParts.host, currentHost)) { + removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers); } - if (!name) { - return -1 + + // Evaluate the beforeRedirect callback + if (isFunction(beforeRedirect)) { + var responseDetails = { + headers: response.headers, + statusCode: statusCode, + }; + var requestDetails = { + url: currentUrl, + method: method, + headers: requestHeaders, + }; + try { + beforeRedirect(this._options, responseDetails, requestDetails); + } + catch (err) { + this.emit("error", err); + return; + } + this._sanitizeOptions(this._options); } - switch (name.toUpperCase()) { - case 'OPTION_0': return 0 - case 'LLQ': return 1 - case 'UL': return 2 - case 'NSID': return 3 - case 'OPTION_4': return 4 - case 'DAU': return 5 - case 'DHU': return 6 - case 'N3U': return 7 - case 'CLIENT_SUBNET': return 8 - case 'EXPIRE': return 9 - case 'COOKIE': return 10 - case 'TCP_KEEPALIVE': return 11 - case 'PADDING': return 12 - case 'CHAIN': return 13 - case 'KEY_TAG': return 14 - case 'DEVICEID': return 26946 - case 'OPTION_65535': return 65535 + + // Perform the redirected request + try { + this._performRequest(); } - const m = name.match(/_(\d+)$/) - if (m) { - return parseInt(m[1], 10) + catch (cause) { + this.emit("error", new RedirectionError({ cause: cause })); } - return -1 -} +}; +// Wraps the key/value object of protocols with redirect functionality +function wrap(protocols) { + // Default settings + var exports = { + maxRedirects: 21, + maxBodyLength: 10 * 1024 * 1024, + }; -/***/ }), + // Wrap each protocol + var nativeProtocols = {}; + Object.keys(protocols).forEach(function (scheme) { + var protocol = scheme + ":"; + var nativeProtocol = nativeProtocols[protocol] = protocols[scheme]; + var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol); -/***/ "./node_modules/dns-packet/rcodes.js": -/*!*******************************************!*\ - !*** ./node_modules/dns-packet/rcodes.js ***! - \*******************************************/ -/*! default exports */ -/*! export toRcode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { + // Executes a request, following redirects + function request(input, options, callback) { + // Parse parameters + if (isString(input)) { + var parsed; + try { + parsed = urlToOptions(new URL(input)); + } + catch (err) { + /* istanbul ignore next */ + parsed = url.parse(input); + } + if (!isString(parsed.protocol)) { + throw new InvalidUrlError({ input }); + } + input = parsed; + } + else if (URL && (input instanceof URL)) { + input = urlToOptions(input); + } + else { + callback = options; + options = input; + input = { protocol: protocol }; + } + if (isFunction(options)) { + callback = options; + options = null; + } -"use strict"; + // Set defaults + options = Object.assign({ + maxRedirects: exports.maxRedirects, + maxBodyLength: exports.maxBodyLength, + }, input, options); + options.nativeProtocols = nativeProtocols; + if (!isString(options.host) && !isString(options.hostname)) { + options.hostname = "::1"; + } + assert.equal(options.protocol, protocol, "protocol mismatch"); + debug("options", options); + return new RedirectableRequest(options, callback); + } -/* - * Traditional DNS header RCODEs (4-bits) defined by IANA in - * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml - */ + // Executes a GET request, following redirects + function get(input, options, callback) { + var wrappedRequest = wrappedProtocol.request(input, options, callback); + wrappedRequest.end(); + return wrappedRequest; + } -exports.toString = function (rcode) { - switch (rcode) { - case 0: return 'NOERROR' - case 1: return 'FORMERR' - case 2: return 'SERVFAIL' - case 3: return 'NXDOMAIN' - case 4: return 'NOTIMP' - case 5: return 'REFUSED' - case 6: return 'YXDOMAIN' - case 7: return 'YXRRSET' - case 8: return 'NXRRSET' - case 9: return 'NOTAUTH' - case 10: return 'NOTZONE' - case 11: return 'RCODE_11' - case 12: return 'RCODE_12' - case 13: return 'RCODE_13' - case 14: return 'RCODE_14' - case 15: return 'RCODE_15' + // Expose the properties on the wrapped protocol + Object.defineProperties(wrappedProtocol, { + request: { value: request, configurable: true, enumerable: true, writable: true }, + get: { value: get, configurable: true, enumerable: true, writable: true }, + }); + }); + return exports; +} + +/* istanbul ignore next */ +function noop() { /* empty */ } + +// from https://github.com/nodejs/node/blob/master/lib/internal/url.js +function urlToOptions(urlObject) { + var options = { + protocol: urlObject.protocol, + hostname: urlObject.hostname.startsWith("[") ? + /* istanbul ignore next */ + urlObject.hostname.slice(1, -1) : + urlObject.hostname, + hash: urlObject.hash, + search: urlObject.search, + pathname: urlObject.pathname, + path: urlObject.pathname + urlObject.search, + href: urlObject.href, + }; + if (urlObject.port !== "") { + options.port = Number(urlObject.port); } - return 'RCODE_' + rcode + return options; } -exports.toRcode = function (code) { - switch (code.toUpperCase()) { - case 'NOERROR': return 0 - case 'FORMERR': return 1 - case 'SERVFAIL': return 2 - case 'NXDOMAIN': return 3 - case 'NOTIMP': return 4 - case 'REFUSED': return 5 - case 'YXDOMAIN': return 6 - case 'YXRRSET': return 7 - case 'NXRRSET': return 8 - case 'NOTAUTH': return 9 - case 'NOTZONE': return 10 - case 'RCODE_11': return 11 - case 'RCODE_12': return 12 - case 'RCODE_13': return 13 - case 'RCODE_14': return 14 - case 'RCODE_15': return 15 +function removeMatchingHeaders(regex, headers) { + var lastValue; + for (var header in headers) { + if (regex.test(header)) { + lastValue = headers[header]; + delete headers[header]; + } } - return 0 + return (lastValue === null || typeof lastValue === "undefined") ? + undefined : String(lastValue).trim(); } +function createErrorType(code, message, baseClass) { + // Create constructor + function CustomError(properties) { + Error.captureStackTrace(this, this.constructor); + Object.assign(this, properties || {}); + this.code = code; + this.message = this.cause ? message + ": " + this.cause.message : message; + } -/***/ }), + // Attach constructor and set default properties + CustomError.prototype = new (baseClass || Error)(); + CustomError.prototype.constructor = CustomError; + CustomError.prototype.name = "Error [" + code + "]"; + return CustomError; +} -/***/ "./node_modules/dns-packet/types.js": -/*!******************************************!*\ - !*** ./node_modules/dns-packet/types.js ***! - \******************************************/ -/*! default exports */ -/*! export toString [provided] [no usage info] [provision prevents renaming (no use info)] */ -/*! export toType [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +function abortRequest(request) { + for (var event of events) { + request.removeListener(event, eventHandlers[event]); + } + request.on("error", noop); + request.abort(); +} -"use strict"; +function isSubdomain(subdomain, domain) { + assert(isString(subdomain) && isString(domain)); + var dot = subdomain.length - domain.length - 1; + return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); +} +function isString(value) { + return typeof value === "string" || value instanceof String; +} -exports.toString = function (type) { - switch (type) { - case 1: return 'A' - case 10: return 'NULL' - case 28: return 'AAAA' - case 18: return 'AFSDB' - case 42: return 'APL' - case 257: return 'CAA' - case 60: return 'CDNSKEY' - case 59: return 'CDS' - case 37: return 'CERT' - case 5: return 'CNAME' - case 49: return 'DHCID' - case 32769: return 'DLV' - case 39: return 'DNAME' - case 48: return 'DNSKEY' - case 43: return 'DS' - case 55: return 'HIP' - case 13: return 'HINFO' - case 45: return 'IPSECKEY' - case 25: return 'KEY' - case 36: return 'KX' - case 29: return 'LOC' - case 15: return 'MX' - case 35: return 'NAPTR' - case 2: return 'NS' - case 47: return 'NSEC' - case 50: return 'NSEC3' - case 51: return 'NSEC3PARAM' - case 12: return 'PTR' - case 46: return 'RRSIG' - case 17: return 'RP' - case 24: return 'SIG' - case 6: return 'SOA' - case 99: return 'SPF' - case 33: return 'SRV' - case 44: return 'SSHFP' - case 32768: return 'TA' - case 249: return 'TKEY' - case 52: return 'TLSA' - case 250: return 'TSIG' - case 16: return 'TXT' - case 252: return 'AXFR' - case 251: return 'IXFR' - case 41: return 'OPT' - case 255: return 'ANY' - } - return 'UNKNOWN_' + type +function isFunction(value) { + return typeof value === "function"; } -exports.toType = function (name) { - switch (name.toUpperCase()) { - case 'A': return 1 - case 'NULL': return 10 - case 'AAAA': return 28 - case 'AFSDB': return 18 - case 'APL': return 42 - case 'CAA': return 257 - case 'CDNSKEY': return 60 - case 'CDS': return 59 - case 'CERT': return 37 - case 'CNAME': return 5 - case 'DHCID': return 49 - case 'DLV': return 32769 - case 'DNAME': return 39 - case 'DNSKEY': return 48 - case 'DS': return 43 - case 'HIP': return 55 - case 'HINFO': return 13 - case 'IPSECKEY': return 45 - case 'KEY': return 25 - case 'KX': return 36 - case 'LOC': return 29 - case 'MX': return 15 - case 'NAPTR': return 35 - case 'NS': return 2 - case 'NSEC': return 47 - case 'NSEC3': return 50 - case 'NSEC3PARAM': return 51 - case 'PTR': return 12 - case 'RRSIG': return 46 - case 'RP': return 17 - case 'SIG': return 24 - case 'SOA': return 6 - case 'SPF': return 99 - case 'SRV': return 33 - case 'SSHFP': return 44 - case 'TA': return 32768 - case 'TKEY': return 249 - case 'TLSA': return 52 - case 'TSIG': return 250 - case 'TXT': return 16 - case 'AXFR': return 252 - case 'IXFR': return 251 - case 'OPT': return 41 - case 'ANY': return 255 - case '*': return 255 - } - if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8)) - return 0 +function isBuffer(value) { + return typeof value === "object" && ("length" in value); } +// Exports +module.exports = wrap({ http: http, https: https }); +module.exports.wrap = wrap; + /***/ }), -/***/ "./node_modules/dotenv/lib/main.js": -/*!*****************************************!*\ - !*** ./node_modules/dotenv/lib/main.js ***! - \*****************************************/ +/***/ "./node_modules/is-retry-allowed/index.js": +/*!************************************************!*\ + !*** ./node_modules/is-retry-allowed/index.js ***! + \************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 112:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const fs = __webpack_require__(/*! fs */ "fs") -const path = __webpack_require__(/*! path */ "path") -const os = __webpack_require__(/*! os */ "os") -const packageJson = __webpack_require__(/*! ../package.json */ "./node_modules/dotenv/package.json") +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ +/***/ ((module) => { -const version = packageJson.version +"use strict"; -const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg -// Parser src into an Object -function parse (src) { - const obj = {} +var WHITELIST = [ + 'ETIMEDOUT', + 'ECONNRESET', + 'EADDRINUSE', + 'ESOCKETTIMEDOUT', + 'ECONNREFUSED', + 'EPIPE', + 'EHOSTUNREACH', + 'EAI_AGAIN' +]; - // Convert buffer to string - let lines = src.toString() +var BLACKLIST = [ + 'ENOTFOUND', + 'ENETUNREACH', - // Convert line breaks to same format - lines = lines.replace(/\r\n?/mg, '\n') + // SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950 + 'UNABLE_TO_GET_ISSUER_CERT', + 'UNABLE_TO_GET_CRL', + 'UNABLE_TO_DECRYPT_CERT_SIGNATURE', + 'UNABLE_TO_DECRYPT_CRL_SIGNATURE', + 'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY', + 'CERT_SIGNATURE_FAILURE', + 'CRL_SIGNATURE_FAILURE', + 'CERT_NOT_YET_VALID', + 'CERT_HAS_EXPIRED', + 'CRL_NOT_YET_VALID', + 'CRL_HAS_EXPIRED', + 'ERROR_IN_CERT_NOT_BEFORE_FIELD', + 'ERROR_IN_CERT_NOT_AFTER_FIELD', + 'ERROR_IN_CRL_LAST_UPDATE_FIELD', + 'ERROR_IN_CRL_NEXT_UPDATE_FIELD', + 'OUT_OF_MEM', + 'DEPTH_ZERO_SELF_SIGNED_CERT', + 'SELF_SIGNED_CERT_IN_CHAIN', + 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY', + 'UNABLE_TO_VERIFY_LEAF_SIGNATURE', + 'CERT_CHAIN_TOO_LONG', + 'CERT_REVOKED', + 'INVALID_CA', + 'PATH_LENGTH_EXCEEDED', + 'INVALID_PURPOSE', + 'CERT_UNTRUSTED', + 'CERT_REJECTED' +]; - let match - while ((match = LINE.exec(lines)) != null) { - const key = match[1] +module.exports = function (err) { + if (!err || !err.code) { + return true; + } - // Default undefined or null to empty string - let value = (match[2] || '') + if (WHITELIST.indexOf(err.code) !== -1) { + return true; + } - // Remove whitespace - value = value.trim() + if (BLACKLIST.indexOf(err.code) !== -1) { + return false; + } - // Check if double quoted - const maybeQuote = value[0] + return true; +}; - // Remove surrounding quotes - value = value.replace(/^(['"`])([\s\S]*)\1$/mg, '$2') - // Expand newlines if double quoted - if (maybeQuote === '"') { - value = value.replace(/\\n/g, '\n') - value = value.replace(/\\r/g, '\r') - } +/***/ }), - // Add to object - obj[key] = value - } - - return obj -} - -function _log (message) { - console.log(`[dotenv@${version}][DEBUG] ${message}`) -} - -function _resolveHome (envPath) { - return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath -} - -// Populates process.env from .env file -function config (options) { - let dotenvPath = path.resolve(process.cwd(), '.env') - let encoding = 'utf8' - const debug = Boolean(options && options.debug) - const override = Boolean(options && options.override) - - if (options) { - if (options.path != null) { - dotenvPath = _resolveHome(options.path) - } - if (options.encoding != null) { - encoding = options.encoding - } - } - - try { - // Specifying an encoding returns a string instead of a buffer - const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding })) - - Object.keys(parsed).forEach(function (key) { - if (!Object.prototype.hasOwnProperty.call(process.env, key)) { - process.env[key] = parsed[key] - } else { - if (override === true) { - process.env[key] = parsed[key] - } - - if (debug) { - if (override === true) { - _log(`"${key}" is already defined in \`process.env\` and WAS overwritten`) - } else { - _log(`"${key}" is already defined in \`process.env\` and was NOT overwritten`) - } - } - } - }) - - return { parsed } - } catch (e) { - if (debug) { - _log(`Failed to load ${dotenvPath} ${e.message}`) - } +/***/ "./node_modules/kafkajs/index.js": +/*!***************************************!*\ + !*** ./node_modules/kafkajs/index.js ***! + \***************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return { error: e } - } -} +const Kafka = __webpack_require__(/*! ./src */ "./node_modules/kafkajs/src/index.js") +const PartitionAssigners = __webpack_require__(/*! ./src/consumer/assigners */ "./node_modules/kafkajs/src/consumer/assigners/index.js") +const AssignerProtocol = __webpack_require__(/*! ./src/consumer/assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") +const Partitioners = __webpack_require__(/*! ./src/producer/partitioners */ "./node_modules/kafkajs/src/producer/partitioners/index.js") +const Compression = __webpack_require__(/*! ./src/protocol/message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +const ResourceTypes = __webpack_require__(/*! ./src/protocol/resourceTypes */ "./node_modules/kafkajs/src/protocol/resourceTypes.js") +const ConfigResourceTypes = __webpack_require__(/*! ./src/protocol/configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") +const ConfigSource = __webpack_require__(/*! ./src/protocol/configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") +const AclResourceTypes = __webpack_require__(/*! ./src/protocol/aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") +const AclOperationTypes = __webpack_require__(/*! ./src/protocol/aclOperationTypes */ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js") +const AclPermissionTypes = __webpack_require__(/*! ./src/protocol/aclPermissionTypes */ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js") +const ResourcePatternTypes = __webpack_require__(/*! ./src/protocol/resourcePatternTypes */ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js") +const Errors = __webpack_require__(/*! ./src/errors */ "./node_modules/kafkajs/src/errors.js") +const { LEVELS } = __webpack_require__(/*! ./src/loggers */ "./node_modules/kafkajs/src/loggers/index.js") -const DotenvModule = { - config, - parse +module.exports = { + Kafka, + PartitionAssigners, + AssignerProtocol, + Partitioners, + logLevel: LEVELS, + CompressionTypes: Compression.Types, + CompressionCodecs: Compression.Codecs, + /** + * @deprecated + * @see https://github.com/tulios/kafkajs/issues/649 + * + * Use ConfigResourceTypes or AclResourceTypes instead. + */ + ResourceTypes, + ConfigResourceTypes, + AclResourceTypes, + AclOperationTypes, + AclPermissionTypes, + ResourcePatternTypes, + ConfigSource, + ...Errors, } -module.exports.config = DotenvModule.config -module.exports.parse = DotenvModule.parse -module.exports = DotenvModule - /***/ }), -/***/ "./node_modules/dotenv/package.json": -/*!******************************************!*\ - !*** ./node_modules/dotenv/package.json ***! - \******************************************/ +/***/ "./node_modules/kafkajs/package.json": +/*!*******************************************!*\ + !*** ./node_modules/kafkajs/package.json ***! + \*******************************************/ /*! default exports */ +/*! export author [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export bugs [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export url [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! export dependencies [provided] [no usage info] [missing usage info prevents renaming] */ +/*! exports [not provided] [no usage info] */ /*! export description [provided] [no usage info] [missing usage info prevents renaming] */ /*! export devDependencies [provided] [no usage info] [missing usage info prevents renaming] */ /*! export @types/node [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export decache [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export dtslint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export sinon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export standard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export standard-markdown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export standard-version [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export tap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export tar [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export @typescript-eslint/typescript-estree [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-config-prettier [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-config-standard [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-plugin-import [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-plugin-node [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-plugin-prettier [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-plugin-promise [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export eslint-plugin-standard [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export execa [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export glob [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export husky [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export ip [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jest [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jest-circus [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jest-extended [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jest-junit [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jsonwebtoken [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export lint-staged [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export mockdate [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export prettier [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export semver [provided] [no usage info] [missing usage info prevents renaming] */ /*! export typescript [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export uuid [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ /*! export engines [provided] [no usage info] [missing usage info prevents renaming] */ /*! export node [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ -/*! export exports [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export . [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export default [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export require [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export types [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export ./config [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./config.js [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./lib/cli-options [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./lib/cli-options.js [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./lib/env-options [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./lib/env-options.js [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ./package.json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ +/*! export homepage [provided] [no usage info] [missing usage info prevents renaming] */ /*! export keywords [provided] [no usage info] [missing usage info prevents renaming] */ /*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ /*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ /*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ /*! export license [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export lint-staged [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export *.js [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! other exports [not provided] [no usage info] */ /*! export main [provided] [no usage info] [missing usage info prevents renaming] */ /*! export name [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export readmeFilename [provided] [no usage info] [missing usage info prevents renaming] */ /*! export repository [provided] [no usage info] [missing usage info prevents renaming] */ /*! export type [provided] [no usage info] [missing usage info prevents renaming] */ /*! export url [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ /*! export scripts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export dts-check [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export format [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export jest [provided] [no usage info] [missing usage info prevents renaming] */ /*! export lint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export lint-readme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export prerelease [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export pretest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export release [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export precommit [provided] [no usage info] [missing usage info prevents renaming] */ /*! export test [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:debug [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:admin [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:admin:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:broker [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:broker:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:consumer [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:consumer:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:oauthbearer [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:oauthbearer:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:others [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:others:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:producer [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:group:producer:ci [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:local [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:local:watch [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export test:types [provided] [no usage info] [missing usage info prevents renaming] */ /*! other exports [not provided] [no usage info] */ /*! export types [provided] [no usage info] [missing usage info prevents renaming] */ /*! export version [provided] [no usage info] [missing usage info prevents renaming] */ @@ -28997,83363 +27700,28842 @@ module.exports = DotenvModule /***/ ((module) => { "use strict"; -module.exports = JSON.parse("{\"name\":\"dotenv\",\"version\":\"16.0.3\",\"description\":\"Loads environment variables from .env file\",\"main\":\"lib/main.js\",\"types\":\"lib/main.d.ts\",\"exports\":{\".\":{\"require\":\"./lib/main.js\",\"types\":\"./lib/main.d.ts\",\"default\":\"./lib/main.js\"},\"./config\":\"./config.js\",\"./config.js\":\"./config.js\",\"./lib/env-options\":\"./lib/env-options.js\",\"./lib/env-options.js\":\"./lib/env-options.js\",\"./lib/cli-options\":\"./lib/cli-options.js\",\"./lib/cli-options.js\":\"./lib/cli-options.js\",\"./package.json\":\"./package.json\"},\"scripts\":{\"dts-check\":\"tsc --project tests/types/tsconfig.json\",\"lint\":\"standard\",\"lint-readme\":\"standard-markdown\",\"pretest\":\"npm run lint && npm run dts-check\",\"test\":\"tap tests/*.js --100 -Rspec\",\"prerelease\":\"npm test\",\"release\":\"standard-version\"},\"repository\":{\"type\":\"git\",\"url\":\"git://github.com/motdotla/dotenv.git\"},\"keywords\":[\"dotenv\",\"env\",\".env\",\"environment\",\"variables\",\"config\",\"settings\"],\"readmeFilename\":\"README.md\",\"license\":\"BSD-2-Clause\",\"devDependencies\":{\"@types/node\":\"^17.0.9\",\"decache\":\"^4.6.1\",\"dtslint\":\"^3.7.0\",\"sinon\":\"^12.0.1\",\"standard\":\"^16.0.4\",\"standard-markdown\":\"^7.1.0\",\"standard-version\":\"^9.3.2\",\"tap\":\"^15.1.6\",\"tar\":\"^6.1.11\",\"typescript\":\"^4.5.4\"},\"engines\":{\"node\":\">=12\"}}"); +module.exports = JSON.parse("{\"name\":\"kafkajs\",\"version\":\"1.16.0\",\"description\":\"A modern Apache Kafka client for node.js\",\"author\":\"Tulio Ornelas \",\"main\":\"index.js\",\"types\":\"types/index.d.ts\",\"license\":\"MIT\",\"keywords\":[\"kafka\",\"sasl\",\"scram\"],\"engines\":{\"node\":\">=10.13.0\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/tulios/kafkajs.git\"},\"bugs\":{\"url\":\"https://github.com/tulios/kafkajs/issues\"},\"homepage\":\"https://kafka.js.org\",\"scripts\":{\"jest\":\"export KAFKA_VERSION=${KAFKA_VERSION:='2.4'} && NODE_ENV=test echo \\\"KAFKA_VERSION: ${KAFKA_VERSION}\\\" && KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 jest\",\"test:local\":\"yarn jest --detectOpenHandles\",\"test:debug\":\"NODE_ENV=test KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 node --inspect-brk $(yarn bin 2>/dev/null)/jest --detectOpenHandles --runInBand --watch\",\"test:local:watch\":\"yarn test:local --watch\",\"test\":\"yarn lint && JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh 'yarn jest --ci --maxWorkers=4 --no-watchman --forceExit'\",\"lint\":\"find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 eslint\",\"format\":\"find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 prettier --write\",\"precommit\":\"lint-staged\",\"test:group:broker\":\"yarn jest --forceExit --testPathPattern 'src/broker/.*'\",\"test:group:admin\":\"yarn jest --forceExit --testPathPattern 'src/admin/.*'\",\"test:group:producer\":\"yarn jest --forceExit --testPathPattern 'src/producer/.*'\",\"test:group:consumer\":\"yarn jest --forceExit --testPathPattern 'src/consumer/.*.spec.js'\",\"test:group:others\":\"yarn jest --forceExit --testPathPattern 'src/(?!(broker|admin|producer|consumer)/).*'\",\"test:group:oauthbearer\":\"OAUTHBEARER_ENABLED=1 yarn jest --forceExit src/producer/index.spec.js src/broker/__tests__/connect.spec.js src/consumer/__tests__/connection.spec.js src/broker/__tests__/disconnect.spec.js src/admin/__tests__/connection.spec.js src/broker/__tests__/reauthenticate.spec.js\",\"test:group:broker:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:broker --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:admin:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:admin --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:producer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:producer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:consumer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:consumer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:others:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:others --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:oauthbearer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml COMPOSE_FILE='docker-compose.2_4_oauthbearer.yml' ./scripts/testWithKafka.sh \\\"yarn test:group:oauthbearer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:types\":\"tsc -p types/\"},\"devDependencies\":{\"@types/node\":\"^12.0.8\",\"@typescript-eslint/typescript-estree\":\"^1.10.2\",\"eslint\":\"^6.8.0\",\"eslint-config-prettier\":\"^6.0.0\",\"eslint-config-standard\":\"^13.0.1\",\"eslint-plugin-import\":\"^2.18.2\",\"eslint-plugin-node\":\"^11.0.0\",\"eslint-plugin-prettier\":\"^3.1.0\",\"eslint-plugin-promise\":\"^4.2.1\",\"eslint-plugin-standard\":\"^4.0.0\",\"execa\":\"^2.0.3\",\"glob\":\"^7.1.4\",\"husky\":\"^3.0.1\",\"ip\":\"^1.1.5\",\"jest\":\"^25.1.0\",\"jest-circus\":\"^25.1.0\",\"jest-extended\":\"^0.11.2\",\"jest-junit\":\"^10.0.0\",\"jsonwebtoken\":\"^8.5.1\",\"lint-staged\":\"^9.2.0\",\"mockdate\":\"^2.0.5\",\"prettier\":\"^1.18.2\",\"semver\":\"^6.2.0\",\"typescript\":\"^3.8.3\",\"uuid\":\"^3.3.2\"},\"dependencies\":{},\"lint-staged\":{\"*.js\":[\"prettier --write\",\"git add\"]}}"); /***/ }), -/***/ "./node_modules/ee-first/index.js": -/*!****************************************!*\ - !*** ./node_modules/ee-first/index.js ***! - \****************************************/ +/***/ "./node_modules/kafkajs/src/admin/index.js": +/*!*************************************************!*\ + !*** ./node_modules/kafkajs/src/admin/index.js ***! + \*************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 75:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * ee-first - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const waitFor = __webpack_require__(/*! ../utils/waitFor */ "./node_modules/kafkajs/src/utils/waitFor.js") +const groupBy = __webpack_require__(/*! ../utils/groupBy */ "./node_modules/kafkajs/src/utils/groupBy.js") +const createConsumer = __webpack_require__(/*! ../consumer */ "./node_modules/kafkajs/src/consumer/index.js") +const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") +const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/admin/instrumentationEvents.js") +const { LEVELS } = __webpack_require__(/*! ../loggers */ "./node_modules/kafkajs/src/loggers/index.js") +const { + KafkaJSNonRetriableError, + KafkaJSDeleteGroupsError, + KafkaJSBrokerNotFound, + KafkaJSDeleteTopicRecordsError, + KafkaJSAggregateError, +} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const { staleMetadata } = __webpack_require__(/*! ../protocol/error */ "./node_modules/kafkajs/src/protocol/error.js") +const CONFIG_RESOURCE_TYPES = __webpack_require__(/*! ../protocol/configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") +const ACL_RESOURCE_TYPES = __webpack_require__(/*! ../protocol/aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") +const ACL_OPERATION_TYPES = __webpack_require__(/*! ../protocol/aclOperationTypes */ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js") +const ACL_PERMISSION_TYPES = __webpack_require__(/*! ../protocol/aclPermissionTypes */ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js") +const RESOURCE_PATTERN_TYPES = __webpack_require__(/*! ../protocol/resourcePatternTypes */ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js") +const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") +const { CONNECT, DISCONNECT } = events +const NO_CONTROLLER_ID = -1 -/** - * Module exports. - * @public - */ +const { values, keys, entries } = Object +const eventNames = values(events) +const eventKeys = keys(events) + .map(key => `admin.events.${key}`) + .join(', ') + +const retryOnLeaderNotAvailable = (fn, opts = {}) => { + const callback = async () => { + try { + return await fn() + } catch (e) { + if (e.type !== 'LEADER_NOT_AVAILABLE') { + throw e + } + return false + } + } + + return waitFor(callback, opts) +} -module.exports = first +const isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state) +const findTopicPartitions = async (cluster, topic) => { + await cluster.addTargetTopic(topic) + await cluster.refreshMetadataIfNecessary() + + return cluster + .findTopicPartitionMetadata(topic) + .map(({ partitionId }) => partitionId) + .sort() +} +const indexByPartition = array => + array.reduce( + (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }), + {} + ) /** - * Get the first event in a set of event emitters and event pairs. * - * @param {array} stuff - * @param {function} done - * @public + * @param {Object} params + * @param {import("../../types").Logger} params.logger + * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] + * @param {import('../../types').RetryOptions} params.retry + * @param {import("../../types").Cluster} params.cluster + * + * @returns {import("../../types").Admin} */ +module.exports = ({ + logger: rootLogger, + instrumentationEmitter: rootInstrumentationEmitter, + retry, + cluster, +}) => { + const logger = rootLogger.namespace('Admin') + const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() -function first(stuff, done) { - if (!Array.isArray(stuff)) - throw new TypeError('arg must be an array of [ee, events...] arrays') - - var cleanups = [] + /** + * @returns {Promise} + */ + const connect = async () => { + await cluster.connect() + instrumentationEmitter.emit(CONNECT) + } - for (var i = 0; i < stuff.length; i++) { - var arr = stuff[i] + /** + * @return {Promise} + */ + const disconnect = async () => { + await cluster.disconnect() + instrumentationEmitter.emit(DISCONNECT) + } - if (!Array.isArray(arr) || arr.length < 2) - throw new TypeError('each array member must be [ee, events...]') + /** + * @return {Promise} + */ + const listTopics = async () => { + const { topicMetadata } = await cluster.metadata() + const topics = topicMetadata.map(t => t.topic) + return topics + } - var ee = arr[0] + /** + * @param {Object} request + * @param {array} request.topics + * @param {boolean} [request.validateOnly=false] + * @param {number} [request.timeout=5000] + * @param {boolean} [request.waitForLeaders=true] + * @return {Promise} + */ + const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => { + if (!topics || !Array.isArray(topics)) { + throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`) + } - for (var j = 1; j < arr.length; j++) { - var event = arr[j] - var fn = listener(event, callback) + if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) { + throw new KafkaJSNonRetriableError( + 'Invalid topics array, the topic names have to be a valid string' + ) + } - // listen to the event - ee.on(event, fn) - // push this listener to the list of cleanups - cleanups.push({ - ee: ee, - event: event, - fn: fn, - }) + const topicNames = new Set(topics.map(({ topic }) => topic)) + if (topicNames.size < topics.length) { + throw new KafkaJSNonRetriableError( + 'Invalid topics array, it cannot have multiple entries for the same topic' + ) } - } - function callback() { - cleanup() - done.apply(null, arguments) - } + const retrier = createRetry(retry) - function cleanup() { - var x - for (var i = 0; i < cleanups.length; i++) { - x = cleanups[i] - x.ee.removeListener(x.event, x.fn) - } - } + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + await broker.createTopics({ topics, validateOnly, timeout }) - function thunk(fn) { - done = fn - } + if (waitForLeaders) { + const topicNamesArray = Array.from(topicNames.values()) + await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), { + delay: 100, + maxWait: timeout, + timeoutMessage: 'Timed out while waiting for topic leaders', + }) + } - thunk.cancel = cleanup + return true + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not create topics', { error: e.message, retryCount, retryTime }) + throw e + } - return thunk -} + if (e instanceof KafkaJSAggregateError) { + if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) { + return false + } + } -/** - * Create the event listener. - * @private - */ + bail(e) + } + }) + } + /** + * @param {array} topicPartitions + * @param {boolean} [validateOnly=false] + * @param {number} [timeout=5000] + * @return {Promise} + */ + const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => { + if (!topicPartitions || !Array.isArray(topicPartitions)) { + throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`) + } + if (topicPartitions.length === 0) { + throw new KafkaJSNonRetriableError(`Empty topic partitions array`) + } -function listener(event, done) { - return function onevent(arg1) { - var args = new Array(arguments.length) - var ee = this - var err = event === 'error' - ? arg1 - : null + if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) { + throw new KafkaJSNonRetriableError( + 'Invalid topic partitions array, the topic names have to be a valid string' + ) + } - // copy args to prevent arguments escaping scope - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i] + const topicNames = new Set(topicPartitions.map(({ topic }) => topic)) + if (topicNames.size < topicPartitions.length) { + throw new KafkaJSNonRetriableError( + 'Invalid topic partitions array, it cannot have multiple entries for the same topic' + ) } - done(err, ee, event, args) - } -} + const retrier = createRetry(retry) + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + await broker.createPartitions({ topicPartitions, validateOnly, timeout }) + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not create topics', { error: e.message, retryCount, retryTime }) + throw e + } -/***/ }), + bail(e) + } + }) + } -/***/ "./node_modules/encodeurl/index.js": -/*!*****************************************!*\ - !*** ./node_modules/encodeurl/index.js ***! - \*****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { + /** + * @param {string[]} topics + * @param {number} [timeout=5000] + * @return {Promise} + */ + const deleteTopics = async ({ topics, timeout }) => { + if (!topics || !Array.isArray(topics)) { + throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`) + } -"use strict"; -/*! - * encodeurl - * Copyright(c) 2016 Douglas Christopher Wilson - * MIT Licensed - */ + if (topics.filter(topic => typeof topic !== 'string').length > 0) { + throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string') + } + const retrier = createRetry(retry) + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + await broker.deleteTopics({ topics, timeout }) -/** - * Module exports. - * @public - */ + // Remove deleted topics + for (const topic of topics) { + cluster.targetTopics.delete(topic) + } -module.exports = encodeUrl + await cluster.refreshMetadata() + } catch (e) { + if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) { + logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime }) + throw e + } -/** - * RegExp to match non-URL code points, *after* encoding (i.e. not including "%") - * and including invalid escape sequences. - * @private - */ + if (e.type === 'REQUEST_TIMED_OUT') { + logger.error( + 'Could not delete topics, check if "delete.topic.enable" is set to "true" (the default value is "false") or increase the timeout', + { + error: e.message, + retryCount, + retryTime, + } + ) + } -var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g + bail(e) + } + }) + } -/** - * RegExp to match unmatched surrogate pair. - * @private - */ + /** + * @param {string} topic + */ -var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g + const fetchTopicOffsets = async topic => { + if (!topic || typeof topic !== 'string') { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } -/** - * String to replace unmatched surrogate pair with. - * @private - */ + const retrier = createRetry(retry) -var UNMATCHED_SURROGATE_PAIR_REPLACE = '$1\uFFFD$2' - -/** - * Encode a URL to a percent-encoded form, excluding already-encoded sequences. - * - * This function will take an already-encoded URL and encode all the non-URL - * code points. This function will not encode the "%" character unless it is - * not part of a valid sequence (`%20` will be left as-is, but `%foo` will - * be encoded as `%25foo`). - * - * This encode is meant to be "safe" and does not throw errors. It will try as - * hard as it can to properly encode the given URL, including replacing any raw, - * unpaired surrogate pairs with the Unicode replacement character prior to - * encoding. - * - * @param {string} url - * @return {string} - * @public - */ - -function encodeUrl (url) { - return String(url) - .replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE) - .replace(ENCODE_CHARS_REGEXP, encodeURI) -} + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.addTargetTopic(topic) + await cluster.refreshMetadataIfNecessary() + const metadata = cluster.findTopicPartitionMetadata(topic) + const high = await cluster.fetchTopicsOffset([ + { + topic, + fromBeginning: false, + partitions: metadata.map(p => ({ partition: p.partitionId })), + }, + ]) -/***/ }), + const low = await cluster.fetchTopicsOffset([ + { + topic, + fromBeginning: true, + partitions: metadata.map(p => ({ partition: p.partitionId })), + }, + ]) -/***/ "./node_modules/escape-html/index.js": -/*!*******************************************!*\ - !*** ./node_modules/escape-html/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module) => { + const { partitions: highPartitions } = high.pop() + const { partitions: lowPartitions } = low.pop() + return highPartitions.map(({ partition, offset }) => ({ + partition, + offset, + high: offset, + low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition) + .offset, + })) + } catch (e) { + if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { + await cluster.refreshMetadata() + throw e + } -"use strict"; -/*! - * escape-html - * Copyright(c) 2012-2013 TJ Holowaychuk - * Copyright(c) 2015 Andreas Lubbe - * Copyright(c) 2015 Tiancheng "Timothy" Gu - * MIT Licensed - */ + bail(e) + } + }) + } + /** + * @param {string} topic + * @param {number} [timestamp] + */ + const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => { + if (!topic || typeof topic !== 'string') { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } -/** - * Module variables. - * @private - */ + const retrier = createRetry(retry) -var matchHtmlRegExp = /["'&<>]/; + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.addTargetTopic(topic) + await cluster.refreshMetadataIfNecessary() -/** - * Module exports. - * @public - */ + const metadata = cluster.findTopicPartitionMetadata(topic) + const partitions = metadata.map(p => ({ partition: p.partitionId })) -module.exports = escapeHtml; + const high = await cluster.fetchTopicsOffset([ + { + topic, + fromBeginning: false, + partitions, + }, + ]) + const { partitions: highPartitions } = high.pop() -/** - * Escape special characters in the given string of html. - * - * @param {string} string The string to escape for inserting into HTML - * @return {string} - * @public - */ + const offsets = await cluster.fetchTopicsOffset([ + { + topic, + fromTimestamp: timestamp, + partitions, + }, + ]) + const { partitions: lowPartitions } = offsets.pop() -function escapeHtml(string) { - var str = '' + string; - var match = matchHtmlRegExp.exec(str); + return lowPartitions.map(({ partition, offset }) => ({ + partition, + offset: + parseInt(offset, 10) >= 0 + ? offset + : highPartitions.find(({ partition: highPartition }) => highPartition === partition) + .offset, + })) + } catch (e) { + if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { + await cluster.refreshMetadata() + throw e + } - if (!match) { - return str; + bail(e) + } + }) } - var escape; - var html = ''; - var index = 0; - var lastIndex = 0; + /** + * Fetch offsets for a topic or multiple topics + * + * Note: set either topic or topics but not both. + * + * @param {string} groupId + * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for. + * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`. + * @param {boolean} [resolveOffsets=false] + * @return {Promise} + */ + const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => { + if (!groupId) { + throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) + } - for (index = match.index; index < str.length; index++) { - switch (str.charCodeAt(index)) { - case 34: // " - escape = '"'; - break; - case 38: // & - escape = '&'; - break; - case 39: // ' - escape = '''; - break; - case 60: // < - escape = '<'; - break; - case 62: // > - escape = '>'; - break; - default: - continue; + if (!topic && !topics) { + topics = [] } - if (lastIndex !== index) { - html += str.substring(lastIndex, index); + if (!topic && !Array.isArray(topics)) { + throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`) } - lastIndex = index + 1; - html += escape; - } + if (topic && topics) { + throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`) + } - return lastIndex !== index - ? html + str.substring(lastIndex, index) - : html; -} + if (topic) { + topics = [topic] + } + const coordinator = await cluster.findGroupCoordinator({ groupId }) + const topicsToFetch = await Promise.all( + topics.map(async topic => { + const partitions = await findTopicPartitions(cluster, topic) + const partitionsToFetch = partitions.map(partition => ({ partition })) + return { topic, partitions: partitionsToFetch } + }) + ) + let { responses: consumerOffsets } = await coordinator.offsetFetch({ + groupId, + topics: topicsToFetch, + }) -/***/ }), + if (resolveOffsets) { + consumerOffsets = await Promise.all( + consumerOffsets.map(async ({ topic, partitions }) => { + const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic)) + const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => { + let resolvedOffset = offset + if (Number(offset) === EARLIEST_OFFSET) { + resolvedOffset = indexedOffsets[partition].low + } + if (Number(offset) === LATEST_OFFSET) { + resolvedOffset = indexedOffsets[partition].high + } + return { + partition, + offset: resolvedOffset, + ...props, + } + }) -/***/ "./node_modules/etag/index.js": -/*!************************************!*\ - !*** ./node_modules/etag/index.js ***! - \************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + await setOffsets({ groupId, topic, partitions: recalculatedPartitions }) -"use strict"; -/*! - * etag - * Copyright(c) 2014-2016 Douglas Christopher Wilson - * MIT Licensed - */ + return { + topic, + partitions: recalculatedPartitions, + } + }) + ) + } + const result = consumerOffsets.map(({ topic, partitions }) => { + const completePartitions = partitions.map(({ partition, offset, metadata }) => ({ + partition, + offset, + metadata: metadata || null, + })) + return { topic, partitions: completePartitions } + }) -/** - * Module exports. - * @public - */ + if (topic) { + return result.pop().partitions + } else { + return result + } + } -module.exports = etag + /** + * @param {string} groupId + * @param {string} topic + * @param {boolean} [earliest=false] + * @return {Promise} + */ + const resetOffsets = async ({ groupId, topic, earliest = false }) => { + if (!groupId) { + throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) + } -/** - * Module dependencies. - * @private - */ + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } -var crypto = __webpack_require__(/*! crypto */ "crypto") -var Stats = __webpack_require__(/*! fs */ "fs").Stats + const partitions = await findTopicPartitions(cluster, topic) + const partitionsToSeek = partitions.map(partition => ({ + partition, + offset: cluster.defaultOffset({ fromBeginning: earliest }), + })) -/** - * Module variables. - * @private - */ + return setOffsets({ groupId, topic, partitions: partitionsToSeek }) + } -var toString = Object.prototype.toString + /** + * @param {string} groupId + * @param {string} topic + * @param {Array} partitions + * @return {Promise} + * + * @typedef {Object} SeekEntry + * @property {number} partition + * @property {string} offset + */ + const setOffsets = async ({ groupId, topic, partitions }) => { + if (!groupId) { + throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) + } -/** - * Generate an entity tag. - * - * @param {Buffer|string} entity - * @return {string} - * @private - */ + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } -function entitytag (entity) { - if (entity.length === 0) { - // fast-path empty - return '"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"' - } + if (!partitions || partitions.length === 0) { + throw new KafkaJSNonRetriableError(`Invalid partitions`) + } - // compute hash of entity - var hash = crypto - .createHash('sha1') - .update(entity, 'utf8') - .digest('base64') - .substring(0, 27) + const consumer = createConsumer({ + logger: rootLogger.namespace('Admin', LEVELS.NOTHING), + cluster, + groupId, + }) - // compute length of entity - var len = typeof entity === 'string' - ? Buffer.byteLength(entity, 'utf8') - : entity.length + await consumer.subscribe({ topic, fromBeginning: true }) + const description = await consumer.describeGroup() - return '"' + len.toString(16) + '-' + hash + '"' -} + if (!isConsumerGroupRunning(description)) { + throw new KafkaJSNonRetriableError( + `The consumer group must have no running instances, current state: ${description.state}` + ) + } -/** - * Create a simple ETag. - * - * @param {string|Buffer|Stats} entity - * @param {object} [options] - * @param {boolean} [options.weak] - * @return {String} - * @public - */ + return new Promise((resolve, reject) => { + consumer.on(consumer.events.FETCH, async () => + consumer + .stop() + .then(resolve) + .catch(reject) + ) -function etag (entity, options) { - if (entity == null) { - throw new TypeError('argument entity is required') - } + consumer + .run({ + eachBatchAutoResolve: false, + eachBatch: async () => true, + }) + .catch(reject) - // support fs.Stats object - var isStats = isstats(entity) - var weak = options && typeof options.weak === 'boolean' - ? options.weak - : isStats + // This consumer doesn't need to consume any data + consumer.pause([{ topic }]) - // validate argument - if (!isStats && typeof entity !== 'string' && !Buffer.isBuffer(entity)) { - throw new TypeError('argument entity must be string, Buffer, or fs.Stats') + for (const seekData of partitions) { + consumer.seek({ topic, ...seekData }) + } + }) } - // generate entity tag - var tag = isStats - ? stattag(entity) - : entitytag(entity) - - return weak - ? 'W/' + tag - : tag -} + const isBrokerConfig = type => + [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type) -/** - * Determine if object is a Stats object. - * - * @param {object} obj - * @return {boolean} - * @api private - */ + /** + * Broker configs can only be returned by the target broker + * + * @see + * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783 + * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027 + * + * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config + */ + const groupResourcesByBroker = ({ resources, defaultBroker }) => + groupBy(resources, async ({ type, name: nodeId }) => { + return isBrokerConfig(type) + ? await cluster.findBroker({ nodeId: String(nodeId) }) + : defaultBroker + }) -function isstats (obj) { - // genuine fs.Stats - if (typeof Stats === 'function' && obj instanceof Stats) { - return true - } + /** + * @param {Array} resources + * @param {boolean} [includeSynonyms=false] + * @return {Promise} + * + * @typedef {Object} ResourceConfigQuery + * @property {ConfigResourceType} type + * @property {string} name + * @property {Array} [configNames=[]] + */ + const describeConfigs = async ({ resources, includeSynonyms }) => { + if (!resources || !Array.isArray(resources)) { + throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`) + } - // quack quack - return obj && typeof obj === 'object' && - 'ctime' in obj && toString.call(obj.ctime) === '[object Date]' && - 'mtime' in obj && toString.call(obj.mtime) === '[object Date]' && - 'ino' in obj && typeof obj.ino === 'number' && - 'size' in obj && typeof obj.size === 'number' -} + if (resources.length === 0) { + throw new KafkaJSNonRetriableError('Resources array cannot be empty') + } -/** - * Generate a tag for a stat. - * - * @param {object} stat - * @return {string} - * @private - */ + const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES) + const invalidType = resources.find(r => !validResourceTypes.includes(r.type)) -function stattag (stat) { - var mtime = stat.mtime.getTime().toString(16) - var size = stat.size.toString(16) + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}` + ) + } - return '"' + size + '-' + mtime + '"' -} + const invalidName = resources.find(r => !r.name || typeof r.name !== 'string') + if (invalidName) { + throw new KafkaJSNonRetriableError( + `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}` + ) + } -/***/ }), + const invalidConfigs = resources.find( + r => !Array.isArray(r.configNames) && r.configNames != null + ) -/***/ "./node_modules/express-session/index.js": -/*!***********************************************!*\ - !*** ./node_modules/express-session/index.js ***! - \***********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, __webpack_exports__, module */ -/*! CommonJS bailout: module.exports is used directly at 39:10-24 */ -/*! CommonJS bailout: exports is used directly at 39:0-7 */ -/***/ ((module, exports, __webpack_require__) => { + if (invalidConfigs) { + const { configNames } = invalidConfigs + throw new KafkaJSNonRetriableError( + `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}` + ) + } -"use strict"; -/*! - * express-session - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + const retrier = createRetry(retry) + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const controller = await cluster.findControllerBroker() + const resourcerByBroker = await groupResourcesByBroker({ + resources, + defaultBroker: controller, + }) + const describeConfigsAction = async broker => { + const targetBroker = broker || controller + return targetBroker.describeConfigs({ + resources: resourcerByBroker.get(targetBroker), + includeSynonyms, + }) + } -/** - * Module dependencies. - * @private - */ + const brokers = Array.from(resourcerByBroker.keys()) + const responses = await Promise.all(brokers.map(describeConfigsAction)) + const responseResources = responses.reduce( + (result, { resources }) => [...result, ...resources], + [] + ) -var Buffer = __webpack_require__(/*! safe-buffer */ "./node_modules/safe-buffer/index.js").Buffer -var cookie = __webpack_require__(/*! cookie */ "./node_modules/cookie/index.js"); -var crypto = __webpack_require__(/*! crypto */ "crypto") -var debug = __webpack_require__(/*! debug */ "./node_modules/express-session/node_modules/debug/src/index.js")('express-session'); -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express-session'); -var onHeaders = __webpack_require__(/*! on-headers */ "./node_modules/on-headers/index.js") -var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js"); -var signature = __webpack_require__(/*! cookie-signature */ "./node_modules/cookie-signature/index.js") -var uid = __webpack_require__(/*! uid-safe */ "./node_modules/uid-safe/index.js").sync + return { resources: responseResources } + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime }) + throw e + } -var Cookie = __webpack_require__(/*! ./session/cookie */ "./node_modules/express-session/session/cookie.js") -var MemoryStore = __webpack_require__(/*! ./session/memory */ "./node_modules/express-session/session/memory.js") -var Session = __webpack_require__(/*! ./session/session */ "./node_modules/express-session/session/session.js") -var Store = __webpack_require__(/*! ./session/store */ "./node_modules/express-session/session/store.js") + bail(e) + } + }) + } -// environment + /** + * @param {Array} resources + * @param {boolean} [validateOnly=false] + * @return {Promise} + * + * @typedef {Object} ResourceConfig + * @property {ConfigResourceType} type + * @property {string} name + * @property {Array} configEntries + * + * @typedef {Object} ResourceConfigEntry + * @property {string} name + * @property {string} value + */ + const alterConfigs = async ({ resources, validateOnly }) => { + if (!resources || !Array.isArray(resources)) { + throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`) + } -var env = "development"; + if (resources.length === 0) { + throw new KafkaJSNonRetriableError('Resources array cannot be empty') + } -/** - * Expose the middleware. - */ + const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES) + const invalidType = resources.find(r => !validResourceTypes.includes(r.type)) -exports = module.exports = session; + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}` + ) + } -/** - * Expose constructors. - */ + const invalidName = resources.find(r => !r.name || typeof r.name !== 'string') -exports.Store = Store; -exports.Cookie = Cookie; -exports.Session = Session; -exports.MemoryStore = MemoryStore; + if (invalidName) { + throw new KafkaJSNonRetriableError( + `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}` + ) + } -/** - * Warning message for `MemoryStore` usage in production. - * @private - */ + const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries)) -var warning = 'Warning: connect.session() MemoryStore is not\n' - + 'designed for a production environment, as it will leak\n' - + 'memory, and will not scale past a single process.'; + if (invalidConfigs) { + const { configEntries } = invalidConfigs + throw new KafkaJSNonRetriableError( + `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}` + ) + } -/** - * Node.js 0.8+ async implementation. - * @private - */ - -/* istanbul ignore next */ -var defer = typeof setImmediate === 'function' - ? setImmediate - : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) } + const invalidConfigValue = resources.find(r => + r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string') + ) -/** - * Setup session store with the given `options`. - * - * @param {Object} [options] - * @param {Object} [options.cookie] Options for cookie - * @param {Function} [options.genid] - * @param {String} [options.name=connect.sid] Session ID cookie name - * @param {Boolean} [options.proxy] - * @param {Boolean} [options.resave] Resave unmodified sessions back to the store - * @param {Boolean} [options.rolling] Enable/disable rolling session expiration - * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store - * @param {String|Array} [options.secret] Secret for signing session ID - * @param {Object} [options.store=MemoryStore] Session store - * @param {String} [options.unset] - * @return {Function} middleware - * @public - */ + if (invalidConfigValue) { + throw new KafkaJSNonRetriableError( + `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}` + ) + } -function session(options) { - var opts = options || {} + const retrier = createRetry(retry) - // get the cookie options - var cookieOptions = opts.cookie || {} + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const controller = await cluster.findControllerBroker() + const resourcerByBroker = await groupResourcesByBroker({ + resources, + defaultBroker: controller, + }) - // get the session id generate function - var generateId = opts.genid || generateSessionId + const alterConfigsAction = async broker => { + const targetBroker = broker || controller + return targetBroker.alterConfigs({ + resources: resourcerByBroker.get(targetBroker), + validateOnly: !!validateOnly, + }) + } - // get the session cookie name - var name = opts.name || opts.key || 'connect.sid' + const brokers = Array.from(resourcerByBroker.keys()) + const responses = await Promise.all(brokers.map(alterConfigsAction)) + const responseResources = responses.reduce( + (result, { resources }) => [...result, ...resources], + [] + ) - // get the session store - var store = opts.store || new MemoryStore() + return { resources: responseResources } + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime }) + throw e + } - // get the trust proxy setting - var trustProxy = opts.proxy + bail(e) + } + }) + } - // get the resave session option - var resaveSession = opts.resave; + /** + * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation + * is limited by the topics in the target group, so it can't fetch all topics when + * necessary. + * + * Fetch metadata for provided topics. + * + * If no topics are provided fetch metadata for all topics of which we are aware. + * @see https://kafka.apache.org/protocol#The_Messages_Metadata + * + * @param {Object} [options] + * @param {string[]} [options.topics] + * @return {Promise} + * + * @typedef {Object} TopicsMetadata + * @property {Array} topics + * + * @typedef {Object} TopicMetadata + * @property {String} name + * @property {Array} partitions + * + * @typedef {Object} PartitionMetadata + * @property {number} partitionErrorCode Response error code + * @property {number} partitionId Topic partition id + * @property {number} leader The id of the broker acting as leader for this partition. + * @property {Array} replicas The set of all nodes that host this partition. + * @property {Array} isr The set of nodes that are in sync with the leader for this partition. + */ + const getTopicMetadata = async options => { + const { topics } = options || {} - // get the rolling session option - var rollingSessions = Boolean(opts.rolling) + if (topics) { + await Promise.all( + topics.map(async topic => { + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } - // get the save uninitialized session option - var saveUninitializedSession = opts.saveUninitialized + try { + await cluster.addTargetTopic(topic) + } catch (e) { + e.message = `Failed to add target topic ${topic}: ${e.message}` + throw e + } + }) + ) + } - // get the cookie signing secret - var secret = opts.secret + await cluster.refreshMetadataIfNecessary() + const targetTopics = topics || [...cluster.targetTopics] - if (typeof generateId !== 'function') { - throw new TypeError('genid option must be a function'); + return { + topics: await Promise.all( + targetTopics.map(async topic => ({ + name: topic, + partitions: cluster.findTopicPartitionMetadata(topic), + })) + ), + } } - if (resaveSession === undefined) { - deprecate('undefined resave option; provide resave option'); - resaveSession = true; - } + /** + * Fetch metadata for provided topics. + * + * If no topics are provided fetch metadata for all topics. + * @see https://kafka.apache.org/protocol#The_Messages_Metadata + * + * @param {Object} [options] + * @param {string[]} [options.topics] + * @return {Promise} + * + * @typedef {Object} TopicsMetadata + * @property {Array} topics + * + * @typedef {Object} TopicMetadata + * @property {String} name + * @property {Array} partitions + * + * @typedef {Object} PartitionMetadata + * @property {number} partitionErrorCode Response error code + * @property {number} partitionId Topic partition id + * @property {number} leader The id of the broker acting as leader for this partition. + * @property {Array} replicas The set of all nodes that host this partition. + * @property {Array} isr The set of nodes that are in sync with the leader for this partition. + */ + const fetchTopicMetadata = async ({ topics = [] } = {}) => { + if (topics) { + topics.forEach(topic => { + if (!topic || typeof topic !== 'string') { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } + }) + } - if (saveUninitializedSession === undefined) { - deprecate('undefined saveUninitialized option; provide saveUninitialized option'); - saveUninitializedSession = true; - } + const metadata = await cluster.metadata({ topics }) - if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') { - throw new TypeError('unset option must be "destroy" or "keep"'); + return { + topics: metadata.topicMetadata.map(topicMetadata => ({ + name: topicMetadata.topic, + partitions: topicMetadata.partitionMetadata, + })), + } } - // TODO: switch to "destroy" on next major - var unsetDestroy = opts.unset === 'destroy' + /** + * Describe cluster + * + * @return {Promise} + * + * @typedef {Object} ClusterMetadata + * @property {Array} brokers + * @property {Number} controller Current controller id. Returns null if unknown. + * @property {String} clusterId + * + * @typedef {Object} Broker + * @property {Number} nodeId + * @property {String} host + * @property {Number} port + */ + const describeCluster = async () => { + const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] }) + const brokers = nodes.map(({ nodeId, host, port }) => ({ + nodeId, + host, + port, + })) + const controller = + controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId - if (Array.isArray(secret) && secret.length === 0) { - throw new TypeError('secret option array must contain one or more strings'); + return { + brokers, + controller, + clusterId, + } } - if (secret && !Array.isArray(secret)) { - secret = [secret]; - } + /** + * List groups in a broker + * + * @return {Promise} + * + * @typedef {Object} ListGroups + * @property {Array} groups + * + * @typedef {Object} ListGroup + * @property {string} groupId + * @property {string} protocolType + */ + const listGroups = async () => { + await cluster.refreshMetadata() + let groups = [] + for (var nodeId in cluster.brokerPool.brokers) { + const broker = await cluster.findBroker({ nodeId }) + const response = await broker.listGroups() + groups = groups.concat(response.groups) + } - if (!secret) { - deprecate('req.secret; provide secret option'); + return { groups } } - // notify user that this store is not - // meant for a production environment - /* istanbul ignore next: not tested */ - if (env === 'production' && store instanceof MemoryStore) { - console.warn(warning); - } + /** + * Describe groups by group ids + * @param {Array} groupIds + * + * @typedef {Object} GroupDescriptions + * @property {Array} groups + * + * @return {Promise} + */ + const describeGroups = async groupIds => { + const coordinatorsForGroup = await Promise.all( + groupIds.map(async groupId => { + const coordinator = await cluster.findGroupCoordinator({ groupId }) + return { + coordinator, + groupId, + } + }) + ) - // generates the new session - store.generate = function(req){ - req.sessionID = generateId(req); - req.session = new Session(req); - req.session.cookie = new Cookie(cookieOptions); + const groupsByCoordinator = Object.values( + coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => { + const group = coordinators[coordinator.nodeId] - if (cookieOptions.secure === 'auto') { - req.session.cookie.secure = issecure(req, trustProxy); - } - }; + if (group) { + coordinators[coordinator.nodeId] = { + ...group, + groupIds: [...group.groupIds, groupId], + } + } else { + coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] } + } + return coordinators + }, {}) + ) - var storeImplementsTouch = typeof store.touch === 'function'; + const responses = await Promise.all( + groupsByCoordinator.map(async ({ coordinator, groupIds }) => { + const retrier = createRetry(retry) + const { groups } = await retrier(() => coordinator.describeGroups({ groupIds })) + return groups + }) + ) - // register event listeners for the store to track readiness - var storeReady = true - store.on('disconnect', function ondisconnect() { - storeReady = false - }) - store.on('connect', function onconnect() { - storeReady = true - }) + const groups = [].concat.apply([], responses) - return function session(req, res, next) { - // self-awareness - if (req.session) { - next() - return - } + return { groups } + } - // Handle connection as if there is no session if - // the store has temporarily disconnected etc - if (!storeReady) { - debug('store is disconnected') - next() - return + /** + * Delete groups in a broker + * + * @param {string[]} [groupIds] + * @return {Promise} + * + * @typedef {Array} DeleteGroups + * @property {string} groupId + * @property {number} errorCode + */ + const deleteGroups = async groupIds => { + if (!groupIds || !Array.isArray(groupIds)) { + throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`) } - // pathname mismatch - var originalPath = parseUrl.original(req).pathname || '/' - if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next(); + const invalidGroupId = groupIds.some(g => typeof g !== 'string') - // ensure a secret is available or bail - if (!secret && !req.secret) { - next(new Error('secret option required for sessions')); - return; + if (invalidGroupId) { + throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`) } - // backwards compatibility for signed cookies - // req.secret is passed from the cookie parser middleware - var secrets = secret || [req.secret]; - - var originalHash; - var originalId; - var savedHash; - var touched = false + const retrier = createRetry(retry) - // expose store - req.sessionStore = store; + let results = [] - // get the session ID from the cookie - var cookieId = req.sessionID = getcookie(req, name, secrets); + let clonedGroupIds = groupIds.slice() - // set-cookie - onHeaders(res, function(){ - if (!req.session) { - debug('no session'); - return; - } + return retrier(async (bail, retryCount, retryTime) => { + try { + if (clonedGroupIds.length === 0) return [] - if (!shouldSetCookie(req)) { - return; - } + await cluster.refreshMetadata() - // only send secure cookies via https - if (req.session.cookie.secure && !issecure(req, trustProxy)) { - debug('not secured'); - return; - } + const brokersPerGroups = {} + const brokersPerNode = {} + for (const groupId of clonedGroupIds) { + const broker = await cluster.findGroupCoordinator({ groupId }) + if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = [] + brokersPerGroups[broker.nodeId].push(groupId) + brokersPerNode[broker.nodeId] = broker + } - if (!touched) { - // touch session - req.session.touch() - touched = true - } + const res = await Promise.all( + Object.keys(brokersPerNode).map( + async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId]) + ) + ) - // set cookie - setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data); - }); + const errors = flatten( + res.map(({ results }) => + results.map(({ groupId, errorCode, error }) => { + return { groupId, errorCode, error } + }) + ) + ).filter(({ errorCode }) => errorCode !== 0) - // proxy end() to commit the session - var _end = res.end; - var _write = res.write; - var ended = false; - res.end = function end(chunk, encoding) { - if (ended) { - return false; - } + clonedGroupIds = errors.map(({ groupId }) => groupId) - ended = true; + if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors) - var ret; - var sync = true; + results = flatten(res.map(({ results }) => results)) - function writeend() { - if (sync) { - ret = _end.call(res, chunk, encoding); - sync = false; - return; + return results + } catch (e) { + if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') { + logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime }) + throw e } - _end.call(res); + bail(e) } + }) + } - function writetop() { - if (!sync) { - return ret; - } - - if (!res._header) { - res._implicitHeader() - } - - if (chunk == null) { - ret = true; - return ret; - } - - var contentLength = Number(res.getHeader('Content-Length')); + /** + * Delete topic records up to the selected partition offsets + * + * @param {string} topic + * @param {Array} partitions + * @return {Promise} + * + * @typedef {Object} SeekEntry + * @property {number} partition + * @property {string} offset + */ + const deleteTopicRecords = async ({ topic, partitions }) => { + if (!topic || typeof topic !== 'string') { + throw new KafkaJSNonRetriableError(`Invalid topic "${topic}"`) + } - if (!isNaN(contentLength) && contentLength > 0) { - // measure chunk - chunk = !Buffer.isBuffer(chunk) - ? Buffer.from(chunk, encoding) - : chunk; - encoding = undefined; + if (!partitions || partitions.length === 0) { + throw new KafkaJSNonRetriableError(`Invalid partitions`) + } - if (chunk.length !== 0) { - debug('split response'); - ret = _write.call(res, chunk.slice(0, chunk.length - 1)); - chunk = chunk.slice(chunk.length - 1, chunk.length); - return ret; - } - } + const partitionsByBroker = cluster.findLeaderForPartitions( + topic, + partitions.map(p => p.partition) + ) - ret = _write.call(res, chunk, encoding); - sync = false; + const partitionsFound = flatten(values(partitionsByBroker)) + const topicOffsets = await fetchTopicOffsets(topic) - return ret; + const leaderNotFoundErrors = [] + partitions.forEach(({ partition, offset }) => { + // throw if no leader found for partition + if (!partitionsFound.includes(partition)) { + leaderNotFoundErrors.push({ + partition, + offset, + error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', { + retriable: false, + }), + }) + return } - - if (shouldDestroy(req)) { - // destroy session - debug('destroying'); - store.destroy(req.sessionID, function ondestroy(err) { - if (err) { - defer(next, err); - } - - debug('destroyed'); - writeend(); - }); - - return writetop(); + const { low } = topicOffsets.find(p => p.partition === partition) || { + high: undefined, + low: undefined, } - - // no session to save - if (!req.session) { - debug('no session'); - return _end.call(res, chunk, encoding); + // warn in case of offset below low watermark + if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) { + logger.warn( + 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition', + { + topic, + partition, + offset, + } + ) } + }) - if (!touched) { - // touch session - req.session.touch() - touched = true - } + if (leaderNotFoundErrors.length > 0) { + throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors }) + } - if (shouldSave(req)) { - req.session.save(function onsave(err) { - if (err) { - defer(next, err); - } + const seekEntriesByBroker = entries(partitionsByBroker).reduce( + (obj, [nodeId, nodePartitions]) => { + obj[nodeId] = { + topic, + partitions: partitions.filter(p => nodePartitions.includes(p.partition)), + } + return obj + }, + {} + ) - writeend(); - }); + const retrier = createRetry(retry) + return retrier(async bail => { + try { + const partitionErrors = [] - return writetop(); - } else if (storeImplementsTouch && shouldTouch(req)) { - // store implements touch method - debug('touching'); - store.touch(req.sessionID, req.session, function ontouch(err) { - if (err) { - defer(next, err); + const brokerRequests = entries(seekEntriesByBroker).map( + ([nodeId, { topic, partitions }]) => async () => { + const broker = await cluster.findBroker({ nodeId }) + await broker.deleteRecords({ topics: [{ topic, partitions }] }) + // remove successful entry so it's ignored on retry + delete seekEntriesByBroker[nodeId] } + ) - debug('touched'); - writeend(); - }); + await Promise.all( + brokerRequests.map(request => + request().catch(e => { + if (e.name === 'KafkaJSDeleteTopicRecordsError') { + e.partitions.forEach(({ partition, offset, error }) => { + partitionErrors.push({ + partition, + offset, + error, + }) + }) + } else { + // then it's an unknown error, not from the broker response + throw e + } + }) + ) + ) - return writetop(); + if (partitionErrors.length > 0) { + throw new KafkaJSDeleteTopicRecordsError({ + topic, + partitions: partitionErrors, + }) + } + } catch (e) { + if ( + e.retriable && + e.partitions.some( + ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded' + ) + ) { + await cluster.refreshMetadata() + } + throw e } + }) + } - return _end.call(res, chunk, encoding); - }; - - // generate the session - function generate() { - store.generate(req); - originalId = req.sessionID; - originalHash = hash(req.session); - wrapmethods(req.session); + /** + * @param {Array} acl + * @return {Promise} + * + * @typedef {Object} ACLEntry + */ + const createAcls = async ({ acl }) => { + if (!acl || !Array.isArray(acl)) { + throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`) + } + if (acl.length === 0) { + throw new KafkaJSNonRetriableError('Empty ACL array') } - // inflate the session - function inflate (req, sess) { - store.createSession(req, sess) - originalId = req.sessionID - originalHash = hash(sess) + // Validate principal + if (acl.some(({ principal }) => typeof principal !== 'string')) { + throw new KafkaJSNonRetriableError( + 'Invalid ACL array, the principals have to be a valid string' + ) + } - if (!resaveSession) { - savedHash = originalHash - } + // Validate host + if (acl.some(({ host }) => typeof host !== 'string')) { + throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string') + } - wrapmethods(req.session) + // Validate resourceName + if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) { + throw new KafkaJSNonRetriableError( + 'Invalid ACL array, the resourceNames have to be a valid string' + ) } - function rewrapmethods (sess, callback) { - return function () { - if (req.session !== sess) { - wrapmethods(req.session) - } + let invalidType + // Validate operation + const validOperationTypes = Object.values(ACL_OPERATION_TYPES) + invalidType = acl.find(i => !validOperationTypes.includes(i.operation)) - callback.apply(this, arguments) - } + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}` + ) } - // wrap session methods - function wrapmethods(sess) { - var _reload = sess.reload - var _save = sess.save; - - function reload(callback) { - debug('reloading %s', this.id) - _reload.call(this, rewrapmethods(this, callback)) - } + // Validate resourcePatternTypes + const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) + invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType)) - function save() { - debug('saving %s', this.id); - savedHash = hash(this); - _save.apply(this, arguments); - } + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify( + invalidType + )}` + ) + } - Object.defineProperty(sess, 'reload', { - configurable: true, - enumerable: false, - value: reload, - writable: true - }) + // Validate permissionTypes + const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) + invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType)) - Object.defineProperty(sess, 'save', { - configurable: true, - enumerable: false, - value: save, - writable: true - }); + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}` + ) } - // check if session has been modified - function isModified(sess) { - return originalId !== sess.id || originalHash !== hash(sess); - } + // Validate resourceTypes + const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) + invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType)) - // check if session has been saved - function isSaved(sess) { - return originalId === sess.id && savedHash === hash(sess); + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}` + ) } - // determine if session should be destroyed - function shouldDestroy(req) { - return req.sessionID && unsetDestroy && req.session == null; - } + const retrier = createRetry(retry) - // determine if session should be saved to store - function shouldSave(req) { - // cannot set cookie without a session ID - if (typeof req.sessionID !== 'string') { - debug('session ignored because of bogus req.sessionID %o', req.sessionID); - return false; + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + await broker.createAcls({ acl }) + + return true + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime }) + throw e + } + + bail(e) } + }) + } - return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID - ? isModified(req.session) - : !isSaved(req.session) + /** + * @param {ACLResourceTypes} resourceType The type of resource + * @param {string} resourceName The name of the resource + * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter + * @param {string} principal The principal name + * @param {string} host The hostname + * @param {ACLOperationTypes} operation The type of operation + * @param {ACLPermissionTypes} permissionType The type of permission + * @return {Promise} + * + * @typedef {number} ACLResourceTypes + * @typedef {number} ACLResourcePatternTypes + * @typedef {number} ACLOperationTypes + * @typedef {number} ACLPermissionTypes + */ + const describeAcls = async ({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }) => { + // Validate principal + if (typeof principal !== 'string' && typeof principal !== 'undefined') { + throw new KafkaJSNonRetriableError( + 'Invalid principal, the principal have to be a valid string' + ) } - // determine if session should be touched - function shouldTouch(req) { - // cannot set cookie without a session ID - if (typeof req.sessionID !== 'string') { - debug('session ignored because of bogus req.sessionID %o', req.sessionID); - return false; - } + // Validate host + if (typeof host !== 'string' && typeof host !== 'undefined') { + throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string') + } - return cookieId === req.sessionID && !shouldSave(req); + // Validate resourceName + if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') { + throw new KafkaJSNonRetriableError( + 'Invalid resourceName, the resourceName have to be a valid string' + ) } - // determine if cookie should be set on response - function shouldSetCookie(req) { - // cannot set cookie without a session ID - if (typeof req.sessionID !== 'string') { - return false; - } + // Validate operation + const validOperationTypes = Object.values(ACL_OPERATION_TYPES) + if (!validOperationTypes.includes(operation)) { + throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`) + } - return cookieId !== req.sessionID - ? saveUninitializedSession || isModified(req.session) - : rollingSessions || req.session.cookie.expires != null && isModified(req.session); + // Validate resourcePatternType + const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) + if (!validResourcePatternTypes.includes(resourcePatternType)) { + throw new KafkaJSNonRetriableError( + `Invalid resource pattern filter type ${resourcePatternType}` + ) } - // generate a session if the browser doesn't send a sessionID - if (!req.sessionID) { - debug('no SID sent, generating session'); - generate(); - next(); - return; + // Validate permissionType + const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) + if (!validPermissionTypes.includes(permissionType)) { + throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`) } - // generate the session object - debug('fetching %s', req.sessionID); - store.get(req.sessionID, function(err, sess){ - // error handling - if (err && err.code !== 'ENOENT') { - debug('error %j', err); - next(err) - return - } + // Validate resourceType + const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) + if (!validResourceTypes.includes(resourceType)) { + throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`) + } + + const retrier = createRetry(retry) + return retrier(async (bail, retryCount, retryTime) => { try { - if (err || !sess) { - debug('no session found') - generate() - } else { - debug('session found') - inflate(req, sess) - } + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + const { resources } = await broker.describeAcls({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }) + return { resources } } catch (e) { - next(e) - return + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime }) + throw e + } + + bail(e) } + }) + } - next() - }); - }; -}; + /** + * @param {Array} filters + * @return {Promise} + * + * @typedef {Object} ACLFilter + */ + const deleteAcls = async ({ filters }) => { + if (!filters || !Array.isArray(filters)) { + throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`) + } -/** - * Generate a session ID for a new session. - * - * @return {String} - * @private - */ + if (filters.length === 0) { + throw new KafkaJSNonRetriableError('Empty ACL Filter array') + } -function generateSessionId(sess) { - return uid(24); -} + // Validate principal + if ( + filters.some( + ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined' + ) + ) { + throw new KafkaJSNonRetriableError( + 'Invalid ACL Filter array, the principals have to be a valid string' + ) + } -/** - * Get the session ID cookie from request. - * - * @return {string} - * @private - */ + // Validate host + if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) { + throw new KafkaJSNonRetriableError( + 'Invalid ACL Filter array, the hosts have to be a valid string' + ) + } -function getcookie(req, name, secrets) { - var header = req.headers.cookie; - var raw; - var val; + // Validate resourceName + if ( + filters.some( + ({ resourceName }) => + typeof resourceName !== 'string' && typeof resourceName !== 'undefined' + ) + ) { + throw new KafkaJSNonRetriableError( + 'Invalid ACL Filter array, the resourceNames have to be a valid string' + ) + } - // read from cookie header - if (header) { - var cookies = cookie.parse(header); + let invalidType + // Validate operation + const validOperationTypes = Object.values(ACL_OPERATION_TYPES) + invalidType = filters.find(i => !validOperationTypes.includes(i.operation)) - raw = cookies[name]; + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}` + ) + } - if (raw) { - if (raw.substr(0, 2) === 's:') { - val = unsigncookie(raw.slice(2), secrets); + // Validate resourcePatternTypes + const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) + invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType)) - if (val === false) { - debug('cookie signature invalid'); - val = undefined; - } - } else { - debug('cookie unsigned') - } + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify( + invalidType + )}` + ) } - } - // back-compat read from cookieParser() signedCookies data - if (!val && req.signedCookies) { - val = req.signedCookies[name]; + // Validate permissionTypes + const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) + invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType)) - if (val) { - deprecate('cookie should be available in req.headers.cookie'); + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}` + ) } - } - // back-compat read from cookieParser() cookies data - if (!val && req.cookies) { - raw = req.cookies[name]; + // Validate resourceTypes + const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) + invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType)) - if (raw) { - if (raw.substr(0, 2) === 's:') { - val = unsigncookie(raw.slice(2), secrets); + if (invalidType) { + throw new KafkaJSNonRetriableError( + `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}` + ) + } - if (val) { - deprecate('cookie should be available in req.headers.cookie'); - } + const retrier = createRetry(retry) - if (val === false) { - debug('cookie signature invalid'); - val = undefined; - } - } else { - debug('cookie unsigned') + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadata() + const broker = await cluster.findControllerBroker() + const { filterResponses } = await broker.deleteAcls({ filters }) + return { filterResponses } + } catch (e) { + if (e.type === 'NOT_CONTROLLER') { + logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime }) + throw e + } + + bail(e) } - } + }) } - return val; -} - -/** - * Hash the given `sess` object omitting changes to `.cookie`. - * - * @param {Object} sess - * @return {String} - * @private - */ - -function hash(sess) { - // serialize - var str = JSON.stringify(sess, function (key, val) { - // ignore sess.cookie property - if (this === sess && key === 'cookie') { - return + /** @type {import("../../types").Admin["on"]} */ + const on = (eventName, listener) => { + if (!eventNames.includes(eventName)) { + throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) } - return val - }) - - // hash - return crypto - .createHash('sha1') - .update(str, 'utf8') - .digest('hex') -} - -/** - * Determine if request is secure. - * - * @param {Object} req - * @param {Boolean} [trustProxy] - * @return {Boolean} - * @private - */ - -function issecure(req, trustProxy) { - // socket is https server - if (req.connection && req.connection.encrypted) { - return true; + return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { + event.type = wrapEvent(event.type) + Promise.resolve(listener(event)).catch(e => { + logger.error(`Failed to execute listener: ${e.message}`, { + eventName, + stack: e.stack, + }) + }) + }) } - // do not trust proxy - if (trustProxy === false) { - return false; - } + /** + * @return {Object} logger + */ + const getLogger = () => logger - // no explicit trust; try req.secure from express - if (trustProxy !== true) { - return req.secure === true + return { + connect, + disconnect, + listTopics, + createTopics, + deleteTopics, + createPartitions, + getTopicMetadata, + fetchTopicMetadata, + describeCluster, + events, + fetchOffsets, + fetchTopicOffsets, + fetchTopicOffsetsByTimestamp, + setOffsets, + resetOffsets, + describeConfigs, + alterConfigs, + on, + logger: getLogger, + listGroups, + describeGroups, + deleteGroups, + describeAcls, + deleteAcls, + createAcls, + deleteTopicRecords, } - - // read the proto from x-forwarded-proto header - var header = req.headers['x-forwarded-proto'] || ''; - var index = header.indexOf(','); - var proto = index !== -1 - ? header.substr(0, index).toLowerCase().trim() - : header.toLowerCase().trim() - - return proto === 'https'; } -/** - * Set cookie on response. - * - * @private - */ -function setcookie(res, name, val, secret, options) { - var signed = 's:' + signature.sign(val, secret); - var data = cookie.serialize(name, signed, options); +/***/ }), - debug('set-cookie %s', data); +/***/ "./node_modules/kafkajs/src/admin/instrumentationEvents.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/admin/instrumentationEvents.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var prev = res.getHeader('Set-Cookie') || [] - var header = Array.isArray(prev) ? prev.concat(data) : [prev, data]; +const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") +const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") +const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") +const adminType = InstrumentationEventType('admin') - res.setHeader('Set-Cookie', header) +const events = { + CONNECT: adminType('connect'), + DISCONNECT: adminType('disconnect'), + REQUEST: adminType(networkEvents.NETWORK_REQUEST), + REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT), + REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), } -/** - * Verify and decode the given `val` with `secrets`. - * - * @param {String} val - * @param {Array} secrets - * @returns {String|Boolean} - * @private - */ -function unsigncookie(val, secrets) { - for (var i = 0; i < secrets.length; i++) { - var result = signature.unsign(val, secrets[i]); +const wrappedEvents = { + [events.REQUEST]: networkEvents.NETWORK_REQUEST, + [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, + [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, +} - if (result !== false) { - return result; - } - } +const reversedWrappedEvents = swapObject(wrappedEvents) +const unwrap = eventName => wrappedEvents[eventName] || eventName +const wrap = eventName => reversedWrappedEvents[eventName] || eventName - return false; +module.exports = { + events, + wrap, + unwrap, } /***/ }), -/***/ "./node_modules/express-session/node_modules/debug/src/browser.js": -/*!************************************************************************!*\ - !*** ./node_modules/express-session/node_modules/debug/src/browser.js ***! - \************************************************************************/ +/***/ "./node_modules/kafkajs/src/broker/index.js": +/*!**************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/index.js ***! + \**************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 7:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ -/***/ ((module, exports, __webpack_require__) => { - -/** - * This is the web browser implementation of `debug()`. - * - * Expose `debug()` as the module. - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express-session/node_modules/debug/src/debug.js"); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const Lock = __webpack_require__(/*! ../utils/lock */ "./node_modules/kafkajs/src/utils/lock.js") +const { Types: Compression } = __webpack_require__(/*! ../protocol/message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +const { requests, lookup } = __webpack_require__(/*! ../protocol/requests */ "./node_modules/kafkajs/src/protocol/requests/index.js") +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const apiKeys = __webpack_require__(/*! ../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const SASLAuthenticator = __webpack_require__(/*! ./saslAuthenticator */ "./node_modules/kafkajs/src/broker/saslAuthenticator/index.js") +const shuffle = __webpack_require__(/*! ../utils/shuffle */ "./node_modules/kafkajs/src/utils/shuffle.js") +const { ApiVersions: apiVersionsApiKey } = __webpack_require__(/*! ../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const sharedPromiseTo = __webpack_require__(/*! ../utils/sharedPromiseTo */ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js") -/** - * Colors. - */ +const PRIVATE = { + SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'), + SEND_REQUEST: Symbol('private:Broker:sendRequest'), + AUTHENTICATE: Symbol('private:Broker:authenticate'), +} -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; +/** @type {import("../protocol/requests").Lookup} */ +const notInitializedLookup = () => { + throw new Error('Broker not connected') +} /** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors + * @param request - request from protocol + * @returns {boolean} */ - -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; - } - - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +const isAuthenticatedRequest = request => { + return request.apiKey !== apiVersionsApiKey } /** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + * Each node in a Kafka cluster is called broker. This class contains + * the high-level operations a node can perform. + * + * @type {import("../../types").Broker} */ +module.exports = class Broker { + /** + * @param {Object} options + * @param {import("../network/connection")} options.connection + * @param {import("../../types").Logger} options.logger + * @param {number} [options.nodeId] + * @param {import("../../types").ApiVersions} [options.versions=null] The object with all available versions and APIs + * supported by this cluster. The output of broker#apiVersions + * @param {number} [options.authenticationTimeout=1000] + * @param {number} [options.reauthenticationThreshold=10000] + * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable' + * are true, topics that don't exist will be created when + * fetching metadata. + * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol + */ + constructor({ + connection, + logger, + nodeId = null, + versions = null, + authenticationTimeout = 1000, + reauthenticationThreshold = 10000, + allowAutoTopicCreation = true, + supportAuthenticationProtocol = null, + }) { + this.connection = connection + this.nodeId = nodeId + this.rootLogger = logger + this.logger = logger.namespace('Broker') + this.versions = versions + this.authenticationTimeout = authenticationTimeout + this.reauthenticationThreshold = reauthenticationThreshold + this.allowAutoTopicCreation = allowAutoTopicCreation + this.supportAuthenticationProtocol = supportAuthenticationProtocol -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; - } -}; + this.authenticatedAt = null + this.sessionLifetime = Long.ZERO + // The lock timeout has twice the connectionTimeout because the same timeout is used + // for the first apiVersions call + const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout + this.brokerAddress = `${this.connection.host}:${this.connection.port}` -/** - * Colorize log arguments if enabled. - * - * @api public - */ + this.lock = new Lock({ + timeout: lockTimeout, + description: `connect to broker ${this.brokerAddress}`, + }) -function formatArgs(args) { - var useColors = this.useColors; + this.lookupRequest = notInitializedLookup - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); + /** + * @private + * @returns {Promise} + */ + this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => { + if (this.connection.sasl && !this.isAuthenticated()) { + const authenticator = new SASLAuthenticator( + this.connection, + this.rootLogger, + this.versions, + this.supportAuthenticationProtocol + ) - if (!useColors) return; + await authenticator.authenticate() + this.authenticatedAt = process.hrtime() + this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime) + } + }) + } - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') + /** + * @public + * @returns {boolean} + */ + isAuthenticated() { + return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]() + } - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); + /** + * @public + * @returns {boolean} + */ + isConnected() { + const { connected, sasl } = this.connection + return sasl ? connected && this.isAuthenticated() : connected + } - args.splice(lastC, 0, c); -} + /** + * @public + * @returns {Promise} + */ + async connect() { + try { + await this.lock.acquire() + if (this.isConnected()) { + return + } -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ + this.authenticatedAt = null + await this.connection.connect() -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} + if (!this.versions) { + this.versions = await this.apiVersions() + } -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ + this.lookupRequest = lookup(this.versions) -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; - } - } catch(e) {} -} + if (this.supportAuthenticationProtocol === null) { + try { + this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate) + this.supportAuthenticationProtocol = true + } catch (_) { + this.supportAuthenticationProtocol = false + } -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ + this.logger.debug(`Verified support for SaslAuthenticate`, { + broker: this.brokerAddress, + supportAuthenticationProtocol: this.supportAuthenticationProtocol, + }) + } -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} + await this[PRIVATE.AUTHENTICATE]() + } finally { + await this.lock.release() + } + } - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; + /** + * @public + * @returns {Promise} + */ + async disconnect() { + this.authenticatedAt = null + await this.connection.disconnect() } - return r; -} + /** + * @public + * @returns {Promise} + */ + async apiVersions() { + let response + const availableVersions = requests.ApiVersions.versions + .map(Number) + .sort() + .reverse() -/** - * Enable namespaces listed in `localStorage.debug` initially. - */ + // Find the best version implemented by the server + for (const candidateVersion of availableVersions) { + try { + const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion }) + response = await this[PRIVATE.SEND_REQUEST]({ + ...apiVersions(), + requestTimeout: this.connection.connectionTimeout, + }) + break + } catch (e) { + if (e.type !== 'UNSUPPORTED_VERSION') { + throw e + } + } + } -exports.enable(load()); + if (!response) { + throw new KafkaJSNonRetriableError('API Versions not supported') + } -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ - -function localstorage() { - try { - return window.localStorage; - } catch (e) {} -} - - -/***/ }), - -/***/ "./node_modules/express-session/node_modules/debug/src/debug.js": -/*!**********************************************************************!*\ - !*** ./node_modules/express-session/node_modules/debug/src/debug.js ***! - \**********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ -/*! CommonJS bailout: exports is used directly at 9:0-7 */ -/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ -/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ -/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ -/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ -/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ -/***/ ((module, exports, __webpack_require__) => { - - -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - * - * Expose `debug()` as the module. - */ - -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = __webpack_require__(/*! ms */ "./node_modules/express-session/node_modules/ms/index.js"); - -/** - * The currently active debug mode names, and names to skip. - */ - -exports.names = []; -exports.skips = []; - -/** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - -exports.formatters = {}; - -/** - * Previous log timestamp. - */ - -var prevTime; - -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ + return response.apiVersions.reduce( + (obj, version) => + Object.assign(obj, { + [version.apiKey]: { + minVersion: version.minVersion, + maxVersion: version.maxVersion, + }, + }), + {} + ) + } -function selectColor(namespace) { - var hash = 0, i; + /** + * @public + * @type {import("../../types").Broker['metadata']} + * @param {string[]} [topics=[]] An array of topics to fetch metadata for. + * If no topics are specified fetch metadata for all topics + */ + async metadata(topics = []) { + const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata) + const shuffledTopics = shuffle(topics) + return await this[PRIVATE.SEND_REQUEST]( + metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation }) + ) + } - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer + /** + * @public + * @param {Object} request + * @param {Array} request.topicData An array of messages per topic and per partition, example: + * [ + * { + * topic: 'test-topic-1', + * partitions: [ + * { + * partition: 0, + * firstSequence: 0, + * messages: [ + * { key: '1', value: 'A' }, + * { key: '2', value: 'B' }, + * ] + * }, + * { + * partition: 1, + * firstSequence: 0, + * messages: [ + * { key: '3', value: 'C' }, + * ] + * } + * ] + * }, + * { + * topic: 'test-topic-2', + * partitions: [ + * { + * partition: 4, + * firstSequence: 0, + * messages: [ + * { key: '32', value: 'E' }, + * ] + * }, + * ] + * }, + * ] + * @param {number} [request.acks=-1] Control the number of required acks. + * -1 = all replicas must acknowledge + * 0 = no acknowledgments + * 1 = only waits for the leader to acknowledge + * @param {number} [request.timeout=30000] The time to await a response in ms + * @param {string} [request.transactionalId=null] + * @param {number} [request.producerId=-1] Broker assigned producerId + * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch + * @param {import("../../types").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec + * @returns {Promise} + */ + async produce({ + topicData, + transactionalId, + producerId, + producerEpoch, + acks = -1, + timeout = 30000, + compression = Compression.None, + }) { + const produce = this.lookupRequest(apiKeys.Produce, requests.Produce) + return await this[PRIVATE.SEND_REQUEST]( + produce({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }) + ) } - return exports.colors[Math.abs(hash) % exports.colors.length]; -} + /** + * @public + * @param {Object} request + * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1 + * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED. + * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response + * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response + * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is + * not an absolute maximum, if the first message in the first non-empty + * partition of the fetch is larger than this value, the message will still + * be returned to ensure that progress can be made. Default 10MB. + * @param {Array} request.topics Topics to fetch + * [ + * { + * topic: 'topic-name', + * partitions: [ + * { + * partition: 0, + * fetchOffset: '4124', + * maxBytes: 2048 + * } + * ] + * } + * ] + * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this + * client is physically located. It corresponds with the broker config `broker.rack`. + * @returns {Promise} + */ + async fetch({ + replicaId, + isolationLevel, + maxWaitTime = 5000, + minBytes = 1, + maxBytes = 10485760, + topics, + rackId = '', + }) { + // TODO: validate topics not null/empty + const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch) -/** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ + // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74) + const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => { + partitions.forEach(partition => { + topicPartitions.push({ topic, partition }) + }) + return topicPartitions + }, []) -function createDebug(namespace) { + const shuffledTopicPartitions = shuffle(flattenedTopicPartitions) - function debug() { - // disabled? - if (!debug.enabled) return; + // Consecutive partitions for the same topic can be combined into a single `topic` entry + const consolidatedTopicPartitions = shuffledTopicPartitions.reduce( + (topicPartitions, { topic, partition }) => { + const last = topicPartitions[topicPartitions.length - 1] - var self = debug; + if (last != null && last.topic === topic) { + topicPartitions[topicPartitions.length - 1].partitions.push(partition) + } else { + topicPartitions.push({ topic, partitions: [partition] }) + } - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; + return topicPartitions + }, + [] + ) - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; - } + return await this[PRIVATE.SEND_REQUEST]( + fetch({ + replicaId, + isolationLevel, + maxWaitTime, + minBytes, + maxBytes, + topics: consolidatedTopicPartitions, + rackId, + }) + ) + } - args[0] = exports.coerce(args[0]); + /** + * @public + * @param {object} request + * @param {string} request.groupId The group id + * @param {number} request.groupGenerationId The generation of the group + * @param {string} request.memberId The member id assigned by the group coordinator + * @returns {Promise} + */ + async heartbeat({ groupId, groupGenerationId, memberId }) { + const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat) + return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId })) + } - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); - } + /** + * @public + * @param {object} request + * @param {string} request.groupId The unique group id + * @param {import("../protocol/coordinatorTypes").CoordinatorType} request.coordinatorType The type of coordinator to find + * @returns {Promise} + */ + async findGroupCoordinator({ groupId, coordinatorType }) { + // TODO: validate groupId, mandatory + const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator) + return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType })) + } - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); + /** + * @public + * @param {object} request + * @param {string} request.groupId The unique group id + * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives + * no heartbeat after this timeout in ms + * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member + * to rejoin when rebalancing the group + * @param {string} [request.memberId=""] The assigned consumer id or an empty string for a new consumer + * @param {string} [request.protocolType="consumer"] Unique name for class of protocols implemented by group + * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy) + * [{ name: 'AssignerName', metadata: '{"version": 1, "topics": []}' }] + * @returns {Promise} + */ + async joinGroup({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId = '', + protocolType = 'consumer', + groupProtocols, + }) { + const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup) + const makeRequest = (assignedMemberId = memberId) => + this[PRIVATE.SEND_REQUEST]( + joinGroup({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId: assignedMemberId, + protocolType, + groupProtocols, + }) + ) - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; + try { + return await makeRequest() + } catch (error) { + if (error.name === 'KafkaJSMemberIdRequired') { + return makeRequest(error.memberId) } - return match; - }); - - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); + throw error + } } - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); + /** + * @public + * @param {object} request + * @param {string} request.groupId + * @param {string} request.memberId + * @returns {Promise} + */ + async leaveGroup({ groupId, memberId }) { + const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup) + return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId })) + } - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); + /** + * @public + * @param {object} request + * @param {string} request.groupId + * @param {number} request.generationId + * @param {string} request.memberId + * @param {object} request.groupAssignment + * @returns {Promise} + */ + async syncGroup({ groupId, generationId, memberId, groupAssignment }) { + const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup) + return await this[PRIVATE.SEND_REQUEST]( + syncGroup({ + groupId, + generationId, + memberId, + groupAssignment, + }) + ) } - return debug; -} + /** + * @public + * @param {object} request + * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1 + * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only) + * @param {TopicPartitionOffset[]} request.topics e.g: + * + * @typedef {Object} TopicPartitionOffset + * @property {string} topic + * @property {PartitionOffset[]} partitions + * + * @typedef {Object} PartitionOffset + * @property {number} partition + * @property {number} [timestamp=-1] + * + * + * @returns {Promise} + */ + async listOffsets({ replicaId, isolationLevel, topics }) { + const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets) + const result = await this[PRIVATE.SEND_REQUEST]( + listOffsets({ replicaId, isolationLevel, topics }) + ) -/** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ + // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0). + // Normalize to just return `offset`. + for (const response of result.responses) { + response.partitions = response.partitions.map(({ offsets, ...partitionData }) => { + return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData + }) + } -function enable(namespaces) { - exports.save(namespaces); + return result + } - exports.names = []; - exports.skips = []; + /** + * @public + * @param {object} request + * @param {string} request.groupId + * @param {number} request.groupGenerationId + * @param {string} request.memberId + * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration + * should be used. + * @param {object} request.topics Topics to commit offsets, e.g: + * [ + * { + * topic: 'topic-name', + * partitions: [ + * { partition: 0, offset: '11' } + * ] + * } + * ] + * @returns {Promise} + */ + async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) { + const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit) + return await this[PRIVATE.SEND_REQUEST]( + offsetCommit({ + groupId, + groupGenerationId, + memberId, + retentionTime, + topics, + }) + ) + } - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; + /** + * @public + * @param {object} request + * @param {string} request.groupId + * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g: + * [ + * { + * topic: 'topic-name', + * partitions: [ + * { partition: 0 } + * ] + * } + * ] + * @returns {Promise} + */ + async offsetFetch({ groupId, topics }) { + const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch) + return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics })) + } - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); - } + /** + * @public + * @param {object} request + * @param {Array} request.groupIds + * @returns {Promise} + */ + async describeGroups({ groupIds }) { + const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups) + return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds })) } -} -/** - * Disable debug output. - * - * @api public - */ - -function disable() { - exports.enable(''); -} + /** + * @public + * @param {object} request + * @param {Array} request.topics e.g: + * [ + * { + * topic: 'topic-name', + * numPartitions: 1, + * replicationFactor: 1 + * } + * ] + * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic + * won't be created + * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created + * on the controller node + * @returns {Promise} + */ + async createTopics({ topics, validateOnly = false, timeout = 5000 }) { + const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics) + return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout })) + } -/** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ + /** + * @public + * @param {object} request + * @param {Array} request.topicPartitions e.g: + * [ + * { + * topic: 'topic-name', + * count: 3, + * assignments: [] + * } + * ] + * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic + * won't be created + * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created + * on the controller node + * @returns {Promise} + */ + async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) { + const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions) + return await this[PRIVATE.SEND_REQUEST]( + createPartitions({ topicPartitions, validateOnly, timeout }) + ) + } -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; - } + /** + * @public + * @param {object} request + * @param {string[]} request.topics An array of topics to be deleted + * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the + * controller node. Values <= 0 will trigger topic deletion and return + * immediately + * @returns {Promise} + */ + async deleteTopics({ topics, timeout = 5000 }) { + const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics) + return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout })) } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; - } + + /** + * @public + * @param {object} request + * @param {import("../../types").ResourceConfigQuery[]} request.resources + * [{ + * type: RESOURCE_TYPES.TOPIC, + * name: 'topic-name', + * configNames: ['compression.type', 'retention.ms'] + * }] + * @param {boolean} [request.includeSynonyms=false] + * @returns {Promise} + */ + async describeConfigs({ resources, includeSynonyms = false }) { + const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs) + return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms })) } - return false; -} -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ + /** + * @public + * @param {object} request + * @param {import("../../types").IResourceConfig[]} request.resources + * [{ + * type: RESOURCE_TYPES.TOPIC, + * name: 'topic-name', + * configEntries: [ + * { + * name: 'cleanup.policy', + * value: 'compact' + * } + * ] + * }] + * @param {boolean} [request.validateOnly=false] + * @returns {Promise} + */ + async alterConfigs({ resources, validateOnly = false }) { + const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs) + return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly })) + } -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; -} + /** + * Send an `InitProducerId` request to fetch a PID and bump the producer epoch. + * + * Request should be made to the transaction coordinator. + * @public + * @param {object} request + * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions + * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional + * @returns {Promise} + */ + async initProducerId({ transactionalId, transactionTimeout }) { + const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId) + return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout })) + } + /** + * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction. + * + * Request should be made to the transaction coordinator. + * @public + * @param {object} request + * @param {string} request.transactionalId The transactional id corresponding to the transaction. + * @param {number} request.producerId Current producer id in use by the transactional id. + * @param {number} request.producerEpoch Current epoch associated with the producer id. + * @param {object[]} request.topics e.g: + * [ + * { + * topic: 'topic-name', + * partitions: [ 0, 1] + * } + * ] + * @returns {Promise} + */ + async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) { + const addPartitionsToTxn = this.lookupRequest( + apiKeys.AddPartitionsToTxn, + requests.AddPartitionsToTxn + ) + return await this[PRIVATE.SEND_REQUEST]( + addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) + ) + } -/***/ }), + /** + * Send an `AddOffsetsToTxn` request. + * + * Request should be made to the transaction coordinator. + * @public + * @param {object} request + * @param {string} request.transactionalId The transactional id corresponding to the transaction. + * @param {number} request.producerId Current producer id in use by the transactional id. + * @param {number} request.producerEpoch Current epoch associated with the producer id. + * @param {string} request.groupId The unique group identifier (for the consumer group) + * @returns {Promise} + */ + async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) { + const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn) + return await this[PRIVATE.SEND_REQUEST]( + addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) + ) + } -/***/ "./node_modules/express-session/node_modules/debug/src/index.js": -/*!**********************************************************************!*\ - !*** ./node_modules/express-session/node_modules/debug/src/index.js ***! - \**********************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + /** + * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics. + * + * Request should be made to the consumer coordinator. + * @public + * @param {object} request + * @param {OffsetCommitTopic[]} request.topics + * @param {string} request.transactionalId The transactional id corresponding to the transaction. + * @param {string} request.groupId The unique group identifier (for the consumer group) + * @param {number} request.producerId Current producer id in use by the transactional id. + * @param {number} request.producerEpoch Current epoch associated with the producer id. + * @param {OffsetCommitTopic[]} request.topics + * + * @typedef {Object} OffsetCommitTopic + * @property {string} topic + * @property {OffsetCommitTopicPartition[]} partitions + * + * @typedef {Object} OffsetCommitTopicPartition + * @property {number} partition + * @property {number} offset + * @property {string} [metadata] + * + * @returns {Promise} + */ + async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) { + const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit) + return await this[PRIVATE.SEND_REQUEST]( + txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) + ) + } -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ + /** + * Send an `EndTxn` request to indicate transaction should be committed or aborted. + * + * Request should be made to the transaction coordinator. + * @public + * @param {object} request + * @param {string} request.transactionalId The transactional id corresponding to the transaction. + * @param {number} request.producerId Current producer id in use by the transactional id. + * @param {number} request.producerEpoch Current epoch associated with the producer id. + * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT) + * @returns {Promise} + */ + async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) { + const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn) + return await this[PRIVATE.SEND_REQUEST]( + endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) + ) + } -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/express-session/node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/express-session/node_modules/debug/src/node.js"); -} + /** + * Send request for list of groups + * @public + * @returns {Promise} + */ + async listGroups() { + const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups) + return await this[PRIVATE.SEND_REQUEST](listGroups()) + } + /** + * Send request to delete groups + * @param {string[]} groupIds + * @public + * @returns {Promise} + */ + async deleteGroups(groupIds) { + const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups) + return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds)) + } -/***/ }), + /** + * Send request to delete records + * @public + * @param {object} request + * @param {TopicPartitionRecords[]} request.topics + * [ + * { + * topic: 'my-topic-name', + * partitions: [ + * { partition: 0, offset 2 }, + * { partition: 1, offset 4 }, + * ], + * } + * ] + * @returns {Promise} example: + * { + * throttleTime: 0 + * [ + * { + * topic: 'my-topic-name', + * partitions: [ + * { partition: 0, lowWatermark: '2n', errorCode: 0 }, + * { partition: 1, lowWatermark: '4n', errorCode: 0 }, + * ], + * }, + * ] + * } + * + * @typedef {object} TopicPartitionRecords + * @property {string} topic + * @property {PartitionRecord[]} partitions + * + * @typedef {object} PartitionRecord + * @property {number} partition + * @property {number} offset + */ + async deleteRecords({ topics }) { + const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords) + return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics })) + } -/***/ "./node_modules/express-session/node_modules/debug/src/node.js": -/*!*********************************************************************!*\ - !*** ./node_modules/express-session/node_modules/debug/src/node.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 14:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ -/***/ ((module, exports, __webpack_require__) => { + /** + * @public + * @param {object} request + * @param {import("../../types").AclEntry[]} request.acl e.g: + * [ + * { + * resourceType: AclResourceTypes.TOPIC, + * resourceName: 'topic-name', + * resourcePatternType: ResourcePatternTypes.LITERAL, + * principal: 'User:bob', + * host: '*', + * operation: AclOperationTypes.ALL, + * permissionType: AclPermissionTypes.DENY, + * } + * ] + * @returns {Promise} + */ + async createAcls({ acl }) { + const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls) + return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl })) + } -/** - * Module dependencies. - */ + /** + * @public + * @param {import("../../types").AclEntry} aclEntry + * @returns {Promise} + */ + async describeAcls({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }) { + const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls) + return await this[PRIVATE.SEND_REQUEST]( + describeAcls({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }) + ) + } -var tty = __webpack_require__(/*! tty */ "tty"); -var util = __webpack_require__(/*! util */ "util"); + /** + * @public + * @param {Object} request + * @param {import("../../types").AclEntry[]} request.filters + * @returns {Promise} + */ + async deleteAcls({ filters }) { + const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls) + return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters })) + } -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ + /*** + * @private + */ + [PRIVATE.SHOULD_REAUTHENTICATE]() { + if (this.sessionLifetime.equals(Long.ZERO)) { + return false + } -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express-session/node_modules/debug/src/debug.js"); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; + if (this.authenticatedAt == null) { + return true + } -/** - * Colors. - */ + const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt) + const millisSince = Long.fromValue(secondsSince) + .multiply(1000) + .add(Long.fromValue(remainingNanosSince).divide(1000000)) -exports.colors = [6, 2, 3, 4, 5, 1]; + const reauthenticateAt = millisSince.add(this.reauthenticationThreshold) + return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime) + } -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ + /** + * @private + */ + async [PRIVATE.SEND_REQUEST](protocolRequest) { + if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) { + await this[PRIVATE.AUTHENTICATE]() + } + try { + return await this.connection.send(protocolRequest) + } catch (e) { + if (e.name === 'KafkaJSConnectionClosedError') { + await this.disconnect() + } -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); + throw e + } + } +} - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); - obj[prop] = val; - return obj; -}, {}); +/***/ }), -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js": +/*!*********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; +const awsIam = __webpack_require__(/*! ../../protocol/sasl/awsIam */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js") +const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} +module.exports = class AWSIAMAuthenticator { + constructor(connection, logger, saslAuthenticate) { + this.connection = connection + this.logger = logger.namespace('SASLAWSIAMAuthenticator') + this.saslAuthenticate = saslAuthenticate + } -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); + async authenticate() { + const { sasl } = this.connection + if (!sasl.authorizationIdentity) { + throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity') + } + if (!sasl.accessKeyId) { + throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId') + } + if (!sasl.secretAccessKey) { + throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey') + } + if (!sasl.sessionToken) { + sasl.sessionToken = '' + } -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ + const request = awsIam.request(sasl) + const response = awsIam.response + const { host, port } = this.connection + const broker = `${host}:${port}` -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); + try { + this.logger.debug('Authenticate with SASL AWS-IAM', { broker }) + await this.saslAuthenticate({ request, response }) + this.logger.debug('SASL AWS-IAM authentication successful', { broker }) + } catch (e) { + const error = new KafkaJSSASLAuthenticationError( + `SASL AWS-IAM authentication failed: ${e.message}` + ) + this.logger.error(error.message, { broker }) + throw error + } + } } -/** - * Map %o to `util.inspect()`, all on a single line. - */ - -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); -}; - -/** - * Map %o to `util.inspect()`, allowing multiple lines if needed. - */ - -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ +/***/ }), -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/index.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; +const { requests, lookup } = __webpack_require__(/*! ../../protocol/requests */ "./node_modules/kafkajs/src/protocol/requests/index.js") +const apiKeys = __webpack_require__(/*! ../../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const PlainAuthenticator = __webpack_require__(/*! ./plain */ "./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js") +const SCRAM256Authenticator = __webpack_require__(/*! ./scram256 */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js") +const SCRAM512Authenticator = __webpack_require__(/*! ./scram512 */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js") +const AWSIAMAuthenticator = __webpack_require__(/*! ./awsIam */ "./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js") +const OAuthBearerAuthenticator = __webpack_require__(/*! ./oauthBearer */ "./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js") +const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; - } +const AUTHENTICATORS = { + PLAIN: PlainAuthenticator, + 'SCRAM-SHA-256': SCRAM256Authenticator, + 'SCRAM-SHA-512': SCRAM512Authenticator, + AWS: AWSIAMAuthenticator, + OAUTHBEARER: OAuthBearerAuthenticator, } -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ - -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); -} +const SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS) +const UNLIMITED_SESSION_LIFETIME = '0' -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ +module.exports = class SASLAuthenticator { + constructor(connection, logger, versions, supportAuthenticationProtocol) { + this.connection = connection + this.logger = logger + this.sessionLifetime = UNLIMITED_SESSION_LIFETIME -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; + const lookupRequest = lookup(versions) + this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake) + this.protocolAuthentication = supportAuthenticationProtocol + ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate) + : null } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ -function load() { - return process.env.DEBUG; -} + async authenticate() { + const mechanism = this.connection.sasl.mechanism.toUpperCase() + if (!SUPPORTED_MECHANISMS.includes(mechanism)) { + throw new KafkaJSSASLAuthenticationError( + `SASL ${mechanism} mechanism is not supported by the client` + ) + } -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ + const handshake = await this.connection.send(this.saslHandshake({ mechanism })) + if (!handshake.enabledMechanisms.includes(mechanism)) { + throw new KafkaJSSASLAuthenticationError( + `SASL ${mechanism} mechanism is not supported by the server` + ) + } -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); + const saslAuthenticate = async ({ request, response, authExpectResponse }) => { + if (this.protocolAuthentication) { + const { buffer: requestAuthBytes } = await request.encode() + const authResponse = await this.connection.send( + this.protocolAuthentication({ authBytes: requestAuthBytes }) + ) - // Note stream._type is used for test-module-load-list.js + // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string. + // This is not present in SaslAuthenticateV0, so we default to `"0"` + this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; + if (!authExpectResponse) { + return + } - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); + const { authBytes: responseAuthBytes } = authResponse + const payloadDecoded = await response.decode(responseAuthBytes) + return response.parse(payloadDecoded) } - break; - - case 'FILE': - var fs = __webpack_require__(/*! fs */ "fs"); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; - - case 'PIPE': - case 'TCP': - var net = __webpack_require__(/*! net */ "net"); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); - - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; + return this.connection.authenticate({ request, response, authExpectResponse }) + } - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); + const Authenticator = AUTHENTICATORS[mechanism] + await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate() } +} - // For supporting legacy API we put the FD here. - stream.fd = fd; - stream._isStdio = true; +/***/ }), - return stream; -} +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** - * Init logic for `debug` instances. + * The sasl object must include a property named oauthBearerProvider, an + * async function that is used to return the OAuth bearer token. * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. + * The OAuth bearer token must be an object with properties value and + * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER + * request. + * + * The implementation of the oauthBearerProvider must take care that tokens are + * reused and refreshed when appropriate. */ -function init (debug) { - debug.inspectOpts = {}; +const oauthBearer = __webpack_require__(/*! ../../protocol/sasl/oauthBearer */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js") +const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; +module.exports = class OAuthBearerAuthenticator { + constructor(connection, logger, saslAuthenticate) { + this.connection = connection + this.logger = logger.namespace('SASLOAuthBearerAuthenticator') + this.saslAuthenticate = saslAuthenticate } -} - -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ - -exports.enable(load()); - -/***/ }), + async authenticate() { + const { sasl } = this.connection + if (sasl.oauthBearerProvider == null) { + throw new KafkaJSSASLAuthenticationError( + 'SASL OAUTHBEARER: Missing OAuth bearer token provider' + ) + } -/***/ "./node_modules/express-session/node_modules/ms/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/express-session/node_modules/ms/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module) => { + const { oauthBearerProvider } = sasl -/** - * Helpers. - */ + const oauthBearerToken = await oauthBearerProvider() -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; + if (oauthBearerToken.value == null) { + throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token') + } -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ + const request = await oauthBearer.request(sasl, oauthBearerToken) + const response = oauthBearer.response + const { host, port } = this.connection + const broker = `${host}:${port}` -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isNaN(val) === false) { - return options.long ? fmtLong(val) : fmtShort(val); + try { + this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker }) + await this.saslAuthenticate({ request, response }) + this.logger.debug('SASL OAUTHBEARER authentication successful', { broker }) + } catch (e) { + const error = new KafkaJSSASLAuthenticationError( + `SASL OAUTHBEARER authentication failed: ${e.message}` + ) + this.logger.error(error.message, { broker }) + throw error + } } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; +} -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} +/***/ }), -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function fmtShort(ms) { - if (ms >= d) { - return Math.round(ms / d) + 'd'; - } - if (ms >= h) { - return Math.round(ms / h) + 'h'; - } - if (ms >= m) { - return Math.round(ms / m) + 'm'; - } - if (ms >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} +const plain = __webpack_require__(/*! ../../protocol/sasl/plain */ "./node_modules/kafkajs/src/protocol/sasl/plain/index.js") +const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +module.exports = class PlainAuthenticator { + constructor(connection, logger, saslAuthenticate) { + this.connection = connection + this.logger = logger.namespace('SASLPlainAuthenticator') + this.saslAuthenticate = saslAuthenticate + } -function fmtLong(ms) { - return plural(ms, d, 'day') || - plural(ms, h, 'hour') || - plural(ms, m, 'minute') || - plural(ms, s, 'second') || - ms + ' ms'; -} + async authenticate() { + const { sasl } = this.connection + if (sasl.username == null || sasl.password == null) { + throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password') + } -/** - * Pluralization helper. - */ + const request = plain.request(sasl) + const response = plain.response + const { host, port } = this.connection + const broker = `${host}:${port}` -function plural(ms, n, name) { - if (ms < n) { - return; - } - if (ms < n * 1.5) { - return Math.floor(ms / n) + ' ' + name; + try { + this.logger.debug('Authenticate with SASL PLAIN', { broker }) + await this.saslAuthenticate({ request, response }) + this.logger.debug('SASL PLAIN authentication successful', { broker }) + } catch (e) { + const error = new KafkaJSSASLAuthenticationError( + `SASL PLAIN authentication failed: ${e.message}` + ) + this.logger.error(error.message, { broker }) + throw error + } } - return Math.ceil(ms / n) + ' ' + name + 's'; } /***/ }), -/***/ "./node_modules/express-session/session/cookie.js": -/*!********************************************************!*\ - !*** ./node_modules/express-session/session/cookie.js ***! - \********************************************************/ +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js ***! + \********************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:13-27 */ +/*! CommonJS bailout: module.exports is used directly at 323:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * Connect - session - Cookie - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * MIT Licensed - */ +const crypto = __webpack_require__(/*! crypto */ "crypto") +const scram = __webpack_require__(/*! ../../protocol/sasl/scram */ "./node_modules/kafkajs/src/protocol/sasl/scram/index.js") +const { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") +const GS2_HEADER = 'n,,' +const EQUAL_SIGN_REGEX = /=/g +const COMMA_SIGN_REGEX = /,/g -/** - * Module dependencies. - */ +const URLSAFE_BASE64_PLUS_REGEX = /\+/g +const URLSAFE_BASE64_SLASH_REGEX = /\//g +const URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/ -var cookie = __webpack_require__(/*! cookie */ "./node_modules/cookie/index.js") -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express-session') +const HMAC_CLIENT_KEY = 'Client Key' +const HMAC_SERVER_KEY = 'Server Key' -/** - * Initialize a new `Cookie` with the given `options`. - * - * @param {IncomingMessage} req - * @param {Object} options - * @api private - */ +const DIGESTS = { + SHA256: { + length: 32, + type: 'sha256', + minIterations: 4096, + }, + SHA512: { + length: 64, + type: 'sha512', + minIterations: 4096, + }, +} -var Cookie = module.exports = function Cookie(options) { - this.path = '/'; - this.maxAge = null; - this.httpOnly = true; - - if (options) { - if (typeof options !== 'object') { - throw new TypeError('argument options must be a object') - } - - for (var key in options) { - if (key !== 'data') { - this[key] = options[key] - } - } - } +const encode64 = str => Buffer.from(str).toString('base64') - if (this.originalMaxAge === undefined || this.originalMaxAge === null) { - this.originalMaxAge = this.maxAge +class SCRAM { + /** + * From https://tools.ietf.org/html/rfc5802#section-5.1 + * + * The characters ',' or '=' in usernames are sent as '=2C' and + * '=3D' respectively. If the server receives a username that + * contains '=' not followed by either '2C' or '3D', then the + * server MUST fail the authentication. + * + * @returns {String} + */ + static sanitizeString(str) { + return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C') } -}; - -/*! - * Prototype. - */ - -Cookie.prototype = { /** - * Set expires `date`. + * In cryptography, a nonce is an arbitrary number that can be used just once. + * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random + * number issued in an authentication protocol to * ensure that old communications cannot be reused + * in replay attacks. * - * @param {Date} date - * @api public + * @returns {String} */ - - set expires(date) { - this._expires = date; - this.originalMaxAge = this.maxAge; - }, + static nonce() { + return crypto + .randomBytes(16) + .toString('base64') + .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe + .replace(URLSAFE_BASE64_SLASH_REGEX, '_') + .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '') + .toString('ascii') + } /** - * Get expires `date`. + * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the + * pseudorandom function (PRF) and with dkLen == output length of + * HMAC() == output length of H() * - * @return {Date} - * @api public + * @returns {Promise} */ - - get expires() { - return this._expires; - }, + static hi(password, salt, iterations, digestDefinition) { + return new Promise((resolve, reject) => { + crypto.pbkdf2( + password, + salt, + iterations, + digestDefinition.length, + digestDefinition.type, + (err, derivedKey) => (err ? reject(err) : resolve(derivedKey)) + ) + }) + } /** - * Set expires via max-age in `ms`. + * Apply the exclusive-or operation to combine the octet string + * on the left of this operator with the octet string on the right of + * this operator. The length of the output and each of the two + * inputs will be the same for this use * - * @param {Number} ms - * @api public + * @returns {Buffer} */ + static xor(left, right) { + const bufferA = Buffer.from(left) + const bufferB = Buffer.from(right) + const length = Buffer.byteLength(bufferA) - set maxAge(ms) { - if (ms && typeof ms !== 'number' && !(ms instanceof Date)) { - throw new TypeError('maxAge must be a number or Date') + if (length !== Buffer.byteLength(bufferB)) { + throw new KafkaJSNonRetriableError('Buffers must be of the same length') } - if (ms instanceof Date) { - deprecate('maxAge as Date; pass number of milliseconds instead') + const result = [] + for (let i = 0; i < length; i++) { + result.push(bufferA[i] ^ bufferB[i]) } - this.expires = typeof ms === 'number' - ? new Date(Date.now() + ms) - : ms; - }, + return Buffer.from(result) + } /** - * Get expires max-age in `ms`. - * - * @return {Number} - * @api public + * @param {Connection} connection + * @param {Logger} logger + * @param {Function} saslAuthenticate + * @param {DigestDefinition} digestDefinition */ + constructor(connection, logger, saslAuthenticate, digestDefinition) { + this.connection = connection + this.logger = logger + this.saslAuthenticate = saslAuthenticate + this.digestDefinition = digestDefinition - get maxAge() { - return this.expires instanceof Date - ? this.expires.valueOf() - Date.now() - : this.expires; - }, + const digestType = digestDefinition.type.toUpperCase() + this.PREFIX = `SASL SCRAM ${digestType} authentication` - /** - * Return cookie data object. - * - * @return {Object} - * @api private - */ + this.currentNonce = SCRAM.nonce() + } - get data() { - return { - originalMaxAge: this.originalMaxAge - , expires: this._expires - , secure: this.secure - , httpOnly: this.httpOnly - , domain: this.domain - , path: this.path - , sameSite: this.sameSite - } - }, + async authenticate() { + const { PREFIX } = this + const { host, port, sasl } = this.connection + const broker = `${host}:${port}` - /** - * Return a serialized cookie string. - * - * @return {String} - * @api public - */ + if (sasl.username == null || sasl.password == null) { + throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`) + } - serialize: function(name, val){ - return cookie.serialize(name, val, this.data); - }, + try { + this.logger.debug('Exchanging first client message', { broker }) + const clientMessageResponse = await this.sendClientFirstMessage() - /** - * Return JSON representation of this cookie. - * - * @return {Object} - * @api private - */ + this.logger.debug('Sending final message', { broker }) + const finalResponse = await this.sendClientFinalMessage(clientMessageResponse) - toJSON: function(){ - return this.data; - } -}; + if (finalResponse.e) { + throw new Error(finalResponse.e) + } + const serverKey = await this.serverKey(clientMessageResponse) + const serverSignature = this.serverSignature(serverKey, clientMessageResponse) -/***/ }), + if (finalResponse.v !== serverSignature) { + throw new Error('Invalid server signature in server final message') + } -/***/ "./node_modules/express-session/session/memory.js": -/*!********************************************************!*\ - !*** ./node_modules/express-session/session/memory.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + this.logger.debug(`${PREFIX} successful`, { broker }) + } catch (e) { + const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`) + this.logger.error(error.message, { broker }) + throw error + } + } -"use strict"; -/*! - * express-session - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ + /** + * @private + */ + async sendClientFirstMessage() { + const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}` + const request = scram.firstMessage.request({ clientFirstMessage }) + const response = scram.firstMessage.response + return this.saslAuthenticate({ + authExpectResponse: true, + request, + response, + }) + } + /** + * @private + */ + async sendClientFinalMessage(clientMessageResponse) { + const { PREFIX } = this + const iterations = parseInt(clientMessageResponse.i, 10) + const { minIterations } = this.digestDefinition -/** - * Module dependencies. - * @private - */ + if (!clientMessageResponse.r.startsWith(this.currentNonce)) { + throw new KafkaJSSASLAuthenticationError( + `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce` + ) + } -var Store = __webpack_require__(/*! ./store */ "./node_modules/express-session/session/store.js") -var util = __webpack_require__(/*! util */ "util") + if (iterations < minIterations) { + throw new KafkaJSSASLAuthenticationError( + `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}` + ) + } -/** - * Shim setImmediate for node.js < 0.10 - * @private - */ + const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse) + const clientProof = await this.clientProof(clientMessageResponse) + const finalMessage = `${finalMessageWithoutProof},p=${clientProof}` + const request = scram.finalMessage.request({ finalMessage }) + const response = scram.finalMessage.response -/* istanbul ignore next */ -var defer = typeof setImmediate === 'function' - ? setImmediate - : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) } + return this.saslAuthenticate({ + authExpectResponse: true, + request, + response, + }) + } -/** - * Module exports. - */ + /** + * @private + */ + async clientProof(clientMessageResponse) { + const clientKey = await this.clientKey(clientMessageResponse) + const storedKey = this.H(clientKey) + const clientSignature = this.clientSignature(storedKey, clientMessageResponse) + return encode64(SCRAM.xor(clientKey, clientSignature)) + } -module.exports = MemoryStore + /** + * @private + */ + async clientKey(clientMessageResponse) { + const saltedPassword = await this.saltPassword(clientMessageResponse) + return this.HMAC(saltedPassword, HMAC_CLIENT_KEY) + } -/** - * A session store in memory. - * @public - */ + /** + * @private + */ + async serverKey(clientMessageResponse) { + const saltedPassword = await this.saltPassword(clientMessageResponse) + return this.HMAC(saltedPassword, HMAC_SERVER_KEY) + } -function MemoryStore() { - Store.call(this) - this.sessions = Object.create(null) -} + /** + * @private + */ + clientSignature(storedKey, clientMessageResponse) { + return this.HMAC(storedKey, this.authMessage(clientMessageResponse)) + } -/** - * Inherit from Store. - */ + /** + * @private + */ + serverSignature(serverKey, clientMessageResponse) { + return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse))) + } -util.inherits(MemoryStore, Store) + /** + * @private + */ + authMessage(clientMessageResponse) { + return [ + this.firstMessageBare(), + clientMessageResponse.original, + this.finalMessageWithoutProof(clientMessageResponse), + ].join(',') + } -/** - * Get all active sessions. - * - * @param {function} callback - * @public - */ + /** + * @private + */ + async saltPassword(clientMessageResponse) { + const salt = Buffer.from(clientMessageResponse.s, 'base64') + const iterations = parseInt(clientMessageResponse.i, 10) + return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition) + } -MemoryStore.prototype.all = function all(callback) { - var sessionIds = Object.keys(this.sessions) - var sessions = Object.create(null) + /** + * @private + */ + firstMessageBare() { + return `n=${this.encodedUsername()},r=${this.currentNonce}` + } - for (var i = 0; i < sessionIds.length; i++) { - var sessionId = sessionIds[i] - var session = getSession.call(this, sessionId) + /** + * @private + */ + finalMessageWithoutProof(clientMessageResponse) { + const rnonce = clientMessageResponse.r + return `c=${encode64(GS2_HEADER)},r=${rnonce}` + } - if (session) { - sessions[sessionId] = session; - } + /** + * @private + */ + encodedUsername() { + const { username } = this.connection.sasl + return SCRAM.sanitizeString(username).toString('utf-8') } - callback && defer(callback, null, sessions) -} + /** + * @private + */ + encodedPassword() { + const { password } = this.connection.sasl + return password.toString('utf-8') + } -/** - * Clear all sessions. - * - * @param {function} callback - * @public - */ + /** + * @private + */ + H(data) { + return crypto + .createHash(this.digestDefinition.type) + .update(data) + .digest() + } -MemoryStore.prototype.clear = function clear(callback) { - this.sessions = Object.create(null) - callback && defer(callback) + /** + * @private + */ + HMAC(key, data) { + return crypto + .createHmac(this.digestDefinition.type, key) + .update(data) + .digest() + } } -/** - * Destroy the session associated with the given session ID. - * - * @param {string} sessionId - * @public - */ - -MemoryStore.prototype.destroy = function destroy(sessionId, callback) { - delete this.sessions[sessionId] - callback && defer(callback) +module.exports = { + DIGESTS, + SCRAM, } -/** - * Fetch session by the given session ID. - * - * @param {string} sessionId - * @param {function} callback - * @public - */ -MemoryStore.prototype.get = function get(sessionId, callback) { - defer(callback, null, getSession.call(this, sessionId)) -} +/***/ }), -/** - * Commit the given session associated with the given sessionId to the store. - * - * @param {string} sessionId - * @param {object} session - * @param {function} callback - * @public - */ +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -MemoryStore.prototype.set = function set(sessionId, session, callback) { - this.sessions[sessionId] = JSON.stringify(session) - callback && defer(callback) +const { SCRAM, DIGESTS } = __webpack_require__(/*! ./scram */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js") + +module.exports = class SCRAM256Authenticator extends SCRAM { + constructor(connection, logger, saslAuthenticate) { + super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256) + } } -/** - * Get number of active sessions. - * - * @param {function} callback - * @public - */ -MemoryStore.prototype.length = function length(callback) { - this.all(function (err, sessions) { - if (err) return callback(err) - callback(null, Object.keys(sessions).length) - }) -} +/***/ }), -/** - * Touch the given session object associated with the given session ID. - * - * @param {string} sessionId - * @param {object} session - * @param {function} callback - * @public - */ +/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -MemoryStore.prototype.touch = function touch(sessionId, session, callback) { - var currentSession = getSession.call(this, sessionId) +const { SCRAM, DIGESTS } = __webpack_require__(/*! ./scram */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js") - if (currentSession) { - // update expiration - currentSession.cookie = session.cookie - this.sessions[sessionId] = JSON.stringify(currentSession) +module.exports = class SCRAM512Authenticator extends SCRAM { + constructor(connection, logger, saslAuthenticate) { + super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512) } - - callback && defer(callback) } -/** - * Get session from the store. - * @private - */ - -function getSession(sessionId) { - var sess = this.sessions[sessionId] - - if (!sess) { - return - } - // parse - sess = JSON.parse(sess) +/***/ }), - if (sess.cookie) { - var expires = typeof sess.cookie.expires === 'string' - ? new Date(sess.cookie.expires) - : sess.cookie.expires +/***/ "./node_modules/kafkajs/src/cluster/brokerPool.js": +/*!********************************************************!*\ + !*** ./node_modules/kafkajs/src/cluster/brokerPool.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // destroy expired session - if (expires && expires <= Date.now()) { - delete this.sessions[sessionId] - return - } +const Broker = __webpack_require__(/*! ../broker */ "./node_modules/kafkajs/src/broker/index.js") +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const shuffle = __webpack_require__(/*! ../utils/shuffle */ "./node_modules/kafkajs/src/utils/shuffle.js") +const arrayDiff = __webpack_require__(/*! ../utils/arrayDiff */ "./node_modules/kafkajs/src/utils/arrayDiff.js") +const { KafkaJSBrokerNotFound, KafkaJSProtocolError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") + +const { keys, assign, values } = Object +const hasBrokerBeenReplaced = (broker, { host, port, rack }) => + broker.connection.host !== host || + broker.connection.port !== port || + broker.connection.rack !== rack + +module.exports = class BrokerPool { + /** + * @param {object} options + * @param {import("./connectionBuilder").ConnectionBuilder} options.connectionBuilder + * @param {import("../../types").Logger} options.logger + * @param {import("../../types").RetryOptions} [options.retry] + * @param {boolean} [options.allowAutoTopicCreation] + * @param {number} [options.authenticationTimeout] + * @param {number} [options.reauthenticationThreshold] + * @param {number} [options.metadataMaxAge] + */ + constructor({ + connectionBuilder, + logger, + retry, + allowAutoTopicCreation, + authenticationTimeout, + reauthenticationThreshold, + metadataMaxAge, + }) { + this.rootLogger = logger + this.connectionBuilder = connectionBuilder + this.metadataMaxAge = metadataMaxAge || 0 + this.logger = logger.namespace('BrokerPool') + this.retrier = createRetry(assign({}, retry)) + + this.createBroker = options => + new Broker({ + allowAutoTopicCreation, + authenticationTimeout, + reauthenticationThreshold, + ...options, + }) + + this.brokers = {} + /** @type {Broker | undefined} */ + this.seedBroker = undefined + /** @type {import("../../types").BrokerMetadata | null} */ + this.metadata = null + this.metadataExpireAt = null + this.versions = null + this.supportAuthenticationProtocol = null } - return sess -} + /** + * @public + * @returns {Boolean} + */ + hasConnectedBrokers() { + const brokers = values(this.brokers) + return ( + !!brokers.find(broker => broker.isConnected()) || + (this.seedBroker ? this.seedBroker.isConnected() : false) + ) + } + async createSeedBroker() { + if (this.seedBroker) { + await this.seedBroker.disconnect() + } -/***/ }), + this.seedBroker = this.createBroker({ + connection: await this.connectionBuilder.build(), + logger: this.rootLogger, + }) + } -/***/ "./node_modules/express-session/session/session.js": -/*!*********************************************************!*\ - !*** ./node_modules/express-session/session/session.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { + /** + * @public + * @returns {Promise} + */ + async connect() { + if (this.hasConnectedBrokers()) { + return + } -"use strict"; -/*! - * Connect - session - Session - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * MIT Licensed - */ + if (!this.seedBroker) { + await this.createSeedBroker() + } + return this.retrier(async (bail, retryCount, retryTime) => { + try { + await this.seedBroker.connect() + this.versions = this.seedBroker.versions + } catch (e) { + if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') { + // Connection builder will always rotate the seed broker + await this.createSeedBroker() + this.logger.error( + `Failed to connect to seed broker, trying another broker from the list: ${e.message}`, + { retryCount, retryTime } + ) + } else { + this.logger.error(e.message, { retryCount, retryTime }) + } + if (e.retriable) throw e + bail(e) + } + }) + } -/** - * Expose Session. - */ + /** + * @public + * @returns {Promise} + */ + async disconnect() { + this.seedBroker && (await this.seedBroker.disconnect()) + await Promise.all(values(this.brokers).map(broker => broker.disconnect())) -module.exports = Session; + this.brokers = {} + this.metadata = null + this.versions = null + this.supportAuthenticationProtocol = null + } -/** - * Create a new `Session` with the given request and `data`. - * - * @param {IncomingRequest} req - * @param {Object} data - * @api private - */ + /** + * @public + * @param {Object} destination + * @param {string} destination.host + * @param {number} destination.port + */ + removeBroker({ host, port }) { + const removedBroker = values(this.brokers).find( + broker => broker.connection.host === host && broker.connection.port === port + ) -function Session(req, data) { - Object.defineProperty(this, 'req', { value: req }); - Object.defineProperty(this, 'id', { value: req.sessionID }); + if (removedBroker) { + delete this.brokers[removedBroker.nodeId] + this.metadataExpireAt = null - if (typeof data === 'object' && data !== null) { - // merge data into this, ignoring prototype properties - for (var prop in data) { - if (!(prop in this)) { - this[prop] = data[prop] + if (this.seedBroker.nodeId === removedBroker.nodeId) { + this.seedBroker = shuffle(values(this.brokers))[0] } } } -} -/** - * Update reset `.cookie.maxAge` to prevent - * the cookie from expiring when the - * session is still active. - * - * @return {Session} for chaining - * @api public - */ + /** + * @public + * @param {Array} topics + * @returns {Promise} + */ + async refreshMetadata(topics) { + const broker = await this.findConnectedBroker() + const { host: seedHost, port: seedPort } = this.seedBroker.connection -defineMethod(Session.prototype, 'touch', function touch() { - return this.resetMaxAge(); -}); + return this.retrier(async (bail, retryCount, retryTime) => { + try { + this.metadata = await broker.metadata(topics) + this.metadataExpireAt = Date.now() + this.metadataMaxAge -/** - * Reset `.maxAge` to `.originalMaxAge`. - * - * @return {Session} for chaining - * @api public - */ + const replacedBrokers = [] -defineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() { - this.cookie.maxAge = this.cookie.originalMaxAge; - return this; -}); + this.brokers = await this.metadata.brokers.reduce( + async (resultPromise, { nodeId, host, port, rack }) => { + const result = await resultPromise -/** - * Save the session data with optional callback `fn(err)`. - * - * @param {Function} fn - * @return {Session} for chaining - * @api public - */ + if (result[nodeId]) { + if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) { + return result + } -defineMethod(Session.prototype, 'save', function save(fn) { - this.req.sessionStore.set(this.id, this, fn || function(){}); - return this; -}); + replacedBrokers.push(result[nodeId]) + } -/** - * Re-loads the session data _without_ altering - * the maxAge properties. Invokes the callback `fn(err)`, - * after which time if no exception has occurred the - * `req.session` property will be a new `Session` object, - * although representing the same session. - * - * @param {Function} fn - * @return {Session} for chaining - * @api public - */ + if (host === seedHost && port === seedPort) { + this.seedBroker.nodeId = nodeId + this.seedBroker.connection.rack = rack + return assign(result, { + [nodeId]: this.seedBroker, + }) + } -defineMethod(Session.prototype, 'reload', function reload(fn) { - var req = this.req - var store = this.req.sessionStore + return assign(result, { + [nodeId]: this.createBroker({ + logger: this.rootLogger, + versions: this.versions, + supportAuthenticationProtocol: this.supportAuthenticationProtocol, + connection: await this.connectionBuilder.build({ host, port, rack }), + nodeId, + }), + }) + }, + this.brokers + ) - store.get(this.id, function(err, sess){ - if (err) return fn(err); - if (!sess) return fn(new Error('failed to load session')); - store.createSession(req, sess); - fn(); - }); - return this; -}); + const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort() + const currentBrokerIds = keys(this.brokers).sort() + const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds) -/** - * Destroy `this` session. - * - * @param {Function} fn - * @return {Session} for chaining - * @api public - */ + const brokerDisconnects = unusedBrokerIds.map(nodeId => { + const broker = this.brokers[nodeId] + return broker.disconnect().then(() => { + delete this.brokers[nodeId] + }) + }) -defineMethod(Session.prototype, 'destroy', function destroy(fn) { - delete this.req.session; - this.req.sessionStore.destroy(this.id, fn); - return this; -}); + const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect()) + await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects]) + } catch (e) { + if (e.type === 'LEADER_NOT_AVAILABLE') { + throw e + } -/** - * Regenerate this request's session. - * - * @param {Function} fn - * @return {Session} for chaining - * @api public - */ + bail(e) + } + }) + } -defineMethod(Session.prototype, 'regenerate', function regenerate(fn) { - this.req.sessionStore.regenerate(this.req, fn); - return this; -}); + /** + * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics + * + * @public + * @param {Array} topics + * @returns {Promise} + */ + async refreshMetadataIfNecessary(topics) { + const shouldRefresh = + this.metadata == null || + this.metadataExpireAt == null || + Date.now() > this.metadataExpireAt || + !topics.every(topic => + this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic) + ) -/** - * Helper function for creating a method on a prototype. - * - * @param {Object} obj - * @param {String} name - * @param {Function} fn - * @private - */ -function defineMethod(obj, name, fn) { - Object.defineProperty(obj, name, { - configurable: true, - enumerable: false, - value: fn, - writable: true - }); -}; + if (shouldRefresh) { + return this.refreshMetadata(topics) + } + } + /** + * @public + * @param {object} options + * @param {string} options.nodeId + * @returns {Promise} + */ + async findBroker({ nodeId }) { + const broker = this.brokers[nodeId] -/***/ }), + if (!broker) { + throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`) + } -/***/ "./node_modules/express-session/session/store.js": -/*!*******************************************************!*\ - !*** ./node_modules/express-session/session/store.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + await this.connectBroker(broker) + return broker + } -"use strict"; -/*! - * Connect - session - Store - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * MIT Licensed - */ + /** + * @public + * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback + * @returns {Promise} + * @template T + */ + async withBroker(callback) { + const brokers = shuffle(keys(this.brokers)) + if (brokers.length === 0) { + throw new KafkaJSBrokerNotFound('No brokers in the broker pool') + } + for (const nodeId of brokers) { + const broker = await this.findBroker({ nodeId }) + try { + return await callback({ nodeId, broker }) + } catch (e) {} + } + return null + } -/** - * Module dependencies. - * @private - */ + /** + * @public + * @returns {Promise} + */ + async findConnectedBroker() { + const nodeIds = shuffle(keys(this.brokers)) + const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected()) -var Cookie = __webpack_require__(/*! ./cookie */ "./node_modules/express-session/session/cookie.js") -var EventEmitter = __webpack_require__(/*! events */ "events").EventEmitter -var Session = __webpack_require__(/*! ./session */ "./node_modules/express-session/session/session.js") -var util = __webpack_require__(/*! util */ "util") + if (connectedBrokerId) { + return await this.findBroker({ nodeId: connectedBrokerId }) + } -/** - * Module exports. - * @public - */ + // Cycle through the nodes until one connects + for (const nodeId of nodeIds) { + try { + return await this.findBroker({ nodeId }) + } catch (e) {} + } -module.exports = Store + // Failed to connect to all known brokers, metadata might be old + await this.connect() + return this.seedBroker + } -/** - * Abstract base class for session stores. - * @public - */ + /** + * @private + * @param {Broker} broker + * @returns {Promise} + */ + async connectBroker(broker) { + if (broker.isConnected()) { + return + } -function Store () { - EventEmitter.call(this) + return this.retrier(async (bail, retryCount, retryTime) => { + try { + await broker.connect() + } catch (e) { + if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') { + await broker.disconnect() + } + + // To avoid reconnecting to an unavailable host, we bail on connection errors + // and refresh metadata on a higher level before reconnecting + if (e.name === 'KafkaJSConnectionError') { + return bail(e) + } + + if (e.type === 'ILLEGAL_SASL_STATE') { + // Rebuild the connection since it can't recover from illegal SASL state + broker.connection = await this.connectionBuilder.build({ + host: broker.connection.host, + port: broker.connection.port, + rack: broker.connection.rack, + }) + + this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime }) + throw new KafkaJSProtocolError(e, { retriable: true }) + } + + if (e.retriable) throw e + this.logger.error(e, { retryCount, retryTime, stack: e.stack }) + bail(e) + } + }) + } } -/** - * Inherit from EventEmitter. - */ -util.inherits(Store, EventEmitter) +/***/ }), + +/***/ "./node_modules/kafkajs/src/cluster/connectionBuilder.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/cluster/connectionBuilder.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Connection = __webpack_require__(/*! ../network/connection */ "./node_modules/kafkajs/src/network/connection.js") +const { KafkaJSConnectionError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") /** - * Re-generate the given requests's session. - * - * @param {IncomingRequest} req - * @return {Function} fn - * @api public + * @typedef {Object} ConnectionBuilder + * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build */ -Store.prototype.regenerate = function(req, fn){ - var self = this; - this.destroy(req.sessionID, function(err){ - self.generate(req); - fn(err); - }); -}; - /** - * Load a `Session` instance via the given `sid` - * and invoke the callback `fn(err, sess)`. - * - * @param {String} sid - * @param {Function} fn - * @api public + * @param {Object} options + * @param {import("../../types").ISocketFactory} [options.socketFactory] + * @param {string[]|(() => string[])} options.brokers + * @param {Object} [options.ssl] + * @param {Object} [options.sasl] + * @param {string} options.clientId + * @param {number} options.requestTimeout + * @param {boolean} [options.enforceRequestTimeout] + * @param {number} [options.connectionTimeout] + * @param {number} [options.maxInFlightRequests] + * @param {import("../../types").RetryOptions} [options.retry] + * @param {import("../../types").Logger} options.logger + * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter] + * @returns {ConnectionBuilder} */ +module.exports = ({ + socketFactory, + brokers, + ssl, + sasl, + clientId, + requestTimeout, + enforceRequestTimeout, + connectionTimeout, + maxInFlightRequests, + logger, + instrumentationEmitter = null, +}) => { + let index = 0 -Store.prototype.load = function(sid, fn){ - var self = this; - this.get(sid, function(err, sess){ - if (err) return fn(err); - if (!sess) return fn(); - var req = { sessionID: sid, sessionStore: self }; - fn(null, self.createSession(req, sess)) - }); -}; - -/** - * Create session from JSON `sess` data. - * - * @param {IncomingRequest} req - * @param {Object} sess - * @return {Session} - * @api private - */ + const isValidBroker = broker => { + return broker && typeof broker === 'string' && broker.length > 0 + } -Store.prototype.createSession = function(req, sess){ - var expires = sess.cookie.expires - var originalMaxAge = sess.cookie.originalMaxAge + const validateBrokers = brokers => { + if (!brokers) { + throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`) + } - sess.cookie = new Cookie(sess.cookie); + if (Array.isArray(brokers)) { + if (!brokers.length) { + throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`) + } - if (typeof expires === 'string') { - // convert expires to a Date object - sess.cookie.expires = new Date(expires) + brokers.forEach((broker, index) => { + if (!isValidBroker(broker)) { + throw new KafkaJSNonRetriableError( + `Failed to connect: broker at index ${index} is invalid "${typeof broker}"` + ) + } + }) + } } - // keep originalMaxAge intact - sess.cookie.originalMaxAge = originalMaxAge - - req.session = new Session(req, sess); - return req.session; -}; + const getBrokers = async () => { + let list + if (typeof brokers === 'function') { + try { + list = await brokers() + } catch (e) { + const wrappedError = new KafkaJSConnectionError( + `Failed to connect: "config.brokers" threw: ${e.message}` + ) + wrappedError.stack = `${wrappedError.name}\n Caused by: ${e.stack}` + throw wrappedError + } + } else { + list = brokers + } -/***/ }), + validateBrokers(list) -/***/ "./node_modules/express/index.js": -/*!***************************************!*\ - !*** ./node_modules/express/index.js ***! - \***************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/express/lib/express.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + return list + } -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + return { + build: async ({ host, port, rack } = {}) => { + if (!host) { + const list = await getBrokers() + const randomBroker = list[index++ % list.length] + host = randomBroker.split(':')[0] + port = Number(randomBroker.split(':')[1]) + } -module.exports = __webpack_require__(/*! ./lib/express */ "./node_modules/express/lib/express.js"); + return new Connection({ + host, + port, + rack, + sasl, + ssl, + clientId, + socketFactory, + connectionTimeout, + requestTimeout, + enforceRequestTimeout, + maxInFlightRequests, + instrumentationEmitter, + logger, + }) + }, + } +} /***/ }), -/***/ "./node_modules/express/lib/application.js": -/*!*************************************************!*\ - !*** ./node_modules/express/lib/application.js ***! - \*************************************************/ +/***/ "./node_modules/kafkajs/src/cluster/index.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/cluster/index.js ***! + \***************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, __webpack_exports__, module */ -/*! CommonJS bailout: module.exports is used directly at 45:20-34 */ -/*! CommonJS bailout: exports is used directly at 45:10-17 */ -/***/ ((module, exports, __webpack_require__) => { - -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +const BrokerPool = __webpack_require__(/*! ./brokerPool */ "./node_modules/kafkajs/src/cluster/brokerPool.js") +const Lock = __webpack_require__(/*! ../utils/lock */ "./node_modules/kafkajs/src/utils/lock.js") +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const connectionBuilder = __webpack_require__(/*! ./connectionBuilder */ "./node_modules/kafkajs/src/cluster/connectionBuilder.js") +const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") +const { + KafkaJSError, + KafkaJSBrokerNotFound, + KafkaJSMetadataNotLoaded, + KafkaJSTopicMetadataNotLoaded, + KafkaJSGroupCoordinatorNotFound, +} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const COORDINATOR_TYPES = __webpack_require__(/*! ../protocol/coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") +const { keys } = Object -/** - * Module dependencies. - * @private - */ +const mergeTopics = (obj, { topic, partitions }) => ({ + ...obj, + [topic]: [...(obj[topic] || []), ...partitions], +}) -var finalhandler = __webpack_require__(/*! finalhandler */ "./node_modules/finalhandler/index.js"); -var Router = __webpack_require__(/*! ./router */ "./node_modules/express/lib/router/index.js"); -var methods = __webpack_require__(/*! methods */ "./node_modules/methods/index.js"); -var middleware = __webpack_require__(/*! ./middleware/init */ "./node_modules/express/lib/middleware/init.js"); -var query = __webpack_require__(/*! ./middleware/query */ "./node_modules/express/lib/middleware/query.js"); -var debug = __webpack_require__(/*! debug */ "./node_modules/express/node_modules/debug/src/index.js")('express:application'); -var View = __webpack_require__(/*! ./view */ "./node_modules/express/lib/view.js"); -var http = __webpack_require__(/*! http */ "http"); -var compileETag = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").compileETag; -var compileQueryParser = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").compileQueryParser; -var compileTrust = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").compileTrust; -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express'); -var flatten = __webpack_require__(/*! array-flatten */ "./node_modules/array-flatten/array-flatten.js"); -var merge = __webpack_require__(/*! utils-merge */ "./node_modules/utils-merge/index.js"); -var resolve = __webpack_require__(/*! path */ "path").resolve; -var setPrototypeOf = __webpack_require__(/*! setprototypeof */ "./node_modules/setprototypeof/index.js") +module.exports = class Cluster { + /** + * @param {Object} options + * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094'] + * @param {Object} options.ssl + * @param {Object} options.sasl + * @param {string} options.clientId + * @param {number} options.connectionTimeout - in milliseconds + * @param {number} options.authenticationTimeout - in milliseconds + * @param {number} options.reauthenticationThreshold - in milliseconds + * @param {number} [options.requestTimeout=30000] - in milliseconds + * @param {boolean} [options.enforceRequestTimeout] + * @param {number} options.metadataMaxAge - in milliseconds + * @param {boolean} options.allowAutoTopicCreation + * @param {number} options.maxInFlightRequests + * @param {number} options.isolationLevel + * @param {import("../../types").RetryOptions} options.retry + * @param {import("../../types").Logger} options.logger + * @param {import("../../types").ISocketFactory} options.socketFactory + * @param {Map} [options.offsets] + * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter=null] + */ + constructor({ + logger: rootLogger, + socketFactory, + brokers, + ssl, + sasl, + clientId, + connectionTimeout, + authenticationTimeout, + reauthenticationThreshold, + requestTimeout = 30000, + enforceRequestTimeout, + metadataMaxAge, + retry, + allowAutoTopicCreation, + maxInFlightRequests, + isolationLevel, + instrumentationEmitter = null, + offsets = new Map(), + }) { + this.rootLogger = rootLogger + this.logger = rootLogger.namespace('Cluster') + this.retrier = createRetry(retry) + this.connectionBuilder = connectionBuilder({ + logger: rootLogger, + instrumentationEmitter, + socketFactory, + brokers, + ssl, + sasl, + clientId, + connectionTimeout, + requestTimeout, + enforceRequestTimeout, + maxInFlightRequests, + }) -/** - * Module variables. - * @private - */ + this.targetTopics = new Set() + this.mutatingTargetTopics = new Lock({ + description: `updating target topics`, + timeout: requestTimeout, + }) + this.isolationLevel = isolationLevel + this.brokerPool = new BrokerPool({ + connectionBuilder: this.connectionBuilder, + logger: this.rootLogger, + retry, + allowAutoTopicCreation, + authenticationTimeout, + reauthenticationThreshold, + metadataMaxAge, + }) + this.committedOffsetsByGroup = offsets + } -var hasOwnProperty = Object.prototype.hasOwnProperty -var slice = Array.prototype.slice; + isConnected() { + return this.brokerPool.hasConnectedBrokers() + } -/** - * Application prototype. - */ + /** + * @public + * @returns {Promise} + */ + async connect() { + await this.brokerPool.connect() + } -var app = exports = module.exports = {}; + /** + * @public + * @returns {Promise} + */ + async disconnect() { + await this.brokerPool.disconnect() + } -/** - * Variable for trust proxy inheritance back-compat - * @private - */ + /** + * @public + * @param {object} destination + * @param {String} destination.host + * @param {Number} destination.port + */ + removeBroker({ host, port }) { + this.brokerPool.removeBroker({ host, port }) + } -var trustProxyDefaultSymbol = '@@symbol:trust_proxy_default'; + /** + * @public + * @returns {Promise} + */ + async refreshMetadata() { + await this.brokerPool.refreshMetadata(Array.from(this.targetTopics)) + } -/** - * Initialize the server. - * - * - setup default configuration - * - setup default middleware - * - setup route reflection methods - * - * @private - */ + /** + * @public + * @returns {Promise} + */ + async refreshMetadataIfNecessary() { + await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics)) + } -app.init = function init() { - this.cache = {}; - this.engines = {}; - this.settings = {}; + /** + * @public + * @returns {Promise} + */ + async metadata({ topics = [] } = {}) { + return this.retrier(async (bail, retryCount, retryTime) => { + try { + await this.brokerPool.refreshMetadataIfNecessary(topics) + return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics)) + } catch (e) { + if (e.type === 'LEADER_NOT_AVAILABLE') { + throw e + } - this.defaultConfiguration(); -}; + bail(e) + } + }) + } -/** - * Initialize application configuration. - * @private - */ + /** + * @public + * @param {string} topic + * @return {Promise} + */ + async addTargetTopic(topic) { + return this.addMultipleTargetTopics([topic]) + } -app.defaultConfiguration = function defaultConfiguration() { - var env = "development" || 0; + /** + * @public + * @param {string[]} topics + * @return {Promise} + */ + async addMultipleTargetTopics(topics) { + await this.mutatingTargetTopics.acquire() - // default settings - this.enable('x-powered-by'); - this.set('etag', 'weak'); - this.set('env', env); - this.set('query parser', 'extended'); - this.set('subdomain offset', 2); - this.set('trust proxy', false); + try { + const previousSize = this.targetTopics.size + const previousTopics = new Set(this.targetTopics) + for (const topic of topics) { + this.targetTopics.add(topic) + } - // trust proxy inherit back-compat - Object.defineProperty(this.settings, trustProxyDefaultSymbol, { - configurable: true, - value: true - }); + const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata - debug('booting in %s mode', env); + if (hasChanged) { + try { + await this.refreshMetadata() + } catch (e) { + if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { + this.targetTopics = previousTopics + } - this.on('mount', function onmount(parent) { - // inherit trust proxy - if (this.settings[trustProxyDefaultSymbol] === true - && typeof parent.settings['trust proxy fn'] === 'function') { - delete this.settings['trust proxy']; - delete this.settings['trust proxy fn']; + throw e + } + } + } finally { + await this.mutatingTargetTopics.release() } + } - // inherit protos - setPrototypeOf(this.request, parent.request) - setPrototypeOf(this.response, parent.response) - setPrototypeOf(this.engines, parent.engines) - setPrototypeOf(this.settings, parent.settings) - }); + /** + * @public + * @param {object} options + * @param {string} options.nodeId + * @returns {Promise} + */ + async findBroker({ nodeId }) { + try { + return await this.brokerPool.findBroker({ nodeId }) + } catch (e) { + // The client probably has stale metadata + if ( + e.name === 'KafkaJSBrokerNotFound' || + e.name === 'KafkaJSLockTimeout' || + e.name === 'KafkaJSConnectionError' + ) { + await this.refreshMetadata() + } + + throw e + } + } - // setup locals - this.locals = Object.create(null); + /** + * @public + * @returns {Promise} + */ + async findControllerBroker() { + const { metadata } = this.brokerPool - // top-most app is mounted at / - this.mountpath = '/'; + if (!metadata || metadata.controllerId == null) { + throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded') + } - // default locals - this.locals.settings = this.settings; + const broker = await this.findBroker({ nodeId: metadata.controllerId }) - // default configuration - this.set('view', View); - this.set('views', resolve('views')); - this.set('jsonp callback name', 'callback'); + if (!broker) { + throw new KafkaJSBrokerNotFound( + `Controller broker with id ${metadata.controllerId} not found in the cached metadata` + ) + } - if (env === 'production') { - this.enable('view cache'); + return broker } - Object.defineProperty(this, 'router', { - get: function() { - throw new Error('\'app.router\' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.'); + /** + * @public + * @param {string} topic + * @returns {import("../../types").PartitionMetadata[]} Example: + * [{ + * isr: [2], + * leader: 2, + * partitionErrorCode: 0, + * partitionId: 0, + * replicas: [2], + * }] + */ + findTopicPartitionMetadata(topic) { + const { metadata } = this.brokerPool + if (!metadata || !metadata.topicMetadata) { + throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic }) } - }); -}; - -/** - * lazily adds the base router if it has not yet been added. - * - * We cannot add the base router in the defaultConfiguration because - * it reads app settings which might be set after that has run. - * - * @private - */ -app.lazyrouter = function lazyrouter() { - if (!this._router) { - this._router = new Router({ - caseSensitive: this.enabled('case sensitive routing'), - strict: this.enabled('strict routing') - }); - this._router.use(query(this.get('query parser fn'))); - this._router.use(middleware.init(this)); + const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic) + return topicMetadata ? topicMetadata.partitionMetadata : [] } -}; -/** - * Dispatch a req, res pair into the application. Starts pipeline processing. - * - * If no callback is provided, then default error handlers will respond - * in the event of an error bubbling through the stack. - * - * @private - */ + /** + * @public + * @param {string} topic + * @param {(number|string)[]} partitions + * @returns {Object} Object with leader and partitions. For partitions 0 and 5 + * the result could be: + * { '0': [0], '2': [5] } + * + * where the key is the nodeId. + */ + findLeaderForPartitions(topic, partitions) { + const partitionMetadata = this.findTopicPartitionMetadata(topic) + return partitions.reduce((result, id) => { + const partitionId = parseInt(id, 10) + const metadata = partitionMetadata.find(p => p.partitionId === partitionId) -app.handle = function handle(req, res, callback) { - var router = this._router; + if (!metadata) { + return result + } - // final handler - var done = callback || finalhandler(req, res, { - env: this.get('env'), - onerror: logerror.bind(this) - }); + if (metadata.leader === null || metadata.leader === undefined) { + throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata }) + } - // no routes - if (!router) { - debug('no routes defined on app'); - done(); - return; + const { leader } = metadata + const current = result[leader] || [] + return { ...result, [leader]: [...current, partitionId] } + }, {}) } - router.handle(req, res, done); -}; + /** + * @public + * @param {object} params + * @param {string} params.groupId + * @param {import("../protocol/coordinatorTypes").CoordinatorType} [params.coordinatorType=0] + * @returns {Promise} + */ + async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) { + return this.retrier(async (bail, retryCount, retryTime) => { + try { + const { coordinator } = await this.findGroupCoordinatorMetadata({ + groupId, + coordinatorType, + }) + return await this.findBroker({ nodeId: coordinator.nodeId }) + } catch (e) { + // A new broker can join the cluster before we have the chance + // to refresh metadata + if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') { + this.logger.debug(`${e.message}, refreshing metadata and trying again...`, { + groupId, + retryCount, + retryTime, + }) -/** - * Proxy `Router#use()` to add middleware to the app router. - * See Router#use() documentation for details. - * - * If the _fn_ parameter is an express app, then it will be - * mounted at the _route_ specified. - * - * @public - */ + await this.refreshMetadata() + throw e + } -app.use = function use(fn) { - var offset = 0; - var path = '/'; + if (e.code === 'ECONNREFUSED') { + // During maintenance the current coordinator can go down; findBroker will + // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw + // the error to go through the retry cycle. + throw e + } - // default path to '/' - // disambiguate app.use([fn]) - if (typeof fn !== 'function') { - var arg = fn; - - while (Array.isArray(arg) && arg.length !== 0) { - arg = arg[0]; - } - - // first arg is the path - if (typeof arg !== 'function') { - offset = 1; - path = fn; - } - } - - var fns = flatten(slice.call(arguments, offset)); - - if (fns.length === 0) { - throw new TypeError('app.use() requires a middleware function') + bail(e) + } + }) } - // setup router - this.lazyrouter(); - var router = this._router; - - fns.forEach(function (fn) { - // non-express app - if (!fn || !fn.handle || !fn.set) { - return router.use(path, fn); - } - - debug('.use app under %s', path); - fn.mountpath = path; - fn.parent = this; - - // restore .app property on req and res - router.use(path, function mounted_app(req, res, next) { - var orig = req.app; - fn.handle(req, res, function (err) { - setPrototypeOf(req, orig.request) - setPrototypeOf(res, orig.response) - next(err); - }); - }); - - // mounted an app - fn.emit('mount', this); - }, this); + /** + * @public + * @param {object} params + * @param {string} params.groupId + * @param {import("../protocol/coordinatorTypes").CoordinatorType} [params.coordinatorType=0] + * @returns {Promise} + */ + async findGroupCoordinatorMetadata({ groupId, coordinatorType }) { + const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => { + return await this.retrier(async (bail, retryCount, retryTime) => { + try { + const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType }) + this.logger.debug('Found group coordinator', { + broker: brokerMetadata.host, + nodeId: brokerMetadata.coordinator.nodeId, + }) + return brokerMetadata + } catch (e) { + this.logger.debug('Tried to find group coordinator', { + nodeId, + error: e, + }) - return this; -}; + if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') { + this.logger.debug('Group coordinator not available, retrying...', { + nodeId, + retryCount, + retryTime, + }) -/** - * Proxy to the app `Router#route()` - * Returns a new `Route` instance for the _path_. - * - * Routes are isolated middleware stacks for specific paths. - * See the Route api docs for details. - * - * @public - */ + throw e + } -app.route = function route(path) { - this.lazyrouter(); - return this._router.route(path); -}; + bail(e) + } + }) + }) -/** - * Register the given template engine callback `fn` - * as `ext`. - * - * By default will `require()` the engine based on the - * file extension. For example if you try to render - * a "foo.ejs" file Express will invoke the following internally: - * - * app.engine('ejs', require('ejs').__express); - * - * For engines that do not provide `.__express` out of the box, - * or if you wish to "map" a different extension to the template engine - * you may use this method. For example mapping the EJS template engine to - * ".html" files: - * - * app.engine('html', require('ejs').renderFile); - * - * In this case EJS provides a `.renderFile()` method with - * the same signature that Express expects: `(path, options, callback)`, - * though note that it aliases this method as `ejs.__express` internally - * so if you're using ".ejs" extensions you don't need to do anything. - * - * Some template engines do not follow this convention, the - * [Consolidate.js](https://github.com/tj/consolidate.js) - * library was created to map all of node's popular template - * engines to follow this convention, thus allowing them to - * work seamlessly within Express. - * - * @param {String} ext - * @param {Function} fn - * @return {app} for chaining - * @public - */ + if (brokerMetadata) { + return brokerMetadata + } -app.engine = function engine(ext, fn) { - if (typeof fn !== 'function') { - throw new Error('callback function required'); + throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator') } - // get file extension - var extension = ext[0] !== '.' - ? '.' + ext - : ext; + /** + * @param {object} topicConfiguration + * @returns {number} + */ + defaultOffset({ fromBeginning }) { + return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET + } - // store engine - this.engines[extension] = fn; + /** + * @public + * @param {Array} topics + * [ + * { + * topic: 'my-topic-name', + * partitions: [{ partition: 0 }], + * fromBeginning: false + * } + * ] + * @returns {Promise} example: + * [ + * { + * topic: 'my-topic-name', + * partitions: [ + * { partition: 0, offset: '1' }, + * { partition: 1, offset: '2' }, + * { partition: 2, offset: '1' }, + * ], + * }, + * ] + */ + async fetchTopicsOffset(topics) { + const partitionsPerBroker = {} + const topicConfigurations = {} - return this; -}; + const addDefaultOffset = topic => partition => { + const { timestamp } = topicConfigurations[topic] + return { ...partition, timestamp } + } -/** - * Proxy to `Router#param()` with one added api feature. The _name_ parameter - * can be an array of names. - * - * See the Router#param() docs for more details. - * - * @param {String|Array} name - * @param {Function} fn - * @return {app} for chaining - * @public - */ + // Index all topics and partitions per leader (nodeId) + for (const topicData of topics) { + const { topic, partitions, fromBeginning, fromTimestamp } = topicData + const partitionsPerLeader = this.findLeaderForPartitions( + topic, + partitions.map(p => p.partition) + ) + const timestamp = + fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning }) -app.param = function param(name, fn) { - this.lazyrouter(); + topicConfigurations[topic] = { timestamp } - if (Array.isArray(name)) { - for (var i = 0; i < name.length; i++) { - this.param(name[i], fn); + keys(partitionsPerLeader).forEach(nodeId => { + partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {} + partitionsPerBroker[nodeId][topic] = partitions.filter(p => + partitionsPerLeader[nodeId].includes(p.partition) + ) + }) } - return this; - } - - this._router.param(name, fn); + // Create a list of requests to fetch the offset of all partitions + const requests = keys(partitionsPerBroker).map(async nodeId => { + const broker = await this.findBroker({ nodeId }) + const partitions = partitionsPerBroker[nodeId] - return this; -}; + const { responses: topicOffsets } = await broker.listOffsets({ + isolationLevel: this.isolationLevel, + topics: keys(partitions).map(topic => ({ + topic, + partitions: partitions[topic].map(addDefaultOffset(topic)), + })), + }) -/** - * Assign `setting` to `val`, or return `setting`'s value. - * - * app.set('foo', 'bar'); - * app.set('foo'); - * // => "bar" - * - * Mounted servers inherit their parent server's settings. - * - * @param {String} setting - * @param {*} [val] - * @return {Server} for chaining - * @public - */ + return topicOffsets + }) -app.set = function set(setting, val) { - if (arguments.length === 1) { - // app.get(setting) - var settings = this.settings + // Execute all requests, merge and normalize the responses + const responses = await Promise.all(requests) + const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {}) - while (settings && settings !== Object.prototype) { - if (hasOwnProperty.call(settings, setting)) { - return settings[setting] - } + return keys(partitionsPerTopic).map(topic => ({ + topic, + partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({ + partition, + offset, + })), + })) + } - settings = Object.getPrototypeOf(settings) + /** + * Retrieve the object mapping for committed offsets for a single consumer group + * @param {object} options + * @param {string} options.groupId + * @returns {Object} + */ + committedOffsets({ groupId }) { + if (!this.committedOffsetsByGroup.has(groupId)) { + this.committedOffsetsByGroup.set(groupId, {}) } - return undefined + return this.committedOffsetsByGroup.get(groupId) } - debug('set "%s" to %o', setting, val); - - // set value - this.settings[setting] = val; + /** + * Mark offset as committed for a single consumer group's topic-partition + * @param {object} options + * @param {string} options.groupId + * @param {string} options.topic + * @param {string|number} options.partition + * @param {string} options.offset + */ + markOffsetAsCommitted({ groupId, topic, partition, offset }) { + const committedOffsets = this.committedOffsets({ groupId }) - // trigger matched settings - switch (setting) { - case 'etag': - this.set('etag fn', compileETag(val)); - break; - case 'query parser': - this.set('query parser fn', compileQueryParser(val)); - break; - case 'trust proxy': - this.set('trust proxy fn', compileTrust(val)); + committedOffsets[topic] = committedOffsets[topic] || {} + committedOffsets[topic][partition] = offset + } +} - // trust proxy inherit back-compat - Object.defineProperty(this.settings, trustProxyDefaultSymbol, { - configurable: true, - value: false - }); - break; - } +/***/ }), - return this; -}; +/***/ "./node_modules/kafkajs/src/constants.js": +/*!***********************************************!*\ + !*** ./node_modules/kafkajs/src/constants.js ***! + \***********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module) => { -/** - * Return the app's absolute pathname - * based on the parent(s) that have - * mounted it. - * - * For example if the application was - * mounted as "/admin", which itself - * was mounted as "/blog" then the - * return value would be "/blog/admin". - * - * @return {String} - * @private - */ +const EARLIEST_OFFSET = -2 +const LATEST_OFFSET = -1 +const INT_32_MAX_VALUE = Math.pow(2, 32) -app.path = function path() { - return this.parent - ? this.parent.path() + this.mountpath - : ''; -}; +module.exports = { + EARLIEST_OFFSET, + LATEST_OFFSET, + INT_32_MAX_VALUE, +} -/** - * Check if `setting` is enabled (truthy). - * - * app.enabled('foo') - * // => false - * - * app.enable('foo') - * app.enabled('foo') - * // => true - * - * @param {String} setting - * @return {Boolean} - * @public - */ -app.enabled = function enabled(setting) { - return Boolean(this.set(setting)); -}; +/***/ }), -/** - * Check if `setting` is disabled. - * - * app.disabled('foo') - * // => true - * - * app.enable('foo') - * app.disabled('foo') - * // => false - * - * @param {String} setting - * @return {Boolean} - * @public - */ +/***/ "./node_modules/kafkajs/src/consumer/assignerProtocol.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/assignerProtocol.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 83:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -app.disabled = function disabled(setting) { - return !this.set(setting); -}; +const Encoder = __webpack_require__(/*! ../protocol/encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const Decoder = __webpack_require__(/*! ../protocol/decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -/** - * Enable `setting`. - * - * @param {String} setting - * @return {app} for chaining - * @public - */ +const MemberMetadata = { + /** + * @param {Object} metadata + * @param {number} metadata.version + * @param {Array} metadata.topics + * @param {Buffer} [metadata.userData=Buffer.alloc(0)] + * + * @returns Buffer + */ + encode({ version, topics, userData = Buffer.alloc(0) }) { + return new Encoder() + .writeInt16(version) + .writeArray(topics) + .writeBytes(userData).buffer + }, -app.enable = function enable(setting) { - return this.set(setting, true); -}; + /** + * @param {Buffer} buffer + * @returns {Object} + */ + decode(buffer) { + const decoder = new Decoder(buffer) + return { + version: decoder.readInt16(), + topics: decoder.readArray(d => d.readString()), + userData: decoder.readBytes(), + } + }, +} -/** - * Disable `setting`. - * - * @param {String} setting - * @return {app} for chaining - * @public - */ +const MemberAssignment = { + /** + * @param {number} version + * @param {Object} assignment, example: + * { + * 'topic-A': [0, 2, 4, 6], + * 'topic-B': [0, 2], + * } + * @param {Buffer} [userData=Buffer.alloc(0)] + * + * @returns Buffer + */ + encode({ version, assignment, userData = Buffer.alloc(0) }) { + return new Encoder() + .writeInt16(version) + .writeArray( + Object.keys(assignment).map(topic => + new Encoder().writeString(topic).writeArray(assignment[topic]) + ) + ) + .writeBytes(userData).buffer + }, -app.disable = function disable(setting) { - return this.set(setting, false); -}; + /** + * @param {Buffer} buffer + * @returns {Object|null} + */ + decode(buffer) { + const decoder = new Decoder(buffer) + const decodePartitions = d => d.readInt32() + const decodeAssignment = d => ({ + topic: d.readString(), + partitions: d.readArray(decodePartitions), + }) + const indexAssignment = (obj, { topic, partitions }) => + Object.assign(obj, { [topic]: partitions }) -/** - * Delegate `.VERB(...)` calls to `router.VERB(...)`. - */ + if (!decoder.canReadInt16()) { + return null + } -methods.forEach(function(method){ - app[method] = function(path){ - if (method === 'get' && arguments.length === 1) { - // app.get(setting) - return this.set(path); + return { + version: decoder.readInt16(), + assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}), + userData: decoder.readBytes(), } + }, +} - this.lazyrouter(); +module.exports = { + MemberMetadata, + MemberAssignment, +} - var route = this._router.route(path); - route[method].apply(route, slice.call(arguments, 1)); - return this; - }; -}); -/** - * Special-cased "all" method, applying the given route `path`, - * middleware, and callback to _every_ HTTP method. - * - * @param {String} path - * @param {Function} ... - * @return {app} for chaining - * @public - */ +/***/ }), -app.all = function all(path) { - this.lazyrouter(); +/***/ "./node_modules/kafkajs/src/consumer/assigners/index.js": +/*!**************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/assigners/index.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var route = this._router.route(path); - var args = slice.call(arguments, 1); +const roundRobin = __webpack_require__(/*! ./roundRobinAssigner */ "./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js") - for (var i = 0; i < methods.length; i++) { - route[methods[i]].apply(route, args); - } +module.exports = { + roundRobin, +} - return this; -}; -// del -> delete alias +/***/ }), + +/***/ "./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -app.del = deprecate.function(app.delete, 'app.del: Use app.delete instead'); +const { MemberMetadata, MemberAssignment } = __webpack_require__(/*! ../../assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") +const flatten = __webpack_require__(/*! ../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Render the given view `name` name with `options` - * and a callback accepting an error and the - * rendered template string. - * - * Example: - * - * app.render('email', { name: 'Tobi' }, function(err, html){ - * // ... - * }) - * - * @param {String} name - * @param {Object|Function} options or fn - * @param {Function} callback - * @public + * RoundRobinAssigner + * @param {Cluster} cluster + * @returns {function} */ +module.exports = ({ cluster }) => ({ + name: 'RoundRobinAssigner', + version: 1, -app.render = function render(name, options, callback) { - var cache = this.cache; - var done = callback; - var engines = this.engines; - var opts = options; - var renderOptions = {}; - var view; - - // support callback function as second arg - if (typeof options === 'function') { - done = options; - opts = {}; - } - - // merge app.locals - merge(renderOptions, this.locals); - - // merge options._locals - if (opts._locals) { - merge(renderOptions, opts._locals); - } + /** + * Assign the topics to the provided members. + * + * The members array contains information about each member, `memberMetadata` is the result of the + * `protocol` operation. + * + * @param {array} members array of members, e.g: + [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }] + * @param {array} topics + * @returns {array} object partitions per topic per member, e.g: + * [ + * { + * memberId: 'test-5f93f5a3', + * memberAssignment: { + * 'topic-A': [0, 2, 4, 6], + * 'topic-B': [1], + * }, + * }, + * { + * memberId: 'test-3d3d5341', + * memberAssignment: { + * 'topic-A': [1, 3, 5], + * 'topic-B': [0, 2], + * }, + * } + * ] + */ + async assign({ members, topics }) { + const membersCount = members.length + const sortedMembers = members.map(({ memberId }) => memberId).sort() + const assignment = {} - // merge options - merge(renderOptions, opts); + const topicsPartionArrays = topics.map(topic => { + const partitionMetadata = cluster.findTopicPartitionMetadata(topic) + return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId })) + }) + const topicsPartitions = flatten(topicsPartionArrays) - // set .cache unless explicitly provided - if (renderOptions.cache == null) { - renderOptions.cache = this.enabled('view cache'); - } + topicsPartitions.forEach((topicPartition, i) => { + const assignee = sortedMembers[i % membersCount] - // primed cache - if (renderOptions.cache) { - view = cache[name]; - } + if (!assignment[assignee]) { + assignment[assignee] = Object.create(null) + } - // view - if (!view) { - var View = this.get('view'); + if (!assignment[assignee][topicPartition.topic]) { + assignment[assignee][topicPartition.topic] = [] + } - view = new View(name, { - defaultEngine: this.get('view engine'), - root: this.get('views'), - engines: engines - }); + assignment[assignee][topicPartition.topic].push(topicPartition.partitionId) + }) - if (!view.path) { - var dirs = Array.isArray(view.root) && view.root.length > 1 - ? 'directories "' + view.root.slice(0, -1).join('", "') + '" or "' + view.root[view.root.length - 1] + '"' - : 'directory "' + view.root + '"' - var err = new Error('Failed to lookup view "' + name + '" in views ' + dirs); - err.view = view; - return done(err); - } + return Object.keys(assignment).map(memberId => ({ + memberId, + memberAssignment: MemberAssignment.encode({ + version: this.version, + assignment: assignment[memberId], + }), + })) + }, - // prime the cache - if (renderOptions.cache) { - cache[name] = view; + protocol({ topics }) { + return { + name: this.name, + metadata: MemberMetadata.encode({ + version: this.version, + topics, + }), } - } - - // render - tryRender(view, renderOptions, done); -}; - -/** - * Listen for connections. - * - * A node `http.Server` is returned, with this - * application (which is a `Function`) as its - * callback. If you wish to create both an HTTP - * and HTTPS server you may do so with the "http" - * and "https" modules as shown here: - * - * var http = require('http') - * , https = require('https') - * , express = require('express') - * , app = express(); - * - * http.createServer(app).listen(80); - * https.createServer({ ... }, app).listen(443); - * - * @return {http.Server} - * @public - */ + }, +}) -app.listen = function listen() { - var server = http.createServer(this); - return server.listen.apply(server, arguments); -}; -/** - * Log error using console.error. - * - * @param {Error} err - * @private - */ +/***/ }), -function logerror(err) { - /* istanbul ignore next */ - if (this.get('env') !== 'test') console.error(err.stack || err.toString()); -} +/***/ "./node_modules/kafkajs/src/consumer/barrier.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/barrier.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module) => { /** - * Try rendering a view. - * @private + * @template T + * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}} */ +module.exports = () => { + let unlock + let unlockWithError + const lock = new Promise(resolve => { + unlock = resolve + unlockWithError = resolve + }) -function tryRender(view, options, callback) { - try { - view.render(options, callback); - } catch (err) { - callback(err); - } + return { lock, unlock, unlockWithError } } /***/ }), -/***/ "./node_modules/express/lib/express.js": -/*!*********************************************!*\ - !*** ./node_modules/express/lib/express.js ***! - \*********************************************/ +/***/ "./node_modules/kafkajs/src/consumer/batch.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/batch.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, __webpack_exports__, module */ -/*! CommonJS bailout: module.exports is used directly at 28:10-24 */ -/*! CommonJS bailout: exports is used directly at 28:0-7 */ -/*! CommonJS bailout: exports is used directly at 110:24-31 */ -/***/ ((module, exports, __webpack_require__) => { - -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - */ - -var bodyParser = __webpack_require__(/*! body-parser */ "./node_modules/body-parser/index.js") -var EventEmitter = __webpack_require__(/*! events */ "events").EventEmitter; -var mixin = __webpack_require__(/*! merge-descriptors */ "./node_modules/merge-descriptors/index.js"); -var proto = __webpack_require__(/*! ./application */ "./node_modules/express/lib/application.js"); -var Route = __webpack_require__(/*! ./router/route */ "./node_modules/express/lib/router/route.js"); -var Router = __webpack_require__(/*! ./router */ "./node_modules/express/lib/router/index.js"); -var req = __webpack_require__(/*! ./request */ "./node_modules/express/lib/request.js"); -var res = __webpack_require__(/*! ./response */ "./node_modules/express/lib/response.js"); - -/** - * Expose `createApplication()`. - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports = module.exports = createApplication; +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const filterAbortedMessages = __webpack_require__(/*! ./filterAbortedMessages */ "./node_modules/kafkajs/src/consumer/filterAbortedMessages.js") /** - * Create an express application. + * A batch collects messages returned from a single fetch call. * - * @return {Function} - * @api public + * A batch could contain _multiple_ Kafka RecordBatches. */ +module.exports = class Batch { + constructor(topic, fetchedOffset, partitionData) { + this.fetchedOffset = fetchedOffset + const longFetchedOffset = Long.fromValue(this.fetchedOffset) + const { abortedTransactions, messages } = partitionData -function createApplication() { - var app = function(req, res, next) { - app.handle(req, res, next); - }; - - mixin(app, EventEmitter.prototype, false); - mixin(app, proto, false); - - // expose the prototype that will get set on requests - app.request = Object.create(req, { - app: { configurable: true, enumerable: true, writable: true, value: app } - }) + this.topic = topic + this.partition = partitionData.partition + this.highWatermark = partitionData.highWatermark - // expose the prototype that will get set on responses - app.response = Object.create(res, { - app: { configurable: true, enumerable: true, writable: true, value: app } - }) + this.rawMessages = messages + // Apparently fetch can return different offsets than the target offset provided to the fetch API. + // Discard messages that are not in the requested offset + // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912 + this.messagesWithinOffset = this.rawMessages.filter(message => + Long.fromValue(message.offset).gte(longFetchedOffset) + ) - app.init(); - return app; -} + // 1. Don't expose aborted messages + // 2. Don't expose control records + // @see https://kafka.apache.org/documentation/#controlbatch + this.messages = filterAbortedMessages({ + messages: this.messagesWithinOffset, + abortedTransactions, + }).filter(message => !message.isControlRecord) + } -/** - * Expose the prototypes. - */ + isEmpty() { + return this.messages.length === 0 + } -exports.application = proto; -exports.request = req; -exports.response = res; + isEmptyIncludingFiltered() { + return this.messagesWithinOffset.length === 0 + } -/** - * Expose constructors. - */ + /** + * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to + * log compaction, control records or other reasons + */ + isEmptyDueToFiltering() { + return this.isEmpty() && this.rawMessages.length > 0 + } -exports.Route = Route; -exports.Router = Router; + isEmptyControlRecord() { + return ( + this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord) + ) + } -/** - * Expose middleware - */ + /** + * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset. + * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset) + * If these are the only messages, the batch will appear as an empty batch. + * + * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty, + * but this method will only return true if the batch is empty due to log compacted messages. + * + * @returns boolean True if the batch is empty, because of log compacted messages in the partition. + */ + isEmptyDueToLogCompactedMessages() { + const hasMessages = this.rawMessages.length > 0 + return hasMessages && this.isEmptyIncludingFiltered() + } -exports.json = bodyParser.json -exports.query = __webpack_require__(/*! ./middleware/query */ "./node_modules/express/lib/middleware/query.js"); -exports.raw = bodyParser.raw -exports.static = __webpack_require__(/*! serve-static */ "./node_modules/serve-static/index.js"); -exports.text = bodyParser.text -exports.urlencoded = bodyParser.urlencoded + firstOffset() { + return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset + } -/** - * Replace removed middleware with an appropriate error message. - */ + lastOffset() { + if (this.isEmptyDueToLogCompactedMessages()) { + return this.fetchedOffset + } -var removedMiddlewares = [ - 'bodyParser', - 'compress', - 'cookieSession', - 'session', - 'logger', - 'cookieParser', - 'favicon', - 'responseTime', - 'errorHandler', - 'timeout', - 'methodOverride', - 'vhost', - 'csrf', - 'directory', - 'limit', - 'multipart', - 'staticCache' -] + if (this.isEmptyIncludingFiltered()) { + return Long.fromValue(this.highWatermark) + .add(-1) + .toString() + } -removedMiddlewares.forEach(function (name) { - Object.defineProperty(exports, name, { - get: function () { - throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.'); - }, - configurable: true - }); -}); + return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset + } + /** + * Returns the lag based on the last offset in the batch (also known as "high") + */ + offsetLag() { + const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1) + const lastConsumedOffset = Long.fromValue(this.lastOffset()) + return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString() + } -/***/ }), + /** + * Returns the lag based on the first offset in the batch + */ + offsetLagLow() { + if (this.isEmptyIncludingFiltered()) { + return '0' + } -/***/ "./node_modules/express/lib/middleware/init.js": -/*!*****************************************************!*\ - !*** ./node_modules/express/lib/middleware/init.js ***! - \*****************************************************/ -/*! default exports */ -/*! export init [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1) + const firstConsumedOffset = Long.fromValue(this.firstOffset()) + return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString() + } +} -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ +/***/ }), +/***/ "./node_modules/kafkajs/src/consumer/consumerGroup.js": +/*!************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/consumerGroup.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 45:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Module dependencies. - * @private - */ +const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const sleep = __webpack_require__(/*! ../utils/sleep */ "./node_modules/kafkajs/src/utils/sleep.js") +const BufferedAsyncIterator = __webpack_require__(/*! ../utils/bufferedAsyncIterator */ "./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js") +const websiteUrl = __webpack_require__(/*! ../utils/websiteUrl */ "./node_modules/kafkajs/src/utils/websiteUrl.js") +const arrayDiff = __webpack_require__(/*! ../utils/arrayDiff */ "./node_modules/kafkajs/src/utils/arrayDiff.js") +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const sharedPromiseTo = __webpack_require__(/*! ../utils/sharedPromiseTo */ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js") -var setPrototypeOf = __webpack_require__(/*! setprototypeof */ "./node_modules/setprototypeof/index.js") +const OffsetManager = __webpack_require__(/*! ./offsetManager */ "./node_modules/kafkajs/src/consumer/offsetManager/index.js") +const Batch = __webpack_require__(/*! ./batch */ "./node_modules/kafkajs/src/consumer/batch.js") +const SeekOffsets = __webpack_require__(/*! ./seekOffsets */ "./node_modules/kafkajs/src/consumer/seekOffsets.js") +const SubscriptionState = __webpack_require__(/*! ./subscriptionState */ "./node_modules/kafkajs/src/consumer/subscriptionState.js") +const { + events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS }, +} = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") +const { MemberAssignment } = __webpack_require__(/*! ./assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") +const { + KafkaJSError, + KafkaJSNonRetriableError, + KafkaJSStaleTopicMetadataAssignment, +} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -/** - * Initialization middleware, exposing the - * request and response to each other, as well - * as defaulting the X-Powered-By header field. - * - * @param {Function} app - * @return {Function} - * @api private - */ +const { keys } = Object -exports.init = function(app){ - return function expressInit(req, res, next){ - if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express'); - req.res = res; - res.req = req; - req.next = next; +const STALE_METADATA_ERRORS = [ + 'LEADER_NOT_AVAILABLE', + // Fetch before v9 uses NOT_LEADER_FOR_PARTITION + 'NOT_LEADER_FOR_PARTITION', + // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH + 'FENCED_LEADER_EPOCH', + 'UNKNOWN_LEADER_EPOCH', + 'UNKNOWN_TOPIC_OR_PARTITION', +] - setPrototypeOf(req, app.request) - setPrototypeOf(res, app.response) +const isRebalancing = e => + e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP' - res.locals = res.locals || Object.create(null); +const PRIVATE = { + JOIN: Symbol('private:ConsumerGroup:join'), + SYNC: Symbol('private:ConsumerGroup:sync'), + HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'), + SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'), +} - next(); - }; -}; +module.exports = class ConsumerGroup { + constructor({ + retry, + cluster, + groupId, + topics, + topicConfigurations, + logger, + instrumentationEmitter, + assigners, + sessionTimeout, + rebalanceTimeout, + maxBytesPerPartition, + minBytes, + maxBytes, + maxWaitTimeInMs, + autoCommit, + autoCommitInterval, + autoCommitThreshold, + isolationLevel, + rackId, + metadataMaxAge, + }) { + /** @type {import("../../types").Cluster} */ + this.cluster = cluster + this.groupId = groupId + this.topics = topics + this.topicsSubscribed = topics + this.topicConfigurations = topicConfigurations + this.logger = logger.namespace('ConsumerGroup') + this.instrumentationEmitter = instrumentationEmitter + this.retrier = createRetry(Object.assign({}, retry)) + this.assigners = assigners + this.sessionTimeout = sessionTimeout + this.rebalanceTimeout = rebalanceTimeout + this.maxBytesPerPartition = maxBytesPerPartition + this.minBytes = minBytes + this.maxBytes = maxBytes + this.maxWaitTime = maxWaitTimeInMs + this.autoCommit = autoCommit + this.autoCommitInterval = autoCommitInterval + this.autoCommitThreshold = autoCommitThreshold + this.isolationLevel = isolationLevel + this.rackId = rackId + this.metadataMaxAge = metadataMaxAge + this.seekOffset = new SeekOffsets() + this.coordinator = null + this.generationId = null + this.leaderId = null + this.memberId = null + this.members = null + this.groupProtocol = null + this.partitionsPerSubscribedTopic = null + /** + * Preferred read replica per topic and partition + * + * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp + * until when that preference is valid. + * + * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}} + */ + this.preferredReadReplicasPerTopicPartition = {} + this.offsetManager = null + this.subscriptionState = new SubscriptionState() -/***/ }), + this.lastRequest = Date.now() -/***/ "./node_modules/express/lib/middleware/query.js": -/*!******************************************************!*\ - !*** ./node_modules/express/lib/middleware/query.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => { + const { groupId, generationId, memberId } = this + const now = Date.now() -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + if (memberId && now >= this.lastRequest + interval) { + const payload = { + groupId, + memberId, + groupGenerationId: generationId, + } + await this.coordinator.heartbeat(payload) + this.instrumentationEmitter.emit(HEARTBEAT, payload) + this.lastRequest = Date.now() + } + }) + } + isLeader() { + return this.leaderId && this.memberId === this.leaderId + } -/** - * Module dependencies. - */ + async connect() { + await this.cluster.connect() + this.instrumentationEmitter.emit(CONNECT) + await this.cluster.refreshMetadataIfNecessary() + } -var merge = __webpack_require__(/*! utils-merge */ "./node_modules/utils-merge/index.js") -var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js"); -var qs = __webpack_require__(/*! qs */ "./node_modules/qs/lib/index.js"); + async [PRIVATE.JOIN]() { + const { groupId, sessionTimeout, rebalanceTimeout } = this -/** - * @param {Object} options - * @return {Function} - * @api public - */ + this.coordinator = await this.cluster.findGroupCoordinator({ groupId }) -module.exports = function query(options) { - var opts = merge({}, options) - var queryparse = qs.parse; + const groupData = await this.coordinator.joinGroup({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId: this.memberId || '', + groupProtocols: this.assigners.map(assigner => + assigner.protocol({ + topics: this.topicsSubscribed, + }) + ), + }) - if (typeof options === 'function') { - queryparse = options; - opts = undefined; + this.generationId = groupData.generationId + this.leaderId = groupData.leaderId + this.memberId = groupData.memberId + this.members = groupData.members + this.groupProtocol = groupData.groupProtocol } - if (opts !== undefined && opts.allowPrototypes === undefined) { - // back-compat for qs module - opts.allowPrototypes = true; + async leave() { + const { groupId, memberId } = this + if (memberId) { + await this.coordinator.leaveGroup({ groupId, memberId }) + this.memberId = null + } } - return function query(req, res, next){ - if (!req.query) { - var val = parseUrl(req).query; - req.query = queryparse(val, opts); - } + async [PRIVATE.SYNC]() { + let assignment = [] + const { + groupId, + generationId, + memberId, + members, + groupProtocol, + topics, + topicsSubscribed, + coordinator, + } = this - next(); - }; -}; + if (this.isLeader()) { + this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics }) + const assigner = this.assigners.find(({ name }) => name === groupProtocol) + if (!assigner) { + throw new KafkaJSNonRetriableError( + `Unsupported partition assigner "${groupProtocol}", the assigner wasn't found in the assigners list` + ) + } -/***/ }), + await this.cluster.refreshMetadata() + assignment = await assigner.assign({ members, topics: topicsSubscribed }) -/***/ "./node_modules/express/lib/request.js": -/*!*********************************************!*\ - !*** ./node_modules/express/lib/request.js ***! - \*********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 38:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + this.logger.debug('Group assignment', { + groupId, + generationId, + groupProtocol, + assignment, + topics: topicsSubscribed, + }) + } -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + // Keep track of the partitions for the subscribed topics + this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() + const { memberAssignment } = await this.coordinator.syncGroup({ + groupId, + generationId, + memberId, + groupAssignment: assignment, + }) + const decodedMemberAssignment = MemberAssignment.decode(memberAssignment) + const decodedAssignment = + decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {} + this.logger.debug('Received assignment', { + groupId, + generationId, + memberId, + memberAssignment: decodedAssignment, + }) -/** - * Module dependencies. - * @private - */ + const assignedTopics = keys(decodedAssignment) + const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed) -var accepts = __webpack_require__(/*! accepts */ "./node_modules/accepts/index.js"); -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express'); -var isIP = __webpack_require__(/*! net */ "net").isIP; -var typeis = __webpack_require__(/*! type-is */ "./node_modules/type-is/index.js"); -var http = __webpack_require__(/*! http */ "http"); -var fresh = __webpack_require__(/*! fresh */ "./node_modules/fresh/index.js"); -var parseRange = __webpack_require__(/*! range-parser */ "./node_modules/range-parser/index.js"); -var parse = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js"); -var proxyaddr = __webpack_require__(/*! proxy-addr */ "./node_modules/proxy-addr/index.js"); + if (topicsNotSubscribed.length > 0) { + const payload = { + groupId, + generationId, + memberId, + assignedTopics, + topicsSubscribed, + topicsNotSubscribed, + } -/** - * Request prototype. - * @public - */ + this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload) + this.logger.warn('Consumer group received unsubscribed topics', { + ...payload, + helpUrl: websiteUrl( + 'docs/faq', + 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to' + ), + }) + } -var req = Object.create(http.IncomingMessage.prototype) + // Remove unsubscribed topics from the list + const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed) + const currentMemberAssignment = safeAssignment.map(topic => ({ + topic, + partitions: decodedAssignment[topic], + })) -/** - * Module exports. - * @public - */ + // Check if the consumer is aware of all assigned partitions + for (const assignment of currentMemberAssignment) { + const { topic, partitions: assignedPartitions } = assignment + const knownPartitions = this.partitionsPerSubscribedTopic.get(topic) + const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition => + knownPartitions.includes(partition) + ) -module.exports = req + if (!isAwareOfAllAssignedPartitions) { + this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', { + groupId, + generationId, + memberId, + topic, + knownPartitions, + assignedPartitions, + }) -/** - * Return request header. - * - * The `Referrer` header field is special-cased, - * both `Referrer` and `Referer` are interchangeable. - * - * Examples: - * - * req.get('Content-Type'); - * // => "text/plain" - * - * req.get('content-type'); - * // => "text/plain" - * - * req.get('Something'); - * // => undefined - * - * Aliased as `req.header()`. - * - * @param {String} name - * @return {String} - * @public - */ + // If the consumer is not aware of all assigned partitions, refresh metadata + // and update the list of partitions per subscribed topic. It's enough to perform + // this operation once since refresh metadata will update metadata for all topics + await this.cluster.refreshMetadata() + this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() + break + } + } -req.get = -req.header = function header(name) { - if (!name) { - throw new TypeError('name argument is required to req.get'); + this.topics = currentMemberAssignment.map(({ topic }) => topic) + this.subscriptionState.assign(currentMemberAssignment) + this.offsetManager = new OffsetManager({ + cluster: this.cluster, + topicConfigurations: this.topicConfigurations, + instrumentationEmitter: this.instrumentationEmitter, + memberAssignment: currentMemberAssignment.reduce( + (partitionsByTopic, { topic, partitions }) => ({ + ...partitionsByTopic, + [topic]: partitions, + }), + {} + ), + autoCommit: this.autoCommit, + autoCommitInterval: this.autoCommitInterval, + autoCommitThreshold: this.autoCommitThreshold, + coordinator, + groupId, + generationId, + memberId, + }) } - if (typeof name !== 'string') { - throw new TypeError('name must be a string to req.get'); - } + joinAndSync() { + const startJoin = Date.now() + return this.retrier(async bail => { + try { + await this[PRIVATE.JOIN]() + await this[PRIVATE.SYNC]() - var lc = name.toLowerCase(); + const memberAssignment = this.assigned().reduce( + (result, { topic, partitions }) => ({ ...result, [topic]: partitions }), + {} + ) - switch (lc) { - case 'referer': - case 'referrer': - return this.headers.referrer - || this.headers.referer; - default: - return this.headers[lc]; - } -}; - -/** - * To do: update docs. - * - * Check if the given `type(s)` is acceptable, returning - * the best match when true, otherwise `undefined`, in which - * case you should respond with 406 "Not Acceptable". - * - * The `type` value may be a single MIME type string - * such as "application/json", an extension name - * such as "json", a comma-delimited list such as "json, html, text/plain", - * an argument list such as `"json", "html", "text/plain"`, - * or an array `["json", "html", "text/plain"]`. When a list - * or array is given, the _best_ match, if any is returned. - * - * Examples: - * - * // Accept: text/html - * req.accepts('html'); - * // => "html" - * - * // Accept: text/*, application/json - * req.accepts('html'); - * // => "html" - * req.accepts('text/html'); - * // => "text/html" - * req.accepts('json, text'); - * // => "json" - * req.accepts('application/json'); - * // => "application/json" - * - * // Accept: text/*, application/json - * req.accepts('image/png'); - * req.accepts('png'); - * // => undefined - * - * // Accept: text/*;q=.5, application/json - * req.accepts(['html', 'json']); - * req.accepts('html', 'json'); - * req.accepts('html, json'); - * // => "json" - * - * @param {String|Array} type(s) - * @return {String|Array|Boolean} - * @public - */ + const payload = { + groupId: this.groupId, + memberId: this.memberId, + leaderId: this.leaderId, + isLeader: this.isLeader(), + memberAssignment, + groupProtocol: this.groupProtocol, + duration: Date.now() - startJoin, + } -req.accepts = function(){ - var accept = accepts(this); - return accept.types.apply(accept, arguments); -}; + this.instrumentationEmitter.emit(GROUP_JOIN, payload) + this.logger.info('Consumer has joined the group', payload) + } catch (e) { + if (isRebalancing(e)) { + // Rebalance in progress isn't a retriable protocol error since the consumer + // has to go through find coordinator and join again before it can + // actually retry the operation. We wrap the original error in a retriable error + // here instead in order to restart the join + sync sequence using the retrier. + throw new KafkaJSError(e) + } -/** - * Check if the given `encoding`s are accepted. - * - * @param {String} ...encoding - * @return {String|Array} - * @public - */ + bail(e) + } + }) + } -req.acceptsEncodings = function(){ - var accept = accepts(this); - return accept.encodings.apply(accept, arguments); -}; + /** + * @param {import("../../types").TopicPartition} topicPartition + */ + resetOffset({ topic, partition }) { + this.offsetManager.resetOffset({ topic, partition }) + } -req.acceptsEncoding = deprecate.function(req.acceptsEncodings, - 'req.acceptsEncoding: Use acceptsEncodings instead'); + /** + * @param {import("../../types").TopicPartitionOffset} topicPartitionOffset + */ + resolveOffset({ topic, partition, offset }) { + this.offsetManager.resolveOffset({ topic, partition, offset }) + } -/** - * Check if the given `charset`s are acceptable, - * otherwise you should respond with 406 "Not Acceptable". - * - * @param {String} ...charset - * @return {String|Array} - * @public - */ + /** + * Update the consumer offset for the given topic/partition. This will be used + * on the next fetch. If this API is invoked for the same topic/partition more + * than once, the latest offset will be used on the next fetch. + * + * @param {import("../../types").TopicPartitionOffset} topicPartitionOffset + */ + seek({ topic, partition, offset }) { + this.seekOffset.set(topic, partition, offset) + } -req.acceptsCharsets = function(){ - var accept = accepts(this); - return accept.charsets.apply(accept, arguments); -}; + pause(topicPartitions) { + this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, { + topicPartitions, + }) + this.subscriptionState.pause(topicPartitions) + } -req.acceptsCharset = deprecate.function(req.acceptsCharsets, - 'req.acceptsCharset: Use acceptsCharsets instead'); + resume(topicPartitions) { + this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, { + topicPartitions, + }) + this.subscriptionState.resume(topicPartitions) + } -/** - * Check if the given `lang`s are acceptable, - * otherwise you should respond with 406 "Not Acceptable". - * - * @param {String} ...lang - * @return {String|Array} - * @public - */ + assigned() { + return this.subscriptionState.assigned() + } -req.acceptsLanguages = function(){ - var accept = accepts(this); - return accept.languages.apply(accept, arguments); -}; + paused() { + return this.subscriptionState.paused() + } -req.acceptsLanguage = deprecate.function(req.acceptsLanguages, - 'req.acceptsLanguage: Use acceptsLanguages instead'); + async commitOffsetsIfNecessary() { + await this.offsetManager.commitOffsetsIfNecessary() + } -/** - * Parse Range header field, capping to the given `size`. - * - * Unspecified ranges such as "0-" require knowledge of your resource length. In - * the case of a byte range this is of course the total number of bytes. If the - * Range header field is not given `undefined` is returned, `-1` when unsatisfiable, - * and `-2` when syntactically invalid. - * - * When ranges are returned, the array has a "type" property which is the type of - * range that is required (most commonly, "bytes"). Each array element is an object - * with a "start" and "end" property for the portion of the range. - * - * The "combine" option can be set to `true` and overlapping & adjacent ranges - * will be combined into a single range. - * - * NOTE: remember that ranges are inclusive, so for example "Range: users=0-3" - * should respond with 4 users when available, not 3. - * - * @param {number} size - * @param {object} [options] - * @param {boolean} [options.combine=false] - * @return {number|array} - * @public - */ + async commitOffsets(offsets) { + await this.offsetManager.commitOffsets(offsets) + } -req.range = function range(size, options) { - var range = this.get('Range'); - if (!range) return; - return parseRange(size, range, options); -}; + uncommittedOffsets() { + return this.offsetManager.uncommittedOffsets() + } -/** - * Return the value of param `name` when present or `defaultValue`. - * - * - Checks route placeholders, ex: _/user/:id_ - * - Checks body params, ex: id=12, {"id":12} - * - Checks query string params, ex: ?id=12 - * - * To utilize request bodies, `req.body` - * should be an object. This can be done by using - * the `bodyParser()` middleware. - * - * @param {String} name - * @param {Mixed} [defaultValue] - * @return {String} - * @public - */ + async heartbeat({ interval }) { + return this[PRIVATE.SHAREDHEARTBEAT]({ interval }) + } -req.param = function param(name, defaultValue) { - var params = this.params || {}; - var body = this.body || {}; - var query = this.query || {}; + async fetch() { + try { + const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this + /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */ + const requestsPerNode = {} - var args = arguments.length === 1 - ? 'name' - : 'name, default'; - deprecate('req.param(' + args + '): Use req.params, req.body, or req.query instead'); + await this.cluster.refreshMetadataIfNecessary() + this.checkForStaleAssignment() - if (null != params[name] && params.hasOwnProperty(name)) return params[name]; - if (null != body[name]) return body[name]; - if (null != query[name]) return query[name]; + while (this.seekOffset.size > 0) { + const seekEntry = this.seekOffset.pop() + this.logger.debug('Seek offset', { + groupId: this.groupId, + memberId: this.memberId, + seek: seekEntry, + }) + await this.offsetManager.seek(seekEntry) + } - return defaultValue; -}; + const pausedTopicPartitions = this.subscriptionState.paused() + const activeTopicPartitions = this.subscriptionState.active() -/** - * Check if the incoming request contains the "Content-Type" - * header field, and it contains the given mime `type`. - * - * Examples: - * - * // With Content-Type: text/html; charset=utf-8 - * req.is('html'); - * req.is('text/html'); - * req.is('text/*'); - * // => true - * - * // When Content-Type is application/json - * req.is('json'); - * req.is('application/json'); - * req.is('application/*'); - * // => true - * - * req.is('html'); - * // => false - * - * @param {String|Array} types... - * @return {String|false|null} - * @public - */ + const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions)) + const activeTopics = activeTopicPartitions + .filter(({ partitions }) => partitions.length > 0) + .map(({ topic }) => topic) -req.is = function is(types) { - var arr = types; + if (activePartitions.length === 0) { + this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, { + topics, + activeTopicPartitions, + pausedTopicPartitions, + }) - // support flattened arguments - if (!Array.isArray(types)) { - arr = new Array(arguments.length); - for (var i = 0; i < arr.length; i++) { - arr[i] = arguments[i]; - } - } + await sleep(this.maxWaitTime) + return BufferedAsyncIterator([]) + } - return typeis(this, arr); -}; + await this.offsetManager.resolveOffsets() -/** - * Return the protocol string "http" or "https" - * when requested with TLS. When the "trust proxy" - * setting trusts the socket address, the - * "X-Forwarded-Proto" header field will be trusted - * and used if present. - * - * If you're running behind a reverse proxy that - * supplies https for you this may be enabled. - * - * @return {String} - * @public - */ + this.logger.debug( + `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`, + { + topics, + activeTopicPartitions, + pausedTopicPartitions, + } + ) -defineGetter(req, 'protocol', function protocol(){ - var proto = this.connection.encrypted - ? 'https' - : 'http'; - var trust = this.app.get('trust proxy fn'); + for (const topicPartition of activeTopicPartitions) { + const partitionsPerNode = this.findReadReplicaForPartitions( + topicPartition.topic, + topicPartition.partitions + ) - if (!trust(this.connection.remoteAddress, 0)) { - return proto; - } + const nodeIds = keys(partitionsPerNode) + const committedOffsets = this.offsetManager.committedOffsets() - // Note: X-Forwarded-Proto is normally only ever a - // single value, but this is to be safe. - var header = this.get('X-Forwarded-Proto') || proto - var index = header.indexOf(',') + for (const nodeId of nodeIds) { + const partitions = partitionsPerNode[nodeId] + .filter(partition => { + /** + * When recovering from OffsetOutOfRange, each partition can recover + * concurrently, which invalidates resolved and committed offsets as part + * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent + * scenarios this can initiate a new fetch with invalid offsets. + * + * This was further highlighted by https://github.com/tulios/kafkajs/pull/570, + * which increased concurrency, making this more likely to happen. + * + * This is solved by only making requests for partitions with initialized offsets. + * + * See the following pull request which explains the context of the problem: + * @issue https://github.com/tulios/kafkajs/pull/578 + */ + return committedOffsets[topicPartition.topic][partition] != null + }) + .map(partition => ({ + partition, + fetchOffset: this.offsetManager + .nextOffset(topicPartition.topic, partition) + .toString(), + maxBytes: maxBytesPerPartition, + })) - return index !== -1 - ? header.substring(0, index).trim() - : header.trim() -}); + requestsPerNode[nodeId] = requestsPerNode[nodeId] || [] + requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions }) + } + } -/** - * Short-hand for: - * - * req.protocol === 'https' - * - * @return {Boolean} - * @public - */ + const requests = keys(requestsPerNode).map(async nodeId => { + const broker = await this.cluster.findBroker({ nodeId }) + const { responses } = await broker.fetch({ + maxWaitTime, + minBytes, + maxBytes, + isolationLevel: this.isolationLevel, + topics: requestsPerNode[nodeId], + rackId: this.rackId, + }) -defineGetter(req, 'secure', function secure(){ - return this.protocol === 'https'; -}); + const batchesPerPartition = responses.map(({ topicName, partitions }) => { + const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName) + let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName] + if (!preferredReadReplicas) { + this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {} + } -/** - * Return the remote address from the trusted proxy. - * - * The is the remote address on the socket unless - * "trust proxy" is set. - * - * @return {String} - * @public - */ + return partitions + .filter( + partitionData => + !this.seekOffset.has(topicName, partitionData.partition) && + !this.subscriptionState.isPaused(topicName, partitionData.partition) + ) + .map(partitionData => { + const { partition, preferredReadReplica } = partitionData + if (preferredReadReplica != null && preferredReadReplica !== -1) { + const { nodeId: currentPreferredReadReplica } = + preferredReadReplicas[partition] || {} + if (currentPreferredReadReplica !== preferredReadReplica) { + this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, { + groupId: this.groupId, + memberId: this.memberId, + topic: topicName, + partition, + }) + } + preferredReadReplicas[partition] = { + nodeId: preferredReadReplica, + expireAt: Date.now() + this.metadataMaxAge, + } + } -defineGetter(req, 'ip', function ip(){ - var trust = this.app.get('trust proxy fn'); - return proxyaddr(this, trust); -}); + const partitionRequestData = topicRequestData.partitions.find( + ({ partition }) => partition === partitionData.partition + ) -/** - * When "trust proxy" is set, trusted proxy addresses + client. - * - * For example if the value were "client, proxy1, proxy2" - * you would receive the array `["client", "proxy1", "proxy2"]` - * where "proxy2" is the furthest down-stream and "proxy1" and - * "proxy2" were trusted. - * - * @return {Array} - * @public - */ + const fetchedOffset = partitionRequestData.fetchOffset + return new Batch(topicName, fetchedOffset, partitionData) + }) + }) -defineGetter(req, 'ips', function ips() { - var trust = this.app.get('trust proxy fn'); - var addrs = proxyaddr.all(this, trust); + return flatten(batchesPerPartition) + }) - // reverse the order (to farthest -> closest) - // and remove socket address - addrs.reverse().pop() + // fetch can generate empty requests when the consumer group receives an assignment + // with more topics than the subscribed, so to prevent a busy loop we wait the + // configured max wait time + if (requests.length === 0) { + await sleep(this.maxWaitTime) + return BufferedAsyncIterator([]) + } - return addrs -}); + return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e)) + } catch (e) { + await this.recoverFromFetch(e) + } + } -/** - * Return subdomains as an array. - * - * Subdomains are the dot-separated parts of the host before the main domain of - * the app. By default, the domain of the app is assumed to be the last two - * parts of the host. This can be changed by setting "subdomain offset". - * - * For example, if the domain is "tobi.ferrets.example.com": - * If "subdomain offset" is not set, req.subdomains is `["ferrets", "tobi"]`. - * If "subdomain offset" is 3, req.subdomains is `["tobi"]`. - * - * @return {Array} - * @public - */ + async recoverFromFetch(e) { + if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') { + this.logger.debug('Stale cluster metadata, refreshing...', { + groupId: this.groupId, + memberId: this.memberId, + error: e.message, + }) -defineGetter(req, 'subdomains', function subdomains() { - var hostname = this.hostname; + await this.cluster.refreshMetadata() + await this.joinAndSync() + throw new KafkaJSError(e.message) + } - if (!hostname) return []; + if (e.name === 'KafkaJSStaleTopicMetadataAssignment') { + this.logger.warn(`${e.message}, resync group`, { + groupId: this.groupId, + memberId: this.memberId, + topic: e.topic, + unknownPartitions: e.unknownPartitions, + }) - var offset = this.app.get('subdomain offset'); - var subdomains = !isIP(hostname) - ? hostname.split('.').reverse() - : [hostname]; + await this.joinAndSync() + } - return subdomains.slice(offset); -}); + if (e.name === 'KafkaJSOffsetOutOfRange') { + await this.recoverFromOffsetOutOfRange(e) + } -/** - * Short-hand for `url.parse(req.url).pathname`. - * - * @return {String} - * @public - */ + if (e.name === 'KafkaJSConnectionClosedError') { + this.cluster.removeBroker({ host: e.host, port: e.port }) + } -defineGetter(req, 'path', function path() { - return parse(this).pathname; -}); + if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') { + this.logger.debug(`${e.message}, refreshing metadata and retrying...`) + await this.cluster.refreshMetadata() + } -/** - * Parse the "Host" header field to a hostname. - * - * When the "trust proxy" setting trusts the socket - * address, the "X-Forwarded-Host" header field will - * be trusted. - * - * @return {String} - * @public - */ + throw e + } -defineGetter(req, 'hostname', function hostname(){ - var trust = this.app.get('trust proxy fn'); - var host = this.get('X-Forwarded-Host'); + async recoverFromOffsetOutOfRange(e) { + // If we are fetching from a follower try with the leader before resetting offsets + const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic] + if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') { + this.logger.info('Offset out of range while fetching from follower, retrying with leader', { + topic: e.topic, + partition: e.partition, + groupId: this.groupId, + memberId: this.memberId, + }) + delete preferredReadReplicas[e.partition] + } else { + this.logger.error('Offset out of range, resetting to default offset', { + topic: e.topic, + partition: e.partition, + groupId: this.groupId, + memberId: this.memberId, + }) - if (!host || !trust(this.connection.remoteAddress, 0)) { - host = this.get('Host'); - } else if (host.indexOf(',') !== -1) { - // Note: X-Forwarded-Host is normally only ever a - // single value, but this is to be safe. - host = host.substring(0, host.indexOf(',')).trimRight() + await this.offsetManager.setDefaultOffset({ + topic: e.topic, + partition: e.partition, + }) + } } - if (!host) return; - - // IPv6 literal support - var offset = host[0] === '[' - ? host.indexOf(']') + 1 - : 0; - var index = host.indexOf(':', offset); + generatePartitionsPerSubscribedTopic() { + const map = new Map() - return index !== -1 - ? host.substring(0, index) - : host; -}); + for (const topic of this.topicsSubscribed) { + const partitions = this.cluster + .findTopicPartitionMetadata(topic) + .map(m => m.partitionId) + .sort() -// TODO: change req.host to return host in next major + map.set(topic, partitions) + } -defineGetter(req, 'host', deprecate.function(function host(){ - return this.hostname; -}, 'req.host: Use req.hostname instead')); + return map + } -/** - * Check if the request is fresh, aka - * Last-Modified and/or the ETag - * still match. - * - * @return {Boolean} - * @public - */ + checkForStaleAssignment() { + if (!this.partitionsPerSubscribedTopic) { + return + } -defineGetter(req, 'fresh', function(){ - var method = this.method; - var res = this.res - var status = res.statusCode + const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() - // GET or HEAD for weak freshness validation only - if ('GET' !== method && 'HEAD' !== method) return false; + for (const [topic, partitions] of newPartitionsPerSubscribedTopic) { + const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic)) - // 2xx or 304 as per rfc2616 14.26 - if ((status >= 200 && status < 300) || 304 === status) { - return fresh(this.headers, { - 'etag': res.get('ETag'), - 'last-modified': res.get('Last-Modified') - }) + if (diff.length > 0) { + throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', { + topic, + unknownPartitions: diff, + }) + } + } } - return false; -}); - -/** - * Check if the request is stale, aka - * "Last-Modified" and / or the "ETag" for the - * resource has changed. - * - * @return {Boolean} - * @public - */ - -defineGetter(req, 'stale', function stale(){ - return !this.fresh; -}); + hasSeekOffset({ topic, partition }) { + return this.seekOffset.has(topic, partition) + } -/** - * Check if the request was an _XMLHttpRequest_. - * - * @return {Boolean} - * @public - */ + /** + * For each of the partitions find the best nodeId to read it from + * + * @param {string} topic + * @param {number[]} partitions + * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions + * @see Cluster~findLeaderForPartitions + */ + // Invariant: The resulting object has each partition referenced exactly once + findReadReplicaForPartitions(topic, partitions) { + const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic) + const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic] + return partitions.reduce((result, id) => { + const partitionId = parseInt(id, 10) + const metadata = partitionMetadata.find(p => p.partitionId === partitionId) + if (!metadata) { + return result + } -defineGetter(req, 'xhr', function xhr(){ - var val = this.get('X-Requested-With') || ''; - return val.toLowerCase() === 'xmlhttprequest'; -}); + if (metadata.leader == null) { + throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata }) + } -/** - * Helper function for creating a getter on an object. - * - * @param {Object} obj - * @param {String} name - * @param {Function} getter - * @private - */ -function defineGetter(obj, name, getter) { - Object.defineProperty(obj, name, { - configurable: true, - enumerable: true, - get: getter - }); + // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader. + let nodeId = metadata.leader + if (preferredReadReplicas) { + const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {} + if (Date.now() >= expireAt) { + this.logger.debug('Preferred read replica information has expired, using leader', { + topic, + partitionId, + groupId: this.groupId, + memberId: this.memberId, + preferredReadReplica, + leader: metadata.leader, + }) + // Drop the entry + delete preferredReadReplicas[partitionId] + } else if (preferredReadReplica != null) { + // Valid entry, check whether it is not offline + // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again + const offlineReplicas = metadata.offlineReplicas + if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) { + this.logger.debug('Preferred read replica is offline, using leader', { + topic, + partitionId, + groupId: this.groupId, + memberId: this.memberId, + preferredReadReplica, + leader: metadata.leader, + }) + } else { + nodeId = preferredReadReplica + } + } + } + const current = result[nodeId] || [] + return { ...result, [nodeId]: [...current, partitionId] } + }, {}) + } } /***/ }), -/***/ "./node_modules/express/lib/response.js": -/*!**********************************************!*\ - !*** ./node_modules/express/lib/response.js ***! - \**********************************************/ +/***/ "./node_modules/kafkajs/src/consumer/filterAbortedMessages.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/filterAbortedMessages.js ***! + \********************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 50:0-14 */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0]) -/** - * Module dependencies. - * @private - */ - -var Buffer = __webpack_require__(/*! safe-buffer */ "./node_modules/safe-buffer/index.js").Buffer -var contentDisposition = __webpack_require__(/*! content-disposition */ "./node_modules/content-disposition/index.js"); -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express'); -var encodeUrl = __webpack_require__(/*! encodeurl */ "./node_modules/encodeurl/index.js"); -var escapeHtml = __webpack_require__(/*! escape-html */ "./node_modules/escape-html/index.js"); -var http = __webpack_require__(/*! http */ "http"); -var isAbsolute = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").isAbsolute; -var onFinished = __webpack_require__(/*! on-finished */ "./node_modules/on-finished/index.js"); -var path = __webpack_require__(/*! path */ "path"); -var statuses = __webpack_require__(/*! statuses */ "./node_modules/statuses/index.js") -var merge = __webpack_require__(/*! utils-merge */ "./node_modules/utils-merge/index.js"); -var sign = __webpack_require__(/*! cookie-signature */ "./node_modules/cookie-signature/index.js").sign; -var normalizeType = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").normalizeType; -var normalizeTypes = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").normalizeTypes; -var setCharset = __webpack_require__(/*! ./utils */ "./node_modules/express/lib/utils.js").setCharset; -var cookie = __webpack_require__(/*! cookie */ "./node_modules/express/node_modules/cookie/index.js"); -var send = __webpack_require__(/*! send */ "./node_modules/send/index.js"); -var extname = path.extname; -var mime = send.mime; -var resolve = path.resolve; -var vary = __webpack_require__(/*! vary */ "./node_modules/vary/index.js"); - -/** - * Response prototype. - * @public - */ - -var res = Object.create(http.ServerResponse.prototype) - -/** - * Module exports. - * @public - */ - -module.exports = res - -/** - * Module variables. - * @private - */ - -var charsetRegExp = /;\s*charset\s*=/; +const isAbortMarker = ({ key }) => { + // Handle null/undefined keys. + if (!key) return false + // Cast key to buffer defensively + return Buffer.from(key).equals(ABORTED_MESSAGE_KEY) +} /** - * Set status `code`. + * Remove messages marked as aborted according to the aborted transactions list. * - * @param {Number} code - * @return {ServerResponse} - * @public - */ - -res.status = function status(code) { - if ((typeof code === 'string' || Math.floor(code) !== code) && code > 99 && code < 1000) { - deprecate('res.status(' + JSON.stringify(code) + '): use res.status(' + Math.floor(code) + ') instead') - } - this.statusCode = code; - return this; -}; - -/** - * Set Link header field with the given `links`. + * Start of an aborted transaction is determined by message offset. + * End of an aborted transaction is determined by control messages. + * @param {Message[]} messages + * @param {Transaction[]} [abortedTransactions] + * @returns {Message[]} Messages which did not participate in an aborted transaction * - * Examples: + * @typedef {object} Message + * @param {Buffer} key + * @param {lastOffset} key Int64 + * @param {RecordBatch} batchContext * - * res.links({ - * next: 'http://api.example.com/users?page=2', - * last: 'http://api.example.com/users?page=5' - * }); + * @typedef {object} Transaction + * @param {string} firstOffset Int64 + * @param {string} producerId Int64 * - * @param {Object} links - * @return {ServerResponse} - * @public + * @typedef {object} RecordBatch + * @param {string} producerId Int64 + * @param {boolean} inTransaction */ +module.exports = ({ messages, abortedTransactions }) => { + const currentAbortedTransactions = new Map() -res.links = function(links){ - var link = this.get('Link') || ''; - if (link) link += ', '; - return this.set('Link', link + Object.keys(links).map(function(rel){ - return '<' + links[rel] + '>; rel="' + rel + '"'; - }).join(', ')); -}; + if (!abortedTransactions || !abortedTransactions.length) { + return messages + } -/** - * Send a response. - * - * Examples: - * - * res.send(Buffer.from('wahoo')); - * res.send({ some: 'json' }); - * res.send('

some html

'); - * - * @param {string|number|boolean|object|Buffer} body - * @public - */ + const remainingAbortedTransactions = [...abortedTransactions] -res.send = function send(body) { - var chunk = body; - var encoding; - var req = this.req; - var type; + return messages.filter(message => { + // If the message offset is GTE the first offset of the next aborted transaction + // then we have stepped into an aborted transaction. + if ( + remainingAbortedTransactions.length && + Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset) + ) { + const { producerId } = remainingAbortedTransactions.shift() + currentAbortedTransactions.set(producerId, true) + } - // settings - var app = this.app; + const { producerId, inTransaction } = message.batchContext - // allow status / body - if (arguments.length === 2) { - // res.send(body, status) backwards compat - if (typeof arguments[0] !== 'number' && typeof arguments[1] === 'number') { - deprecate('res.send(body, status): Use res.status(status).send(body) instead'); - this.statusCode = arguments[1]; - } else { - deprecate('res.send(status, body): Use res.status(status).send(body) instead'); - this.statusCode = arguments[0]; - chunk = arguments[1]; + if (isAbortMarker(message)) { + // Transaction is over, we no longer need to ignore messages from this producer + currentAbortedTransactions.delete(producerId) + } else if (currentAbortedTransactions.has(producerId) && inTransaction) { + return false } - } - // disambiguate res.send(status) and res.send(status, num) - if (typeof chunk === 'number' && arguments.length === 1) { - // res.send(status) will set status message as text string - if (!this.get('Content-Type')) { - this.type('txt'); - } + return true + }) +} - deprecate('res.send(status): Use res.sendStatus(status) instead'); - this.statusCode = chunk; - chunk = statuses.message[chunk] - } - switch (typeof chunk) { - // string defaulting to html - case 'string': - if (!this.get('Content-Type')) { - this.type('html'); - } - break; - case 'boolean': - case 'number': - case 'object': - if (chunk === null) { - chunk = ''; - } else if (Buffer.isBuffer(chunk)) { - if (!this.get('Content-Type')) { - this.type('bin'); - } - } else { - return this.json(chunk); - } - break; - } +/***/ }), - // write strings in utf-8 - if (typeof chunk === 'string') { - encoding = 'utf8'; - type = this.get('Content-Type'); +/***/ "./node_modules/kafkajs/src/consumer/index.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/index.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // reflect this in content-type - if (typeof type === 'string') { - this.set('Content-Type', setCharset(type, 'utf-8')); - } - } +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const { initialRetryTime } = __webpack_require__(/*! ../retry/defaults */ "./node_modules/kafkajs/src/retry/defaults.js") +const ConsumerGroup = __webpack_require__(/*! ./consumerGroup */ "./node_modules/kafkajs/src/consumer/consumerGroup.js") +const Runner = __webpack_require__(/*! ./runner */ "./node_modules/kafkajs/src/consumer/runner.js") +const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") +const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const { roundRobin } = __webpack_require__(/*! ./assigners */ "./node_modules/kafkajs/src/consumer/assigners/index.js") +const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../protocol/isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - // determine if ETag should be generated - var etagFn = app.get('etag fn') - var generateETag = !this.get('ETag') && typeof etagFn === 'function' +const { keys, values } = Object +const { CONNECT, DISCONNECT, STOP, CRASH } = events - // populate Content-Length - var len - if (chunk !== undefined) { - if (Buffer.isBuffer(chunk)) { - // get length of Buffer - len = chunk.length - } else if (!generateETag && chunk.length < 1000) { - // just calculate length when no ETag + small chunk - len = Buffer.byteLength(chunk, encoding) - } else { - // convert chunk to Buffer and calculate - chunk = Buffer.from(chunk, encoding) - encoding = undefined; - len = chunk.length - } +const eventNames = values(events) +const eventKeys = keys(events) + .map(key => `consumer.events.${key}`) + .join(', ') - this.set('Content-Length', len); - } +const specialOffsets = [ + Long.fromValue(EARLIEST_OFFSET).toString(), + Long.fromValue(LATEST_OFFSET).toString(), +] - // populate ETag - var etag; - if (generateETag && len !== undefined) { - if ((etag = etagFn(chunk, encoding))) { - this.set('ETag', etag); - } +/** + * @param {Object} params + * @param {import("../../types").Cluster} params.cluster + * @param {String} params.groupId + * @param {import('../../types').RetryOptions} [params.retry] + * @param {import('../../types').Logger} params.logger + * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners] + * @param {number} [params.sessionTimeout] + * @param {number} [params.rebalanceTimeout] + * @param {number} [params.heartbeatInterval] + * @param {number} [params.maxBytesPerPartition] + * @param {number} [params.minBytes] + * @param {number} [params.maxBytes] + * @param {number} [params.maxWaitTimeInMs] + * @param {number} [params.isolationLevel] + * @param {string} [params.rackId] + * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] + * @param {number} params.metadataMaxAge + * + * @returns {import("../../types").Consumer} + */ +module.exports = ({ + cluster, + groupId, + retry, + logger: rootLogger, + partitionAssigners = [roundRobin], + sessionTimeout = 30000, + rebalanceTimeout = 60000, + heartbeatInterval = 3000, + maxBytesPerPartition = 1048576, // 1MB + minBytes = 1, + maxBytes = 10485760, // 10MB + maxWaitTimeInMs = 5000, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + rackId = '', + instrumentationEmitter: rootInstrumentationEmitter, + metadataMaxAge, +}) => { + if (!groupId) { + throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.') } - // freshness - if (req.fresh) this.statusCode = 304; + const logger = rootLogger.namespace('Consumer') + const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() + const assigners = partitionAssigners.map(createAssigner => + createAssigner({ groupId, logger, cluster }) + ) + + const topics = {} + let runner = null + let consumerGroup = null - // strip irrelevant headers - if (204 === this.statusCode || 304 === this.statusCode) { - this.removeHeader('Content-Type'); - this.removeHeader('Content-Length'); - this.removeHeader('Transfer-Encoding'); - chunk = ''; + if (heartbeatInterval >= sessionTimeout) { + throw new KafkaJSNonRetriableError( + `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.` + ) } - // alter headers for 205 - if (this.statusCode === 205) { - this.set('Content-Length', '0') - this.removeHeader('Transfer-Encoding') - chunk = '' + const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => { + return new ConsumerGroup({ + logger: rootLogger, + topics: keys(topics), + topicConfigurations: topics, + retry, + cluster, + groupId, + assigners, + sessionTimeout, + rebalanceTimeout, + maxBytesPerPartition, + minBytes, + maxBytes, + maxWaitTimeInMs, + instrumentationEmitter, + autoCommit, + autoCommitInterval, + autoCommitThreshold, + isolationLevel, + rackId, + metadataMaxAge, + }) } - if (req.method === 'HEAD') { - // skip body for HEAD - this.end(); - } else { - // respond - this.end(chunk, encoding); + const createRunner = ({ + eachBatchAutoResolve, + eachBatch, + eachMessage, + onCrash, + autoCommit, + partitionsConsumedConcurrently, + }) => { + return new Runner({ + autoCommit, + logger: rootLogger, + consumerGroup, + instrumentationEmitter, + eachBatchAutoResolve, + eachBatch, + eachMessage, + heartbeatInterval, + retry, + onCrash, + partitionsConsumedConcurrently, + }) } - return this; -}; + /** @type {import("../../types").Consumer["connect"]} */ + const connect = async () => { + await cluster.connect() + instrumentationEmitter.emit(CONNECT) + } -/** - * Send JSON response. - * - * Examples: - * - * res.json(null); - * res.json({ user: 'tj' }); - * - * @param {string|number|boolean|object} obj - * @public - */ + /** @type {import("../../types").Consumer["disconnect"]} */ + const disconnect = async () => { + try { + await stop() + logger.debug('consumer has stopped, disconnecting', { groupId }) + await cluster.disconnect() + instrumentationEmitter.emit(DISCONNECT) + } catch (e) { + logger.error(`Caught error when disconnecting the consumer: ${e.message}`, { + stack: e.stack, + groupId, + }) + throw e + } + } -res.json = function json(obj) { - var val = obj; + /** @type {import("../../types").Consumer["stop"]} */ + const stop = async () => { + try { + if (runner) { + await runner.stop() + runner = null + consumerGroup = null + instrumentationEmitter.emit(STOP) + } - // allow status / body - if (arguments.length === 2) { - // res.json(body, status) backwards compat - if (typeof arguments[1] === 'number') { - deprecate('res.json(obj, status): Use res.status(status).json(obj) instead'); - this.statusCode = arguments[1]; - } else { - deprecate('res.json(status, obj): Use res.status(status).json(obj) instead'); - this.statusCode = arguments[0]; - val = arguments[1]; + logger.info('Stopped', { groupId }) + } catch (e) { + logger.error(`Caught error when stopping the consumer: ${e.message}`, { + stack: e.stack, + groupId, + }) + + throw e } } - // settings - var app = this.app; - var escape = app.get('json escape') - var replacer = app.get('json replacer'); - var spaces = app.get('json spaces'); - var body = stringify(val, replacer, spaces, escape) + /** @type {import("../../types").Consumer["subscribe"]} */ + const subscribe = async ({ topic, fromBeginning = false }) => { + if (consumerGroup) { + throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running') + } - // content-type - if (!this.get('Content-Type')) { - this.set('Content-Type', 'application/json'); - } + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } - return this.send(body); -}; + const isRegExp = topic instanceof RegExp + if (typeof topic !== 'string' && !isRegExp) { + throw new KafkaJSNonRetriableError( + `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp` + ) + } -/** - * Send JSON response with JSONP callback support. - * - * Examples: - * - * res.jsonp(null); - * res.jsonp({ user: 'tj' }); - * - * @param {string|number|boolean|object} obj - * @public - */ + const topicsToSubscribe = [] + if (isRegExp) { + const topicRegExp = topic + const metadata = await cluster.metadata() + const matchedTopics = metadata.topicMetadata + .map(({ topic: topicName }) => topicName) + .filter(topicName => topicRegExp.test(topicName)) -res.jsonp = function jsonp(obj) { - var val = obj; + logger.debug('Subscription based on RegExp', { + groupId, + topicRegExp: topicRegExp.toString(), + matchedTopics, + }) - // allow status / body - if (arguments.length === 2) { - // res.jsonp(body, status) backwards compat - if (typeof arguments[1] === 'number') { - deprecate('res.jsonp(obj, status): Use res.status(status).jsonp(obj) instead'); - this.statusCode = arguments[1]; + topicsToSubscribe.push(...matchedTopics) } else { - deprecate('res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead'); - this.statusCode = arguments[0]; - val = arguments[1]; + topicsToSubscribe.push(topic) } - } - // settings - var app = this.app; - var escape = app.get('json escape') - var replacer = app.get('json replacer'); - var spaces = app.get('json spaces'); - var body = stringify(val, replacer, spaces, escape) - var callback = this.req.query[app.get('jsonp callback name')]; + for (const t of topicsToSubscribe) { + topics[t] = { fromBeginning } + } - // content-type - if (!this.get('Content-Type')) { - this.set('X-Content-Type-Options', 'nosniff'); - this.set('Content-Type', 'application/json'); + await cluster.addMultipleTargetTopics(topicsToSubscribe) } - // fixup callback - if (Array.isArray(callback)) { - callback = callback[0]; - } + /** @type {import("../../types").Consumer["run"]} */ + const run = async ({ + autoCommit = true, + autoCommitInterval = null, + autoCommitThreshold = null, + eachBatchAutoResolve = true, + partitionsConsumedConcurrently = 1, + eachBatch = null, + eachMessage = null, + } = {}) => { + if (consumerGroup) { + logger.warn('consumer#run was called, but the consumer is already running', { groupId }) + return + } - // jsonp - if (typeof callback === 'string' && callback.length !== 0) { - this.set('X-Content-Type-Options', 'nosniff'); - this.set('Content-Type', 'text/javascript'); + consumerGroup = createConsumerGroup({ + autoCommit, + autoCommitInterval, + autoCommitThreshold, + }) - // restrict callback charset - callback = callback.replace(/[^\[\]\w$.]/g, ''); + const start = async onCrash => { + logger.info('Starting', { groupId }) + runner = createRunner({ + autoCommit, + eachBatchAutoResolve, + eachBatch, + eachMessage, + onCrash, + partitionsConsumedConcurrently, + }) - if (body === undefined) { - // empty argument - body = '' - } else if (typeof body === 'string') { - // replace chars not allowed in JavaScript that are in JSON - body = body - .replace(/\u2028/g, '\\u2028') - .replace(/\u2029/g, '\\u2029') + await runner.start() } - // the /**/ is a specific security mitigation for "Rosetta Flash JSONP abuse" - // the typeof check is just to reduce client error noise - body = '/**/ typeof ' + callback + ' === \'function\' && ' + callback + '(' + body + ');'; - } - - return this.send(body); -}; + const restart = onCrash => { + consumerGroup = createConsumerGroup({ + autoCommitInterval, + autoCommitThreshold, + }) -/** - * Send given HTTP status code. - * - * Sets the response status to `statusCode` and the body of the - * response to the standard description from node's http.STATUS_CODES - * or the statusCode number if no description. - * - * Examples: - * - * res.sendStatus(200); - * - * @param {number} statusCode - * @public - */ + start(onCrash) + } -res.sendStatus = function sendStatus(statusCode) { - var body = statuses.message[statusCode] || String(statusCode) + const onCrash = async e => { + logger.error(`Crash: ${e.name}: ${e.message}`, { + groupId, + retryCount: e.retryCount, + stack: e.stack, + }) - this.statusCode = statusCode; - this.type('txt'); + if (e.name === 'KafkaJSConnectionClosedError') { + cluster.removeBroker({ host: e.host, port: e.port }) + } - return this.send(body); -}; + await disconnect() -/** - * Transfer the file at the given `path`. - * - * Automatically sets the _Content-Type_ response header field. - * The callback `callback(err)` is invoked when the transfer is complete - * or when an error occurs. Be sure to check `res.headersSent` - * if you wish to attempt responding, as the header and some data - * may have already been transferred. - * - * Options: - * - * - `maxAge` defaulting to 0 (can be string converted by `ms`) - * - `root` root directory for relative filenames - * - `headers` object of headers to serve with file - * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them - * - * Other options are passed along to `send`. - * - * Examples: - * - * The following example illustrates how `res.sendFile()` may - * be used as an alternative for the `static()` middleware for - * dynamic situations. The code backing `res.sendFile()` is actually - * the same code, so HTTP cache support etc is identical. - * - * app.get('/user/:uid/photos/:file', function(req, res){ - * var uid = req.params.uid - * , file = req.params.file; - * - * req.user.mayViewFilesFrom(uid, function(yes){ - * if (yes) { - * res.sendFile('/uploads/' + uid + '/' + file); - * } else { - * res.send(403, 'Sorry! you cant see that.'); - * } - * }); - * }); - * - * @public - */ + const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true + const shouldRestart = + isErrorRetriable && + (!retry || + !retry.restartOnFailure || + (await retry.restartOnFailure(e).catch(error => { + logger.error( + 'Caught error when invoking user-provided "restartOnFailure" callback. Defaulting to restarting.', + { + error: error.message || error, + originalError: e.message || e, + groupId, + } + ) -res.sendFile = function sendFile(path, options, callback) { - var done = callback; - var req = this.req; - var res = this; - var next = req.next; - var opts = options || {}; + return true + }))) - if (!path) { - throw new TypeError('path argument is required to res.sendFile'); - } + instrumentationEmitter.emit(CRASH, { + error: e, + groupId, + restart: shouldRestart, + }) - if (typeof path !== 'string') { - throw new TypeError('path must be a string to res.sendFile') - } + if (shouldRestart) { + const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime + logger.error(`Restarting the consumer in ${retryTime}ms`, { + retryCount: e.retryCount, + retryTime, + groupId, + }) - // support function as second arg - if (typeof options === 'function') { - done = options; - opts = {}; - } + setTimeout(() => restart(onCrash), retryTime) + } + } - if (!opts.root && !isAbsolute(path)) { - throw new TypeError('path must be absolute or specify root to res.sendFile'); + await start(onCrash) } - // create file stream - var pathname = encodeURI(path); - var file = send(req, pathname, opts); - - // transfer - sendfile(res, file, opts, function (err) { - if (done) return done(err); - if (err && err.code === 'EISDIR') return next(); - - // next() all but write errors - if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') { - next(err); + /** @type {import("../../types").Consumer["on"]} */ + const on = (eventName, listener) => { + if (!eventNames.includes(eventName)) { + throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) } - }); -}; - -/** - * Transfer the file at the given `path`. - * - * Automatically sets the _Content-Type_ response header field. - * The callback `callback(err)` is invoked when the transfer is complete - * or when an error occurs. Be sure to check `res.headersSent` - * if you wish to attempt responding, as the header and some data - * may have already been transferred. - * - * Options: - * - * - `maxAge` defaulting to 0 (can be string converted by `ms`) - * - `root` root directory for relative filenames - * - `headers` object of headers to serve with file - * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them - * - * Other options are passed along to `send`. - * - * Examples: - * - * The following example illustrates how `res.sendfile()` may - * be used as an alternative for the `static()` middleware for - * dynamic situations. The code backing `res.sendfile()` is actually - * the same code, so HTTP cache support etc is identical. - * - * app.get('/user/:uid/photos/:file', function(req, res){ - * var uid = req.params.uid - * , file = req.params.file; - * - * req.user.mayViewFilesFrom(uid, function(yes){ - * if (yes) { - * res.sendfile('/uploads/' + uid + '/' + file); - * } else { - * res.send(403, 'Sorry! you cant see that.'); - * } - * }); - * }); - * - * @public - */ -res.sendfile = function (path, options, callback) { - var done = callback; - var req = this.req; - var res = this; - var next = req.next; - var opts = options || {}; - - // support function as second arg - if (typeof options === 'function') { - done = options; - opts = {}; + return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { + event.type = wrapEvent(event.type) + Promise.resolve(listener(event)).catch(e => { + logger.error(`Failed to execute listener: ${e.message}`, { + eventName, + stack: e.stack, + }) + }) + }) } - // create file stream - var file = send(req, path, opts); + /** + * @type {import("../../types").Consumer["commitOffsets"]} + * @param topicPartitions + * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }] + */ + const commitOffsets = async (topicPartitions = []) => { + const commitsByTopic = topicPartitions.reduce( + (payload, { topic, partition, offset, metadata = null }) => { + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } - // transfer - sendfile(res, file, opts, function (err) { - if (done) return done(err); - if (err && err.code === 'EISDIR') return next(); + if (isNaN(partition)) { + throw new KafkaJSNonRetriableError( + `Invalid partition, expected a number received ${partition}` + ) + } - // next() all but write errors - if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') { - next(err); - } - }); -}; + let commitOffset + try { + commitOffset = Long.fromValue(offset) + } catch (_) { + throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`) + } -res.sendfile = deprecate.function(res.sendfile, - 'res.sendfile: Use res.sendFile instead'); + if (commitOffset.lessThan(0)) { + throw new KafkaJSNonRetriableError('Offset must not be a negative number') + } -/** - * Transfer the file at the given `path` as an attachment. - * - * Optionally providing an alternate attachment `filename`, - * and optional callback `callback(err)`. The callback is invoked - * when the data transfer is complete, or when an error has - * occurred. Be sure to check `res.headersSent` if you plan to respond. - * - * Optionally providing an `options` object to use with `res.sendFile()`. - * This function will set the `Content-Disposition` header, overriding - * any `Content-Disposition` header passed as header options in order - * to set the attachment and filename. - * - * This method uses `res.sendFile()`. - * - * @public - */ + if (metadata !== null && typeof metadata !== 'string') { + throw new KafkaJSNonRetriableError( + `Invalid offset metadata, expected string or null, received ${metadata}` + ) + } -res.download = function download (path, filename, options, callback) { - var done = callback; - var name = filename; - var opts = options || null + const topicCommits = payload[topic] || [] - // support function as second or third arg - if (typeof filename === 'function') { - done = filename; - name = null; - opts = null - } else if (typeof options === 'function') { - done = options - opts = null - } + topicCommits.push({ partition, offset: commitOffset, metadata }) - // support optional filename, where options may be in it's place - if (typeof filename === 'object' && - (typeof options === 'function' || options === undefined)) { - name = null - opts = filename - } + return { ...payload, [topic]: topicCommits } + }, + {} + ) - // set Content-Disposition when file is sent - var headers = { - 'Content-Disposition': contentDisposition(name || path) - }; + if (!consumerGroup) { + throw new KafkaJSNonRetriableError( + 'Consumer group was not initialized, consumer#run must be called first' + ) + } - // merge user-provided headers - if (opts && opts.headers) { - var keys = Object.keys(opts.headers) - for (var i = 0; i < keys.length; i++) { - var key = keys[i] - if (key.toLowerCase() !== 'content-disposition') { - headers[key] = opts.headers[key] - } - } - } - - // merge user-provided options - opts = Object.create(opts) - opts.headers = headers - - // Resolve the full path for sendFile - var fullPath = !opts.root - ? resolve(path) - : path - - // send file - return this.sendFile(fullPath, opts, done) -}; - -/** - * Set _Content-Type_ response header with `type` through `mime.lookup()` - * when it does not contain "/", or set the Content-Type to `type` otherwise. - * - * Examples: - * - * res.type('.html'); - * res.type('html'); - * res.type('json'); - * res.type('application/json'); - * res.type('png'); - * - * @param {String} type - * @return {ServerResponse} for chaining - * @public - */ - -res.contentType = -res.type = function contentType(type) { - var ct = type.indexOf('/') === -1 - ? mime.lookup(type) - : type; + const topics = Object.keys(commitsByTopic) - return this.set('Content-Type', ct); -}; + return runner.commitOffsets({ + topics: topics.map(topic => { + return { + topic, + partitions: commitsByTopic[topic], + } + }), + }) + } -/** - * Respond to the Acceptable formats using an `obj` - * of mime-type callbacks. - * - * This method uses `req.accepted`, an array of - * acceptable types ordered by their quality values. - * When "Accept" is not present the _first_ callback - * is invoked, otherwise the first match is used. When - * no match is performed the server responds with - * 406 "Not Acceptable". - * - * Content-Type is set for you, however if you choose - * you may alter this within the callback using `res.type()` - * or `res.set('Content-Type', ...)`. - * - * res.format({ - * 'text/plain': function(){ - * res.send('hey'); - * }, - * - * 'text/html': function(){ - * res.send('

hey

'); - * }, - * - * 'application/json': function () { - * res.send({ message: 'hey' }); - * } - * }); - * - * In addition to canonicalized MIME types you may - * also use extnames mapped to these types: - * - * res.format({ - * text: function(){ - * res.send('hey'); - * }, - * - * html: function(){ - * res.send('

hey

'); - * }, - * - * json: function(){ - * res.send({ message: 'hey' }); - * } - * }); - * - * By default Express passes an `Error` - * with a `.status` of 406 to `next(err)` - * if a match is not made. If you provide - * a `.default` callback it will be invoked - * instead. - * - * @param {Object} obj - * @return {ServerResponse} for chaining - * @public - */ + /** @type {import("../../types").Consumer["seek"]} */ + const seek = ({ topic, partition, offset }) => { + if (!topic) { + throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) + } -res.format = function(obj){ - var req = this.req; - var next = req.next; + if (isNaN(partition)) { + throw new KafkaJSNonRetriableError( + `Invalid partition, expected a number received ${partition}` + ) + } - var keys = Object.keys(obj) - .filter(function (v) { return v !== 'default' }) + let seekOffset + try { + seekOffset = Long.fromValue(offset) + } catch (_) { + throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`) + } - var key = keys.length > 0 - ? req.accepts(keys) - : false; + if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) { + throw new KafkaJSNonRetriableError('Offset must not be a negative number') + } - this.vary("Accept"); + if (!consumerGroup) { + throw new KafkaJSNonRetriableError( + 'Consumer group was not initialized, consumer#run must be called first' + ) + } - if (key) { - this.set('Content-Type', normalizeType(key).value); - obj[key](req, this, next); - } else if (obj.default) { - obj.default(req, this, next) - } else { - next(createError(406, { - types: normalizeTypes(keys).map(function (o) { return o.value }) - })) + consumerGroup.seek({ topic, partition, offset: seekOffset.toString() }) } - return this; -}; - -/** - * Set _Content-Disposition_ header to _attachment_ with optional `filename`. - * - * @param {String} filename - * @return {ServerResponse} - * @public - */ - -res.attachment = function attachment(filename) { - if (filename) { - this.type(extname(filename)); + /** @type {import("../../types").Consumer["describeGroup"]} */ + const describeGroup = async () => { + const coordinator = await cluster.findGroupCoordinator({ groupId }) + const retrier = createRetry(retry) + return retrier(async () => { + const { groups } = await coordinator.describeGroups({ groupIds: [groupId] }) + return groups.find(group => group.groupId === groupId) + }) } - this.set('Content-Disposition', contentDisposition(filename)); - - return this; -}; - -/** - * Append additional header `field` with value `val`. - * - * Example: - * - * res.append('Link', ['', '']); - * res.append('Set-Cookie', 'foo=bar; Path=/; HttpOnly'); - * res.append('Warning', '199 Miscellaneous warning'); - * - * @param {String} field - * @param {String|Array} val - * @return {ServerResponse} for chaining - * @public - */ + /** + * @type {import("../../types").Consumer["pause"]} + * @param topicPartitions + * Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + const pause = (topicPartitions = []) => { + for (const topicPartition of topicPartitions) { + if (!topicPartition || !topicPartition.topic) { + throw new KafkaJSNonRetriableError( + `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}` + ) + } else if ( + typeof topicPartition.partitions !== 'undefined' && + (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN)) + ) { + throw new KafkaJSNonRetriableError( + `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}` + ) + } + } -res.append = function append(field, val) { - var prev = this.get(field); - var value = val; + if (!consumerGroup) { + throw new KafkaJSNonRetriableError( + 'Consumer group was not initialized, consumer#run must be called first' + ) + } - if (prev) { - // concat the new and prev vals - value = Array.isArray(prev) ? prev.concat(val) - : Array.isArray(val) ? [prev].concat(val) - : [prev, val] + consumerGroup.pause(topicPartitions) } - return this.set(field, value); -}; - -/** - * Set header `field` to `val`, or pass - * an object of header fields. - * - * Examples: - * - * res.set('Foo', ['bar', 'baz']); - * res.set('Accept', 'application/json'); - * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' }); - * - * Aliased as `res.header()`. - * - * @param {String|Object} field - * @param {String|Array} val - * @return {ServerResponse} for chaining - * @public - */ + /** + * Returns the list of topic partitions paused on this consumer + * + * @type {import("../../types").Consumer["paused"]} + */ + const paused = () => { + if (!consumerGroup) { + return [] + } -res.set = -res.header = function header(field, val) { - if (arguments.length === 2) { - var value = Array.isArray(val) - ? val.map(String) - : String(val); + return consumerGroup.paused() + } - // add charset to content-type - if (field.toLowerCase() === 'content-type') { - if (Array.isArray(value)) { - throw new TypeError('Content-Type cannot be set to an Array'); - } - if (!charsetRegExp.test(value)) { - var charset = mime.charsets.lookup(value.split(';')[0]); - if (charset) value += '; charset=' + charset.toLowerCase(); + /** + * @type {import("../../types").Consumer["resume"]} + * @param topicPartitions + * Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + const resume = (topicPartitions = []) => { + for (const topicPartition of topicPartitions) { + if (!topicPartition || !topicPartition.topic) { + throw new KafkaJSNonRetriableError( + `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}` + ) + } else if ( + typeof topicPartition.partitions !== 'undefined' && + (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN)) + ) { + throw new KafkaJSNonRetriableError( + `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}` + ) } } - this.setHeader(field, value); - } else { - for (var key in field) { - this.set(key, field[key]); + if (!consumerGroup) { + throw new KafkaJSNonRetriableError( + 'Consumer group was not initialized, consumer#run must be called first' + ) } - } - return this; -}; -/** - * Get value for header `field`. - * - * @param {String} field - * @return {String} - * @public - */ - -res.get = function(field){ - return this.getHeader(field); -}; + consumerGroup.resume(topicPartitions) + } -/** - * Clear cookie `name`. - * - * @param {String} name - * @param {Object} [options] - * @return {ServerResponse} for chaining - * @public - */ + /** + * @return {Object} logger + */ + const getLogger = () => logger -res.clearCookie = function clearCookie(name, options) { - var opts = merge({ expires: new Date(1), path: '/' }, options); + return { + connect, + disconnect, + subscribe, + stop, + run, + commitOffsets, + seek, + describeGroup, + pause, + paused, + resume, + on, + events, + logger: getLogger, + } +} - return this.cookie(name, '', opts); -}; -/** - * Set cookie `name` to `value`, with the given `options`. - * - * Options: - * - * - `maxAge` max-age in milliseconds, converted to `expires` - * - `signed` sign the cookie - * - `path` defaults to "/" - * - * Examples: - * - * // "Remember Me" for 15 minutes - * res.cookie('rememberme', '1', { expires: new Date(Date.now() + 900000), httpOnly: true }); - * - * // same as above - * res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true }) - * - * @param {String} name - * @param {String|Object} value - * @param {Object} [options] - * @return {ServerResponse} for chaining - * @public - */ +/***/ }), -res.cookie = function (name, value, options) { - var opts = merge({}, options); - var secret = this.req.secret; - var signed = opts.signed; +/***/ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/instrumentationEvents.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (signed && !secret) { - throw new Error('cookieParser("secret") required for signed cookies'); - } +const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") +const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") +const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") +const consumerType = InstrumentationEventType('consumer') - var val = typeof value === 'object' - ? 'j:' + JSON.stringify(value) - : String(value); +const events = { + HEARTBEAT: consumerType('heartbeat'), + COMMIT_OFFSETS: consumerType('commit_offsets'), + GROUP_JOIN: consumerType('group_join'), + FETCH: consumerType('fetch'), + FETCH_START: consumerType('fetch_start'), + START_BATCH_PROCESS: consumerType('start_batch_process'), + END_BATCH_PROCESS: consumerType('end_batch_process'), + CONNECT: consumerType('connect'), + DISCONNECT: consumerType('disconnect'), + STOP: consumerType('stop'), + CRASH: consumerType('crash'), + REBALANCING: consumerType('rebalancing'), + RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'), + REQUEST: consumerType(networkEvents.NETWORK_REQUEST), + REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT), + REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), +} - if (signed) { - val = 's:' + sign(val, secret); - } +const wrappedEvents = { + [events.REQUEST]: networkEvents.NETWORK_REQUEST, + [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, + [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, +} - if (opts.maxAge != null) { - var maxAge = opts.maxAge - 0 +const reversedWrappedEvents = swapObject(wrappedEvents) +const unwrap = eventName => wrappedEvents[eventName] || eventName +const wrap = eventName => reversedWrappedEvents[eventName] || eventName - if (!isNaN(maxAge)) { - opts.expires = new Date(Date.now() + maxAge) - opts.maxAge = Math.floor(maxAge / 1000) - } - } +module.exports = { + events, + wrap, + unwrap, +} - if (opts.path == null) { - opts.path = '/'; - } - this.append('Set-Cookie', cookie.serialize(name, String(val), opts)); +/***/ }), - return this; -}; +/***/ "./node_modules/kafkajs/src/consumer/offsetManager/index.js": +/*!******************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/offsetManager/index.js ***! + \******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Set the location header to `url`. - * - * The given `url` can also be "back", which redirects - * to the _Referrer_ or _Referer_ headers or "/". - * - * Examples: - * - * res.location('/foo/bar').; - * res.location('http://example.com'); - * res.location('../login'); - * - * @param {String} url - * @return {ServerResponse} for chaining - * @public - */ +const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const flatten = __webpack_require__(/*! ../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const isInvalidOffset = __webpack_require__(/*! ./isInvalidOffset */ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js") +const initializeConsumerOffsets = __webpack_require__(/*! ./initializeConsumerOffsets */ "./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js") +const { + events: { COMMIT_OFFSETS }, +} = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") -res.location = function location(url) { - var loc = url; +const { keys, assign } = Object +const indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {}) - // "back" is an alias for the referrer - if (url === 'back') { - loc = this.req.get('Referrer') || '/'; - } +const PRIVATE = { + COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'), +} +module.exports = class OffsetManager { + /** + * @param {Object} options + * @param {import("../../../types").Cluster} options.cluster + * @param {import("../../../types").Broker} options.coordinator + * @param {import("../../../types").IMemberAssignment} options.memberAssignment + * @param {boolean} options.autoCommit + * @param {number | null} options.autoCommitInterval + * @param {number | null} options.autoCommitThreshold + * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations + * @param {import("../../instrumentation/emitter")} options.instrumentationEmitter + * @param {string} options.groupId + * @param {number} options.generationId + * @param {string} options.memberId + */ + constructor({ + cluster, + coordinator, + memberAssignment, + autoCommit, + autoCommitInterval, + autoCommitThreshold, + topicConfigurations, + instrumentationEmitter, + groupId, + generationId, + memberId, + }) { + this.cluster = cluster + this.coordinator = coordinator - // set location - return this.set('Location', encodeUrl(loc)); -}; + // memberAssignment format: + // { + // 'topic1': [0, 1, 2, 3], + // 'topic2': [0, 1, 2, 3, 4, 5], + // } + this.memberAssignment = memberAssignment -/** - * Redirect to the given `url` with optional response `status` - * defaulting to 302. - * - * The resulting `url` is determined by `res.location()`, so - * it will play nicely with mounted apps, relative paths, - * `"back"` etc. - * - * Examples: - * - * res.redirect('/foo/bar'); - * res.redirect('http://example.com'); - * res.redirect(301, 'http://example.com'); - * res.redirect('../login'); // /blog/post/1 -> /blog/login - * - * @public - */ + this.topicConfigurations = topicConfigurations + this.instrumentationEmitter = instrumentationEmitter + this.groupId = groupId + this.generationId = generationId + this.memberId = memberId -res.redirect = function redirect(url) { - var address = url; - var body; - var status = 302; + this.autoCommit = autoCommit + this.autoCommitInterval = autoCommitInterval + this.autoCommitThreshold = autoCommitThreshold + this.lastCommit = Date.now() - // allow status / url - if (arguments.length === 2) { - if (typeof arguments[0] === 'number') { - status = arguments[0]; - address = arguments[1]; - } else { - deprecate('res.redirect(url, status): Use res.redirect(status, url) instead'); - status = arguments[1]; - } + this.topics = keys(memberAssignment) + this.clearAllOffsets() } - // Set location header - address = this.location(address).get('Location'); - - // Support text/{plain,html} by default - this.format({ - text: function(){ - body = statuses.message[status] + '. Redirecting to ' + address - }, - - html: function(){ - var u = escapeHtml(address); - body = '

' + statuses.message[status] + '. Redirecting to ' + u + '

' - }, - - default: function(){ - body = ''; + /** + * @param {string} topic + * @param {number} partition + * @returns {Long} + */ + nextOffset(topic, partition) { + if (!this.resolvedOffsets[topic][partition]) { + this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition] } - }); - // Respond - this.statusCode = status; - this.set('Content-Length', Buffer.byteLength(body)); + let offset = this.resolvedOffsets[topic][partition] + if (isInvalidOffset(offset)) { + offset = '0' + } - if (this.req.method === 'HEAD') { - this.end(); - } else { - this.end(body); + return Long.fromValue(offset) } -}; -/** - * Add `field` to Vary. If already present in the Vary set, then - * this call is simply ignored. - * - * @param {Array|String} field - * @return {ServerResponse} for chaining - * @public - */ + /** + * @returns {Promise} + */ + async getCoordinator() { + if (!this.coordinator.isConnected()) { + this.coordinator = await this.cluster.findBroker(this.coordinator) + } -res.vary = function(field){ - // checks for back-compat - if (!field || (Array.isArray(field) && !field.length)) { - deprecate('res.vary(): Provide a field name'); - return this; + return this.coordinator } - vary(this, field); - - return this; -}; - -/** - * Render `view` with the given `options` and optional callback `fn`. - * When a callback function is given a response will _not_ be made - * automatically, otherwise a response of _200_ and _text/html_ is given. - * - * Options: - * - * - `cache` boolean hinting to the engine it should cache - * - `filename` filename of the view being rendered - * - * @public - */ - -res.render = function render(view, options, callback) { - var app = this.req.app; - var done = callback; - var opts = options || {}; - var req = this.req; - var self = this; - - // support callback function as second arg - if (typeof options === 'function') { - done = options; - opts = {}; + /** + * @param {import("../../../types").TopicPartition} topicPartition + */ + resetOffset({ topic, partition }) { + this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition] } - // merge res.locals - opts._locals = self.locals; + /** + * @param {import("../../../types").TopicPartitionOffset} topicPartitionOffset + */ + resolveOffset({ topic, partition, offset }) { + this.resolvedOffsets[topic][partition] = Long.fromValue(offset) + .add(1) + .toString() + } - // default callback to respond - done = done || function (err, str) { - if (err) return req.next(err); - self.send(str); - }; + /** + * @returns {Long} + */ + countResolvedOffsets() { + const committedOffsets = this.committedOffsets() - // render - app.render(view, opts, done); -}; + const subtractOffsets = (resolvedOffset, committedOffset) => { + const resolvedOffsetLong = Long.fromValue(resolvedOffset) + return isInvalidOffset(committedOffset) + ? resolvedOffsetLong + : resolvedOffsetLong.subtract(Long.fromValue(committedOffset)) + } -// pipe the send file stream -function sendfile(res, file, options, callback) { - var done = false; - var streaming; + const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) => + keys(resolvedTopicOffsets).map(partition => + subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition]) + ) - // request aborted - function onaborted() { - if (done) return; - done = true; + const subtractTopicOffsets = topic => + subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic]) - var err = new Error('Request aborted'); - err.code = 'ECONNABORTED'; - callback(err); + const offsetsDiff = this.topics.map(subtractTopicOffsets) + return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0)) } - // directory - function ondirectory() { - if (done) return; - done = true; + /** + * @param {import("../../../types").TopicPartition} topicPartition + */ + async setDefaultOffset({ topic, partition }) { + const { groupId, generationId, memberId } = this + const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic]) + const coordinator = await this.getCoordinator() - var err = new Error('EISDIR, read'); - err.code = 'EISDIR'; - callback(err); - } + await coordinator.offsetCommit({ + groupId, + memberId, + groupGenerationId: generationId, + topics: [ + { + topic, + partitions: [{ partition, offset: defaultOffset }], + }, + ], + }) - // errors - function onerror(err) { - if (done) return; - done = true; - callback(err); + this.clearOffsets({ topic, partition }) } - // ended - function onend() { - if (done) return; - done = true; - callback(); - } + /** + * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given + * topic/partition this method will be a NO-OP. + * + * @param {import("../../../types").TopicPartitionOffset} topicPartitionOffset + */ + async seek({ topic, partition, offset }) { + if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) { + return + } - // file - function onfile() { - streaming = false; - } + if (!this.autoCommit) { + this.resolveOffset({ + topic, + partition, + offset: Long.fromValue(offset) + .subtract(1) + .toString(), + }) + return + } - // finished - function onfinish(err) { - if (err && err.code === 'ECONNRESET') return onaborted(); - if (err) return onerror(err); - if (done) return; + const { groupId, generationId, memberId } = this + const coordinator = await this.getCoordinator() - setImmediate(function () { - if (streaming !== false && !done) { - onaborted(); - return; - } + await coordinator.offsetCommit({ + groupId, + memberId, + groupGenerationId: generationId, + topics: [ + { + topic, + partitions: [{ partition, offset }], + }, + ], + }) - if (done) return; - done = true; - callback(); - }); + this.clearOffsets({ topic, partition }) } - // streaming - function onstream() { - streaming = true; - } + async commitOffsetsIfNecessary() { + const now = Date.now() - file.on('directory', ondirectory); - file.on('end', onend); - file.on('error', onerror); - file.on('file', onfile); - file.on('stream', onstream); - onFinished(res, onfinish); + const timeoutReached = + this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval - if (options.headers) { - // set headers on successful transfer - file.on('headers', function headers(res) { - var obj = options.headers; - var keys = Object.keys(obj); + const thresholdReached = + this.autoCommitThreshold != null && + this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold)) - for (var i = 0; i < keys.length; i++) { - var k = keys[i]; - res.setHeader(k, obj[k]); - } - }); + if (timeoutReached || thresholdReached) { + return this.commitOffsets() + } } - // pipe - file.pipe(res); -} - -/** - * Stringify JSON, like JSON.stringify, but v8 optimized, with the - * ability to escape characters that can trigger HTML sniffing. - * - * @param {*} value - * @param {function} replacer - * @param {number} spaces - * @param {boolean} escape - * @returns {string} - * @private - */ - -function stringify (value, replacer, spaces, escape) { - // v8 checks arguments.length for optimizing simple call - // https://bugs.chromium.org/p/v8/issues/detail?id=4730 - var json = replacer || spaces - ? JSON.stringify(value, replacer, spaces) - : JSON.stringify(value); - - if (escape && typeof json === 'string') { - json = json.replace(/[<>&]/g, function (c) { - switch (c.charCodeAt(0)) { - case 0x3c: - return '\\u003c' - case 0x3e: - return '\\u003e' - case 0x26: - return '\\u0026' - /* istanbul ignore next: unreachable default */ - default: - return c - } + /** + * Return all locally resolved offsets which are not marked as committed, by topic-partition. + * @returns {OffsetsByTopicPartition} + * + * @typedef {Object} OffsetsByTopicPartition + * @property {TopicOffsets[]} topics + * + * @typedef {Object} TopicOffsets + * @property {PartitionOffset[]} partitions + * + * @typedef {Object} PartitionOffset + * @property {string} partition + * @property {string} offset + */ + uncommittedOffsets() { + const offsets = topic => keys(this.resolvedOffsets[topic]) + const emptyPartitions = ({ partitions }) => partitions.length > 0 + const toPartitions = topic => partition => ({ + partition, + offset: this.resolvedOffsets[topic][partition], }) - } - - return json -} - - -/***/ }), - -/***/ "./node_modules/express/lib/router/index.js": -/*!**************************************************!*\ - !*** ./node_modules/express/lib/router/index.js ***! - \**************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 43:12-26 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var Route = __webpack_require__(/*! ./route */ "./node_modules/express/lib/router/route.js"); -var Layer = __webpack_require__(/*! ./layer */ "./node_modules/express/lib/router/layer.js"); -var methods = __webpack_require__(/*! methods */ "./node_modules/methods/index.js"); -var mixin = __webpack_require__(/*! utils-merge */ "./node_modules/utils-merge/index.js"); -var debug = __webpack_require__(/*! debug */ "./node_modules/express/node_modules/debug/src/index.js")('express:router'); -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express'); -var flatten = __webpack_require__(/*! array-flatten */ "./node_modules/array-flatten/array-flatten.js"); -var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js"); -var setPrototypeOf = __webpack_require__(/*! setprototypeof */ "./node_modules/setprototypeof/index.js") - -/** - * Module variables. - * @private - */ - -var objectRegExp = /^\[object (\S+)\]$/; -var slice = Array.prototype.slice; -var toString = Object.prototype.toString; - -/** - * Initialize a new `Router` with the given `options`. - * - * @param {Object} [options] - * @return {Router} which is an callable function - * @public - */ - -var proto = module.exports = function(options) { - var opts = options || {}; - - function router(req, res, next) { - router.handle(req, res, next); - } - - // mixin Router class functions - setPrototypeOf(router, proto) - - router.params = {}; - router._params = []; - router.caseSensitive = opts.caseSensitive; - router.mergeParams = opts.mergeParams; - router.strict = opts.strict; - router.stack = []; - - return router; -}; - -/** - * Map the given param placeholder `name`(s) to the given callback. - * - * Parameter mapping is used to provide pre-conditions to routes - * which use normalized placeholders. For example a _:user_id_ parameter - * could automatically load a user's information from the database without - * any additional code, - * - * The callback uses the same signature as middleware, the only difference - * being that the value of the placeholder is passed, in this case the _id_ - * of the user. Once the `next()` function is invoked, just like middleware - * it will continue on to execute the route, or subsequent parameter functions. - * - * Just like in middleware, you must either respond to the request or call next - * to avoid stalling the request. - * - * app.param('user_id', function(req, res, next, id){ - * User.find(id, function(err, user){ - * if (err) { - * return next(err); - * } else if (!user) { - * return next(new Error('failed to load user')); - * } - * req.user = user; - * next(); - * }); - * }); - * - * @param {String} name - * @param {Function} fn - * @return {app} for chaining - * @public - */ - -proto.param = function param(name, fn) { - // param logic - if (typeof name === 'function') { - deprecate('router.param(fn): Refactor to use path params'); - this._params.push(name); - return; - } - - // apply param functions - var params = this._params; - var len = params.length; - var ret; - - if (name[0] === ':') { - deprecate('router.param(' + JSON.stringify(name) + ', fn): Use router.param(' + JSON.stringify(name.slice(1)) + ', fn) instead') - name = name.slice(1) - } - - for (var i = 0; i < len; ++i) { - if (ret = params[i](name, fn)) { - fn = ret; + const changedOffsets = topic => ({ partition, offset }) => { + return ( + offset !== this.committedOffsets()[topic][partition] && + Long.fromValue(offset).greaterThanOrEqual(0) + ) } - } - - // ensure we end up with a - // middleware function - if ('function' !== typeof fn) { - throw new Error('invalid param() call for ' + name + ', got ' + fn); - } - - (this.params[name] = this.params[name] || []).push(fn); - return this; -}; - -/** - * Dispatch a req, res into the router. - * @private - */ - -proto.handle = function handle(req, res, out) { - var self = this; - - debug('dispatching %s %s', req.method, req.url); - - var idx = 0; - var protohost = getProtohost(req.url) || '' - var removed = ''; - var slashAdded = false; - var sync = 0 - var paramcalled = {}; - - // store options for OPTIONS request - // only used if OPTIONS request - var options = []; - - // middleware and routes - var stack = self.stack; - // manage inter-router variables - var parentParams = req.params; - var parentUrl = req.baseUrl || ''; - var done = restore(out, req, 'baseUrl', 'next', 'params'); - - // setup next layer - req.next = next; + // Select and format updated partitions + const topicsWithPartitionsToCommit = this.topics + .map(topic => ({ + topic, + partitions: offsets(topic) + .map(toPartitions(topic)) + .filter(changedOffsets(topic)), + })) + .filter(emptyPartitions) - // for options requests, respond with a default if nothing else responds - if (req.method === 'OPTIONS') { - done = wrap(done, function(old, err) { - if (err || options.length === 0) return old(err); - sendOptionsResponse(res, options, old); - }); + return { topics: topicsWithPartitionsToCommit } } - // setup basic req values - req.baseUrl = parentUrl; - req.originalUrl = req.originalUrl || req.url; - - next(); - - function next(err) { - var layerError = err === 'route' - ? null - : err; - - // remove added slash - if (slashAdded) { - req.url = req.url.slice(1) - slashAdded = false; - } - - // restore altered req.url - if (removed.length !== 0) { - req.baseUrl = parentUrl; - req.url = protohost + removed + req.url.slice(protohost.length) - removed = ''; - } + async commitOffsets(offsets = {}) { + const { groupId, generationId, memberId } = this + const { topics = this.uncommittedOffsets().topics } = offsets - // signal to exit router - if (layerError === 'router') { - setImmediate(done, null) + if (topics.length === 0) { + this.lastCommit = Date.now() return } - // no more matching layers - if (idx >= stack.length) { - setImmediate(done, layerError); - return; - } - - // max sync stack - if (++sync > 100) { - return setImmediate(next, err) - } - - // get pathname of request - var path = getPathname(req); - - if (path == null) { - return done(layerError); + const payload = { + groupId, + memberId, + groupGenerationId: generationId, + topics, } - // find next matching layer - var layer; - var match; - var route; - - while (match !== true && idx < stack.length) { - layer = stack[idx++]; - match = matchLayer(layer, path); - route = layer.route; - - if (typeof match !== 'boolean') { - // hold on to layerError - layerError = layerError || match; - } - - if (match !== true) { - continue; - } - - if (!route) { - // process non-route handlers normally - continue; - } - - if (layerError) { - // routes do not match with a pending error - match = false; - continue; - } + try { + const coordinator = await this.getCoordinator() + await coordinator.offsetCommit(payload) + this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload) - var method = req.method; - var has_method = route._handles_method(method); + // Update local reference of committed offsets + topics.forEach(({ topic, partitions }) => { + const updatedOffsets = partitions.reduce( + (obj, { partition, offset }) => assign(obj, { [partition]: offset }), + {} + ) - // build up automatic options response - if (!has_method && method === 'OPTIONS') { - appendMethods(options, route._options()); - } + this[PRIVATE.COMMITTED_OFFSETS][topic] = assign( + {}, + this.committedOffsets()[topic], + updatedOffsets + ) + }) - // don't even bother matching route - if (!has_method && method !== 'HEAD') { - match = false; + this.lastCommit = Date.now() + } catch (e) { + // metadata is stale, the coordinator has changed due to a restart or + // broker reassignment + if (e.type === 'NOT_COORDINATOR_FOR_GROUP') { + await this.cluster.refreshMetadata() } - } - // no match - if (match !== true) { - return done(layerError); + throw e } + } - // store route for dispatch on change - if (route) { - req.route = route; + async resolveOffsets() { + const { groupId } = this + const invalidOffset = topic => partition => { + return isInvalidOffset(this.committedOffsets()[topic][partition]) } - // Capture one-time layer values - req.params = self.mergeParams - ? mergeParams(layer.params, parentParams) - : layer.params; - var layerPath = layer.path; - - // this should be done for the layer - self.process_params(layer, paramcalled, req, res, function (err) { - if (err) { - next(layerError || err) - } else if (route) { - layer.handle_request(req, res, next) - } else { - trim_prefix(layer, layerError, layerPath, path) - } - - sync = 0 - }); - } - - function trim_prefix(layer, layerError, layerPath, path) { - if (layerPath.length !== 0) { - // Validate path is a prefix match - if (layerPath !== path.slice(0, layerPath.length)) { - next(layerError) - return - } + const pendingPartitions = this.topics + .map(topic => ({ + topic, + partitions: this.memberAssignment[topic] + .filter(invalidOffset(topic)) + .map(partition => ({ partition })), + })) + .filter(t => t.partitions.length > 0) - // Validate path breaks on a path separator - var c = path[layerPath.length] - if (c && c !== '/' && c !== '.') return next(layerError) + if (pendingPartitions.length === 0) { + return + } - // Trim off the part of the url that matches the route - // middleware (.use stuff) needs to have the path stripped - debug('trim prefix (%s) from url %s', layerPath, req.url); - removed = layerPath; - req.url = protohost + req.url.slice(protohost.length + removed.length) + const coordinator = await this.getCoordinator() + const { responses: consumerOffsets } = await coordinator.offsetFetch({ + groupId, + topics: pendingPartitions, + }) - // Ensure leading slash - if (!protohost && req.url[0] !== '/') { - req.url = '/' + req.url; - slashAdded = true; - } + const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) => + assign( + { + topic, + partitions: partitions + .filter(({ offset }) => isInvalidOffset(offset)) + .map(({ partition }) => assign({ partition })), + }, + this.topicConfigurations[topic] + ) + ) - // Setup base URL (no trailing slash) - req.baseUrl = parentUrl + (removed[removed.length - 1] === '/' - ? removed.substring(0, removed.length - 1) - : removed); + const indexPartitions = (obj, { partition, offset }) => { + return assign(obj, { [partition]: offset }) } - debug('%s %s : %s', layer.name, layerPath, req.originalUrl); + const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0) - if (layerError) { - layer.handle_error(layerError, req, res, next); - } else { - layer.handle_request(req, res, next); + let offsets = consumerOffsets + if (hasUnresolvedPartitions()) { + const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions) + offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets) } - } -}; - -/** - * Process any parameters for the layer. - * @private - */ - -proto.process_params = function process_params(layer, called, req, res, done) { - var params = this.params; - // captured parameters from the layer, keys and values - var keys = layer.keys; - - // fast track - if (!keys || keys.length === 0) { - return done(); + offsets.forEach(({ topic, partitions }) => { + this.committedOffsets()[topic] = partitions.reduce(indexPartitions, { + ...this.committedOffsets()[topic], + }) + }) } - var i = 0; - var name; - var paramIndex = 0; - var key; - var paramVal; - var paramCallbacks; - var paramCalled; - - // process params in order - // param callbacks can be async - function param(err) { - if (err) { - return done(err); - } - - if (i >= keys.length ) { - return done(); - } + /** + * @private + * @param {import("../../../types").TopicPartition} topicPartition + */ + clearOffsets({ topic, partition }) { + delete this.committedOffsets()[topic][partition] + delete this.resolvedOffsets[topic][partition] + } - paramIndex = 0; - key = keys[i++]; - name = key.name; - paramVal = req.params[name]; - paramCallbacks = params[name]; - paramCalled = called[name]; + /** + * @private + */ + clearAllOffsets() { + const committedOffsets = this.committedOffsets() - if (paramVal === undefined || !paramCallbacks) { - return param(); + for (const topic in committedOffsets) { + delete committedOffsets[topic] } - // param previously called with same value or error occurred - if (paramCalled && (paramCalled.match === paramVal - || (paramCalled.error && paramCalled.error !== 'route'))) { - // restore value - req.params[name] = paramCalled.value; - - // next param - return param(paramCalled.error); + for (const topic of this.topics) { + committedOffsets[topic] = {} } - called[name] = paramCalled = { - error: null, - match: paramVal, - value: paramVal - }; - - paramCallback(); + this.resolvedOffsets = indexTopics(this.topics) } - // single param callbacks - function paramCallback(err) { - var fn = paramCallbacks[paramIndex++]; - - // store updated value - paramCalled.value = req.params[key.name]; - - if (err) { - // store error - paramCalled.error = err; - param(err); - return; + committedOffsets() { + if (!this[PRIVATE.COMMITTED_OFFSETS]) { + this[PRIVATE.COMMITTED_OFFSETS] = this.groupId + ? this.cluster.committedOffsets({ groupId: this.groupId }) + : {} } - if (!fn) return param(); - - try { - fn(req, res, paramCallback, paramVal, key.name); - } catch (e) { - paramCallback(e); - } + return this[PRIVATE.COMMITTED_OFFSETS] } +} - param(); -}; - -/** - * Use the given middleware function, with optional path, defaulting to "/". - * - * Use (like `.all`) will run for any http METHOD, but it will not add - * handlers for those methods so OPTIONS requests will not consider `.use` - * functions even if they could respond. - * - * The other difference is that _route_ path is stripped and not visible - * to the handler function. The main effect of this feature is that mounted - * handlers can operate without any code changes regardless of the "prefix" - * pathname. - * - * @public - */ - -proto.use = function use(fn) { - var offset = 0; - var path = '/'; - // default path to '/' - // disambiguate router.use([fn]) - if (typeof fn !== 'function') { - var arg = fn; +/***/ }), - while (Array.isArray(arg) && arg.length !== 0) { - arg = arg[0]; - } +/***/ "./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js ***! + \**************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // first arg is the path - if (typeof arg !== 'function') { - offset = 1; - path = fn; - } - } +const isInvalidOffset = __webpack_require__(/*! ./isInvalidOffset */ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js") +const { keys, assign } = Object - var callbacks = flatten(slice.call(arguments, offset)); +const indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset }) +const indexTopics = (obj, { topic, partitions }) => + assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) }) - if (callbacks.length === 0) { - throw new TypeError('Router.use() requires a middleware function') - } +module.exports = (consumerOffsets, topicOffsets) => { + const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {}) + const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {}) - for (var i = 0; i < callbacks.length; i++) { - var fn = callbacks[i]; + return keys(indexedConsumerOffsets).map(topic => { + const partitions = indexedConsumerOffsets[topic] + return { + topic, + partitions: keys(partitions).map(partition => { + const offset = partitions[partition] + const resolvedOffset = isInvalidOffset(offset) + ? indexedTopicOffsets[topic][partition] + : offset - if (typeof fn !== 'function') { - throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn)) + return { partition: Number(partition), offset: resolvedOffset } + }), } + }) +} - // add the middleware - debug('use %o %s', path, fn.name || '') - var layer = new Layer(path, { - sensitive: this.caseSensitive, - strict: false, - end: false - }, fn); +/***/ }), - layer.route = undefined; +/***/ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - this.stack.push(layer); - } +const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - return this; -}; +module.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative() -/** - * Create a new Route for the given path. - * - * Each route contains a separate middleware stack and VERB handlers. - * - * See the Route api documentation for details on adding handlers - * and middleware to routes. - * - * @param {String} path - * @return {Route} - * @public - */ -proto.route = function route(path) { - var route = new Route(path); +/***/ }), - var layer = new Layer(path, { - sensitive: this.caseSensitive, - strict: this.strict, - end: true - }, route.dispatch.bind(route)); +/***/ "./node_modules/kafkajs/src/consumer/runner.js": +/*!*****************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/runner.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - layer.route = route; +const { EventEmitter } = __webpack_require__(/*! events */ "events") +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const limitConcurrency = __webpack_require__(/*! ../utils/concurrency */ "./node_modules/kafkajs/src/utils/concurrency.js") +const { KafkaJSError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const barrier = __webpack_require__(/*! ./barrier */ "./node_modules/kafkajs/src/consumer/barrier.js") - this.stack.push(layer); - return route; -}; +const { + events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING }, +} = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") -// create Router#VERB functions -methods.concat('all').forEach(function(method){ - proto[method] = function(path){ - var route = this.route(path) - route[method].apply(route, slice.call(arguments, 1)); - return this; - }; -}); +const isRebalancing = e => + e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP' -// append methods to a list of methods -function appendMethods(list, addition) { - for (var i = 0; i < addition.length; i++) { - var method = addition[i]; - if (list.indexOf(method) === -1) { - list.push(method); - } - } -} +const isKafkaJSError = e => e instanceof KafkaJSError +const isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB)) +const CONSUMING_START = 'consuming-start' +const CONSUMING_STOP = 'consuming-stop' -// get pathname of request -function getPathname(req) { - try { - return parseUrl(req).pathname; - } catch (err) { - return undefined; - } -} +module.exports = class Runner extends EventEmitter { + /** + * @param {object} options + * @param {import("../../types").Logger} options.logger + * @param {import("./consumerGroup")} options.consumerGroup + * @param {import("../instrumentation/emitter")} options.instrumentationEmitter + * @param {boolean} [options.eachBatchAutoResolve=true] + * @param {number} [options.partitionsConsumedConcurrently] + * @param {(payload: import("../../types").EachBatchPayload) => Promise} options.eachBatch + * @param {(payload: import("../../types").EachMessagePayload) => Promise} options.eachMessage + * @param {number} [options.heartbeatInterval] + * @param {(reason: Error) => void} options.onCrash + * @param {import("../../types").RetryOptions} [options.retry] + * @param {boolean} [options.autoCommit=true] + */ + constructor({ + logger, + consumerGroup, + instrumentationEmitter, + eachBatchAutoResolve = true, + partitionsConsumedConcurrently, + eachBatch, + eachMessage, + heartbeatInterval, + onCrash, + retry, + autoCommit = true, + }) { + super() + this.logger = logger.namespace('Runner') + this.consumerGroup = consumerGroup + this.instrumentationEmitter = instrumentationEmitter + this.eachBatchAutoResolve = eachBatchAutoResolve + this.eachBatch = eachBatch + this.eachMessage = eachMessage + this.heartbeatInterval = heartbeatInterval + this.retrier = createRetry(Object.assign({}, retry)) + this.onCrash = onCrash + this.autoCommit = autoCommit + this.partitionsConsumedConcurrently = partitionsConsumedConcurrently -// Get get protocol + host for a URL -function getProtohost(url) { - if (typeof url !== 'string' || url.length === 0 || url[0] === '/') { - return undefined + this.running = false + this.consuming = false } - var searchIndex = url.indexOf('?') - var pathLength = searchIndex !== -1 - ? searchIndex - : url.length - var fqdnIndex = url.slice(0, pathLength).indexOf('://') - - return fqdnIndex !== -1 - ? url.substring(0, url.indexOf('/', 3 + fqdnIndex)) - : undefined -} - -// get type for error message -function gettype(obj) { - var type = typeof obj; - - if (type !== 'object') { - return type; + get consuming() { + return this._consuming } - // inspect [[Class]] for objects - return toString.call(obj) - .replace(objectRegExp, '$1'); -} - -/** - * Match path to a layer. - * - * @param {Layer} layer - * @param {string} path - * @private - */ - -function matchLayer(layer, path) { - try { - return layer.match(path); - } catch (err) { - return err; + set consuming(value) { + if (this._consuming !== value) { + this._consuming = value + this.emit(value ? CONSUMING_START : CONSUMING_STOP) + } } -} -// merge params with parent params -function mergeParams(params, parent) { - if (typeof parent !== 'object' || !parent) { - return params; + async join() { + await this.consumerGroup.joinAndSync() + this.running = true } - // make copy of parent for base - var obj = mixin({}, parent); + async scheduleJoin() { + if (!this.running) { + this.logger.debug('consumer not running, exiting', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) + return + } - // simple non-numeric merging - if (!(0 in params) || !(0 in parent)) { - return mixin(obj, params); + return this.join().catch(this.onCrash) } - var i = 0; - var o = 0; + async start() { + if (this.running) { + return + } - // determine numeric gaps - while (i in params) { - i++; - } + try { + await this.consumerGroup.connect() + await this.join() - while (o in parent) { - o++; + this.running = true + this.scheduleFetch() + } catch (e) { + this.onCrash(e) + } } - // offset numeric indices in params before merge - for (i--; i >= 0; i--) { - params[i + o] = params[i]; - - // create holes for the merge when necessary - if (i < o) { - delete params[i]; + async stop() { + if (!this.running) { + return } - } - return mixin(obj, params); -} + this.logger.debug('stop consumer group', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) -// restore obj props after function -function restore(fn, obj) { - var props = new Array(arguments.length - 2); - var vals = new Array(arguments.length - 2); + this.running = false - for (var i = 0; i < props.length; i++) { - props[i] = arguments[i + 2]; - vals[i] = obj[props[i]]; + try { + await this.waitForConsumer() + await this.consumerGroup.leave() + } catch (e) {} } - return function () { - // restore vals - for (var i = 0; i < props.length; i++) { - obj[props[i]] = vals[i]; - } + waitForConsumer() { + return new Promise(resolve => { + if (!this.consuming) { + return resolve() + } - return fn.apply(this, arguments); - }; -} + this.logger.debug('waiting for consumer to finish...', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) -// send an OPTIONS response -function sendOptionsResponse(res, options, next) { - try { - var body = options.join(','); - res.set('Allow', body); - res.send(body); - } catch (err) { - next(err); + this.once(CONSUMING_STOP, () => resolve()) + }) } -} -// wrap a function -function wrap(old, fn) { - return function proxy() { - var args = new Array(arguments.length + 1); + async processEachMessage(batch) { + const { topic, partition } = batch - args[0] = old; - for (var i = 0, len = arguments.length; i < len; i++) { - args[i + 1] = arguments[i]; - } + for (const message of batch.messages) { + if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) { + break + } - fn.apply(this, args); - }; -} + try { + await this.eachMessage({ + topic, + partition, + message, + heartbeat: async () => { + await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) + }, + }) + } catch (e) { + if (!isKafkaJSError(e)) { + this.logger.error(`Error when calling eachMessage`, { + topic, + partition, + offset: message.offset, + stack: e.stack, + error: e, + }) + } + // In case of errors, commit the previously consumed offsets unless autoCommit is disabled + await this.autoCommitOffsets() + throw e + } -/***/ }), + this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset }) + await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) + await this.autoCommitOffsetsIfNecessary() + } + } -/***/ "./node_modules/express/lib/router/layer.js": -/*!**************************************************!*\ - !*** ./node_modules/express/lib/router/layer.js ***! - \**************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + async processEachBatch(batch) { + const { topic, partition } = batch + const lastFilteredMessage = batch.messages[batch.messages.length - 1] -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + try { + await this.eachBatch({ + batch, + resolveOffset: offset => { + /** + * The transactional producer generates a control record after committing the transaction. + * The control record is the last record on the RecordBatch, and it is filtered before it + * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't + * be able to resolve the control record offset, since it never reaches the callback, + * causing stuck consumers as the consumer will never move the offset marker. + * + * When the last offset of the batch is resolved, we should automatically resolve + * the control record offset as this entry doesn't have any meaning to the user-land code, + * and won't interfere with the stream processing. + * + * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505 + */ + const offsetToResolve = + lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset) + ? batch.lastOffset() + : offset + this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve }) + }, + heartbeat: async () => { + await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) + }, + /** + * Commit offsets if provided. Otherwise commit most recent resolved offsets + * if the autoCommit conditions are met. + * + * @param {OffsetsByTopicPartition} [offsets] Optional. + */ + commitOffsetsIfNecessary: async offsets => { + return offsets + ? this.consumerGroup.commitOffsets(offsets) + : this.consumerGroup.commitOffsetsIfNecessary() + }, + uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(), + isRunning: () => this.running, + isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }), + }) + } catch (e) { + if (!isKafkaJSError(e)) { + this.logger.error(`Error when calling eachBatch`, { + topic, + partition, + offset: batch.firstOffset(), + stack: e.stack, + error: e, + }) + } + // eachBatch has a special resolveOffset which can be used + // to keep track of the messages + await this.autoCommitOffsets() + throw e + } -/** - * Module dependencies. - * @private - */ + // resolveOffset for the last offset can be disabled to allow the users of eachBatch to + // stop their consumers without resolving unprocessed offsets (issues/18) + if (this.eachBatchAutoResolve) { + this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() }) + } + } -var pathRegexp = __webpack_require__(/*! path-to-regexp */ "./node_modules/path-to-regexp/index.js"); -var debug = __webpack_require__(/*! debug */ "./node_modules/express/node_modules/debug/src/index.js")('express:router:layer'); + async fetch() { + const startFetch = Date.now() -/** - * Module variables. - * @private - */ + this.instrumentationEmitter.emit(FETCH_START, {}) -var hasOwnProperty = Object.prototype.hasOwnProperty; + const iterator = await this.consumerGroup.fetch() -/** - * Module exports. - * @public - */ + this.instrumentationEmitter.emit(FETCH, { + /** + * PR #570 removed support for the number of batches in this instrumentation event; + * The new implementation uses an async generation to deliver the batches, which makes + * this number impossible to get. The number is set to 0 to keep the event backward + * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS. + * + * @since 2019-11-29 + */ + numberOfBatches: 0, + duration: Date.now() - startFetch, + }) -module.exports = Layer; + const onBatch = async batch => { + const startBatchProcess = Date.now() + const payload = { + topic: batch.topic, + partition: batch.partition, + highWatermark: batch.highWatermark, + offsetLag: batch.offsetLag(), + /** + * @since 2019-06-24 (>= 1.8.0) + * + * offsetLag returns the lag based on the latest offset in the batch, to + * keep the event backward compatible we just introduced "offsetLagLow" + * which calculates the lag based on the first offset in the batch + */ + offsetLagLow: batch.offsetLagLow(), + batchSize: batch.messages.length, + firstOffset: batch.firstOffset(), + lastOffset: batch.lastOffset(), + } -function Layer(path, options, fn) { - if (!(this instanceof Layer)) { - return new Layer(path, options, fn); - } + /** + * If the batch contained only control records or only aborted messages then we still + * need to resolve and auto-commit to ensure the consumer can move forward. + * + * We also need to emit batch instrumentation events to allow any listeners keeping + * track of offsets to know about the latest point of consumption. + * + * Added in #1256 + * + * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505 + */ + if (batch.isEmptyDueToFiltering()) { + this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload) - debug('new %o', path) - var opts = options || {}; + this.consumerGroup.resolveOffset({ + topic: batch.topic, + partition: batch.partition, + offset: batch.lastOffset(), + }) + await this.autoCommitOffsetsIfNecessary() - this.handle = fn; - this.name = fn.name || ''; - this.params = undefined; - this.path = undefined; - this.regexp = pathRegexp(path, this.keys = [], opts); + this.instrumentationEmitter.emit(END_BATCH_PROCESS, { + ...payload, + duration: Date.now() - startBatchProcess, + }) + return + } - // set fast path flags - this.regexp.fast_star = path === '*' - this.regexp.fast_slash = path === '/' && opts.end === false -} + if (batch.isEmpty()) { + return + } -/** - * Handle the error for the layer. - * - * @param {Error} error - * @param {Request} req - * @param {Response} res - * @param {function} next - * @api private - */ + this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload) -Layer.prototype.handle_error = function handle_error(error, req, res, next) { - var fn = this.handle; + if (this.eachMessage) { + await this.processEachMessage(batch) + } else if (this.eachBatch) { + await this.processEachBatch(batch) + } - if (fn.length !== 4) { - // not a standard error handler - return next(error); - } + this.instrumentationEmitter.emit(END_BATCH_PROCESS, { + ...payload, + duration: Date.now() - startBatchProcess, + }) - try { - fn(error, req, res, next); - } catch (err) { - next(err); - } -}; + await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) + } -/** - * Handle the request for the layer. - * - * @param {Request} req - * @param {Response} res - * @param {function} next - * @api private - */ + const { lock, unlock, unlockWithError } = barrier() + const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently }) -Layer.prototype.handle_request = function handle(req, res, next) { - var fn = this.handle; + let requestsCompleted = false + let numberOfExecutions = 0 + let expectedNumberOfExecutions = 0 + const enqueuedTasks = [] - if (fn.length > 3) { - // not a standard request handler - return next(); - } + while (true) { + const result = iterator.next() - try { - fn(req, res, next); - } catch (err) { - next(err); - } -}; + if (result.done) { + break + } -/** - * Check if this route matches `path`, if so - * populate `.params`. - * - * @param {String} path - * @return {Boolean} - * @api private - */ + if (!this.running) { + result.value.catch(error => { + this.logger.debug('Ignoring error in fetch request while stopping runner', { + error: error.message || error, + stack: error.stack, + }) + }) -Layer.prototype.match = function match(path) { - var match + continue + } - if (path != null) { - // fast path non-ending match for / (any path matches) - if (this.regexp.fast_slash) { - this.params = {} - this.path = '' - return true - } + enqueuedTasks.push(async () => { + const batches = await result.value + expectedNumberOfExecutions += batches.length - // fast path for * (everything matched in a param) - if (this.regexp.fast_star) { - this.params = {'0': decode_param(path)} - this.path = path - return true + batches.map(batch => + concurrently(async () => { + try { + if (!this.running) { + return + } + + await onBatch(batch) + } catch (e) { + unlockWithError(e) + } finally { + numberOfExecutions++ + if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) { + unlock() + } + } + }).catch(unlockWithError) + ) + }) } - // match the path - match = this.regexp.exec(path) - } + await Promise.all(enqueuedTasks.map(fn => fn())) + requestsCompleted = true - if (!match) { - this.params = undefined; - this.path = undefined; - return false; - } + if (expectedNumberOfExecutions === numberOfExecutions) { + unlock() + } - // store values - this.params = {}; - this.path = match[0] + const error = await lock + if (error) { + throw error + } - var keys = this.keys; - var params = this.params; + await this.autoCommitOffsets() + await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) + } - for (var i = 1; i < match.length; i++) { - var key = keys[i - 1]; - var prop = key.name; - var val = decode_param(match[i]) + async scheduleFetch() { + if (!this.running) { + this.logger.debug('consumer not running, exiting', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) - if (val !== undefined || !(hasOwnProperty.call(params, prop))) { - params[prop] = val; + return } - } - return true; -}; + return this.retrier(async (bail, retryCount, retryTime) => { + try { + this.consuming = true + await this.fetch() + this.consuming = false -/** - * Decode param value. - * - * @param {string} val - * @return {string} - * @private - */ + if (this.running) { + setImmediate(() => this.scheduleFetch()) + } + } catch (e) { + if (!this.running) { + this.logger.debug('consumer not running, exiting', { + error: e.message, + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) + return + } -function decode_param(val) { - if (typeof val !== 'string' || val.length === 0) { - return val; - } + if (isRebalancing(e)) { + this.logger.warn('The group is rebalancing, re-joining', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + retryCount, + retryTime, + }) - try { - return decodeURIComponent(val); - } catch (err) { - if (err instanceof URIError) { - err.message = 'Failed to decode param \'' + val + '\''; - err.status = err.statusCode = 400; - } + this.instrumentationEmitter.emit(REBALANCING, { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) - throw err; - } -} + await this.join() + setImmediate(() => this.scheduleFetch()) + return + } + if (e.type === 'UNKNOWN_MEMBER_ID') { + this.logger.error('The coordinator is not aware of this member, re-joining the group', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + retryCount, + retryTime, + }) -/***/ }), + this.consumerGroup.memberId = null + await this.join() + setImmediate(() => this.scheduleFetch()) + return + } -/***/ "./node_modules/express/lib/router/route.js": -/*!**************************************************!*\ - !*** ./node_modules/express/lib/router/route.js ***! - \**************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + if (e.name === 'KafkaJSOffsetOutOfRange') { + setImmediate(() => this.scheduleFetch()) + return + } -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + if (e.name === 'KafkaJSNotImplemented') { + return bail(e) + } + this.logger.debug('Error while fetching data, trying again...', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + stack: e.stack, + retryCount, + retryTime, + }) + throw e + } finally { + this.consuming = false + } + }).catch(this.onCrash) + } -/** - * Module dependencies. - * @private - */ + autoCommitOffsets() { + if (this.autoCommit) { + return this.consumerGroup.commitOffsets() + } + } -var debug = __webpack_require__(/*! debug */ "./node_modules/express/node_modules/debug/src/index.js")('express:router:route'); -var flatten = __webpack_require__(/*! array-flatten */ "./node_modules/array-flatten/array-flatten.js"); -var Layer = __webpack_require__(/*! ./layer */ "./node_modules/express/lib/router/layer.js"); -var methods = __webpack_require__(/*! methods */ "./node_modules/methods/index.js"); + autoCommitOffsetsIfNecessary() { + if (this.autoCommit) { + return this.consumerGroup.commitOffsetsIfNecessary() + } + } -/** - * Module variables. - * @private - */ + commitOffsets(offsets) { + if (!this.running) { + this.logger.debug('consumer not running, exiting', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + offsets, + }) + return + } -var slice = Array.prototype.slice; -var toString = Object.prototype.toString; + return this.retrier(async (bail, retryCount, retryTime) => { + try { + await this.consumerGroup.commitOffsets(offsets) + } catch (e) { + if (!this.running) { + this.logger.debug('consumer not running, exiting', { + error: e.message, + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + offsets, + }) + return + } -/** - * Module exports. - * @public - */ + if (isRebalancing(e)) { + this.logger.warn('The group is rebalancing, re-joining', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + retryCount, + retryTime, + }) -module.exports = Route; + this.instrumentationEmitter.emit(REBALANCING, { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + }) -/** - * Initialize `Route` with the given `path`, - * - * @param {String} path - * @public - */ + setImmediate(() => this.scheduleJoin()) -function Route(path) { - this.path = path; - this.stack = []; + bail(new KafkaJSError(e)) + } - debug('new %o', path) + if (e.type === 'UNKNOWN_MEMBER_ID') { + this.logger.error('The coordinator is not aware of this member, re-joining the group', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + retryCount, + retryTime, + }) - // route handlers for various http methods - this.methods = {}; -} + this.consumerGroup.memberId = null + setImmediate(() => this.scheduleJoin()) -/** - * Determine if the route handles a given method. - * @private - */ + bail(new KafkaJSError(e)) + } -Route.prototype._handles_method = function _handles_method(method) { - if (this.methods._all) { - return true; - } + if (e.name === 'KafkaJSNotImplemented') { + return bail(e) + } - var name = method.toLowerCase(); + this.logger.debug('Error while committing offsets, trying again...', { + groupId: this.consumerGroup.groupId, + memberId: this.consumerGroup.memberId, + error: e.message, + stack: e.stack, + retryCount, + retryTime, + offsets, + }) - if (name === 'head' && !this.methods['head']) { - name = 'get'; + throw e + } + }) } +} - return Boolean(this.methods[name]); -}; -/** - * @return {Array} supported HTTP methods - * @private - */ +/***/ }), -Route.prototype._options = function _options() { - var methods = Object.keys(this.methods); +/***/ "./node_modules/kafkajs/src/consumer/seekOffsets.js": +/*!**********************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/seekOffsets.js ***! + \**********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - // append automatic head - if (this.methods.get && !this.methods.head) { - methods.push('head'); +module.exports = class SeekOffsets extends Map { + set(topic, partition, offset) { + super.set([topic, partition], offset) } - for (var i = 0; i < methods.length; i++) { - // make upper case - methods[i] = methods[i].toUpperCase(); + has(topic, partition) { + return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition) } - return methods; -}; - -/** - * dispatch req, res into this route - * @private - */ - -Route.prototype.dispatch = function dispatch(req, res, done) { - var idx = 0; - var stack = this.stack; - var sync = 0 - - if (stack.length === 0) { - return done(); - } - - var method = req.method.toLowerCase(); - if (method === 'head' && !this.methods['head']) { - method = 'get'; - } - - req.route = this; - - next(); - - function next(err) { - // signal to exit route - if (err && err === 'route') { - return done(); - } - - // signal to exit router - if (err && err === 'router') { - return done(err) - } - - // max sync stack - if (++sync > 100) { - return setImmediate(next, err) - } - - var layer = stack[idx++] - - // end of layers - if (!layer) { - return done(err) - } - - if (layer.method && layer.method !== method) { - next(err) - } else if (err) { - layer.handle_error(err, req, res, next); - } else { - layer.handle_request(req, res, next); + pop() { + if (this.size === 0) { + return } - sync = 0 + const [key, offset] = this.entries().next().value + this.delete(key) + const [topic, partition] = key + return { topic, partition, offset } } -}; - -/** - * Add a handler for all HTTP verbs to this route. - * - * Behaves just like middleware and can respond or call `next` - * to continue processing. - * - * You can use multiple `.all` call to add multiple handlers. - * - * function check_something(req, res, next){ - * next(); - * }; - * - * function validate_user(req, res, next){ - * next(); - * }; - * - * route - * .all(validate_user) - * .all(check_something) - * .get(function(req, res, next){ - * res.send('hello world'); - * }); - * - * @param {function} handler - * @return {Route} for chaining - * @api public - */ +} -Route.prototype.all = function all() { - var handles = flatten(slice.call(arguments)); - for (var i = 0; i < handles.length; i++) { - var handle = handles[i]; +/***/ }), - if (typeof handle !== 'function') { - var type = toString.call(handle); - var msg = 'Route.all() requires a callback function but got a ' + type - throw new TypeError(msg); - } +/***/ "./node_modules/kafkajs/src/consumer/subscriptionState.js": +/*!****************************************************************!*\ + !*** ./node_modules/kafkajs/src/consumer/subscriptionState.js ***! + \****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module) => { - var layer = Layer('/', {}, handle); - layer.method = undefined; +const createState = topic => ({ + topic, + paused: new Set(), + pauseAll: false, + resumed: new Set(), +}) - this.methods._all = true; - this.stack.push(layer); +module.exports = class SubscriptionState { + constructor() { + this.assignedPartitionsByTopic = {} + this.subscriptionStatesByTopic = {} } - return this; -}; - -methods.forEach(function(method){ - Route.prototype[method] = function(){ - var handles = flatten(slice.call(arguments)); + /** + * Replace the current assignment with a new set of assignments + * + * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + assign(topicPartitions = []) { + this.assignedPartitionsByTopic = topicPartitions.reduce( + (assigned, { topic, partitions = [] }) => { + return { ...assigned, [topic]: { topic, partitions } } + }, + {} + ) + } - for (var i = 0; i < handles.length; i++) { - var handle = handles[i]; + /** + * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + pause(topicPartitions = []) { + topicPartitions.forEach(({ topic, partitions }) => { + const state = this.subscriptionStatesByTopic[topic] || createState(topic) - if (typeof handle !== 'function') { - var type = toString.call(handle); - var msg = 'Route.' + method + '() requires a callback function but got a ' + type - throw new Error(msg); + if (typeof partitions === 'undefined') { + state.paused.clear() + state.resumed.clear() + state.pauseAll = true + } else if (Array.isArray(partitions)) { + partitions.forEach(partition => { + state.paused.add(partition) + state.resumed.delete(partition) + }) + state.pauseAll = false } - debug('%s %o', method, this.path) - - var layer = Layer('/', {}, handle); - layer.method = method; - - this.methods[method] = true; - this.stack.push(layer); - } - - return this; - }; -}); + this.subscriptionStatesByTopic[topic] = state + }) + } + /** + * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + resume(topicPartitions = []) { + topicPartitions.forEach(({ topic, partitions }) => { + const state = this.subscriptionStatesByTopic[topic] || createState(topic) -/***/ }), + if (typeof partitions === 'undefined') { + state.paused.clear() + state.resumed.clear() + state.pauseAll = false + } else if (Array.isArray(partitions)) { + partitions.forEach(partition => { + state.paused.delete(partition) -/***/ "./node_modules/express/lib/utils.js": -/*!*******************************************!*\ - !*** ./node_modules/express/lib/utils.js ***! - \*******************************************/ -/*! default exports */ -/*! export compileETag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compileQueryParser [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compileTrust [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export contentDisposition [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export etag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export flatten [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export isAbsolute [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export normalizeType [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export normalizeTypes [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export setCharset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export wetag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/*! CommonJS bailout: exports.normalizeType(...) prevents optimization as exports is passed as call context as 99:13-34 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + if (state.pauseAll) { + state.resumed.add(partition) + } + }) + } -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ + this.subscriptionStatesByTopic[topic] = state + }) + } + /** + * @returns {Array} topicPartitions + * Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + assigned() { + return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({ + topic, + partitions: partitions.sort(), + })) + } + /** + * @returns {Array} topicPartitions + * Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + active() { + return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({ + topic, + partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(), + })) + } -/** - * Module dependencies. - * @api private - */ + /** + * @returns {Array} topicPartitions + * Example: [{ topic: 'topic-name', partitions: [1, 2] }] + */ + paused() { + return Object.values(this.assignedPartitionsByTopic) + .map(({ topic, partitions }) => ({ + topic, + partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(), + })) + .filter(({ partitions }) => partitions.length !== 0) + } -var Buffer = __webpack_require__(/*! safe-buffer */ "./node_modules/safe-buffer/index.js").Buffer -var contentDisposition = __webpack_require__(/*! content-disposition */ "./node_modules/content-disposition/index.js"); -var contentType = __webpack_require__(/*! content-type */ "./node_modules/content-type/index.js"); -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('express'); -var flatten = __webpack_require__(/*! array-flatten */ "./node_modules/array-flatten/array-flatten.js"); -var mime = __webpack_require__(/*! send */ "./node_modules/send/index.js").mime; -var etag = __webpack_require__(/*! etag */ "./node_modules/etag/index.js"); -var proxyaddr = __webpack_require__(/*! proxy-addr */ "./node_modules/proxy-addr/index.js"); -var qs = __webpack_require__(/*! qs */ "./node_modules/qs/lib/index.js"); -var querystring = __webpack_require__(/*! querystring */ "querystring"); - -/** - * Return strong ETag for `body`. - * - * @param {String|Buffer} body - * @param {String} [encoding] - * @return {String} - * @api private - */ + isPaused(topic, partition) { + const state = this.subscriptionStatesByTopic[topic] -exports.etag = createETagGenerator({ weak: false }) + if (!state) { + return false + } -/** - * Return weak ETag for `body`. - * - * @param {String|Buffer} body - * @param {String} [encoding] - * @return {String} - * @api private - */ + const partitionResumed = state.resumed.has(partition) + const partitionPaused = state.paused.has(partition) -exports.wetag = createETagGenerator({ weak: true }) + return (state.pauseAll && !partitionResumed) || partitionPaused + } +} -/** - * Check if `path` looks absolute. - * - * @param {String} path - * @return {Boolean} - * @api private - */ -exports.isAbsolute = function(path){ - if ('/' === path[0]) return true; - if (':' === path[1] && ('\\' === path[2] || '/' === path[2])) return true; // Windows device path - if ('\\\\' === path.substring(0, 2)) return true; // Microsoft Azure absolute path -}; +/***/ }), -/** - * Flatten the given `arr`. - * - * @param {Array} arr - * @return {Array} - * @api private - */ +/***/ "./node_modules/kafkajs/src/env.js": +/*!*****************************************!*\ + !*** ./node_modules/kafkajs/src/env.js ***! + \*****************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -exports.flatten = deprecate.function(flatten, - 'utils.flatten: use array-flatten npm module instead'); +module.exports = () => ({ + KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS, + KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS, +}) -/** - * Normalize the given `type`, for example "html" becomes "text/html". - * - * @param {String} type - * @return {Object} - * @api private - */ -exports.normalizeType = function(type){ - return ~type.indexOf('/') - ? acceptParams(type) - : { value: mime.lookup(type), params: {} }; -}; +/***/ }), -/** - * Normalize `types`, for example "html" becomes "text/html". - * - * @param {Array} types - * @return {Array} - * @api private - */ +/***/ "./node_modules/kafkajs/src/errors.js": +/*!********************************************!*\ + !*** ./node_modules/kafkajs/src/errors.js ***! + \********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 244:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.normalizeTypes = function(types){ - var ret = []; +const pkgJson = __webpack_require__(/*! ../package.json */ "./node_modules/kafkajs/package.json") +const { bugs } = pkgJson - for (var i = 0; i < types.length; ++i) { - ret.push(exports.normalizeType(types[i])); +class KafkaJSError extends Error { + constructor(e, { retriable = true } = {}) { + super(e) + Error.captureStackTrace(this, this.constructor) + this.message = e.message || e + this.name = 'KafkaJSError' + this.retriable = retriable + this.helpUrl = e.helpUrl } +} - return ret; -}; - -/** - * Generate Content-Disposition header appropriate for the filename. - * non-ascii filenames are urlencoded and a filename* parameter is added - * - * @param {String} filename - * @return {String} - * @api private - */ - -exports.contentDisposition = deprecate.function(contentDisposition, - 'utils.contentDisposition: use content-disposition npm module instead'); - -/** - * Parse accept params `str` returning an - * object with `.value`, `.quality` and `.params`. - * also includes `.originalIndex` for stable sorting - * - * @param {String} str - * @param {Number} index - * @return {Object} - * @api private - */ - -function acceptParams(str, index) { - var parts = str.split(/ *; */); - var ret = { value: parts[0], quality: 1, params: {}, originalIndex: index }; - - for (var i = 1; i < parts.length; ++i) { - var pms = parts[i].split(/ *= */); - if ('q' === pms[0]) { - ret.quality = parseFloat(pms[1]); - } else { - ret.params[pms[0]] = pms[1]; - } +class KafkaJSNonRetriableError extends KafkaJSError { + constructor(e) { + super(e, { retriable: false }) + this.name = 'KafkaJSNonRetriableError' + this.originalError = e } - - return ret; } -/** - * Compile "etag" value to function. - * - * @param {Boolean|String|Function} val - * @return {Function} - * @api private - */ - -exports.compileETag = function(val) { - var fn; +class KafkaJSProtocolError extends KafkaJSError { + constructor(e, { retriable = e.retriable } = {}) { + super(e, { retriable }) + this.type = e.type + this.code = e.code + this.name = 'KafkaJSProtocolError' + } +} - if (typeof val === 'function') { - return val; +class KafkaJSOffsetOutOfRange extends KafkaJSProtocolError { + constructor(e, { topic, partition }) { + super(e) + this.topic = topic + this.partition = partition + this.name = 'KafkaJSOffsetOutOfRange' } +} - switch (val) { - case true: - case 'weak': - fn = exports.wetag; - break; - case false: - break; - case 'strong': - fn = exports.etag; - break; - default: - throw new TypeError('unknown value for etag function: ' + val); +class KafkaJSMemberIdRequired extends KafkaJSProtocolError { + constructor(e, { memberId }) { + super(e) + this.memberId = memberId + this.name = 'KafkaJSMemberIdRequired' } +} - return fn; +class KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError { + constructor(e, { retryCount, retryTime }) { + super(e) + this.stack = `${this.name}\n Caused by: ${e.stack}` + this.originalError = e + this.retryCount = retryCount + this.retryTime = retryTime + this.name = 'KafkaJSNumberOfRetriesExceeded' + } } -/** - * Compile "query parser" value to function. - * - * @param {String|Function} val - * @return {Function} - * @api private - */ +class KafkaJSConnectionError extends KafkaJSError { + constructor(e, { broker, code } = {}) { + super(e) + this.broker = broker + this.code = code + this.name = 'KafkaJSConnectionError' + } +} -exports.compileQueryParser = function compileQueryParser(val) { - var fn; +class KafkaJSConnectionClosedError extends KafkaJSConnectionError { + constructor(e, { host, port } = {}) { + super(e, { broker: `${host}:${port}` }) + this.host = host + this.port = port + this.name = 'KafkaJSConnectionClosedError' + } +} - if (typeof val === 'function') { - return val; +class KafkaJSRequestTimeoutError extends KafkaJSError { + constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) { + super(e) + this.broker = broker + this.correlationId = correlationId + this.createdAt = createdAt + this.sentAt = sentAt + this.pendingDuration = pendingDuration + this.name = 'KafkaJSRequestTimeoutError' } +} - switch (val) { - case true: - case 'simple': - fn = querystring.parse; - break; - case false: - fn = newObject; - break; - case 'extended': - fn = parseExtendedQueryString; - break; - default: - throw new TypeError('unknown value for query parser function: ' + val); +class KafkaJSMetadataNotLoaded extends KafkaJSError { + constructor() { + super(...arguments) + this.name = 'KafkaJSMetadataNotLoaded' + } +} +class KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded { + constructor(e, { topic } = {}) { + super(e) + this.topic = topic + this.name = 'KafkaJSTopicMetadataNotLoaded' + } +} +class KafkaJSStaleTopicMetadataAssignment extends KafkaJSError { + constructor(e, { topic, unknownPartitions } = {}) { + super(e) + this.topic = topic + this.unknownPartitions = unknownPartitions + this.name = 'KafkaJSStaleTopicMetadataAssignment' } +} - return fn; +class KafkaJSDeleteGroupsError extends KafkaJSError { + constructor(e, groups = []) { + super(e) + this.groups = groups + this.name = 'KafkaJSDeleteGroupsError' + } } -/** - * Compile "proxy trust" value to function. - * - * @param {Boolean|String|Number|Array|Function} val - * @return {Function} - * @api private - */ +class KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError { + constructor(e, { apiKey, apiName } = {}) { + super(e) + this.apiKey = apiKey + this.apiName = apiName + this.name = 'KafkaJSServerDoesNotSupportApiKey' + } +} -exports.compileTrust = function(val) { - if (typeof val === 'function') return val; +class KafkaJSBrokerNotFound extends KafkaJSError { + constructor() { + super(...arguments) + this.name = 'KafkaJSBrokerNotFound' + } +} - if (val === true) { - // Support plain true/false - return function(){ return true }; +class KafkaJSPartialMessageError extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSPartialMessageError' } +} - if (typeof val === 'number') { - // Support trusting hop count - return function(a, i){ return i < val }; +class KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSSASLAuthenticationError' } +} - if (typeof val === 'string') { - // Support comma-separated values - val = val.split(',') - .map(function (v) { return v.trim() }) +class KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSGroupCoordinatorNotFound' } +} - return proxyaddr.compile(val || []); +class KafkaJSNotImplemented extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSNotImplemented' + } } -/** - * Set the charset in a given Content-Type string. - * - * @param {String} type - * @param {String} charset - * @return {String} - * @api private - */ +class KafkaJSTimeout extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSTimeout' + } +} -exports.setCharset = function setCharset(type, charset) { - if (!type || !charset) { - return type; +class KafkaJSLockTimeout extends KafkaJSTimeout { + constructor() { + super(...arguments) + this.name = 'KafkaJSLockTimeout' } +} - // parse type - var parsed = contentType.parse(type); +class KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSUnsupportedMagicByteInMessageSet' + } +} - // set charset - parsed.parameters.charset = charset; +class KafkaJSDeleteTopicRecordsError extends KafkaJSError { + constructor({ partitions }) { + /* + * This error is retriable if all the errors were retriable + */ + const retriable = partitions + .filter(({ error }) => error != null) + .every(({ error }) => error.retriable === true) - // format type - return contentType.format(parsed); -}; + super('Error while deleting records', { retriable }) + this.name = 'KafkaJSDeleteTopicRecordsError' + this.partitions = partitions + } +} -/** - * Create an ETag generator function, generating ETags with - * the given options. - * - * @param {object} options - * @return {function} - * @private - */ +const issueUrl = bugs ? bugs.url : null -function createETagGenerator (options) { - return function generateETag (body, encoding) { - var buf = !Buffer.isBuffer(body) - ? Buffer.from(body, encoding) - : body +class KafkaJSInvariantViolation extends KafkaJSNonRetriableError { + constructor(e) { + const message = e.message || e + super(`Invariant violated: ${message}. This is likely a bug and should be reported.`) + this.name = 'KafkaJSInvariantViolation' - return etag(buf, options) + if (issueUrl !== null) { + const issueTitle = encodeURIComponent(`Invariant violation: ${message}`) + this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}` + } } } -/** - * Parse an extended query string with qs. - * - * @return {Object} - * @private - */ - -function parseExtendedQueryString(str) { - return qs.parse(str, { - allowPrototypes: true - }); +class KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSNonRetriableError' + } } -/** - * Return new empty object. - * - * @return {Object} - * @api private - */ - -function newObject() { - return {}; +class KafkaJSInvalidLongError extends KafkaJSNonRetriableError { + constructor() { + super(...arguments) + this.name = 'KafkaJSNonRetriableError' + } } +class KafkaJSCreateTopicError extends KafkaJSProtocolError { + constructor(e, topicName) { + super(e) + this.topic = topicName + this.name = 'KafkaJSCreateTopicError' + } +} +class KafkaJSAggregateError extends Error { + constructor(message, errors) { + super(message) + this.errors = errors + this.name = 'KafkaJSAggregateError' + } +} -/***/ }), - -/***/ "./node_modules/express/lib/view.js": -/*!******************************************!*\ - !*** ./node_modules/express/lib/view.js ***! - \******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * express - * Copyright(c) 2009-2013 TJ Holowaychuk - * Copyright(c) 2013 Roman Shtylman - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var debug = __webpack_require__(/*! debug */ "./node_modules/express/node_modules/debug/src/index.js")('express:view'); -var path = __webpack_require__(/*! path */ "path"); -var fs = __webpack_require__(/*! fs */ "fs"); +module.exports = { + KafkaJSError, + KafkaJSNonRetriableError, + KafkaJSPartialMessageError, + KafkaJSBrokerNotFound, + KafkaJSProtocolError, + KafkaJSConnectionError, + KafkaJSConnectionClosedError, + KafkaJSRequestTimeoutError, + KafkaJSSASLAuthenticationError, + KafkaJSNumberOfRetriesExceeded, + KafkaJSOffsetOutOfRange, + KafkaJSMemberIdRequired, + KafkaJSGroupCoordinatorNotFound, + KafkaJSNotImplemented, + KafkaJSMetadataNotLoaded, + KafkaJSTopicMetadataNotLoaded, + KafkaJSStaleTopicMetadataAssignment, + KafkaJSDeleteGroupsError, + KafkaJSTimeout, + KafkaJSLockTimeout, + KafkaJSServerDoesNotSupportApiKey, + KafkaJSUnsupportedMagicByteInMessageSet, + KafkaJSDeleteTopicRecordsError, + KafkaJSInvariantViolation, + KafkaJSInvalidVarIntError, + KafkaJSInvalidLongError, + KafkaJSCreateTopicError, + KafkaJSAggregateError, +} -/** - * Module variables. - * @private - */ -var dirname = path.dirname; -var basename = path.basename; -var extname = path.extname; -var join = path.join; -var resolve = path.resolve; +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/kafkajs/src/index.js": +/*!*******************************************!*\ + !*** ./node_modules/kafkajs/src/index.js ***! + \*******************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = View; +const { + createLogger, + LEVELS: { INFO }, +} = __webpack_require__(/*! ./loggers */ "./node_modules/kafkajs/src/loggers/index.js") -/** - * Initialize a new `View` with the given `name`. - * - * Options: - * - * - `defaultEngine` the default template engine name - * - `engines` template engine require() cache - * - `root` root path for view lookup - * - * @param {string} name - * @param {object} options - * @public - */ +const InstrumentationEventEmitter = __webpack_require__(/*! ./instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") +const LoggerConsole = __webpack_require__(/*! ./loggers/console */ "./node_modules/kafkajs/src/loggers/console.js") +const Cluster = __webpack_require__(/*! ./cluster */ "./node_modules/kafkajs/src/cluster/index.js") +const createProducer = __webpack_require__(/*! ./producer */ "./node_modules/kafkajs/src/producer/index.js") +const createConsumer = __webpack_require__(/*! ./consumer */ "./node_modules/kafkajs/src/consumer/index.js") +const createAdmin = __webpack_require__(/*! ./admin */ "./node_modules/kafkajs/src/admin/index.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ./protocol/isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") +const defaultSocketFactory = __webpack_require__(/*! ./network/socketFactory */ "./node_modules/kafkajs/src/network/socketFactory.js") -function View(name, options) { - var opts = options || {}; +const PRIVATE = { + CREATE_CLUSTER: Symbol('private:Kafka:createCluster'), + CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'), + LOGGER: Symbol('private:Kafka:logger'), + OFFSETS: Symbol('private:Kafka:offsets'), +} - this.defaultEngine = opts.defaultEngine; - this.ext = extname(name); - this.name = name; - this.root = opts.root; +const DEFAULT_METADATA_MAX_AGE = 300000 - if (!this.ext && !this.defaultEngine) { - throw new Error('No default engine was specified and no extension was provided.'); +module.exports = class Client { + /** + * @param {Object} options + * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094'] + * @param {Object} options.ssl + * @param {Object} options.sasl + * @param {string} options.clientId + * @param {number} options.connectionTimeout - in milliseconds + * @param {number} options.authenticationTimeout - in milliseconds + * @param {number} options.reauthenticationThreshold - in milliseconds + * @param {number} [options.requestTimeout=30000] - in milliseconds + * @param {boolean} [options.enforceRequestTimeout] + * @param {import("../types").RetryOptions} [options.retry] + * @param {import("../types").ISocketFactory} [options.socketFactory] + */ + constructor({ + brokers, + ssl, + sasl, + clientId, + connectionTimeout, + authenticationTimeout, + reauthenticationThreshold, + requestTimeout, + enforceRequestTimeout = false, + retry, + socketFactory = defaultSocketFactory(), + logLevel = INFO, + logCreator = LoggerConsole, + }) { + this[PRIVATE.OFFSETS] = new Map() + this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator }) + this[PRIVATE.CLUSTER_RETRY] = retry + this[PRIVATE.CREATE_CLUSTER] = ({ + metadataMaxAge, + allowAutoTopicCreation = true, + maxInFlightRequests = null, + instrumentationEmitter = null, + isolationLevel, + }) => + new Cluster({ + logger: this[PRIVATE.LOGGER], + retry: this[PRIVATE.CLUSTER_RETRY], + offsets: this[PRIVATE.OFFSETS], + socketFactory, + brokers, + ssl, + sasl, + clientId, + connectionTimeout, + authenticationTimeout, + reauthenticationThreshold, + requestTimeout, + enforceRequestTimeout, + metadataMaxAge, + instrumentationEmitter, + allowAutoTopicCreation, + maxInFlightRequests, + isolationLevel, + }) } - var fileName = name; - - if (!this.ext) { - // get extension from default engine name - this.ext = this.defaultEngine[0] !== '.' - ? '.' + this.defaultEngine - : this.defaultEngine; + /** + * @public + */ + producer({ + createPartitioner, + retry, + metadataMaxAge = DEFAULT_METADATA_MAX_AGE, + allowAutoTopicCreation, + idempotent, + transactionalId, + transactionTimeout, + maxInFlightRequests, + } = {}) { + const instrumentationEmitter = new InstrumentationEventEmitter() + const cluster = this[PRIVATE.CREATE_CLUSTER]({ + metadataMaxAge, + allowAutoTopicCreation, + maxInFlightRequests, + instrumentationEmitter, + }) - fileName += this.ext; + return createProducer({ + retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, + logger: this[PRIVATE.LOGGER], + cluster, + createPartitioner, + idempotent, + transactionalId, + transactionTimeout, + instrumentationEmitter, + }) } - if (!opts.engines[this.ext]) { - // load engine - var mod = this.ext.slice(1) - debug('require "%s"', mod) - - // default engine export - var fn = __webpack_require__("./node_modules/express/lib sync recursive")(mod).__express + /** + * @public + */ + consumer({ + groupId, + partitionAssigners, + metadataMaxAge = DEFAULT_METADATA_MAX_AGE, + sessionTimeout, + rebalanceTimeout, + heartbeatInterval, + maxBytesPerPartition, + minBytes, + maxBytes, + maxWaitTimeInMs, + retry = { retries: 5 }, + allowAutoTopicCreation, + maxInFlightRequests, + readUncommitted = false, + rackId = '', + } = {}) { + const isolationLevel = readUncommitted + ? ISOLATION_LEVEL.READ_UNCOMMITTED + : ISOLATION_LEVEL.READ_COMMITTED - if (typeof fn !== 'function') { - throw new Error('Module "' + mod + '" does not provide a view engine.') - } + const instrumentationEmitter = new InstrumentationEventEmitter() + const cluster = this[PRIVATE.CREATE_CLUSTER]({ + metadataMaxAge, + allowAutoTopicCreation, + maxInFlightRequests, + isolationLevel, + instrumentationEmitter, + }) - opts.engines[this.ext] = fn + return createConsumer({ + retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, + logger: this[PRIVATE.LOGGER], + cluster, + groupId, + partitionAssigners, + sessionTimeout, + rebalanceTimeout, + heartbeatInterval, + maxBytesPerPartition, + minBytes, + maxBytes, + maxWaitTimeInMs, + isolationLevel, + instrumentationEmitter, + rackId, + metadataMaxAge, + }) } - // store loaded engine - this.engine = opts.engines[this.ext]; - - // lookup path - this.path = this.lookup(fileName); -} - -/** - * Lookup view by the given `name` - * - * @param {string} name - * @private - */ - -View.prototype.lookup = function lookup(name) { - var path; - var roots = [].concat(this.root); - - debug('lookup "%s"', name); - - for (var i = 0; i < roots.length && !path; i++) { - var root = roots[i]; - - // resolve the path - var loc = resolve(root, name); - var dir = dirname(loc); - var file = basename(loc); + /** + * @public + */ + admin({ retry } = {}) { + const instrumentationEmitter = new InstrumentationEventEmitter() + const cluster = this[PRIVATE.CREATE_CLUSTER]({ + allowAutoTopicCreation: false, + instrumentationEmitter, + }) - // resolve the file - path = this.resolve(dir, file); + return createAdmin({ + retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, + logger: this[PRIVATE.LOGGER], + instrumentationEmitter, + cluster, + }) } - return path; -}; - -/** - * Render with the given options. - * - * @param {object} options - * @param {function} callback - * @private - */ + /** + * @public + */ + logger() { + return this[PRIVATE.LOGGER] + } +} -View.prototype.render = function render(options, callback) { - debug('render "%s"', this.path); - this.engine(this.path, options, callback); -}; -/** - * Resolve the file within the given directory. - * - * @param {string} dir - * @param {string} file - * @private - */ +/***/ }), -View.prototype.resolve = function resolve(dir, file) { - var ext = this.ext; +/***/ "./node_modules/kafkajs/src/instrumentation/emitter.js": +/*!*************************************************************!*\ + !*** ./node_modules/kafkajs/src/instrumentation/emitter.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // . - var path = join(dir, file); - var stat = tryStat(path); +const { EventEmitter } = __webpack_require__(/*! events */ "events") +const InstrumentationEvent = __webpack_require__(/*! ./event */ "./node_modules/kafkajs/src/instrumentation/event.js") +const { KafkaJSError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - if (stat && stat.isFile()) { - return path; +module.exports = class InstrumentationEventEmitter { + constructor() { + this.emitter = new EventEmitter() } - // /index. - path = join(dir, basename(file, ext), 'index' + ext); - stat = tryStat(path); + /** + * @param {string} eventName + * @param {Object} payload + */ + emit(eventName, payload) { + if (!eventName) { + throw new KafkaJSError('Invalid event name', { retriable: false }) + } - if (stat && stat.isFile()) { - return path; + if (this.emitter.listenerCount(eventName) > 0) { + const event = new InstrumentationEvent(eventName, payload) + this.emitter.emit(eventName, event) + } } -}; - -/** - * Return a stat, maybe. - * - * @param {string} path - * @return {fs.Stats} - * @private - */ -function tryStat(path) { - debug('stat "%s"', path); - - try { - return fs.statSync(path); - } catch (e) { - return undefined; + /** + * @param {string} eventName + * @param {(...args: any[]) => void} listener + * @returns {import("../../types").RemoveInstrumentationEventListener} removeListener + */ + addListener(eventName, listener) { + this.emitter.addListener(eventName, listener) + return () => this.emitter.removeListener(eventName, listener) } } /***/ }), -/***/ "./node_modules/express/lib sync recursive": -/*!***************************************!*\ - !*** ./node_modules/express/lib sync ***! - \***************************************/ -/*! default exports */ -/*! exports [not provided] [no usage info] */ -/*! runtime requirements: module, __webpack_require__.o */ +/***/ "./node_modules/kafkajs/src/instrumentation/event.js": +/*!***********************************************************!*\ + !*** ./node_modules/kafkajs/src/instrumentation/event.js ***! + \***********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ /***/ ((module) => { -function webpackEmptyContext(req) { - var e = new Error("Cannot find module '" + req + "'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; -} -webpackEmptyContext.keys = () => []; -webpackEmptyContext.resolve = webpackEmptyContext; -webpackEmptyContext.id = "./node_modules/express/lib sync recursive"; -module.exports = webpackEmptyContext; +let id = 0 +const nextId = () => { + if (id === Number.MAX_VALUE) { + id = 0 + } -/***/ }), + return id++ +} -/***/ "./node_modules/express/node_modules/cookie/index.js": -/*!***********************************************************!*\ - !*** ./node_modules/express/node_modules/cookie/index.js ***! - \***********************************************************/ -/*! default exports */ -/*! export parse [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export serialize [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { +class InstrumentationEvent { + /** + * @param {String} type + * @param {Object} payload + */ + constructor(type, payload) { + this.id = nextId() + this.type = type + this.timestamp = Date.now() + this.payload = payload + } +} -"use strict"; -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ +module.exports = InstrumentationEvent +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/kafkajs/src/instrumentation/eventType.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/instrumentation/eventType.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -exports.parse = parse; -exports.serialize = serialize; +module.exports = namespace => type => `${namespace}.${type}` -/** - * Module variables. - * @private - */ -var __toString = Object.prototype.toString +/***/ }), -/** - * RegExp to match field-content in RFC 7230 sec 3.2 - * - * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] - * field-vchar = VCHAR / obs-text - * obs-text = %x80-FF - */ +/***/ "./node_modules/kafkajs/src/loggers/console.js": +/*!*****************************************************!*\ + !*** ./node_modules/kafkajs/src/loggers/console.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; +const { LEVELS: logLevel } = __webpack_require__(/*! ./index */ "./node_modules/kafkajs/src/loggers/index.js") -/** - * Parse a cookie header. - * - * Parse the given cookie header string into an object - * The object has the various cookies as keys(names) => values - * - * @param {string} str - * @param {object} [options] - * @return {object} - * @public - */ +module.exports = () => ({ namespace, level, label, log }) => { + const prefix = namespace ? `[${namespace}] ` : '' + const message = JSON.stringify( + Object.assign({ level: label }, log, { + message: `${prefix}${log.message}`, + }) + ) -function parse(str, options) { - if (typeof str !== 'string') { - throw new TypeError('argument str must be a string'); + switch (level) { + case logLevel.INFO: + return console.info(message) + case logLevel.ERROR: + return console.error(message) + case logLevel.WARN: + return console.warn(message) + case logLevel.DEBUG: + return console.log(message) } +} - var obj = {} - var opt = options || {}; - var dec = opt.decode || decode; - var index = 0 - while (index < str.length) { - var eqIdx = str.indexOf('=', index) +/***/ }), - // no more cookie pairs - if (eqIdx === -1) { - break - } +/***/ "./node_modules/kafkajs/src/loggers/index.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/loggers/index.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 65:0-14 */ +/***/ ((module) => { - var endIdx = str.indexOf(';', index) +const { assign } = Object - if (endIdx === -1) { - endIdx = str.length - } else if (endIdx < eqIdx) { - // backtrack on prior semicolon - index = str.lastIndexOf(';', eqIdx - 1) + 1 - continue - } +const LEVELS = { + NOTHING: 0, + ERROR: 1, + WARN: 2, + INFO: 4, + DEBUG: 5, +} - var key = str.slice(index, eqIdx).trim() +const createLevel = (label, level, currentLevel, namespace, logFunction) => ( + message, + extra = {} +) => { + if (level > currentLevel()) return + logFunction({ + namespace, + level, + label, + log: assign( + { + timestamp: new Date().toISOString(), + logger: 'kafkajs', + message, + }, + extra + ), + }) +} - // only assign once - if (undefined === obj[key]) { - var val = str.slice(eqIdx + 1, endIdx).trim() +const evaluateLogLevel = logLevel => { + const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase() + return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel] +} - // quoted values - if (val.charCodeAt(0) === 0x22) { - val = val.slice(1, -1) - } +const createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => { + let logLevel = evaluateLogLevel(level) + const logFunction = logCreator(logLevel) - obj[key] = tryDecode(val, dec); + const createNamespace = (namespace, logLevel = null) => { + const namespaceLogLevel = evaluateLogLevel(logLevel) + return createLogFunctions(namespace, namespaceLogLevel) + } + + const createLogFunctions = (namespace, namespaceLogLevel = null) => { + const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel) + const logger = { + info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction), + error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction), + warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction), + debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction), } - index = endIdx + 1 + return assign(logger, { + namespace: createNamespace, + setLogLevel: newLevel => { + logLevel = newLevel + }, + }) } - return obj; + return createLogFunctions() } -/** - * Serialize data into a cookie header. - * - * Serialize the a name value pair into a cookie string suitable for - * http headers. An optional options object specified cookie parameters. - * - * serialize('foo', 'bar', { httpOnly: true }) - * => "foo=bar; httpOnly" - * - * @param {string} name - * @param {string} val - * @param {object} [options] - * @return {string} - * @public - */ +module.exports = { + LEVELS, + createLogger, +} -function serialize(name, val, options) { - var opt = options || {}; - var enc = opt.encode || encode; - if (typeof enc !== 'function') { - throw new TypeError('option encode is invalid'); - } +/***/ }), - if (!fieldContentRegExp.test(name)) { - throw new TypeError('argument name is invalid'); - } +/***/ "./node_modules/kafkajs/src/network/connection.js": +/*!********************************************************!*\ + !*** ./node_modules/kafkajs/src/network/connection.js ***! + \********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var value = enc(val); +const createSocket = __webpack_require__(/*! ./socket */ "./node_modules/kafkajs/src/network/socket.js") +const createRequest = __webpack_require__(/*! ../protocol/request */ "./node_modules/kafkajs/src/protocol/request.js") +const Decoder = __webpack_require__(/*! ../protocol/decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { KafkaJSConnectionError, KafkaJSConnectionClosedError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const { INT_32_MAX_VALUE } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") +const getEnv = __webpack_require__(/*! ../env */ "./node_modules/kafkajs/src/env.js") +const RequestQueue = __webpack_require__(/*! ./requestQueue */ "./node_modules/kafkajs/src/network/requestQueue/index.js") +const { CONNECTION_STATUS, CONNECTED_STATUS } = __webpack_require__(/*! ./connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") - if (value && !fieldContentRegExp.test(value)) { - throw new TypeError('argument val is invalid'); - } +const requestInfo = ({ apiName, apiKey, apiVersion }) => + `${apiName}(key: ${apiKey}, version: ${apiVersion})` - var str = name + '=' + value; +module.exports = class Connection { + /** + * @param {Object} options + * @param {string} options.host + * @param {number} options.port + * @param {import("../../types").Logger} options.logger + * @param {import("../../types").ISocketFactory} options.socketFactory + * @param {string} [options.clientId='kafkajs'] + * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request, + * in milliseconds + * @param {string} [options.rack=null] + * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options, + * usually "cert", "key" and "ca". More information at + * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options + * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the + * key "mechanism". Connection is not actively using the SASL attributes + * but acting as a data object for this information + * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds + * @param {boolean} [options.enforceRequestTimeout] + * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before + * enqueuing + * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter=null] + */ + constructor({ + host, + port, + logger, + socketFactory, + requestTimeout, + rack = null, + ssl = null, + sasl = null, + clientId = 'kafkajs', + connectionTimeout = 1000, + enforceRequestTimeout = false, + maxInFlightRequests = null, + instrumentationEmitter = null, + }) { + this.host = host + this.port = port + this.rack = rack + this.clientId = clientId + this.broker = `${this.host}:${this.port}` + this.logger = logger.namespace('Connection') - if (null != opt.maxAge) { - var maxAge = opt.maxAge - 0; + this.socketFactory = socketFactory + this.ssl = ssl + this.sasl = sasl - if (isNaN(maxAge) || !isFinite(maxAge)) { - throw new TypeError('option maxAge is invalid') - } + this.requestTimeout = requestTimeout + this.connectionTimeout = connectionTimeout - str += '; Max-Age=' + Math.floor(maxAge); - } + this.bytesBuffered = 0 + this.bytesNeeded = Decoder.int32Size() + this.chunks = [] - if (opt.domain) { - if (!fieldContentRegExp.test(opt.domain)) { - throw new TypeError('option domain is invalid'); - } + this.connectionStatus = CONNECTION_STATUS.DISCONNECTED + this.correlationId = 0 + this.requestQueue = new RequestQueue({ + instrumentationEmitter, + maxInFlightRequests, + requestTimeout, + enforceRequestTimeout, + clientId, + broker: this.broker, + logger: logger.namespace('RequestQueue'), + isConnected: () => this.connected, + }) - str += '; Domain=' + opt.domain; - } + this.authHandlers = null + this.authExpectResponse = false - if (opt.path) { - if (!fieldContentRegExp.test(opt.path)) { - throw new TypeError('option path is invalid'); + const log = level => (message, extra = {}) => { + const logFn = this.logger[level] + logFn(message, { broker: this.broker, clientId, ...extra }) } - str += '; Path=' + opt.path; - } - - if (opt.expires) { - var expires = opt.expires - - if (!isDate(expires) || isNaN(expires.valueOf())) { - throw new TypeError('option expires is invalid'); - } + this.logDebug = log('debug') + this.logError = log('error') - str += '; Expires=' + expires.toUTCString() + const env = getEnv() + this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1' + this.shouldLogFetchBuffer = + this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1' } - if (opt.httpOnly) { - str += '; HttpOnly'; + get connected() { + return CONNECTED_STATUS.includes(this.connectionStatus) } - if (opt.secure) { - str += '; Secure'; - } + /** + * @public + * @returns {Promise} + */ + connect() { + return new Promise((resolve, reject) => { + if (this.connected) { + return resolve(true) + } - if (opt.priority) { - var priority = typeof opt.priority === 'string' - ? opt.priority.toLowerCase() - : opt.priority + let timeoutId - switch (priority) { - case 'low': - str += '; Priority=Low' - break - case 'medium': - str += '; Priority=Medium' - break - case 'high': - str += '; Priority=High' - break - default: - throw new TypeError('option priority is invalid') - } - } + const onConnect = () => { + clearTimeout(timeoutId) + this.connectionStatus = CONNECTION_STATUS.CONNECTED + this.requestQueue.scheduleRequestTimeoutCheck() + resolve(true) + } - if (opt.sameSite) { - var sameSite = typeof opt.sameSite === 'string' - ? opt.sameSite.toLowerCase() : opt.sameSite; + const onData = data => { + this.processData(data) + } - switch (sameSite) { - case true: - str += '; SameSite=Strict'; - break; - case 'lax': - str += '; SameSite=Lax'; - break; - case 'strict': - str += '; SameSite=Strict'; - break; - case 'none': - str += '; SameSite=None'; - break; - default: - throw new TypeError('option sameSite is invalid'); - } - } + const onEnd = async () => { + clearTimeout(timeoutId) - return str; -} + const wasConnected = this.connected -/** - * URL-decode string value. Optimized to skip native call when no %. - * - * @param {string} str - * @returns {string} - */ + if (this.authHandlers) { + this.authHandlers.onError() + } else if (wasConnected) { + this.logDebug('Kafka server has closed connection') + this.rejectRequests( + new KafkaJSConnectionClosedError('Closed connection', { + host: this.host, + port: this.port, + }) + ) + } -function decode (str) { - return str.indexOf('%') !== -1 - ? decodeURIComponent(str) - : str -} + await this.disconnect() + } -/** - * URL-encode value. - * - * @param {string} str - * @returns {string} - */ + const onError = async e => { + clearTimeout(timeoutId) -function encode (val) { - return encodeURIComponent(val) -} + const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, { + broker: `${this.host}:${this.port}`, + code: e.code, + }) -/** - * Determine if value is a Date. - * - * @param {*} val - * @private - */ + this.logError(error.message, { stack: e.stack }) + this.rejectRequests(error) + await this.disconnect() -function isDate (val) { - return __toString.call(val) === '[object Date]' || - val instanceof Date -} + reject(error) + } -/** - * Try decoding a string using a decoding function. - * - * @param {string} str - * @param {function} decode - * @private - */ + const onTimeout = async () => { + const error = new KafkaJSConnectionError('Connection timeout', { + broker: `${this.host}:${this.port}`, + }) -function tryDecode(str, decode) { - try { - return decode(str); - } catch (e) { - return str; - } -} + this.logError(error.message) + this.rejectRequests(error) + await this.disconnect() + reject(error) + } + this.logDebug(`Connecting`, { + ssl: !!this.ssl, + sasl: !!this.sasl, + }) -/***/ }), + try { + timeoutId = setTimeout(onTimeout, this.connectionTimeout) + this.socket = createSocket({ + socketFactory: this.socketFactory, + host: this.host, + port: this.port, + ssl: this.ssl, + onConnect, + onData, + onEnd, + onError, + onTimeout, + }) + } catch (e) { + clearTimeout(timeoutId) + reject( + new KafkaJSConnectionError(`Failed to connect: ${e.message}`, { + broker: `${this.host}:${this.port}`, + }) + ) + } + }) + } -/***/ "./node_modules/express/node_modules/debug/src/browser.js": -/*!****************************************************************!*\ - !*** ./node_modules/express/node_modules/debug/src/browser.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 7:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ -/***/ ((module, exports, __webpack_require__) => { + /** + * @public + * @returns {Promise} + */ + async disconnect() { + this.connectionStatus = CONNECTION_STATUS.DISCONNECTING + this.logDebug('disconnecting...') -/** - * This is the web browser implementation of `debug()`. - * - * Expose `debug()` as the module. - */ + await this.requestQueue.waitForPendingRequests() + this.requestQueue.destroy() -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express/node_modules/debug/src/debug.js"); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); + if (this.socket) { + this.socket.end() + this.socket.unref() + } -/** - * Colors. - */ + this.connectionStatus = CONNECTION_STATUS.DISCONNECTED + this.logDebug('disconnected') + return true + } -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; + /** + * @public + * @returns {Promise} + */ + authenticate({ authExpectResponse = false, request, response }) { + this.authExpectResponse = authExpectResponse -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ + /** + * TODO: rewrite removing the async promise executor + */ -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; - } + /* eslint-disable no-async-promise-executor */ + return new Promise(async (resolve, reject) => { + this.authHandlers = { + onSuccess: rawData => { + this.authHandlers = null + this.authExpectResponse = false - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); -} + response + .decode(rawData) + .then(data => response.parse(data)) + .then(resolve) + .catch(reject) + }, + onError: () => { + this.authHandlers = null + this.authExpectResponse = false -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ + reject( + new KafkaJSConnectionError('Connection closed by the server', { + broker: `${this.host}:${this.port}`, + }) + ) + }, + } -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; + try { + const requestPayload = await request.encode() + + this.failIfNotConnected() + this.socket.write(requestPayload.buffer, 'binary') + } catch (e) { + reject(e) + } + }) } -}; + /** + * @public + * @param {object} protocol + * @param {object} protocol.request It is defined by the protocol and consists of an object with "apiKey", + * "apiVersion", "apiName" and an "encode" function. The encode function + * must return an instance of Encoder + * + * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions: + * "decode" and "parse" + * + * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout + * @param {boolean} [protocol.logResponseError=true] Whether to log errors + * @returns {Promise} where data is the return of "response#parse" + */ + async send({ request, response, requestTimeout = null, logResponseError = true }) { + this.failIfNotConnected() -/** - * Colorize log arguments if enabled. - * - * @api public - */ + const expectResponse = !request.expectResponse || request.expectResponse() + const sendRequest = async () => { + const { clientId } = this + const correlationId = this.nextCorrelationId() -function formatArgs(args) { - var useColors = this.useColors; + const requestPayload = await createRequest({ request, correlationId, clientId }) + const { apiKey, apiName, apiVersion } = request + this.logDebug(`Request ${requestInfo(request)}`, { + correlationId, + expectResponse, + size: Buffer.byteLength(requestPayload.buffer), + }) - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); + return new Promise((resolve, reject) => { + try { + this.failIfNotConnected() + const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject } - if (!useColors) return; + this.requestQueue.push({ + entry, + expectResponse, + requestTimeout, + sendRequest: () => { + this.socket.write(requestPayload.buffer, 'binary') + }, + }) + } catch (e) { + reject(e) + } + }) + } - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') + const { correlationId, size, entry, payload } = await sendRequest() - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; + if (!expectResponse) { + return } - }); - args.splice(lastC, 0, c); -} + try { + const payloadDecoded = await response.decode(payload) -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ + /** + * @see KIP-219 + * If the response indicates that the client-side needs to throttle, do that. + */ + this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime) -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} + const data = await response.parse(payloadDecoded) + const isFetchApi = entry.apiName === 'Fetch' + this.logDebug(`Response ${requestInfo(entry)}`, { + correlationId, + size, + data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data, + }) -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ + return data + } catch (e) { + if (logResponseError) { + this.logError(`Response ${requestInfo(entry)}`, { + error: e.message, + correlationId, + size, + }) + } -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; + const isBuffer = Buffer.isBuffer(payload) + this.logDebug(`Response ${requestInfo(entry)}`, { + error: e.message, + correlationId, + payload: + isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload, + }) + + throw e } - } catch(e) {} -} + } -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ + /** + * @private + */ + failIfNotConnected() { + if (!this.connected) { + throw new KafkaJSConnectionError('Not connected', { + broker: `${this.host}:${this.port}`, + }) + } + } -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} + /** + * @private + */ + nextCorrelationId() { + if (this.correlationId >= INT_32_MAX_VALUE) { + this.correlationId = 0 + } - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; + return this.correlationId++ } - return r; -} + /** + * @private + */ + processData(rawData) { + if (this.authHandlers && !this.authExpectResponse) { + return this.authHandlers.onSuccess(rawData) + } -/** - * Enable namespaces listed in `localStorage.debug` initially. - */ + // Accumulate the new chunk + this.chunks.push(rawData) + this.bytesBuffered += Buffer.byteLength(rawData) -exports.enable(load()); + // Process data if there are enough bytes to read the expected response size, + // otherwise keep buffering + while (this.bytesNeeded <= this.bytesBuffered) { + const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0] + const decoder = new Decoder(buffer) + const expectedResponseSize = decoder.readInt32() -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ + // Return early if not enough bytes to read the full response + if (!decoder.canReadBytes(expectedResponseSize)) { + this.chunks = [buffer] + this.bytesBuffered = Buffer.byteLength(buffer) + this.bytesNeeded = Decoder.int32Size() + expectedResponseSize + return + } -function localstorage() { - try { - return window.localStorage; - } catch (e) {} + const response = new Decoder(decoder.readBytes(expectedResponseSize)) + + // Reset the buffered chunks as the rest of the bytes + const remainderBuffer = decoder.readAll() + this.chunks = [remainderBuffer] + this.bytesBuffered = Buffer.byteLength(remainderBuffer) + this.bytesNeeded = Decoder.int32Size() + + if (this.authHandlers) { + const rawResponseSize = Decoder.int32Size() + expectedResponseSize + const rawResponseBuffer = buffer.slice(0, rawResponseSize) + return this.authHandlers.onSuccess(rawResponseBuffer) + } + + const correlationId = response.readInt32() + const payload = response.readAll() + + this.requestQueue.fulfillRequest({ + size: expectedResponseSize, + correlationId, + payload, + }) + } + } + + /** + * @private + */ + rejectRequests(error) { + this.requestQueue.rejectAll(error) + } } /***/ }), -/***/ "./node_modules/express/node_modules/debug/src/debug.js": +/***/ "./node_modules/kafkajs/src/network/connectionStatus.js": /*!**************************************************************!*\ - !*** ./node_modules/express/node_modules/debug/src/debug.js ***! + !*** ./node_modules/kafkajs/src/network/connectionStatus.js ***! \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ -/*! CommonJS bailout: exports is used directly at 9:0-7 */ -/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ -/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ -/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ -/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ -/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module) => { +const CONNECTION_STATUS = { + CONNECTED: 'connected', + DISCONNECTING: 'disconnecting', + DISCONNECTED: 'disconnected', +} -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - * - * Expose `debug()` as the module. - */ +const CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING] -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = __webpack_require__(/*! ms */ "./node_modules/express/node_modules/ms/index.js"); +module.exports = { + CONNECTION_STATUS, + CONNECTED_STATUS, +} -/** - * The currently active debug mode names, and names to skip. - */ -exports.names = []; -exports.skips = []; +/***/ }), -/** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ +/***/ "./node_modules/kafkajs/src/network/instrumentationEvents.js": +/*!*******************************************************************!*\ + !*** ./node_modules/kafkajs/src/network/instrumentationEvents.js ***! + \*******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports.formatters = {}; +const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") +const eventType = InstrumentationEventType('network') -/** - * Previous log timestamp. - */ +module.exports = { + NETWORK_REQUEST: eventType('request'), + NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'), + NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'), +} -var prevTime; -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ +/***/ }), -function selectColor(namespace) { - var hash = 0, i; +/***/ "./node_modules/kafkajs/src/network/requestQueue/index.js": +/*!****************************************************************!*\ + !*** ./node_modules/kafkajs/src/network/requestQueue/index.js ***! + \****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } +const { EventEmitter } = __webpack_require__(/*! events */ "events") +const SocketRequest = __webpack_require__(/*! ./socketRequest */ "./node_modules/kafkajs/src/network/requestQueue/socketRequest.js") +const events = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") +const { KafkaJSInvariantViolation } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - return exports.colors[Math.abs(hash) % exports.colors.length]; +const PRIVATE = { + EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'), + EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'), } -/** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ +const REQUEST_QUEUE_EMPTY = 'requestQueueEmpty' -function createDebug(namespace) { +module.exports = class RequestQueue extends EventEmitter { + /** + * @param {Object} options + * @param {number} options.maxInFlightRequests + * @param {number} options.requestTimeout + * @param {boolean} options.enforceRequestTimeout + * @param {string} options.clientId + * @param {string} options.broker + * @param {import("../../../types").Logger} options.logger + * @param {import("../../instrumentation/emitter")} [options.instrumentationEmitter=null] + * @param {() => boolean} [options.isConnected] + */ + constructor({ + instrumentationEmitter = null, + maxInFlightRequests, + requestTimeout, + enforceRequestTimeout, + clientId, + broker, + logger, + isConnected = () => true, + }) { + super() + this.instrumentationEmitter = instrumentationEmitter + this.maxInFlightRequests = maxInFlightRequests + this.requestTimeout = requestTimeout + this.enforceRequestTimeout = enforceRequestTimeout + this.clientId = clientId + this.broker = broker + this.logger = logger + this.isConnected = isConnected - function debug() { - // disabled? - if (!debug.enabled) return; + this.inflight = new Map() + this.pending = [] - var self = debug; + /** + * Until when this request queue is throttled and shouldn't send requests + * + * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value + * is smaller than the current timestamp no throttling is active. + * + * @type {number} + */ + this.throttledUntil = -1 - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; + /** + * Timeout id if we have scheduled a check for pending requests due to client-side throttling + * + * @type {null|NodeJS.Timeout} + */ + this.throttleCheckTimeoutId = null - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; + this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => { + if (this.pending.length === 0 && this.inflight.size === 0) { + this.emit(REQUEST_QUEUE_EMPTY) + } } - args[0] = exports.coerce(args[0]); + this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => { + instrumentationEmitter && + instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, { + broker: this.broker, + clientId: this.clientId, + queueSize: this.pending.length, + }) - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); + this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() } + } - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); - - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); + /** + * @public + */ + scheduleRequestTimeoutCheck() { + if (this.enforceRequestTimeout) { + this.destroy() - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); + this.requestTimeoutIntervalId = setInterval(() => { + this.inflight.forEach(request => { + if (Date.now() - request.sentAt > request.requestTimeout) { + request.timeoutRequest() + } + }) - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); + if (!this.isConnected()) { + this.destroy() + } + }, Math.min(this.requestTimeout, 100)) + } } - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); - - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); + maybeThrottle(clientSideThrottleTime) { + if (clientSideThrottleTime) { + const minimumThrottledUntil = Date.now() + clientSideThrottleTime + this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil) + } } - return debug; -} + /** + * @typedef {Object} PushedRequest + * @property {import("./socketRequest").RequestEntry} entry + * @property {boolean} expectResponse + * @property {Function} sendRequest + * @property {number} [requestTimeout] + * + * @public + * @param {PushedRequest} pushedRequest + */ + push(pushedRequest) { + const { correlationId } = pushedRequest.entry + const defaultRequestTimeout = this.requestTimeout + const customRequestTimeout = pushedRequest.requestTimeout -/** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ + // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom + // timeouts are influenced by user configurations, which can be lower than the default requestTimeout + const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0) -function enable(namespaces) { - exports.save(namespaces); + const socketRequest = new SocketRequest({ + entry: pushedRequest.entry, + expectResponse: pushedRequest.expectResponse, + broker: this.broker, + clientId: this.clientId, + instrumentationEmitter: this.instrumentationEmitter, + requestTimeout, + send: () => { + if (this.inflight.has(correlationId)) { + throw new KafkaJSInvariantViolation('Correlation id already exists') + } + this.inflight.set(correlationId, socketRequest) + pushedRequest.sendRequest() + }, + timeout: () => { + this.inflight.delete(correlationId) + this.checkPendingRequests() + // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever + this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() + }, + }) - exports.names = []; - exports.skips = []; + if (this.canSendSocketRequestImmediately()) { + this.sendSocketRequest(socketRequest) + return + } - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; + this.pending.push(socketRequest) + this.scheduleCheckPendingRequests() - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); - } - } -} + this.logger.debug(`Request enqueued`, { + clientId: this.clientId, + broker: this.broker, + correlationId, + }) -/** - * Disable debug output. - * - * @api public - */ + this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() + } -function disable() { - exports.enable(''); -} + /** + * @param {SocketRequest} socketRequest + */ + sendSocketRequest(socketRequest) { + socketRequest.send() -/** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ + if (!socketRequest.expectResponse) { + this.logger.debug(`Request does not expect a response, resolving immediately`, { + clientId: this.clientId, + broker: this.broker, + correlationId: socketRequest.correlationId, + }) -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; - } - } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; + this.inflight.delete(socketRequest.correlationId) + socketRequest.completed({ size: 0, payload: null }) } } - return false; -} - -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; -} - - -/***/ }), - -/***/ "./node_modules/express/node_modules/debug/src/index.js": -/*!**************************************************************!*\ - !*** ./node_modules/express/node_modules/debug/src/index.js ***! - \**************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ - -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/express/node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/express/node_modules/debug/src/node.js"); -} - - -/***/ }), - -/***/ "./node_modules/express/node_modules/debug/src/node.js": -/*!*************************************************************!*\ - !*** ./node_modules/express/node_modules/debug/src/node.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 14:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ -/***/ ((module, exports, __webpack_require__) => { + /** + * @public + * @param {object} response + * @param {number} response.correlationId + * @param {Buffer} response.payload + * @param {number} response.size + */ + fulfillRequest({ correlationId, payload, size }) { + const socketRequest = this.inflight.get(correlationId) + this.inflight.delete(correlationId) + this.checkPendingRequests() -/** - * Module dependencies. - */ + if (socketRequest) { + socketRequest.completed({ size, payload }) + } else { + this.logger.warn(`Response without match`, { + clientId: this.clientId, + broker: this.broker, + correlationId, + }) + } -var tty = __webpack_require__(/*! tty */ "tty"); -var util = __webpack_require__(/*! util */ "util"); + this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() + } -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ + /** + * @public + * @param {Error} error + */ + rejectAll(error) { + const requests = [...this.inflight.values(), ...this.pending] -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/express/node_modules/debug/src/debug.js"); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; + for (const socketRequest of requests) { + socketRequest.rejected(error) + this.inflight.delete(socketRequest.correlationId) + } -/** - * Colors. - */ + this.pending = [] + this.inflight.clear() + this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() + } -exports.colors = [6, 2, 3, 4, 5, 1]; + /** + * @public + */ + waitForPendingRequests() { + return new Promise(resolve => { + if (this.pending.length === 0 && this.inflight.size === 0) { + return resolve() + } -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ + this.logger.debug('Waiting for pending requests', { + clientId: this.clientId, + broker: this.broker, + currentInflightRequests: this.inflight.size, + currentPendingQueueSize: this.pending.length, + }) -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); + this.once(REQUEST_QUEUE_EMPTY, () => resolve()) + }) + } - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); + /** + * @public + */ + destroy() { + clearInterval(this.requestTimeoutIntervalId) + clearTimeout(this.throttleCheckTimeoutId) + this.throttleCheckTimeoutId = null + } - obj[prop] = val; - return obj; -}, {}); + canSendSocketRequestImmediately() { + const shouldEnqueue = + (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) || + this.throttledUntil > Date.now() -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ + return !shouldEnqueue + } -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; + /** + * Check and process pending requests either now or in the future + * + * This function will send out as many pending requests as possible taking throttling and + * in-flight limits into account. + */ + checkPendingRequests() { + while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) { + const pendingRequest = this.pending.shift() // first in first out + this.sendSocketRequest(pendingRequest) -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} + this.logger.debug(`Consumed pending request`, { + clientId: this.clientId, + broker: this.broker, + correlationId: pendingRequest.correlationId, + pendingDuration: pendingRequest.pendingDuration, + currentPendingQueueSize: this.pending.length, + }) -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); + this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() + } -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ + this.scheduleCheckPendingRequests() + } -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); + /** + * Ensure that pending requests will be checked in the future + * + * If there is a client-side throttling in place this will ensure that we will check + * the pending request queue eventually. + */ + scheduleCheckPendingRequests() { + // If we're throttled: Schedule checkPendingRequests when the throttle + // should be resolved. If there is already something scheduled we assume that that + // will be fine, and potentially fix up a new timeout if needed at that time. + // Note that if we're merely "overloaded" by having too many inflight requests + // we will anyways check the queue when one of them gets fulfilled. + const timeUntilUnthrottled = this.throttledUntil - Date.now() + if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) { + this.throttleCheckTimeoutId = setTimeout(() => { + this.throttleCheckTimeoutId = null + this.checkPendingRequests() + }, timeUntilUnthrottled) + } + } } -/** - * Map %o to `util.inspect()`, all on a single line. - */ - -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); -}; - -/** - * Map %o to `util.inspect()`, allowing multiple lines if needed. - */ - -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ +/***/ }), -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; +/***/ "./node_modules/kafkajs/src/network/requestQueue/socketRequest.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/network/requestQueue/socketRequest.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; +const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") +const events = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; - } +const PRIVATE = { + STATE: Symbol('private:SocketRequest:state'), + EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'), } -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ - -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); +const REQUEST_STATE = { + PENDING: Symbol('PENDING'), + SENT: Symbol('SENT'), + COMPLETED: Symbol('COMPLETED'), + REJECTED: Symbol('REJECTED'), } /** - * Save `namespaces`. + * SocketRequest abstracts the life cycle of a socket request, making it easier to track + * request durations and to have individual timeouts per request. * - * @param {String} namespaces - * @api private - */ - -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; - } -} - -/** - * Load `namespaces`. + * @typedef {Object} SocketRequest + * @property {number} createdAt + * @property {number} sentAt + * @property {number} pendingDuration + * @property {number} duration + * @property {number} requestTimeout + * @property {string} broker + * @property {string} clientId + * @property {RequestEntry} entry + * @property {boolean} expectResponse + * @property {Function} send + * @property {Function} timeout * - * @return {String} returns the previously persisted debug modes - * @api private + * @typedef {Object} RequestEntry + * @property {string} apiKey + * @property {string} apiName + * @property {number} apiVersion + * @property {number} correlationId + * @property {Function} resolve + * @property {Function} reject */ +module.exports = class SocketRequest { + /** + * @param {Object} options + * @param {number} options.requestTimeout + * @param {string} options.broker - e.g: 127.0.0.1:9092 + * @param {string} options.clientId + * @param {RequestEntry} options.entry + * @param {boolean} options.expectResponse + * @param {Function} options.send + * @param {() => void} options.timeout + * @param {import("../../instrumentation/emitter")} [options.instrumentationEmitter=null] + */ + constructor({ + requestTimeout, + broker, + clientId, + entry, + expectResponse, + send, + timeout, + instrumentationEmitter = null, + }) { + this.createdAt = Date.now() + this.requestTimeout = requestTimeout + this.broker = broker + this.clientId = clientId + this.entry = entry + this.correlationId = entry.correlationId + this.expectResponse = expectResponse + this.sendRequest = send + this.timeoutHandler = timeout -function load() { - return process.env.DEBUG; -} - -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ + this.sentAt = null + this.duration = null + this.pendingDuration = null -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); + this[PRIVATE.STATE] = REQUEST_STATE.PENDING + this[PRIVATE.EMIT_EVENT] = (eventName, payload) => + instrumentationEmitter && instrumentationEmitter.emit(eventName, payload) + } - // Note stream._type is used for test-module-load-list.js + send() { + this.throwIfInvalidState({ + accepted: [REQUEST_STATE.PENDING], + next: REQUEST_STATE.SENT, + }) - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; + this.sendRequest() + this.sentAt = Date.now() + this.pendingDuration = this.sentAt - this.createdAt + this[PRIVATE.STATE] = REQUEST_STATE.SENT + } - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; + timeoutRequest() { + const { apiName, apiKey, apiVersion } = this.entry + const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})` + const eventData = { + broker: this.broker, + clientId: this.clientId, + correlationId: this.correlationId, + createdAt: this.createdAt, + sentAt: this.sentAt, + pendingDuration: this.pendingDuration, + } - case 'FILE': - var fs = __webpack_require__(/*! fs */ "fs"); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; + this.timeoutHandler() + this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData)) + this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, { + ...eventData, + apiName, + apiKey, + apiVersion, + }) + } - case 'PIPE': - case 'TCP': - var net = __webpack_require__(/*! net */ "net"); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); + completed({ size, payload }) { + this.throwIfInvalidState({ + accepted: [REQUEST_STATE.SENT], + next: REQUEST_STATE.COMPLETED, + }) - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; + const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; + this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED + this.duration = Date.now() - this.sentAt + entry.resolve({ correlationId, entry, size, payload }) - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); + this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, { + broker, + clientId, + correlationId, + size, + createdAt, + sentAt, + pendingDuration, + duration: this.duration, + apiName: entry.apiName, + apiKey: entry.apiKey, + apiVersion: entry.apiVersion, + }) } - // For supporting legacy API we put the FD here. - stream.fd = fd; - - stream._isStdio = true; + rejected(error) { + this.throwIfInvalidState({ + accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT], + next: REQUEST_STATE.REJECTED, + }) - return stream; -} + this[PRIVATE.STATE] = REQUEST_STATE.REJECTED + this.duration = Date.now() - this.sentAt + this.entry.reject(error) + } -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ + /** + * @private + */ + throwIfInvalidState({ accepted, next }) { + if (accepted.includes(this[PRIVATE.STATE])) { + return + } -function init (debug) { - debug.inspectOpts = {}; + const current = this[PRIVATE.STATE].toString() - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + throw new KafkaJSNonRetriableError( + `Invalid state, can't transition from ${current} to ${next.toString()}` + ) } } -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ - -exports.enable(load()); - /***/ }), -/***/ "./node_modules/express/node_modules/ms/index.js": -/*!*******************************************************!*\ - !*** ./node_modules/express/node_modules/ms/index.js ***! - \*******************************************************/ +/***/ "./node_modules/kafkajs/src/network/socket.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/network/socket.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ /***/ ((module) => { /** - * Helpers. + * @param {Object} options + * @param {import("../../types").ISocketFactory} options.socketFactory + * @param {string} options.host + * @param {number} options.port + * @param {Object} options.ssl + * @param {() => void} options.onConnect + * @param {(data: Buffer) => void} options.onData + * @param {() => void} options.onEnd + * @param {(err: Error) => void} options.onError + * @param {() => void} options.onTimeout */ +module.exports = ({ + socketFactory, + host, + port, + ssl, + onConnect, + onData, + onEnd, + onError, + onTimeout, +}) => { + const socket = socketFactory({ host, port, ssl, onConnect }) -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; - -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ + socket.on('data', onData) + socket.on('end', onEnd) + socket.on('error', onError) + socket.on('timeout', onTimeout) -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isNaN(val) === false) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; + return socket +} -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} +/***/ }), -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +/***/ "./node_modules/kafkajs/src/network/socketFactory.js": +/*!***********************************************************!*\ + !*** ./node_modules/kafkajs/src/network/socketFactory.js ***! + \***********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function fmtShort(ms) { - if (ms >= d) { - return Math.round(ms / d) + 'd'; - } - if (ms >= h) { - return Math.round(ms / h) + 'h'; - } - if (ms >= m) { - return Math.round(ms / m) + 'm'; - } - if (ms >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} +const KEEP_ALIVE_DELAY = 60000 // in ms /** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private + * @returns {import("../../types").ISocketFactory} */ +module.exports = () => { + const net = __webpack_require__(/*! net */ "net") + const tls = __webpack_require__(/*! tls */ "tls") -function fmtLong(ms) { - return plural(ms, d, 'day') || - plural(ms, h, 'hour') || - plural(ms, m, 'minute') || - plural(ms, s, 'second') || - ms + ' ms'; -} + return ({ host, port, ssl, onConnect }) => { + const socket = ssl + ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect) + : net.connect({ host, port }, onConnect) -/** - * Pluralization helper. - */ + socket.setKeepAlive(true, KEEP_ALIVE_DELAY) -function plural(ms, n, name) { - if (ms < n) { - return; - } - if (ms < n * 1.5) { - return Math.floor(ms / n) + ' ' + name; + return socket } - return Math.ceil(ms / n) + ' ' + name + 's'; } /***/ }), -/***/ "./node_modules/finalhandler/index.js": -/*!********************************************!*\ - !*** ./node_modules/finalhandler/index.js ***! - \********************************************/ +/***/ "./node_modules/kafkajs/src/producer/createTopicData.js": +/*!**************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/createTopicData.js ***! + \**************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 65:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * finalhandler - * Copyright(c) 2014-2022 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var debug = __webpack_require__(/*! debug */ "./node_modules/finalhandler/node_modules/debug/src/index.js")('finalhandler') -var encodeUrl = __webpack_require__(/*! encodeurl */ "./node_modules/encodeurl/index.js") -var escapeHtml = __webpack_require__(/*! escape-html */ "./node_modules/escape-html/index.js") -var onFinished = __webpack_require__(/*! on-finished */ "./node_modules/on-finished/index.js") -var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js") -var statuses = __webpack_require__(/*! statuses */ "./node_modules/statuses/index.js") -var unpipe = __webpack_require__(/*! unpipe */ "./node_modules/unpipe/index.js") +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -/** - * Module variables. - * @private - */ +module.exports = topicDataForBroker => { + return topicDataForBroker.map( + ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({ + topic, + partitions: partitions.map(partition => ({ + partition, + firstSequence: sequencePerPartition[partition], + messages: messagesPerPartition[partition], + })), + }) + ) +} -var DOUBLE_SPACE_REGEXP = /\x20{2}/g -var NEWLINE_REGEXP = /\n/g -/* istanbul ignore next */ -var defer = typeof setImmediate === 'function' - ? setImmediate - : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) } -var isFinished = onFinished.isFinished +/***/ }), -/** - * Create a minimal HTML document. - * - * @param {string} message - * @private - */ +/***/ "./node_modules/kafkajs/src/producer/eosManager/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/eosManager/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function createHtmlDocument (message) { - var body = escapeHtml(message) - .replace(NEWLINE_REGEXP, '
') - .replace(DOUBLE_SPACE_REGEXP, '  ') +const createRetry = __webpack_require__(/*! ../../retry */ "./node_modules/kafkajs/src/retry/index.js") +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") +const COORDINATOR_TYPES = __webpack_require__(/*! ../../protocol/coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") +const createStateMachine = __webpack_require__(/*! ./transactionStateMachine */ "./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js") +const assert = __webpack_require__(/*! assert */ "assert") - return '\n' + - '\n' + - '\n' + - '\n' + - 'Error\n' + - '\n' + - '\n' + - '
' + body + '
\n' + - '\n' + - '\n' -} +const STATES = __webpack_require__(/*! ./transactionStates */ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js") +const NO_PRODUCER_ID = -1 +const SEQUENCE_START = 0 +const INT_32_MAX_VALUE = Math.pow(2, 32) +const INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [ + 'NOT_COORDINATOR_FOR_GROUP', + 'GROUP_COORDINATOR_NOT_AVAILABLE', + 'GROUP_LOAD_IN_PROGRESS', + /** + * The producer might have crashed and never committed the transaction; retry the + * request so Kafka can abort the current transaction + * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002 + */ + 'CONCURRENT_TRANSACTIONS', +] +const COMMIT_RETRIABLE_PROTOCOL_ERRORS = [ + 'UNKNOWN_TOPIC_OR_PARTITION', + 'COORDINATOR_LOAD_IN_PROGRESS', +] +const COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR'] /** - * Module exports. - * @public + * @typedef {Object} EosManager */ -module.exports = finalhandler - /** - * Create a function to handle the final response. + * Manage behavior for an idempotent producer and transactions. * - * @param {Request} req - * @param {Response} res - * @param {Object} [options] - * @return {Function} - * @public + * @returns {EosManager} */ +module.exports = ({ + logger, + cluster, + transactionTimeout = 60000, + transactional, + transactionalId, +}) => { + if (transactional && !transactionalId) { + throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId') + } -function finalhandler (req, res, options) { - var opts = options || {} - - // get environment - var env = opts.env || "development" || 'development' - - // get error callback - var onerror = opts.onerror - - return function (err) { - var headers - var msg - var status - - // ignore 404 on in-flight response - if (!err && headersSent(res)) { - debug('cannot 404 after headers sent') - return - } - - // unhandled error - if (err) { - // respect status code from error - status = getErrorStatusCode(err) + const retrier = createRetry(cluster.retry) - if (status === undefined) { - // fallback to status code on response - status = getResponseStatusCode(res) - } else { - // respect headers from error - headers = getErrorHeaders(err) - } + /** + * Current producer ID + */ + let producerId = NO_PRODUCER_ID - // get error message - msg = getErrorMessage(err, status, env) - } else { - // not found - status = 404 - msg = 'Cannot ' + req.method + ' ' + encodeUrl(getResourceName(req)) - } + /** + * Current producer epoch + */ + let producerEpoch = 0 - debug('default %s', status) + /** + * Idempotent production requires that the producer track the sequence number of messages. + * + * Sequences are sent with every Record Batch and tracked per Topic-Partition + */ + let producerSequence = {} - // schedule onerror callback - if (err && onerror) { - defer(onerror, err, req, res) - } + /** + * Topic partitions already participating in the transaction + */ + let transactionTopicPartitions = {} - // cannot actually respond - if (headersSent(res)) { - debug('cannot %d after headers sent', status) - req.socket.destroy() - return + const stateMachine = createStateMachine({ logger }) + stateMachine.on('transition', ({ to }) => { + if (to === STATES.READY) { + transactionTopicPartitions = {} } + }) - // send response - send(req, res, status, headers, msg) + const findTransactionCoordinator = () => { + return cluster.findGroupCoordinator({ + groupId: transactionalId, + coordinatorType: COORDINATOR_TYPES.TRANSACTION, + }) } -} - -/** - * Get headers from Error object. - * - * @param {Error} err - * @return {object} - * @private - */ -function getErrorHeaders (err) { - if (!err.headers || typeof err.headers !== 'object') { - return undefined + const transactionalGuard = () => { + if (!transactional) { + throw new KafkaJSNonRetriableError('Method unavailable if non-transactional') + } } - var headers = Object.create(null) - var keys = Object.keys(err.headers) + const eosManager = stateMachine.createGuarded( + { + /** + * Get the current producer id + * @returns {number} + */ + getProducerId() { + return producerId + }, - for (var i = 0; i < keys.length; i++) { - var key = keys[i] - headers[key] = err.headers[key] - } + /** + * Get the current producer epoch + * @returns {number} + */ + getProducerEpoch() { + return producerEpoch + }, - return headers -} + getTransactionalId() { + return transactionalId + }, -/** - * Get message from Error object, fallback to status message. - * - * @param {Error} err - * @param {number} status - * @param {string} env - * @return {string} - * @private - */ + /** + * Initialize the idempotent producer by making an `InitProducerId` request. + * Overwrites any existing state in this transaction manager + */ + async initProducerId() { + return retrier(async (bail, retryCount, retryTime) => { + try { + await cluster.refreshMetadataIfNecessary() -function getErrorMessage (err, status, env) { - var msg + // If non-transactional we can request the PID from any broker + const broker = await (transactional + ? findTransactionCoordinator() + : cluster.findControllerBroker()) - if (env !== 'production') { - // use err.stack, which typically includes err.message - msg = err.stack + const result = await broker.initProducerId({ + transactionalId: transactional ? transactionalId : undefined, + transactionTimeout, + }) - // fallback to err.toString() when possible - if (!msg && typeof err.toString === 'function') { - msg = err.toString() - } - } + stateMachine.transitionTo(STATES.READY) + producerId = result.producerId + producerEpoch = result.producerEpoch + producerSequence = {} - return msg || statuses.message[status] -} + logger.debug('Initialized producer id & epoch', { producerId, producerEpoch }) + } catch (e) { + if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) { + if (e.type === 'CONCURRENT_TRANSACTIONS') { + logger.debug('There is an ongoing transaction on this transactionId, retrying', { + error: e.message, + stack: e.stack, + transactionalId, + retryCount, + retryTime, + }) + } -/** - * Get status code from Error object. - * - * @param {Error} err - * @return {number} - * @private - */ + throw e + } -function getErrorStatusCode (err) { - // check err.status - if (typeof err.status === 'number' && err.status >= 400 && err.status < 600) { - return err.status - } + bail(e) + } + }) + }, - // check err.statusCode - if (typeof err.statusCode === 'number' && err.statusCode >= 400 && err.statusCode < 600) { - return err.statusCode - } + /** + * Get the current sequence for a given Topic-Partition. Defaults to 0. + * + * @param {string} topic + * @param {string} partition + * @returns {number} + */ + getSequence(topic, partition) { + if (!eosManager.isInitialized()) { + return SEQUENCE_START + } - return undefined -} + producerSequence[topic] = producerSequence[topic] || {} + producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START -/** - * Get resource name for the request. - * - * This is typically just the original pathname of the request - * but will fallback to "resource" is that cannot be determined. - * - * @param {IncomingMessage} req - * @return {string} - * @private - */ + return producerSequence[topic][partition] + }, -function getResourceName (req) { - try { - return parseUrl.original(req).pathname - } catch (e) { - return 'resource' - } -} + /** + * Update the sequence for a given Topic-Partition. + * + * Do nothing if not yet initialized (not idempotent) + * @param {string} topic + * @param {string} partition + * @param {number} increment + */ + updateSequence(topic, partition, increment) { + if (!eosManager.isInitialized()) { + return + } -/** - * Get status code from response. - * - * @param {OutgoingMessage} res - * @return {number} - * @private - */ + const previous = eosManager.getSequence(topic, partition) + let sequence = previous + increment -function getResponseStatusCode (res) { - var status = res.statusCode + // Sequence is defined as Int32 in the Record Batch, + // so theoretically should need to rotate here + if (sequence >= INT_32_MAX_VALUE) { + logger.debug( + `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.` + ) + sequence = 0 + } - // default status code to 500 if outside valid range - if (typeof status !== 'number' || status < 400 || status > 599) { - status = 500 - } + producerSequence[topic][partition] = sequence + }, - return status -} + /** + * Begin a transaction + */ + beginTransaction() { + transactionalGuard() + stateMachine.transitionTo(STATES.TRANSACTING) + }, -/** - * Determine if the response headers have been sent. - * - * @param {object} res - * @returns {boolean} - * @private - */ + /** + * Add partitions to a transaction if they are not already marked as participating. + * + * Should be called prior to sending any messages during a transaction + * @param {TopicData[]} topicData + * + * @typedef {Object} TopicData + * @property {string} topic + * @property {object[]} partitions + * @property {number} partitions[].partition + */ + async addPartitionsToTransaction(topicData) { + transactionalGuard() + const newTopicPartitions = {} -function headersSent (res) { - return typeof res.headersSent !== 'boolean' - ? Boolean(res._header) - : res.headersSent -} + topicData.forEach(({ topic, partitions }) => { + transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {} -/** - * Send response. - * - * @param {IncomingMessage} req - * @param {OutgoingMessage} res - * @param {number} status - * @param {object} headers - * @param {string} message - * @private - */ + partitions.forEach(({ partition }) => { + if (!transactionTopicPartitions[topic][partition]) { + newTopicPartitions[topic] = newTopicPartitions[topic] || [] + newTopicPartitions[topic].push(partition) + } + }) + }) -function send (req, res, status, headers, message) { - function write () { - // response body - var body = createHtmlDocument(message) + const topics = Object.keys(newTopicPartitions).map(topic => ({ + topic, + partitions: newTopicPartitions[topic], + })) - // response status - res.statusCode = status - res.statusMessage = statuses.message[status] + if (topics.length) { + const broker = await findTransactionCoordinator() + await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) + } - // remove any content headers - res.removeHeader('Content-Encoding') - res.removeHeader('Content-Language') - res.removeHeader('Content-Range') + topics.forEach(({ topic, partitions }) => { + partitions.forEach(partition => { + transactionTopicPartitions[topic][partition] = true + }) + }) + }, - // response headers - setHeaders(res, headers) + /** + * Commit the ongoing transaction + */ + async commit() { + transactionalGuard() + stateMachine.transitionTo(STATES.COMMITTING) - // security headers - res.setHeader('Content-Security-Policy', "default-src 'none'") - res.setHeader('X-Content-Type-Options', 'nosniff') + const broker = await findTransactionCoordinator() + await broker.endTxn({ + producerId, + producerEpoch, + transactionalId, + transactionResult: true, + }) - // standard headers - res.setHeader('Content-Type', 'text/html; charset=utf-8') - res.setHeader('Content-Length', Buffer.byteLength(body, 'utf8')) + stateMachine.transitionTo(STATES.READY) + }, - if (req.method === 'HEAD') { - res.end() - return - } + /** + * Abort the ongoing transaction + */ + async abort() { + transactionalGuard() + stateMachine.transitionTo(STATES.ABORTING) - res.end(body, 'utf8') - } + const broker = await findTransactionCoordinator() + await broker.endTxn({ + producerId, + producerEpoch, + transactionalId, + transactionResult: false, + }) - if (isFinished(req)) { - write() - return - } + stateMachine.transitionTo(STATES.READY) + }, - // unpipe everything from the request - unpipe(req) + /** + * Whether the producer id has already been initialized + */ + isInitialized() { + return producerId !== NO_PRODUCER_ID + }, - // flush the request - onFinished(req, write) - req.resume() -} + isTransactional() { + return transactional + }, -/** - * Set response headers from an object. - * - * @param {OutgoingMessage} res - * @param {object} headers - * @private - */ + isInTransaction() { + return stateMachine.state() === STATES.TRANSACTING + }, -function setHeaders (res, headers) { - if (!headers) { - return - } + /** + * Mark the provided offsets as participating in the transaction for the given consumer group. + * + * This allows us to commit an offset as consumed only if the transaction passes. + * @param {string} consumerGroupId The unique group identifier + * @param {OffsetCommitTopic[]} topics The unique group identifier + * @returns {Promise} + * + * @typedef {Object} OffsetCommitTopic + * @property {string} topic + * @property {OffsetCommitTopicPartition[]} partitions + * + * @typedef {Object} OffsetCommitTopicPartition + * @property {number} partition + * @property {number} offset + */ + async sendOffsets({ consumerGroupId, topics }) { + assert(consumerGroupId, 'Missing consumerGroupId') + assert(topics, 'Missing offset topics') - var keys = Object.keys(headers) - for (var i = 0; i < keys.length; i++) { - var key = keys[i] - res.setHeader(key, headers[key]) - } -} + const transactionCoordinator = await findTransactionCoordinator() + // Do we need to add offsets if we've already done so for this consumer group? + await transactionCoordinator.addOffsetsToTxn({ + transactionalId, + producerId, + producerEpoch, + groupId: consumerGroupId, + }) -/***/ }), + let groupCoordinator = await cluster.findGroupCoordinator({ + groupId: consumerGroupId, + coordinatorType: COORDINATOR_TYPES.GROUP, + }) -/***/ "./node_modules/finalhandler/node_modules/debug/src/browser.js": -/*!*********************************************************************!*\ - !*** ./node_modules/finalhandler/node_modules/debug/src/browser.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 7:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ -/***/ ((module, exports, __webpack_require__) => { + return retrier(async (bail, retryCount, retryTime) => { + try { + await groupCoordinator.txnOffsetCommit({ + transactionalId, + producerId, + producerEpoch, + groupId: consumerGroupId, + topics, + }) + } catch (e) { + if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) { + logger.debug('Group coordinator is not ready yet, retrying', { + error: e.message, + stack: e.stack, + transactionalId, + retryCount, + retryTime, + }) -/** - * This is the web browser implementation of `debug()`. - * - * Expose `debug()` as the module. - */ + throw e + } -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/finalhandler/node_modules/debug/src/debug.js"); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); + if ( + COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) || + e.code === 'ECONNREFUSED' + ) { + logger.debug( + 'Invalid group coordinator, finding new group coordinator and retrying', + { + error: e.message, + stack: e.stack, + transactionalId, + retryCount, + retryTime, + } + ) -/** - * Colors. - */ + groupCoordinator = await cluster.findGroupCoordinator({ + groupId: consumerGroupId, + coordinatorType: COORDINATOR_TYPES.GROUP, + }) -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; + throw e + } -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ + bail(e) + } + }) + }, + }, -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; - } + /** + * Transaction state guards + */ + { + initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] }, + beginTransaction: { legalStates: [STATES.READY], async: false }, + addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] }, + sendOffsets: { legalStates: [STATES.TRANSACTING] }, + commit: { legalStates: [STATES.TRANSACTING] }, + abort: { legalStates: [STATES.TRANSACTING] }, + } + ) - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); + return eosManager } -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; - } -}; +/***/ }), +/***/ "./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Colorize log arguments if enabled. - * - * @api public - */ +const { EventEmitter } = __webpack_require__(/*! events */ "events") +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") +const STATES = __webpack_require__(/*! ./transactionStates */ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js") -function formatArgs(args) { - var useColors = this.useColors; +const VALID_STATE_TRANSITIONS = { + [STATES.UNINITIALIZED]: [STATES.READY], + [STATES.READY]: [STATES.READY, STATES.TRANSACTING], + [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING], + [STATES.COMMITTING]: [STATES.READY], + [STATES.ABORTING]: [STATES.READY], +} - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); +module.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => { + let currentState = initialState - if (!useColors) return; + const guard = (object, method, { legalStates, async: isAsync = true }) => { + if (!object[method]) { + throw new KafkaJSNonRetriableError(`Cannot add guard on missing method "${method}"`) + } - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') + return (...args) => { + const fn = object[method] - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; + if (!legalStates.includes(currentState)) { + const error = new KafkaJSNonRetriableError( + `Transaction state exception: Cannot call "${method}" in state "${currentState}"` + ) + + if (isAsync) { + return Promise.reject(error) + } else { + throw error + } + } + + return fn.apply(object, args) } - }); + } - args.splice(lastC, 0, c); -} + const stateMachine = Object.assign(new EventEmitter(), { + /** + * Create a clone of "object" where we ensure state machine is in correct state + * prior to calling any of the configured methods + * @param {Object} object The object whose methods we will guard + * @param {Object} methodStateMapping Keys are method names on "object" + * @param {string[]} methodStateMapping.legalStates Legal states for this method + * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject) + */ + createGuarded(object, methodStateMapping) { + const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => { + guards[method] = guard(object, method, methodStateMapping[method]) + return guards + }, {}) -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ + return { ...object, ...guardedMethods } + }, + /** + * Transition safely to a new state + */ + transitionTo(state) { + logger.debug(`Transaction state transition ${currentState} --> ${state}`) -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} + if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) { + throw new KafkaJSNonRetriableError( + `Transaction state exception: Invalid transition ${currentState} --> ${state}` + ) + } -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ + stateMachine.emit('transition', { to: state, from: currentState }) + currentState = state + }, -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; - } - } catch(e) {} + state() { + return currentState + }, + }) + + return stateMachine } -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} +/***/ }), - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } +/***/ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/eosManager/transactionStates.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - return r; +module.exports = { + UNINITIALIZED: 'UNINITIALIZED', + READY: 'READY', + TRANSACTING: 'TRANSACTING', + COMMITTING: 'COMMITTING', + ABORTING: 'ABORTING', } -/** - * Enable namespaces listed in `localStorage.debug` initially. - */ -exports.enable(load()); +/***/ }), -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ +/***/ "./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -function localstorage() { - try { - return window.localStorage; - } catch (e) {} +module.exports = ({ topic, partitionMetadata, messages, partitioner }) => { + if (partitionMetadata.length === 0) { + return {} + } + + return messages.reduce((result, message) => { + const partition = partitioner({ topic, partitionMetadata, message }) + const current = result[partition] || [] + return Object.assign(result, { [partition]: [...current, message] }) + }, {}) } /***/ }), -/***/ "./node_modules/finalhandler/node_modules/debug/src/debug.js": -/*!*******************************************************************!*\ - !*** ./node_modules/finalhandler/node_modules/debug/src/debug.js ***! - \*******************************************************************/ +/***/ "./node_modules/kafkajs/src/producer/index.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/index.js ***! + \****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ -/*! CommonJS bailout: exports is used directly at 9:0-7 */ -/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ -/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ -/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ -/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ -/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ -/***/ ((module, exports, __webpack_require__) => { - - -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - * - * Expose `debug()` as the module. - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = __webpack_require__(/*! ms */ "./node_modules/finalhandler/node_modules/ms/index.js"); +const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") +const { CONNECTION_STATUS } = __webpack_require__(/*! ../network/connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") +const { DefaultPartitioner } = __webpack_require__(/*! ./partitioners/ */ "./node_modules/kafkajs/src/producer/partitioners/index.js") +const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") +const createEosManager = __webpack_require__(/*! ./eosManager */ "./node_modules/kafkajs/src/producer/eosManager/index.js") +const createMessageProducer = __webpack_require__(/*! ./messageProducer */ "./node_modules/kafkajs/src/producer/messageProducer.js") +const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/producer/instrumentationEvents.js") +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -/** - * The currently active debug mode names, and names to skip. - */ +const { values, keys } = Object +const eventNames = values(events) +const eventKeys = keys(events) + .map(key => `producer.events.${key}`) + .join(', ') -exports.names = []; -exports.skips = []; +const { CONNECT, DISCONNECT } = events /** - * Map of special "%n" handling functions, for the debug "format" argument. * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + * @param {Object} params + * @param {import('../../types').Cluster} params.cluster + * @param {import('../../types').Logger} params.logger + * @param {import('../../types').ICustomPartitioner} [params.createPartitioner] + * @param {import('../../types').RetryOptions} [params.retry] + * @param {boolean} [params.idempotent] + * @param {string} [params.transactionalId] + * @param {number} [params.transactionTimeout] + * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] + * + * @returns {import('../../types').Producer} */ +module.exports = ({ + cluster, + logger: rootLogger, + createPartitioner = DefaultPartitioner, + retry, + idempotent = false, + transactionalId, + transactionTimeout, + instrumentationEmitter: rootInstrumentationEmitter, +}) => { + let connectionStatus = CONNECTION_STATUS.DISCONNECTED + retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 } -exports.formatters = {}; - -/** - * Previous log timestamp. - */ + if (idempotent && retry.retries < 1) { + throw new KafkaJSNonRetriableError( + 'Idempotent producer must allow retries to protect against transient errors' + ) + } -var prevTime; + const logger = rootLogger.namespace('Producer') -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ - -function selectColor(namespace) { - var hash = 0, i; - - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer + if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) { + logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees') } - return exports.colors[Math.abs(hash) % exports.colors.length]; -} - -/** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ + const partitioner = createPartitioner() + const retrier = createRetry(Object.assign({}, cluster.retry, retry)) + const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() + const idempotentEosManager = createEosManager({ + logger, + cluster, + transactionTimeout, + transactional: false, + transactionalId, + }) -function createDebug(namespace) { + const { send, sendBatch } = createMessageProducer({ + logger, + cluster, + partitioner, + eosManager: idempotentEosManager, + idempotent, + retrier, + getConnectionStatus: () => connectionStatus, + }) - function debug() { - // disabled? - if (!debug.enabled) return; + let transactionalEosManager - var self = debug; + /** @type {import("../../types").Producer["on"]} */ + const on = (eventName, listener) => { + if (!eventNames.includes(eventName)) { + throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) + } - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; + return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { + event.type = wrapEvent(event.type) + Promise.resolve(listener(event)).catch(e => { + logger.error(`Failed to execute listener: ${e.message}`, { + eventName, + stack: e.stack, + }) + }) + }) + } - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; + /** + * Begin a transaction. The returned object contains methods to send messages + * to the transaction and end the transaction by committing or aborting. + * + * Only messages sent on the transaction object will participate in the transaction. + * + * Calling any of the transactional methods after the transaction has ended + * will raise an exception (use `isActive` to ascertain if ended). + * @returns {Promise} + * + * @typedef {Object} Transaction + * @property {Function} send Identical to the producer "send" method + * @property {Function} sendBatch Identical to the producer "sendBatch" method + * @property {Function} abort Abort the transaction + * @property {Function} commit Commit the transaction + * @property {Function} isActive Whether the transaction is active + */ + const transaction = async () => { + if (!transactionalId) { + throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer') } - args[0] = exports.coerce(args[0]); + let transactionDidEnd = false + transactionalEosManager = + transactionalEosManager || + createEosManager({ + logger, + cluster, + transactionTimeout, + transactional: true, + transactionalId, + }) - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); + if (transactionalEosManager.isInTransaction()) { + throw new KafkaJSNonRetriableError( + 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.' + ) } - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); + // We only initialize the producer id once + if (!transactionalEosManager.isInitialized()) { + await transactionalEosManager.initProducerId() + } + transactionalEosManager.beginTransaction() - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; + const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({ + logger, + cluster, + partitioner, + retrier, + eosManager: transactionalEosManager, + idempotent: true, + getConnectionStatus: () => connectionStatus, + }) + + const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd + + const transactionGuard = fn => (...args) => { + if (!isActive()) { + return Promise.reject( + new KafkaJSNonRetriableError('Cannot continue to use transaction once ended') + ) } - return match; - }); - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); + return fn(...args) + } - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); + return { + sendBatch: transactionGuard(sendBatchTxn), + send: transactionGuard(sendTxn), + /** + * Abort the ongoing transaction. + * + * @throws {KafkaJSNonRetriableError} If transaction has ended + */ + abort: transactionGuard(async () => { + await transactionalEosManager.abort() + transactionDidEnd = true + }), + /** + * Commit the ongoing transaction. + * + * @throws {KafkaJSNonRetriableError} If transaction has ended + */ + commit: transactionGuard(async () => { + await transactionalEosManager.commit() + transactionDidEnd = true + }), + /** + * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction. + * + * @throws {KafkaJSNonRetriableError} If transaction has ended + */ + sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => { + await transactionalEosManager.sendOffsets({ consumerGroupId, topics }) + + for (const topicOffsets of topics) { + const { topic, partitions } = topicOffsets + for (const { partition, offset } of partitions) { + cluster.markOffsetAsCommitted({ + groupId: consumerGroupId, + topic, + partition, + offset, + }) + } + } + }), + isActive, + } } - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); + /** + * @returns {Object} logger + */ + const getLogger = () => logger - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); - } + return { + /** + * @returns {Promise} + */ + connect: async () => { + await cluster.connect() + connectionStatus = CONNECTION_STATUS.CONNECTED + instrumentationEmitter.emit(CONNECT) - return debug; + if (idempotent && !idempotentEosManager.isInitialized()) { + await idempotentEosManager.initProducerId() + } + }, + /** + * @return {Promise} + */ + disconnect: async () => { + connectionStatus = CONNECTION_STATUS.DISCONNECTING + await cluster.disconnect() + connectionStatus = CONNECTION_STATUS.DISCONNECTED + instrumentationEmitter.emit(DISCONNECT) + }, + isIdempotent: () => { + return idempotent + }, + events, + on, + send, + sendBatch, + transaction, + logger: getLogger, + } } -/** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ -function enable(namespaces) { - exports.save(namespaces); +/***/ }), - exports.names = []; - exports.skips = []; +/***/ "./node_modules/kafkajs/src/producer/instrumentationEvents.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/instrumentationEvents.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; +const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") +const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") +const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") +const producerType = InstrumentationEventType('producer') - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); - } - } +const events = { + CONNECT: producerType('connect'), + DISCONNECT: producerType('disconnect'), + REQUEST: producerType(networkEvents.NETWORK_REQUEST), + REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT), + REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), } -/** - * Disable debug output. - * - * @api public - */ +const wrappedEvents = { + [events.REQUEST]: networkEvents.NETWORK_REQUEST, + [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, + [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, +} -function disable() { - exports.enable(''); +const reversedWrappedEvents = swapObject(wrappedEvents) +const unwrap = eventName => wrappedEvents[eventName] || eventName +const wrap = eventName => reversedWrappedEvents[eventName] || eventName + +module.exports = { + events, + wrap, + unwrap, } -/** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; +/***/ }), + +/***/ "./node_modules/kafkajs/src/producer/messageProducer.js": +/*!**************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/messageProducer.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const createSendMessages = __webpack_require__(/*! ./sendMessages */ "./node_modules/kafkajs/src/producer/sendMessages.js") +const { KafkaJSError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const { CONNECTION_STATUS } = __webpack_require__(/*! ../network/connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") + +module.exports = ({ + logger, + cluster, + partitioner, + eosManager, + idempotent, + retrier, + getConnectionStatus, +}) => { + const sendMessages = createSendMessages({ + logger, + cluster, + retrier, + partitioner, + eosManager, + }) + + const validateConnectionStatus = () => { + const connectionStatus = getConnectionStatus() + + switch (connectionStatus) { + case CONNECTION_STATUS.DISCONNECTING: + throw new KafkaJSNonRetriableError( + `The producer is disconnecting; therefore, it can't safely accept messages anymore` + ) + case CONNECTION_STATUS.DISCONNECTED: + throw new KafkaJSError('The producer is disconnected') } } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; + + /** + * @typedef {Object} TopicMessages + * @property {string} topic + * @property {Array} messages An array of objects with "key" and "value", example: + * [{ key: 'my-key', value: 'my-value'}] + * + * @typedef {Object} SendBatchRequest + * @property {Array} topicMessages + * @property {number} [acks=-1] Control the number of required acks. + * -1 = all replicas must acknowledge + * 0 = no acknowledgments + * 1 = only waits for the leader to acknowledge + * + * @property {number} [timeout=30000] The time to await a response in ms + * @property {Compression.Types} [compression=Compression.Types.None] Compression codec + * + * @param {SendBatchRequest} + * @returns {Promise} + */ + const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => { + if (topicMessages.some(({ topic }) => !topic)) { + throw new KafkaJSNonRetriableError(`Invalid topic`) + } + + if (idempotent && acks !== -1) { + throw new KafkaJSNonRetriableError( + `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees` + ) + } + + for (const { topic, messages } of topicMessages) { + if (!messages) { + throw new KafkaJSNonRetriableError( + `Invalid messages array [${messages}] for topic "${topic}"` + ) + } + + const messageWithoutValue = messages.find(message => message.value === undefined) + if (messageWithoutValue) { + throw new KafkaJSNonRetriableError( + `Invalid message without value for topic "${topic}": ${JSON.stringify( + messageWithoutValue + )}` + ) + } } + + validateConnectionStatus() + const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => { + const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic) + + if (index === -1) { + merged.push({ topic, messages }) + } else { + merged[index].messages = [...merged[index].messages, ...messages] + } + + return merged + }, []) + + return await sendMessages({ + acks, + timeout, + compression, + topicMessages: mergedTopicMessages, + }) } - return false; -} -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ + /** + * @param {ProduceRequest} ProduceRequest + * @returns {Promise} + * + * @typedef {Object} ProduceRequest + * @property {string} topic + * @property {Array} messages An array of objects with "key" and "value", example: + * [{ key: 'my-key', value: 'my-value'}] + * @property {number} [acks=-1] Control the number of required acks. + * -1 = all replicas must acknowledge + * 0 = no acknowledgments + * 1 = only waits for the leader to acknowledge + * @property {number} [timeout=30000] The time to await a response in ms + * @property {Compression.Types} [compression=Compression.Types.None] Compression codec + */ + const send = async ({ acks, timeout, compression, topic, messages }) => { + const topicMessage = { topic, messages } + return sendBatch({ + acks, + timeout, + compression, + topicMessages: [topicMessage], + }) + } -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; + return { + send, + sendBatch, + } } /***/ }), -/***/ "./node_modules/finalhandler/node_modules/debug/src/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/finalhandler/node_modules/debug/src/index.js ***! - \*******************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/kafkajs/src/producer/partitioners/default/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/default/index.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ +const murmur2 = __webpack_require__(/*! ./murmur2 */ "./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js") +const createDefaultPartitioner = __webpack_require__(/*! ./partitioner */ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js") -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/finalhandler/node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/finalhandler/node_modules/debug/src/node.js"); -} +module.exports = createDefaultPartitioner(murmur2) /***/ }), -/***/ "./node_modules/finalhandler/node_modules/debug/src/node.js": -/*!******************************************************************!*\ - !*** ./node_modules/finalhandler/node_modules/debug/src/node.js ***! - \******************************************************************/ +/***/ "./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 14:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ -/***/ ((module, exports, __webpack_require__) => { +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module) => { -/** - * Module dependencies. - */ +/* eslint-disable */ -var tty = __webpack_require__(/*! tty */ "tty"); -var util = __webpack_require__(/*! util */ "util"); +// Based on the kafka client 0.10.2 murmur2 implementation +// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364 -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ - -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/finalhandler/node_modules/debug/src/debug.js"); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; +const SEED = 0x9747b28c -/** - * Colors. - */ +// 'm' and 'r' are mixing constants generated offline. +// They're not really 'magic', they just happen to work well. +const M = 0x5bd1e995 +const R = 24 -exports.colors = [6, 2, 3, 4, 5, 1]; +module.exports = key => { + const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key)) + const length = data.length -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ + // Initialize the hash to a random value + let h = SEED ^ length + let length4 = length / 4 -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); + for (let i = 0; i < length4; i++) { + const i4 = i * 4 + let k = + (data[i4 + 0] & 0xff) + + ((data[i4 + 1] & 0xff) << 8) + + ((data[i4 + 2] & 0xff) << 16) + + ((data[i4 + 3] & 0xff) << 24) + k *= M + k ^= k >>> R + k *= M + h *= M + h ^= k + } - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); + // Handle the last few bytes of the input array + switch (length % 4) { + case 3: + h ^= (data[(length & ~3) + 2] & 0xff) << 16 + case 2: + h ^= (data[(length & ~3) + 1] & 0xff) << 8 + case 1: + h ^= data[length & ~3] & 0xff + h *= M + } - obj[prop] = val; - return obj; -}, {}); + h ^= h >>> 13 + h *= M + h ^= h >>> 15 -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ + return h +} -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} +/***/ }), -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); +/***/ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ +const randomBytes = __webpack_require__(/*! ./randomBytes */ "./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js") -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); -} +// Based on the java client 0.10.2 +// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java /** - * Map %o to `util.inspect()`, all on a single line. + * A cheap way to deterministically convert a number to a positive value. When the input is + * positive, the original value is returned. When the input number is negative, the returned + * positive value is the original value bit AND against 0x7fffffff which is not its absolutely + * value. */ - -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); -}; +const toPositive = x => x & 0x7fffffff /** - * Map %o to `util.inspect()`, allowing multiple lines if needed. + * The default partitioning strategy: + * - If a partition is specified in the message, use it + * - If no partition is specified but a key is present choose a partition based on a hash of the key + * - If no partition or key is present choose a partition in a round-robin fashion */ +module.exports = murmur2 => () => { + const counters = {} -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; + return ({ topic, partitionMetadata, message }) => { + if (!(topic in counters)) { + counters[topic] = randomBytes(32).readUInt32BE(0) + } + const numPartitions = partitionMetadata.length + const availablePartitions = partitionMetadata.filter(p => p.leader >= 0) + const numAvailablePartitions = availablePartitions.length -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ + if (message.partition !== null && message.partition !== undefined) { + return message.partition + } -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; + if (message.key !== null && message.key !== undefined) { + return toPositive(murmur2(message.key)) % numPartitions + } - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; + if (numAvailablePartitions > 0) { + const i = toPositive(++counters[topic]) % numAvailablePartitions + return availablePartitions[i].partitionId + } - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; + // no partitions are available, give a non-available partition + return toPositive(++counters[topic]) % numPartitions } } -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); +/***/ }), + +/***/ "./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") + +const toNodeCompatible = crypto => ({ + randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)), +}) + +let cryptoImplementation = null +if (global && global.crypto) { + cryptoImplementation = + global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto +} else if (global && global.msCrypto) { + cryptoImplementation = toNodeCompatible(global.msCrypto) +} else if (global && !global.crypto) { + cryptoImplementation = __webpack_require__(/*! crypto */ "crypto") } -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ +const MAX_BYTES = 65536 -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; +module.exports = size => { + if (size > MAX_BYTES) { + throw new KafkaJSNonRetriableError( + `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})` + ) } -} -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ + if (!cryptoImplementation) { + throw new KafkaJSNonRetriableError('No available crypto implementation') + } -function load() { - return process.env.DEBUG; + return cryptoImplementation.randomBytes(size) } -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); +/***/ }), - // Note stream._type is used for test-module-load-list.js +/***/ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; +const murmur2 = __webpack_require__(/*! ./murmur2 */ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js") +const createDefaultPartitioner = __webpack_require__(/*! ../default/partitioner */ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js") - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; +module.exports = createDefaultPartitioner(murmur2) - case 'FILE': - var fs = __webpack_require__(/*! fs */ "fs"); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; - case 'PIPE': - case 'TCP': - var net = __webpack_require__(/*! net */ "net"); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); +/***/ }), - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; +/***/ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; +/* eslint-disable */ +const Long = __webpack_require__(/*! ../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); - } +// Based on the kafka client 0.10.2 murmur2 implementation +// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364 - // For supporting legacy API we put the FD here. - stream.fd = fd; +const SEED = Long.fromValue(0x9747b28c) - stream._isStdio = true; +// 'm' and 'r' are mixing constants generated offline. +// They're not really 'magic', they just happen to work well. +const M = Long.fromValue(0x5bd1e995) +const R = Long.fromValue(24) - return stream; -} +module.exports = key => { + const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key)) + const length = data.length -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ + // Initialize the hash to a random value + let h = Long.fromValue(SEED.xor(length)) + let length4 = Math.floor(length / 4) -function init (debug) { - debug.inspectOpts = {}; + for (let i = 0; i < length4; i++) { + const i4 = i * 4 + let k = + (data[i4 + 0] & 0xff) + + ((data[i4 + 1] & 0xff) << 8) + + ((data[i4 + 2] & 0xff) << 16) + + ((data[i4 + 3] & 0xff) << 24) + k = Long.fromValue(k) + k = k.multiply(M) + k = k.xor(k.toInt() >>> R) + k = Long.fromValue(k).multiply(M) + h = h.multiply(M) + h = h.xor(k) + } - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + // Handle the last few bytes of the input array + switch (length % 4) { + case 3: + h = h.xor((data[(length & ~3) + 2] & 0xff) << 16) + case 2: + h = h.xor((data[(length & ~3) + 1] & 0xff) << 8) + case 1: + h = h.xor(data[length & ~3] & 0xff) + h = h.multiply(M) } -} -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ + h = h.xor(h.toInt() >>> 13) + h = h.multiply(M) + h = h.xor(h.toInt() >>> 15) -exports.enable(load()); + return h.toInt() +} /***/ }), -/***/ "./node_modules/finalhandler/node_modules/ms/index.js": -/*!************************************************************!*\ - !*** ./node_modules/finalhandler/node_modules/ms/index.js ***! - \************************************************************/ +/***/ "./node_modules/kafkajs/src/producer/partitioners/index.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/partitioners/index.js ***! + \*****************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Helpers. - */ +const DefaultPartitioner = __webpack_require__(/*! ./default */ "./node_modules/kafkajs/src/producer/partitioners/default/index.js") +const JavaCompatiblePartitioner = __webpack_require__(/*! ./defaultJava */ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js") -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; +module.exports = { + DefaultPartitioner, + JavaCompatiblePartitioner, +} -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isNaN(val) === false) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; +/***/ }), -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ +/***/ "./node_modules/kafkajs/src/producer/responseSerializer.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/responseSerializer.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} +const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ +module.exports = ({ topics }) => { + const partitions = topics.map(({ topicName, partitions }) => + partitions.map(partition => ({ topicName, ...partition })) + ) -function fmtShort(ms) { - if (ms >= d) { - return Math.round(ms / d) + 'd'; - } - if (ms >= h) { - return Math.round(ms / h) + 'h'; - } - if (ms >= m) { - return Math.round(ms / m) + 'm'; - } - if (ms >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} - -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - -function fmtLong(ms) { - return plural(ms, d, 'day') || - plural(ms, h, 'hour') || - plural(ms, m, 'minute') || - plural(ms, s, 'second') || - ms + ' ms'; -} - -/** - * Pluralization helper. - */ - -function plural(ms, n, name) { - if (ms < n) { - return; - } - if (ms < n * 1.5) { - return Math.floor(ms / n) + ' ' + name; - } - return Math.ceil(ms / n) + ' ' + name + 's'; + return flatten(partitions) } /***/ }), -/***/ "./node_modules/follow-redirects/debug.js": -/*!************************************************!*\ - !*** ./node_modules/follow-redirects/debug.js ***! - \************************************************/ +/***/ "./node_modules/kafkajs/src/producer/sendMessages.js": +/*!***********************************************************!*\ + !*** ./node_modules/kafkajs/src/producer/sendMessages.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var debug; - -module.exports = function () { - if (!debug) { - try { - /* eslint global-require: off */ - debug = __webpack_require__(/*! debug */ "./node_modules/debug/src/index.js")("follow-redirects"); - } - catch (error) { /* */ } - if (typeof debug !== "function") { - debug = function () { /* */ }; - } - } - debug.apply(null, arguments); -}; +const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const { KafkaJSMetadataNotLoaded } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const { staleMetadata } = __webpack_require__(/*! ../protocol/error */ "./node_modules/kafkajs/src/protocol/error.js") +const groupMessagesPerPartition = __webpack_require__(/*! ./groupMessagesPerPartition */ "./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js") +const createTopicData = __webpack_require__(/*! ./createTopicData */ "./node_modules/kafkajs/src/producer/createTopicData.js") +const responseSerializer = __webpack_require__(/*! ./responseSerializer */ "./node_modules/kafkajs/src/producer/responseSerializer.js") +const { keys } = Object -/***/ }), +/** + * @param {Object} options + * @param {import("../../types").Logger} options.logger + * @param {import("../../types").Cluster} options.cluster + * @param {ReturnType} options.partitioner + * @param {import("./eosManager").EosManager} options.eosManager + * @param {import("../retry").Retrier} options.retrier + */ +module.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => { + return async ({ acks, timeout, compression, topicMessages }) => { + /** @type {Map} */ + const responsePerBroker = new Map() -/***/ "./node_modules/follow-redirects/index.js": -/*!************************************************!*\ - !*** ./node_modules/follow-redirects/index.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 620:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + /** @param {Map} responsePerBroker */ + const createProducerRequests = async responsePerBroker => { + const topicMetadata = new Map() -var url = __webpack_require__(/*! url */ "url"); -var URL = url.URL; -var http = __webpack_require__(/*! http */ "http"); -var https = __webpack_require__(/*! https */ "https"); -var Writable = __webpack_require__(/*! stream */ "stream").Writable; -var assert = __webpack_require__(/*! assert */ "assert"); -var debug = __webpack_require__(/*! ./debug */ "./node_modules/follow-redirects/debug.js"); + await cluster.refreshMetadataIfNecessary() -// Create handlers that pass events from native requests -var events = ["abort", "aborted", "connect", "error", "socket", "timeout"]; -var eventHandlers = Object.create(null); -events.forEach(function (event) { - eventHandlers[event] = function (arg1, arg2, arg3) { - this._redirectable.emit(event, arg1, arg2, arg3); - }; -}); + for (const { topic, messages } of topicMessages) { + const partitionMetadata = cluster.findTopicPartitionMetadata(topic) -var InvalidUrlError = createErrorType( - "ERR_INVALID_URL", - "Invalid URL", - TypeError -); -// Error types with codes -var RedirectionError = createErrorType( - "ERR_FR_REDIRECTION_FAILURE", - "Redirected request failed" -); -var TooManyRedirectsError = createErrorType( - "ERR_FR_TOO_MANY_REDIRECTS", - "Maximum number of redirects exceeded" -); -var MaxBodyLengthExceededError = createErrorType( - "ERR_FR_MAX_BODY_LENGTH_EXCEEDED", - "Request body larger than maxBodyLength limit" -); -var WriteAfterEndError = createErrorType( - "ERR_STREAM_WRITE_AFTER_END", - "write after end" -); + if (partitionMetadata.length === 0) { + logger.debug('Producing to topic without metadata', { + topic, + targetTopics: Array.from(cluster.targetTopics), + }) -// An HTTP(S) request that can be redirected -function RedirectableRequest(options, responseCallback) { - // Initialize the request - Writable.call(this); - this._sanitizeOptions(options); - this._options = options; - this._ended = false; - this._ending = false; - this._redirectCount = 0; - this._redirects = []; - this._requestBodyLength = 0; - this._requestBodyBuffers = []; + throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata') + } - // Attach a callback if passed - if (responseCallback) { - this.on("response", responseCallback); - } + const messagesPerPartition = groupMessagesPerPartition({ + topic, + partitionMetadata, + messages, + partitioner, + }) - // React to responses of native requests - var self = this; - this._onNativeResponse = function (response) { - self._processResponse(response); - }; + const partitions = keys(messagesPerPartition) + const sequencePerPartition = partitions.reduce((result, partition) => { + result[partition] = eosManager.getSequence(topic, partition) + return result + }, {}) - // Perform the first request - this._performRequest(); -} -RedirectableRequest.prototype = Object.create(Writable.prototype); + const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions) + const leaders = keys(partitionsPerLeader) -RedirectableRequest.prototype.abort = function () { - abortRequest(this._currentRequest); - this.emit("abort"); -}; + topicMetadata.set(topic, { + partitionsPerLeader, + messagesPerPartition, + sequencePerPartition, + }) -// Writes buffered data to the current native request -RedirectableRequest.prototype.write = function (data, encoding, callback) { - // Writing is not allowed if end has been called - if (this._ending) { - throw new WriteAfterEndError(); - } + for (const nodeId of leaders) { + const broker = await cluster.findBroker({ nodeId }) + if (!responsePerBroker.has(broker)) { + responsePerBroker.set(broker, null) + } + } + } - // Validate input and shift parameters if necessary - if (!isString(data) && !isBuffer(data)) { - throw new TypeError("data should be a string, Buffer or Uint8Array"); - } - if (isFunction(encoding)) { - callback = encoding; - encoding = null; - } + const brokers = Array.from(responsePerBroker.keys()) + const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker)) - // Ignore empty buffers, since writing them doesn't invoke the callback - // https://github.com/nodejs/node/issues/22066 - if (data.length === 0) { - if (callback) { - callback(); - } - return; - } - // Only write when we don't exceed the maximum body length - if (this._requestBodyLength + data.length <= this._options.maxBodyLength) { - this._requestBodyLength += data.length; - this._requestBodyBuffers.push({ data: data, encoding: encoding }); - this._currentRequest.write(data, encoding, callback); - } - // Error when we exceed the maximum body length - else { - this.emit("error", new MaxBodyLengthExceededError()); - this.abort(); - } -}; + return brokersWithoutResponse.map(async broker => { + const entries = Array.from(topicMetadata.entries()) + const topicDataForBroker = entries + .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId]) + .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({ + topic, + partitions: partitionsPerLeader[broker.nodeId], + sequencePerPartition, + messagesPerPartition, + })) -// Ends the current native request -RedirectableRequest.prototype.end = function (data, encoding, callback) { - // Shift parameters if necessary - if (isFunction(data)) { - callback = data; - data = encoding = null; - } - else if (isFunction(encoding)) { - callback = encoding; - encoding = null; - } + const topicData = createTopicData(topicDataForBroker) - // Write data if needed and end - if (!data) { - this._ended = this._ending = true; - this._currentRequest.end(null, null, callback); - } - else { - var self = this; - var currentRequest = this._currentRequest; - this.write(data, encoding, function () { - self._ended = true; - currentRequest.end(null, null, callback); - }); - this._ending = true; - } -}; + try { + if (eosManager.isTransactional()) { + await eosManager.addPartitionsToTransaction(topicData) + } -// Sets a header value on the current native request -RedirectableRequest.prototype.setHeader = function (name, value) { - this._options.headers[name] = value; - this._currentRequest.setHeader(name, value); -}; + const response = await broker.produce({ + transactionalId: eosManager.isTransactional() + ? eosManager.getTransactionalId() + : undefined, + producerId: eosManager.getProducerId(), + producerEpoch: eosManager.getProducerEpoch(), + acks, + timeout, + compression, + topicData, + }) -// Clears a header value on the current native request -RedirectableRequest.prototype.removeHeader = function (name) { - delete this._options.headers[name]; - this._currentRequest.removeHeader(name); -}; + const expectResponse = acks !== 0 + const formattedResponse = expectResponse ? responseSerializer(response) : [] -// Global timeout for all underlying requests -RedirectableRequest.prototype.setTimeout = function (msecs, callback) { - var self = this; + formattedResponse.forEach(({ topicName, partition }) => { + const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length - // Destroys the socket on timeout - function destroyOnTimeout(socket) { - socket.setTimeout(msecs); - socket.removeListener("timeout", socket.destroy); - socket.addListener("timeout", socket.destroy); - } + eosManager.updateSequence(topicName, partition, increment) + }) - // Sets up a timer to trigger a timeout event - function startTimer(socket) { - if (self._timeout) { - clearTimeout(self._timeout); + responsePerBroker.set(broker, formattedResponse) + } catch (e) { + responsePerBroker.delete(broker) + throw e + } + }) } - self._timeout = setTimeout(function () { - self.emit("timeout"); - clearTimer(); - }, msecs); - destroyOnTimeout(socket); - } - // Stops a timeout from triggering - function clearTimer() { - // Clear the timeout - if (self._timeout) { - clearTimeout(self._timeout); - self._timeout = null; - } + return retrier(async (bail, retryCount, retryTime) => { + const topics = topicMessages.map(({ topic }) => topic) + await cluster.addMultipleTargetTopics(topics) - // Clean up all attached listeners - self.removeListener("abort", clearTimer); - self.removeListener("error", clearTimer); - self.removeListener("response", clearTimer); - if (callback) { - self.removeListener("timeout", callback); - } - if (!self.socket) { - self._currentRequest.removeListener("socket", startTimer); - } - } + try { + const requests = await createProducerRequests(responsePerBroker) + await Promise.all(requests) + const responses = Array.from(responsePerBroker.values()) + return flatten(responses) + } catch (e) { + if (e.name === 'KafkaJSConnectionClosedError') { + cluster.removeBroker({ host: e.host, port: e.port }) + } - // Attach callback if passed - if (callback) { - this.on("timeout", callback); - } + if (!cluster.isConnected()) { + logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, { + retryCount, + retryTime, + }) + await cluster.connect() + await cluster.refreshMetadata() + throw e + } - // Start the timer if or when the socket is opened - if (this.socket) { - startTimer(this.socket); - } - else { - this._currentRequest.once("socket", startTimer); - } + // This is necessary in case the metadata is stale and the number of partitions + // for this topic has increased in the meantime + if ( + staleMetadata(e) || + e.name === 'KafkaJSMetadataNotLoaded' || + e.name === 'KafkaJSConnectionError' || + e.name === 'KafkaJSConnectionClosedError' || + (e.name === 'KafkaJSProtocolError' && e.retriable) + ) { + logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime }) + await cluster.refreshMetadata() + throw e + } - // Clean up on events - this.on("socket", destroyOnTimeout); - this.on("abort", clearTimer); - this.on("error", clearTimer); - this.on("response", clearTimer); + logger.error(`${e.message}`, { retryCount, retryTime }) + if (e.retriable) throw e + bail(e) + } + }) + } +} - return this; -}; -// Proxy all other public ClientRequest methods -[ - "flushHeaders", "getHeader", - "setNoDelay", "setSocketKeepAlive", -].forEach(function (method) { - RedirectableRequest.prototype[method] = function (a, b) { - return this._currentRequest[method](a, b); - }; -}); +/***/ }), -// Proxy all public ClientRequest properties -["aborted", "connection", "socket"].forEach(function (property) { - Object.defineProperty(RedirectableRequest.prototype, property, { - get: function () { return this._currentRequest[property]; }, - }); -}); +/***/ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js": +/*!****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/aclOperationTypes.js ***! + \****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module) => { -RedirectableRequest.prototype._sanitizeOptions = function (options) { - // Ensure headers are always present - if (!options.headers) { - options.headers = {}; - } +// From: +// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44 - // Since http.request treats host as an alias of hostname, - // but the url module interprets host as hostname plus port, - // eliminate the host property to avoid confusion. - if (options.host) { - // Use hostname if set, because it has precedence - if (!options.hostname) { - options.hostname = options.host; - } - delete options.host; - } +/** + * @typedef {number} ACLOperationTypes + * + * Enum for ACL Operations Types + * @readonly + * @enum {ACLOperationTypes} + */ +module.exports = { + /** + * Represents any AclOperation which this client cannot understand, perhaps because this + * client is too old. + */ + UNKNOWN: 0, + /** + * In a filter, matches any AclOperation. + */ + ANY: 1, + /** + * ALL operation. + */ + ALL: 2, + /** + * READ operation. + */ + READ: 3, + /** + * WRITE operation. + */ + WRITE: 4, + /** + * CREATE operation. + */ + CREATE: 5, + /** + * DELETE operation. + */ + DELETE: 6, + /** + * ALTER operation. + */ + ALTER: 7, + /** + * DESCRIBE operation. + */ + DESCRIBE: 8, + /** + * CLUSTER_ACTION operation. + */ + CLUSTER_ACTION: 9, + /** + * DESCRIBE_CONFIGS operation. + */ + DESCRIBE_CONFIGS: 10, + /** + * ALTER_CONFIGS operation. + */ + ALTER_CONFIGS: 11, + /** + * IDEMPOTENT_WRITE operation. + */ + IDEMPOTENT_WRITE: 12, +} - // Complete the URL object when necessary - if (!options.pathname && options.path) { - var searchPos = options.path.indexOf("?"); - if (searchPos < 0) { - options.pathname = options.path; - } - else { - options.pathname = options.path.substring(0, searchPos); - options.search = options.path.substring(searchPos); - } - } -}; +/***/ }), -// Executes the next native request (initial or redirect) -RedirectableRequest.prototype._performRequest = function () { - // Load the native protocol - var protocol = this._options.protocol; - var nativeProtocol = this._options.nativeProtocols[protocol]; - if (!nativeProtocol) { - this.emit("error", new TypeError("Unsupported protocol " + protocol)); - return; - } - - // If specified, use the agent corresponding to the protocol - // (HTTP and HTTPS use different types of agents) - if (this._options.agents) { - var scheme = protocol.slice(0, -1); - this._options.agent = this._options.agents[scheme]; - } - - // Create the native request and set up its event handlers - var request = this._currentRequest = - nativeProtocol.request(this._options, this._onNativeResponse); - request._redirectable = this; - for (var event of events) { - request.on(event, eventHandlers[event]); - } - - // RFC7230§5.3.1: When making a request directly to an origin server, […] - // a client MUST send only the absolute path […] as the request-target. - this._currentUrl = /^\//.test(this._options.path) ? - url.format(this._options) : - // When making a request to a proxy, […] - // a client MUST send the target URI in absolute-form […]. - this._options.path; - - // End a redirected request - // (The first request must be ended explicitly with RedirectableRequest#end) - if (this._isRedirect) { - // Write the request entity and end - var i = 0; - var self = this; - var buffers = this._requestBodyBuffers; - (function writeNext(error) { - // Only write if this request has not been redirected yet - /* istanbul ignore else */ - if (request === self._currentRequest) { - // Report any write errors - /* istanbul ignore if */ - if (error) { - self.emit("error", error); - } - // Write the next buffer if there are still left - else if (i < buffers.length) { - var buffer = buffers[i++]; - /* istanbul ignore else */ - if (!request.finished) { - request.write(buffer.data, buffer.encoding, writeNext); - } - } - // End the request if `end` has been called on us - else if (self._ended) { - request.end(); - } - } - }()); - } -}; - -// Processes a response from the current native request -RedirectableRequest.prototype._processResponse = function (response) { - // Store the redirected response - var statusCode = response.statusCode; - if (this._options.trackRedirects) { - this._redirects.push({ - url: this._currentUrl, - headers: response.headers, - statusCode: statusCode, - }); - } - - // RFC7231§6.4: The 3xx (Redirection) class of status code indicates - // that further action needs to be taken by the user agent in order to - // fulfill the request. If a Location header field is provided, - // the user agent MAY automatically redirect its request to the URI - // referenced by the Location field value, - // even if the specific status code is not understood. - - // If the response is not a redirect; return it as-is - var location = response.headers.location; - if (!location || this._options.followRedirects === false || - statusCode < 300 || statusCode >= 400) { - response.responseUrl = this._currentUrl; - response.redirects = this._redirects; - this.emit("response", response); - - // Clean up - this._requestBodyBuffers = []; - return; - } - - // The response is a redirect, so abort the current request - abortRequest(this._currentRequest); - // Discard the remainder of the response to avoid waiting for data - response.destroy(); - - // RFC7231§6.4: A client SHOULD detect and intervene - // in cyclical redirections (i.e., "infinite" redirection loops). - if (++this._redirectCount > this._options.maxRedirects) { - this.emit("error", new TooManyRedirectsError()); - return; - } - - // Store the request headers if applicable - var requestHeaders; - var beforeRedirect = this._options.beforeRedirect; - if (beforeRedirect) { - requestHeaders = Object.assign({ - // The Host header was set by nativeProtocol.request - Host: response.req.getHeader("host"), - }, this._options.headers); - } - - // RFC7231§6.4: Automatic redirection needs to done with - // care for methods not known to be safe, […] - // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change - // the request method from POST to GET for the subsequent request. - var method = this._options.method; - if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" || - // RFC7231§6.4.4: The 303 (See Other) status code indicates that - // the server is redirecting the user agent to a different resource […] - // A user agent can perform a retrieval request targeting that URI - // (a GET or HEAD request if using HTTP) […] - (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) { - this._options.method = "GET"; - // Drop a possible entity and headers related to it - this._requestBodyBuffers = []; - removeMatchingHeaders(/^content-/i, this._options.headers); - } - - // Drop the Host header, as the redirect might lead to a different host - var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers); - - // If the redirect is relative, carry over the host of the last request - var currentUrlParts = url.parse(this._currentUrl); - var currentHost = currentHostHeader || currentUrlParts.host; - var currentUrl = /^\w+:/.test(location) ? this._currentUrl : - url.format(Object.assign(currentUrlParts, { host: currentHost })); - - // Determine the URL of the redirection - var redirectUrl; - try { - redirectUrl = url.resolve(currentUrl, location); - } - catch (cause) { - this.emit("error", new RedirectionError({ cause: cause })); - return; - } - - // Create the redirected request - debug("redirecting to", redirectUrl); - this._isRedirect = true; - var redirectUrlParts = url.parse(redirectUrl); - Object.assign(this._options, redirectUrlParts); - - // Drop confidential headers when redirecting to a less secure protocol - // or to a different domain that is not a superdomain - if (redirectUrlParts.protocol !== currentUrlParts.protocol && - redirectUrlParts.protocol !== "https:" || - redirectUrlParts.host !== currentHost && - !isSubdomain(redirectUrlParts.host, currentHost)) { - removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers); - } - - // Evaluate the beforeRedirect callback - if (isFunction(beforeRedirect)) { - var responseDetails = { - headers: response.headers, - statusCode: statusCode, - }; - var requestDetails = { - url: currentUrl, - method: method, - headers: requestHeaders, - }; - try { - beforeRedirect(this._options, responseDetails, requestDetails); - } - catch (err) { - this.emit("error", err); - return; - } - this._sanitizeOptions(this._options); - } - - // Perform the redirected request - try { - this._performRequest(); - } - catch (cause) { - this.emit("error", new RedirectionError({ cause: cause })); - } -}; - -// Wraps the key/value object of protocols with redirect functionality -function wrap(protocols) { - // Default settings - var exports = { - maxRedirects: 21, - maxBodyLength: 10 * 1024 * 1024, - }; - - // Wrap each protocol - var nativeProtocols = {}; - Object.keys(protocols).forEach(function (scheme) { - var protocol = scheme + ":"; - var nativeProtocol = nativeProtocols[protocol] = protocols[scheme]; - var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol); - - // Executes a request, following redirects - function request(input, options, callback) { - // Parse parameters - if (isString(input)) { - var parsed; - try { - parsed = urlToOptions(new URL(input)); - } - catch (err) { - /* istanbul ignore next */ - parsed = url.parse(input); - } - if (!isString(parsed.protocol)) { - throw new InvalidUrlError({ input }); - } - input = parsed; - } - else if (URL && (input instanceof URL)) { - input = urlToOptions(input); - } - else { - callback = options; - options = input; - input = { protocol: protocol }; - } - if (isFunction(options)) { - callback = options; - options = null; - } - - // Set defaults - options = Object.assign({ - maxRedirects: exports.maxRedirects, - maxBodyLength: exports.maxBodyLength, - }, input, options); - options.nativeProtocols = nativeProtocols; - if (!isString(options.host) && !isString(options.hostname)) { - options.hostname = "::1"; - } - - assert.equal(options.protocol, protocol, "protocol mismatch"); - debug("options", options); - return new RedirectableRequest(options, callback); - } +/***/ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/aclPermissionTypes.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module) => { - // Executes a GET request, following redirects - function get(input, options, callback) { - var wrappedRequest = wrappedProtocol.request(input, options, callback); - wrappedRequest.end(); - return wrappedRequest; - } +// From: +// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31 - // Expose the properties on the wrapped protocol - Object.defineProperties(wrappedProtocol, { - request: { value: request, configurable: true, enumerable: true, writable: true }, - get: { value: get, configurable: true, enumerable: true, writable: true }, - }); - }); - return exports; +/** + * @typedef {number} ACLPermissionTypes + * + * Enum for Permission Types + * @readonly + * @enum {ACLPermissionTypes} + */ +module.exports = { + /** + * Represents any AclPermissionType which this client cannot understand, + * perhaps because this client is too old. + */ + UNKNOWN: 0, + /** + * In a filter, matches any AclPermissionType. + */ + ANY: 1, + /** + * Disallows access. + */ + DENY: 2, + /** + * Grants access. + */ + ALLOW: 3, } -/* istanbul ignore next */ -function noop() { /* empty */ } - -// from https://github.com/nodejs/node/blob/master/lib/internal/url.js -function urlToOptions(urlObject) { - var options = { - protocol: urlObject.protocol, - hostname: urlObject.hostname.startsWith("[") ? - /* istanbul ignore next */ - urlObject.hostname.slice(1, -1) : - urlObject.hostname, - hash: urlObject.hash, - search: urlObject.search, - pathname: urlObject.pathname, - path: urlObject.pathname + urlObject.search, - href: urlObject.href, - }; - if (urlObject.port !== "") { - options.port = Number(urlObject.port); - } - return options; -} -function removeMatchingHeaders(regex, headers) { - var lastValue; - for (var header in headers) { - if (regex.test(header)) { - lastValue = headers[header]; - delete headers[header]; - } - } - return (lastValue === null || typeof lastValue === "undefined") ? - undefined : String(lastValue).trim(); -} +/***/ }), -function createErrorType(code, message, baseClass) { - // Create constructor - function CustomError(properties) { - Error.captureStackTrace(this, this.constructor); - Object.assign(this, properties || {}); - this.code = code; - this.message = this.cause ? message + ": " + this.cause.message : message; - } +/***/ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/aclResourceTypes.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module) => { - // Attach constructor and set default properties - CustomError.prototype = new (baseClass || Error)(); - CustomError.prototype.constructor = CustomError; - CustomError.prototype.name = "Error [" + code + "]"; - return CustomError; -} +/** + * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31 + * @typedef {number} ACLResourceTypes + * + * Enum for ACL Resource Types + * @readonly + * @enum {ACLResourceTypes} + */ -function abortRequest(request) { - for (var event of events) { - request.removeListener(event, eventHandlers[event]); - } - request.on("error", noop); - request.abort(); +module.exports = { + /** + * Represents any ResourceType which this client cannot understand, + * perhaps because this client is too old. + */ + UNKNOWN: 0, + /** + * In a filter, matches any ResourceType. + */ + ANY: 1, + /** + * A Kafka topic. + * @see http://kafka.apache.org/documentation/#topicconfigs + */ + TOPIC: 2, + /** + * A consumer group. + * @see http://kafka.apache.org/documentation/#consumerconfigs + */ + GROUP: 3, + /** + * The cluster as a whole. + */ + CLUSTER: 4, + /** + * A transactional ID. + */ + TRANSACTIONAL_ID: 5, + /** + * A token ID. + */ + DELEGATION_TOKEN: 6, } -function isSubdomain(subdomain, domain) { - assert(isString(subdomain) && isString(domain)); - var dot = subdomain.length - domain.length - 1; - return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); -} -function isString(value) { - return typeof value === "string" || value instanceof String; -} +/***/ }), -function isFunction(value) { - return typeof value === "function"; -} +/***/ "./node_modules/kafkajs/src/protocol/configResourceTypes.js": +/*!******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/configResourceTypes.js ***! + \******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module) => { -function isBuffer(value) { - return typeof value === "object" && ("length" in value); +/** + * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java + */ +module.exports = { + UNKNOWN: 0, + TOPIC: 2, + BROKER: 4, + BROKER_LOGGER: 8, } -// Exports -module.exports = wrap({ http: http, https: https }); -module.exports.wrap = wrap; - /***/ }), -/***/ "./node_modules/forwarded/index.js": -/*!*****************************************!*\ - !*** ./node_modules/forwarded/index.js ***! - \*****************************************/ +/***/ "./node_modules/kafkajs/src/protocol/configSource.js": +/*!***********************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/configSource.js ***! + \***********************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ /***/ ((module) => { -"use strict"; -/*! - * forwarded - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed +/** + * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122 */ +module.exports = { + UNKNOWN: 0, + TOPIC_CONFIG: 1, + DYNAMIC_BROKER_CONFIG: 2, + DYNAMIC_DEFAULT_BROKER_CONFIG: 3, + STATIC_BROKER_CONFIG: 4, + DEFAULT_CONFIG: 5, + DYNAMIC_BROKER_LOGGER_CONFIG: 6, +} +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/coordinatorTypes.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module) => { -module.exports = forwarded +// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator /** - * Get all addresses in the request, using the `X-Forwarded-For` header. + * @typedef {number} CoordinatorType * - * @param {object} req - * @return {array} - * @public + * Enum for the types of coordinator to find. + * @enum {CoordinatorType} */ - -function forwarded (req) { - if (!req) { - throw new TypeError('argument req is required') - } - - // simple header parsing - var proxyAddrs = parse(req.headers['x-forwarded-for'] || '') - var socketAddr = getSocketAddr(req) - var addrs = [socketAddr].concat(proxyAddrs) - - // return all addresses - return addrs +module.exports = { + GROUP: 0, + TRANSACTION: 1, } -/** - * Get the socket address for a request. - * - * @param {object} req - * @return {string} - * @private - */ -function getSocketAddr (req) { - return req.socket - ? req.socket.remoteAddress - : req.connection.remoteAddress -} +/***/ }), -/** - * Parse the X-Forwarded-For header. - * - * @param {string} header - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/crc32.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/crc32.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 262:0-14 */ +/***/ ((module) => { -function parse (header) { - var end = header.length - var list = [] - var start = header.length +// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js - // gather addresses, backwards - for (var i = header.length - 1; i >= 0; i--) { - switch (header.charCodeAt(i)) { - case 0x20: /* */ - if (start === end) { - start = end = i - } - break - case 0x2c: /* , */ - if (start !== end) { - list.push(header.substring(start, end)) - } - start = end = i - break - default: - start = i - break - } - } +var CRC_TABLE = new Int32Array([ + 0x00000000, + 0x77073096, + 0xee0e612c, + 0x990951ba, + 0x076dc419, + 0x706af48f, + 0xe963a535, + 0x9e6495a3, + 0x0edb8832, + 0x79dcb8a4, + 0xe0d5e91e, + 0x97d2d988, + 0x09b64c2b, + 0x7eb17cbd, + 0xe7b82d07, + 0x90bf1d91, + 0x1db71064, + 0x6ab020f2, + 0xf3b97148, + 0x84be41de, + 0x1adad47d, + 0x6ddde4eb, + 0xf4d4b551, + 0x83d385c7, + 0x136c9856, + 0x646ba8c0, + 0xfd62f97a, + 0x8a65c9ec, + 0x14015c4f, + 0x63066cd9, + 0xfa0f3d63, + 0x8d080df5, + 0x3b6e20c8, + 0x4c69105e, + 0xd56041e4, + 0xa2677172, + 0x3c03e4d1, + 0x4b04d447, + 0xd20d85fd, + 0xa50ab56b, + 0x35b5a8fa, + 0x42b2986c, + 0xdbbbc9d6, + 0xacbcf940, + 0x32d86ce3, + 0x45df5c75, + 0xdcd60dcf, + 0xabd13d59, + 0x26d930ac, + 0x51de003a, + 0xc8d75180, + 0xbfd06116, + 0x21b4f4b5, + 0x56b3c423, + 0xcfba9599, + 0xb8bda50f, + 0x2802b89e, + 0x5f058808, + 0xc60cd9b2, + 0xb10be924, + 0x2f6f7c87, + 0x58684c11, + 0xc1611dab, + 0xb6662d3d, + 0x76dc4190, + 0x01db7106, + 0x98d220bc, + 0xefd5102a, + 0x71b18589, + 0x06b6b51f, + 0x9fbfe4a5, + 0xe8b8d433, + 0x7807c9a2, + 0x0f00f934, + 0x9609a88e, + 0xe10e9818, + 0x7f6a0dbb, + 0x086d3d2d, + 0x91646c97, + 0xe6635c01, + 0x6b6b51f4, + 0x1c6c6162, + 0x856530d8, + 0xf262004e, + 0x6c0695ed, + 0x1b01a57b, + 0x8208f4c1, + 0xf50fc457, + 0x65b0d9c6, + 0x12b7e950, + 0x8bbeb8ea, + 0xfcb9887c, + 0x62dd1ddf, + 0x15da2d49, + 0x8cd37cf3, + 0xfbd44c65, + 0x4db26158, + 0x3ab551ce, + 0xa3bc0074, + 0xd4bb30e2, + 0x4adfa541, + 0x3dd895d7, + 0xa4d1c46d, + 0xd3d6f4fb, + 0x4369e96a, + 0x346ed9fc, + 0xad678846, + 0xda60b8d0, + 0x44042d73, + 0x33031de5, + 0xaa0a4c5f, + 0xdd0d7cc9, + 0x5005713c, + 0x270241aa, + 0xbe0b1010, + 0xc90c2086, + 0x5768b525, + 0x206f85b3, + 0xb966d409, + 0xce61e49f, + 0x5edef90e, + 0x29d9c998, + 0xb0d09822, + 0xc7d7a8b4, + 0x59b33d17, + 0x2eb40d81, + 0xb7bd5c3b, + 0xc0ba6cad, + 0xedb88320, + 0x9abfb3b6, + 0x03b6e20c, + 0x74b1d29a, + 0xead54739, + 0x9dd277af, + 0x04db2615, + 0x73dc1683, + 0xe3630b12, + 0x94643b84, + 0x0d6d6a3e, + 0x7a6a5aa8, + 0xe40ecf0b, + 0x9309ff9d, + 0x0a00ae27, + 0x7d079eb1, + 0xf00f9344, + 0x8708a3d2, + 0x1e01f268, + 0x6906c2fe, + 0xf762575d, + 0x806567cb, + 0x196c3671, + 0x6e6b06e7, + 0xfed41b76, + 0x89d32be0, + 0x10da7a5a, + 0x67dd4acc, + 0xf9b9df6f, + 0x8ebeeff9, + 0x17b7be43, + 0x60b08ed5, + 0xd6d6a3e8, + 0xa1d1937e, + 0x38d8c2c4, + 0x4fdff252, + 0xd1bb67f1, + 0xa6bc5767, + 0x3fb506dd, + 0x48b2364b, + 0xd80d2bda, + 0xaf0a1b4c, + 0x36034af6, + 0x41047a60, + 0xdf60efc3, + 0xa867df55, + 0x316e8eef, + 0x4669be79, + 0xcb61b38c, + 0xbc66831a, + 0x256fd2a0, + 0x5268e236, + 0xcc0c7795, + 0xbb0b4703, + 0x220216b9, + 0x5505262f, + 0xc5ba3bbe, + 0xb2bd0b28, + 0x2bb45a92, + 0x5cb36a04, + 0xc2d7ffa7, + 0xb5d0cf31, + 0x2cd99e8b, + 0x5bdeae1d, + 0x9b64c2b0, + 0xec63f226, + 0x756aa39c, + 0x026d930a, + 0x9c0906a9, + 0xeb0e363f, + 0x72076785, + 0x05005713, + 0x95bf4a82, + 0xe2b87a14, + 0x7bb12bae, + 0x0cb61b38, + 0x92d28e9b, + 0xe5d5be0d, + 0x7cdcefb7, + 0x0bdbdf21, + 0x86d3d2d4, + 0xf1d4e242, + 0x68ddb3f8, + 0x1fda836e, + 0x81be16cd, + 0xf6b9265b, + 0x6fb077e1, + 0x18b74777, + 0x88085ae6, + 0xff0f6a70, + 0x66063bca, + 0x11010b5c, + 0x8f659eff, + 0xf862ae69, + 0x616bffd3, + 0x166ccf45, + 0xa00ae278, + 0xd70dd2ee, + 0x4e048354, + 0x3903b3c2, + 0xa7672661, + 0xd06016f7, + 0x4969474d, + 0x3e6e77db, + 0xaed16a4a, + 0xd9d65adc, + 0x40df0b66, + 0x37d83bf0, + 0xa9bcae53, + 0xdebb9ec5, + 0x47b2cf7f, + 0x30b5ffe9, + 0xbdbdf21c, + 0xcabac28a, + 0x53b39330, + 0x24b4a3a6, + 0xbad03605, + 0xcdd70693, + 0x54de5729, + 0x23d967bf, + 0xb3667a2e, + 0xc4614ab8, + 0x5d681b02, + 0x2a6f2b94, + 0xb40bbe37, + 0xc30c8ea1, + 0x5a05df1b, + 0x2d02ef8d, +]) - // final address - if (start !== end) { - list.push(header.substring(start, end)) +module.exports = encoder => { + const { buffer } = encoder + const l = buffer.length + let crc = -1 + for (let n = 0; n < l; n++) { + crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8) } - - return list + return crc ^ -1 } /***/ }), -/***/ "./node_modules/fresh/index.js": -/*!*************************************!*\ - !*** ./node_modules/fresh/index.js ***! - \*************************************/ +/***/ "./node_modules/kafkajs/src/protocol/decoder.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/decoder.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * fresh - * Copyright(c) 2012 TJ Holowaychuk - * Copyright(c) 2016-2017 Douglas Christopher Wilson - * MIT Licensed - */ +const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const INT8_SIZE = 1 +const INT16_SIZE = 2 +const INT32_SIZE = 4 +const INT64_SIZE = 8 +const DOUBLE_SIZE = 8 +const MOST_SIGNIFICANT_BIT = 0x80 // 128 +const OTHER_BITS = 0x7f // 127 -/** - * RegExp to check for no-cache token in Cache-Control. - * @private - */ +module.exports = class Decoder { + static int32Size() { + return INT32_SIZE + } -var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/ + static decodeZigZag(value) { + return (value >>> 1) ^ -(value & 1) + } -/** - * Module exports. - * @public - */ + static decodeZigZag64(longValue) { + return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate()) + } -module.exports = fresh + constructor(buffer) { + this.buffer = buffer + this.offset = 0 + } -/** - * Check freshness of the response using request and response headers. - * - * @param {Object} reqHeaders - * @param {Object} resHeaders - * @return {Boolean} - * @public - */ + readInt8() { + const value = this.buffer.readInt8(this.offset) + this.offset += INT8_SIZE + return value + } -function fresh (reqHeaders, resHeaders) { - // fields - var modifiedSince = reqHeaders['if-modified-since'] - var noneMatch = reqHeaders['if-none-match'] + canReadInt16() { + return this.canReadBytes(INT16_SIZE) + } - // unconditional request - if (!modifiedSince && !noneMatch) { - return false + readInt16() { + const value = this.buffer.readInt16BE(this.offset) + this.offset += INT16_SIZE + return value } - // Always return stale when Cache-Control: no-cache - // to support end-to-end reload requests - // https://tools.ietf.org/html/rfc2616#section-14.9.4 - var cacheControl = reqHeaders['cache-control'] - if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) { - return false + canReadInt32() { + return this.canReadBytes(INT32_SIZE) } - // if-none-match - if (noneMatch && noneMatch !== '*') { - var etag = resHeaders['etag'] + readInt32() { + const value = this.buffer.readInt32BE(this.offset) + this.offset += INT32_SIZE + return value + } - if (!etag) { - return false - } + canReadInt64() { + return this.canReadBytes(INT64_SIZE) + } - var etagStale = true - var matches = parseTokenList(noneMatch) - for (var i = 0; i < matches.length; i++) { - var match = matches[i] - if (match === etag || match === 'W/' + etag || 'W/' + match === etag) { - etagStale = false - break - } - } + readInt64() { + const first = this.buffer[this.offset] + const last = this.buffer[this.offset + 7] - if (etagStale) { - return false - } + const low = + (first << 24) + // Overflow + this.buffer[this.offset + 1] * 2 ** 16 + + this.buffer[this.offset + 2] * 2 ** 8 + + this.buffer[this.offset + 3] + const high = + this.buffer[this.offset + 4] * 2 ** 24 + + this.buffer[this.offset + 5] * 2 ** 16 + + this.buffer[this.offset + 6] * 2 ** 8 + + last + this.offset += INT64_SIZE + + return (BigInt(low) << 32n) + BigInt(high) + } + + readDouble() { + const value = this.buffer.readDoubleBE(this.offset) + this.offset += DOUBLE_SIZE + return value } - // if-modified-since - if (modifiedSince) { - var lastModified = resHeaders['last-modified'] - var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince)) + readString() { + const byteLength = this.readInt16() - if (modifiedStale) { - return false + if (byteLength === -1) { + return null } + + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + const value = stringBuffer.toString('utf8') + this.offset += byteLength + return value } - return true -} + readVarIntString() { + const byteLength = this.readVarInt() -/** - * Parse an HTTP Date into a number. - * - * @param {string} date - * @private - */ + if (byteLength === -1) { + return null + } -function parseHttpDate (date) { - var timestamp = date && Date.parse(date) + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + const value = stringBuffer.toString('utf8') + this.offset += byteLength + return value + } - // istanbul ignore next: guard against date.js Date.parse patching - return typeof timestamp === 'number' - ? timestamp - : NaN -} + readUVarIntString() { + const byteLength = this.readUVarInt() -/** - * Parse a HTTP token list. - * - * @param {string} str - * @private - */ + if (byteLength === 0) { + return null + } -function parseTokenList (str) { - var end = 0 - var list = [] - var start = 0 + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + const value = stringBuffer.toString('utf8') + this.offset += byteLength + return value + } - // gather tokens - for (var i = 0, len = str.length; i < len; i++) { - switch (str.charCodeAt(i)) { - case 0x20: /* */ - if (start === end) { - start = end = i + 1 - } - break - case 0x2c: /* , */ - list.push(str.substring(start, end)) - start = end = i + 1 - break - default: - end = i + 1 - break - } + canReadBytes(length) { + return Buffer.byteLength(this.buffer) - this.offset >= length } - // final token - list.push(str.substring(start, end)) + readBytes(byteLength = this.readInt32()) { + if (byteLength === -1) { + return null + } - return list -} + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + this.offset += byteLength + return stringBuffer + } + readVarIntBytes() { + const byteLength = this.readVarInt() -/***/ }), + if (byteLength === -1) { + return null + } -/***/ "./node_modules/function-bind/implementation.js": -/*!******************************************************!*\ - !*** ./node_modules/function-bind/implementation.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module) => { + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + this.offset += byteLength + return stringBuffer + } -"use strict"; + readUVarIntBytes() { + const byteLength = this.readUVarInt() + if (byteLength === 0) { + return null + } -/* eslint no-invalid-this: 1 */ + const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) + this.offset += byteLength + return stringBuffer + } -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr = Object.prototype.toString; -var funcType = '[object Function]'; + readBoolean() { + return this.readInt8() === 1 + } -module.exports = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); - } - var args = slice.call(arguments, 1); + readAll() { + const result = this.buffer.slice(this.offset) + this.offset += Buffer.byteLength(this.buffer) + return result + } - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; + readArray(reader) { + const length = this.readInt32() - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); + if (length === -1) { + return [] } - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; + const array = new Array(length) + for (let i = 0; i < length; i++) { + array[i] = reader(this) } - return bound; -}; + return array + } + readVarIntArray(reader) { + const length = this.readVarInt() -/***/ }), + if (length === -1) { + return [] + } -/***/ "./node_modules/function-bind/index.js": -/*!*********************************************!*\ - !*** ./node_modules/function-bind/index.js ***! - \*********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + const array = new Array(length) + for (let i = 0; i < length; i++) { + array[i] = reader(this) + } -"use strict"; + return array + } + readUVarIntArray(reader) { + const length = this.readUVarInt() -var implementation = __webpack_require__(/*! ./implementation */ "./node_modules/function-bind/implementation.js"); + if (length === 0) { + return [] + } -module.exports = Function.prototype.bind || implementation; + const array = new Array(length - 1) + for (let i = 0; i < length - 1; i++) { + array[i] = reader(this) + } + return array + } -/***/ }), - -/***/ "./node_modules/get-intrinsic/index.js": -/*!*********************************************!*\ - !*** ./node_modules/get-intrinsic/index.js ***! - \*********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 253:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -var undefined; - -var $SyntaxError = SyntaxError; -var $Function = Function; -var $TypeError = TypeError; - -// eslint-disable-next-line consistent-return -var getEvalledConstructor = function (expressionSyntax) { - try { - return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); - } catch (e) {} -}; - -var $gOPD = Object.getOwnPropertyDescriptor; -if ($gOPD) { - try { - $gOPD({}, ''); - } catch (e) { - $gOPD = null; // this is IE 8, which has a broken gOPD - } -} - -var throwTypeError = function () { - throw new $TypeError(); -}; -var ThrowTypeError = $gOPD - ? (function () { - try { - // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties - arguments.callee; // IE 8 does not throw here - return throwTypeError; - } catch (calleeThrows) { - try { - // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') - return $gOPD(arguments, 'callee').get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - }()) - : throwTypeError; - -var hasSymbols = __webpack_require__(/*! has-symbols */ "./node_modules/has-symbols/index.js")(); - -var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto - -var needsEval = {}; - -var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); - -var INTRINSICS = { - '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, - '%Array%': Array, - '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, - '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, - '%AsyncFromSyncIteratorPrototype%': undefined, - '%AsyncFunction%': needsEval, - '%AsyncGenerator%': needsEval, - '%AsyncGeneratorFunction%': needsEval, - '%AsyncIteratorPrototype%': needsEval, - '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, - '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, - '%Boolean%': Boolean, - '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, - '%Date%': Date, - '%decodeURI%': decodeURI, - '%decodeURIComponent%': decodeURIComponent, - '%encodeURI%': encodeURI, - '%encodeURIComponent%': encodeURIComponent, - '%Error%': Error, - '%eval%': eval, // eslint-disable-line no-eval - '%EvalError%': EvalError, - '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, - '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, - '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, - '%Function%': $Function, - '%GeneratorFunction%': needsEval, - '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, - '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, - '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, - '%isFinite%': isFinite, - '%isNaN%': isNaN, - '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, - '%JSON%': typeof JSON === 'object' ? JSON : undefined, - '%Map%': typeof Map === 'undefined' ? undefined : Map, - '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), - '%Math%': Math, - '%Number%': Number, - '%Object%': Object, - '%parseFloat%': parseFloat, - '%parseInt%': parseInt, - '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, - '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, - '%RangeError%': RangeError, - '%ReferenceError%': ReferenceError, - '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, - '%RegExp%': RegExp, - '%Set%': typeof Set === 'undefined' ? undefined : Set, - '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), - '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, - '%String%': String, - '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, - '%Symbol%': hasSymbols ? Symbol : undefined, - '%SyntaxError%': $SyntaxError, - '%ThrowTypeError%': ThrowTypeError, - '%TypedArray%': TypedArray, - '%TypeError%': $TypeError, - '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, - '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, - '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, - '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, - '%URIError%': URIError, - '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, - '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, - '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet -}; - -var doEval = function doEval(name) { - var value; - if (name === '%AsyncFunction%') { - value = getEvalledConstructor('async function () {}'); - } else if (name === '%GeneratorFunction%') { - value = getEvalledConstructor('function* () {}'); - } else if (name === '%AsyncGeneratorFunction%') { - value = getEvalledConstructor('async function* () {}'); - } else if (name === '%AsyncGenerator%') { - var fn = doEval('%AsyncGeneratorFunction%'); - if (fn) { - value = fn.prototype; - } - } else if (name === '%AsyncIteratorPrototype%') { - var gen = doEval('%AsyncGenerator%'); - if (gen) { - value = getProto(gen.prototype); - } - } - - INTRINSICS[name] = value; - - return value; -}; - -var LEGACY_ALIASES = { - '%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'] -}; - -var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js"); -var hasOwn = __webpack_require__(/*! has */ "./node_modules/has/src/index.js"); -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); -var $strSlice = bind.call(Function.call, String.prototype.slice); -var $exec = bind.call(Function.call, RegExp.prototype.exec); - -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var first = $strSlice(string, 0, 1); - var last = $strSlice(string, -1); - if (first === '%' && last !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); - } else if (last === '%' && first !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); - } - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; - }); - return result; -}; -/* end adaptation */ - -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var intrinsicName = name; - var alias; - if (hasOwn(LEGACY_ALIASES, intrinsicName)) { - alias = LEGACY_ALIASES[intrinsicName]; - intrinsicName = '%' + alias[0] + '%'; - } - - if (hasOwn(INTRINSICS, intrinsicName)) { - var value = INTRINSICS[intrinsicName]; - if (value === needsEval) { - value = doEval(intrinsicName); - } - if (typeof value === 'undefined' && !allowMissing) { - throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } - - return { - alias: alias, - name: intrinsicName, - value: value - }; - } - - throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); -}; - -module.exports = function GetIntrinsic(name, allowMissing) { - if (typeof name !== 'string' || name.length === 0) { - throw new $TypeError('intrinsic name must be a non-empty string'); - } - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new $TypeError('"allowMissing" argument must be a boolean'); - } - - if ($exec(/^%?[^%]*%?$/, name) === null) { - throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); - } - var parts = stringToPath(name); - var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; - - var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); - var intrinsicRealName = intrinsic.name; - var value = intrinsic.value; - var skipFurtherCaching = false; - - var alias = intrinsic.alias; - if (alias) { - intrinsicBaseName = alias[0]; - $spliceApply(parts, $concat([0, 1], alias)); - } - - for (var i = 1, isOwn = true; i < parts.length; i += 1) { - var part = parts[i]; - var first = $strSlice(part, 0, 1); - var last = $strSlice(part, -1); - if ( - ( - (first === '"' || first === "'" || first === '`') - || (last === '"' || last === "'" || last === '`') - ) - && first !== last - ) { - throw new $SyntaxError('property names with quotes must have matching quotes'); - } - if (part === 'constructor' || !isOwn) { - skipFurtherCaching = true; - } - - intrinsicBaseName += '.' + part; - intrinsicRealName = '%' + intrinsicBaseName + '%'; - - if (hasOwn(INTRINSICS, intrinsicRealName)) { - value = INTRINSICS[intrinsicRealName]; - } else if (value != null) { - if (!(part in value)) { - if (!allowMissing) { - throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); - } - return void undefined; - } - if ($gOPD && (i + 1) >= parts.length) { - var desc = $gOPD(value, part); - isOwn = !!desc; - - // By convention, when a data property is converted to an accessor - // property to emulate a data property that does not suffer from - // the override mistake, that accessor's getter is marked with - // an `originalValue` property. Here, when we detect this, we - // uphold the illusion by pretending to see that original data - // property, i.e., returning the value rather than the getter - // itself. - if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { - value = desc.get; - } else { - value = value[part]; - } - } else { - isOwn = hasOwn(value, part); - value = value[part]; - } - - if (isOwn && !skipFurtherCaching) { - INTRINSICS[intrinsicRealName] = value; - } - } - } - return value; -}; - - -/***/ }), - -/***/ "./node_modules/has-flag/index.js": -/*!****************************************!*\ - !*** ./node_modules/has-flag/index.js ***! - \****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { - -"use strict"; - -module.exports = (flag, argv) => { - argv = argv || process.argv; - const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); - const pos = argv.indexOf(prefix + flag); - const terminatorPos = argv.indexOf('--'); - return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); -}; - - -/***/ }), - -/***/ "./node_modules/has-symbols/index.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -var origSymbol = typeof Symbol !== 'undefined' && Symbol; -var hasSymbolSham = __webpack_require__(/*! ./shams */ "./node_modules/has-symbols/shams.js"); - -module.exports = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } - - return hasSymbolSham(); -}; - - -/***/ }), - -/***/ "./node_modules/has-symbols/shams.js": -/*!*******************************************!*\ - !*** ./node_modules/has-symbols/shams.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module) => { - -"use strict"; + async readArrayAsync(reader) { + const length = this.readInt32() + if (length === -1) { + return [] + } -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -module.exports = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } + const array = new Array(length) + for (let i = 0; i < length; i++) { + array[i] = await reader(this) + } - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } + return array + } - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + readVarInt() { + let currentByte + let result = 0 + let i = 0 - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } + do { + currentByte = this.buffer[this.offset++] + result += (currentByte & OTHER_BITS) << i + i += 7 + } while (currentByte >= MOST_SIGNIFICANT_BIT) - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + return Decoder.decodeZigZag(result) + } - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer + // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer + readUVarInt() { + let currentByte + let result = 0 + let i = 0 + while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) { + result |= (currentByte & OTHER_BITS) << i + i += 7 + if (i > 28) { + throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less') + } + } + result |= currentByte << i + return result >>> 0 + } - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + readVarLong() { + let currentByte + let result = Long.fromInt(0) + let i = 0 - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } + do { + if (i > 63) { + throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less') + } + currentByte = this.buffer[this.offset++] + result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i)) + i += 7 + } while (currentByte >= MOST_SIGNIFICANT_BIT) - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + return Decoder.decodeZigZag64(result) + } - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } + slice(size) { + return new Decoder(this.buffer.slice(this.offset, this.offset + size)) + } - return true; -}; + forward(size) { + this.offset += size + } +} /***/ }), -/***/ "./node_modules/has/src/index.js": -/*!***************************************!*\ - !*** ./node_modules/has/src/index.js ***! - \***************************************/ +/***/ "./node_modules/kafkajs/src/protocol/encoder.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/encoder.js ***! + \******************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - - -var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js"); - -module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); - - -/***/ }), - -/***/ "./node_modules/http-errors/index.js": -/*!*******************************************!*\ - !*** ./node_modules/http-errors/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/*! CommonJS bailout: module.exports is used directly at 31:27-41 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -"use strict"; -/*! - * http-errors - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2016 Douglas Christopher Wilson - * MIT Licensed - */ +const INT8_SIZE = 1 +const INT16_SIZE = 2 +const INT32_SIZE = 4 +const INT64_SIZE = 8 +const DOUBLE_SIZE = 8 +const MOST_SIGNIFICANT_BIT = 0x80 // 128 +const OTHER_BITS = 0x7f // 127 +const UNSIGNED_INT32_MAX_NUMBER = 0xffffff80 +const UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n +module.exports = class Encoder { + static encodeZigZag(value) { + return (value << 1) ^ (value >> 31) + } -/** - * Module dependencies. - * @private - */ + static encodeZigZag64(value) { + const longValue = Long.fromValue(value) + return longValue.shiftLeft(1).xor(longValue.shiftRight(63)) + } -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('http-errors') -var setPrototypeOf = __webpack_require__(/*! setprototypeof */ "./node_modules/setprototypeof/index.js") -var statuses = __webpack_require__(/*! statuses */ "./node_modules/statuses/index.js") -var inherits = __webpack_require__(/*! inherits */ "./node_modules/inherits/inherits.js") -var toIdentifier = __webpack_require__(/*! toidentifier */ "./node_modules/toidentifier/index.js") + static sizeOfVarInt(value) { + let encodedValue = this.encodeZigZag(value) + let bytes = 1 -/** - * Module exports. - * @public - */ + while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) { + bytes += 1 + encodedValue >>>= 7 + } -module.exports = createError -module.exports.HttpError = createHttpErrorConstructor() -module.exports.isHttpError = createIsHttpErrorFunction(module.exports.HttpError) + return bytes + } -// Populate exports for all constructors -populateConstructorExports(module.exports, statuses.codes, module.exports.HttpError) + static sizeOfVarLong(value) { + let longValue = Encoder.encodeZigZag64(value) + let bytes = 1 -/** - * Get the code class of a status code. - * @private - */ + while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) { + bytes += 1 + longValue = longValue.shiftRightUnsigned(7) + } -function codeClass (status) { - return Number(String(status).charAt(0) + '00') -} + return bytes + } -/** - * Create a new HTTP Error. - * - * @returns {Error} - * @public - */ + static sizeOfVarIntBytes(value) { + const size = value == null ? -1 : Buffer.byteLength(value) -function createError () { - // so much arity going on ~_~ - var err - var msg - var status = 500 - var props = {} - for (var i = 0; i < arguments.length; i++) { - var arg = arguments[i] - var type = typeof arg - if (type === 'object' && arg instanceof Error) { - err = arg - status = err.status || err.statusCode || status - } else if (type === 'number' && i === 0) { - status = arg - } else if (type === 'string') { - msg = arg - } else if (type === 'object') { - props = arg - } else { - throw new TypeError('argument #' + (i + 1) + ' unsupported type ' + type) + if (size < 0) { + return Encoder.sizeOfVarInt(-1) } - } - if (typeof status === 'number' && (status < 400 || status >= 600)) { - deprecate('non-error status code; use only 4xx or 5xx status codes') + return Encoder.sizeOfVarInt(size) + size } - if (typeof status !== 'number' || - (!statuses.message[status] && (status < 400 || status >= 600))) { - status = 500 + static nextPowerOfTwo(value) { + return 1 << (31 - Math.clz32(value) + 1) } - // constructor - var HttpError = createError[status] || createError[codeClass(status)] - - if (!err) { - // create error - err = HttpError - ? new HttpError(msg) - : new Error(msg || statuses.message[status]) - Error.captureStackTrace(err, createError) + /** + * Construct a new encoder with the given initial size + * + * @param {number} [initialSize] initial size + */ + constructor(initialSize = 511) { + this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize)) + this.offset = 0 } - if (!HttpError || !(err instanceof HttpError) || err.status !== status) { - // add properties to generic error - err.expose = status < 500 - err.status = err.statusCode = status + /** + * @param {Buffer} buffer + */ + writeBufferInternal(buffer) { + const bufferLength = buffer.length + this.ensureAvailable(bufferLength) + buffer.copy(this.buf, this.offset, 0) + this.offset += bufferLength } - for (var key in props) { - if (key !== 'status' && key !== 'statusCode') { - err[key] = props[key] + ensureAvailable(length) { + if (this.offset + length > this.buf.length) { + const newLength = Encoder.nextPowerOfTwo(this.offset + length) + const newBuffer = Buffer.alloc(newLength) + this.buf.copy(newBuffer, 0, 0, this.offset) + this.buf = newBuffer } } - return err -} - -/** - * Create HTTP error abstract base class. - * @private - */ - -function createHttpErrorConstructor () { - function HttpError () { - throw new TypeError('cannot construct abstract class') + get buffer() { + return this.buf.slice(0, this.offset) } - inherits(HttpError, Error) - - return HttpError -} + writeInt8(value) { + this.ensureAvailable(INT8_SIZE) + this.buf.writeInt8(value, this.offset) + this.offset += INT8_SIZE + return this + } -/** - * Create a constructor for a client error. - * @private - */ + writeInt16(value) { + this.ensureAvailable(INT16_SIZE) + this.buf.writeInt16BE(value, this.offset) + this.offset += INT16_SIZE + return this + } -function createClientErrorConstructor (HttpError, name, code) { - var className = toClassName(name) + writeInt32(value) { + this.ensureAvailable(INT32_SIZE) + this.buf.writeInt32BE(value, this.offset) + this.offset += INT32_SIZE + return this + } - function ClientError (message) { - // create the error object - var msg = message != null ? message : statuses.message[code] - var err = new Error(msg) + writeUInt32(value) { + this.ensureAvailable(INT32_SIZE) + this.buf.writeUInt32BE(value, this.offset) + this.offset += INT32_SIZE + return this + } - // capture a stack trace to the construction point - Error.captureStackTrace(err, ClientError) + writeInt64(value) { + this.ensureAvailable(INT64_SIZE) + const longValue = Long.fromValue(value) + this.buf.writeInt32BE(longValue.getHighBits(), this.offset) + this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE) + this.offset += INT64_SIZE + return this + } - // adjust the [[Prototype]] - setPrototypeOf(err, ClientError.prototype) + writeDouble(value) { + this.ensureAvailable(DOUBLE_SIZE) + this.buf.writeDoubleBE(value, this.offset) + this.offset += DOUBLE_SIZE + return this + } - // redefine the error message - Object.defineProperty(err, 'message', { - enumerable: true, - configurable: true, - value: msg, - writable: true - }) + writeBoolean(value) { + value ? this.writeInt8(1) : this.writeInt8(0) + return this + } - // redefine the error name - Object.defineProperty(err, 'name', { - enumerable: false, - configurable: true, - value: className, - writable: true - }) + writeString(value) { + if (value == null) { + this.writeInt16(-1) + return this + } - return err + const byteLength = Buffer.byteLength(value, 'utf8') + this.ensureAvailable(INT16_SIZE + byteLength) + this.writeInt16(byteLength) + this.buf.write(value, this.offset, byteLength, 'utf8') + this.offset += byteLength + return this } - inherits(ClientError, HttpError) - nameFunc(ClientError, className) + writeVarIntString(value) { + if (value == null) { + this.writeVarInt(-1) + return this + } - ClientError.prototype.status = code - ClientError.prototype.statusCode = code - ClientError.prototype.expose = true + const byteLength = Buffer.byteLength(value, 'utf8') + this.writeVarInt(byteLength) + this.ensureAvailable(byteLength) + this.buf.write(value, this.offset, byteLength, 'utf8') + this.offset += byteLength + return this + } - return ClientError -} + writeUVarIntString(value) { + if (value == null) { + this.writeUVarInt(0) + return this + } -/** - * Create function to test is a value is a HttpError. - * @private - */ + const byteLength = Buffer.byteLength(value, 'utf8') + this.writeUVarInt(byteLength + 1) + this.ensureAvailable(byteLength) + this.buf.write(value, this.offset, byteLength, 'utf8') + this.offset += byteLength + return this + } -function createIsHttpErrorFunction (HttpError) { - return function isHttpError (val) { - if (!val || typeof val !== 'object') { - return false + writeBytes(value) { + if (value == null) { + this.writeInt32(-1) + return this } - if (val instanceof HttpError) { - return true + if (Buffer.isBuffer(value)) { + // raw bytes + this.ensureAvailable(INT32_SIZE + value.length) + this.writeInt32(value.length) + this.writeBufferInternal(value) + } else { + const valueToWrite = String(value) + const byteLength = Buffer.byteLength(valueToWrite, 'utf8') + this.ensureAvailable(INT32_SIZE + byteLength) + this.writeInt32(byteLength) + this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') + this.offset += byteLength } - return val instanceof Error && - typeof val.expose === 'boolean' && - typeof val.statusCode === 'number' && val.status === val.statusCode + return this } -} - -/** - * Create a constructor for a server error. - * @private - */ - -function createServerErrorConstructor (HttpError, name, code) { - var className = toClassName(name) - - function ServerError (message) { - // create the error object - var msg = message != null ? message : statuses.message[code] - var err = new Error(msg) - // capture a stack trace to the construction point - Error.captureStackTrace(err, ServerError) - - // adjust the [[Prototype]] - setPrototypeOf(err, ServerError.prototype) - - // redefine the error message - Object.defineProperty(err, 'message', { - enumerable: true, - configurable: true, - value: msg, - writable: true - }) + writeVarIntBytes(value) { + if (value == null) { + this.writeVarInt(-1) + return this + } - // redefine the error name - Object.defineProperty(err, 'name', { - enumerable: false, - configurable: true, - value: className, - writable: true - }) + if (Buffer.isBuffer(value)) { + // raw bytes + this.writeVarInt(value.length) + this.writeBufferInternal(value) + } else { + const valueToWrite = String(value) + const byteLength = Buffer.byteLength(valueToWrite, 'utf8') + this.writeVarInt(byteLength) + this.ensureAvailable(byteLength) + this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') + this.offset += byteLength + } - return err + return this } - inherits(ServerError, HttpError) - nameFunc(ServerError, className) - - ServerError.prototype.status = code - ServerError.prototype.statusCode = code - ServerError.prototype.expose = false + writeUVarIntBytes(value) { + if (value == null) { + this.writeVarInt(0) + return this + } - return ServerError -} + if (Buffer.isBuffer(value)) { + // raw bytes + this.writeUVarInt(value.length + 1) + this.writeBufferInternal(value) + } else { + const valueToWrite = String(value) + const byteLength = Buffer.byteLength(valueToWrite, 'utf8') + this.writeUVarInt(byteLength + 1) + this.ensureAvailable(byteLength) + this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') + this.offset += byteLength + } -/** - * Set the name of a function, if possible. - * @private - */ + return this + } -function nameFunc (func, name) { - var desc = Object.getOwnPropertyDescriptor(func, 'name') + writeEncoder(value) { + if (value == null || !Buffer.isBuffer(value.buf)) { + throw new Error('value should be an instance of Encoder') + } - if (desc && desc.configurable) { - desc.value = name - Object.defineProperty(func, 'name', desc) + this.writeBufferInternal(value.buffer) + return this } -} -/** - * Populate the exports object with constructors for every error class. - * @private - */ + writeEncoderArray(value) { + if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) { + throw new Error('all values should be an instance of Encoder[]') + } -function populateConstructorExports (exports, codes, HttpError) { - codes.forEach(function forEachCode (code) { - var CodeError - var name = toIdentifier(statuses.message[code]) + value.forEach(v => { + this.writeBufferInternal(v.buffer) + }) + return this + } - switch (codeClass(code)) { - case 400: - CodeError = createClientErrorConstructor(HttpError, name, code) - break - case 500: - CodeError = createServerErrorConstructor(HttpError, name, code) - break + writeBuffer(value) { + if (!Buffer.isBuffer(value)) { + throw new Error('value should be an instance of Buffer') } - if (CodeError) { - // export the constructor - exports[code] = CodeError - exports[name] = CodeError - } - }) -} + this.writeBufferInternal(value) + return this + } -/** - * Get a class name from a name identifier. - * @private - */ + /** + * @param {any[]} array + * @param {'int32'|'number'|'string'|'object'} [type] + */ + writeNullableArray(array, type) { + // A null value is encoded with length of -1 and there are no following bytes + // On the context of this library, empty array and null are the same thing + const length = array.length !== 0 ? array.length : -1 + this.writeArray(array, type, length) + return this + } -function toClassName (name) { - return name.substr(-5) !== 'Error' - ? name + 'Error' - : name -} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/dbcs-codec.js": -/*!*********************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/dbcs-codec.js ***! - \*********************************************************/ -/*! default exports */ -/*! export _dbcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; - -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -// Multibyte codec. In this scheme, a character is represented by 1 or more bytes. -// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. -// To save memory and loading time, we read table files only when requested. - -exports._dbcs = DBCSCodec; - -var UNASSIGNED = -1, - GB18030_CODE = -2, - SEQ_START = -10, - NODE_START = -1000, - UNASSIGNED_NODE = new Array(0x100), - DEF_CHAR = -1; - -for (var i = 0; i < 0x100; i++) - UNASSIGNED_NODE[i] = UNASSIGNED; - - -// Class DBCSCodec reads and initializes mapping tables. -function DBCSCodec(codecOptions, iconv) { - this.encodingName = codecOptions.encodingName; - if (!codecOptions) - throw new Error("DBCS codec is called without the data.") - if (!codecOptions.table) - throw new Error("Encoding '" + this.encodingName + "' has no data."); - - // Load tables. - var mappingTable = codecOptions.table(); - - - // Decode tables: MBCS -> Unicode. - - // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256. - // Trie root is decodeTables[0]. - // Values: >= 0 -> unicode character code. can be > 0xFFFF - // == UNASSIGNED -> unknown/unassigned sequence. - // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence. - // <= NODE_START -> index of the next node in our trie to process next byte. - // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq. - this.decodeTables = []; - this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node. - - // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. - this.decodeTableSeq = []; - - // Actual mapping tables consist of chunks. Use them to fill up decode tables. - for (var i = 0; i < mappingTable.length; i++) - this._addDecodeChunk(mappingTable[i]); - - this.defaultCharUnicode = iconv.defaultCharUnicode; - - - // Encode tables: Unicode -> DBCS. - - // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance. - // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null. - // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.). - // == UNASSIGNED -> no conversion found. Output a default char. - // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence. - this.encodeTable = []; - - // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of - // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key - // means end of sequence (needed when one sequence is a strict subsequence of another). - // Objects are kept separately from encodeTable to increase performance. - this.encodeTableSeq = []; - - // Some chars can be decoded, but need not be encoded. - var skipEncodeChars = {}; - if (codecOptions.encodeSkipVals) - for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) { - var val = codecOptions.encodeSkipVals[i]; - if (typeof val === 'number') - skipEncodeChars[val] = true; - else - for (var j = val.from; j <= val.to; j++) - skipEncodeChars[j] = true; - } - - // Use decode trie to recursively fill out encode tables. - this._fillEncodeTable(0, 0, skipEncodeChars); - - // Add more encoding pairs when needed. - if (codecOptions.encodeAdd) { - for (var uChar in codecOptions.encodeAdd) - if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)) - this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]); - } - - this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; - if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?']; - if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); - - - // Load & create GB18030 tables when needed. - if (typeof codecOptions.gb18030 === 'function') { - this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges. - - // Add GB18030 decode tables. - var thirdByteNodeIdx = this.decodeTables.length; - var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0); - - var fourthByteNodeIdx = this.decodeTables.length; - var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0); - - for (var i = 0x81; i <= 0xFE; i++) { - var secondByteNodeIdx = NODE_START - this.decodeTables[0][i]; - var secondByteNode = this.decodeTables[secondByteNodeIdx]; - for (var j = 0x30; j <= 0x39; j++) - secondByteNode[j] = NODE_START - thirdByteNodeIdx; - } - for (var i = 0x81; i <= 0xFE; i++) - thirdByteNode[i] = NODE_START - fourthByteNodeIdx; - for (var i = 0x30; i <= 0x39; i++) - fourthByteNode[i] = GB18030_CODE - } -} - -DBCSCodec.prototype.encoder = DBCSEncoder; -DBCSCodec.prototype.decoder = DBCSDecoder; - -// Decoder helpers -DBCSCodec.prototype._getDecodeTrieNode = function(addr) { - var bytes = []; - for (; addr > 0; addr >>= 8) - bytes.push(addr & 0xFF); - if (bytes.length == 0) - bytes.push(0); - - var node = this.decodeTables[0]; - for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie. - var val = node[bytes[i]]; - - if (val == UNASSIGNED) { // Create new node. - node[bytes[i]] = NODE_START - this.decodeTables.length; - this.decodeTables.push(node = UNASSIGNED_NODE.slice(0)); - } - else if (val <= NODE_START) { // Existing node. - node = this.decodeTables[NODE_START - val]; - } - else - throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16)); - } - return node; -} - - -DBCSCodec.prototype._addDecodeChunk = function(chunk) { - // First element of chunk is the hex mbcs code where we start. - var curAddr = parseInt(chunk[0], 16); - - // Choose the decoding node where we'll write our chars. - var writeTable = this._getDecodeTrieNode(curAddr); - curAddr = curAddr & 0xFF; - - // Write all other elements of the chunk to the table. - for (var k = 1; k < chunk.length; k++) { - var part = chunk[k]; - if (typeof part === "string") { // String, write as-is. - for (var l = 0; l < part.length;) { - var code = part.charCodeAt(l++); - if (0xD800 <= code && code < 0xDC00) { // Decode surrogate - var codeTrail = part.charCodeAt(l++); - if (0xDC00 <= codeTrail && codeTrail < 0xE000) - writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00); - else - throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]); - } - else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used) - var len = 0xFFF - code + 2; - var seq = []; - for (var m = 0; m < len; m++) - seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq. - - writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length; - this.decodeTableSeq.push(seq); - } - else - writeTable[curAddr++] = code; // Basic char - } - } - else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character. - var charCode = writeTable[curAddr - 1] + 1; - for (var l = 0; l < part; l++) - writeTable[curAddr++] = charCode++; - } - else - throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]); - } - if (curAddr > 0xFF) - throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr); -} - -// Encoder helpers -DBCSCodec.prototype._getEncodeBucket = function(uCode) { - var high = uCode >> 8; // This could be > 0xFF because of astral characters. - if (this.encodeTable[high] === undefined) - this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand. - return this.encodeTable[high]; -} - -DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) { - var bucket = this._getEncodeBucket(uCode); - var low = uCode & 0xFF; - if (bucket[low] <= SEQ_START) - this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it. - else if (bucket[low] == UNASSIGNED) - bucket[low] = dbcsCode; -} - -DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) { - - // Get the root of character tree according to first character of the sequence. - var uCode = seq[0]; - var bucket = this._getEncodeBucket(uCode); - var low = uCode & 0xFF; - - var node; - if (bucket[low] <= SEQ_START) { - // There's already a sequence with - use it. - node = this.encodeTableSeq[SEQ_START-bucket[low]]; - } - else { - // There was no sequence object - allocate a new one. - node = {}; - if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence. - bucket[low] = SEQ_START - this.encodeTableSeq.length; - this.encodeTableSeq.push(node); - } - - // Traverse the character tree, allocating new nodes as needed. - for (var j = 1; j < seq.length-1; j++) { - var oldVal = node[uCode]; - if (typeof oldVal === 'object') - node = oldVal; - else { - node = node[uCode] = {} - if (oldVal !== undefined) - node[DEF_CHAR] = oldVal + /** + * @param {any[]} array + * @param {'int32'|'number'|'string'|'object'} [type] + * @param {number} [length] + */ + writeArray(array, type, length) { + const arrayLength = length == null ? array.length : length + this.writeInt32(arrayLength) + if (type !== undefined) { + switch (type) { + case 'int32': + case 'number': + array.forEach(value => this.writeInt32(value)) + break + case 'string': + array.forEach(value => this.writeString(value)) + break + case 'object': + this.writeEncoderArray(array) + break + } + } else { + array.forEach(value => { + switch (typeof value) { + case 'number': + this.writeInt32(value) + break + case 'string': + this.writeString(value) + break + case 'object': + this.writeEncoder(value) + break } + }) } + return this + } - // Set the leaf to given dbcsCode. - uCode = seq[seq.length-1]; - node[uCode] = dbcsCode; -} - -DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) { - var node = this.decodeTables[nodeIdx]; - for (var i = 0; i < 0x100; i++) { - var uCode = node[i]; - var mbCode = prefix + i; - if (skipEncodeChars[mbCode]) - continue; - - if (uCode >= 0) - this._setEncodeChar(uCode, mbCode); - else if (uCode <= NODE_START) - this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars); - else if (uCode <= SEQ_START) - this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode); + writeVarIntArray(array, type) { + if (type === 'object') { + this.writeVarInt(array.length) + this.writeEncoderArray(array) + } else { + const objectArray = array.filter(v => typeof v === 'object') + this.writeVarInt(objectArray.length) + this.writeEncoderArray(objectArray) } -} - - - -// == Encoder ================================================================== - -function DBCSEncoder(options, codec) { - // Encoder state - this.leadSurrogate = -1; - this.seqObj = undefined; - - // Static data - this.encodeTable = codec.encodeTable; - this.encodeTableSeq = codec.encodeTableSeq; - this.defaultCharSingleByte = codec.defCharSB; - this.gb18030 = codec.gb18030; -} - -DBCSEncoder.prototype.write = function(str) { - var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)), - leadSurrogate = this.leadSurrogate, - seqObj = this.seqObj, nextChar = -1, - i = 0, j = 0; - - while (true) { - // 0. Get next character. - if (nextChar === -1) { - if (i == str.length) break; - var uCode = str.charCodeAt(i++); - } - else { - var uCode = nextChar; - nextChar = -1; - } - - // 1. Handle surrogates. - if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates. - if (uCode < 0xDC00) { // We've got lead surrogate. - if (leadSurrogate === -1) { - leadSurrogate = uCode; - continue; - } else { - leadSurrogate = uCode; - // Double lead surrogate found. - uCode = UNASSIGNED; - } - } else { // We've got trail surrogate. - if (leadSurrogate !== -1) { - uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00); - leadSurrogate = -1; - } else { - // Incomplete surrogate pair - only trail surrogate found. - uCode = UNASSIGNED; - } - - } - } - else if (leadSurrogate !== -1) { - // Incomplete surrogate pair - only lead surrogate found. - nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char. - leadSurrogate = -1; - } - - // 2. Convert uCode character. - var dbcsCode = UNASSIGNED; - if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence - var resCode = seqObj[uCode]; - if (typeof resCode === 'object') { // Sequence continues. - seqObj = resCode; - continue; - - } else if (typeof resCode == 'number') { // Sequence finished. Write it. - dbcsCode = resCode; - - } else if (resCode == undefined) { // Current character is not part of the sequence. - - // Try default character for this sequence - resCode = seqObj[DEF_CHAR]; - if (resCode !== undefined) { - dbcsCode = resCode; // Found. Write it. - nextChar = uCode; // Current character will be written too in the next iteration. - - } else { - // TODO: What if we have no default? (resCode == undefined) - // Then, we should write first char of the sequence as-is and try the rest recursively. - // Didn't do it for now because no encoding has this situation yet. - // Currently, just skip the sequence and write current char. - } - } - seqObj = undefined; - } - else if (uCode >= 0) { // Regular character - var subtable = this.encodeTable[uCode >> 8]; - if (subtable !== undefined) - dbcsCode = subtable[uCode & 0xFF]; - - if (dbcsCode <= SEQ_START) { // Sequence start - seqObj = this.encodeTableSeq[SEQ_START-dbcsCode]; - continue; - } - - if (dbcsCode == UNASSIGNED && this.gb18030) { - // Use GB18030 algorithm to find character(s) to write. - var idx = findIdx(this.gb18030.uChars, uCode); - if (idx != -1) { - var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]); - newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600; - newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260; - newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10; - newBuf[j++] = 0x30 + dbcsCode; - continue; - } - } - } + return this + } - // 3. Write dbcsCode character. - if (dbcsCode === UNASSIGNED) - dbcsCode = this.defaultCharSingleByte; - - if (dbcsCode < 0x100) { - newBuf[j++] = dbcsCode; - } - else if (dbcsCode < 0x10000) { - newBuf[j++] = dbcsCode >> 8; // high byte - newBuf[j++] = dbcsCode & 0xFF; // low byte - } - else { - newBuf[j++] = dbcsCode >> 16; - newBuf[j++] = (dbcsCode >> 8) & 0xFF; - newBuf[j++] = dbcsCode & 0xFF; - } + writeUVarIntArray(array, type) { + if (type === 'object') { + this.writeUVarInt(array.length + 1) + this.writeEncoderArray(array) + } else { + const objectArray = array.filter(v => typeof v === 'object') + this.writeUVarInt(objectArray.length + 1) + this.writeEncoderArray(objectArray) } + return this + } - this.seqObj = seqObj; - this.leadSurrogate = leadSurrogate; - return newBuf.slice(0, j); -} - -DBCSEncoder.prototype.end = function() { - if (this.leadSurrogate === -1 && this.seqObj === undefined) - return; // All clean. Most often case. - - var newBuf = Buffer.alloc(10), j = 0; - - if (this.seqObj) { // We're in the sequence. - var dbcsCode = this.seqObj[DEF_CHAR]; - if (dbcsCode !== undefined) { // Write beginning of the sequence. - if (dbcsCode < 0x100) { - newBuf[j++] = dbcsCode; - } - else { - newBuf[j++] = dbcsCode >> 8; // high byte - newBuf[j++] = dbcsCode & 0xFF; // low byte - } - } else { - // See todo above. - } - this.seqObj = undefined; - } + // Based on: + // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ. + // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106 + writeVarInt(value) { + return this.writeUVarInt(Encoder.encodeZigZag(value)) + } - if (this.leadSurrogate !== -1) { - // Incomplete surrogate pair - only lead surrogate found. - newBuf[j++] = this.defaultCharSingleByte; - this.leadSurrogate = -1; + writeUVarInt(value) { + const byteArray = [] + while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) { + byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT) + value >>>= 7 } - - return newBuf.slice(0, j); -} - -// Export for testing -DBCSEncoder.prototype.findIdx = findIdx; - - -// == Decoder ================================================================== - -function DBCSDecoder(options, codec) { - // Decoder state - this.nodeIdx = 0; - this.prevBuf = Buffer.alloc(0); - - // Static data - this.decodeTables = codec.decodeTables; - this.decodeTableSeq = codec.decodeTableSeq; - this.defaultCharUnicode = codec.defaultCharUnicode; - this.gb18030 = codec.gb18030; -} - -DBCSDecoder.prototype.write = function(buf) { - var newBuf = Buffer.alloc(buf.length*2), - nodeIdx = this.nodeIdx, - prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length, - seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence. - uCode; - - if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later. - prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]); - - for (var i = 0, j = 0; i < buf.length; i++) { - var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset]; - - // Lookup in current trie node. - var uCode = this.decodeTables[nodeIdx][curByte]; - - if (uCode >= 0) { - // Normal character, just use it. - } - else if (uCode === UNASSIGNED) { // Unknown char. - // TODO: Callback with seq. - //var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); - i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle). - uCode = this.defaultCharUnicode.charCodeAt(0); - } - else if (uCode === GB18030_CODE) { - var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset); - var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30); - var idx = findIdx(this.gb18030.gbChars, ptr); - uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx]; - } - else if (uCode <= NODE_START) { // Go to next trie node. - nodeIdx = NODE_START - uCode; - continue; - } - else if (uCode <= SEQ_START) { // Output a sequence of chars. - var seq = this.decodeTableSeq[SEQ_START - uCode]; - for (var k = 0; k < seq.length - 1; k++) { - uCode = seq[k]; - newBuf[j++] = uCode & 0xFF; - newBuf[j++] = uCode >> 8; - } - uCode = seq[seq.length-1]; - } - else - throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte); - - // Write the character to buffer, handling higher planes using surrogate pair. - if (uCode > 0xFFFF) { - uCode -= 0x10000; - var uCodeLead = 0xD800 + Math.floor(uCode / 0x400); - newBuf[j++] = uCodeLead & 0xFF; - newBuf[j++] = uCodeLead >> 8; + byteArray.push(value & OTHER_BITS) + this.writeBufferInternal(Buffer.from(byteArray)) + return this + } - uCode = 0xDC00 + uCode % 0x400; - } - newBuf[j++] = uCode & 0xFF; - newBuf[j++] = uCode >> 8; + writeVarLong(value) { + const byteArray = [] + let longValue = Encoder.encodeZigZag64(value) - // Reset trie node. - nodeIdx = 0; seqStart = i+1; + while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) { + byteArray.push( + longValue + .and(OTHER_BITS) + .or(MOST_SIGNIFICANT_BIT) + .toInt() + ) + longValue = longValue.shiftRightUnsigned(7) } - this.nodeIdx = nodeIdx; - this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset); - return newBuf.slice(0, j).toString('ucs2'); -} - -DBCSDecoder.prototype.end = function() { - var ret = ''; - - // Try to parse all remaining chars. - while (this.prevBuf.length > 0) { - // Skip 1 character in the buffer. - ret += this.defaultCharUnicode; - var buf = this.prevBuf.slice(1); - - // Parse remaining as usual. - this.prevBuf = Buffer.alloc(0); - this.nodeIdx = 0; - if (buf.length > 0) - ret += this.write(buf); - } + byteArray.push(longValue.toInt()) - this.nodeIdx = 0; - return ret; -} + this.writeBufferInternal(Buffer.from(byteArray)) + return this + } -// Binary search for GB18030. Returns largest i such that table[i] <= val. -function findIdx(table, val) { - if (table[0] > val) - return -1; + size() { + // We can use the offset here directly, because we anyways will not re-encode the buffer when writing + return this.offset + } - var l = 0, r = table.length; - while (l < r-1) { // always table[l] <= val < table[r] - var mid = l + Math.floor((r-l+1)/2); - if (table[mid] <= val) - l = mid; - else - r = mid; - } - return l; + toJSON() { + return this.buffer.toJSON() + } } - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/dbcs-data.js": -/*!********************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/dbcs-data.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -// Description of supported double byte encodings and aliases. -// Tables are not require()-d until they are needed to speed up library load. -// require()-s are direct to support Browserify. - -module.exports = { - - // == Japanese/ShiftJIS ==================================================== - // All japanese encodings are based on JIS X set of standards: - // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. - // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. - // Has several variations in 1978, 1983, 1990 and 1997. - // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. - // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. - // 2 planes, first is superset of 0208, second - revised 0212. - // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) - - // Byte encodings are: - // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte - // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. - // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. - // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. - // 0x00-0x7F - lower part of 0201 - // 0x8E, 0xA1-0xDF - upper part of 0201 - // (0xA1-0xFE)x2 - 0208 plane (94x94). - // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). - // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. - // Used as-is in ISO2022 family. - // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, - // 0201-1976 Roman, 0208-1978, 0208-1983. - // * ISO2022-JP-1: Adds esc seq for 0212-1990. - // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. - // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. - // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. - // - // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. - // - // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html - - 'shiftjis': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/shiftjis.json */ "./node_modules/iconv-lite/encodings/tables/shiftjis.json") }, - encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, - encodeSkipVals: [{from: 0xED40, to: 0xF940}], - }, - 'csshiftjis': 'shiftjis', - 'mskanji': 'shiftjis', - 'sjis': 'shiftjis', - 'windows31j': 'shiftjis', - 'ms31j': 'shiftjis', - 'xsjis': 'shiftjis', - 'windows932': 'shiftjis', - 'ms932': 'shiftjis', - '932': 'shiftjis', - 'cp932': 'shiftjis', - - 'eucjp': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/eucjp.json */ "./node_modules/iconv-lite/encodings/tables/eucjp.json") }, - encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, - }, - - // TODO: KDDI extension to Shift_JIS - // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. - // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. - - - // == Chinese/GBK ========================================================== - // http://en.wikipedia.org/wiki/GBK - // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder - - // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 - 'gb2312': 'cp936', - 'gb231280': 'cp936', - 'gb23121980': 'cp936', - 'csgb2312': 'cp936', - 'csiso58gb231280': 'cp936', - 'euccn': 'cp936', - - // Microsoft's CP936 is a subset and approximation of GBK. - 'windows936': 'cp936', - 'ms936': 'cp936', - '936': 'cp936', - 'cp936': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp936.json */ "./node_modules/iconv-lite/encodings/tables/cp936.json") }, - }, - - // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. - 'gbk': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp936.json */ "./node_modules/iconv-lite/encodings/tables/cp936.json").concat(__webpack_require__(/*! ./tables/gbk-added.json */ "./node_modules/iconv-lite/encodings/tables/gbk-added.json")) }, - }, - 'xgbk': 'gbk', - 'isoir58': 'gbk', - - // GB18030 is an algorithmic extension of GBK. - // Main source: https://www.w3.org/TR/encoding/#gbk-encoder - // http://icu-project.org/docs/papers/gb18030.html - // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml - // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 - 'gb18030': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp936.json */ "./node_modules/iconv-lite/encodings/tables/cp936.json").concat(__webpack_require__(/*! ./tables/gbk-added.json */ "./node_modules/iconv-lite/encodings/tables/gbk-added.json")) }, - gb18030: function() { return __webpack_require__(/*! ./tables/gb18030-ranges.json */ "./node_modules/iconv-lite/encodings/tables/gb18030-ranges.json") }, - encodeSkipVals: [0x80], - encodeAdd: {'€': 0xA2E3}, - }, - - 'chinese': 'gb18030', - - - // == Korean =============================================================== - // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. - 'windows949': 'cp949', - 'ms949': 'cp949', - '949': 'cp949', - 'cp949': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp949.json */ "./node_modules/iconv-lite/encodings/tables/cp949.json") }, - }, - - 'cseuckr': 'cp949', - 'csksc56011987': 'cp949', - 'euckr': 'cp949', - 'isoir149': 'cp949', - 'korean': 'cp949', - 'ksc56011987': 'cp949', - 'ksc56011989': 'cp949', - 'ksc5601': 'cp949', - - - // == Big5/Taiwan/Hong Kong ================================================ - // There are lots of tables for Big5 and cp950. Please see the following links for history: - // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html - // Variations, in roughly number of defined chars: - // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT - // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ - // * Big5-2003 (Taiwan standard) almost superset of cp950. - // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. - // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. - // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. - // Plus, it has 4 combining sequences. - // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 - // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. - // Implementations are not consistent within browsers; sometimes labeled as just big5. - // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. - // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 - // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. - // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt - // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt - // - // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder - // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. - - 'windows950': 'cp950', - 'ms950': 'cp950', - '950': 'cp950', - 'cp950': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp950.json */ "./node_modules/iconv-lite/encodings/tables/cp950.json") }, - }, - - // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. - 'big5': 'big5hkscs', - 'big5hkscs': { - type: '_dbcs', - table: function() { return __webpack_require__(/*! ./tables/cp950.json */ "./node_modules/iconv-lite/encodings/tables/cp950.json").concat(__webpack_require__(/*! ./tables/big5-added.json */ "./node_modules/iconv-lite/encodings/tables/big5-added.json")) }, - encodeSkipVals: [0xa2cc], - }, - - 'cnbig5': 'big5hkscs', - 'csbig5': 'big5hkscs', - 'xxbig5': 'big5hkscs', -}; - - /***/ }), -/***/ "./node_modules/iconv-lite/encodings/index.js": +/***/ "./node_modules/kafkajs/src/protocol/error.js": /*!****************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/index.js ***! + !*** ./node_modules/kafkajs/src/protocol/error.js ***! \****************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 21:12-19 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; - - -// Update this array if you add/rename/remove files in this directory. -// We support Browserify by skipping automatic module discovery and requiring modules directly. -var modules = [ - __webpack_require__(/*! ./internal */ "./node_modules/iconv-lite/encodings/internal.js"), - __webpack_require__(/*! ./utf16 */ "./node_modules/iconv-lite/encodings/utf16.js"), - __webpack_require__(/*! ./utf7 */ "./node_modules/iconv-lite/encodings/utf7.js"), - __webpack_require__(/*! ./sbcs-codec */ "./node_modules/iconv-lite/encodings/sbcs-codec.js"), - __webpack_require__(/*! ./sbcs-data */ "./node_modules/iconv-lite/encodings/sbcs-data.js"), - __webpack_require__(/*! ./sbcs-data-generated */ "./node_modules/iconv-lite/encodings/sbcs-data-generated.js"), - __webpack_require__(/*! ./dbcs-codec */ "./node_modules/iconv-lite/encodings/dbcs-codec.js"), - __webpack_require__(/*! ./dbcs-data */ "./node_modules/iconv-lite/encodings/dbcs-data.js"), -]; - -// Put all encoding/alias/codec definitions to single object and export it. -for (var i = 0; i < modules.length; i++) { - var module = modules[i]; - for (var enc in module) - if (Object.prototype.hasOwnProperty.call(module, enc)) - exports[enc] = module[enc]; -} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/internal.js": -/*!*******************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/internal.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 595:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -// Export Node.js internal encodings. - -module.exports = { - // Encodings - utf8: { type: "_internal", bomAware: true}, - cesu8: { type: "_internal", bomAware: true}, - unicode11utf8: "utf8", - - ucs2: { type: "_internal", bomAware: true}, - utf16le: "ucs2", - - binary: { type: "_internal" }, - base64: { type: "_internal" }, - hex: { type: "_internal" }, - - // Codec. - _internal: InternalCodec, -}; - -//------------------------------------------------------------------------------ - -function InternalCodec(codecOptions, iconv) { - this.enc = codecOptions.encodingName; - this.bomAware = codecOptions.bomAware; - - if (this.enc === "base64") - this.encoder = InternalEncoderBase64; - else if (this.enc === "cesu8") { - this.enc = "utf8"; // Use utf8 for decoding. - this.encoder = InternalEncoderCesu8; - - // Add decoder for versions of Node not supporting CESU-8 - if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') { - this.decoder = InternalDecoderCesu8; - this.defaultCharUnicode = iconv.defaultCharUnicode; - } - } -} - -InternalCodec.prototype.encoder = InternalEncoder; -InternalCodec.prototype.decoder = InternalDecoder; - -//------------------------------------------------------------------------------ - -// We use node.js internal decoder. Its signature is the same as ours. -var StringDecoder = __webpack_require__(/*! string_decoder */ "string_decoder").StringDecoder; - -if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. - StringDecoder.prototype.end = function() {}; - - -function InternalDecoder(options, codec) { - StringDecoder.call(this, codec.enc); -} - -InternalDecoder.prototype = StringDecoder.prototype; - - -//------------------------------------------------------------------------------ -// Encoder is mostly trivial - -function InternalEncoder(options, codec) { - this.enc = codec.enc; -} - -InternalEncoder.prototype.write = function(str) { - return Buffer.from(str, this.enc); -} - -InternalEncoder.prototype.end = function() { -} - - -//------------------------------------------------------------------------------ -// Except base64 encoder, which must keep its state. - -function InternalEncoderBase64(options, codec) { - this.prevStr = ''; -} - -InternalEncoderBase64.prototype.write = function(str) { - str = this.prevStr + str; - var completeQuads = str.length - (str.length % 4); - this.prevStr = str.slice(completeQuads); - str = str.slice(0, completeQuads); - - return Buffer.from(str, "base64"); -} - -InternalEncoderBase64.prototype.end = function() { - return Buffer.from(this.prevStr, "base64"); -} - - -//------------------------------------------------------------------------------ -// CESU-8 encoder is also special. - -function InternalEncoderCesu8(options, codec) { -} - -InternalEncoderCesu8.prototype.write = function(str) { - var buf = Buffer.alloc(str.length * 3), bufIdx = 0; - for (var i = 0; i < str.length; i++) { - var charCode = str.charCodeAt(i); - // Naive implementation, but it works because CESU-8 is especially easy - // to convert from UTF-16 (which all JS strings are encoded in). - if (charCode < 0x80) - buf[bufIdx++] = charCode; - else if (charCode < 0x800) { - buf[bufIdx++] = 0xC0 + (charCode >>> 6); - buf[bufIdx++] = 0x80 + (charCode & 0x3f); - } - else { // charCode will always be < 0x10000 in javascript. - buf[bufIdx++] = 0xE0 + (charCode >>> 12); - buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f); - buf[bufIdx++] = 0x80 + (charCode & 0x3f); - } - } - return buf.slice(0, bufIdx); -} - -InternalEncoderCesu8.prototype.end = function() { -} - -//------------------------------------------------------------------------------ -// CESU-8 decoder is not implemented in Node v4.0+ - -function InternalDecoderCesu8(options, codec) { - this.acc = 0; - this.contBytes = 0; - this.accBytes = 0; - this.defaultCharUnicode = codec.defaultCharUnicode; -} - -InternalDecoderCesu8.prototype.write = function(buf) { - var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, - res = ''; - for (var i = 0; i < buf.length; i++) { - var curByte = buf[i]; - if ((curByte & 0xC0) !== 0x80) { // Leading byte - if (contBytes > 0) { // Previous code is invalid - res += this.defaultCharUnicode; - contBytes = 0; - } - - if (curByte < 0x80) { // Single-byte code - res += String.fromCharCode(curByte); - } else if (curByte < 0xE0) { // Two-byte code - acc = curByte & 0x1F; - contBytes = 1; accBytes = 1; - } else if (curByte < 0xF0) { // Three-byte code - acc = curByte & 0x0F; - contBytes = 2; accBytes = 1; - } else { // Four or more are not supported for CESU-8. - res += this.defaultCharUnicode; - } - } else { // Continuation byte - if (contBytes > 0) { // We're waiting for it. - acc = (acc << 6) | (curByte & 0x3f); - contBytes--; accBytes++; - if (contBytes === 0) { - // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80) - if (accBytes === 2 && acc < 0x80 && acc > 0) - res += this.defaultCharUnicode; - else if (accBytes === 3 && acc < 0x800) - res += this.defaultCharUnicode; - else - // Actually add character. - res += String.fromCharCode(acc); - } - } else { // Unexpected continuation byte - res += this.defaultCharUnicode; - } - } - } - this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes; - return res; -} - -InternalDecoderCesu8.prototype.end = function() { - var res = 0; - if (this.contBytes > 0) - res += this.defaultCharUnicode; - return res; -} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/sbcs-codec.js": -/*!*********************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/sbcs-codec.js ***! - \*********************************************************/ -/*! default exports */ -/*! export _sbcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; - -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that -// correspond to encoded bytes (if 128 - then lower half is ASCII). - -exports._sbcs = SBCSCodec; -function SBCSCodec(codecOptions, iconv) { - if (!codecOptions) - throw new Error("SBCS codec is called without the data.") - - // Prepare char buffer for decoding. - if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256)) - throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)"); - - if (codecOptions.chars.length === 128) { - var asciiString = ""; - for (var i = 0; i < 128; i++) - asciiString += String.fromCharCode(i); - codecOptions.chars = asciiString + codecOptions.chars; - } - - this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); - - // Encoding buffer. - var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0)); - - for (var i = 0; i < codecOptions.chars.length; i++) - encodeBuf[codecOptions.chars.charCodeAt(i)] = i; - - this.encodeBuf = encodeBuf; -} - -SBCSCodec.prototype.encoder = SBCSEncoder; -SBCSCodec.prototype.decoder = SBCSDecoder; - - -function SBCSEncoder(options, codec) { - this.encodeBuf = codec.encodeBuf; -} - -SBCSEncoder.prototype.write = function(str) { - var buf = Buffer.alloc(str.length); - for (var i = 0; i < str.length; i++) - buf[i] = this.encodeBuf[str.charCodeAt(i)]; - - return buf; -} - -SBCSEncoder.prototype.end = function() { -} - - -function SBCSDecoder(options, codec) { - this.decodeBuf = codec.decodeBuf; -} - -SBCSDecoder.prototype.write = function(buf) { - // Strings are immutable in JS -> we use ucs2 buffer to speed up computations. - var decodeBuf = this.decodeBuf; - var newBuf = Buffer.alloc(buf.length*2); - var idx1 = 0, idx2 = 0; - for (var i = 0; i < buf.length; i++) { - idx1 = buf[i]*2; idx2 = i*2; - newBuf[idx2] = decodeBuf[idx1]; - newBuf[idx2+1] = decodeBuf[idx1+1]; - } - return newBuf.toString('ucs2'); -} - -SBCSDecoder.prototype.end = function() { -} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/sbcs-data-generated.js": -/*!******************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/sbcs-data-generated.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module) => { - -"use strict"; - +const { KafkaJSProtocolError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") +const websiteUrl = __webpack_require__(/*! ../utils/websiteUrl */ "./node_modules/kafkajs/src/utils/websiteUrl.js") -// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. -module.exports = { - "437": "cp437", - "737": "cp737", - "775": "cp775", - "850": "cp850", - "852": "cp852", - "855": "cp855", - "856": "cp856", - "857": "cp857", - "858": "cp858", - "860": "cp860", - "861": "cp861", - "862": "cp862", - "863": "cp863", - "864": "cp864", - "865": "cp865", - "866": "cp866", - "869": "cp869", - "874": "windows874", - "922": "cp922", - "1046": "cp1046", - "1124": "cp1124", - "1125": "cp1125", - "1129": "cp1129", - "1133": "cp1133", - "1161": "cp1161", - "1162": "cp1162", - "1163": "cp1163", - "1250": "windows1250", - "1251": "windows1251", - "1252": "windows1252", - "1253": "windows1253", - "1254": "windows1254", - "1255": "windows1255", - "1256": "windows1256", - "1257": "windows1257", - "1258": "windows1258", - "28591": "iso88591", - "28592": "iso88592", - "28593": "iso88593", - "28594": "iso88594", - "28595": "iso88595", - "28596": "iso88596", - "28597": "iso88597", - "28598": "iso88598", - "28599": "iso88599", - "28600": "iso885910", - "28601": "iso885911", - "28603": "iso885913", - "28604": "iso885914", - "28605": "iso885915", - "28606": "iso885916", - "windows874": { - "type": "_sbcs", - "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" - }, - "win874": "windows874", - "cp874": "windows874", - "windows1250": { - "type": "_sbcs", - "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" - }, - "win1250": "windows1250", - "cp1250": "windows1250", - "windows1251": { - "type": "_sbcs", - "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" +const errorCodes = [ + { + type: 'UNKNOWN', + code: -1, + retriable: false, + message: 'The server experienced an unexpected error when processing the request', }, - "win1251": "windows1251", - "cp1251": "windows1251", - "windows1252": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + { + type: 'OFFSET_OUT_OF_RANGE', + code: 1, + retriable: false, + message: 'The requested offset is not within the range of offsets maintained by the server', }, - "win1252": "windows1252", - "cp1252": "windows1252", - "windows1253": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + { + type: 'CORRUPT_MESSAGE', + code: 2, + retriable: true, + message: + 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt', }, - "win1253": "windows1253", - "cp1253": "windows1253", - "windows1254": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + { + type: 'UNKNOWN_TOPIC_OR_PARTITION', + code: 3, + retriable: true, + message: 'This server does not host this topic-partition', }, - "win1254": "windows1254", - "cp1254": "windows1254", - "windows1255": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + { + type: 'INVALID_FETCH_SIZE', + code: 4, + retriable: false, + message: 'The requested fetch size is invalid', }, - "win1255": "windows1255", - "cp1255": "windows1255", - "windows1256": { - "type": "_sbcs", - "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" + { + type: 'LEADER_NOT_AVAILABLE', + code: 5, + retriable: true, + message: + 'There is no leader for this topic-partition as we are in the middle of a leadership election', }, - "win1256": "windows1256", - "cp1256": "windows1256", - "windows1257": { - "type": "_sbcs", - "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" + { + type: 'NOT_LEADER_FOR_PARTITION', + code: 6, + retriable: true, + message: 'This server is not the leader for that topic-partition', }, - "win1257": "windows1257", - "cp1257": "windows1257", - "windows1258": { - "type": "_sbcs", - "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + { + type: 'REQUEST_TIMED_OUT', + code: 7, + retriable: true, + message: 'The request timed out', }, - "win1258": "windows1258", - "cp1258": "windows1258", - "iso88591": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + { + type: 'BROKER_NOT_AVAILABLE', + code: 8, + retriable: false, + message: 'The broker is not available', }, - "cp28591": "iso88591", - "iso88592": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + { + type: 'REPLICA_NOT_AVAILABLE', + code: 9, + retriable: false, + message: 'The replica is not available for the requested topic-partition', }, - "cp28592": "iso88592", - "iso88593": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙" + { + type: 'MESSAGE_TOO_LARGE', + code: 10, + retriable: false, + message: + 'The request included a message larger than the max message size the server will accept', }, - "cp28593": "iso88593", - "iso88594": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙" + { + type: 'STALE_CONTROLLER_EPOCH', + code: 11, + retriable: false, + message: 'The controller moved to another broker', }, - "cp28594": "iso88594", - "iso88595": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ" + { + type: 'OFFSET_METADATA_TOO_LARGE', + code: 12, + retriable: false, + message: 'The metadata field of the offset request was too large', }, - "cp28595": "iso88595", - "iso88596": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������" + { + type: 'NETWORK_EXCEPTION', + code: 13, + retriable: true, + message: 'The server disconnected before a response was received', }, - "cp28596": "iso88596", - "iso88597": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + { + type: 'GROUP_LOAD_IN_PROGRESS', + code: 14, + retriable: true, + message: "The coordinator is loading and hence can't process requests for this group", }, - "cp28597": "iso88597", - "iso88598": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + { + type: 'GROUP_COORDINATOR_NOT_AVAILABLE', + code: 15, + retriable: true, + message: 'The group coordinator is not available', }, - "cp28598": "iso88598", - "iso88599": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + { + type: 'NOT_COORDINATOR_FOR_GROUP', + code: 16, + retriable: true, + message: 'This is not the correct coordinator for this group', }, - "cp28599": "iso88599", - "iso885910": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ" + { + type: 'INVALID_TOPIC_EXCEPTION', + code: 17, + retriable: false, + message: 'The request attempted to perform an operation on an invalid topic', }, - "cp28600": "iso885910", - "iso885911": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + { + type: 'RECORD_LIST_TOO_LARGE', + code: 18, + retriable: false, + message: + 'The request included message batch larger than the configured segment size on the server', }, - "cp28601": "iso885911", - "iso885913": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’" + { + type: 'NOT_ENOUGH_REPLICAS', + code: 19, + retriable: true, + message: 'Messages are rejected since there are fewer in-sync replicas than required', }, - "cp28603": "iso885913", - "iso885914": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ" + { + type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND', + code: 20, + retriable: true, + message: 'Messages are written to the log, but to fewer in-sync replicas than required', }, - "cp28604": "iso885914", - "iso885915": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + { + type: 'INVALID_REQUIRED_ACKS', + code: 21, + retriable: false, + message: 'Produce request specified an invalid value for required acks', }, - "cp28605": "iso885915", - "iso885916": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ" + { + type: 'ILLEGAL_GENERATION', + code: 22, + retriable: false, + message: 'Specified group generation id is not valid', }, - "cp28606": "iso885916", - "cp437": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'INCONSISTENT_GROUP_PROTOCOL', + code: 23, + retriable: false, + message: + "The group member's supported protocols are incompatible with those of existing members", }, - "ibm437": "cp437", - "csibm437": "cp437", - "cp737": { - "type": "_sbcs", - "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " + { + type: 'INVALID_GROUP_ID', + code: 24, + retriable: false, + message: 'The configured groupId is invalid', + }, + { + type: 'UNKNOWN_MEMBER_ID', + code: 25, + retriable: false, + message: 'The coordinator is not aware of this member', + }, + { + type: 'INVALID_SESSION_TIMEOUT', + code: 26, + retriable: false, + message: + 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)', + }, + { + type: 'REBALANCE_IN_PROGRESS', + code: 27, + retriable: false, + message: 'The group is rebalancing, so a rejoin is needed', + helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'), + }, + { + type: 'INVALID_COMMIT_OFFSET_SIZE', + code: 28, + retriable: false, + message: 'The committing offset data size is not valid', + }, + { + type: 'TOPIC_AUTHORIZATION_FAILED', + code: 29, + retriable: false, + message: 'Not authorized to access topics: [Topic authorization failed]', + }, + { + type: 'GROUP_AUTHORIZATION_FAILED', + code: 30, + retriable: false, + message: 'Not authorized to access group: Group authorization failed', + }, + { + type: 'CLUSTER_AUTHORIZATION_FAILED', + code: 31, + retriable: false, + message: 'Cluster authorization failed', + }, + { + type: 'INVALID_TIMESTAMP', + code: 32, + retriable: false, + message: 'The timestamp of the message is out of acceptable range', + }, + { + type: 'UNSUPPORTED_SASL_MECHANISM', + code: 33, + retriable: false, + message: 'The broker does not support the requested SASL mechanism', + }, + { + type: 'ILLEGAL_SASL_STATE', + code: 34, + retriable: false, + message: 'Request is not valid given the current SASL state', + }, + { + type: 'UNSUPPORTED_VERSION', + code: 35, + retriable: false, + message: 'The version of API is not supported', + }, + { + type: 'TOPIC_ALREADY_EXISTS', + code: 36, + retriable: false, + message: 'Topic with this name already exists', + }, + { + type: 'INVALID_PARTITIONS', + code: 37, + retriable: false, + message: 'Number of partitions is invalid', + }, + { + type: 'INVALID_REPLICATION_FACTOR', + code: 38, + retriable: false, + message: 'Replication-factor is invalid', + }, + { + type: 'INVALID_REPLICA_ASSIGNMENT', + code: 39, + retriable: false, + message: 'Replica assignment is invalid', }, - "ibm737": "cp737", - "csibm737": "cp737", - "cp775": { - "type": "_sbcs", - "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ " + { + type: 'INVALID_CONFIG', + code: 40, + retriable: false, + message: 'Configuration is invalid', }, - "ibm775": "cp775", - "csibm775": "cp775", - "cp850": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + { + type: 'NOT_CONTROLLER', + code: 41, + retriable: true, + message: 'This is not the correct controller for this cluster', }, - "ibm850": "cp850", - "csibm850": "cp850", - "cp852": { - "type": "_sbcs", - "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " + { + type: 'INVALID_REQUEST', + code: 42, + retriable: false, + message: + 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details', }, - "ibm852": "cp852", - "csibm852": "cp852", - "cp855": { - "type": "_sbcs", - "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ " + { + type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT', + code: 43, + retriable: false, + message: 'The message format version on the broker does not support the request', }, - "ibm855": "cp855", - "csibm855": "cp855", - "cp856": { - "type": "_sbcs", - "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ " + { + type: 'POLICY_VIOLATION', + code: 44, + retriable: false, + message: 'Request parameters do not satisfy the configured policy', }, - "ibm856": "cp856", - "csibm856": "cp856", - "cp857": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " + { + type: 'OUT_OF_ORDER_SEQUENCE_NUMBER', + code: 45, + retriable: false, + message: 'The broker received an out of order sequence number', }, - "ibm857": "cp857", - "csibm857": "cp857", - "cp858": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + { + type: 'DUPLICATE_SEQUENCE_NUMBER', + code: 46, + retriable: false, + message: 'The broker received a duplicate sequence number', }, - "ibm858": "cp858", - "csibm858": "cp858", - "cp860": { - "type": "_sbcs", - "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'INVALID_PRODUCER_EPOCH', + code: 47, + retriable: false, + message: + "Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker", }, - "ibm860": "cp860", - "csibm860": "cp860", - "cp861": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'INVALID_TXN_STATE', + code: 48, + retriable: false, + message: 'The producer attempted a transactional operation in an invalid state', }, - "ibm861": "cp861", - "csibm861": "cp861", - "cp862": { - "type": "_sbcs", - "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'INVALID_PRODUCER_ID_MAPPING', + code: 49, + retriable: false, + message: + 'The producer attempted to use a producer id which is not currently assigned to its transactional id', }, - "ibm862": "cp862", - "csibm862": "cp862", - "cp863": { - "type": "_sbcs", - "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'INVALID_TRANSACTION_TIMEOUT', + code: 50, + retriable: false, + message: + 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)', }, - "ibm863": "cp863", - "csibm863": "cp863", - "cp864": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�" + { + type: 'CONCURRENT_TRANSACTIONS', + code: 51, + /** + * The concurrent transactions error has "retriable" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes) + * but the server expects the clients to retry. PR #223 + * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153 + */ + retriable: true, + message: + 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing', }, - "ibm864": "cp864", - "csibm864": "cp864", - "cp865": { - "type": "_sbcs", - "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + { + type: 'TRANSACTION_COORDINATOR_FENCED', + code: 52, + retriable: false, + message: + 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer', }, - "ibm865": "cp865", - "csibm865": "cp865", - "cp866": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " + { + type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED', + code: 53, + retriable: false, + message: 'Transactional Id authorization failed', }, - "ibm866": "cp866", - "csibm866": "cp866", - "cp869": { - "type": "_sbcs", - "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ " + { + type: 'SECURITY_DISABLED', + code: 54, + retriable: false, + message: 'Security features are disabled', }, - "ibm869": "cp869", - "csibm869": "cp869", - "cp922": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ" + { + type: 'OPERATION_NOT_ATTEMPTED', + code: 55, + retriable: false, + message: + 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest', }, - "ibm922": "cp922", - "csibm922": "cp922", - "cp1046": { - "type": "_sbcs", - "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�" + { + type: 'KAFKA_STORAGE_ERROR', + code: 56, + retriable: true, + message: 'Disk error when trying to access log file on the disk', }, - "ibm1046": "cp1046", - "csibm1046": "cp1046", - "cp1124": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ" + { + type: 'LOG_DIR_NOT_FOUND', + code: 57, + retriable: false, + message: 'The user-specified log directory is not found in the broker config', }, - "ibm1124": "cp1124", - "csibm1124": "cp1124", - "cp1125": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ " + { + type: 'SASL_AUTHENTICATION_FAILED', + code: 58, + retriable: false, + message: 'SASL Authentication failed', + helpUrl: websiteUrl('docs/configuration', 'sasl'), }, - "ibm1125": "cp1125", - "csibm1125": "cp1125", - "cp1129": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + { + type: 'UNKNOWN_PRODUCER_ID', + code: 59, + retriable: false, + message: + "This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception", }, - "ibm1129": "cp1129", - "csibm1129": "cp1129", - "cp1133": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�" + { + type: 'REASSIGNMENT_IN_PROGRESS', + code: 60, + retriable: false, + message: 'A partition reassignment is in progress', }, - "ibm1133": "cp1133", - "csibm1133": "cp1133", - "cp1161": { - "type": "_sbcs", - "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ " + { + type: 'DELEGATION_TOKEN_AUTH_DISABLED', + code: 61, + retriable: false, + message: 'Delegation Token feature is not enabled', }, - "ibm1161": "cp1161", - "csibm1161": "cp1161", - "cp1162": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + { + type: 'DELEGATION_TOKEN_NOT_FOUND', + code: 62, + retriable: false, + message: 'Delegation Token is not found on server', }, - "ibm1162": "cp1162", - "csibm1162": "cp1162", - "cp1163": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + { + type: 'DELEGATION_TOKEN_OWNER_MISMATCH', + code: 63, + retriable: false, + message: 'Specified Principal is not valid Owner/Renewer', }, - "ibm1163": "cp1163", - "csibm1163": "cp1163", - "maccroatian": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ" + { + type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED', + code: 64, + retriable: false, + message: + 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels', }, - "maccyrillic": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + { + type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED', + code: 65, + retriable: false, + message: 'Delegation Token authorization failed', }, - "macgreek": { - "type": "_sbcs", - "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" + { + type: 'DELEGATION_TOKEN_EXPIRED', + code: 66, + retriable: false, + message: 'Delegation Token is expired', }, - "maciceland": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + { + type: 'INVALID_PRINCIPAL_TYPE', + code: 67, + retriable: false, + message: 'Supplied principalType is not supported', }, - "macroman": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + { + type: 'NON_EMPTY_GROUP', + code: 68, + retriable: false, + message: 'The group is not empty', }, - "macromania": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + { + type: 'GROUP_ID_NOT_FOUND', + code: 69, + retriable: false, + message: 'The group id was not found', }, - "macthai": { - "type": "_sbcs", - "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����" + { + type: 'FETCH_SESSION_ID_NOT_FOUND', + code: 70, + retriable: true, + message: 'The fetch session ID was not found', }, - "macturkish": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" + { + type: 'INVALID_FETCH_SESSION_EPOCH', + code: 71, + retriable: true, + message: 'The fetch session epoch is invalid', }, - "macukraine": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + { + type: 'LISTENER_NOT_FOUND', + code: 72, + retriable: true, + message: + 'There is no listener on the leader broker that matches the listener on which metadata request was processed', }, - "koi8r": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + { + type: 'TOPIC_DELETION_DISABLED', + code: 73, + retriable: false, + message: 'Topic deletion is disabled', }, - "koi8u": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + { + type: 'FENCED_LEADER_EPOCH', + code: 74, + retriable: true, + message: 'The leader epoch in the request is older than the epoch on the broker', }, - "koi8ru": { - "type": "_sbcs", - "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + { + type: 'UNKNOWN_LEADER_EPOCH', + code: 75, + retriable: true, + message: 'The leader epoch in the request is newer than the epoch on the broker', }, - "koi8t": { - "type": "_sbcs", - "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + { + type: 'UNSUPPORTED_COMPRESSION_TYPE', + code: 76, + retriable: false, + message: 'The requesting client does not support the compression type of given partition', }, - "armscii8": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�" + { + type: 'STALE_BROKER_EPOCH', + code: 77, + retriable: false, + message: 'Broker epoch has changed', }, - "rk1048": { - "type": "_sbcs", - "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + { + type: 'OFFSET_NOT_AVAILABLE', + code: 78, + retriable: true, + message: + 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing', }, - "tcvn": { - "type": "_sbcs", - "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ" + { + type: 'MEMBER_ID_REQUIRED', + code: 79, + retriable: false, + message: + 'The group member needs to have a valid member id before actually entering a consumer group', }, - "georgianacademy": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + { + type: 'PREFERRED_LEADER_NOT_AVAILABLE', + code: 80, + retriable: true, + message: 'The preferred leader was not available', }, - "georgianps": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + { + type: 'GROUP_MAX_SIZE_REACHED', + code: 81, + retriable: false, + message: + 'The consumer group has reached its max size. It already has the configured maximum number of members', }, - "pt154": { - "type": "_sbcs", - "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + { + type: 'FENCED_INSTANCE_ID', + code: 82, + retriable: false, + message: + 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id', }, - "viscii": { - "type": "_sbcs", - "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ" + { + type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE', + code: 83, + retriable: true, + message: 'Eligible topic partition leaders are not available', }, - "iso646cn": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + { + type: 'ELECTION_NOT_NEEDED', + code: 84, + retriable: true, + message: 'Leader election not needed for topic partition', }, - "iso646jp": { - "type": "_sbcs", - "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + { + type: 'NO_REASSIGNMENT_IN_PROGRESS', + code: 85, + retriable: false, + message: 'No partition reassignment is in progress', }, - "hproman8": { - "type": "_sbcs", - "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�" + { + type: 'GROUP_SUBSCRIBED_TO_TOPIC', + code: 86, + retriable: false, + message: + 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it', }, - "macintosh": { - "type": "_sbcs", - "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + { + type: 'INVALID_RECORD', + code: 87, + retriable: false, + message: 'This record has failed the validation on broker and hence be rejected', }, - "ascii": { - "type": "_sbcs", - "chars": "��������������������������������������������������������������������������������������������������������������������������������" + { + type: 'UNSTABLE_OFFSET_COMMIT', + code: 88, + retriable: true, + message: 'There are unstable offsets that need to be cleared', }, - "tis620": { - "type": "_sbcs", - "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" +] + +const unknownErrorCode = errorCode => ({ + type: 'KAFKAJS_UNKNOWN_ERROR_CODE', + code: -99, + retriable: false, + message: `Unknown error code ${errorCode}`, +}) + +const SUCCESS_CODE = 0 +const UNSUPPORTED_VERSION_CODE = 35 + +const failure = code => code !== SUCCESS_CODE +const createErrorFromCode = code => { + return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code)) +} + +const failIfVersionNotSupported = code => { + if (code === UNSUPPORTED_VERSION_CODE) { + throw createErrorFromCode(UNSUPPORTED_VERSION_CODE) } } +const staleMetadata = e => + ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes( + e.type + ) + +module.exports = { + failure, + errorCodes, + createErrorFromCode, + failIfVersionNotSupported, + staleMetadata, +} + + /***/ }), -/***/ "./node_modules/iconv-lite/encodings/sbcs-data.js": -/*!********************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/sbcs-data.js ***! - \********************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/isolationLevel.js": +/*!*************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/isolationLevel.js ***! + \*************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ /***/ ((module) => { -"use strict"; +/** + * Enum for isolation levels + * @readonly + * @enum {number} + */ +module.exports = { + // Makes all records visible + READ_UNCOMMITTED: 0, + + // non-transactional and COMMITTED transactional records are visible. It returns all data + // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of + // the list of aborted transactions in the result, which allows consumers to discard ABORTED + // transactional records + READ_COMMITTED: 1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/compression/gzip.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/compression/gzip.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +const { promisify } = __webpack_require__(/*! util */ "util") +const zlib = __webpack_require__(/*! zlib */ "zlib") -// Manually added data to be used by sbcs codec in addition to generated one. +const gzip = promisify(zlib.gzip) +const unzip = promisify(zlib.unzip) module.exports = { - // Not supported by iconv, not sure why. - "10029": "maccenteuro", - "maccenteuro": { - "type": "_sbcs", - "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" - }, + /** + * @param {Encoder} encoder + * @returns {Promise} + */ + async compress(encoder) { + return await gzip(encoder.buffer) + }, - "808": "cp808", - "ibm808": "cp808", - "cp808": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ " - }, + /** + * @param {Buffer} buffer + * @returns {Promise} + */ + async decompress(buffer) { + return await unzip(buffer) + }, +} - "mik": { - "type": "_sbcs", - "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " - }, - // Aliases of generated encodings. - "ascii8bit": "ascii", - "usascii": "ascii", - "ansix34": "ascii", - "ansix341968": "ascii", - "ansix341986": "ascii", - "csascii": "ascii", - "cp367": "ascii", - "ibm367": "ascii", - "isoir6": "ascii", - "iso646us": "ascii", - "iso646irv": "ascii", - "us": "ascii", - - "latin1": "iso88591", - "latin2": "iso88592", - "latin3": "iso88593", - "latin4": "iso88594", - "latin5": "iso88599", - "latin6": "iso885910", - "latin7": "iso885913", - "latin8": "iso885914", - "latin9": "iso885915", - "latin10": "iso885916", - - "csisolatin1": "iso88591", - "csisolatin2": "iso88592", - "csisolatin3": "iso88593", - "csisolatin4": "iso88594", - "csisolatincyrillic": "iso88595", - "csisolatinarabic": "iso88596", - "csisolatingreek" : "iso88597", - "csisolatinhebrew": "iso88598", - "csisolatin5": "iso88599", - "csisolatin6": "iso885910", - - "l1": "iso88591", - "l2": "iso88592", - "l3": "iso88593", - "l4": "iso88594", - "l5": "iso88599", - "l6": "iso885910", - "l7": "iso885913", - "l8": "iso885914", - "l9": "iso885915", - "l10": "iso885916", - - "isoir14": "iso646jp", - "isoir57": "iso646cn", - "isoir100": "iso88591", - "isoir101": "iso88592", - "isoir109": "iso88593", - "isoir110": "iso88594", - "isoir144": "iso88595", - "isoir127": "iso88596", - "isoir126": "iso88597", - "isoir138": "iso88598", - "isoir148": "iso88599", - "isoir157": "iso885910", - "isoir166": "tis620", - "isoir179": "iso885913", - "isoir199": "iso885914", - "isoir203": "iso885915", - "isoir226": "iso885916", - - "cp819": "iso88591", - "ibm819": "iso88591", - - "cyrillic": "iso88595", - - "arabic": "iso88596", - "arabic8": "iso88596", - "ecma114": "iso88596", - "asmo708": "iso88596", - - "greek" : "iso88597", - "greek8" : "iso88597", - "ecma118" : "iso88597", - "elot928" : "iso88597", - - "hebrew": "iso88598", - "hebrew8": "iso88598", - - "turkish": "iso88599", - "turkish8": "iso88599", - - "thai": "iso885911", - "thai8": "iso885911", - - "celtic": "iso885914", - "celtic8": "iso885914", - "isoceltic": "iso885914", - - "tis6200": "tis620", - "tis62025291": "tis620", - "tis62025330": "tis620", - - "10000": "macroman", - "10006": "macgreek", - "10007": "maccyrillic", - "10079": "maciceland", - "10081": "macturkish", - - "cspc8codepage437": "cp437", - "cspc775baltic": "cp775", - "cspc850multilingual": "cp850", - "cspcp852": "cp852", - "cspc862latinhebrew": "cp862", - "cpgr": "cp869", - - "msee": "cp1250", - "mscyrl": "cp1251", - "msansi": "cp1252", - "msgreek": "cp1253", - "msturk": "cp1254", - "mshebr": "cp1255", - "msarab": "cp1256", - "winbaltrim": "cp1257", - - "cp20866": "koi8r", - "20866": "koi8r", - "ibm878": "koi8r", - "cskoi8r": "koi8r", - - "cp21866": "koi8u", - "21866": "koi8u", - "ibm1168": "koi8u", - - "strk10482002": "rk1048", - - "tcvn5712": "tcvn", - "tcvn57121": "tcvn", - - "gb198880": "iso646cn", - "cn": "iso646cn", - - "csiso14jisc6220ro": "iso646jp", - "jisc62201969ro": "iso646jp", - "jp": "iso646jp", - - "cshproman8": "hproman8", - "r8": "hproman8", - "roman8": "hproman8", - "xroman8": "hproman8", - "ibm1051": "hproman8", - - "mac": "macintosh", - "csmacintosh": "macintosh", -}; +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/compression/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/compression/index.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { KafkaJSNotImplemented } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") + +const COMPRESSION_CODEC_MASK = 0x07 + +const Types = { + None: 0, + GZIP: 1, + Snappy: 2, + LZ4: 3, + ZSTD: 4, +} + +const Codecs = { + [Types.GZIP]: () => __webpack_require__(/*! ./gzip */ "./node_modules/kafkajs/src/protocol/message/compression/gzip.js"), + [Types.Snappy]: () => { + throw new KafkaJSNotImplemented('Snappy compression not implemented') + }, + [Types.LZ4]: () => { + throw new KafkaJSNotImplemented('LZ4 compression not implemented') + }, + [Types.ZSTD]: () => { + throw new KafkaJSNotImplemented('ZSTD compression not implemented') + }, +} + +const lookupCodec = type => (Codecs[type] ? Codecs[type]() : null) +const lookupCodecByAttributes = attributes => { + const codec = Codecs[attributes & COMPRESSION_CODEC_MASK] + return codec ? codec() : null +} +module.exports = { + Types, + Codecs, + lookupCodec, + lookupCodecByAttributes, + COMPRESSION_CODEC_MASK, +} /***/ }), -/***/ "./node_modules/iconv-lite/encodings/tables/big5-added.json": -/*!******************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/big5-added.json ***! - \******************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ +/***/ "./node_modules/kafkajs/src/protocol/message/decoder.js": +/*!**************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/decoder.js ***! + \**************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { + KafkaJSPartialMessageError, + KafkaJSUnsupportedMagicByteInMessageSet, +} = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") + +const V0Decoder = __webpack_require__(/*! ./v0/decoder */ "./node_modules/kafkajs/src/protocol/message/v0/decoder.js") +const V1Decoder = __webpack_require__(/*! ./v1/decoder */ "./node_modules/kafkajs/src/protocol/message/v1/decoder.js") + +const decodeMessage = (decoder, magicByte) => { + switch (magicByte) { + case 0: + return V0Decoder(decoder) + case 1: + return V1Decoder(decoder) + default: + throw new KafkaJSUnsupportedMagicByteInMessageSet( + `Unsupported MessageSet message version, magic byte: ${magicByte}` + ) + } +} + +module.exports = (offset, size, decoder) => { + // Don't decrement decoder.offset because slice is already considering the current + // offset of the decoder + const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer) + + if (remainingBytes < size) { + throw new KafkaJSPartialMessageError( + `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})` + ) + } + + const crc = decoder.readInt32() + const magicByte = decoder.readInt8() + const message = decodeMessage(decoder, magicByte) + return Object.assign({ offset, size, crc, magicByte }, message) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/index.js": +/*!************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/index.js ***! + \************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: __webpack_require__(/*! ./v0 */ "./node_modules/kafkajs/src/protocol/message/v0/index.js"), + 1: __webpack_require__(/*! ./v1 */ "./node_modules/kafkajs/src/protocol/message/v1/index.js"), +} + +module.exports = ({ version = 0 }) => versions[version] + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/v0/decoder.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/v0/decoder.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ /***/ ((module) => { -"use strict"; -module.exports = JSON.parse("[[\"8740\",\"䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻\"],[\"8767\",\"綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬\"],[\"87a1\",\"𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋\"],[\"8840\",\"㇀\",4,\"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ\"],[\"88a1\",\"ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛\"],[\"8940\",\"𪎩𡅅\"],[\"8943\",\"攊\"],[\"8946\",\"丽滝鵎釟\"],[\"894c\",\"𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮\"],[\"89a1\",\"琑糼緍楆竉刧\"],[\"89ab\",\"醌碸酞肼\"],[\"89b0\",\"贋胶𠧧\"],[\"89b5\",\"肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁\"],[\"89c1\",\"溚舾甙\"],[\"89c5\",\"䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅\"],[\"8a40\",\"𧶄唥\"],[\"8a43\",\"𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓\"],[\"8a64\",\"𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕\"],[\"8a76\",\"䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯\"],[\"8aa1\",\"𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱\"],[\"8aac\",\"䠋𠆩㿺塳𢶍\"],[\"8ab2\",\"𤗈𠓼𦂗𠽌𠶖啹䂻䎺\"],[\"8abb\",\"䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃\"],[\"8ac9\",\"𪘁𠸉𢫏𢳉\"],[\"8ace\",\"𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻\"],[\"8adf\",\"𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌\"],[\"8af6\",\"𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭\"],[\"8b40\",\"𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹\"],[\"8b55\",\"𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑\"],[\"8ba1\",\"𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁\"],[\"8bde\",\"𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢\"],[\"8c40\",\"倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋\"],[\"8ca1\",\"𣏹椙橃𣱣泿\"],[\"8ca7\",\"爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚\"],[\"8cc9\",\"顨杫䉶圽\"],[\"8cce\",\"藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶\"],[\"8ce6\",\"峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻\"],[\"8d40\",\"𠮟\"],[\"8d42\",\"𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱\"],[\"8da1\",\"㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘\"],[\"8e40\",\"𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎\"],[\"8ea1\",\"繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛\"],[\"8f40\",\"蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖\"],[\"8fa1\",\"𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起\"],[\"9040\",\"趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛\"],[\"90a1\",\"𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜\"],[\"9140\",\"𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈\"],[\"91a1\",\"鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨\"],[\"9240\",\"𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘\"],[\"92a1\",\"働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃\"],[\"9340\",\"媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍\"],[\"93a1\",\"摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋\"],[\"9440\",\"銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻\"],[\"94a1\",\"㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡\"],[\"9540\",\"𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂\"],[\"95a1\",\"衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰\"],[\"9640\",\"桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸\"],[\"96a1\",\"𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉\"],[\"9740\",\"愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫\"],[\"97a1\",\"𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎\"],[\"9840\",\"𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦\"],[\"98a1\",\"咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃\"],[\"9940\",\"䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚\"],[\"99a1\",\"䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿\"],[\"9a40\",\"鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺\"],[\"9aa1\",\"黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪\"],[\"9b40\",\"𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌\"],[\"9b62\",\"𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎\"],[\"9ba1\",\"椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊\"],[\"9c40\",\"嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶\"],[\"9ca1\",\"㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏\"],[\"9d40\",\"𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁\"],[\"9da1\",\"辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢\"],[\"9e40\",\"𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺\"],[\"9ea1\",\"鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭\"],[\"9ead\",\"𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹\"],[\"9ec5\",\"㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲\"],[\"9ef5\",\"噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼\"],[\"9f40\",\"籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱\"],[\"9f4f\",\"凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰\"],[\"9fa1\",\"椬叚鰊鴂䰻陁榀傦畆𡝭駚剳\"],[\"9fae\",\"酙隁酜\"],[\"9fb2\",\"酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽\"],[\"9fc1\",\"𤤙盖鮝个𠳔莾衂\"],[\"9fc9\",\"届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳\"],[\"9fdb\",\"歒酼龥鮗頮颴骺麨麄煺笔\"],[\"9fe7\",\"毺蠘罸\"],[\"9feb\",\"嘠𪙊蹷齓\"],[\"9ff0\",\"跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇\"],[\"a040\",\"𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷\"],[\"a055\",\"𡠻𦸅\"],[\"a058\",\"詾𢔛\"],[\"a05b\",\"惽癧髗鵄鍮鮏蟵\"],[\"a063\",\"蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽\"],[\"a073\",\"坟慯抦戹拎㩜懢厪𣏵捤栂㗒\"],[\"a0a1\",\"嵗𨯂迚𨸹\"],[\"a0a6\",\"僙𡵆礆匲阸𠼻䁥\"],[\"a0ae\",\"矾\"],[\"a0b0\",\"糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦\"],[\"a0d4\",\"覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷\"],[\"a0e2\",\"罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫\"],[\"a3c0\",\"␀\",31,\"␡\"],[\"c6a1\",\"①\",9,\"⑴\",9,\"ⅰ\",9,\"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ\",23],[\"c740\",\"す\",58,\"ァアィイ\"],[\"c7a1\",\"ゥ\",81,\"А\",5,\"ЁЖ\",4],[\"c840\",\"Л\",26,\"ёж\",25,\"⇧↸↹㇏𠃌乚𠂊刂䒑\"],[\"c8a1\",\"龰冈龱𧘇\"],[\"c8cd\",\"¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣\"],[\"c8f5\",\"ʃɐɛɔɵœøŋʊɪ\"],[\"f9fe\",\"■\"],[\"fa40\",\"𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸\"],[\"faa1\",\"鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍\"],[\"fb40\",\"𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙\"],[\"fba1\",\"𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂\"],[\"fc40\",\"廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷\"],[\"fca1\",\"𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝\"],[\"fd40\",\"𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀\"],[\"fda1\",\"𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎\"],[\"fe40\",\"鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌\"],[\"fea1\",\"𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔\"]]"); +module.exports = decoder => ({ + attributes: decoder.readInt8(), + key: decoder.readBytes(), + value: decoder.readBytes(), +}) + /***/ }), -/***/ "./node_modules/iconv-lite/encodings/tables/cp936.json": -/*!*************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/cp936.json ***! - \*************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 175 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 176 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 177 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 178 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 179 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 180 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 181 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 182 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 183 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 184 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 185 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 186 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 187 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 188 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 189 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 190 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 191 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 192 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 193 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 194 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 195 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 196 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 197 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 198 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 199 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 201 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 202 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 203 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 204 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 205 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 206 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 207 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 208 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 209 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 210 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 211 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 212 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 213 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 214 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 215 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 216 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 217 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 218 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 219 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 220 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 221 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 222 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 223 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 224 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 225 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 226 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 227 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 228 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 229 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 230 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 231 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 232 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 233 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 234 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 235 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 236 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 237 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 238 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 239 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 240 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 241 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 242 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 243 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 244 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 245 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 246 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 247 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 248 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 249 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 250 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 251 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 252 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 253 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 254 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 255 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 256 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 257 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 258 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 259 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 260 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 261 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"0\",\"\\u0000\",127,\"€\"],[\"8140\",\"丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪\",5,\"乲乴\",9,\"乿\",6,\"亇亊\"],[\"8180\",\"亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂\",6,\"伋伌伒\",4,\"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾\",4,\"佄佅佇\",5,\"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢\"],[\"8240\",\"侤侫侭侰\",4,\"侶\",8,\"俀俁係俆俇俈俉俋俌俍俒\",4,\"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿\",11],[\"8280\",\"個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯\",10,\"倻倽倿偀偁偂偄偅偆偉偊偋偍偐\",4,\"偖偗偘偙偛偝\",7,\"偦\",5,\"偭\",8,\"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎\",20,\"傤傦傪傫傭\",4,\"傳\",6,\"傼\"],[\"8340\",\"傽\",17,\"僐\",5,\"僗僘僙僛\",10,\"僨僩僪僫僯僰僱僲僴僶\",4,\"僼\",9,\"儈\"],[\"8380\",\"儉儊儌\",5,\"儓\",13,\"儢\",28,\"兂兇兊兌兎兏児兒兓兗兘兙兛兝\",4,\"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦\",4,\"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒\",5],[\"8440\",\"凘凙凚凜凞凟凢凣凥\",5,\"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄\",5,\"剋剎剏剒剓剕剗剘\"],[\"8480\",\"剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳\",9,\"剾劀劃\",4,\"劉\",6,\"劑劒劔\",6,\"劜劤劥劦劧劮劯劰労\",9,\"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務\",5,\"勠勡勢勣勥\",10,\"勱\",7,\"勻勼勽匁匂匃匄匇匉匊匋匌匎\"],[\"8540\",\"匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯\",9,\"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏\"],[\"8580\",\"厐\",4,\"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯\",6,\"厷厸厹厺厼厽厾叀參\",4,\"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝\",4,\"呣呥呧呩\",7,\"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡\"],[\"8640\",\"咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠\",4,\"哫哬哯哰哱哴\",5,\"哻哾唀唂唃唄唅唈唊\",4,\"唒唓唕\",5,\"唜唝唞唟唡唥唦\"],[\"8680\",\"唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋\",4,\"啑啒啓啔啗\",4,\"啝啞啟啠啢啣啨啩啫啯\",5,\"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠\",6,\"喨\",8,\"喲喴営喸喺喼喿\",4,\"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗\",4,\"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸\",4,\"嗿嘂嘃嘄嘅\"],[\"8740\",\"嘆嘇嘊嘋嘍嘐\",7,\"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀\",11,\"噏\",4,\"噕噖噚噛噝\",4],[\"8780\",\"噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽\",7,\"嚇\",6,\"嚐嚑嚒嚔\",14,\"嚤\",10,\"嚰\",6,\"嚸嚹嚺嚻嚽\",12,\"囋\",8,\"囕囖囘囙囜団囥\",5,\"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國\",6],[\"8840\",\"園\",9,\"圝圞圠圡圢圤圥圦圧圫圱圲圴\",4,\"圼圽圿坁坃坄坅坆坈坉坋坒\",4,\"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀\"],[\"8880\",\"垁垇垈垉垊垍\",4,\"垔\",6,\"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹\",8,\"埄\",6,\"埌埍埐埑埓埖埗埛埜埞埡埢埣埥\",7,\"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥\",4,\"堫\",4,\"報堲堳場堶\",7],[\"8940\",\"堾\",5,\"塅\",6,\"塎塏塐塒塓塕塖塗塙\",4,\"塟\",5,\"塦\",4,\"塭\",16,\"塿墂墄墆墇墈墊墋墌\"],[\"8980\",\"墍\",4,\"墔\",4,\"墛墜墝墠\",7,\"墪\",17,\"墽墾墿壀壂壃壄壆\",10,\"壒壓壔壖\",13,\"壥\",5,\"壭壯壱売壴壵壷壸壺\",7,\"夃夅夆夈\",4,\"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻\"],[\"8a40\",\"夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛\",4,\"奡奣奤奦\",12,\"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦\"],[\"8a80\",\"妧妬妭妰妱妳\",5,\"妺妼妽妿\",6,\"姇姈姉姌姍姎姏姕姖姙姛姞\",4,\"姤姦姧姩姪姫姭\",11,\"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪\",6,\"娳娵娷\",4,\"娽娾娿婁\",4,\"婇婈婋\",9,\"婖婗婘婙婛\",5],[\"8b40\",\"婡婣婤婥婦婨婩婫\",8,\"婸婹婻婼婽婾媀\",17,\"媓\",6,\"媜\",13,\"媫媬\"],[\"8b80\",\"媭\",4,\"媴媶媷媹\",4,\"媿嫀嫃\",5,\"嫊嫋嫍\",4,\"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬\",4,\"嫲\",22,\"嬊\",11,\"嬘\",25,\"嬳嬵嬶嬸\",7,\"孁\",6],[\"8c40\",\"孈\",7,\"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏\"],[\"8c80\",\"寑寔\",8,\"寠寢寣實寧審\",4,\"寯寱\",6,\"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧\",6,\"屰屲\",6,\"屻屼屽屾岀岃\",4,\"岉岊岋岎岏岒岓岕岝\",4,\"岤\",4],[\"8d40\",\"岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅\",5,\"峌\",5,\"峓\",5,\"峚\",6,\"峢峣峧峩峫峬峮峯峱\",9,\"峼\",4],[\"8d80\",\"崁崄崅崈\",5,\"崏\",4,\"崕崗崘崙崚崜崝崟\",4,\"崥崨崪崫崬崯\",4,\"崵\",7,\"崿\",7,\"嵈嵉嵍\",10,\"嵙嵚嵜嵞\",10,\"嵪嵭嵮嵰嵱嵲嵳嵵\",12,\"嶃\",21,\"嶚嶛嶜嶞嶟嶠\"],[\"8e40\",\"嶡\",21,\"嶸\",12,\"巆\",6,\"巎\",12,\"巜巟巠巣巤巪巬巭\"],[\"8e80\",\"巰巵巶巸\",4,\"巿帀帄帇帉帊帋帍帎帒帓帗帞\",7,\"帨\",4,\"帯帰帲\",4,\"帹帺帾帿幀幁幃幆\",5,\"幍\",6,\"幖\",4,\"幜幝幟幠幣\",14,\"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨\",4,\"庮\",4,\"庴庺庻庼庽庿\",6],[\"8f40\",\"廆廇廈廋\",5,\"廔廕廗廘廙廚廜\",11,\"廩廫\",8,\"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤\"],[\"8f80\",\"弨弫弬弮弰弲\",6,\"弻弽弾弿彁\",14,\"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢\",5,\"復徫徬徯\",5,\"徶徸徹徺徻徾\",4,\"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇\"],[\"9040\",\"怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰\",4,\"怶\",4,\"怽怾恀恄\",6,\"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀\"],[\"9080\",\"悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽\",7,\"惇惈惉惌\",4,\"惒惓惔惖惗惙惛惞惡\",4,\"惪惱惲惵惷惸惻\",4,\"愂愃愄愅愇愊愋愌愐\",4,\"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬\",18,\"慀\",6],[\"9140\",\"慇慉態慍慏慐慒慓慔慖\",6,\"慞慟慠慡慣慤慥慦慩\",6,\"慱慲慳慴慶慸\",18,\"憌憍憏\",4,\"憕\"],[\"9180\",\"憖\",6,\"憞\",8,\"憪憫憭\",9,\"憸\",5,\"憿懀懁懃\",4,\"應懌\",4,\"懓懕\",16,\"懧\",13,\"懶\",8,\"戀\",5,\"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸\",4,\"扂扄扅扆扊\"],[\"9240\",\"扏扐払扖扗扙扚扜\",6,\"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋\",5,\"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁\"],[\"9280\",\"拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳\",5,\"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖\",7,\"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙\",6,\"採掤掦掫掯掱掲掵掶掹掻掽掿揀\"],[\"9340\",\"揁揂揃揅揇揈揊揋揌揑揓揔揕揗\",6,\"揟揢揤\",4,\"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆\",4,\"損搎搑搒搕\",5,\"搝搟搢搣搤\"],[\"9380\",\"搥搧搨搩搫搮\",5,\"搵\",4,\"搻搼搾摀摂摃摉摋\",6,\"摓摕摖摗摙\",4,\"摟\",7,\"摨摪摫摬摮\",9,\"摻\",6,\"撃撆撈\",8,\"撓撔撗撘撚撛撜撝撟\",4,\"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆\",6,\"擏擑擓擔擕擖擙據\"],[\"9440\",\"擛擜擝擟擠擡擣擥擧\",24,\"攁\",7,\"攊\",7,\"攓\",4,\"攙\",8],[\"9480\",\"攢攣攤攦\",4,\"攬攭攰攱攲攳攷攺攼攽敀\",4,\"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數\",14,\"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱\",7,\"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘\",7,\"旡旣旤旪旫\"],[\"9540\",\"旲旳旴旵旸旹旻\",4,\"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷\",4,\"昽昿晀時晄\",6,\"晍晎晐晑晘\"],[\"9580\",\"晙晛晜晝晞晠晢晣晥晧晩\",4,\"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘\",4,\"暞\",8,\"暩\",4,\"暯\",4,\"暵暶暷暸暺暻暼暽暿\",25,\"曚曞\",7,\"曧曨曪\",5,\"曱曵曶書曺曻曽朁朂會\"],[\"9640\",\"朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠\",5,\"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗\",4,\"杝杢杣杤杦杧杫杬杮東杴杶\"],[\"9680\",\"杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹\",7,\"柂柅\",9,\"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵\",7,\"柾栁栂栃栄栆栍栐栒栔栕栘\",4,\"栞栟栠栢\",6,\"栫\",6,\"栴栵栶栺栻栿桇桋桍桏桒桖\",5],[\"9740\",\"桜桝桞桟桪桬\",7,\"桵桸\",8,\"梂梄梇\",7,\"梐梑梒梔梕梖梘\",9,\"梣梤梥梩梪梫梬梮梱梲梴梶梷梸\"],[\"9780\",\"梹\",6,\"棁棃\",5,\"棊棌棎棏棐棑棓棔棖棗棙棛\",4,\"棡棢棤\",9,\"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆\",4,\"椌椏椑椓\",11,\"椡椢椣椥\",7,\"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃\",16,\"楕楖楘楙楛楜楟\"],[\"9840\",\"楡楢楤楥楧楨楩楪楬業楯楰楲\",4,\"楺楻楽楾楿榁榃榅榊榋榌榎\",5,\"榖榗榙榚榝\",9,\"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽\"],[\"9880\",\"榾榿槀槂\",7,\"構槍槏槑槒槓槕\",5,\"槜槝槞槡\",11,\"槮槯槰槱槳\",9,\"槾樀\",9,\"樋\",11,\"標\",5,\"樠樢\",5,\"権樫樬樭樮樰樲樳樴樶\",6,\"樿\",4,\"橅橆橈\",7,\"橑\",6,\"橚\"],[\"9940\",\"橜\",4,\"橢橣橤橦\",10,\"橲\",6,\"橺橻橽橾橿檁檂檃檅\",8,\"檏檒\",4,\"檘\",7,\"檡\",5],[\"9980\",\"檧檨檪檭\",114,\"欥欦欨\",6],[\"9a40\",\"欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍\",11,\"歚\",7,\"歨歩歫\",13,\"歺歽歾歿殀殅殈\"],[\"9a80\",\"殌殎殏殐殑殔殕殗殘殙殜\",4,\"殢\",7,\"殫\",7,\"殶殸\",6,\"毀毃毄毆\",4,\"毌毎毐毑毘毚毜\",4,\"毢\",7,\"毬毭毮毰毱毲毴毶毷毸毺毻毼毾\",6,\"氈\",4,\"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋\",4,\"汑汒汓汖汘\"],[\"9b40\",\"汙汚汢汣汥汦汧汫\",4,\"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘\"],[\"9b80\",\"泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟\",5,\"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽\",4,\"涃涄涆涇涊涋涍涏涐涒涖\",4,\"涜涢涥涬涭涰涱涳涴涶涷涹\",5,\"淁淂淃淈淉淊\"],[\"9c40\",\"淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽\",7,\"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵\"],[\"9c80\",\"渶渷渹渻\",7,\"湅\",7,\"湏湐湑湒湕湗湙湚湜湝湞湠\",10,\"湬湭湯\",14,\"満溁溂溄溇溈溊\",4,\"溑\",6,\"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪\",5],[\"9d40\",\"滰滱滲滳滵滶滷滸滺\",7,\"漃漄漅漇漈漊\",4,\"漐漑漒漖\",9,\"漡漢漣漥漦漧漨漬漮漰漲漴漵漷\",6,\"漿潀潁潂\"],[\"9d80\",\"潃潄潅潈潉潊潌潎\",9,\"潙潚潛潝潟潠潡潣潤潥潧\",5,\"潯潰潱潳潵潶潷潹潻潽\",6,\"澅澆澇澊澋澏\",12,\"澝澞澟澠澢\",4,\"澨\",10,\"澴澵澷澸澺\",5,\"濁濃\",5,\"濊\",6,\"濓\",10,\"濟濢濣濤濥\"],[\"9e40\",\"濦\",7,\"濰\",32,\"瀒\",7,\"瀜\",6,\"瀤\",6],[\"9e80\",\"瀫\",9,\"瀶瀷瀸瀺\",17,\"灍灎灐\",13,\"灟\",11,\"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞\",12,\"炰炲炴炵炶為炾炿烄烅烆烇烉烋\",12,\"烚\"],[\"9f40\",\"烜烝烞烠烡烢烣烥烪烮烰\",6,\"烸烺烻烼烾\",10,\"焋\",4,\"焑焒焔焗焛\",10,\"焧\",7,\"焲焳焴\"],[\"9f80\",\"焵焷\",13,\"煆煇煈煉煋煍煏\",12,\"煝煟\",4,\"煥煩\",4,\"煯煰煱煴煵煶煷煹煻煼煾\",5,\"熅\",4,\"熋熌熍熎熐熑熒熓熕熖熗熚\",4,\"熡\",6,\"熩熪熫熭\",5,\"熴熶熷熸熺\",8,\"燄\",9,\"燏\",4],[\"a040\",\"燖\",9,\"燡燢燣燤燦燨\",5,\"燯\",9,\"燺\",11,\"爇\",19],[\"a080\",\"爛爜爞\",9,\"爩爫爭爮爯爲爳爴爺爼爾牀\",6,\"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅\",4,\"犌犎犐犑犓\",11,\"犠\",11,\"犮犱犲犳犵犺\",6,\"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛\"],[\"a1a1\",\" 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈\",7,\"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓\"],[\"a2a1\",\"ⅰ\",9],[\"a2b1\",\"⒈\",19,\"⑴\",19,\"①\",9],[\"a2e5\",\"㈠\",9],[\"a2f1\",\"Ⅰ\",11],[\"a3a1\",\"!"#¥%\",88,\" ̄\"],[\"a4a1\",\"ぁ\",82],[\"a5a1\",\"ァ\",85],[\"a6a1\",\"Α\",16,\"Σ\",6],[\"a6c1\",\"α\",16,\"σ\",6],[\"a6e0\",\"︵︶︹︺︿﹀︽︾﹁﹂﹃﹄\"],[\"a6ee\",\"︻︼︷︸︱\"],[\"a6f4\",\"︳︴\"],[\"a7a1\",\"А\",5,\"ЁЖ\",25],[\"a7d1\",\"а\",5,\"ёж\",25],[\"a840\",\"ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═\",35,\"▁\",6],[\"a880\",\"█\",7,\"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞\"],[\"a8a1\",\"āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ\"],[\"a8bd\",\"ńň\"],[\"a8c0\",\"ɡ\"],[\"a8c5\",\"ㄅ\",36],[\"a940\",\"〡\",8,\"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦\"],[\"a959\",\"℡㈱\"],[\"a95c\",\"‐\"],[\"a960\",\"ー゛゜ヽヾ〆ゝゞ﹉\",9,\"﹔﹕﹖﹗﹙\",8],[\"a980\",\"﹢\",4,\"﹨﹩﹪﹫\"],[\"a996\",\"〇\"],[\"a9a4\",\"─\",75],[\"aa40\",\"狜狝狟狢\",5,\"狪狫狵狶狹狽狾狿猀猂猄\",5,\"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀\",8],[\"aa80\",\"獉獊獋獌獎獏獑獓獔獕獖獘\",7,\"獡\",10,\"獮獰獱\"],[\"ab40\",\"獲\",11,\"獿\",4,\"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣\",5,\"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃\",4],[\"ab80\",\"珋珌珎珒\",6,\"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳\",4],[\"ac40\",\"珸\",10,\"琄琇琈琋琌琍琎琑\",8,\"琜\",5,\"琣琤琧琩琫琭琯琱琲琷\",4,\"琽琾琿瑀瑂\",11],[\"ac80\",\"瑎\",6,\"瑖瑘瑝瑠\",12,\"瑮瑯瑱\",4,\"瑸瑹瑺\"],[\"ad40\",\"瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑\",10,\"璝璟\",7,\"璪\",15,\"璻\",12],[\"ad80\",\"瓈\",9,\"瓓\",8,\"瓝瓟瓡瓥瓧\",6,\"瓰瓱瓲\"],[\"ae40\",\"瓳瓵瓸\",6,\"甀甁甂甃甅\",7,\"甎甐甒甔甕甖甗甛甝甞甠\",4,\"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘\"],[\"ae80\",\"畝\",7,\"畧畨畩畫\",6,\"畳畵當畷畺\",4,\"疀疁疂疄疅疇\"],[\"af40\",\"疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦\",4,\"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇\"],[\"af80\",\"瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄\"],[\"b040\",\"癅\",6,\"癎\",5,\"癕癗\",4,\"癝癟癠癡癢癤\",6,\"癬癭癮癰\",7,\"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛\"],[\"b080\",\"皜\",7,\"皥\",8,\"皯皰皳皵\",9,\"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥\"],[\"b140\",\"盄盇盉盋盌盓盕盙盚盜盝盞盠\",4,\"盦\",7,\"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎\",10,\"眛眜眝眞眡眣眤眥眧眪眫\"],[\"b180\",\"眬眮眰\",4,\"眹眻眽眾眿睂睄睅睆睈\",7,\"睒\",7,\"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳\"],[\"b240\",\"睝睞睟睠睤睧睩睪睭\",11,\"睺睻睼瞁瞂瞃瞆\",5,\"瞏瞐瞓\",11,\"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶\",4],[\"b280\",\"瞼瞾矀\",12,\"矎\",8,\"矘矙矚矝\",4,\"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖\"],[\"b340\",\"矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃\",5,\"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚\"],[\"b380\",\"硛硜硞\",11,\"硯\",7,\"硸硹硺硻硽\",6,\"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚\"],[\"b440\",\"碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨\",7,\"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚\",9],[\"b480\",\"磤磥磦磧磩磪磫磭\",4,\"磳磵磶磸磹磻\",5,\"礂礃礄礆\",6,\"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮\"],[\"b540\",\"礍\",5,\"礔\",9,\"礟\",4,\"礥\",14,\"礵\",4,\"礽礿祂祃祄祅祇祊\",8,\"祔祕祘祙祡祣\"],[\"b580\",\"祤祦祩祪祫祬祮祰\",6,\"祹祻\",4,\"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠\"],[\"b640\",\"禓\",6,\"禛\",11,\"禨\",10,\"禴\",4,\"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙\",5,\"秠秡秢秥秨秪\"],[\"b680\",\"秬秮秱\",6,\"秹秺秼秾秿稁稄稅稇稈稉稊稌稏\",4,\"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二\"],[\"b740\",\"稝稟稡稢稤\",14,\"稴稵稶稸稺稾穀\",5,\"穇\",9,\"穒\",4,\"穘\",16],[\"b780\",\"穩\",6,\"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服\"],[\"b840\",\"窣窤窧窩窪窫窮\",4,\"窴\",10,\"竀\",10,\"竌\",9,\"竗竘竚竛竜竝竡竢竤竧\",5,\"竮竰竱竲竳\"],[\"b880\",\"竴\",4,\"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹\"],[\"b940\",\"笯笰笲笴笵笶笷笹笻笽笿\",5,\"筆筈筊筍筎筓筕筗筙筜筞筟筡筣\",10,\"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆\",6,\"箎箏\"],[\"b980\",\"箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹\",7,\"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈\"],[\"ba40\",\"篅篈築篊篋篍篎篏篐篒篔\",4,\"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲\",4,\"篸篹篺篻篽篿\",7,\"簈簉簊簍簎簐\",5,\"簗簘簙\"],[\"ba80\",\"簚\",4,\"簠\",5,\"簨簩簫\",12,\"簹\",5,\"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖\"],[\"bb40\",\"籃\",9,\"籎\",36,\"籵\",5,\"籾\",9],[\"bb80\",\"粈粊\",6,\"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴\",4,\"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕\"],[\"bc40\",\"粿糀糂糃糄糆糉糋糎\",6,\"糘糚糛糝糞糡\",6,\"糩\",5,\"糰\",7,\"糹糺糼\",13,\"紋\",5],[\"bc80\",\"紑\",14,\"紡紣紤紥紦紨紩紪紬紭紮細\",6,\"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件\"],[\"bd40\",\"紷\",54,\"絯\",7],[\"bd80\",\"絸\",32,\"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸\"],[\"be40\",\"継\",12,\"綧\",6,\"綯\",42],[\"be80\",\"線\",32,\"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻\"],[\"bf40\",\"緻\",62],[\"bf80\",\"縺縼\",4,\"繂\",4,\"繈\",21,\"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀\"],[\"c040\",\"繞\",35,\"纃\",23,\"纜纝纞\"],[\"c080\",\"纮纴纻纼绖绤绬绹缊缐缞缷缹缻\",6,\"罃罆\",9,\"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐\"],[\"c140\",\"罖罙罛罜罝罞罠罣\",4,\"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂\",7,\"羋羍羏\",4,\"羕\",4,\"羛羜羠羢羣羥羦羨\",6,\"羱\"],[\"c180\",\"羳\",4,\"羺羻羾翀翂翃翄翆翇翈翉翋翍翏\",4,\"翖翗翙\",5,\"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿\"],[\"c240\",\"翤翧翨翪翫翬翭翯翲翴\",6,\"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫\",5,\"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗\"],[\"c280\",\"聙聛\",13,\"聫\",5,\"聲\",11,\"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫\"],[\"c340\",\"聾肁肂肅肈肊肍\",5,\"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇\",4,\"胏\",6,\"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋\"],[\"c380\",\"脌脕脗脙脛脜脝脟\",12,\"脭脮脰脳脴脵脷脹\",4,\"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸\"],[\"c440\",\"腀\",5,\"腇腉腍腎腏腒腖腗腘腛\",4,\"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃\",4,\"膉膋膌膍膎膐膒\",5,\"膙膚膞\",4,\"膤膥\"],[\"c480\",\"膧膩膫\",7,\"膴\",5,\"膼膽膾膿臄臅臇臈臉臋臍\",6,\"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁\"],[\"c540\",\"臔\",14,\"臤臥臦臨臩臫臮\",4,\"臵\",5,\"臽臿舃與\",4,\"舎舏舑舓舕\",5,\"舝舠舤舥舦舧舩舮舲舺舼舽舿\"],[\"c580\",\"艀艁艂艃艅艆艈艊艌艍艎艐\",7,\"艙艛艜艝艞艠\",7,\"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗\"],[\"c640\",\"艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸\"],[\"c680\",\"苺苼\",4,\"茊茋茍茐茒茓茖茘茙茝\",9,\"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐\"],[\"c740\",\"茾茿荁荂荄荅荈荊\",4,\"荓荕\",4,\"荝荢荰\",6,\"荹荺荾\",6,\"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡\",6,\"莬莭莮\"],[\"c780\",\"莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠\"],[\"c840\",\"菮華菳\",4,\"菺菻菼菾菿萀萂萅萇萈萉萊萐萒\",5,\"萙萚萛萞\",5,\"萩\",7,\"萲\",5,\"萹萺萻萾\",7,\"葇葈葉\"],[\"c880\",\"葊\",6,\"葒\",4,\"葘葝葞葟葠葢葤\",4,\"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁\"],[\"c940\",\"葽\",4,\"蒃蒄蒅蒆蒊蒍蒏\",7,\"蒘蒚蒛蒝蒞蒟蒠蒢\",12,\"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗\"],[\"c980\",\"蓘\",4,\"蓞蓡蓢蓤蓧\",4,\"蓭蓮蓯蓱\",10,\"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳\"],[\"ca40\",\"蔃\",8,\"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢\",8,\"蔭\",9,\"蔾\",4,\"蕄蕅蕆蕇蕋\",10],[\"ca80\",\"蕗蕘蕚蕛蕜蕝蕟\",4,\"蕥蕦蕧蕩\",8,\"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱\"],[\"cb40\",\"薂薃薆薈\",6,\"薐\",10,\"薝\",6,\"薥薦薧薩薫薬薭薱\",5,\"薸薺\",6,\"藂\",6,\"藊\",4,\"藑藒\"],[\"cb80\",\"藔藖\",5,\"藝\",6,\"藥藦藧藨藪\",14,\"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔\"],[\"cc40\",\"藹藺藼藽藾蘀\",4,\"蘆\",10,\"蘒蘓蘔蘕蘗\",15,\"蘨蘪\",13,\"蘹蘺蘻蘽蘾蘿虀\"],[\"cc80\",\"虁\",11,\"虒虓處\",4,\"虛虜虝號虠虡虣\",7,\"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃\"],[\"cd40\",\"虭虯虰虲\",6,\"蚃\",6,\"蚎\",4,\"蚔蚖\",5,\"蚞\",4,\"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻\",4,\"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜\"],[\"cd80\",\"蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威\"],[\"ce40\",\"蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀\",6,\"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚\",5,\"蝡蝢蝦\",7,\"蝯蝱蝲蝳蝵\"],[\"ce80\",\"蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎\",4,\"螔螕螖螘\",6,\"螠\",4,\"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺\"],[\"cf40\",\"螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁\",4,\"蟇蟈蟉蟌\",4,\"蟔\",6,\"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯\",9],[\"cf80\",\"蟺蟻蟼蟽蟿蠀蠁蠂蠄\",5,\"蠋\",7,\"蠔蠗蠘蠙蠚蠜\",4,\"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓\"],[\"d040\",\"蠤\",13,\"蠳\",5,\"蠺蠻蠽蠾蠿衁衂衃衆\",5,\"衎\",5,\"衕衖衘衚\",6,\"衦衧衪衭衯衱衳衴衵衶衸衹衺\"],[\"d080\",\"衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗\",4,\"袝\",4,\"袣袥\",5,\"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄\"],[\"d140\",\"袬袮袯袰袲\",4,\"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚\",4,\"裠裡裦裧裩\",6,\"裲裵裶裷裺裻製裿褀褁褃\",5],[\"d180\",\"褉褋\",4,\"褑褔\",4,\"褜\",4,\"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶\"],[\"d240\",\"褸\",8,\"襂襃襅\",24,\"襠\",5,\"襧\",19,\"襼\"],[\"d280\",\"襽襾覀覂覄覅覇\",26,\"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐\"],[\"d340\",\"覢\",30,\"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴\",6],[\"d380\",\"觻\",4,\"訁\",5,\"計\",21,\"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉\"],[\"d440\",\"訞\",31,\"訿\",8,\"詉\",21],[\"d480\",\"詟\",25,\"詺\",6,\"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧\"],[\"d540\",\"誁\",7,\"誋\",7,\"誔\",46],[\"d580\",\"諃\",32,\"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政\"],[\"d640\",\"諤\",34,\"謈\",27],[\"d680\",\"謤謥謧\",30,\"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑\"],[\"d740\",\"譆\",31,\"譧\",4,\"譭\",25],[\"d780\",\"讇\",24,\"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座\"],[\"d840\",\"谸\",8,\"豂豃豄豅豈豊豋豍\",7,\"豖豗豘豙豛\",5,\"豣\",6,\"豬\",6,\"豴豵豶豷豻\",6,\"貃貄貆貇\"],[\"d880\",\"貈貋貍\",6,\"貕貖貗貙\",20,\"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝\"],[\"d940\",\"貮\",62],[\"d980\",\"賭\",32,\"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼\"],[\"da40\",\"贎\",14,\"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸\",8,\"趂趃趆趇趈趉趌\",4,\"趒趓趕\",9,\"趠趡\"],[\"da80\",\"趢趤\",12,\"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺\"],[\"db40\",\"跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾\",6,\"踆踇踈踋踍踎踐踑踒踓踕\",7,\"踠踡踤\",4,\"踫踭踰踲踳踴踶踷踸踻踼踾\"],[\"db80\",\"踿蹃蹅蹆蹌\",4,\"蹓\",5,\"蹚\",11,\"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝\"],[\"dc40\",\"蹳蹵蹷\",4,\"蹽蹾躀躂躃躄躆躈\",6,\"躑躒躓躕\",6,\"躝躟\",11,\"躭躮躰躱躳\",6,\"躻\",7],[\"dc80\",\"軃\",10,\"軏\",21,\"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥\"],[\"dd40\",\"軥\",62],[\"dd80\",\"輤\",32,\"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺\"],[\"de40\",\"轅\",32,\"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆\"],[\"de80\",\"迉\",4,\"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖\"],[\"df40\",\"這逜連逤逥逧\",5,\"逰\",4,\"逷逹逺逽逿遀遃遅遆遈\",4,\"過達違遖遙遚遜\",5,\"遤遦遧適遪遫遬遯\",4,\"遶\",6,\"遾邁\"],[\"df80\",\"還邅邆邇邉邊邌\",4,\"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼\"],[\"e040\",\"郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅\",19,\"鄚鄛鄜\"],[\"e080\",\"鄝鄟鄠鄡鄤\",10,\"鄰鄲\",6,\"鄺\",8,\"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼\"],[\"e140\",\"酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀\",4,\"醆醈醊醎醏醓\",6,\"醜\",5,\"醤\",5,\"醫醬醰醱醲醳醶醷醸醹醻\"],[\"e180\",\"醼\",10,\"釈釋釐釒\",9,\"針\",8,\"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺\"],[\"e240\",\"釦\",62],[\"e280\",\"鈥\",32,\"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧\",5,\"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂\"],[\"e340\",\"鉆\",45,\"鉵\",16],[\"e380\",\"銆\",7,\"銏\",24,\"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾\"],[\"e440\",\"銨\",5,\"銯\",24,\"鋉\",31],[\"e480\",\"鋩\",32,\"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑\"],[\"e540\",\"錊\",51,\"錿\",10],[\"e580\",\"鍊\",31,\"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣\"],[\"e640\",\"鍬\",34,\"鎐\",27],[\"e680\",\"鎬\",29,\"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩\"],[\"e740\",\"鏎\",7,\"鏗\",54],[\"e780\",\"鐎\",32,\"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡\",6,\"缪缫缬缭缯\",4,\"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬\"],[\"e840\",\"鐯\",14,\"鐿\",43,\"鑬鑭鑮鑯\"],[\"e880\",\"鑰\",20,\"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹\"],[\"e940\",\"锧锳锽镃镈镋镕镚镠镮镴镵長\",7,\"門\",42],[\"e980\",\"閫\",32,\"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋\"],[\"ea40\",\"闌\",27,\"闬闿阇阓阘阛阞阠阣\",6,\"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗\"],[\"ea80\",\"陘陙陚陜陝陞陠陣陥陦陫陭\",4,\"陳陸\",12,\"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰\"],[\"eb40\",\"隌階隑隒隓隕隖隚際隝\",9,\"隨\",7,\"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖\",9,\"雡\",6,\"雫\"],[\"eb80\",\"雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗\",4,\"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻\"],[\"ec40\",\"霡\",8,\"霫霬霮霯霱霳\",4,\"霺霻霼霽霿\",18,\"靔靕靗靘靚靜靝靟靣靤靦靧靨靪\",7],[\"ec80\",\"靲靵靷\",4,\"靽\",7,\"鞆\",4,\"鞌鞎鞏鞐鞓鞕鞖鞗鞙\",4,\"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐\"],[\"ed40\",\"鞞鞟鞡鞢鞤\",6,\"鞬鞮鞰鞱鞳鞵\",46],[\"ed80\",\"韤韥韨韮\",4,\"韴韷\",23,\"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨\"],[\"ee40\",\"頏\",62],[\"ee80\",\"顎\",32,\"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶\",4,\"钼钽钿铄铈\",6,\"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪\"],[\"ef40\",\"顯\",5,\"颋颎颒颕颙颣風\",37,\"飏飐飔飖飗飛飜飝飠\",4],[\"ef80\",\"飥飦飩\",30,\"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒\",4,\"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤\",8,\"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔\"],[\"f040\",\"餈\",4,\"餎餏餑\",28,\"餯\",26],[\"f080\",\"饊\",9,\"饖\",12,\"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨\",4,\"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦\",6,\"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙\"],[\"f140\",\"馌馎馚\",10,\"馦馧馩\",47],[\"f180\",\"駙\",32,\"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃\"],[\"f240\",\"駺\",62],[\"f280\",\"騹\",32,\"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒\"],[\"f340\",\"驚\",17,\"驲骃骉骍骎骔骕骙骦骩\",6,\"骲骳骴骵骹骻骽骾骿髃髄髆\",4,\"髍髎髏髐髒體髕髖髗髙髚髛髜\"],[\"f380\",\"髝髞髠髢髣髤髥髧髨髩髪髬髮髰\",8,\"髺髼\",6,\"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋\"],[\"f440\",\"鬇鬉\",5,\"鬐鬑鬒鬔\",10,\"鬠鬡鬢鬤\",10,\"鬰鬱鬳\",7,\"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕\",5],[\"f480\",\"魛\",32,\"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤\"],[\"f540\",\"魼\",62],[\"f580\",\"鮻\",32,\"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜\"],[\"f640\",\"鯜\",62],[\"f680\",\"鰛\",32,\"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅\",5,\"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞\",5,\"鲥\",4,\"鲫鲭鲮鲰\",7,\"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋\"],[\"f740\",\"鰼\",62],[\"f780\",\"鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾\",4,\"鳈鳉鳑鳒鳚鳛鳠鳡鳌\",4,\"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄\"],[\"f840\",\"鳣\",62],[\"f880\",\"鴢\",32],[\"f940\",\"鵃\",62],[\"f980\",\"鶂\",32],[\"fa40\",\"鶣\",62],[\"fa80\",\"鷢\",32],[\"fb40\",\"鸃\",27,\"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴\",9,\"麀\"],[\"fb80\",\"麁麃麄麅麆麉麊麌\",5,\"麔\",8,\"麞麠\",5,\"麧麨麩麪\"],[\"fc40\",\"麫\",8,\"麵麶麷麹麺麼麿\",4,\"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰\",8,\"黺黽黿\",6],[\"fc80\",\"鼆\",4,\"鼌鼏鼑鼒鼔鼕鼖鼘鼚\",5,\"鼡鼣\",8,\"鼭鼮鼰鼱\"],[\"fd40\",\"鼲\",4,\"鼸鼺鼼鼿\",4,\"齅\",10,\"齒\",38],[\"fd80\",\"齹\",5,\"龁龂龍\",11,\"龜龝龞龡\",4,\"郎凉秊裏隣\"],[\"fe40\",\"兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩\"]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/cp949.json": -/*!*************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/cp949.json ***! - \*************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 175 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 176 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 177 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 178 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 179 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 180 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 181 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 182 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 183 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 184 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 185 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 186 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 187 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 188 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 189 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 190 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 191 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 192 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 193 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 194 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 195 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 196 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 197 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 198 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 199 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 201 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 202 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 203 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 204 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 205 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 206 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 207 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 208 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 209 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 210 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 211 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 212 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 213 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 214 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 215 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 216 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 217 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 218 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 219 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 220 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 221 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 222 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 223 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 224 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 225 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 226 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 227 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 228 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 229 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 230 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 231 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 232 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 233 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 234 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 235 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 236 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 237 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 238 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 239 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 240 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 241 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 242 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 243 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 244 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 245 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 246 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 247 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 248 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 249 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 250 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 251 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 252 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 253 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 254 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 255 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 256 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 257 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 258 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 259 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 260 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 261 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 262 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 263 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 264 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 265 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 266 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 267 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 268 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 269 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 270 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"0\",\"\\u0000\",127],[\"8141\",\"갂갃갅갆갋\",4,\"갘갞갟갡갢갣갥\",6,\"갮갲갳갴\"],[\"8161\",\"갵갶갷갺갻갽갾갿걁\",9,\"걌걎\",5,\"걕\"],[\"8181\",\"걖걗걙걚걛걝\",18,\"걲걳걵걶걹걻\",4,\"겂겇겈겍겎겏겑겒겓겕\",6,\"겞겢\",5,\"겫겭겮겱\",6,\"겺겾겿곀곂곃곅곆곇곉곊곋곍\",7,\"곖곘\",7,\"곢곣곥곦곩곫곭곮곲곴곷\",4,\"곾곿괁괂괃괅괇\",4,\"괎괐괒괓\"],[\"8241\",\"괔괕괖괗괙괚괛괝괞괟괡\",7,\"괪괫괮\",5],[\"8261\",\"괶괷괹괺괻괽\",6,\"굆굈굊\",5,\"굑굒굓굕굖굗\"],[\"8281\",\"굙\",7,\"굢굤\",7,\"굮굯굱굲굷굸굹굺굾궀궃\",4,\"궊궋궍궎궏궑\",10,\"궞\",5,\"궥\",17,\"궸\",7,\"귂귃귅귆귇귉\",6,\"귒귔\",7,\"귝귞귟귡귢귣귥\",18],[\"8341\",\"귺귻귽귾긂\",5,\"긊긌긎\",5,\"긕\",7],[\"8361\",\"긝\",18,\"긲긳긵긶긹긻긼\"],[\"8381\",\"긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗\",4,\"깞깢깣깤깦깧깪깫깭깮깯깱\",6,\"깺깾\",5,\"꺆\",5,\"꺍\",46,\"꺿껁껂껃껅\",6,\"껎껒\",5,\"껚껛껝\",8],[\"8441\",\"껦껧껩껪껬껮\",5,\"껵껶껷껹껺껻껽\",8],[\"8461\",\"꼆꼉꼊꼋꼌꼎꼏꼑\",18],[\"8481\",\"꼤\",7,\"꼮꼯꼱꼳꼵\",6,\"꼾꽀꽄꽅꽆꽇꽊\",5,\"꽑\",10,\"꽞\",5,\"꽦\",18,\"꽺\",5,\"꾁꾂꾃꾅꾆꾇꾉\",6,\"꾒꾓꾔꾖\",5,\"꾝\",26,\"꾺꾻꾽꾾\"],[\"8541\",\"꾿꿁\",5,\"꿊꿌꿏\",4,\"꿕\",6,\"꿝\",4],[\"8561\",\"꿢\",5,\"꿪\",5,\"꿲꿳꿵꿶꿷꿹\",6,\"뀂뀃\"],[\"8581\",\"뀅\",6,\"뀍뀎뀏뀑뀒뀓뀕\",6,\"뀞\",9,\"뀩\",26,\"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞\",29,\"끾끿낁낂낃낅\",6,\"낎낐낒\",5,\"낛낝낞낣낤\"],[\"8641\",\"낥낦낧낪낰낲낶낷낹낺낻낽\",6,\"냆냊\",5,\"냒\"],[\"8661\",\"냓냕냖냗냙\",6,\"냡냢냣냤냦\",10],[\"8681\",\"냱\",22,\"넊넍넎넏넑넔넕넖넗넚넞\",4,\"넦넧넩넪넫넭\",6,\"넶넺\",5,\"녂녃녅녆녇녉\",6,\"녒녓녖녗녙녚녛녝녞녟녡\",22,\"녺녻녽녾녿놁놃\",4,\"놊놌놎놏놐놑놕놖놗놙놚놛놝\"],[\"8741\",\"놞\",9,\"놩\",15],[\"8761\",\"놹\",18,\"뇍뇎뇏뇑뇒뇓뇕\"],[\"8781\",\"뇖\",5,\"뇞뇠\",7,\"뇪뇫뇭뇮뇯뇱\",7,\"뇺뇼뇾\",5,\"눆눇눉눊눍\",6,\"눖눘눚\",5,\"눡\",18,\"눵\",6,\"눽\",26,\"뉙뉚뉛뉝뉞뉟뉡\",6,\"뉪\",4],[\"8841\",\"뉯\",4,\"뉶\",5,\"뉽\",6,\"늆늇늈늊\",4],[\"8861\",\"늏늒늓늕늖늗늛\",4,\"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷\"],[\"8881\",\"늸\",15,\"닊닋닍닎닏닑닓\",4,\"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉\",6,\"댒댖\",5,\"댝\",54,\"덗덙덚덝덠덡덢덣\"],[\"8941\",\"덦덨덪덬덭덯덲덳덵덶덷덹\",6,\"뎂뎆\",5,\"뎍\"],[\"8961\",\"뎎뎏뎑뎒뎓뎕\",10,\"뎢\",5,\"뎩뎪뎫뎭\"],[\"8981\",\"뎮\",21,\"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩\",18,\"돽\",18,\"됑\",6,\"됙됚됛됝됞됟됡\",6,\"됪됬\",7,\"됵\",15],[\"8a41\",\"둅\",10,\"둒둓둕둖둗둙\",6,\"둢둤둦\"],[\"8a61\",\"둧\",4,\"둭\",18,\"뒁뒂\"],[\"8a81\",\"뒃\",4,\"뒉\",19,\"뒞\",5,\"뒥뒦뒧뒩뒪뒫뒭\",7,\"뒶뒸뒺\",5,\"듁듂듃듅듆듇듉\",6,\"듑듒듓듔듖\",5,\"듞듟듡듢듥듧\",4,\"듮듰듲\",5,\"듹\",26,\"딖딗딙딚딝\"],[\"8b41\",\"딞\",5,\"딦딫\",4,\"딲딳딵딶딷딹\",6,\"땂땆\"],[\"8b61\",\"땇땈땉땊땎땏땑땒땓땕\",6,\"땞땢\",8],[\"8b81\",\"땫\",52,\"떢떣떥떦떧떩떬떭떮떯떲떶\",4,\"떾떿뗁뗂뗃뗅\",6,\"뗎뗒\",5,\"뗙\",18,\"뗭\",18],[\"8c41\",\"똀\",15,\"똒똓똕똖똗똙\",4],[\"8c61\",\"똞\",6,\"똦\",5,\"똭\",6,\"똵\",5],[\"8c81\",\"똻\",12,\"뙉\",26,\"뙥뙦뙧뙩\",50,\"뚞뚟뚡뚢뚣뚥\",5,\"뚭뚮뚯뚰뚲\",16],[\"8d41\",\"뛃\",16,\"뛕\",8],[\"8d61\",\"뛞\",17,\"뛱뛲뛳뛵뛶뛷뛹뛺\"],[\"8d81\",\"뛻\",4,\"뜂뜃뜄뜆\",33,\"뜪뜫뜭뜮뜱\",6,\"뜺뜼\",7,\"띅띆띇띉띊띋띍\",6,\"띖\",9,\"띡띢띣띥띦띧띩\",6,\"띲띴띶\",5,\"띾띿랁랂랃랅\",6,\"랎랓랔랕랚랛랝랞\"],[\"8e41\",\"랟랡\",6,\"랪랮\",5,\"랶랷랹\",8],[\"8e61\",\"럂\",4,\"럈럊\",19],[\"8e81\",\"럞\",13,\"럮럯럱럲럳럵\",6,\"럾렂\",4,\"렊렋렍렎렏렑\",6,\"렚렜렞\",5,\"렦렧렩렪렫렭\",6,\"렶렺\",5,\"롁롂롃롅\",11,\"롒롔\",7,\"롞롟롡롢롣롥\",6,\"롮롰롲\",5,\"롹롺롻롽\",7],[\"8f41\",\"뢅\",7,\"뢎\",17],[\"8f61\",\"뢠\",7,\"뢩\",6,\"뢱뢲뢳뢵뢶뢷뢹\",4],[\"8f81\",\"뢾뢿룂룄룆\",5,\"룍룎룏룑룒룓룕\",7,\"룞룠룢\",5,\"룪룫룭룮룯룱\",6,\"룺룼룾\",5,\"뤅\",18,\"뤙\",6,\"뤡\",26,\"뤾뤿륁륂륃륅\",6,\"륍륎륐륒\",5],[\"9041\",\"륚륛륝륞륟륡\",6,\"륪륬륮\",5,\"륶륷륹륺륻륽\"],[\"9061\",\"륾\",5,\"릆릈릋릌릏\",15],[\"9081\",\"릟\",12,\"릮릯릱릲릳릵\",6,\"릾맀맂\",5,\"맊맋맍맓\",4,\"맚맜맟맠맢맦맧맩맪맫맭\",6,\"맶맻\",4,\"먂\",5,\"먉\",11,\"먖\",33,\"먺먻먽먾먿멁멃멄멅멆\"],[\"9141\",\"멇멊멌멏멐멑멒멖멗멙멚멛멝\",6,\"멦멪\",5],[\"9161\",\"멲멳멵멶멷멹\",9,\"몆몈몉몊몋몍\",5],[\"9181\",\"몓\",20,\"몪몭몮몯몱몳\",4,\"몺몼몾\",5,\"뫅뫆뫇뫉\",14,\"뫚\",33,\"뫽뫾뫿묁묂묃묅\",7,\"묎묐묒\",5,\"묙묚묛묝묞묟묡\",6],[\"9241\",\"묨묪묬\",7,\"묷묹묺묿\",4,\"뭆뭈뭊뭋뭌뭎뭑뭒\"],[\"9261\",\"뭓뭕뭖뭗뭙\",7,\"뭢뭤\",7,\"뭭\",4],[\"9281\",\"뭲\",21,\"뮉뮊뮋뮍뮎뮏뮑\",18,\"뮥뮦뮧뮩뮪뮫뮭\",6,\"뮵뮶뮸\",7,\"믁믂믃믅믆믇믉\",6,\"믑믒믔\",35,\"믺믻믽믾밁\"],[\"9341\",\"밃\",4,\"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵\"],[\"9361\",\"밶밷밹\",6,\"뱂뱆뱇뱈뱊뱋뱎뱏뱑\",8],[\"9381\",\"뱚뱛뱜뱞\",37,\"벆벇벉벊벍벏\",4,\"벖벘벛\",4,\"벢벣벥벦벩\",6,\"벲벶\",5,\"벾벿볁볂볃볅\",7,\"볎볒볓볔볖볗볙볚볛볝\",22,\"볷볹볺볻볽\"],[\"9441\",\"볾\",5,\"봆봈봊\",5,\"봑봒봓봕\",8],[\"9461\",\"봞\",5,\"봥\",6,\"봭\",12],[\"9481\",\"봺\",5,\"뵁\",6,\"뵊뵋뵍뵎뵏뵑\",6,\"뵚\",9,\"뵥뵦뵧뵩\",22,\"붂붃붅붆붋\",4,\"붒붔붖붗붘붛붝\",6,\"붥\",10,\"붱\",6,\"붹\",24],[\"9541\",\"뷒뷓뷖뷗뷙뷚뷛뷝\",11,\"뷪\",5,\"뷱\"],[\"9561\",\"뷲뷳뷵뷶뷷뷹\",6,\"븁븂븄븆\",5,\"븎븏븑븒븓\"],[\"9581\",\"븕\",6,\"븞븠\",35,\"빆빇빉빊빋빍빏\",4,\"빖빘빜빝빞빟빢빣빥빦빧빩빫\",4,\"빲빶\",4,\"빾빿뺁뺂뺃뺅\",6,\"뺎뺒\",5,\"뺚\",13,\"뺩\",14],[\"9641\",\"뺸\",23,\"뻒뻓\"],[\"9661\",\"뻕뻖뻙\",6,\"뻡뻢뻦\",5,\"뻭\",8],[\"9681\",\"뻶\",10,\"뼂\",5,\"뼊\",13,\"뼚뼞\",33,\"뽂뽃뽅뽆뽇뽉\",6,\"뽒뽓뽔뽖\",44],[\"9741\",\"뾃\",16,\"뾕\",8],[\"9761\",\"뾞\",17,\"뾱\",7],[\"9781\",\"뾹\",11,\"뿆\",5,\"뿎뿏뿑뿒뿓뿕\",6,\"뿝뿞뿠뿢\",89,\"쀽쀾쀿\"],[\"9841\",\"쁀\",16,\"쁒\",5,\"쁙쁚쁛\"],[\"9861\",\"쁝쁞쁟쁡\",6,\"쁪\",15],[\"9881\",\"쁺\",21,\"삒삓삕삖삗삙\",6,\"삢삤삦\",5,\"삮삱삲삷\",4,\"삾샂샃샄샆샇샊샋샍샎샏샑\",6,\"샚샞\",5,\"샦샧샩샪샫샭\",6,\"샶샸샺\",5,\"섁섂섃섅섆섇섉\",6,\"섑섒섓섔섖\",5,\"섡섢섥섨섩섪섫섮\"],[\"9941\",\"섲섳섴섵섷섺섻섽섾섿셁\",6,\"셊셎\",5,\"셖셗\"],[\"9961\",\"셙셚셛셝\",6,\"셦셪\",5,\"셱셲셳셵셶셷셹셺셻\"],[\"9981\",\"셼\",8,\"솆\",5,\"솏솑솒솓솕솗\",4,\"솞솠솢솣솤솦솧솪솫솭솮솯솱\",11,\"솾\",5,\"쇅쇆쇇쇉쇊쇋쇍\",6,\"쇕쇖쇙\",6,\"쇡쇢쇣쇥쇦쇧쇩\",6,\"쇲쇴\",7,\"쇾쇿숁숂숃숅\",6,\"숎숐숒\",5,\"숚숛숝숞숡숢숣\"],[\"9a41\",\"숤숥숦숧숪숬숮숰숳숵\",16],[\"9a61\",\"쉆쉇쉉\",6,\"쉒쉓쉕쉖쉗쉙\",6,\"쉡쉢쉣쉤쉦\"],[\"9a81\",\"쉧\",4,\"쉮쉯쉱쉲쉳쉵\",6,\"쉾슀슂\",5,\"슊\",5,\"슑\",6,\"슙슚슜슞\",5,\"슦슧슩슪슫슮\",5,\"슶슸슺\",33,\"싞싟싡싢싥\",5,\"싮싰싲싳싴싵싷싺싽싾싿쌁\",6,\"쌊쌋쌎쌏\"],[\"9b41\",\"쌐쌑쌒쌖쌗쌙쌚쌛쌝\",6,\"쌦쌧쌪\",8],[\"9b61\",\"쌳\",17,\"썆\",7],[\"9b81\",\"썎\",25,\"썪썫썭썮썯썱썳\",4,\"썺썻썾\",5,\"쎅쎆쎇쎉쎊쎋쎍\",50,\"쏁\",22,\"쏚\"],[\"9c41\",\"쏛쏝쏞쏡쏣\",4,\"쏪쏫쏬쏮\",5,\"쏶쏷쏹\",5],[\"9c61\",\"쏿\",8,\"쐉\",6,\"쐑\",9],[\"9c81\",\"쐛\",8,\"쐥\",6,\"쐭쐮쐯쐱쐲쐳쐵\",6,\"쐾\",9,\"쑉\",26,\"쑦쑧쑩쑪쑫쑭\",6,\"쑶쑷쑸쑺\",5,\"쒁\",18,\"쒕\",6,\"쒝\",12],[\"9d41\",\"쒪\",13,\"쒹쒺쒻쒽\",8],[\"9d61\",\"쓆\",25],[\"9d81\",\"쓠\",8,\"쓪\",5,\"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂\",9,\"씍씎씏씑씒씓씕\",6,\"씝\",10,\"씪씫씭씮씯씱\",6,\"씺씼씾\",5,\"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩\",6,\"앲앶\",5,\"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔\"],[\"9e41\",\"얖얙얚얛얝얞얟얡\",7,\"얪\",9,\"얶\"],[\"9e61\",\"얷얺얿\",4,\"엋엍엏엒엓엕엖엗엙\",6,\"엢엤엦엧\"],[\"9e81\",\"엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑\",6,\"옚옝\",6,\"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉\",6,\"왒왖\",5,\"왞왟왡\",10,\"왭왮왰왲\",5,\"왺왻왽왾왿욁\",6,\"욊욌욎\",5,\"욖욗욙욚욛욝\",6,\"욦\"],[\"9f41\",\"욨욪\",5,\"욲욳욵욶욷욻\",4,\"웂웄웆\",5,\"웎\"],[\"9f61\",\"웏웑웒웓웕\",6,\"웞웟웢\",5,\"웪웫웭웮웯웱웲\"],[\"9f81\",\"웳\",4,\"웺웻웼웾\",5,\"윆윇윉윊윋윍\",6,\"윖윘윚\",5,\"윢윣윥윦윧윩\",6,\"윲윴윶윸윹윺윻윾윿읁읂읃읅\",4,\"읋읎읐읙읚읛읝읞읟읡\",6,\"읩읪읬\",7,\"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛\",4,\"잢잧\",4,\"잮잯잱잲잳잵잶잷\"],[\"a041\",\"잸잹잺잻잾쟂\",5,\"쟊쟋쟍쟏쟑\",6,\"쟙쟚쟛쟜\"],[\"a061\",\"쟞\",5,\"쟥쟦쟧쟩쟪쟫쟭\",13],[\"a081\",\"쟻\",4,\"젂젃젅젆젇젉젋\",4,\"젒젔젗\",4,\"젞젟젡젢젣젥\",6,\"젮젰젲\",5,\"젹젺젻젽젾젿졁\",6,\"졊졋졎\",5,\"졕\",26,\"졲졳졵졶졷졹졻\",4,\"좂좄좈좉좊좎\",5,\"좕\",7,\"좞좠좢좣좤\"],[\"a141\",\"좥좦좧좩\",18,\"좾좿죀죁\"],[\"a161\",\"죂죃죅죆죇죉죊죋죍\",6,\"죖죘죚\",5,\"죢죣죥\"],[\"a181\",\"죦\",14,\"죶\",5,\"죾죿줁줂줃줇\",4,\"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈\",9,\"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬\"],[\"a241\",\"줐줒\",5,\"줙\",18],[\"a261\",\"줭\",6,\"줵\",18],[\"a281\",\"쥈\",7,\"쥒쥓쥕쥖쥗쥙\",6,\"쥢쥤\",7,\"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®\"],[\"a341\",\"쥱쥲쥳쥵\",6,\"쥽\",10,\"즊즋즍즎즏\"],[\"a361\",\"즑\",6,\"즚즜즞\",16],[\"a381\",\"즯\",16,\"짂짃짅짆짉짋\",4,\"짒짔짗짘짛!\",58,\"₩]\",32,\" ̄\"],[\"a441\",\"짞짟짡짣짥짦짨짩짪짫짮짲\",5,\"짺짻짽짾짿쨁쨂쨃쨄\"],[\"a461\",\"쨅쨆쨇쨊쨎\",5,\"쨕쨖쨗쨙\",12],[\"a481\",\"쨦쨧쨨쨪\",28,\"ㄱ\",93],[\"a541\",\"쩇\",4,\"쩎쩏쩑쩒쩓쩕\",6,\"쩞쩢\",5,\"쩩쩪\"],[\"a561\",\"쩫\",17,\"쩾\",5,\"쪅쪆\"],[\"a581\",\"쪇\",16,\"쪙\",14,\"ⅰ\",9],[\"a5b0\",\"Ⅰ\",9],[\"a5c1\",\"Α\",16,\"Σ\",6],[\"a5e1\",\"α\",16,\"σ\",6],[\"a641\",\"쪨\",19,\"쪾쪿쫁쫂쫃쫅\"],[\"a661\",\"쫆\",5,\"쫎쫐쫒쫔쫕쫖쫗쫚\",5,\"쫡\",6],[\"a681\",\"쫨쫩쫪쫫쫭\",6,\"쫵\",18,\"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃\",7],[\"a741\",\"쬋\",4,\"쬑쬒쬓쬕쬖쬗쬙\",6,\"쬢\",7],[\"a761\",\"쬪\",22,\"쭂쭃쭄\"],[\"a781\",\"쭅쭆쭇쭊쭋쭍쭎쭏쭑\",6,\"쭚쭛쭜쭞\",5,\"쭥\",7,\"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙\",9,\"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰\",9,\"㎀\",4,\"㎺\",5,\"㎐\",4,\"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆\"],[\"a841\",\"쭭\",10,\"쭺\",14],[\"a861\",\"쮉\",18,\"쮝\",6],[\"a881\",\"쮤\",19,\"쮹\",11,\"ÆÐªĦ\"],[\"a8a6\",\"IJ\"],[\"a8a8\",\"ĿŁØŒºÞŦŊ\"],[\"a8b1\",\"㉠\",27,\"ⓐ\",25,\"①\",14,\"½⅓⅔¼¾⅛⅜⅝⅞\"],[\"a941\",\"쯅\",14,\"쯕\",10],[\"a961\",\"쯠쯡쯢쯣쯥쯦쯨쯪\",18],[\"a981\",\"쯽\",14,\"찎찏찑찒찓찕\",6,\"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀\",27,\"⒜\",25,\"⑴\",14,\"¹²³⁴ⁿ₁₂₃₄\"],[\"aa41\",\"찥찦찪찫찭찯찱\",6,\"찺찿\",4,\"챆챇챉챊챋챍챎\"],[\"aa61\",\"챏\",4,\"챖챚\",5,\"챡챢챣챥챧챩\",6,\"챱챲\"],[\"aa81\",\"챳챴챶\",29,\"ぁ\",82],[\"ab41\",\"첔첕첖첗첚첛첝첞첟첡\",6,\"첪첮\",5,\"첶첷첹\"],[\"ab61\",\"첺첻첽\",6,\"쳆쳈쳊\",5,\"쳑쳒쳓쳕\",5],[\"ab81\",\"쳛\",8,\"쳥\",6,\"쳭쳮쳯쳱\",12,\"ァ\",85],[\"ac41\",\"쳾쳿촀촂\",5,\"촊촋촍촎촏촑\",6,\"촚촜촞촟촠\"],[\"ac61\",\"촡촢촣촥촦촧촩촪촫촭\",11,\"촺\",4],[\"ac81\",\"촿\",28,\"쵝쵞쵟А\",5,\"ЁЖ\",25],[\"acd1\",\"а\",5,\"ёж\",25],[\"ad41\",\"쵡쵢쵣쵥\",6,\"쵮쵰쵲\",5,\"쵹\",7],[\"ad61\",\"춁\",6,\"춉\",10,\"춖춗춙춚춛춝춞춟\"],[\"ad81\",\"춠춡춢춣춦춨춪\",5,\"춱\",18,\"췅\"],[\"ae41\",\"췆\",5,\"췍췎췏췑\",16],[\"ae61\",\"췢\",5,\"췩췪췫췭췮췯췱\",6,\"췺췼췾\",4],[\"ae81\",\"츃츅츆츇츉츊츋츍\",6,\"츕츖츗츘츚\",5,\"츢츣츥츦츧츩츪츫\"],[\"af41\",\"츬츭츮츯츲츴츶\",19],[\"af61\",\"칊\",13,\"칚칛칝칞칢\",5,\"칪칬\"],[\"af81\",\"칮\",5,\"칶칷칹칺칻칽\",6,\"캆캈캊\",5,\"캒캓캕캖캗캙\"],[\"b041\",\"캚\",5,\"캢캦\",5,\"캮\",12],[\"b061\",\"캻\",5,\"컂\",19],[\"b081\",\"컖\",13,\"컦컧컩컪컭\",6,\"컶컺\",5,\"가각간갇갈갉갊감\",7,\"같\",4,\"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆\"],[\"b141\",\"켂켃켅켆켇켉\",6,\"켒켔켖\",5,\"켝켞켟켡켢켣\"],[\"b161\",\"켥\",6,\"켮켲\",5,\"켹\",11],[\"b181\",\"콅\",14,\"콖콗콙콚콛콝\",6,\"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸\"],[\"b241\",\"콭콮콯콲콳콵콶콷콹\",6,\"쾁쾂쾃쾄쾆\",5,\"쾍\"],[\"b261\",\"쾎\",18,\"쾢\",5,\"쾩\"],[\"b281\",\"쾪\",5,\"쾱\",18,\"쿅\",6,\"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙\"],[\"b341\",\"쿌\",19,\"쿢쿣쿥쿦쿧쿩\"],[\"b361\",\"쿪\",5,\"쿲쿴쿶\",5,\"쿽쿾쿿퀁퀂퀃퀅\",5],[\"b381\",\"퀋\",5,\"퀒\",5,\"퀙\",19,\"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫\",4,\"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝\"],[\"b441\",\"퀮\",5,\"퀶퀷퀹퀺퀻퀽\",6,\"큆큈큊\",5],[\"b461\",\"큑큒큓큕큖큗큙\",6,\"큡\",10,\"큮큯\"],[\"b481\",\"큱큲큳큵\",6,\"큾큿킀킂\",18,\"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫\",4,\"닳담답닷\",4,\"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥\"],[\"b541\",\"킕\",14,\"킦킧킩킪킫킭\",5],[\"b561\",\"킳킶킸킺\",5,\"탂탃탅탆탇탊\",5,\"탒탖\",4],[\"b581\",\"탛탞탟탡탢탣탥\",6,\"탮탲\",5,\"탹\",11,\"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸\"],[\"b641\",\"턅\",7,\"턎\",17],[\"b661\",\"턠\",15,\"턲턳턵턶턷턹턻턼턽턾\"],[\"b681\",\"턿텂텆\",5,\"텎텏텑텒텓텕\",6,\"텞텠텢\",5,\"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗\"],[\"b741\",\"텮\",13,\"텽\",6,\"톅톆톇톉톊\"],[\"b761\",\"톋\",20,\"톢톣톥톦톧\"],[\"b781\",\"톩\",6,\"톲톴톶톷톸톹톻톽톾톿퇁\",14,\"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩\"],[\"b841\",\"퇐\",7,\"퇙\",17],[\"b861\",\"퇫\",8,\"퇵퇶퇷퇹\",13],[\"b881\",\"툈툊\",5,\"툑\",24,\"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많\",4,\"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼\"],[\"b941\",\"툪툫툮툯툱툲툳툵\",6,\"툾퉀퉂\",5,\"퉉퉊퉋퉌\"],[\"b961\",\"퉍\",14,\"퉝\",6,\"퉥퉦퉧퉨\"],[\"b981\",\"퉩\",22,\"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바\",4,\"받\",4,\"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗\"],[\"ba41\",\"튍튎튏튒튓튔튖\",5,\"튝튞튟튡튢튣튥\",6,\"튭\"],[\"ba61\",\"튮튯튰튲\",5,\"튺튻튽튾틁틃\",4,\"틊틌\",5],[\"ba81\",\"틒틓틕틖틗틙틚틛틝\",6,\"틦\",9,\"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤\"],[\"bb41\",\"틻\",4,\"팂팄팆\",5,\"팏팑팒팓팕팗\",4,\"팞팢팣\"],[\"bb61\",\"팤팦팧팪팫팭팮팯팱\",6,\"팺팾\",5,\"퍆퍇퍈퍉\"],[\"bb81\",\"퍊\",31,\"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤\"],[\"bc41\",\"퍪\",17,\"퍾퍿펁펂펃펅펆펇\"],[\"bc61\",\"펈펉펊펋펎펒\",5,\"펚펛펝펞펟펡\",6,\"펪펬펮\"],[\"bc81\",\"펯\",4,\"펵펶펷펹펺펻펽\",6,\"폆폇폊\",5,\"폑\",5,\"샥샨샬샴샵샷샹섀섄섈섐섕서\",4,\"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭\"],[\"bd41\",\"폗폙\",7,\"폢폤\",7,\"폮폯폱폲폳폵폶폷\"],[\"bd61\",\"폸폹폺폻폾퐀퐂\",5,\"퐉\",13],[\"bd81\",\"퐗\",5,\"퐞\",25,\"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰\"],[\"be41\",\"퐸\",7,\"푁푂푃푅\",14],[\"be61\",\"푔\",7,\"푝푞푟푡푢푣푥\",7,\"푮푰푱푲\"],[\"be81\",\"푳\",4,\"푺푻푽푾풁풃\",4,\"풊풌풎\",5,\"풕\",8,\"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄\",6,\"엌엎\"],[\"bf41\",\"풞\",10,\"풪\",14],[\"bf61\",\"풹\",18,\"퓍퓎퓏퓑퓒퓓퓕\"],[\"bf81\",\"퓖\",5,\"퓝퓞퓠\",7,\"퓩퓪퓫퓭퓮퓯퓱\",6,\"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염\",5,\"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨\"],[\"c041\",\"퓾\",5,\"픅픆픇픉픊픋픍\",6,\"픖픘\",5],[\"c061\",\"픞\",25],[\"c081\",\"픸픹픺픻픾픿핁핂핃핅\",6,\"핎핐핒\",5,\"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응\",7,\"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊\"],[\"c141\",\"핤핦핧핪핬핮\",5,\"핶핷핹핺핻핽\",6,\"햆햊햋\"],[\"c161\",\"햌햍햎햏햑\",19,\"햦햧\"],[\"c181\",\"햨\",31,\"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓\"],[\"c241\",\"헊헋헍헎헏헑헓\",4,\"헚헜헞\",5,\"헦헧헩헪헫헭헮\"],[\"c261\",\"헯\",4,\"헶헸헺\",5,\"혂혃혅혆혇혉\",6,\"혒\"],[\"c281\",\"혖\",5,\"혝혞혟혡혢혣혥\",7,\"혮\",9,\"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻\"],[\"c341\",\"혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝\",4],[\"c361\",\"홢\",4,\"홨홪\",5,\"홲홳홵\",11],[\"c381\",\"횁횂횄횆\",5,\"횎횏횑횒횓횕\",7,\"횞횠횢\",5,\"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층\"],[\"c441\",\"횫횭횮횯횱\",7,\"횺횼\",7,\"훆훇훉훊훋\"],[\"c461\",\"훍훎훏훐훒훓훕훖훘훚\",5,\"훡훢훣훥훦훧훩\",4],[\"c481\",\"훮훯훱훲훳훴훶\",5,\"훾훿휁휂휃휅\",11,\"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼\"],[\"c541\",\"휕휖휗휚휛휝휞휟휡\",6,\"휪휬휮\",5,\"휶휷휹\"],[\"c561\",\"휺휻휽\",6,\"흅흆흈흊\",5,\"흒흓흕흚\",4],[\"c581\",\"흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵\",6,\"흾흿힀힂\",5,\"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜\"],[\"c641\",\"힍힎힏힑\",6,\"힚힜힞\",5],[\"c6a1\",\"퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁\"],[\"c7a1\",\"퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠\"],[\"c8a1\",\"혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝\"],[\"caa1\",\"伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕\"],[\"cba1\",\"匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢\"],[\"cca1\",\"瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械\"],[\"cda1\",\"棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜\"],[\"cea1\",\"科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾\"],[\"cfa1\",\"區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴\"],[\"d0a1\",\"鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣\"],[\"d1a1\",\"朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩\",5,\"那樂\",4,\"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉\"],[\"d2a1\",\"納臘蠟衲囊娘廊\",4,\"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧\",5,\"駑魯\",10,\"濃籠聾膿農惱牢磊腦賂雷尿壘\",7,\"嫩訥杻紐勒\",5,\"能菱陵尼泥匿溺多茶\"],[\"d3a1\",\"丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃\"],[\"d4a1\",\"棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅\"],[\"d5a1\",\"蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣\"],[\"d6a1\",\"煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼\"],[\"d7a1\",\"遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬\"],[\"d8a1\",\"立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅\"],[\"d9a1\",\"蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文\"],[\"daa1\",\"汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑\"],[\"dba1\",\"發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖\"],[\"dca1\",\"碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦\"],[\"dda1\",\"孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥\"],[\"dea1\",\"脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索\"],[\"dfa1\",\"傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署\"],[\"e0a1\",\"胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬\"],[\"e1a1\",\"聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁\"],[\"e2a1\",\"戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧\"],[\"e3a1\",\"嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁\"],[\"e4a1\",\"沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額\"],[\"e5a1\",\"櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬\"],[\"e6a1\",\"旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒\"],[\"e7a1\",\"簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳\"],[\"e8a1\",\"烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療\"],[\"e9a1\",\"窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓\"],[\"eaa1\",\"運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜\"],[\"eba1\",\"濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼\"],[\"eca1\",\"議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄\"],[\"eda1\",\"立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長\"],[\"eea1\",\"障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱\"],[\"efa1\",\"煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖\"],[\"f0a1\",\"靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫\"],[\"f1a1\",\"踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只\"],[\"f2a1\",\"咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯\"],[\"f3a1\",\"鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策\"],[\"f4a1\",\"責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢\"],[\"f5a1\",\"椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃\"],[\"f6a1\",\"贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託\"],[\"f7a1\",\"鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑\"],[\"f8a1\",\"阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃\"],[\"f9a1\",\"品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航\"],[\"faa1\",\"行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型\"],[\"fba1\",\"形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵\"],[\"fca1\",\"禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆\"],[\"fda1\",\"爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰\"]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/cp950.json": -/*!*************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/cp950.json ***! - \*************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"0\",\"\\u0000\",127],[\"a140\",\" ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚\"],[\"a1a1\",\"﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢\",4,\"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/\"],[\"a240\",\"\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁\",7,\"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭\"],[\"a2a1\",\"╮╰╯═╞╪╡◢◣◥◤╱╲╳0\",9,\"Ⅰ\",9,\"〡\",8,\"十卄卅A\",25,\"a\",21],[\"a340\",\"wxyzΑ\",16,\"Σ\",6,\"α\",16,\"σ\",6,\"ㄅ\",10],[\"a3a1\",\"ㄐ\",25,\"˙ˉˊˇˋ\"],[\"a3e1\",\"€\"],[\"a440\",\"一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才\"],[\"a4a1\",\"丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙\"],[\"a540\",\"世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外\"],[\"a5a1\",\"央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全\"],[\"a640\",\"共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年\"],[\"a6a1\",\"式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣\"],[\"a740\",\"作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍\"],[\"a7a1\",\"均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠\"],[\"a840\",\"杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒\"],[\"a8a1\",\"芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵\"],[\"a940\",\"咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居\"],[\"a9a1\",\"屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊\"],[\"aa40\",\"昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠\"],[\"aaa1\",\"炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附\"],[\"ab40\",\"陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品\"],[\"aba1\",\"哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷\"],[\"ac40\",\"拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗\"],[\"aca1\",\"活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄\"],[\"ad40\",\"耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥\"],[\"ada1\",\"迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪\"],[\"ae40\",\"哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙\"],[\"aea1\",\"恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓\"],[\"af40\",\"浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷\"],[\"afa1\",\"砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃\"],[\"b040\",\"虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡\"],[\"b0a1\",\"陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀\"],[\"b140\",\"娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽\"],[\"b1a1\",\"情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺\"],[\"b240\",\"毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶\"],[\"b2a1\",\"瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼\"],[\"b340\",\"莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途\"],[\"b3a1\",\"部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠\"],[\"b440\",\"婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍\"],[\"b4a1\",\"插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋\"],[\"b540\",\"溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘\"],[\"b5a1\",\"窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁\"],[\"b640\",\"詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑\"],[\"b6a1\",\"間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼\"],[\"b740\",\"媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業\"],[\"b7a1\",\"楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督\"],[\"b840\",\"睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫\"],[\"b8a1\",\"腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊\"],[\"b940\",\"辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴\"],[\"b9a1\",\"飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇\"],[\"ba40\",\"愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢\"],[\"baa1\",\"滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬\"],[\"bb40\",\"罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤\"],[\"bba1\",\"說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜\"],[\"bc40\",\"劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂\"],[\"bca1\",\"慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃\"],[\"bd40\",\"瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯\"],[\"bda1\",\"翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞\"],[\"be40\",\"輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉\"],[\"bea1\",\"鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡\"],[\"bf40\",\"濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊\"],[\"bfa1\",\"縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚\"],[\"c040\",\"錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇\"],[\"c0a1\",\"嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬\"],[\"c140\",\"瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪\"],[\"c1a1\",\"薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁\"],[\"c240\",\"駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘\"],[\"c2a1\",\"癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦\"],[\"c340\",\"鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸\"],[\"c3a1\",\"獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類\"],[\"c440\",\"願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼\"],[\"c4a1\",\"纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴\"],[\"c540\",\"護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬\"],[\"c5a1\",\"禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒\"],[\"c640\",\"讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲\"],[\"c940\",\"乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕\"],[\"c9a1\",\"氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋\"],[\"ca40\",\"汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘\"],[\"caa1\",\"吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇\"],[\"cb40\",\"杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓\"],[\"cba1\",\"芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢\"],[\"cc40\",\"坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋\"],[\"cca1\",\"怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲\"],[\"cd40\",\"泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺\"],[\"cda1\",\"矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏\"],[\"ce40\",\"哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛\"],[\"cea1\",\"峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺\"],[\"cf40\",\"柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂\"],[\"cfa1\",\"洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀\"],[\"d040\",\"穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪\"],[\"d0a1\",\"苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱\"],[\"d140\",\"唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧\"],[\"d1a1\",\"恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤\"],[\"d240\",\"毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸\"],[\"d2a1\",\"牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐\"],[\"d340\",\"笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢\"],[\"d3a1\",\"荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐\"],[\"d440\",\"酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅\"],[\"d4a1\",\"唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏\"],[\"d540\",\"崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟\"],[\"d5a1\",\"捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉\"],[\"d640\",\"淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏\"],[\"d6a1\",\"痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟\"],[\"d740\",\"耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷\"],[\"d7a1\",\"蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪\"],[\"d840\",\"釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷\"],[\"d8a1\",\"堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔\"],[\"d940\",\"惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒\"],[\"d9a1\",\"晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞\"],[\"da40\",\"湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖\"],[\"daa1\",\"琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥\"],[\"db40\",\"罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳\"],[\"dba1\",\"菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺\"],[\"dc40\",\"軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈\"],[\"dca1\",\"隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆\"],[\"dd40\",\"媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤\"],[\"dda1\",\"搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼\"],[\"de40\",\"毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓\"],[\"dea1\",\"煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓\"],[\"df40\",\"稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯\"],[\"dfa1\",\"腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤\"],[\"e040\",\"觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿\"],[\"e0a1\",\"遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠\"],[\"e140\",\"凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠\"],[\"e1a1\",\"寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉\"],[\"e240\",\"榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊\"],[\"e2a1\",\"漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓\"],[\"e340\",\"禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞\"],[\"e3a1\",\"耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻\"],[\"e440\",\"裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍\"],[\"e4a1\",\"銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘\"],[\"e540\",\"噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉\"],[\"e5a1\",\"憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒\"],[\"e640\",\"澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙\"],[\"e6a1\",\"獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟\"],[\"e740\",\"膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢\"],[\"e7a1\",\"蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧\"],[\"e840\",\"踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓\"],[\"e8a1\",\"銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮\"],[\"e940\",\"噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺\"],[\"e9a1\",\"憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸\"],[\"ea40\",\"澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙\"],[\"eaa1\",\"瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘\"],[\"eb40\",\"蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠\"],[\"eba1\",\"諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌\"],[\"ec40\",\"錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕\"],[\"eca1\",\"魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎\"],[\"ed40\",\"檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶\"],[\"eda1\",\"瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞\"],[\"ee40\",\"蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞\"],[\"eea1\",\"謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜\"],[\"ef40\",\"鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰\"],[\"efa1\",\"鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶\"],[\"f040\",\"璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒\"],[\"f0a1\",\"臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧\"],[\"f140\",\"蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪\"],[\"f1a1\",\"鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰\"],[\"f240\",\"徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛\"],[\"f2a1\",\"礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕\"],[\"f340\",\"譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦\"],[\"f3a1\",\"鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲\"],[\"f440\",\"嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩\"],[\"f4a1\",\"禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿\"],[\"f540\",\"鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛\"],[\"f5a1\",\"鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥\"],[\"f640\",\"蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺\"],[\"f6a1\",\"騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚\"],[\"f740\",\"糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊\"],[\"f7a1\",\"驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾\"],[\"f840\",\"讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏\"],[\"f8a1\",\"齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚\"],[\"f940\",\"纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊\"],[\"f9a1\",\"龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓\"]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/eucjp.json": -/*!*************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/eucjp.json ***! - \*************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 175 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 176 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 177 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 178 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 179 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"0\",\"\\u0000\",127],[\"8ea1\",\"。\",62],[\"a1a1\",\" 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈\",9,\"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇\"],[\"a2a1\",\"◆□■△▲▽▼※〒→←↑↓〓\"],[\"a2ba\",\"∈∋⊆⊇⊂⊃∪∩\"],[\"a2ca\",\"∧∨¬⇒⇔∀∃\"],[\"a2dc\",\"∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬\"],[\"a2f2\",\"ʼn♯♭♪†‡¶\"],[\"a2fe\",\"◯\"],[\"a3b0\",\"0\",9],[\"a3c1\",\"A\",25],[\"a3e1\",\"a\",25],[\"a4a1\",\"ぁ\",82],[\"a5a1\",\"ァ\",85],[\"a6a1\",\"Α\",16,\"Σ\",6],[\"a6c1\",\"α\",16,\"σ\",6],[\"a7a1\",\"А\",5,\"ЁЖ\",25],[\"a7d1\",\"а\",5,\"ёж\",25],[\"a8a1\",\"─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂\"],[\"ada1\",\"①\",19,\"Ⅰ\",9],[\"adc0\",\"㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡\"],[\"addf\",\"㍻〝〟№㏍℡㊤\",4,\"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪\"],[\"b0a1\",\"亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭\"],[\"b1a1\",\"院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応\"],[\"b2a1\",\"押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改\"],[\"b3a1\",\"魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱\"],[\"b4a1\",\"粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄\"],[\"b5a1\",\"機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京\"],[\"b6a1\",\"供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈\"],[\"b7a1\",\"掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲\"],[\"b8a1\",\"検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向\"],[\"b9a1\",\"后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込\"],[\"baa1\",\"此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷\"],[\"bba1\",\"察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時\"],[\"bca1\",\"次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周\"],[\"bda1\",\"宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償\"],[\"bea1\",\"勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾\"],[\"bfa1\",\"拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾\"],[\"c0a1\",\"澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線\"],[\"c1a1\",\"繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎\"],[\"c2a1\",\"臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只\"],[\"c3a1\",\"叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵\"],[\"c4a1\",\"帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓\"],[\"c5a1\",\"邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到\"],[\"c6a1\",\"董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入\"],[\"c7a1\",\"如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦\"],[\"c8a1\",\"函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美\"],[\"c9a1\",\"鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服\"],[\"caa1\",\"福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋\"],[\"cba1\",\"法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満\"],[\"cca1\",\"漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒\"],[\"cda1\",\"諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃\"],[\"cea1\",\"痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯\"],[\"cfa1\",\"蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕\"],[\"d0a1\",\"弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲\"],[\"d1a1\",\"僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨\"],[\"d2a1\",\"辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨\"],[\"d3a1\",\"咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉\"],[\"d4a1\",\"圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩\"],[\"d5a1\",\"奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓\"],[\"d6a1\",\"屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏\"],[\"d7a1\",\"廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚\"],[\"d8a1\",\"悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛\"],[\"d9a1\",\"戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼\"],[\"daa1\",\"據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼\"],[\"dba1\",\"曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍\"],[\"dca1\",\"棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣\"],[\"dda1\",\"檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾\"],[\"dea1\",\"沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌\"],[\"dfa1\",\"漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼\"],[\"e0a1\",\"燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱\"],[\"e1a1\",\"瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰\"],[\"e2a1\",\"癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬\"],[\"e3a1\",\"磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐\"],[\"e4a1\",\"筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆\"],[\"e5a1\",\"紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺\"],[\"e6a1\",\"罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋\"],[\"e7a1\",\"隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙\"],[\"e8a1\",\"茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈\"],[\"e9a1\",\"蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙\"],[\"eaa1\",\"蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞\"],[\"eba1\",\"襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫\"],[\"eca1\",\"譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊\"],[\"eda1\",\"蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸\"],[\"eea1\",\"遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮\"],[\"efa1\",\"錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞\"],[\"f0a1\",\"陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰\"],[\"f1a1\",\"顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷\"],[\"f2a1\",\"髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈\"],[\"f3a1\",\"鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠\"],[\"f4a1\",\"堯槇遙瑤凜熙\"],[\"f9a1\",\"纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德\"],[\"faa1\",\"忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱\"],[\"fba1\",\"犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚\"],[\"fca1\",\"釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑\"],[\"fcf1\",\"ⅰ\",9,\"¬¦'"\"],[\"8fa2af\",\"˘ˇ¸˙˝¯˛˚~΄΅\"],[\"8fa2c2\",\"¡¦¿\"],[\"8fa2eb\",\"ºª©®™¤№\"],[\"8fa6e1\",\"ΆΈΉΊΪ\"],[\"8fa6e7\",\"Ό\"],[\"8fa6e9\",\"ΎΫ\"],[\"8fa6ec\",\"Ώ\"],[\"8fa6f1\",\"άέήίϊΐόςύϋΰώ\"],[\"8fa7c2\",\"Ђ\",10,\"ЎЏ\"],[\"8fa7f2\",\"ђ\",10,\"ўџ\"],[\"8fa9a1\",\"ÆĐ\"],[\"8fa9a4\",\"Ħ\"],[\"8fa9a6\",\"IJ\"],[\"8fa9a8\",\"ŁĿ\"],[\"8fa9ab\",\"ŊØŒ\"],[\"8fa9af\",\"ŦÞ\"],[\"8fa9c1\",\"æđðħıijĸłŀʼnŋøœßŧþ\"],[\"8faaa1\",\"ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ\"],[\"8faaba\",\"ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ\"],[\"8faba1\",\"áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ\"],[\"8fabbd\",\"ġĥíìïîǐ\"],[\"8fabc5\",\"īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż\"],[\"8fb0a1\",\"丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄\"],[\"8fb1a1\",\"侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐\"],[\"8fb2a1\",\"傒傓傔傖傛傜傞\",4,\"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂\"],[\"8fb3a1\",\"凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋\"],[\"8fb4a1\",\"匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿\"],[\"8fb5a1\",\"咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒\"],[\"8fb6a1\",\"嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍\",5,\"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤\",4,\"囱囫园\"],[\"8fb7a1\",\"囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭\",4,\"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡\"],[\"8fb8a1\",\"堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭\"],[\"8fb9a1\",\"奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿\"],[\"8fbaa1\",\"嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖\",4,\"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩\"],[\"8fbba1\",\"屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤\"],[\"8fbca1\",\"巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪\",4,\"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧\"],[\"8fbda1\",\"彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐\",4,\"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷\"],[\"8fbea1\",\"悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐\",4,\"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥\"],[\"8fbfa1\",\"懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵\"],[\"8fc0a1\",\"捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿\"],[\"8fc1a1\",\"擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝\"],[\"8fc2a1\",\"昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝\"],[\"8fc3a1\",\"杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮\",4,\"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏\"],[\"8fc4a1\",\"棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲\"],[\"8fc5a1\",\"樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽\"],[\"8fc6a1\",\"歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖\"],[\"8fc7a1\",\"泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞\"],[\"8fc8a1\",\"湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊\"],[\"8fc9a1\",\"濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔\",4,\"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃\",4,\"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠\"],[\"8fcaa1\",\"煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻\"],[\"8fcba1\",\"狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽\"],[\"8fcca1\",\"珿琀琁琄琇琊琑琚琛琤琦琨\",9,\"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆\"],[\"8fcda1\",\"甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹\",5,\"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹\"],[\"8fcea1\",\"瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢\",6,\"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢\"],[\"8fcfa1\",\"睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳\"],[\"8fd0a1\",\"碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞\"],[\"8fd1a1\",\"秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰\"],[\"8fd2a1\",\"笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙\",5],[\"8fd3a1\",\"籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝\"],[\"8fd4a1\",\"綞綦綧綪綳綶綷綹緂\",4,\"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭\"],[\"8fd5a1\",\"罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮\"],[\"8fd6a1\",\"胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆\"],[\"8fd7a1\",\"艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸\"],[\"8fd8a1\",\"荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓\"],[\"8fd9a1\",\"蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏\",4,\"蕖蕙蕜\",6,\"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼\"],[\"8fdaa1\",\"藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠\",4,\"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣\"],[\"8fdba1\",\"蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃\",6,\"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵\"],[\"8fdca1\",\"蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊\",4,\"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺\"],[\"8fdda1\",\"襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔\",4,\"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳\"],[\"8fdea1\",\"誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂\",4,\"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆\"],[\"8fdfa1\",\"貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢\"],[\"8fe0a1\",\"踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁\"],[\"8fe1a1\",\"轃轇轏轑\",4,\"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃\"],[\"8fe2a1\",\"郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿\"],[\"8fe3a1\",\"釂釃釅釓釔釗釙釚釞釤釥釩釪釬\",5,\"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵\",4,\"鉻鉼鉽鉿銈銉銊銍銎銒銗\"],[\"8fe4a1\",\"銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿\",4,\"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶\"],[\"8fe5a1\",\"鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉\",4,\"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹\"],[\"8fe6a1\",\"镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂\"],[\"8fe7a1\",\"霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦\"],[\"8fe8a1\",\"頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱\",4,\"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵\"],[\"8fe9a1\",\"馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿\",4],[\"8feaa1\",\"鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪\",4,\"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸\"],[\"8feba1\",\"鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦\",4,\"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻\"],[\"8feca1\",\"鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵\"],[\"8feda1\",\"黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃\",4,\"齓齕齖齗齘齚齝齞齨齩齭\",4,\"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥\"]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/gb18030-ranges.json": -/*!**********************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/gb18030-ranges.json ***! - \**********************************************************************/ -/*! default exports */ -/*! export gbChars [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 175 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 176 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 177 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 178 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 179 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 180 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 181 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 182 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 183 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 184 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 185 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 186 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 187 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 188 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 189 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 190 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 191 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 192 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 193 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 194 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 195 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 196 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 197 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 198 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 199 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 201 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 202 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 203 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 204 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 205 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 206 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export uChars [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 123 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 124 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 125 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 126 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 127 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 129 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 130 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 131 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 132 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 133 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 134 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 135 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 136 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 137 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 138 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 139 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 141 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 142 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 143 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 144 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 145 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 146 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 147 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 148 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 149 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 150 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 151 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 152 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 153 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 154 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 155 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 156 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 157 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 158 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 159 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 160 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 161 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 162 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 163 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 164 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 165 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 166 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 167 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 168 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 169 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 170 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 171 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 172 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 173 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 174 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 175 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 176 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 177 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 178 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 179 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 180 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 181 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 182 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 183 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 184 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 185 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 186 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 187 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 188 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 189 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 190 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 191 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 192 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 193 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 194 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 195 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 196 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 197 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 198 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 199 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 201 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 202 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 203 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 204 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 205 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 206 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("{\"uChars\":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],\"gbChars\":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/gbk-added.json": -/*!*****************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/gbk-added.json ***! - \*****************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"a140\",\"\",62],[\"a180\",\"\",32],[\"a240\",\"\",62],[\"a280\",\"\",32],[\"a2ab\",\"\",5],[\"a2e3\",\"€\"],[\"a2ef\",\"\"],[\"a2fd\",\"\"],[\"a340\",\"\",62],[\"a380\",\"\",31,\" \"],[\"a440\",\"\",62],[\"a480\",\"\",32],[\"a4f4\",\"\",10],[\"a540\",\"\",62],[\"a580\",\"\",32],[\"a5f7\",\"\",7],[\"a640\",\"\",62],[\"a680\",\"\",32],[\"a6b9\",\"\",7],[\"a6d9\",\"\",6],[\"a6ec\",\"\"],[\"a6f3\",\"\"],[\"a6f6\",\"\",8],[\"a740\",\"\",62],[\"a780\",\"\",32],[\"a7c2\",\"\",14],[\"a7f2\",\"\",12],[\"a896\",\"\",10],[\"a8bc\",\"\"],[\"a8bf\",\"ǹ\"],[\"a8c1\",\"\"],[\"a8ea\",\"\",20],[\"a958\",\"\"],[\"a95b\",\"\"],[\"a95d\",\"\"],[\"a989\",\"〾⿰\",11],[\"a997\",\"\",12],[\"a9f0\",\"\",14],[\"aaa1\",\"\",93],[\"aba1\",\"\",93],[\"aca1\",\"\",93],[\"ada1\",\"\",93],[\"aea1\",\"\",93],[\"afa1\",\"\",93],[\"d7fa\",\"\",4],[\"f8a1\",\"\",93],[\"f9a1\",\"\",93],[\"faa1\",\"\",93],[\"fba1\",\"\",93],[\"fca1\",\"\",93],[\"fda1\",\"\",93],[\"fe50\",\"⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌\"],[\"fe80\",\"䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓\",6,\"䶮\",93]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/tables/shiftjis.json": -/*!****************************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/tables/shiftjis.json ***! - \****************************************************************/ -/*! default exports */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 104 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 105 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 106 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 107 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 109 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 110 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 111 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 112 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 113 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 114 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 115 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 116 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 117 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 118 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 119 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 120 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 121 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 122 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 22 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 23 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 25 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 26 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 27 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 28 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 29 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 30 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 31 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 33 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 34 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 35 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 36 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 37 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 39 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 41 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 42 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 43 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 44 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 45 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 46 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 47 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 48 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 49 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 50 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 51 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 52 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 53 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 54 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 55 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 56 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 58 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 59 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 60 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 61 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 62 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 63 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 64 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 65 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 66 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 67 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 68 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 69 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 70 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 71 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 72 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 73 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 74 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 76 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 77 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 78 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 79 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 80 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 81 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 82 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 83 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 84 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 85 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 86 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 87 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 88 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 89 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 90 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 91 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 92 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 93 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 94 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 95 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 96 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 97 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 98 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export 99 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("[[\"0\",\"\\u0000\",128],[\"a1\",\"。\",62],[\"8140\",\" 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈\",9,\"+-±×\"],[\"8180\",\"÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓\"],[\"81b8\",\"∈∋⊆⊇⊂⊃∪∩\"],[\"81c8\",\"∧∨¬⇒⇔∀∃\"],[\"81da\",\"∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬\"],[\"81f0\",\"ʼn♯♭♪†‡¶\"],[\"81fc\",\"◯\"],[\"824f\",\"0\",9],[\"8260\",\"A\",25],[\"8281\",\"a\",25],[\"829f\",\"ぁ\",82],[\"8340\",\"ァ\",62],[\"8380\",\"ム\",22],[\"839f\",\"Α\",16,\"Σ\",6],[\"83bf\",\"α\",16,\"σ\",6],[\"8440\",\"А\",5,\"ЁЖ\",25],[\"8470\",\"а\",5,\"ёж\",7],[\"8480\",\"о\",17],[\"849f\",\"─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂\"],[\"8740\",\"①\",19,\"Ⅰ\",9],[\"875f\",\"㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡\"],[\"877e\",\"㍻\"],[\"8780\",\"〝〟№㏍℡㊤\",4,\"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪\"],[\"889f\",\"亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭\"],[\"8940\",\"院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円\"],[\"8980\",\"園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改\"],[\"8a40\",\"魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫\"],[\"8a80\",\"橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄\"],[\"8b40\",\"機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救\"],[\"8b80\",\"朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈\"],[\"8c40\",\"掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨\"],[\"8c80\",\"劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向\"],[\"8d40\",\"后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降\"],[\"8d80\",\"項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷\"],[\"8e40\",\"察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止\"],[\"8e80\",\"死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周\"],[\"8f40\",\"宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳\"],[\"8f80\",\"準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾\"],[\"9040\",\"拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨\"],[\"9080\",\"逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線\"],[\"9140\",\"繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻\"],[\"9180\",\"操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只\"],[\"9240\",\"叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄\"],[\"9280\",\"逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓\"],[\"9340\",\"邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬\"],[\"9380\",\"凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入\"],[\"9440\",\"如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅\"],[\"9480\",\"楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美\"],[\"9540\",\"鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷\"],[\"9580\",\"斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋\"],[\"9640\",\"法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆\"],[\"9680\",\"摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒\"],[\"9740\",\"諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲\"],[\"9780\",\"沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯\"],[\"9840\",\"蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕\"],[\"989f\",\"弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲\"],[\"9940\",\"僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭\"],[\"9980\",\"凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨\"],[\"9a40\",\"咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸\"],[\"9a80\",\"噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩\"],[\"9b40\",\"奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀\"],[\"9b80\",\"它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏\"],[\"9c40\",\"廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠\"],[\"9c80\",\"怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛\"],[\"9d40\",\"戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫\"],[\"9d80\",\"捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼\"],[\"9e40\",\"曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎\"],[\"9e80\",\"梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣\"],[\"9f40\",\"檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯\"],[\"9f80\",\"麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌\"],[\"e040\",\"漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝\"],[\"e080\",\"烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱\"],[\"e140\",\"瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿\"],[\"e180\",\"痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬\"],[\"e240\",\"磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰\"],[\"e280\",\"窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆\"],[\"e340\",\"紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷\"],[\"e380\",\"縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋\"],[\"e440\",\"隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤\"],[\"e480\",\"艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈\"],[\"e540\",\"蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬\"],[\"e580\",\"蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞\"],[\"e640\",\"襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧\"],[\"e680\",\"諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊\"],[\"e740\",\"蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜\"],[\"e780\",\"轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮\"],[\"e840\",\"錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙\"],[\"e880\",\"閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰\"],[\"e940\",\"顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃\"],[\"e980\",\"騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈\"],[\"ea40\",\"鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯\"],[\"ea80\",\"黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙\"],[\"ed40\",\"纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏\"],[\"ed80\",\"塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱\"],[\"ee40\",\"犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙\"],[\"ee80\",\"蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑\"],[\"eeef\",\"ⅰ\",9,\"¬¦'"\"],[\"f040\",\"\",62],[\"f080\",\"\",124],[\"f140\",\"\",62],[\"f180\",\"\",124],[\"f240\",\"\",62],[\"f280\",\"\",124],[\"f340\",\"\",62],[\"f380\",\"\",124],[\"f440\",\"\",62],[\"f480\",\"\",124],[\"f540\",\"\",62],[\"f580\",\"\",124],[\"f640\",\"\",62],[\"f680\",\"\",124],[\"f740\",\"\",62],[\"f780\",\"\",124],[\"f840\",\"\",62],[\"f880\",\"\",124],[\"f940\",\"\"],[\"fa40\",\"ⅰ\",9,\"Ⅰ\",9,\"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊\"],[\"fa80\",\"兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯\"],[\"fb40\",\"涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神\"],[\"fb80\",\"祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙\"],[\"fc40\",\"髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑\"]]"); - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/utf16.js": -/*!****************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/utf16.js ***! - \****************************************************/ -/*! default exports */ -/*! export utf16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export utf16be [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; - -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js - -// == UTF16-BE codec. ========================================================== - -exports.utf16be = Utf16BECodec; -function Utf16BECodec() { -} - -Utf16BECodec.prototype.encoder = Utf16BEEncoder; -Utf16BECodec.prototype.decoder = Utf16BEDecoder; -Utf16BECodec.prototype.bomAware = true; - - -// -- Encoding - -function Utf16BEEncoder() { -} - -Utf16BEEncoder.prototype.write = function(str) { - var buf = Buffer.from(str, 'ucs2'); - for (var i = 0; i < buf.length; i += 2) { - var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp; - } - return buf; -} - -Utf16BEEncoder.prototype.end = function() { -} - - -// -- Decoding - -function Utf16BEDecoder() { - this.overflowByte = -1; -} - -Utf16BEDecoder.prototype.write = function(buf) { - if (buf.length == 0) - return ''; - - var buf2 = Buffer.alloc(buf.length + 1), - i = 0, j = 0; - - if (this.overflowByte !== -1) { - buf2[0] = buf[0]; - buf2[1] = this.overflowByte; - i = 1; j = 2; - } - - for (; i < buf.length-1; i += 2, j+= 2) { - buf2[j] = buf[i+1]; - buf2[j+1] = buf[i]; - } - - this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1; - - return buf2.slice(0, j).toString('ucs2'); -} - -Utf16BEDecoder.prototype.end = function() { -} - - -// == UTF-16 codec ============================================================= -// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic. -// Defaults to UTF-16LE, as it's prevalent and default in Node. -// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le -// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); - -// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false). - -exports.utf16 = Utf16Codec; -function Utf16Codec(codecOptions, iconv) { - this.iconv = iconv; -} - -Utf16Codec.prototype.encoder = Utf16Encoder; -Utf16Codec.prototype.decoder = Utf16Decoder; - - -// -- Encoding (pass-through) - -function Utf16Encoder(options, codec) { - options = options || {}; - if (options.addBOM === undefined) - options.addBOM = true; - this.encoder = codec.iconv.getEncoder('utf-16le', options); -} - -Utf16Encoder.prototype.write = function(str) { - return this.encoder.write(str); -} - -Utf16Encoder.prototype.end = function() { - return this.encoder.end(); -} - - -// -- Decoding - -function Utf16Decoder(options, codec) { - this.decoder = null; - this.initialBytes = []; - this.initialBytesLen = 0; - - this.options = options || {}; - this.iconv = codec.iconv; -} - -Utf16Decoder.prototype.write = function(buf) { - if (!this.decoder) { - // Codec is not chosen yet. Accumulate initial bytes. - this.initialBytes.push(buf); - this.initialBytesLen += buf.length; - - if (this.initialBytesLen < 16) // We need more bytes to use space heuristic (see below) - return ''; - - // We have enough bytes -> detect endianness. - var buf = Buffer.concat(this.initialBytes), - encoding = detectEncoding(buf, this.options.defaultEncoding); - this.decoder = this.iconv.getDecoder(encoding, this.options); - this.initialBytes.length = this.initialBytesLen = 0; - } - - return this.decoder.write(buf); -} - -Utf16Decoder.prototype.end = function() { - if (!this.decoder) { - var buf = Buffer.concat(this.initialBytes), - encoding = detectEncoding(buf, this.options.defaultEncoding); - this.decoder = this.iconv.getDecoder(encoding, this.options); - - var res = this.decoder.write(buf), - trail = this.decoder.end(); - - return trail ? (res + trail) : res; - } - return this.decoder.end(); -} - -function detectEncoding(buf, defaultEncoding) { - var enc = defaultEncoding || 'utf-16le'; - - if (buf.length >= 2) { - // Check BOM. - if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM - enc = 'utf-16be'; - else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM - enc = 'utf-16le'; - else { - // No BOM found. Try to deduce encoding from initial content. - // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon. - // So, we count ASCII as if it was LE or BE, and decide from that. - var asciiCharsLE = 0, asciiCharsBE = 0, // Counts of chars in both positions - _len = Math.min(buf.length - (buf.length % 2), 64); // Len is always even. - - for (var i = 0; i < _len; i += 2) { - if (buf[i] === 0 && buf[i+1] !== 0) asciiCharsBE++; - if (buf[i] !== 0 && buf[i+1] === 0) asciiCharsLE++; - } - - if (asciiCharsBE > asciiCharsLE) - enc = 'utf-16be'; - else if (asciiCharsBE < asciiCharsLE) - enc = 'utf-16le'; - } - } - - return enc; -} - - - - -/***/ }), - -/***/ "./node_modules/iconv-lite/encodings/utf7.js": -/*!***************************************************!*\ - !*** ./node_modules/iconv-lite/encodings/utf7.js ***! - \***************************************************/ -/*! default exports */ -/*! export unicode11utf7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export utf7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export utf7imap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; - -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152 -// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3 - -exports.utf7 = Utf7Codec; -exports.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7 -function Utf7Codec(codecOptions, iconv) { - this.iconv = iconv; -}; - -Utf7Codec.prototype.encoder = Utf7Encoder; -Utf7Codec.prototype.decoder = Utf7Decoder; -Utf7Codec.prototype.bomAware = true; - - -// -- Encoding - -var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g; - -function Utf7Encoder(options, codec) { - this.iconv = codec.iconv; -} - -Utf7Encoder.prototype.write = function(str) { - // Naive implementation. - // Non-direct chars are encoded as "+-"; single "+" char is encoded as "+-". - return Buffer.from(str.replace(nonDirectChars, function(chunk) { - return "+" + (chunk === '+' ? '' : - this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) - + "-"; - }.bind(this))); -} - -Utf7Encoder.prototype.end = function() { -} - - -// -- Decoding - -function Utf7Decoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = ''; -} - -var base64Regex = /[A-Za-z0-9\/+]/; -var base64Chars = []; -for (var i = 0; i < 256; i++) - base64Chars[i] = base64Regex.test(String.fromCharCode(i)); - -var plusChar = '+'.charCodeAt(0), - minusChar = '-'.charCodeAt(0), - andChar = '&'.charCodeAt(0); - -Utf7Decoder.prototype.write = function(buf) { - var res = "", lastI = 0, - inBase64 = this.inBase64, - base64Accum = this.base64Accum; - - // The decoder is more involved as we must handle chunks in stream. - - for (var i = 0; i < buf.length; i++) { - if (!inBase64) { // We're in direct mode. - // Write direct chars until '+' - if (buf[i] == plusChar) { - res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. - lastI = i+1; - inBase64 = true; - } - } else { // We decode base64. - if (!base64Chars[buf[i]]) { // Base64 ended. - if (i == lastI && buf[i] == minusChar) {// "+-" -> "+" - res += "+"; - } else { - var b64str = base64Accum + buf.slice(lastI, i).toString(); - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - if (buf[i] != minusChar) // Minus is absorbed after base64. - i--; - - lastI = i+1; - inBase64 = false; - base64Accum = ''; - } - } - } - - if (!inBase64) { - res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. - } else { - var b64str = base64Accum + buf.slice(lastI).toString(); - - var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. - base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. - b64str = b64str.slice(0, canBeDecoded); - - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - this.inBase64 = inBase64; - this.base64Accum = base64Accum; - - return res; -} - -Utf7Decoder.prototype.end = function() { - var res = ""; - if (this.inBase64 && this.base64Accum.length > 0) - res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); - - this.inBase64 = false; - this.base64Accum = ''; - return res; -} - - -// UTF-7-IMAP codec. -// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3) -// Differences: -// * Base64 part is started by "&" instead of "+" -// * Direct characters are 0x20-0x7E, except "&" (0x26) -// * In Base64, "," is used instead of "/" -// * Base64 must not be used to represent direct characters. -// * No implicit shift back from Base64 (should always end with '-') -// * String must end in non-shifted position. -// * "-&" while in base64 is not allowed. - - -exports.utf7imap = Utf7IMAPCodec; -function Utf7IMAPCodec(codecOptions, iconv) { - this.iconv = iconv; -}; - -Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; -Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; -Utf7IMAPCodec.prototype.bomAware = true; - - -// -- Encoding - -function Utf7IMAPEncoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = Buffer.alloc(6); - this.base64AccumIdx = 0; -} - -Utf7IMAPEncoder.prototype.write = function(str) { - var inBase64 = this.inBase64, - base64Accum = this.base64Accum, - base64AccumIdx = this.base64AccumIdx, - buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0; - - for (var i = 0; i < str.length; i++) { - var uChar = str.charCodeAt(i); - if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'. - if (inBase64) { - if (base64AccumIdx > 0) { - bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); - base64AccumIdx = 0; - } - - buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. - inBase64 = false; - } - - if (!inBase64) { - buf[bufIdx++] = uChar; // Write direct character - - if (uChar === andChar) // Ampersand -> '&-' - buf[bufIdx++] = minusChar; - } - - } else { // Non-direct character - if (!inBase64) { - buf[bufIdx++] = andChar; // Write '&', then go to base64 mode. - inBase64 = true; - } - if (inBase64) { - base64Accum[base64AccumIdx++] = uChar >> 8; - base64Accum[base64AccumIdx++] = uChar & 0xFF; - - if (base64AccumIdx == base64Accum.length) { - bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); - base64AccumIdx = 0; - } - } - } - } - - this.inBase64 = inBase64; - this.base64AccumIdx = base64AccumIdx; - - return buf.slice(0, bufIdx); -} - -Utf7IMAPEncoder.prototype.end = function() { - var buf = Buffer.alloc(10), bufIdx = 0; - if (this.inBase64) { - if (this.base64AccumIdx > 0) { - bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); - this.base64AccumIdx = 0; - } - - buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. - this.inBase64 = false; - } - - return buf.slice(0, bufIdx); -} - - -// -- Decoding - -function Utf7IMAPDecoder(options, codec) { - this.iconv = codec.iconv; - this.inBase64 = false; - this.base64Accum = ''; -} - -var base64IMAPChars = base64Chars.slice(); -base64IMAPChars[','.charCodeAt(0)] = true; - -Utf7IMAPDecoder.prototype.write = function(buf) { - var res = "", lastI = 0, - inBase64 = this.inBase64, - base64Accum = this.base64Accum; - - // The decoder is more involved as we must handle chunks in stream. - // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end). - - for (var i = 0; i < buf.length; i++) { - if (!inBase64) { // We're in direct mode. - // Write direct chars until '&' - if (buf[i] == andChar) { - res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. - lastI = i+1; - inBase64 = true; - } - } else { // We decode base64. - if (!base64IMAPChars[buf[i]]) { // Base64 ended. - if (i == lastI && buf[i] == minusChar) { // "&-" -> "&" - res += "&"; - } else { - var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/'); - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - if (buf[i] != minusChar) // Minus may be absorbed after base64. - i--; - - lastI = i+1; - inBase64 = false; - base64Accum = ''; - } - } - } - - if (!inBase64) { - res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. - } else { - var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/'); - - var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. - base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. - b64str = b64str.slice(0, canBeDecoded); - - res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); - } - - this.inBase64 = inBase64; - this.base64Accum = base64Accum; - - return res; -} - -Utf7IMAPDecoder.prototype.end = function() { - var res = ""; - if (this.inBase64 && this.base64Accum.length > 0) - res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); - - this.inBase64 = false; - this.base64Accum = ''; - return res; -} - - - - -/***/ }), - -/***/ "./node_modules/iconv-lite/lib/bom-handling.js": -/*!*****************************************************!*\ - !*** ./node_modules/iconv-lite/lib/bom-handling.js ***! - \*****************************************************/ -/*! default exports */ -/*! export PrependBOM [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export StripBOM [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -var BOMChar = '\uFEFF'; - -exports.PrependBOM = PrependBOMWrapper -function PrependBOMWrapper(encoder, options) { - this.encoder = encoder; - this.addBOM = true; -} - -PrependBOMWrapper.prototype.write = function(str) { - if (this.addBOM) { - str = BOMChar + str; - this.addBOM = false; - } - - return this.encoder.write(str); -} - -PrependBOMWrapper.prototype.end = function() { - return this.encoder.end(); -} - - -//------------------------------------------------------------------------------ - -exports.StripBOM = StripBOMWrapper; -function StripBOMWrapper(decoder, options) { - this.decoder = decoder; - this.pass = false; - this.options = options || {}; -} - -StripBOMWrapper.prototype.write = function(buf) { - var res = this.decoder.write(buf); - if (this.pass || !res) - return res; - - if (res[0] === BOMChar) { - res = res.slice(1); - if (typeof this.options.stripBOM === 'function') - this.options.stripBOM(); - } - - this.pass = true; - return res; -} - -StripBOMWrapper.prototype.end = function() { - return this.decoder.end(); -} - - - -/***/ }), - -/***/ "./node_modules/iconv-lite/lib/extend-node.js": -/*!****************************************************!*\ - !*** ./node_modules/iconv-lite/lib/extend-node.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - -var Buffer = __webpack_require__(/*! buffer */ "buffer").Buffer; -// Note: not polyfilled with safer-buffer on a purpose, as overrides Buffer - -// == Extend Node primitives to use iconv-lite ================================= - -module.exports = function (iconv) { - var original = undefined; // Place to keep original methods. - - // Node authors rewrote Buffer internals to make it compatible with - // Uint8Array and we cannot patch key functions since then. - // Note: this does use older Buffer API on a purpose - iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array); - - iconv.extendNodeEncodings = function extendNodeEncodings() { - if (original) return; - original = {}; - - if (!iconv.supportsNodeEncodingsExtension) { - console.error("ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node"); - console.error("See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility"); - return; - } - - var nodeNativeEncodings = { - 'hex': true, 'utf8': true, 'utf-8': true, 'ascii': true, 'binary': true, - 'base64': true, 'ucs2': true, 'ucs-2': true, 'utf16le': true, 'utf-16le': true, - }; - - Buffer.isNativeEncoding = function(enc) { - return enc && nodeNativeEncodings[enc.toLowerCase()]; - } - - // -- SlowBuffer ----------------------------------------------------------- - var SlowBuffer = __webpack_require__(/*! buffer */ "buffer").SlowBuffer; - - original.SlowBufferToString = SlowBuffer.prototype.toString; - SlowBuffer.prototype.toString = function(encoding, start, end) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.SlowBufferToString.call(this, encoding, start, end); - - // Otherwise, use our decoding method. - if (typeof start == 'undefined') start = 0; - if (typeof end == 'undefined') end = this.length; - return iconv.decode(this.slice(start, end), encoding); - } - - original.SlowBufferWrite = SlowBuffer.prototype.write; - SlowBuffer.prototype.write = function(string, offset, length, encoding) { - // Support both (string, offset, length, encoding) - // and the legacy (string, encoding, offset, length) - if (isFinite(offset)) { - if (!isFinite(length)) { - encoding = length; - length = undefined; - } - } else { // legacy - var swap = encoding; - encoding = offset; - offset = length; - length = swap; - } - - offset = +offset || 0; - var remaining = this.length - offset; - if (!length) { - length = remaining; - } else { - length = +length; - if (length > remaining) { - length = remaining; - } - } - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.SlowBufferWrite.call(this, string, offset, length, encoding); - - if (string.length > 0 && (length < 0 || offset < 0)) - throw new RangeError('attempt to write beyond buffer bounds'); - - // Otherwise, use our encoding method. - var buf = iconv.encode(string, encoding); - if (buf.length < length) length = buf.length; - buf.copy(this, offset, 0, length); - return length; - } - - // -- Buffer --------------------------------------------------------------- - - original.BufferIsEncoding = Buffer.isEncoding; - Buffer.isEncoding = function(encoding) { - return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding); - } - - original.BufferByteLength = Buffer.byteLength; - Buffer.byteLength = SlowBuffer.byteLength = function(str, encoding) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferByteLength.call(this, str, encoding); - - // Slow, I know, but we don't have a better way yet. - return iconv.encode(str, encoding).length; - } - - original.BufferToString = Buffer.prototype.toString; - Buffer.prototype.toString = function(encoding, start, end) { - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferToString.call(this, encoding, start, end); - - // Otherwise, use our decoding method. - if (typeof start == 'undefined') start = 0; - if (typeof end == 'undefined') end = this.length; - return iconv.decode(this.slice(start, end), encoding); - } - - original.BufferWrite = Buffer.prototype.write; - Buffer.prototype.write = function(string, offset, length, encoding) { - var _offset = offset, _length = length, _encoding = encoding; - // Support both (string, offset, length, encoding) - // and the legacy (string, encoding, offset, length) - if (isFinite(offset)) { - if (!isFinite(length)) { - encoding = length; - length = undefined; - } - } else { // legacy - var swap = encoding; - encoding = offset; - offset = length; - length = swap; - } - - encoding = String(encoding || 'utf8').toLowerCase(); - - // Use native conversion when possible - if (Buffer.isNativeEncoding(encoding)) - return original.BufferWrite.call(this, string, _offset, _length, _encoding); - - offset = +offset || 0; - var remaining = this.length - offset; - if (!length) { - length = remaining; - } else { - length = +length; - if (length > remaining) { - length = remaining; - } - } - - if (string.length > 0 && (length < 0 || offset < 0)) - throw new RangeError('attempt to write beyond buffer bounds'); - - // Otherwise, use our encoding method. - var buf = iconv.encode(string, encoding); - if (buf.length < length) length = buf.length; - buf.copy(this, offset, 0, length); - return length; - - // TODO: Set _charsWritten. - } - - - // -- Readable ------------------------------------------------------------- - if (iconv.supportsStreams) { - var Readable = __webpack_require__(/*! stream */ "stream").Readable; - - original.ReadableSetEncoding = Readable.prototype.setEncoding; - Readable.prototype.setEncoding = function setEncoding(enc, options) { - // Use our own decoder, it has the same interface. - // We cannot use original function as it doesn't handle BOM-s. - this._readableState.decoder = iconv.getDecoder(enc, options); - this._readableState.encoding = enc; - } - - Readable.prototype.collect = iconv._collect; - } - } - - // Remove iconv-lite Node primitive extensions. - iconv.undoExtendNodeEncodings = function undoExtendNodeEncodings() { - if (!iconv.supportsNodeEncodingsExtension) - return; - if (!original) - throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.") - - delete Buffer.isNativeEncoding; - - var SlowBuffer = __webpack_require__(/*! buffer */ "buffer").SlowBuffer; - - SlowBuffer.prototype.toString = original.SlowBufferToString; - SlowBuffer.prototype.write = original.SlowBufferWrite; - - Buffer.isEncoding = original.BufferIsEncoding; - Buffer.byteLength = original.BufferByteLength; - Buffer.prototype.toString = original.BufferToString; - Buffer.prototype.write = original.BufferWrite; - - if (iconv.supportsStreams) { - var Readable = __webpack_require__(/*! stream */ "stream").Readable; - - Readable.prototype.setEncoding = original.ReadableSetEncoding; - delete Readable.prototype.collect; - } - - original = undefined; - } -} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/lib/index.js": -/*!**********************************************!*\ - !*** ./node_modules/iconv-lite/lib/index.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 8:12-26 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -// Some environments don't have global Buffer (e.g. React Native). -// Solution would be installing npm modules "buffer" and "stream" explicitly. -var Buffer = __webpack_require__(/*! safer-buffer */ "./node_modules/safer-buffer/safer.js").Buffer; - -var bomHandling = __webpack_require__(/*! ./bom-handling */ "./node_modules/iconv-lite/lib/bom-handling.js"), - iconv = module.exports; - -// All codecs and aliases are kept here, keyed by encoding name/alias. -// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. -iconv.encodings = null; - -// Characters emitted in case of error. -iconv.defaultCharUnicode = '�'; -iconv.defaultCharSingleByte = '?'; - -// Public API. -iconv.encode = function encode(str, encoding, options) { - str = "" + (str || ""); // Ensure string. - - var encoder = iconv.getEncoder(encoding, options); - - var res = encoder.write(str); - var trail = encoder.end(); - - return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; -} - -iconv.decode = function decode(buf, encoding, options) { - if (typeof buf === 'string') { - if (!iconv.skipDecodeWarning) { - console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding'); - iconv.skipDecodeWarning = true; - } - - buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer. - } - - var decoder = iconv.getDecoder(encoding, options); - - var res = decoder.write(buf); - var trail = decoder.end(); - - return trail ? (res + trail) : res; -} - -iconv.encodingExists = function encodingExists(enc) { - try { - iconv.getCodec(enc); - return true; - } catch (e) { - return false; - } -} - -// Legacy aliases to convert functions -iconv.toEncoding = iconv.encode; -iconv.fromEncoding = iconv.decode; - -// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache. -iconv._codecDataCache = {}; -iconv.getCodec = function getCodec(encoding) { - if (!iconv.encodings) - iconv.encodings = __webpack_require__(/*! ../encodings */ "./node_modules/iconv-lite/encodings/index.js"); // Lazy load all encoding definitions. - - // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. - var enc = iconv._canonicalizeEncoding(encoding); - - // Traverse iconv.encodings to find actual codec. - var codecOptions = {}; - while (true) { - var codec = iconv._codecDataCache[enc]; - if (codec) - return codec; - - var codecDef = iconv.encodings[enc]; - - switch (typeof codecDef) { - case "string": // Direct alias to other encoding. - enc = codecDef; - break; - - case "object": // Alias with options. Can be layered. - for (var key in codecDef) - codecOptions[key] = codecDef[key]; - - if (!codecOptions.encodingName) - codecOptions.encodingName = enc; - - enc = codecDef.type; - break; - - case "function": // Codec itself. - if (!codecOptions.encodingName) - codecOptions.encodingName = enc; - - // The codec function must load all tables and return object with .encoder and .decoder methods. - // It'll be called only once (for each different options object). - codec = new codecDef(codecOptions, iconv); - - iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later. - return codec; - - default: - throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')"); - } - } -} - -iconv._canonicalizeEncoding = function(encoding) { - // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. - return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); -} - -iconv.getEncoder = function getEncoder(encoding, options) { - var codec = iconv.getCodec(encoding), - encoder = new codec.encoder(options, codec); - - if (codec.bomAware && options && options.addBOM) - encoder = new bomHandling.PrependBOM(encoder, options); - - return encoder; -} - -iconv.getDecoder = function getDecoder(encoding, options) { - var codec = iconv.getCodec(encoding), - decoder = new codec.decoder(options, codec); - - if (codec.bomAware && !(options && options.stripBOM === false)) - decoder = new bomHandling.StripBOM(decoder, options); - - return decoder; -} - - -// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json. -var nodeVer = typeof process !== 'undefined' && process.versions && process.versions.node; -if (nodeVer) { - - // Load streaming support in Node v0.10+ - var nodeVerArr = nodeVer.split(".").map(Number); - if (nodeVerArr[0] > 0 || nodeVerArr[1] >= 10) { - __webpack_require__(/*! ./streams */ "./node_modules/iconv-lite/lib/streams.js")(iconv); - } - - // Load Node primitive extensions. - __webpack_require__(/*! ./extend-node */ "./node_modules/iconv-lite/lib/extend-node.js")(iconv); -} - -if (false) {} - - -/***/ }), - -/***/ "./node_modules/iconv-lite/lib/streams.js": -/*!************************************************!*\ - !*** ./node_modules/iconv-lite/lib/streams.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; - - -var Buffer = __webpack_require__(/*! buffer */ "buffer").Buffer, - Transform = __webpack_require__(/*! stream */ "stream").Transform; - - -// == Exports ================================================================== -module.exports = function(iconv) { - - // Additional Public API. - iconv.encodeStream = function encodeStream(encoding, options) { - return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); - } - - iconv.decodeStream = function decodeStream(encoding, options) { - return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); - } - - iconv.supportsStreams = true; - - - // Not published yet. - iconv.IconvLiteEncoderStream = IconvLiteEncoderStream; - iconv.IconvLiteDecoderStream = IconvLiteDecoderStream; - iconv._collect = IconvLiteDecoderStream.prototype.collect; -}; - - -// == Encoder stream ======================================================= -function IconvLiteEncoderStream(conv, options) { - this.conv = conv; - options = options || {}; - options.decodeStrings = false; // We accept only strings, so we don't need to decode them. - Transform.call(this, options); -} - -IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { - constructor: { value: IconvLiteEncoderStream } -}); - -IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) { - if (typeof chunk != 'string') - return done(new Error("Iconv encoding stream needs strings as its input.")); - try { - var res = this.conv.write(chunk); - if (res && res.length) this.push(res); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteEncoderStream.prototype._flush = function(done) { - try { - var res = this.conv.end(); - if (res && res.length) this.push(res); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteEncoderStream.prototype.collect = function(cb) { - var chunks = []; - this.on('error', cb); - this.on('data', function(chunk) { chunks.push(chunk); }); - this.on('end', function() { - cb(null, Buffer.concat(chunks)); - }); - return this; -} - - -// == Decoder stream ======================================================= -function IconvLiteDecoderStream(conv, options) { - this.conv = conv; - options = options || {}; - options.encoding = this.encoding = 'utf8'; // We output strings. - Transform.call(this, options); -} - -IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { - constructor: { value: IconvLiteDecoderStream } -}); - -IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) { - if (!Buffer.isBuffer(chunk)) - return done(new Error("Iconv decoding stream needs buffers as its input.")); - try { - var res = this.conv.write(chunk); - if (res && res.length) this.push(res, this.encoding); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteDecoderStream.prototype._flush = function(done) { - try { - var res = this.conv.end(); - if (res && res.length) this.push(res, this.encoding); - done(); - } - catch (e) { - done(e); - } -} - -IconvLiteDecoderStream.prototype.collect = function(cb) { - var res = ''; - this.on('error', cb); - this.on('data', function(chunk) { res += chunk; }); - this.on('end', function() { - cb(null, res); - }); - return this; -} - - - -/***/ }), - -/***/ "./node_modules/inherits/inherits.js": -/*!*******************************************!*\ - !*** ./node_modules/inherits/inherits.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:2-16 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -try { - var util = __webpack_require__(/*! util */ "util"); - /* istanbul ignore next */ - if (typeof util.inherits !== 'function') throw ''; - module.exports = util.inherits; -} catch (e) { - /* istanbul ignore next */ - module.exports = __webpack_require__(/*! ./inherits_browser.js */ "./node_modules/inherits/inherits_browser.js"); -} - - -/***/ }), - -/***/ "./node_modules/inherits/inherits_browser.js": -/*!***************************************************!*\ - !*** ./node_modules/inherits/inherits_browser.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:2-16 */ -/*! CommonJS bailout: module.exports is used directly at 18:2-16 */ -/***/ ((module) => { - -if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - module.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }) - } - }; -} else { - // old school shim for old browsers - module.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } - } -} - - -/***/ }), - -/***/ "./node_modules/ipaddr.js/lib/ipaddr.js": -/*!**********************************************!*\ - !*** ./node_modules/ipaddr.js/lib/ipaddr.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module.loaded, module.id, module, __webpack_require__.nmd, top-level-this-exports, __webpack_require__.* */ -/*! CommonJS bailout: this is used directly at 673:8-12 */ -/*! CommonJS bailout: module.exports is used directly at 8:60-74 */ -/*! CommonJS bailout: module.exports is used directly at 9:4-18 */ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -/* module decorator */ module = __webpack_require__.nmd(module); -(function() { - var expandIPv6, ipaddr, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root, zoneIndex; - - ipaddr = {}; - - root = this; - - if (( true && module !== null) && module.exports) { - module.exports = ipaddr; - } else { - root['ipaddr'] = ipaddr; - } - - matchCIDR = function(first, second, partSize, cidrBits) { - var part, shift; - if (first.length !== second.length) { - throw new Error("ipaddr: cannot match CIDR for objects with different lengths"); - } - part = 0; - while (cidrBits > 0) { - shift = partSize - cidrBits; - if (shift < 0) { - shift = 0; - } - if (first[part] >> shift !== second[part] >> shift) { - return false; - } - cidrBits -= partSize; - part += 1; - } - return true; - }; - - ipaddr.subnetMatch = function(address, rangeList, defaultName) { - var k, len, rangeName, rangeSubnets, subnet; - if (defaultName == null) { - defaultName = 'unicast'; - } - for (rangeName in rangeList) { - rangeSubnets = rangeList[rangeName]; - if (rangeSubnets[0] && !(rangeSubnets[0] instanceof Array)) { - rangeSubnets = [rangeSubnets]; - } - for (k = 0, len = rangeSubnets.length; k < len; k++) { - subnet = rangeSubnets[k]; - if (address.kind() === subnet[0].kind()) { - if (address.match.apply(address, subnet)) { - return rangeName; - } - } - } - } - return defaultName; - }; - - ipaddr.IPv4 = (function() { - function IPv4(octets) { - var k, len, octet; - if (octets.length !== 4) { - throw new Error("ipaddr: ipv4 octet count should be 4"); - } - for (k = 0, len = octets.length; k < len; k++) { - octet = octets[k]; - if (!((0 <= octet && octet <= 255))) { - throw new Error("ipaddr: ipv4 octet should fit in 8 bits"); - } - } - this.octets = octets; - } - - IPv4.prototype.kind = function() { - return 'ipv4'; - }; - - IPv4.prototype.toString = function() { - return this.octets.join("."); - }; - - IPv4.prototype.toNormalizedString = function() { - return this.toString(); - }; - - IPv4.prototype.toByteArray = function() { - return this.octets.slice(0); - }; - - IPv4.prototype.match = function(other, cidrRange) { - var ref; - if (cidrRange === void 0) { - ref = other, other = ref[0], cidrRange = ref[1]; - } - if (other.kind() !== 'ipv4') { - throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one"); - } - return matchCIDR(this.octets, other.octets, 8, cidrRange); - }; - - IPv4.prototype.SpecialRanges = { - unspecified: [[new IPv4([0, 0, 0, 0]), 8]], - broadcast: [[new IPv4([255, 255, 255, 255]), 32]], - multicast: [[new IPv4([224, 0, 0, 0]), 4]], - linkLocal: [[new IPv4([169, 254, 0, 0]), 16]], - loopback: [[new IPv4([127, 0, 0, 0]), 8]], - carrierGradeNat: [[new IPv4([100, 64, 0, 0]), 10]], - "private": [[new IPv4([10, 0, 0, 0]), 8], [new IPv4([172, 16, 0, 0]), 12], [new IPv4([192, 168, 0, 0]), 16]], - reserved: [[new IPv4([192, 0, 0, 0]), 24], [new IPv4([192, 0, 2, 0]), 24], [new IPv4([192, 88, 99, 0]), 24], [new IPv4([198, 51, 100, 0]), 24], [new IPv4([203, 0, 113, 0]), 24], [new IPv4([240, 0, 0, 0]), 4]] - }; - - IPv4.prototype.range = function() { - return ipaddr.subnetMatch(this, this.SpecialRanges); - }; - - IPv4.prototype.toIPv4MappedAddress = function() { - return ipaddr.IPv6.parse("::ffff:" + (this.toString())); - }; - - IPv4.prototype.prefixLengthFromSubnetMask = function() { - var cidr, i, k, octet, stop, zeros, zerotable; - zerotable = { - 0: 8, - 128: 7, - 192: 6, - 224: 5, - 240: 4, - 248: 3, - 252: 2, - 254: 1, - 255: 0 - }; - cidr = 0; - stop = false; - for (i = k = 3; k >= 0; i = k += -1) { - octet = this.octets[i]; - if (octet in zerotable) { - zeros = zerotable[octet]; - if (stop && zeros !== 0) { - return null; - } - if (zeros !== 8) { - stop = true; - } - cidr += zeros; - } else { - return null; - } - } - return 32 - cidr; - }; - - return IPv4; - - })(); - - ipv4Part = "(0?\\d+|0x[a-f0-9]+)"; - - ipv4Regexes = { - fourOctet: new RegExp("^" + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "$", 'i'), - longValue: new RegExp("^" + ipv4Part + "$", 'i') - }; - - ipaddr.IPv4.parser = function(string) { - var match, parseIntAuto, part, shift, value; - parseIntAuto = function(string) { - if (string[0] === "0" && string[1] !== "x") { - return parseInt(string, 8); - } else { - return parseInt(string); - } - }; - if (match = string.match(ipv4Regexes.fourOctet)) { - return (function() { - var k, len, ref, results; - ref = match.slice(1, 6); - results = []; - for (k = 0, len = ref.length; k < len; k++) { - part = ref[k]; - results.push(parseIntAuto(part)); - } - return results; - })(); - } else if (match = string.match(ipv4Regexes.longValue)) { - value = parseIntAuto(match[1]); - if (value > 0xffffffff || value < 0) { - throw new Error("ipaddr: address outside defined range"); - } - return ((function() { - var k, results; - results = []; - for (shift = k = 0; k <= 24; shift = k += 8) { - results.push((value >> shift) & 0xff); - } - return results; - })()).reverse(); - } else { - return null; - } - }; - - ipaddr.IPv6 = (function() { - function IPv6(parts, zoneId) { - var i, k, l, len, part, ref; - if (parts.length === 16) { - this.parts = []; - for (i = k = 0; k <= 14; i = k += 2) { - this.parts.push((parts[i] << 8) | parts[i + 1]); - } - } else if (parts.length === 8) { - this.parts = parts; - } else { - throw new Error("ipaddr: ipv6 part count should be 8 or 16"); - } - ref = this.parts; - for (l = 0, len = ref.length; l < len; l++) { - part = ref[l]; - if (!((0 <= part && part <= 0xffff))) { - throw new Error("ipaddr: ipv6 part should fit in 16 bits"); - } - } - if (zoneId) { - this.zoneId = zoneId; - } - } - - IPv6.prototype.kind = function() { - return 'ipv6'; - }; - - IPv6.prototype.toString = function() { - return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::'); - }; - - IPv6.prototype.toRFC5952String = function() { - var bestMatchIndex, bestMatchLength, match, regex, string; - regex = /((^|:)(0(:|$)){2,})/g; - string = this.toNormalizedString(); - bestMatchIndex = 0; - bestMatchLength = -1; - while ((match = regex.exec(string))) { - if (match[0].length > bestMatchLength) { - bestMatchIndex = match.index; - bestMatchLength = match[0].length; - } - } - if (bestMatchLength < 0) { - return string; - } - return string.substring(0, bestMatchIndex) + '::' + string.substring(bestMatchIndex + bestMatchLength); - }; - - IPv6.prototype.toByteArray = function() { - var bytes, k, len, part, ref; - bytes = []; - ref = this.parts; - for (k = 0, len = ref.length; k < len; k++) { - part = ref[k]; - bytes.push(part >> 8); - bytes.push(part & 0xff); - } - return bytes; - }; - - IPv6.prototype.toNormalizedString = function() { - var addr, part, suffix; - addr = ((function() { - var k, len, ref, results; - ref = this.parts; - results = []; - for (k = 0, len = ref.length; k < len; k++) { - part = ref[k]; - results.push(part.toString(16)); - } - return results; - }).call(this)).join(":"); - suffix = ''; - if (this.zoneId) { - suffix = '%' + this.zoneId; - } - return addr + suffix; - }; - - IPv6.prototype.toFixedLengthString = function() { - var addr, part, suffix; - addr = ((function() { - var k, len, ref, results; - ref = this.parts; - results = []; - for (k = 0, len = ref.length; k < len; k++) { - part = ref[k]; - results.push(part.toString(16).padStart(4, '0')); - } - return results; - }).call(this)).join(":"); - suffix = ''; - if (this.zoneId) { - suffix = '%' + this.zoneId; - } - return addr + suffix; - }; - - IPv6.prototype.match = function(other, cidrRange) { - var ref; - if (cidrRange === void 0) { - ref = other, other = ref[0], cidrRange = ref[1]; - } - if (other.kind() !== 'ipv6') { - throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one"); - } - return matchCIDR(this.parts, other.parts, 16, cidrRange); - }; - - IPv6.prototype.SpecialRanges = { - unspecified: [new IPv6([0, 0, 0, 0, 0, 0, 0, 0]), 128], - linkLocal: [new IPv6([0xfe80, 0, 0, 0, 0, 0, 0, 0]), 10], - multicast: [new IPv6([0xff00, 0, 0, 0, 0, 0, 0, 0]), 8], - loopback: [new IPv6([0, 0, 0, 0, 0, 0, 0, 1]), 128], - uniqueLocal: [new IPv6([0xfc00, 0, 0, 0, 0, 0, 0, 0]), 7], - ipv4Mapped: [new IPv6([0, 0, 0, 0, 0, 0xffff, 0, 0]), 96], - rfc6145: [new IPv6([0, 0, 0, 0, 0xffff, 0, 0, 0]), 96], - rfc6052: [new IPv6([0x64, 0xff9b, 0, 0, 0, 0, 0, 0]), 96], - '6to4': [new IPv6([0x2002, 0, 0, 0, 0, 0, 0, 0]), 16], - teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32], - reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]] - }; - - IPv6.prototype.range = function() { - return ipaddr.subnetMatch(this, this.SpecialRanges); - }; - - IPv6.prototype.isIPv4MappedAddress = function() { - return this.range() === 'ipv4Mapped'; - }; - - IPv6.prototype.toIPv4Address = function() { - var high, low, ref; - if (!this.isIPv4MappedAddress()) { - throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4"); - } - ref = this.parts.slice(-2), high = ref[0], low = ref[1]; - return new ipaddr.IPv4([high >> 8, high & 0xff, low >> 8, low & 0xff]); - }; - - IPv6.prototype.prefixLengthFromSubnetMask = function() { - var cidr, i, k, part, stop, zeros, zerotable; - zerotable = { - 0: 16, - 32768: 15, - 49152: 14, - 57344: 13, - 61440: 12, - 63488: 11, - 64512: 10, - 65024: 9, - 65280: 8, - 65408: 7, - 65472: 6, - 65504: 5, - 65520: 4, - 65528: 3, - 65532: 2, - 65534: 1, - 65535: 0 - }; - cidr = 0; - stop = false; - for (i = k = 7; k >= 0; i = k += -1) { - part = this.parts[i]; - if (part in zerotable) { - zeros = zerotable[part]; - if (stop && zeros !== 0) { - return null; - } - if (zeros !== 16) { - stop = true; - } - cidr += zeros; - } else { - return null; - } - } - return 128 - cidr; - }; - - return IPv6; - - })(); - - ipv6Part = "(?:[0-9a-f]+::?)+"; - - zoneIndex = "%[0-9a-z]{1,}"; - - ipv6Regexes = { - zoneIndex: new RegExp(zoneIndex, 'i'), - "native": new RegExp("^(::)?(" + ipv6Part + ")?([0-9a-f]+)?(::)?(" + zoneIndex + ")?$", 'i'), - transitional: new RegExp(("^((?:" + ipv6Part + ")|(?:::)(?:" + ipv6Part + ")?)") + (ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part) + ("(" + zoneIndex + ")?$"), 'i') - }; - - expandIPv6 = function(string, parts) { - var colonCount, lastColon, part, replacement, replacementCount, zoneId; - if (string.indexOf('::') !== string.lastIndexOf('::')) { - return null; - } - zoneId = (string.match(ipv6Regexes['zoneIndex']) || [])[0]; - if (zoneId) { - zoneId = zoneId.substring(1); - string = string.replace(/%.+$/, ''); - } - colonCount = 0; - lastColon = -1; - while ((lastColon = string.indexOf(':', lastColon + 1)) >= 0) { - colonCount++; - } - if (string.substr(0, 2) === '::') { - colonCount--; - } - if (string.substr(-2, 2) === '::') { - colonCount--; - } - if (colonCount > parts) { - return null; - } - replacementCount = parts - colonCount; - replacement = ':'; - while (replacementCount--) { - replacement += '0:'; - } - string = string.replace('::', replacement); - if (string[0] === ':') { - string = string.slice(1); - } - if (string[string.length - 1] === ':') { - string = string.slice(0, -1); - } - parts = (function() { - var k, len, ref, results; - ref = string.split(":"); - results = []; - for (k = 0, len = ref.length; k < len; k++) { - part = ref[k]; - results.push(parseInt(part, 16)); - } - return results; - })(); - return { - parts: parts, - zoneId: zoneId - }; - }; - - ipaddr.IPv6.parser = function(string) { - var addr, k, len, match, octet, octets, zoneId; - if (ipv6Regexes['native'].test(string)) { - return expandIPv6(string, 8); - } else if (match = string.match(ipv6Regexes['transitional'])) { - zoneId = match[6] || ''; - addr = expandIPv6(match[1].slice(0, -1) + zoneId, 6); - if (addr.parts) { - octets = [parseInt(match[2]), parseInt(match[3]), parseInt(match[4]), parseInt(match[5])]; - for (k = 0, len = octets.length; k < len; k++) { - octet = octets[k]; - if (!((0 <= octet && octet <= 255))) { - return null; - } - } - addr.parts.push(octets[0] << 8 | octets[1]); - addr.parts.push(octets[2] << 8 | octets[3]); - return { - parts: addr.parts, - zoneId: addr.zoneId - }; - } - } - return null; - }; - - ipaddr.IPv4.isIPv4 = ipaddr.IPv6.isIPv6 = function(string) { - return this.parser(string) !== null; - }; - - ipaddr.IPv4.isValid = function(string) { - var e; - try { - new this(this.parser(string)); - return true; - } catch (error1) { - e = error1; - return false; - } - }; - - ipaddr.IPv4.isValidFourPartDecimal = function(string) { - if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) { - return true; - } else { - return false; - } - }; - - ipaddr.IPv6.isValid = function(string) { - var addr, e; - if (typeof string === "string" && string.indexOf(":") === -1) { - return false; - } - try { - addr = this.parser(string); - new this(addr.parts, addr.zoneId); - return true; - } catch (error1) { - e = error1; - return false; - } - }; - - ipaddr.IPv4.parse = function(string) { - var parts; - parts = this.parser(string); - if (parts === null) { - throw new Error("ipaddr: string is not formatted like ip address"); - } - return new this(parts); - }; - - ipaddr.IPv6.parse = function(string) { - var addr; - addr = this.parser(string); - if (addr.parts === null) { - throw new Error("ipaddr: string is not formatted like ip address"); - } - return new this(addr.parts, addr.zoneId); - }; - - ipaddr.IPv4.parseCIDR = function(string) { - var maskLength, match, parsed; - if (match = string.match(/^(.+)\/(\d+)$/)) { - maskLength = parseInt(match[2]); - if (maskLength >= 0 && maskLength <= 32) { - parsed = [this.parse(match[1]), maskLength]; - Object.defineProperty(parsed, 'toString', { - value: function() { - return this.join('/'); - } - }); - return parsed; - } - } - throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range"); - }; - - ipaddr.IPv4.subnetMaskFromPrefixLength = function(prefix) { - var filledOctetCount, j, octets; - prefix = parseInt(prefix); - if (prefix < 0 || prefix > 32) { - throw new Error('ipaddr: invalid IPv4 prefix length'); - } - octets = [0, 0, 0, 0]; - j = 0; - filledOctetCount = Math.floor(prefix / 8); - while (j < filledOctetCount) { - octets[j] = 255; - j++; - } - if (filledOctetCount < 4) { - octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - (prefix % 8); - } - return new this(octets); - }; - - ipaddr.IPv4.broadcastAddressFromCIDR = function(string) { - var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets; - try { - cidr = this.parseCIDR(string); - ipInterfaceOctets = cidr[0].toByteArray(); - subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray(); - octets = []; - i = 0; - while (i < 4) { - octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255); - i++; - } - return new this(octets); - } catch (error1) { - error = error1; - throw new Error('ipaddr: the address does not have IPv4 CIDR format'); - } - }; - - ipaddr.IPv4.networkAddressFromCIDR = function(string) { - var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets; - try { - cidr = this.parseCIDR(string); - ipInterfaceOctets = cidr[0].toByteArray(); - subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray(); - octets = []; - i = 0; - while (i < 4) { - octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10)); - i++; - } - return new this(octets); - } catch (error1) { - error = error1; - throw new Error('ipaddr: the address does not have IPv4 CIDR format'); - } - }; - - ipaddr.IPv6.parseCIDR = function(string) { - var maskLength, match, parsed; - if (match = string.match(/^(.+)\/(\d+)$/)) { - maskLength = parseInt(match[2]); - if (maskLength >= 0 && maskLength <= 128) { - parsed = [this.parse(match[1]), maskLength]; - Object.defineProperty(parsed, 'toString', { - value: function() { - return this.join('/'); - } - }); - return parsed; - } - } - throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range"); - }; - - ipaddr.isValid = function(string) { - return ipaddr.IPv6.isValid(string) || ipaddr.IPv4.isValid(string); - }; - - ipaddr.parse = function(string) { - if (ipaddr.IPv6.isValid(string)) { - return ipaddr.IPv6.parse(string); - } else if (ipaddr.IPv4.isValid(string)) { - return ipaddr.IPv4.parse(string); - } else { - throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format"); - } - }; - - ipaddr.parseCIDR = function(string) { - var e; - try { - return ipaddr.IPv6.parseCIDR(string); - } catch (error1) { - e = error1; - try { - return ipaddr.IPv4.parseCIDR(string); - } catch (error1) { - e = error1; - throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format"); - } - } - }; - - ipaddr.fromByteArray = function(bytes) { - var length; - length = bytes.length; - if (length === 4) { - return new ipaddr.IPv4(bytes); - } else if (length === 16) { - return new ipaddr.IPv6(bytes); - } else { - throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address"); - } - }; - - ipaddr.process = function(string) { - var addr; - addr = this.parse(string); - if (addr.kind() === 'ipv6' && addr.isIPv4MappedAddress()) { - return addr.toIPv4Address(); - } else { - return addr; - } - }; - -}).call(this); - - -/***/ }), - -/***/ "./node_modules/is-retry-allowed/index.js": -/*!************************************************!*\ - !*** ./node_modules/is-retry-allowed/index.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ -/***/ ((module) => { - -"use strict"; - - -var WHITELIST = [ - 'ETIMEDOUT', - 'ECONNRESET', - 'EADDRINUSE', - 'ESOCKETTIMEDOUT', - 'ECONNREFUSED', - 'EPIPE', - 'EHOSTUNREACH', - 'EAI_AGAIN' -]; - -var BLACKLIST = [ - 'ENOTFOUND', - 'ENETUNREACH', - - // SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950 - 'UNABLE_TO_GET_ISSUER_CERT', - 'UNABLE_TO_GET_CRL', - 'UNABLE_TO_DECRYPT_CERT_SIGNATURE', - 'UNABLE_TO_DECRYPT_CRL_SIGNATURE', - 'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY', - 'CERT_SIGNATURE_FAILURE', - 'CRL_SIGNATURE_FAILURE', - 'CERT_NOT_YET_VALID', - 'CERT_HAS_EXPIRED', - 'CRL_NOT_YET_VALID', - 'CRL_HAS_EXPIRED', - 'ERROR_IN_CERT_NOT_BEFORE_FIELD', - 'ERROR_IN_CERT_NOT_AFTER_FIELD', - 'ERROR_IN_CRL_LAST_UPDATE_FIELD', - 'ERROR_IN_CRL_NEXT_UPDATE_FIELD', - 'OUT_OF_MEM', - 'DEPTH_ZERO_SELF_SIGNED_CERT', - 'SELF_SIGNED_CERT_IN_CHAIN', - 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY', - 'UNABLE_TO_VERIFY_LEAF_SIGNATURE', - 'CERT_CHAIN_TOO_LONG', - 'CERT_REVOKED', - 'INVALID_CA', - 'PATH_LENGTH_EXCEEDED', - 'INVALID_PURPOSE', - 'CERT_UNTRUSTED', - 'CERT_REJECTED' -]; - -module.exports = function (err) { - if (!err || !err.code) { - return true; - } - - if (WHITELIST.indexOf(err.code) !== -1) { - return true; - } - - if (BLACKLIST.indexOf(err.code) !== -1) { - return false; - } - - return true; -}; - - -/***/ }), - -/***/ "./node_modules/kafkajs/index.js": -/*!***************************************!*\ - !*** ./node_modules/kafkajs/index.js ***! - \***************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Kafka = __webpack_require__(/*! ./src */ "./node_modules/kafkajs/src/index.js") -const PartitionAssigners = __webpack_require__(/*! ./src/consumer/assigners */ "./node_modules/kafkajs/src/consumer/assigners/index.js") -const AssignerProtocol = __webpack_require__(/*! ./src/consumer/assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") -const Partitioners = __webpack_require__(/*! ./src/producer/partitioners */ "./node_modules/kafkajs/src/producer/partitioners/index.js") -const Compression = __webpack_require__(/*! ./src/protocol/message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") -const ResourceTypes = __webpack_require__(/*! ./src/protocol/resourceTypes */ "./node_modules/kafkajs/src/protocol/resourceTypes.js") -const ConfigResourceTypes = __webpack_require__(/*! ./src/protocol/configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") -const ConfigSource = __webpack_require__(/*! ./src/protocol/configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") -const AclResourceTypes = __webpack_require__(/*! ./src/protocol/aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") -const AclOperationTypes = __webpack_require__(/*! ./src/protocol/aclOperationTypes */ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js") -const AclPermissionTypes = __webpack_require__(/*! ./src/protocol/aclPermissionTypes */ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js") -const ResourcePatternTypes = __webpack_require__(/*! ./src/protocol/resourcePatternTypes */ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js") -const Errors = __webpack_require__(/*! ./src/errors */ "./node_modules/kafkajs/src/errors.js") -const { LEVELS } = __webpack_require__(/*! ./src/loggers */ "./node_modules/kafkajs/src/loggers/index.js") - -module.exports = { - Kafka, - PartitionAssigners, - AssignerProtocol, - Partitioners, - logLevel: LEVELS, - CompressionTypes: Compression.Types, - CompressionCodecs: Compression.Codecs, - /** - * @deprecated - * @see https://github.com/tulios/kafkajs/issues/649 - * - * Use ConfigResourceTypes or AclResourceTypes instead. - */ - ResourceTypes, - ConfigResourceTypes, - AclResourceTypes, - AclOperationTypes, - AclPermissionTypes, - ResourcePatternTypes, - ConfigSource, - ...Errors, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/package.json": -/*!*******************************************!*\ - !*** ./node_modules/kafkajs/package.json ***! - \*******************************************/ -/*! default exports */ -/*! export author [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export bugs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export url [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export dependencies [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export description [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export devDependencies [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export @types/node [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export @typescript-eslint/typescript-estree [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-config-prettier [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-config-standard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-plugin-import [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-plugin-node [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-plugin-prettier [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-plugin-promise [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export eslint-plugin-standard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export execa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export glob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export husky [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export ip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jest-circus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jest-extended [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jest-junit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jsonwebtoken [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export lint-staged [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export mockdate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export prettier [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export semver [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export typescript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export uuid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export engines [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export node [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export homepage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export keywords [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export license [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export lint-staged [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export *.js [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export main [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export name [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export repository [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export type [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export url [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export scripts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export jest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export lint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export precommit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:debug [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:admin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:admin:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:broker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:broker:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:consumer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:consumer:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:oauthbearer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:oauthbearer:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:others [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:others:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:producer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:group:producer:ci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:local [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:local:watch [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export test:types [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export types [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export version [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("{\"name\":\"kafkajs\",\"version\":\"1.16.0\",\"description\":\"A modern Apache Kafka client for node.js\",\"author\":\"Tulio Ornelas \",\"main\":\"index.js\",\"types\":\"types/index.d.ts\",\"license\":\"MIT\",\"keywords\":[\"kafka\",\"sasl\",\"scram\"],\"engines\":{\"node\":\">=10.13.0\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/tulios/kafkajs.git\"},\"bugs\":{\"url\":\"https://github.com/tulios/kafkajs/issues\"},\"homepage\":\"https://kafka.js.org\",\"scripts\":{\"jest\":\"export KAFKA_VERSION=${KAFKA_VERSION:='2.4'} && NODE_ENV=test echo \\\"KAFKA_VERSION: ${KAFKA_VERSION}\\\" && KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 jest\",\"test:local\":\"yarn jest --detectOpenHandles\",\"test:debug\":\"NODE_ENV=test KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 node --inspect-brk $(yarn bin 2>/dev/null)/jest --detectOpenHandles --runInBand --watch\",\"test:local:watch\":\"yarn test:local --watch\",\"test\":\"yarn lint && JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh 'yarn jest --ci --maxWorkers=4 --no-watchman --forceExit'\",\"lint\":\"find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 eslint\",\"format\":\"find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 prettier --write\",\"precommit\":\"lint-staged\",\"test:group:broker\":\"yarn jest --forceExit --testPathPattern 'src/broker/.*'\",\"test:group:admin\":\"yarn jest --forceExit --testPathPattern 'src/admin/.*'\",\"test:group:producer\":\"yarn jest --forceExit --testPathPattern 'src/producer/.*'\",\"test:group:consumer\":\"yarn jest --forceExit --testPathPattern 'src/consumer/.*.spec.js'\",\"test:group:others\":\"yarn jest --forceExit --testPathPattern 'src/(?!(broker|admin|producer|consumer)/).*'\",\"test:group:oauthbearer\":\"OAUTHBEARER_ENABLED=1 yarn jest --forceExit src/producer/index.spec.js src/broker/__tests__/connect.spec.js src/consumer/__tests__/connection.spec.js src/broker/__tests__/disconnect.spec.js src/admin/__tests__/connection.spec.js src/broker/__tests__/reauthenticate.spec.js\",\"test:group:broker:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:broker --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:admin:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:admin --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:producer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:producer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:consumer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:consumer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:others:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh \\\"yarn test:group:others --ci --maxWorkers=4 --no-watchman\\\"\",\"test:group:oauthbearer:ci\":\"JEST_JUNIT_OUTPUT_NAME=test-report.xml COMPOSE_FILE='docker-compose.2_4_oauthbearer.yml' ./scripts/testWithKafka.sh \\\"yarn test:group:oauthbearer --ci --maxWorkers=4 --no-watchman\\\"\",\"test:types\":\"tsc -p types/\"},\"devDependencies\":{\"@types/node\":\"^12.0.8\",\"@typescript-eslint/typescript-estree\":\"^1.10.2\",\"eslint\":\"^6.8.0\",\"eslint-config-prettier\":\"^6.0.0\",\"eslint-config-standard\":\"^13.0.1\",\"eslint-plugin-import\":\"^2.18.2\",\"eslint-plugin-node\":\"^11.0.0\",\"eslint-plugin-prettier\":\"^3.1.0\",\"eslint-plugin-promise\":\"^4.2.1\",\"eslint-plugin-standard\":\"^4.0.0\",\"execa\":\"^2.0.3\",\"glob\":\"^7.1.4\",\"husky\":\"^3.0.1\",\"ip\":\"^1.1.5\",\"jest\":\"^25.1.0\",\"jest-circus\":\"^25.1.0\",\"jest-extended\":\"^0.11.2\",\"jest-junit\":\"^10.0.0\",\"jsonwebtoken\":\"^8.5.1\",\"lint-staged\":\"^9.2.0\",\"mockdate\":\"^2.0.5\",\"prettier\":\"^1.18.2\",\"semver\":\"^6.2.0\",\"typescript\":\"^3.8.3\",\"uuid\":\"^3.3.2\"},\"dependencies\":{},\"lint-staged\":{\"*.js\":[\"prettier --write\",\"git add\"]}}"); - -/***/ }), - -/***/ "./node_modules/kafkajs/src/admin/index.js": -/*!*************************************************!*\ - !*** ./node_modules/kafkajs/src/admin/index.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 75:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const waitFor = __webpack_require__(/*! ../utils/waitFor */ "./node_modules/kafkajs/src/utils/waitFor.js") -const groupBy = __webpack_require__(/*! ../utils/groupBy */ "./node_modules/kafkajs/src/utils/groupBy.js") -const createConsumer = __webpack_require__(/*! ../consumer */ "./node_modules/kafkajs/src/consumer/index.js") -const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") -const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/admin/instrumentationEvents.js") -const { LEVELS } = __webpack_require__(/*! ../loggers */ "./node_modules/kafkajs/src/loggers/index.js") -const { - KafkaJSNonRetriableError, - KafkaJSDeleteGroupsError, - KafkaJSBrokerNotFound, - KafkaJSDeleteTopicRecordsError, - KafkaJSAggregateError, -} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const { staleMetadata } = __webpack_require__(/*! ../protocol/error */ "./node_modules/kafkajs/src/protocol/error.js") -const CONFIG_RESOURCE_TYPES = __webpack_require__(/*! ../protocol/configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") -const ACL_RESOURCE_TYPES = __webpack_require__(/*! ../protocol/aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") -const ACL_OPERATION_TYPES = __webpack_require__(/*! ../protocol/aclOperationTypes */ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js") -const ACL_PERMISSION_TYPES = __webpack_require__(/*! ../protocol/aclPermissionTypes */ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js") -const RESOURCE_PATTERN_TYPES = __webpack_require__(/*! ../protocol/resourcePatternTypes */ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js") -const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") - -const { CONNECT, DISCONNECT } = events - -const NO_CONTROLLER_ID = -1 - -const { values, keys, entries } = Object -const eventNames = values(events) -const eventKeys = keys(events) - .map(key => `admin.events.${key}`) - .join(', ') - -const retryOnLeaderNotAvailable = (fn, opts = {}) => { - const callback = async () => { - try { - return await fn() - } catch (e) { - if (e.type !== 'LEADER_NOT_AVAILABLE') { - throw e - } - return false - } - } - - return waitFor(callback, opts) -} - -const isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state) -const findTopicPartitions = async (cluster, topic) => { - await cluster.addTargetTopic(topic) - await cluster.refreshMetadataIfNecessary() - - return cluster - .findTopicPartitionMetadata(topic) - .map(({ partitionId }) => partitionId) - .sort() -} -const indexByPartition = array => - array.reduce( - (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }), - {} - ) - -/** - * - * @param {Object} params - * @param {import("../../types").Logger} params.logger - * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] - * @param {import('../../types').RetryOptions} params.retry - * @param {import("../../types").Cluster} params.cluster - * - * @returns {import("../../types").Admin} - */ -module.exports = ({ - logger: rootLogger, - instrumentationEmitter: rootInstrumentationEmitter, - retry, - cluster, -}) => { - const logger = rootLogger.namespace('Admin') - const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() - - /** - * @returns {Promise} - */ - const connect = async () => { - await cluster.connect() - instrumentationEmitter.emit(CONNECT) - } - - /** - * @return {Promise} - */ - const disconnect = async () => { - await cluster.disconnect() - instrumentationEmitter.emit(DISCONNECT) - } - - /** - * @return {Promise} - */ - const listTopics = async () => { - const { topicMetadata } = await cluster.metadata() - const topics = topicMetadata.map(t => t.topic) - return topics - } - - /** - * @param {Object} request - * @param {array} request.topics - * @param {boolean} [request.validateOnly=false] - * @param {number} [request.timeout=5000] - * @param {boolean} [request.waitForLeaders=true] - * @return {Promise} - */ - const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => { - if (!topics || !Array.isArray(topics)) { - throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`) - } - - if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) { - throw new KafkaJSNonRetriableError( - 'Invalid topics array, the topic names have to be a valid string' - ) - } - - const topicNames = new Set(topics.map(({ topic }) => topic)) - if (topicNames.size < topics.length) { - throw new KafkaJSNonRetriableError( - 'Invalid topics array, it cannot have multiple entries for the same topic' - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - await broker.createTopics({ topics, validateOnly, timeout }) - - if (waitForLeaders) { - const topicNamesArray = Array.from(topicNames.values()) - await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), { - delay: 100, - maxWait: timeout, - timeoutMessage: 'Timed out while waiting for topic leaders', - }) - } - - return true - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not create topics', { error: e.message, retryCount, retryTime }) - throw e - } - - if (e instanceof KafkaJSAggregateError) { - if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) { - return false - } - } - - bail(e) - } - }) - } - /** - * @param {array} topicPartitions - * @param {boolean} [validateOnly=false] - * @param {number} [timeout=5000] - * @return {Promise} - */ - const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => { - if (!topicPartitions || !Array.isArray(topicPartitions)) { - throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`) - } - if (topicPartitions.length === 0) { - throw new KafkaJSNonRetriableError(`Empty topic partitions array`) - } - - if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) { - throw new KafkaJSNonRetriableError( - 'Invalid topic partitions array, the topic names have to be a valid string' - ) - } - - const topicNames = new Set(topicPartitions.map(({ topic }) => topic)) - if (topicNames.size < topicPartitions.length) { - throw new KafkaJSNonRetriableError( - 'Invalid topic partitions array, it cannot have multiple entries for the same topic' - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - await broker.createPartitions({ topicPartitions, validateOnly, timeout }) - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not create topics', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * @param {string[]} topics - * @param {number} [timeout=5000] - * @return {Promise} - */ - const deleteTopics = async ({ topics, timeout }) => { - if (!topics || !Array.isArray(topics)) { - throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`) - } - - if (topics.filter(topic => typeof topic !== 'string').length > 0) { - throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string') - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - await broker.deleteTopics({ topics, timeout }) - - // Remove deleted topics - for (const topic of topics) { - cluster.targetTopics.delete(topic) - } - - await cluster.refreshMetadata() - } catch (e) { - if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) { - logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime }) - throw e - } - - if (e.type === 'REQUEST_TIMED_OUT') { - logger.error( - 'Could not delete topics, check if "delete.topic.enable" is set to "true" (the default value is "false") or increase the timeout', - { - error: e.message, - retryCount, - retryTime, - } - ) - } - - bail(e) - } - }) - } - - /** - * @param {string} topic - */ - - const fetchTopicOffsets = async topic => { - if (!topic || typeof topic !== 'string') { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.addTargetTopic(topic) - await cluster.refreshMetadataIfNecessary() - - const metadata = cluster.findTopicPartitionMetadata(topic) - const high = await cluster.fetchTopicsOffset([ - { - topic, - fromBeginning: false, - partitions: metadata.map(p => ({ partition: p.partitionId })), - }, - ]) - - const low = await cluster.fetchTopicsOffset([ - { - topic, - fromBeginning: true, - partitions: metadata.map(p => ({ partition: p.partitionId })), - }, - ]) - - const { partitions: highPartitions } = high.pop() - const { partitions: lowPartitions } = low.pop() - return highPartitions.map(({ partition, offset }) => ({ - partition, - offset, - high: offset, - low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition) - .offset, - })) - } catch (e) { - if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { - await cluster.refreshMetadata() - throw e - } - - bail(e) - } - }) - } - - /** - * @param {string} topic - * @param {number} [timestamp] - */ - - const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => { - if (!topic || typeof topic !== 'string') { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.addTargetTopic(topic) - await cluster.refreshMetadataIfNecessary() - - const metadata = cluster.findTopicPartitionMetadata(topic) - const partitions = metadata.map(p => ({ partition: p.partitionId })) - - const high = await cluster.fetchTopicsOffset([ - { - topic, - fromBeginning: false, - partitions, - }, - ]) - const { partitions: highPartitions } = high.pop() - - const offsets = await cluster.fetchTopicsOffset([ - { - topic, - fromTimestamp: timestamp, - partitions, - }, - ]) - const { partitions: lowPartitions } = offsets.pop() - - return lowPartitions.map(({ partition, offset }) => ({ - partition, - offset: - parseInt(offset, 10) >= 0 - ? offset - : highPartitions.find(({ partition: highPartition }) => highPartition === partition) - .offset, - })) - } catch (e) { - if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { - await cluster.refreshMetadata() - throw e - } - - bail(e) - } - }) - } - - /** - * Fetch offsets for a topic or multiple topics - * - * Note: set either topic or topics but not both. - * - * @param {string} groupId - * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for. - * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`. - * @param {boolean} [resolveOffsets=false] - * @return {Promise} - */ - const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => { - if (!groupId) { - throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) - } - - if (!topic && !topics) { - topics = [] - } - - if (!topic && !Array.isArray(topics)) { - throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`) - } - - if (topic && topics) { - throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`) - } - - if (topic) { - topics = [topic] - } - - const coordinator = await cluster.findGroupCoordinator({ groupId }) - const topicsToFetch = await Promise.all( - topics.map(async topic => { - const partitions = await findTopicPartitions(cluster, topic) - const partitionsToFetch = partitions.map(partition => ({ partition })) - return { topic, partitions: partitionsToFetch } - }) - ) - let { responses: consumerOffsets } = await coordinator.offsetFetch({ - groupId, - topics: topicsToFetch, - }) - - if (resolveOffsets) { - consumerOffsets = await Promise.all( - consumerOffsets.map(async ({ topic, partitions }) => { - const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic)) - const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => { - let resolvedOffset = offset - if (Number(offset) === EARLIEST_OFFSET) { - resolvedOffset = indexedOffsets[partition].low - } - if (Number(offset) === LATEST_OFFSET) { - resolvedOffset = indexedOffsets[partition].high - } - return { - partition, - offset: resolvedOffset, - ...props, - } - }) - - await setOffsets({ groupId, topic, partitions: recalculatedPartitions }) - - return { - topic, - partitions: recalculatedPartitions, - } - }) - ) - } - - const result = consumerOffsets.map(({ topic, partitions }) => { - const completePartitions = partitions.map(({ partition, offset, metadata }) => ({ - partition, - offset, - metadata: metadata || null, - })) - - return { topic, partitions: completePartitions } - }) - - if (topic) { - return result.pop().partitions - } else { - return result - } - } - - /** - * @param {string} groupId - * @param {string} topic - * @param {boolean} [earliest=false] - * @return {Promise} - */ - const resetOffsets = async ({ groupId, topic, earliest = false }) => { - if (!groupId) { - throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) - } - - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - const partitions = await findTopicPartitions(cluster, topic) - const partitionsToSeek = partitions.map(partition => ({ - partition, - offset: cluster.defaultOffset({ fromBeginning: earliest }), - })) - - return setOffsets({ groupId, topic, partitions: partitionsToSeek }) - } - - /** - * @param {string} groupId - * @param {string} topic - * @param {Array} partitions - * @return {Promise} - * - * @typedef {Object} SeekEntry - * @property {number} partition - * @property {string} offset - */ - const setOffsets = async ({ groupId, topic, partitions }) => { - if (!groupId) { - throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`) - } - - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - if (!partitions || partitions.length === 0) { - throw new KafkaJSNonRetriableError(`Invalid partitions`) - } - - const consumer = createConsumer({ - logger: rootLogger.namespace('Admin', LEVELS.NOTHING), - cluster, - groupId, - }) - - await consumer.subscribe({ topic, fromBeginning: true }) - const description = await consumer.describeGroup() - - if (!isConsumerGroupRunning(description)) { - throw new KafkaJSNonRetriableError( - `The consumer group must have no running instances, current state: ${description.state}` - ) - } - - return new Promise((resolve, reject) => { - consumer.on(consumer.events.FETCH, async () => - consumer - .stop() - .then(resolve) - .catch(reject) - ) - - consumer - .run({ - eachBatchAutoResolve: false, - eachBatch: async () => true, - }) - .catch(reject) - - // This consumer doesn't need to consume any data - consumer.pause([{ topic }]) - - for (const seekData of partitions) { - consumer.seek({ topic, ...seekData }) - } - }) - } - - const isBrokerConfig = type => - [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type) - - /** - * Broker configs can only be returned by the target broker - * - * @see - * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783 - * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027 - * - * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config - */ - const groupResourcesByBroker = ({ resources, defaultBroker }) => - groupBy(resources, async ({ type, name: nodeId }) => { - return isBrokerConfig(type) - ? await cluster.findBroker({ nodeId: String(nodeId) }) - : defaultBroker - }) - - /** - * @param {Array} resources - * @param {boolean} [includeSynonyms=false] - * @return {Promise} - * - * @typedef {Object} ResourceConfigQuery - * @property {ConfigResourceType} type - * @property {string} name - * @property {Array} [configNames=[]] - */ - const describeConfigs = async ({ resources, includeSynonyms }) => { - if (!resources || !Array.isArray(resources)) { - throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`) - } - - if (resources.length === 0) { - throw new KafkaJSNonRetriableError('Resources array cannot be empty') - } - - const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES) - const invalidType = resources.find(r => !validResourceTypes.includes(r.type)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}` - ) - } - - const invalidName = resources.find(r => !r.name || typeof r.name !== 'string') - - if (invalidName) { - throw new KafkaJSNonRetriableError( - `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}` - ) - } - - const invalidConfigs = resources.find( - r => !Array.isArray(r.configNames) && r.configNames != null - ) - - if (invalidConfigs) { - const { configNames } = invalidConfigs - throw new KafkaJSNonRetriableError( - `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}` - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const controller = await cluster.findControllerBroker() - const resourcerByBroker = await groupResourcesByBroker({ - resources, - defaultBroker: controller, - }) - - const describeConfigsAction = async broker => { - const targetBroker = broker || controller - return targetBroker.describeConfigs({ - resources: resourcerByBroker.get(targetBroker), - includeSynonyms, - }) - } - - const brokers = Array.from(resourcerByBroker.keys()) - const responses = await Promise.all(brokers.map(describeConfigsAction)) - const responseResources = responses.reduce( - (result, { resources }) => [...result, ...resources], - [] - ) - - return { resources: responseResources } - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * @param {Array} resources - * @param {boolean} [validateOnly=false] - * @return {Promise} - * - * @typedef {Object} ResourceConfig - * @property {ConfigResourceType} type - * @property {string} name - * @property {Array} configEntries - * - * @typedef {Object} ResourceConfigEntry - * @property {string} name - * @property {string} value - */ - const alterConfigs = async ({ resources, validateOnly }) => { - if (!resources || !Array.isArray(resources)) { - throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`) - } - - if (resources.length === 0) { - throw new KafkaJSNonRetriableError('Resources array cannot be empty') - } - - const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES) - const invalidType = resources.find(r => !validResourceTypes.includes(r.type)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}` - ) - } - - const invalidName = resources.find(r => !r.name || typeof r.name !== 'string') - - if (invalidName) { - throw new KafkaJSNonRetriableError( - `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}` - ) - } - - const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries)) - - if (invalidConfigs) { - const { configEntries } = invalidConfigs - throw new KafkaJSNonRetriableError( - `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}` - ) - } - - const invalidConfigValue = resources.find(r => - r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string') - ) - - if (invalidConfigValue) { - throw new KafkaJSNonRetriableError( - `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}` - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const controller = await cluster.findControllerBroker() - const resourcerByBroker = await groupResourcesByBroker({ - resources, - defaultBroker: controller, - }) - - const alterConfigsAction = async broker => { - const targetBroker = broker || controller - return targetBroker.alterConfigs({ - resources: resourcerByBroker.get(targetBroker), - validateOnly: !!validateOnly, - }) - } - - const brokers = Array.from(resourcerByBroker.keys()) - const responses = await Promise.all(brokers.map(alterConfigsAction)) - const responseResources = responses.reduce( - (result, { resources }) => [...result, ...resources], - [] - ) - - return { resources: responseResources } - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation - * is limited by the topics in the target group, so it can't fetch all topics when - * necessary. - * - * Fetch metadata for provided topics. - * - * If no topics are provided fetch metadata for all topics of which we are aware. - * @see https://kafka.apache.org/protocol#The_Messages_Metadata - * - * @param {Object} [options] - * @param {string[]} [options.topics] - * @return {Promise} - * - * @typedef {Object} TopicsMetadata - * @property {Array} topics - * - * @typedef {Object} TopicMetadata - * @property {String} name - * @property {Array} partitions - * - * @typedef {Object} PartitionMetadata - * @property {number} partitionErrorCode Response error code - * @property {number} partitionId Topic partition id - * @property {number} leader The id of the broker acting as leader for this partition. - * @property {Array} replicas The set of all nodes that host this partition. - * @property {Array} isr The set of nodes that are in sync with the leader for this partition. - */ - const getTopicMetadata = async options => { - const { topics } = options || {} - - if (topics) { - await Promise.all( - topics.map(async topic => { - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - try { - await cluster.addTargetTopic(topic) - } catch (e) { - e.message = `Failed to add target topic ${topic}: ${e.message}` - throw e - } - }) - ) - } - - await cluster.refreshMetadataIfNecessary() - const targetTopics = topics || [...cluster.targetTopics] - - return { - topics: await Promise.all( - targetTopics.map(async topic => ({ - name: topic, - partitions: cluster.findTopicPartitionMetadata(topic), - })) - ), - } - } - - /** - * Fetch metadata for provided topics. - * - * If no topics are provided fetch metadata for all topics. - * @see https://kafka.apache.org/protocol#The_Messages_Metadata - * - * @param {Object} [options] - * @param {string[]} [options.topics] - * @return {Promise} - * - * @typedef {Object} TopicsMetadata - * @property {Array} topics - * - * @typedef {Object} TopicMetadata - * @property {String} name - * @property {Array} partitions - * - * @typedef {Object} PartitionMetadata - * @property {number} partitionErrorCode Response error code - * @property {number} partitionId Topic partition id - * @property {number} leader The id of the broker acting as leader for this partition. - * @property {Array} replicas The set of all nodes that host this partition. - * @property {Array} isr The set of nodes that are in sync with the leader for this partition. - */ - const fetchTopicMetadata = async ({ topics = [] } = {}) => { - if (topics) { - topics.forEach(topic => { - if (!topic || typeof topic !== 'string') { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - }) - } - - const metadata = await cluster.metadata({ topics }) - - return { - topics: metadata.topicMetadata.map(topicMetadata => ({ - name: topicMetadata.topic, - partitions: topicMetadata.partitionMetadata, - })), - } - } - - /** - * Describe cluster - * - * @return {Promise} - * - * @typedef {Object} ClusterMetadata - * @property {Array} brokers - * @property {Number} controller Current controller id. Returns null if unknown. - * @property {String} clusterId - * - * @typedef {Object} Broker - * @property {Number} nodeId - * @property {String} host - * @property {Number} port - */ - const describeCluster = async () => { - const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] }) - const brokers = nodes.map(({ nodeId, host, port }) => ({ - nodeId, - host, - port, - })) - const controller = - controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId - - return { - brokers, - controller, - clusterId, - } - } - - /** - * List groups in a broker - * - * @return {Promise} - * - * @typedef {Object} ListGroups - * @property {Array} groups - * - * @typedef {Object} ListGroup - * @property {string} groupId - * @property {string} protocolType - */ - const listGroups = async () => { - await cluster.refreshMetadata() - let groups = [] - for (var nodeId in cluster.brokerPool.brokers) { - const broker = await cluster.findBroker({ nodeId }) - const response = await broker.listGroups() - groups = groups.concat(response.groups) - } - - return { groups } - } - - /** - * Describe groups by group ids - * @param {Array} groupIds - * - * @typedef {Object} GroupDescriptions - * @property {Array} groups - * - * @return {Promise} - */ - const describeGroups = async groupIds => { - const coordinatorsForGroup = await Promise.all( - groupIds.map(async groupId => { - const coordinator = await cluster.findGroupCoordinator({ groupId }) - return { - coordinator, - groupId, - } - }) - ) - - const groupsByCoordinator = Object.values( - coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => { - const group = coordinators[coordinator.nodeId] - - if (group) { - coordinators[coordinator.nodeId] = { - ...group, - groupIds: [...group.groupIds, groupId], - } - } else { - coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] } - } - return coordinators - }, {}) - ) - - const responses = await Promise.all( - groupsByCoordinator.map(async ({ coordinator, groupIds }) => { - const retrier = createRetry(retry) - const { groups } = await retrier(() => coordinator.describeGroups({ groupIds })) - return groups - }) - ) - - const groups = [].concat.apply([], responses) - - return { groups } - } - - /** - * Delete groups in a broker - * - * @param {string[]} [groupIds] - * @return {Promise} - * - * @typedef {Array} DeleteGroups - * @property {string} groupId - * @property {number} errorCode - */ - const deleteGroups = async groupIds => { - if (!groupIds || !Array.isArray(groupIds)) { - throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`) - } - - const invalidGroupId = groupIds.some(g => typeof g !== 'string') - - if (invalidGroupId) { - throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`) - } - - const retrier = createRetry(retry) - - let results = [] - - let clonedGroupIds = groupIds.slice() - - return retrier(async (bail, retryCount, retryTime) => { - try { - if (clonedGroupIds.length === 0) return [] - - await cluster.refreshMetadata() - - const brokersPerGroups = {} - const brokersPerNode = {} - for (const groupId of clonedGroupIds) { - const broker = await cluster.findGroupCoordinator({ groupId }) - if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = [] - brokersPerGroups[broker.nodeId].push(groupId) - brokersPerNode[broker.nodeId] = broker - } - - const res = await Promise.all( - Object.keys(brokersPerNode).map( - async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId]) - ) - ) - - const errors = flatten( - res.map(({ results }) => - results.map(({ groupId, errorCode, error }) => { - return { groupId, errorCode, error } - }) - ) - ).filter(({ errorCode }) => errorCode !== 0) - - clonedGroupIds = errors.map(({ groupId }) => groupId) - - if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors) - - results = flatten(res.map(({ results }) => results)) - - return results - } catch (e) { - if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') { - logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * Delete topic records up to the selected partition offsets - * - * @param {string} topic - * @param {Array} partitions - * @return {Promise} - * - * @typedef {Object} SeekEntry - * @property {number} partition - * @property {string} offset - */ - const deleteTopicRecords = async ({ topic, partitions }) => { - if (!topic || typeof topic !== 'string') { - throw new KafkaJSNonRetriableError(`Invalid topic "${topic}"`) - } - - if (!partitions || partitions.length === 0) { - throw new KafkaJSNonRetriableError(`Invalid partitions`) - } - - const partitionsByBroker = cluster.findLeaderForPartitions( - topic, - partitions.map(p => p.partition) - ) - - const partitionsFound = flatten(values(partitionsByBroker)) - const topicOffsets = await fetchTopicOffsets(topic) - - const leaderNotFoundErrors = [] - partitions.forEach(({ partition, offset }) => { - // throw if no leader found for partition - if (!partitionsFound.includes(partition)) { - leaderNotFoundErrors.push({ - partition, - offset, - error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', { - retriable: false, - }), - }) - return - } - const { low } = topicOffsets.find(p => p.partition === partition) || { - high: undefined, - low: undefined, - } - // warn in case of offset below low watermark - if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) { - logger.warn( - 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition', - { - topic, - partition, - offset, - } - ) - } - }) - - if (leaderNotFoundErrors.length > 0) { - throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors }) - } - - const seekEntriesByBroker = entries(partitionsByBroker).reduce( - (obj, [nodeId, nodePartitions]) => { - obj[nodeId] = { - topic, - partitions: partitions.filter(p => nodePartitions.includes(p.partition)), - } - return obj - }, - {} - ) - - const retrier = createRetry(retry) - return retrier(async bail => { - try { - const partitionErrors = [] - - const brokerRequests = entries(seekEntriesByBroker).map( - ([nodeId, { topic, partitions }]) => async () => { - const broker = await cluster.findBroker({ nodeId }) - await broker.deleteRecords({ topics: [{ topic, partitions }] }) - // remove successful entry so it's ignored on retry - delete seekEntriesByBroker[nodeId] - } - ) - - await Promise.all( - brokerRequests.map(request => - request().catch(e => { - if (e.name === 'KafkaJSDeleteTopicRecordsError') { - e.partitions.forEach(({ partition, offset, error }) => { - partitionErrors.push({ - partition, - offset, - error, - }) - }) - } else { - // then it's an unknown error, not from the broker response - throw e - } - }) - ) - ) - - if (partitionErrors.length > 0) { - throw new KafkaJSDeleteTopicRecordsError({ - topic, - partitions: partitionErrors, - }) - } - } catch (e) { - if ( - e.retriable && - e.partitions.some( - ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded' - ) - ) { - await cluster.refreshMetadata() - } - throw e - } - }) - } - - /** - * @param {Array} acl - * @return {Promise} - * - * @typedef {Object} ACLEntry - */ - const createAcls = async ({ acl }) => { - if (!acl || !Array.isArray(acl)) { - throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`) - } - if (acl.length === 0) { - throw new KafkaJSNonRetriableError('Empty ACL array') - } - - // Validate principal - if (acl.some(({ principal }) => typeof principal !== 'string')) { - throw new KafkaJSNonRetriableError( - 'Invalid ACL array, the principals have to be a valid string' - ) - } - - // Validate host - if (acl.some(({ host }) => typeof host !== 'string')) { - throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string') - } - - // Validate resourceName - if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) { - throw new KafkaJSNonRetriableError( - 'Invalid ACL array, the resourceNames have to be a valid string' - ) - } - - let invalidType - // Validate operation - const validOperationTypes = Object.values(ACL_OPERATION_TYPES) - invalidType = acl.find(i => !validOperationTypes.includes(i.operation)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}` - ) - } - - // Validate resourcePatternTypes - const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) - invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify( - invalidType - )}` - ) - } - - // Validate permissionTypes - const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) - invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}` - ) - } - - // Validate resourceTypes - const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) - invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}` - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - await broker.createAcls({ acl }) - - return true - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * @param {ACLResourceTypes} resourceType The type of resource - * @param {string} resourceName The name of the resource - * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter - * @param {string} principal The principal name - * @param {string} host The hostname - * @param {ACLOperationTypes} operation The type of operation - * @param {ACLPermissionTypes} permissionType The type of permission - * @return {Promise} - * - * @typedef {number} ACLResourceTypes - * @typedef {number} ACLResourcePatternTypes - * @typedef {number} ACLOperationTypes - * @typedef {number} ACLPermissionTypes - */ - const describeAcls = async ({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }) => { - // Validate principal - if (typeof principal !== 'string' && typeof principal !== 'undefined') { - throw new KafkaJSNonRetriableError( - 'Invalid principal, the principal have to be a valid string' - ) - } - - // Validate host - if (typeof host !== 'string' && typeof host !== 'undefined') { - throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string') - } - - // Validate resourceName - if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') { - throw new KafkaJSNonRetriableError( - 'Invalid resourceName, the resourceName have to be a valid string' - ) - } - - // Validate operation - const validOperationTypes = Object.values(ACL_OPERATION_TYPES) - if (!validOperationTypes.includes(operation)) { - throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`) - } - - // Validate resourcePatternType - const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) - if (!validResourcePatternTypes.includes(resourcePatternType)) { - throw new KafkaJSNonRetriableError( - `Invalid resource pattern filter type ${resourcePatternType}` - ) - } - - // Validate permissionType - const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) - if (!validPermissionTypes.includes(permissionType)) { - throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`) - } - - // Validate resourceType - const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) - if (!validResourceTypes.includes(resourceType)) { - throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - const { resources } = await broker.describeAcls({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }) - return { resources } - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** - * @param {Array} filters - * @return {Promise} - * - * @typedef {Object} ACLFilter - */ - const deleteAcls = async ({ filters }) => { - if (!filters || !Array.isArray(filters)) { - throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`) - } - - if (filters.length === 0) { - throw new KafkaJSNonRetriableError('Empty ACL Filter array') - } - - // Validate principal - if ( - filters.some( - ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined' - ) - ) { - throw new KafkaJSNonRetriableError( - 'Invalid ACL Filter array, the principals have to be a valid string' - ) - } - - // Validate host - if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) { - throw new KafkaJSNonRetriableError( - 'Invalid ACL Filter array, the hosts have to be a valid string' - ) - } - - // Validate resourceName - if ( - filters.some( - ({ resourceName }) => - typeof resourceName !== 'string' && typeof resourceName !== 'undefined' - ) - ) { - throw new KafkaJSNonRetriableError( - 'Invalid ACL Filter array, the resourceNames have to be a valid string' - ) - } - - let invalidType - // Validate operation - const validOperationTypes = Object.values(ACL_OPERATION_TYPES) - invalidType = filters.find(i => !validOperationTypes.includes(i.operation)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}` - ) - } - - // Validate resourcePatternTypes - const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES) - invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify( - invalidType - )}` - ) - } - - // Validate permissionTypes - const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES) - invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}` - ) - } - - // Validate resourceTypes - const validResourceTypes = Object.values(ACL_RESOURCE_TYPES) - invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType)) - - if (invalidType) { - throw new KafkaJSNonRetriableError( - `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}` - ) - } - - const retrier = createRetry(retry) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadata() - const broker = await cluster.findControllerBroker() - const { filterResponses } = await broker.deleteAcls({ filters }) - return { filterResponses } - } catch (e) { - if (e.type === 'NOT_CONTROLLER') { - logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime }) - throw e - } - - bail(e) - } - }) - } - - /** @type {import("../../types").Admin["on"]} */ - const on = (eventName, listener) => { - if (!eventNames.includes(eventName)) { - throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) - } - - return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { - event.type = wrapEvent(event.type) - Promise.resolve(listener(event)).catch(e => { - logger.error(`Failed to execute listener: ${e.message}`, { - eventName, - stack: e.stack, - }) - }) - }) - } - - /** - * @return {Object} logger - */ - const getLogger = () => logger - - return { - connect, - disconnect, - listTopics, - createTopics, - deleteTopics, - createPartitions, - getTopicMetadata, - fetchTopicMetadata, - describeCluster, - events, - fetchOffsets, - fetchTopicOffsets, - fetchTopicOffsetsByTimestamp, - setOffsets, - resetOffsets, - describeConfigs, - alterConfigs, - on, - logger: getLogger, - listGroups, - describeGroups, - deleteGroups, - describeAcls, - deleteAcls, - createAcls, - deleteTopicRecords, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/admin/instrumentationEvents.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/admin/instrumentationEvents.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") -const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") -const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") -const adminType = InstrumentationEventType('admin') - -const events = { - CONNECT: adminType('connect'), - DISCONNECT: adminType('disconnect'), - REQUEST: adminType(networkEvents.NETWORK_REQUEST), - REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT), - REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), -} - -const wrappedEvents = { - [events.REQUEST]: networkEvents.NETWORK_REQUEST, - [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, - [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, -} - -const reversedWrappedEvents = swapObject(wrappedEvents) -const unwrap = eventName => wrappedEvents[eventName] || eventName -const wrap = eventName => reversedWrappedEvents[eventName] || eventName - -module.exports = { - events, - wrap, - unwrap, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/index.js": -/*!**************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/index.js ***! - \**************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const Lock = __webpack_require__(/*! ../utils/lock */ "./node_modules/kafkajs/src/utils/lock.js") -const { Types: Compression } = __webpack_require__(/*! ../protocol/message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") -const { requests, lookup } = __webpack_require__(/*! ../protocol/requests */ "./node_modules/kafkajs/src/protocol/requests/index.js") -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const apiKeys = __webpack_require__(/*! ../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const SASLAuthenticator = __webpack_require__(/*! ./saslAuthenticator */ "./node_modules/kafkajs/src/broker/saslAuthenticator/index.js") -const shuffle = __webpack_require__(/*! ../utils/shuffle */ "./node_modules/kafkajs/src/utils/shuffle.js") -const { ApiVersions: apiVersionsApiKey } = __webpack_require__(/*! ../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const sharedPromiseTo = __webpack_require__(/*! ../utils/sharedPromiseTo */ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js") - -const PRIVATE = { - SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'), - SEND_REQUEST: Symbol('private:Broker:sendRequest'), - AUTHENTICATE: Symbol('private:Broker:authenticate'), -} - -/** @type {import("../protocol/requests").Lookup} */ -const notInitializedLookup = () => { - throw new Error('Broker not connected') -} - -/** - * @param request - request from protocol - * @returns {boolean} - */ -const isAuthenticatedRequest = request => { - return request.apiKey !== apiVersionsApiKey -} - -/** - * Each node in a Kafka cluster is called broker. This class contains - * the high-level operations a node can perform. - * - * @type {import("../../types").Broker} - */ -module.exports = class Broker { - /** - * @param {Object} options - * @param {import("../network/connection")} options.connection - * @param {import("../../types").Logger} options.logger - * @param {number} [options.nodeId] - * @param {import("../../types").ApiVersions} [options.versions=null] The object with all available versions and APIs - * supported by this cluster. The output of broker#apiVersions - * @param {number} [options.authenticationTimeout=1000] - * @param {number} [options.reauthenticationThreshold=10000] - * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable' - * are true, topics that don't exist will be created when - * fetching metadata. - * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol - */ - constructor({ - connection, - logger, - nodeId = null, - versions = null, - authenticationTimeout = 1000, - reauthenticationThreshold = 10000, - allowAutoTopicCreation = true, - supportAuthenticationProtocol = null, - }) { - this.connection = connection - this.nodeId = nodeId - this.rootLogger = logger - this.logger = logger.namespace('Broker') - this.versions = versions - this.authenticationTimeout = authenticationTimeout - this.reauthenticationThreshold = reauthenticationThreshold - this.allowAutoTopicCreation = allowAutoTopicCreation - this.supportAuthenticationProtocol = supportAuthenticationProtocol - - this.authenticatedAt = null - this.sessionLifetime = Long.ZERO - - // The lock timeout has twice the connectionTimeout because the same timeout is used - // for the first apiVersions call - const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout - this.brokerAddress = `${this.connection.host}:${this.connection.port}` - - this.lock = new Lock({ - timeout: lockTimeout, - description: `connect to broker ${this.brokerAddress}`, - }) - - this.lookupRequest = notInitializedLookup - - /** - * @private - * @returns {Promise} - */ - this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => { - if (this.connection.sasl && !this.isAuthenticated()) { - const authenticator = new SASLAuthenticator( - this.connection, - this.rootLogger, - this.versions, - this.supportAuthenticationProtocol - ) - - await authenticator.authenticate() - this.authenticatedAt = process.hrtime() - this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime) - } - }) - } - - /** - * @public - * @returns {boolean} - */ - isAuthenticated() { - return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]() - } - - /** - * @public - * @returns {boolean} - */ - isConnected() { - const { connected, sasl } = this.connection - return sasl ? connected && this.isAuthenticated() : connected - } - - /** - * @public - * @returns {Promise} - */ - async connect() { - try { - await this.lock.acquire() - if (this.isConnected()) { - return - } - - this.authenticatedAt = null - await this.connection.connect() - - if (!this.versions) { - this.versions = await this.apiVersions() - } - - this.lookupRequest = lookup(this.versions) - - if (this.supportAuthenticationProtocol === null) { - try { - this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate) - this.supportAuthenticationProtocol = true - } catch (_) { - this.supportAuthenticationProtocol = false - } - - this.logger.debug(`Verified support for SaslAuthenticate`, { - broker: this.brokerAddress, - supportAuthenticationProtocol: this.supportAuthenticationProtocol, - }) - } - - await this[PRIVATE.AUTHENTICATE]() - } finally { - await this.lock.release() - } - } - - /** - * @public - * @returns {Promise} - */ - async disconnect() { - this.authenticatedAt = null - await this.connection.disconnect() - } - - /** - * @public - * @returns {Promise} - */ - async apiVersions() { - let response - const availableVersions = requests.ApiVersions.versions - .map(Number) - .sort() - .reverse() - - // Find the best version implemented by the server - for (const candidateVersion of availableVersions) { - try { - const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion }) - response = await this[PRIVATE.SEND_REQUEST]({ - ...apiVersions(), - requestTimeout: this.connection.connectionTimeout, - }) - break - } catch (e) { - if (e.type !== 'UNSUPPORTED_VERSION') { - throw e - } - } - } - - if (!response) { - throw new KafkaJSNonRetriableError('API Versions not supported') - } - - return response.apiVersions.reduce( - (obj, version) => - Object.assign(obj, { - [version.apiKey]: { - minVersion: version.minVersion, - maxVersion: version.maxVersion, - }, - }), - {} - ) - } - - /** - * @public - * @type {import("../../types").Broker['metadata']} - * @param {string[]} [topics=[]] An array of topics to fetch metadata for. - * If no topics are specified fetch metadata for all topics - */ - async metadata(topics = []) { - const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata) - const shuffledTopics = shuffle(topics) - return await this[PRIVATE.SEND_REQUEST]( - metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation }) - ) - } - - /** - * @public - * @param {Object} request - * @param {Array} request.topicData An array of messages per topic and per partition, example: - * [ - * { - * topic: 'test-topic-1', - * partitions: [ - * { - * partition: 0, - * firstSequence: 0, - * messages: [ - * { key: '1', value: 'A' }, - * { key: '2', value: 'B' }, - * ] - * }, - * { - * partition: 1, - * firstSequence: 0, - * messages: [ - * { key: '3', value: 'C' }, - * ] - * } - * ] - * }, - * { - * topic: 'test-topic-2', - * partitions: [ - * { - * partition: 4, - * firstSequence: 0, - * messages: [ - * { key: '32', value: 'E' }, - * ] - * }, - * ] - * }, - * ] - * @param {number} [request.acks=-1] Control the number of required acks. - * -1 = all replicas must acknowledge - * 0 = no acknowledgments - * 1 = only waits for the leader to acknowledge - * @param {number} [request.timeout=30000] The time to await a response in ms - * @param {string} [request.transactionalId=null] - * @param {number} [request.producerId=-1] Broker assigned producerId - * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch - * @param {import("../../types").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec - * @returns {Promise} - */ - async produce({ - topicData, - transactionalId, - producerId, - producerEpoch, - acks = -1, - timeout = 30000, - compression = Compression.None, - }) { - const produce = this.lookupRequest(apiKeys.Produce, requests.Produce) - return await this[PRIVATE.SEND_REQUEST]( - produce({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }) - ) - } - - /** - * @public - * @param {Object} request - * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1 - * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED. - * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response - * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response - * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is - * not an absolute maximum, if the first message in the first non-empty - * partition of the fetch is larger than this value, the message will still - * be returned to ensure that progress can be made. Default 10MB. - * @param {Array} request.topics Topics to fetch - * [ - * { - * topic: 'topic-name', - * partitions: [ - * { - * partition: 0, - * fetchOffset: '4124', - * maxBytes: 2048 - * } - * ] - * } - * ] - * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this - * client is physically located. It corresponds with the broker config `broker.rack`. - * @returns {Promise} - */ - async fetch({ - replicaId, - isolationLevel, - maxWaitTime = 5000, - minBytes = 1, - maxBytes = 10485760, - topics, - rackId = '', - }) { - // TODO: validate topics not null/empty - const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch) - - // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74) - const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => { - partitions.forEach(partition => { - topicPartitions.push({ topic, partition }) - }) - return topicPartitions - }, []) - - const shuffledTopicPartitions = shuffle(flattenedTopicPartitions) - - // Consecutive partitions for the same topic can be combined into a single `topic` entry - const consolidatedTopicPartitions = shuffledTopicPartitions.reduce( - (topicPartitions, { topic, partition }) => { - const last = topicPartitions[topicPartitions.length - 1] - - if (last != null && last.topic === topic) { - topicPartitions[topicPartitions.length - 1].partitions.push(partition) - } else { - topicPartitions.push({ topic, partitions: [partition] }) - } - - return topicPartitions - }, - [] - ) - - return await this[PRIVATE.SEND_REQUEST]( - fetch({ - replicaId, - isolationLevel, - maxWaitTime, - minBytes, - maxBytes, - topics: consolidatedTopicPartitions, - rackId, - }) - ) - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId The group id - * @param {number} request.groupGenerationId The generation of the group - * @param {string} request.memberId The member id assigned by the group coordinator - * @returns {Promise} - */ - async heartbeat({ groupId, groupGenerationId, memberId }) { - const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat) - return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId })) - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId The unique group id - * @param {import("../protocol/coordinatorTypes").CoordinatorType} request.coordinatorType The type of coordinator to find - * @returns {Promise} - */ - async findGroupCoordinator({ groupId, coordinatorType }) { - // TODO: validate groupId, mandatory - const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator) - return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType })) - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId The unique group id - * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives - * no heartbeat after this timeout in ms - * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member - * to rejoin when rebalancing the group - * @param {string} [request.memberId=""] The assigned consumer id or an empty string for a new consumer - * @param {string} [request.protocolType="consumer"] Unique name for class of protocols implemented by group - * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy) - * [{ name: 'AssignerName', metadata: '{"version": 1, "topics": []}' }] - * @returns {Promise} - */ - async joinGroup({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId = '', - protocolType = 'consumer', - groupProtocols, - }) { - const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup) - const makeRequest = (assignedMemberId = memberId) => - this[PRIVATE.SEND_REQUEST]( - joinGroup({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId: assignedMemberId, - protocolType, - groupProtocols, - }) - ) - - try { - return await makeRequest() - } catch (error) { - if (error.name === 'KafkaJSMemberIdRequired') { - return makeRequest(error.memberId) - } - - throw error - } - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId - * @param {string} request.memberId - * @returns {Promise} - */ - async leaveGroup({ groupId, memberId }) { - const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup) - return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId })) - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId - * @param {number} request.generationId - * @param {string} request.memberId - * @param {object} request.groupAssignment - * @returns {Promise} - */ - async syncGroup({ groupId, generationId, memberId, groupAssignment }) { - const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup) - return await this[PRIVATE.SEND_REQUEST]( - syncGroup({ - groupId, - generationId, - memberId, - groupAssignment, - }) - ) - } - - /** - * @public - * @param {object} request - * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1 - * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only) - * @param {TopicPartitionOffset[]} request.topics e.g: - * - * @typedef {Object} TopicPartitionOffset - * @property {string} topic - * @property {PartitionOffset[]} partitions - * - * @typedef {Object} PartitionOffset - * @property {number} partition - * @property {number} [timestamp=-1] - * - * - * @returns {Promise} - */ - async listOffsets({ replicaId, isolationLevel, topics }) { - const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets) - const result = await this[PRIVATE.SEND_REQUEST]( - listOffsets({ replicaId, isolationLevel, topics }) - ) - - // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0). - // Normalize to just return `offset`. - for (const response of result.responses) { - response.partitions = response.partitions.map(({ offsets, ...partitionData }) => { - return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData - }) - } - - return result - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId - * @param {number} request.groupGenerationId - * @param {string} request.memberId - * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration - * should be used. - * @param {object} request.topics Topics to commit offsets, e.g: - * [ - * { - * topic: 'topic-name', - * partitions: [ - * { partition: 0, offset: '11' } - * ] - * } - * ] - * @returns {Promise} - */ - async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) { - const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit) - return await this[PRIVATE.SEND_REQUEST]( - offsetCommit({ - groupId, - groupGenerationId, - memberId, - retentionTime, - topics, - }) - ) - } - - /** - * @public - * @param {object} request - * @param {string} request.groupId - * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g: - * [ - * { - * topic: 'topic-name', - * partitions: [ - * { partition: 0 } - * ] - * } - * ] - * @returns {Promise} - */ - async offsetFetch({ groupId, topics }) { - const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch) - return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics })) - } - - /** - * @public - * @param {object} request - * @param {Array} request.groupIds - * @returns {Promise} - */ - async describeGroups({ groupIds }) { - const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups) - return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds })) - } - - /** - * @public - * @param {object} request - * @param {Array} request.topics e.g: - * [ - * { - * topic: 'topic-name', - * numPartitions: 1, - * replicationFactor: 1 - * } - * ] - * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic - * won't be created - * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created - * on the controller node - * @returns {Promise} - */ - async createTopics({ topics, validateOnly = false, timeout = 5000 }) { - const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics) - return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout })) - } - - /** - * @public - * @param {object} request - * @param {Array} request.topicPartitions e.g: - * [ - * { - * topic: 'topic-name', - * count: 3, - * assignments: [] - * } - * ] - * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic - * won't be created - * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created - * on the controller node - * @returns {Promise} - */ - async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) { - const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions) - return await this[PRIVATE.SEND_REQUEST]( - createPartitions({ topicPartitions, validateOnly, timeout }) - ) - } - - /** - * @public - * @param {object} request - * @param {string[]} request.topics An array of topics to be deleted - * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the - * controller node. Values <= 0 will trigger topic deletion and return - * immediately - * @returns {Promise} - */ - async deleteTopics({ topics, timeout = 5000 }) { - const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics) - return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout })) - } - - /** - * @public - * @param {object} request - * @param {import("../../types").ResourceConfigQuery[]} request.resources - * [{ - * type: RESOURCE_TYPES.TOPIC, - * name: 'topic-name', - * configNames: ['compression.type', 'retention.ms'] - * }] - * @param {boolean} [request.includeSynonyms=false] - * @returns {Promise} - */ - async describeConfigs({ resources, includeSynonyms = false }) { - const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs) - return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms })) - } - - /** - * @public - * @param {object} request - * @param {import("../../types").IResourceConfig[]} request.resources - * [{ - * type: RESOURCE_TYPES.TOPIC, - * name: 'topic-name', - * configEntries: [ - * { - * name: 'cleanup.policy', - * value: 'compact' - * } - * ] - * }] - * @param {boolean} [request.validateOnly=false] - * @returns {Promise} - */ - async alterConfigs({ resources, validateOnly = false }) { - const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs) - return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly })) - } - - /** - * Send an `InitProducerId` request to fetch a PID and bump the producer epoch. - * - * Request should be made to the transaction coordinator. - * @public - * @param {object} request - * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions - * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional - * @returns {Promise} - */ - async initProducerId({ transactionalId, transactionTimeout }) { - const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId) - return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout })) - } - - /** - * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction. - * - * Request should be made to the transaction coordinator. - * @public - * @param {object} request - * @param {string} request.transactionalId The transactional id corresponding to the transaction. - * @param {number} request.producerId Current producer id in use by the transactional id. - * @param {number} request.producerEpoch Current epoch associated with the producer id. - * @param {object[]} request.topics e.g: - * [ - * { - * topic: 'topic-name', - * partitions: [ 0, 1] - * } - * ] - * @returns {Promise} - */ - async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) { - const addPartitionsToTxn = this.lookupRequest( - apiKeys.AddPartitionsToTxn, - requests.AddPartitionsToTxn - ) - return await this[PRIVATE.SEND_REQUEST]( - addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) - ) - } - - /** - * Send an `AddOffsetsToTxn` request. - * - * Request should be made to the transaction coordinator. - * @public - * @param {object} request - * @param {string} request.transactionalId The transactional id corresponding to the transaction. - * @param {number} request.producerId Current producer id in use by the transactional id. - * @param {number} request.producerEpoch Current epoch associated with the producer id. - * @param {string} request.groupId The unique group identifier (for the consumer group) - * @returns {Promise} - */ - async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) { - const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn) - return await this[PRIVATE.SEND_REQUEST]( - addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) - ) - } - - /** - * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics. - * - * Request should be made to the consumer coordinator. - * @public - * @param {object} request - * @param {OffsetCommitTopic[]} request.topics - * @param {string} request.transactionalId The transactional id corresponding to the transaction. - * @param {string} request.groupId The unique group identifier (for the consumer group) - * @param {number} request.producerId Current producer id in use by the transactional id. - * @param {number} request.producerEpoch Current epoch associated with the producer id. - * @param {OffsetCommitTopic[]} request.topics - * - * @typedef {Object} OffsetCommitTopic - * @property {string} topic - * @property {OffsetCommitTopicPartition[]} partitions - * - * @typedef {Object} OffsetCommitTopicPartition - * @property {number} partition - * @property {number} offset - * @property {string} [metadata] - * - * @returns {Promise} - */ - async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) { - const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit) - return await this[PRIVATE.SEND_REQUEST]( - txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) - ) - } - - /** - * Send an `EndTxn` request to indicate transaction should be committed or aborted. - * - * Request should be made to the transaction coordinator. - * @public - * @param {object} request - * @param {string} request.transactionalId The transactional id corresponding to the transaction. - * @param {number} request.producerId Current producer id in use by the transactional id. - * @param {number} request.producerEpoch Current epoch associated with the producer id. - * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT) - * @returns {Promise} - */ - async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) { - const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn) - return await this[PRIVATE.SEND_REQUEST]( - endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) - ) - } - - /** - * Send request for list of groups - * @public - * @returns {Promise} - */ - async listGroups() { - const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups) - return await this[PRIVATE.SEND_REQUEST](listGroups()) - } - - /** - * Send request to delete groups - * @param {string[]} groupIds - * @public - * @returns {Promise} - */ - async deleteGroups(groupIds) { - const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups) - return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds)) - } - - /** - * Send request to delete records - * @public - * @param {object} request - * @param {TopicPartitionRecords[]} request.topics - * [ - * { - * topic: 'my-topic-name', - * partitions: [ - * { partition: 0, offset 2 }, - * { partition: 1, offset 4 }, - * ], - * } - * ] - * @returns {Promise} example: - * { - * throttleTime: 0 - * [ - * { - * topic: 'my-topic-name', - * partitions: [ - * { partition: 0, lowWatermark: '2n', errorCode: 0 }, - * { partition: 1, lowWatermark: '4n', errorCode: 0 }, - * ], - * }, - * ] - * } - * - * @typedef {object} TopicPartitionRecords - * @property {string} topic - * @property {PartitionRecord[]} partitions - * - * @typedef {object} PartitionRecord - * @property {number} partition - * @property {number} offset - */ - async deleteRecords({ topics }) { - const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords) - return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics })) - } - - /** - * @public - * @param {object} request - * @param {import("../../types").AclEntry[]} request.acl e.g: - * [ - * { - * resourceType: AclResourceTypes.TOPIC, - * resourceName: 'topic-name', - * resourcePatternType: ResourcePatternTypes.LITERAL, - * principal: 'User:bob', - * host: '*', - * operation: AclOperationTypes.ALL, - * permissionType: AclPermissionTypes.DENY, - * } - * ] - * @returns {Promise} - */ - async createAcls({ acl }) { - const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls) - return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl })) - } - - /** - * @public - * @param {import("../../types").AclEntry} aclEntry - * @returns {Promise} - */ - async describeAcls({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }) { - const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls) - return await this[PRIVATE.SEND_REQUEST]( - describeAcls({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }) - ) - } - - /** - * @public - * @param {Object} request - * @param {import("../../types").AclEntry[]} request.filters - * @returns {Promise} - */ - async deleteAcls({ filters }) { - const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls) - return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters })) - } - - /*** - * @private - */ - [PRIVATE.SHOULD_REAUTHENTICATE]() { - if (this.sessionLifetime.equals(Long.ZERO)) { - return false - } - - if (this.authenticatedAt == null) { - return true - } - - const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt) - const millisSince = Long.fromValue(secondsSince) - .multiply(1000) - .add(Long.fromValue(remainingNanosSince).divide(1000000)) - - const reauthenticateAt = millisSince.add(this.reauthenticationThreshold) - return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime) - } - - /** - * @private - */ - async [PRIVATE.SEND_REQUEST](protocolRequest) { - if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) { - await this[PRIVATE.AUTHENTICATE]() - } - try { - return await this.connection.send(protocolRequest) - } catch (e) { - if (e.name === 'KafkaJSConnectionClosedError') { - await this.disconnect() - } - - throw e - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js": -/*!*********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const awsIam = __webpack_require__(/*! ../../protocol/sasl/awsIam */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js") -const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -module.exports = class AWSIAMAuthenticator { - constructor(connection, logger, saslAuthenticate) { - this.connection = connection - this.logger = logger.namespace('SASLAWSIAMAuthenticator') - this.saslAuthenticate = saslAuthenticate - } - - async authenticate() { - const { sasl } = this.connection - if (!sasl.authorizationIdentity) { - throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity') - } - if (!sasl.accessKeyId) { - throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId') - } - if (!sasl.secretAccessKey) { - throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey') - } - if (!sasl.sessionToken) { - sasl.sessionToken = '' - } - - const request = awsIam.request(sasl) - const response = awsIam.response - const { host, port } = this.connection - const broker = `${host}:${port}` - - try { - this.logger.debug('Authenticate with SASL AWS-IAM', { broker }) - await this.saslAuthenticate({ request, response }) - this.logger.debug('SASL AWS-IAM authentication successful', { broker }) - } catch (e) { - const error = new KafkaJSSASLAuthenticationError( - `SASL AWS-IAM authentication failed: ${e.message}` - ) - this.logger.error(error.message, { broker }) - throw error - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/index.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/index.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { requests, lookup } = __webpack_require__(/*! ../../protocol/requests */ "./node_modules/kafkajs/src/protocol/requests/index.js") -const apiKeys = __webpack_require__(/*! ../../protocol/requests/apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const PlainAuthenticator = __webpack_require__(/*! ./plain */ "./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js") -const SCRAM256Authenticator = __webpack_require__(/*! ./scram256 */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js") -const SCRAM512Authenticator = __webpack_require__(/*! ./scram512 */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js") -const AWSIAMAuthenticator = __webpack_require__(/*! ./awsIam */ "./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js") -const OAuthBearerAuthenticator = __webpack_require__(/*! ./oauthBearer */ "./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js") -const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -const AUTHENTICATORS = { - PLAIN: PlainAuthenticator, - 'SCRAM-SHA-256': SCRAM256Authenticator, - 'SCRAM-SHA-512': SCRAM512Authenticator, - AWS: AWSIAMAuthenticator, - OAUTHBEARER: OAuthBearerAuthenticator, -} - -const SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS) -const UNLIMITED_SESSION_LIFETIME = '0' - -module.exports = class SASLAuthenticator { - constructor(connection, logger, versions, supportAuthenticationProtocol) { - this.connection = connection - this.logger = logger - this.sessionLifetime = UNLIMITED_SESSION_LIFETIME - - const lookupRequest = lookup(versions) - this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake) - this.protocolAuthentication = supportAuthenticationProtocol - ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate) - : null - } - - async authenticate() { - const mechanism = this.connection.sasl.mechanism.toUpperCase() - if (!SUPPORTED_MECHANISMS.includes(mechanism)) { - throw new KafkaJSSASLAuthenticationError( - `SASL ${mechanism} mechanism is not supported by the client` - ) - } - - const handshake = await this.connection.send(this.saslHandshake({ mechanism })) - if (!handshake.enabledMechanisms.includes(mechanism)) { - throw new KafkaJSSASLAuthenticationError( - `SASL ${mechanism} mechanism is not supported by the server` - ) - } - - const saslAuthenticate = async ({ request, response, authExpectResponse }) => { - if (this.protocolAuthentication) { - const { buffer: requestAuthBytes } = await request.encode() - const authResponse = await this.connection.send( - this.protocolAuthentication({ authBytes: requestAuthBytes }) - ) - - // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string. - // This is not present in SaslAuthenticateV0, so we default to `"0"` - this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME - - if (!authExpectResponse) { - return - } - - const { authBytes: responseAuthBytes } = authResponse - const payloadDecoded = await response.decode(responseAuthBytes) - return response.parse(payloadDecoded) - } - - return this.connection.authenticate({ request, response, authExpectResponse }) - } - - const Authenticator = AUTHENTICATORS[mechanism] - await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate() - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** - * The sasl object must include a property named oauthBearerProvider, an - * async function that is used to return the OAuth bearer token. - * - * The OAuth bearer token must be an object with properties value and - * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER - * request. - * - * The implementation of the oauthBearerProvider must take care that tokens are - * reused and refreshed when appropriate. - */ - -const oauthBearer = __webpack_require__(/*! ../../protocol/sasl/oauthBearer */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js") -const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -module.exports = class OAuthBearerAuthenticator { - constructor(connection, logger, saslAuthenticate) { - this.connection = connection - this.logger = logger.namespace('SASLOAuthBearerAuthenticator') - this.saslAuthenticate = saslAuthenticate - } - - async authenticate() { - const { sasl } = this.connection - if (sasl.oauthBearerProvider == null) { - throw new KafkaJSSASLAuthenticationError( - 'SASL OAUTHBEARER: Missing OAuth bearer token provider' - ) - } - - const { oauthBearerProvider } = sasl - - const oauthBearerToken = await oauthBearerProvider() - - if (oauthBearerToken.value == null) { - throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token') - } - - const request = await oauthBearer.request(sasl, oauthBearerToken) - const response = oauthBearer.response - const { host, port } = this.connection - const broker = `${host}:${port}` - - try { - this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker }) - await this.saslAuthenticate({ request, response }) - this.logger.debug('SASL OAUTHBEARER authentication successful', { broker }) - } catch (e) { - const error = new KafkaJSSASLAuthenticationError( - `SASL OAUTHBEARER authentication failed: ${e.message}` - ) - this.logger.error(error.message, { broker }) - throw error - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const plain = __webpack_require__(/*! ../../protocol/sasl/plain */ "./node_modules/kafkajs/src/protocol/sasl/plain/index.js") -const { KafkaJSSASLAuthenticationError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -module.exports = class PlainAuthenticator { - constructor(connection, logger, saslAuthenticate) { - this.connection = connection - this.logger = logger.namespace('SASLPlainAuthenticator') - this.saslAuthenticate = saslAuthenticate - } - - async authenticate() { - const { sasl } = this.connection - if (sasl.username == null || sasl.password == null) { - throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password') - } - - const request = plain.request(sasl) - const response = plain.response - const { host, port } = this.connection - const broker = `${host}:${port}` - - try { - this.logger.debug('Authenticate with SASL PLAIN', { broker }) - await this.saslAuthenticate({ request, response }) - this.logger.debug('SASL PLAIN authentication successful', { broker }) - } catch (e) { - const error = new KafkaJSSASLAuthenticationError( - `SASL PLAIN authentication failed: ${e.message}` - ) - this.logger.error(error.message, { broker }) - throw error - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 323:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const crypto = __webpack_require__(/*! crypto */ "crypto") -const scram = __webpack_require__(/*! ../../protocol/sasl/scram */ "./node_modules/kafkajs/src/protocol/sasl/scram/index.js") -const { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -const GS2_HEADER = 'n,,' - -const EQUAL_SIGN_REGEX = /=/g -const COMMA_SIGN_REGEX = /,/g - -const URLSAFE_BASE64_PLUS_REGEX = /\+/g -const URLSAFE_BASE64_SLASH_REGEX = /\//g -const URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/ - -const HMAC_CLIENT_KEY = 'Client Key' -const HMAC_SERVER_KEY = 'Server Key' - -const DIGESTS = { - SHA256: { - length: 32, - type: 'sha256', - minIterations: 4096, - }, - SHA512: { - length: 64, - type: 'sha512', - minIterations: 4096, - }, -} - -const encode64 = str => Buffer.from(str).toString('base64') - -class SCRAM { - /** - * From https://tools.ietf.org/html/rfc5802#section-5.1 - * - * The characters ',' or '=' in usernames are sent as '=2C' and - * '=3D' respectively. If the server receives a username that - * contains '=' not followed by either '2C' or '3D', then the - * server MUST fail the authentication. - * - * @returns {String} - */ - static sanitizeString(str) { - return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C') - } - - /** - * In cryptography, a nonce is an arbitrary number that can be used just once. - * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random - * number issued in an authentication protocol to * ensure that old communications cannot be reused - * in replay attacks. - * - * @returns {String} - */ - static nonce() { - return crypto - .randomBytes(16) - .toString('base64') - .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe - .replace(URLSAFE_BASE64_SLASH_REGEX, '_') - .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '') - .toString('ascii') - } - - /** - * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the - * pseudorandom function (PRF) and with dkLen == output length of - * HMAC() == output length of H() - * - * @returns {Promise} - */ - static hi(password, salt, iterations, digestDefinition) { - return new Promise((resolve, reject) => { - crypto.pbkdf2( - password, - salt, - iterations, - digestDefinition.length, - digestDefinition.type, - (err, derivedKey) => (err ? reject(err) : resolve(derivedKey)) - ) - }) - } - - /** - * Apply the exclusive-or operation to combine the octet string - * on the left of this operator with the octet string on the right of - * this operator. The length of the output and each of the two - * inputs will be the same for this use - * - * @returns {Buffer} - */ - static xor(left, right) { - const bufferA = Buffer.from(left) - const bufferB = Buffer.from(right) - const length = Buffer.byteLength(bufferA) - - if (length !== Buffer.byteLength(bufferB)) { - throw new KafkaJSNonRetriableError('Buffers must be of the same length') - } - - const result = [] - for (let i = 0; i < length; i++) { - result.push(bufferA[i] ^ bufferB[i]) - } - - return Buffer.from(result) - } - - /** - * @param {Connection} connection - * @param {Logger} logger - * @param {Function} saslAuthenticate - * @param {DigestDefinition} digestDefinition - */ - constructor(connection, logger, saslAuthenticate, digestDefinition) { - this.connection = connection - this.logger = logger - this.saslAuthenticate = saslAuthenticate - this.digestDefinition = digestDefinition - - const digestType = digestDefinition.type.toUpperCase() - this.PREFIX = `SASL SCRAM ${digestType} authentication` - - this.currentNonce = SCRAM.nonce() - } - - async authenticate() { - const { PREFIX } = this - const { host, port, sasl } = this.connection - const broker = `${host}:${port}` - - if (sasl.username == null || sasl.password == null) { - throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`) - } - - try { - this.logger.debug('Exchanging first client message', { broker }) - const clientMessageResponse = await this.sendClientFirstMessage() - - this.logger.debug('Sending final message', { broker }) - const finalResponse = await this.sendClientFinalMessage(clientMessageResponse) - - if (finalResponse.e) { - throw new Error(finalResponse.e) - } - - const serverKey = await this.serverKey(clientMessageResponse) - const serverSignature = this.serverSignature(serverKey, clientMessageResponse) - - if (finalResponse.v !== serverSignature) { - throw new Error('Invalid server signature in server final message') - } - - this.logger.debug(`${PREFIX} successful`, { broker }) - } catch (e) { - const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`) - this.logger.error(error.message, { broker }) - throw error - } - } - - /** - * @private - */ - async sendClientFirstMessage() { - const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}` - const request = scram.firstMessage.request({ clientFirstMessage }) - const response = scram.firstMessage.response - - return this.saslAuthenticate({ - authExpectResponse: true, - request, - response, - }) - } - - /** - * @private - */ - async sendClientFinalMessage(clientMessageResponse) { - const { PREFIX } = this - const iterations = parseInt(clientMessageResponse.i, 10) - const { minIterations } = this.digestDefinition - - if (!clientMessageResponse.r.startsWith(this.currentNonce)) { - throw new KafkaJSSASLAuthenticationError( - `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce` - ) - } - - if (iterations < minIterations) { - throw new KafkaJSSASLAuthenticationError( - `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}` - ) - } - - const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse) - const clientProof = await this.clientProof(clientMessageResponse) - const finalMessage = `${finalMessageWithoutProof},p=${clientProof}` - const request = scram.finalMessage.request({ finalMessage }) - const response = scram.finalMessage.response - - return this.saslAuthenticate({ - authExpectResponse: true, - request, - response, - }) - } - - /** - * @private - */ - async clientProof(clientMessageResponse) { - const clientKey = await this.clientKey(clientMessageResponse) - const storedKey = this.H(clientKey) - const clientSignature = this.clientSignature(storedKey, clientMessageResponse) - return encode64(SCRAM.xor(clientKey, clientSignature)) - } - - /** - * @private - */ - async clientKey(clientMessageResponse) { - const saltedPassword = await this.saltPassword(clientMessageResponse) - return this.HMAC(saltedPassword, HMAC_CLIENT_KEY) - } - - /** - * @private - */ - async serverKey(clientMessageResponse) { - const saltedPassword = await this.saltPassword(clientMessageResponse) - return this.HMAC(saltedPassword, HMAC_SERVER_KEY) - } - - /** - * @private - */ - clientSignature(storedKey, clientMessageResponse) { - return this.HMAC(storedKey, this.authMessage(clientMessageResponse)) - } - - /** - * @private - */ - serverSignature(serverKey, clientMessageResponse) { - return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse))) - } - - /** - * @private - */ - authMessage(clientMessageResponse) { - return [ - this.firstMessageBare(), - clientMessageResponse.original, - this.finalMessageWithoutProof(clientMessageResponse), - ].join(',') - } - - /** - * @private - */ - async saltPassword(clientMessageResponse) { - const salt = Buffer.from(clientMessageResponse.s, 'base64') - const iterations = parseInt(clientMessageResponse.i, 10) - return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition) - } - - /** - * @private - */ - firstMessageBare() { - return `n=${this.encodedUsername()},r=${this.currentNonce}` - } - - /** - * @private - */ - finalMessageWithoutProof(clientMessageResponse) { - const rnonce = clientMessageResponse.r - return `c=${encode64(GS2_HEADER)},r=${rnonce}` - } - - /** - * @private - */ - encodedUsername() { - const { username } = this.connection.sasl - return SCRAM.sanitizeString(username).toString('utf-8') - } - - /** - * @private - */ - encodedPassword() { - const { password } = this.connection.sasl - return password.toString('utf-8') - } - - /** - * @private - */ - H(data) { - return crypto - .createHash(this.digestDefinition.type) - .update(data) - .digest() - } - - /** - * @private - */ - HMAC(key, data) { - return crypto - .createHmac(this.digestDefinition.type, key) - .update(data) - .digest() - } -} - -module.exports = { - DIGESTS, - SCRAM, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { SCRAM, DIGESTS } = __webpack_require__(/*! ./scram */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js") - -module.exports = class SCRAM256Authenticator extends SCRAM { - constructor(connection, logger, saslAuthenticate) { - super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { SCRAM, DIGESTS } = __webpack_require__(/*! ./scram */ "./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js") - -module.exports = class SCRAM512Authenticator extends SCRAM { - constructor(connection, logger, saslAuthenticate) { - super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/cluster/brokerPool.js": -/*!********************************************************!*\ - !*** ./node_modules/kafkajs/src/cluster/brokerPool.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Broker = __webpack_require__(/*! ../broker */ "./node_modules/kafkajs/src/broker/index.js") -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const shuffle = __webpack_require__(/*! ../utils/shuffle */ "./node_modules/kafkajs/src/utils/shuffle.js") -const arrayDiff = __webpack_require__(/*! ../utils/arrayDiff */ "./node_modules/kafkajs/src/utils/arrayDiff.js") -const { KafkaJSBrokerNotFound, KafkaJSProtocolError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const { keys, assign, values } = Object -const hasBrokerBeenReplaced = (broker, { host, port, rack }) => - broker.connection.host !== host || - broker.connection.port !== port || - broker.connection.rack !== rack - -module.exports = class BrokerPool { - /** - * @param {object} options - * @param {import("./connectionBuilder").ConnectionBuilder} options.connectionBuilder - * @param {import("../../types").Logger} options.logger - * @param {import("../../types").RetryOptions} [options.retry] - * @param {boolean} [options.allowAutoTopicCreation] - * @param {number} [options.authenticationTimeout] - * @param {number} [options.reauthenticationThreshold] - * @param {number} [options.metadataMaxAge] - */ - constructor({ - connectionBuilder, - logger, - retry, - allowAutoTopicCreation, - authenticationTimeout, - reauthenticationThreshold, - metadataMaxAge, - }) { - this.rootLogger = logger - this.connectionBuilder = connectionBuilder - this.metadataMaxAge = metadataMaxAge || 0 - this.logger = logger.namespace('BrokerPool') - this.retrier = createRetry(assign({}, retry)) - - this.createBroker = options => - new Broker({ - allowAutoTopicCreation, - authenticationTimeout, - reauthenticationThreshold, - ...options, - }) - - this.brokers = {} - /** @type {Broker | undefined} */ - this.seedBroker = undefined - /** @type {import("../../types").BrokerMetadata | null} */ - this.metadata = null - this.metadataExpireAt = null - this.versions = null - this.supportAuthenticationProtocol = null - } - - /** - * @public - * @returns {Boolean} - */ - hasConnectedBrokers() { - const brokers = values(this.brokers) - return ( - !!brokers.find(broker => broker.isConnected()) || - (this.seedBroker ? this.seedBroker.isConnected() : false) - ) - } - - async createSeedBroker() { - if (this.seedBroker) { - await this.seedBroker.disconnect() - } - - this.seedBroker = this.createBroker({ - connection: await this.connectionBuilder.build(), - logger: this.rootLogger, - }) - } - - /** - * @public - * @returns {Promise} - */ - async connect() { - if (this.hasConnectedBrokers()) { - return - } - - if (!this.seedBroker) { - await this.createSeedBroker() - } - - return this.retrier(async (bail, retryCount, retryTime) => { - try { - await this.seedBroker.connect() - this.versions = this.seedBroker.versions - } catch (e) { - if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') { - // Connection builder will always rotate the seed broker - await this.createSeedBroker() - this.logger.error( - `Failed to connect to seed broker, trying another broker from the list: ${e.message}`, - { retryCount, retryTime } - ) - } else { - this.logger.error(e.message, { retryCount, retryTime }) - } - - if (e.retriable) throw e - bail(e) - } - }) - } - - /** - * @public - * @returns {Promise} - */ - async disconnect() { - this.seedBroker && (await this.seedBroker.disconnect()) - await Promise.all(values(this.brokers).map(broker => broker.disconnect())) - - this.brokers = {} - this.metadata = null - this.versions = null - this.supportAuthenticationProtocol = null - } - - /** - * @public - * @param {Object} destination - * @param {string} destination.host - * @param {number} destination.port - */ - removeBroker({ host, port }) { - const removedBroker = values(this.brokers).find( - broker => broker.connection.host === host && broker.connection.port === port - ) - - if (removedBroker) { - delete this.brokers[removedBroker.nodeId] - this.metadataExpireAt = null - - if (this.seedBroker.nodeId === removedBroker.nodeId) { - this.seedBroker = shuffle(values(this.brokers))[0] - } - } - } - - /** - * @public - * @param {Array} topics - * @returns {Promise} - */ - async refreshMetadata(topics) { - const broker = await this.findConnectedBroker() - const { host: seedHost, port: seedPort } = this.seedBroker.connection - - return this.retrier(async (bail, retryCount, retryTime) => { - try { - this.metadata = await broker.metadata(topics) - this.metadataExpireAt = Date.now() + this.metadataMaxAge - - const replacedBrokers = [] - - this.brokers = await this.metadata.brokers.reduce( - async (resultPromise, { nodeId, host, port, rack }) => { - const result = await resultPromise - - if (result[nodeId]) { - if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) { - return result - } - - replacedBrokers.push(result[nodeId]) - } - - if (host === seedHost && port === seedPort) { - this.seedBroker.nodeId = nodeId - this.seedBroker.connection.rack = rack - return assign(result, { - [nodeId]: this.seedBroker, - }) - } - - return assign(result, { - [nodeId]: this.createBroker({ - logger: this.rootLogger, - versions: this.versions, - supportAuthenticationProtocol: this.supportAuthenticationProtocol, - connection: await this.connectionBuilder.build({ host, port, rack }), - nodeId, - }), - }) - }, - this.brokers - ) - - const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort() - const currentBrokerIds = keys(this.brokers).sort() - const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds) - - const brokerDisconnects = unusedBrokerIds.map(nodeId => { - const broker = this.brokers[nodeId] - return broker.disconnect().then(() => { - delete this.brokers[nodeId] - }) - }) - - const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect()) - await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects]) - } catch (e) { - if (e.type === 'LEADER_NOT_AVAILABLE') { - throw e - } - - bail(e) - } - }) - } - - /** - * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics - * - * @public - * @param {Array} topics - * @returns {Promise} - */ - async refreshMetadataIfNecessary(topics) { - const shouldRefresh = - this.metadata == null || - this.metadataExpireAt == null || - Date.now() > this.metadataExpireAt || - !topics.every(topic => - this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic) - ) - - if (shouldRefresh) { - return this.refreshMetadata(topics) - } - } - - /** - * @public - * @param {object} options - * @param {string} options.nodeId - * @returns {Promise} - */ - async findBroker({ nodeId }) { - const broker = this.brokers[nodeId] - - if (!broker) { - throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`) - } - - await this.connectBroker(broker) - return broker - } - - /** - * @public - * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback - * @returns {Promise} - * @template T - */ - async withBroker(callback) { - const brokers = shuffle(keys(this.brokers)) - if (brokers.length === 0) { - throw new KafkaJSBrokerNotFound('No brokers in the broker pool') - } - - for (const nodeId of brokers) { - const broker = await this.findBroker({ nodeId }) - try { - return await callback({ nodeId, broker }) - } catch (e) {} - } - - return null - } - - /** - * @public - * @returns {Promise} - */ - async findConnectedBroker() { - const nodeIds = shuffle(keys(this.brokers)) - const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected()) - - if (connectedBrokerId) { - return await this.findBroker({ nodeId: connectedBrokerId }) - } - - // Cycle through the nodes until one connects - for (const nodeId of nodeIds) { - try { - return await this.findBroker({ nodeId }) - } catch (e) {} - } - - // Failed to connect to all known brokers, metadata might be old - await this.connect() - return this.seedBroker - } - - /** - * @private - * @param {Broker} broker - * @returns {Promise} - */ - async connectBroker(broker) { - if (broker.isConnected()) { - return - } - - return this.retrier(async (bail, retryCount, retryTime) => { - try { - await broker.connect() - } catch (e) { - if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') { - await broker.disconnect() - } - - // To avoid reconnecting to an unavailable host, we bail on connection errors - // and refresh metadata on a higher level before reconnecting - if (e.name === 'KafkaJSConnectionError') { - return bail(e) - } - - if (e.type === 'ILLEGAL_SASL_STATE') { - // Rebuild the connection since it can't recover from illegal SASL state - broker.connection = await this.connectionBuilder.build({ - host: broker.connection.host, - port: broker.connection.port, - rack: broker.connection.rack, - }) - - this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime }) - throw new KafkaJSProtocolError(e, { retriable: true }) - } - - if (e.retriable) throw e - this.logger.error(e, { retryCount, retryTime, stack: e.stack }) - bail(e) - } - }) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/cluster/connectionBuilder.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/cluster/connectionBuilder.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Connection = __webpack_require__(/*! ../network/connection */ "./node_modules/kafkajs/src/network/connection.js") -const { KafkaJSConnectionError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -/** - * @typedef {Object} ConnectionBuilder - * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build - */ - -/** - * @param {Object} options - * @param {import("../../types").ISocketFactory} [options.socketFactory] - * @param {string[]|(() => string[])} options.brokers - * @param {Object} [options.ssl] - * @param {Object} [options.sasl] - * @param {string} options.clientId - * @param {number} options.requestTimeout - * @param {boolean} [options.enforceRequestTimeout] - * @param {number} [options.connectionTimeout] - * @param {number} [options.maxInFlightRequests] - * @param {import("../../types").RetryOptions} [options.retry] - * @param {import("../../types").Logger} options.logger - * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter] - * @returns {ConnectionBuilder} - */ -module.exports = ({ - socketFactory, - brokers, - ssl, - sasl, - clientId, - requestTimeout, - enforceRequestTimeout, - connectionTimeout, - maxInFlightRequests, - logger, - instrumentationEmitter = null, -}) => { - let index = 0 - - const isValidBroker = broker => { - return broker && typeof broker === 'string' && broker.length > 0 - } - - const validateBrokers = brokers => { - if (!brokers) { - throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`) - } - - if (Array.isArray(brokers)) { - if (!brokers.length) { - throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`) - } - - brokers.forEach((broker, index) => { - if (!isValidBroker(broker)) { - throw new KafkaJSNonRetriableError( - `Failed to connect: broker at index ${index} is invalid "${typeof broker}"` - ) - } - }) - } - } - - const getBrokers = async () => { - let list - - if (typeof brokers === 'function') { - try { - list = await brokers() - } catch (e) { - const wrappedError = new KafkaJSConnectionError( - `Failed to connect: "config.brokers" threw: ${e.message}` - ) - wrappedError.stack = `${wrappedError.name}\n Caused by: ${e.stack}` - throw wrappedError - } - } else { - list = brokers - } - - validateBrokers(list) - - return list - } - - return { - build: async ({ host, port, rack } = {}) => { - if (!host) { - const list = await getBrokers() - - const randomBroker = list[index++ % list.length] - - host = randomBroker.split(':')[0] - port = Number(randomBroker.split(':')[1]) - } - - return new Connection({ - host, - port, - rack, - sasl, - ssl, - clientId, - socketFactory, - connectionTimeout, - requestTimeout, - enforceRequestTimeout, - maxInFlightRequests, - instrumentationEmitter, - logger, - }) - }, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/cluster/index.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/cluster/index.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const BrokerPool = __webpack_require__(/*! ./brokerPool */ "./node_modules/kafkajs/src/cluster/brokerPool.js") -const Lock = __webpack_require__(/*! ../utils/lock */ "./node_modules/kafkajs/src/utils/lock.js") -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const connectionBuilder = __webpack_require__(/*! ./connectionBuilder */ "./node_modules/kafkajs/src/cluster/connectionBuilder.js") -const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") -const { - KafkaJSError, - KafkaJSBrokerNotFound, - KafkaJSMetadataNotLoaded, - KafkaJSTopicMetadataNotLoaded, - KafkaJSGroupCoordinatorNotFound, -} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const COORDINATOR_TYPES = __webpack_require__(/*! ../protocol/coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") - -const { keys } = Object - -const mergeTopics = (obj, { topic, partitions }) => ({ - ...obj, - [topic]: [...(obj[topic] || []), ...partitions], -}) - -module.exports = class Cluster { - /** - * @param {Object} options - * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094'] - * @param {Object} options.ssl - * @param {Object} options.sasl - * @param {string} options.clientId - * @param {number} options.connectionTimeout - in milliseconds - * @param {number} options.authenticationTimeout - in milliseconds - * @param {number} options.reauthenticationThreshold - in milliseconds - * @param {number} [options.requestTimeout=30000] - in milliseconds - * @param {boolean} [options.enforceRequestTimeout] - * @param {number} options.metadataMaxAge - in milliseconds - * @param {boolean} options.allowAutoTopicCreation - * @param {number} options.maxInFlightRequests - * @param {number} options.isolationLevel - * @param {import("../../types").RetryOptions} options.retry - * @param {import("../../types").Logger} options.logger - * @param {import("../../types").ISocketFactory} options.socketFactory - * @param {Map} [options.offsets] - * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter=null] - */ - constructor({ - logger: rootLogger, - socketFactory, - brokers, - ssl, - sasl, - clientId, - connectionTimeout, - authenticationTimeout, - reauthenticationThreshold, - requestTimeout = 30000, - enforceRequestTimeout, - metadataMaxAge, - retry, - allowAutoTopicCreation, - maxInFlightRequests, - isolationLevel, - instrumentationEmitter = null, - offsets = new Map(), - }) { - this.rootLogger = rootLogger - this.logger = rootLogger.namespace('Cluster') - this.retrier = createRetry(retry) - this.connectionBuilder = connectionBuilder({ - logger: rootLogger, - instrumentationEmitter, - socketFactory, - brokers, - ssl, - sasl, - clientId, - connectionTimeout, - requestTimeout, - enforceRequestTimeout, - maxInFlightRequests, - }) - - this.targetTopics = new Set() - this.mutatingTargetTopics = new Lock({ - description: `updating target topics`, - timeout: requestTimeout, - }) - this.isolationLevel = isolationLevel - this.brokerPool = new BrokerPool({ - connectionBuilder: this.connectionBuilder, - logger: this.rootLogger, - retry, - allowAutoTopicCreation, - authenticationTimeout, - reauthenticationThreshold, - metadataMaxAge, - }) - this.committedOffsetsByGroup = offsets - } - - isConnected() { - return this.brokerPool.hasConnectedBrokers() - } - - /** - * @public - * @returns {Promise} - */ - async connect() { - await this.brokerPool.connect() - } - - /** - * @public - * @returns {Promise} - */ - async disconnect() { - await this.brokerPool.disconnect() - } - - /** - * @public - * @param {object} destination - * @param {String} destination.host - * @param {Number} destination.port - */ - removeBroker({ host, port }) { - this.brokerPool.removeBroker({ host, port }) - } - - /** - * @public - * @returns {Promise} - */ - async refreshMetadata() { - await this.brokerPool.refreshMetadata(Array.from(this.targetTopics)) - } - - /** - * @public - * @returns {Promise} - */ - async refreshMetadataIfNecessary() { - await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics)) - } - - /** - * @public - * @returns {Promise} - */ - async metadata({ topics = [] } = {}) { - return this.retrier(async (bail, retryCount, retryTime) => { - try { - await this.brokerPool.refreshMetadataIfNecessary(topics) - return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics)) - } catch (e) { - if (e.type === 'LEADER_NOT_AVAILABLE') { - throw e - } - - bail(e) - } - }) - } - - /** - * @public - * @param {string} topic - * @return {Promise} - */ - async addTargetTopic(topic) { - return this.addMultipleTargetTopics([topic]) - } - - /** - * @public - * @param {string[]} topics - * @return {Promise} - */ - async addMultipleTargetTopics(topics) { - await this.mutatingTargetTopics.acquire() - - try { - const previousSize = this.targetTopics.size - const previousTopics = new Set(this.targetTopics) - for (const topic of topics) { - this.targetTopics.add(topic) - } - - const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata - - if (hasChanged) { - try { - await this.refreshMetadata() - } catch (e) { - if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') { - this.targetTopics = previousTopics - } - - throw e - } - } - } finally { - await this.mutatingTargetTopics.release() - } - } - - /** - * @public - * @param {object} options - * @param {string} options.nodeId - * @returns {Promise} - */ - async findBroker({ nodeId }) { - try { - return await this.brokerPool.findBroker({ nodeId }) - } catch (e) { - // The client probably has stale metadata - if ( - e.name === 'KafkaJSBrokerNotFound' || - e.name === 'KafkaJSLockTimeout' || - e.name === 'KafkaJSConnectionError' - ) { - await this.refreshMetadata() - } - - throw e - } - } - - /** - * @public - * @returns {Promise} - */ - async findControllerBroker() { - const { metadata } = this.brokerPool - - if (!metadata || metadata.controllerId == null) { - throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded') - } - - const broker = await this.findBroker({ nodeId: metadata.controllerId }) - - if (!broker) { - throw new KafkaJSBrokerNotFound( - `Controller broker with id ${metadata.controllerId} not found in the cached metadata` - ) - } - - return broker - } - - /** - * @public - * @param {string} topic - * @returns {import("../../types").PartitionMetadata[]} Example: - * [{ - * isr: [2], - * leader: 2, - * partitionErrorCode: 0, - * partitionId: 0, - * replicas: [2], - * }] - */ - findTopicPartitionMetadata(topic) { - const { metadata } = this.brokerPool - if (!metadata || !metadata.topicMetadata) { - throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic }) - } - - const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic) - return topicMetadata ? topicMetadata.partitionMetadata : [] - } - - /** - * @public - * @param {string} topic - * @param {(number|string)[]} partitions - * @returns {Object} Object with leader and partitions. For partitions 0 and 5 - * the result could be: - * { '0': [0], '2': [5] } - * - * where the key is the nodeId. - */ - findLeaderForPartitions(topic, partitions) { - const partitionMetadata = this.findTopicPartitionMetadata(topic) - return partitions.reduce((result, id) => { - const partitionId = parseInt(id, 10) - const metadata = partitionMetadata.find(p => p.partitionId === partitionId) - - if (!metadata) { - return result - } - - if (metadata.leader === null || metadata.leader === undefined) { - throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata }) - } - - const { leader } = metadata - const current = result[leader] || [] - return { ...result, [leader]: [...current, partitionId] } - }, {}) - } - - /** - * @public - * @param {object} params - * @param {string} params.groupId - * @param {import("../protocol/coordinatorTypes").CoordinatorType} [params.coordinatorType=0] - * @returns {Promise} - */ - async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) { - return this.retrier(async (bail, retryCount, retryTime) => { - try { - const { coordinator } = await this.findGroupCoordinatorMetadata({ - groupId, - coordinatorType, - }) - return await this.findBroker({ nodeId: coordinator.nodeId }) - } catch (e) { - // A new broker can join the cluster before we have the chance - // to refresh metadata - if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') { - this.logger.debug(`${e.message}, refreshing metadata and trying again...`, { - groupId, - retryCount, - retryTime, - }) - - await this.refreshMetadata() - throw e - } - - if (e.code === 'ECONNREFUSED') { - // During maintenance the current coordinator can go down; findBroker will - // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw - // the error to go through the retry cycle. - throw e - } - - bail(e) - } - }) - } - - /** - * @public - * @param {object} params - * @param {string} params.groupId - * @param {import("../protocol/coordinatorTypes").CoordinatorType} [params.coordinatorType=0] - * @returns {Promise} - */ - async findGroupCoordinatorMetadata({ groupId, coordinatorType }) { - const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => { - return await this.retrier(async (bail, retryCount, retryTime) => { - try { - const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType }) - this.logger.debug('Found group coordinator', { - broker: brokerMetadata.host, - nodeId: brokerMetadata.coordinator.nodeId, - }) - return brokerMetadata - } catch (e) { - this.logger.debug('Tried to find group coordinator', { - nodeId, - error: e, - }) - - if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') { - this.logger.debug('Group coordinator not available, retrying...', { - nodeId, - retryCount, - retryTime, - }) - - throw e - } - - bail(e) - } - }) - }) - - if (brokerMetadata) { - return brokerMetadata - } - - throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator') - } - - /** - * @param {object} topicConfiguration - * @returns {number} - */ - defaultOffset({ fromBeginning }) { - return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET - } - - /** - * @public - * @param {Array} topics - * [ - * { - * topic: 'my-topic-name', - * partitions: [{ partition: 0 }], - * fromBeginning: false - * } - * ] - * @returns {Promise} example: - * [ - * { - * topic: 'my-topic-name', - * partitions: [ - * { partition: 0, offset: '1' }, - * { partition: 1, offset: '2' }, - * { partition: 2, offset: '1' }, - * ], - * }, - * ] - */ - async fetchTopicsOffset(topics) { - const partitionsPerBroker = {} - const topicConfigurations = {} - - const addDefaultOffset = topic => partition => { - const { timestamp } = topicConfigurations[topic] - return { ...partition, timestamp } - } - - // Index all topics and partitions per leader (nodeId) - for (const topicData of topics) { - const { topic, partitions, fromBeginning, fromTimestamp } = topicData - const partitionsPerLeader = this.findLeaderForPartitions( - topic, - partitions.map(p => p.partition) - ) - const timestamp = - fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning }) - - topicConfigurations[topic] = { timestamp } - - keys(partitionsPerLeader).forEach(nodeId => { - partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {} - partitionsPerBroker[nodeId][topic] = partitions.filter(p => - partitionsPerLeader[nodeId].includes(p.partition) - ) - }) - } - - // Create a list of requests to fetch the offset of all partitions - const requests = keys(partitionsPerBroker).map(async nodeId => { - const broker = await this.findBroker({ nodeId }) - const partitions = partitionsPerBroker[nodeId] - - const { responses: topicOffsets } = await broker.listOffsets({ - isolationLevel: this.isolationLevel, - topics: keys(partitions).map(topic => ({ - topic, - partitions: partitions[topic].map(addDefaultOffset(topic)), - })), - }) - - return topicOffsets - }) - - // Execute all requests, merge and normalize the responses - const responses = await Promise.all(requests) - const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {}) - - return keys(partitionsPerTopic).map(topic => ({ - topic, - partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({ - partition, - offset, - })), - })) - } - - /** - * Retrieve the object mapping for committed offsets for a single consumer group - * @param {object} options - * @param {string} options.groupId - * @returns {Object} - */ - committedOffsets({ groupId }) { - if (!this.committedOffsetsByGroup.has(groupId)) { - this.committedOffsetsByGroup.set(groupId, {}) - } - - return this.committedOffsetsByGroup.get(groupId) - } - - /** - * Mark offset as committed for a single consumer group's topic-partition - * @param {object} options - * @param {string} options.groupId - * @param {string} options.topic - * @param {string|number} options.partition - * @param {string} options.offset - */ - markOffsetAsCommitted({ groupId, topic, partition, offset }) { - const committedOffsets = this.committedOffsets({ groupId }) - - committedOffsets[topic] = committedOffsets[topic] || {} - committedOffsets[topic][partition] = offset - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/constants.js": -/*!***********************************************!*\ - !*** ./node_modules/kafkajs/src/constants.js ***! - \***********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module) => { - -const EARLIEST_OFFSET = -2 -const LATEST_OFFSET = -1 -const INT_32_MAX_VALUE = Math.pow(2, 32) - -module.exports = { - EARLIEST_OFFSET, - LATEST_OFFSET, - INT_32_MAX_VALUE, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/assignerProtocol.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/assignerProtocol.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 83:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../protocol/encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const Decoder = __webpack_require__(/*! ../protocol/decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - -const MemberMetadata = { - /** - * @param {Object} metadata - * @param {number} metadata.version - * @param {Array} metadata.topics - * @param {Buffer} [metadata.userData=Buffer.alloc(0)] - * - * @returns Buffer - */ - encode({ version, topics, userData = Buffer.alloc(0) }) { - return new Encoder() - .writeInt16(version) - .writeArray(topics) - .writeBytes(userData).buffer - }, - - /** - * @param {Buffer} buffer - * @returns {Object} - */ - decode(buffer) { - const decoder = new Decoder(buffer) - return { - version: decoder.readInt16(), - topics: decoder.readArray(d => d.readString()), - userData: decoder.readBytes(), - } - }, -} - -const MemberAssignment = { - /** - * @param {number} version - * @param {Object} assignment, example: - * { - * 'topic-A': [0, 2, 4, 6], - * 'topic-B': [0, 2], - * } - * @param {Buffer} [userData=Buffer.alloc(0)] - * - * @returns Buffer - */ - encode({ version, assignment, userData = Buffer.alloc(0) }) { - return new Encoder() - .writeInt16(version) - .writeArray( - Object.keys(assignment).map(topic => - new Encoder().writeString(topic).writeArray(assignment[topic]) - ) - ) - .writeBytes(userData).buffer - }, - - /** - * @param {Buffer} buffer - * @returns {Object|null} - */ - decode(buffer) { - const decoder = new Decoder(buffer) - const decodePartitions = d => d.readInt32() - const decodeAssignment = d => ({ - topic: d.readString(), - partitions: d.readArray(decodePartitions), - }) - const indexAssignment = (obj, { topic, partitions }) => - Object.assign(obj, { [topic]: partitions }) - - if (!decoder.canReadInt16()) { - return null - } - - return { - version: decoder.readInt16(), - assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}), - userData: decoder.readBytes(), - } - }, -} - -module.exports = { - MemberMetadata, - MemberAssignment, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/assigners/index.js": -/*!**************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/assigners/index.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const roundRobin = __webpack_require__(/*! ./roundRobinAssigner */ "./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js") - -module.exports = { - roundRobin, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { MemberMetadata, MemberAssignment } = __webpack_require__(/*! ../../assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") -const flatten = __webpack_require__(/*! ../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * RoundRobinAssigner - * @param {Cluster} cluster - * @returns {function} - */ -module.exports = ({ cluster }) => ({ - name: 'RoundRobinAssigner', - version: 1, - - /** - * Assign the topics to the provided members. - * - * The members array contains information about each member, `memberMetadata` is the result of the - * `protocol` operation. - * - * @param {array} members array of members, e.g: - [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }] - * @param {array} topics - * @returns {array} object partitions per topic per member, e.g: - * [ - * { - * memberId: 'test-5f93f5a3', - * memberAssignment: { - * 'topic-A': [0, 2, 4, 6], - * 'topic-B': [1], - * }, - * }, - * { - * memberId: 'test-3d3d5341', - * memberAssignment: { - * 'topic-A': [1, 3, 5], - * 'topic-B': [0, 2], - * }, - * } - * ] - */ - async assign({ members, topics }) { - const membersCount = members.length - const sortedMembers = members.map(({ memberId }) => memberId).sort() - const assignment = {} - - const topicsPartionArrays = topics.map(topic => { - const partitionMetadata = cluster.findTopicPartitionMetadata(topic) - return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId })) - }) - const topicsPartitions = flatten(topicsPartionArrays) - - topicsPartitions.forEach((topicPartition, i) => { - const assignee = sortedMembers[i % membersCount] - - if (!assignment[assignee]) { - assignment[assignee] = Object.create(null) - } - - if (!assignment[assignee][topicPartition.topic]) { - assignment[assignee][topicPartition.topic] = [] - } - - assignment[assignee][topicPartition.topic].push(topicPartition.partitionId) - }) - - return Object.keys(assignment).map(memberId => ({ - memberId, - memberAssignment: MemberAssignment.encode({ - version: this.version, - assignment: assignment[memberId], - }), - })) - }, - - protocol({ topics }) { - return { - name: this.name, - metadata: MemberMetadata.encode({ - version: this.version, - topics, - }), - } - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/barrier.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/barrier.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module) => { - -/** - * @template T - * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}} - */ -module.exports = () => { - let unlock - let unlockWithError - const lock = new Promise(resolve => { - unlock = resolve - unlockWithError = resolve - }) - - return { lock, unlock, unlockWithError } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/batch.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/batch.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const filterAbortedMessages = __webpack_require__(/*! ./filterAbortedMessages */ "./node_modules/kafkajs/src/consumer/filterAbortedMessages.js") - -/** - * A batch collects messages returned from a single fetch call. - * - * A batch could contain _multiple_ Kafka RecordBatches. - */ -module.exports = class Batch { - constructor(topic, fetchedOffset, partitionData) { - this.fetchedOffset = fetchedOffset - const longFetchedOffset = Long.fromValue(this.fetchedOffset) - const { abortedTransactions, messages } = partitionData - - this.topic = topic - this.partition = partitionData.partition - this.highWatermark = partitionData.highWatermark - - this.rawMessages = messages - // Apparently fetch can return different offsets than the target offset provided to the fetch API. - // Discard messages that are not in the requested offset - // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912 - this.messagesWithinOffset = this.rawMessages.filter(message => - Long.fromValue(message.offset).gte(longFetchedOffset) - ) - - // 1. Don't expose aborted messages - // 2. Don't expose control records - // @see https://kafka.apache.org/documentation/#controlbatch - this.messages = filterAbortedMessages({ - messages: this.messagesWithinOffset, - abortedTransactions, - }).filter(message => !message.isControlRecord) - } - - isEmpty() { - return this.messages.length === 0 - } - - isEmptyIncludingFiltered() { - return this.messagesWithinOffset.length === 0 - } - - /** - * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to - * log compaction, control records or other reasons - */ - isEmptyDueToFiltering() { - return this.isEmpty() && this.rawMessages.length > 0 - } - - isEmptyControlRecord() { - return ( - this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord) - ) - } - - /** - * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset. - * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset) - * If these are the only messages, the batch will appear as an empty batch. - * - * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty, - * but this method will only return true if the batch is empty due to log compacted messages. - * - * @returns boolean True if the batch is empty, because of log compacted messages in the partition. - */ - isEmptyDueToLogCompactedMessages() { - const hasMessages = this.rawMessages.length > 0 - return hasMessages && this.isEmptyIncludingFiltered() - } - - firstOffset() { - return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset - } - - lastOffset() { - if (this.isEmptyDueToLogCompactedMessages()) { - return this.fetchedOffset - } - - if (this.isEmptyIncludingFiltered()) { - return Long.fromValue(this.highWatermark) - .add(-1) - .toString() - } - - return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset - } - - /** - * Returns the lag based on the last offset in the batch (also known as "high") - */ - offsetLag() { - const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1) - const lastConsumedOffset = Long.fromValue(this.lastOffset()) - return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString() - } - - /** - * Returns the lag based on the first offset in the batch - */ - offsetLagLow() { - if (this.isEmptyIncludingFiltered()) { - return '0' - } - - const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1) - const firstConsumedOffset = Long.fromValue(this.firstOffset()) - return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString() - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/consumerGroup.js": -/*!************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/consumerGroup.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 45:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const sleep = __webpack_require__(/*! ../utils/sleep */ "./node_modules/kafkajs/src/utils/sleep.js") -const BufferedAsyncIterator = __webpack_require__(/*! ../utils/bufferedAsyncIterator */ "./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js") -const websiteUrl = __webpack_require__(/*! ../utils/websiteUrl */ "./node_modules/kafkajs/src/utils/websiteUrl.js") -const arrayDiff = __webpack_require__(/*! ../utils/arrayDiff */ "./node_modules/kafkajs/src/utils/arrayDiff.js") -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const sharedPromiseTo = __webpack_require__(/*! ../utils/sharedPromiseTo */ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js") - -const OffsetManager = __webpack_require__(/*! ./offsetManager */ "./node_modules/kafkajs/src/consumer/offsetManager/index.js") -const Batch = __webpack_require__(/*! ./batch */ "./node_modules/kafkajs/src/consumer/batch.js") -const SeekOffsets = __webpack_require__(/*! ./seekOffsets */ "./node_modules/kafkajs/src/consumer/seekOffsets.js") -const SubscriptionState = __webpack_require__(/*! ./subscriptionState */ "./node_modules/kafkajs/src/consumer/subscriptionState.js") -const { - events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS }, -} = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") -const { MemberAssignment } = __webpack_require__(/*! ./assignerProtocol */ "./node_modules/kafkajs/src/consumer/assignerProtocol.js") -const { - KafkaJSError, - KafkaJSNonRetriableError, - KafkaJSStaleTopicMetadataAssignment, -} = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const { keys } = Object - -const STALE_METADATA_ERRORS = [ - 'LEADER_NOT_AVAILABLE', - // Fetch before v9 uses NOT_LEADER_FOR_PARTITION - 'NOT_LEADER_FOR_PARTITION', - // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH - 'FENCED_LEADER_EPOCH', - 'UNKNOWN_LEADER_EPOCH', - 'UNKNOWN_TOPIC_OR_PARTITION', -] - -const isRebalancing = e => - e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP' - -const PRIVATE = { - JOIN: Symbol('private:ConsumerGroup:join'), - SYNC: Symbol('private:ConsumerGroup:sync'), - HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'), - SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'), -} - -module.exports = class ConsumerGroup { - constructor({ - retry, - cluster, - groupId, - topics, - topicConfigurations, - logger, - instrumentationEmitter, - assigners, - sessionTimeout, - rebalanceTimeout, - maxBytesPerPartition, - minBytes, - maxBytes, - maxWaitTimeInMs, - autoCommit, - autoCommitInterval, - autoCommitThreshold, - isolationLevel, - rackId, - metadataMaxAge, - }) { - /** @type {import("../../types").Cluster} */ - this.cluster = cluster - this.groupId = groupId - this.topics = topics - this.topicsSubscribed = topics - this.topicConfigurations = topicConfigurations - this.logger = logger.namespace('ConsumerGroup') - this.instrumentationEmitter = instrumentationEmitter - this.retrier = createRetry(Object.assign({}, retry)) - this.assigners = assigners - this.sessionTimeout = sessionTimeout - this.rebalanceTimeout = rebalanceTimeout - this.maxBytesPerPartition = maxBytesPerPartition - this.minBytes = minBytes - this.maxBytes = maxBytes - this.maxWaitTime = maxWaitTimeInMs - this.autoCommit = autoCommit - this.autoCommitInterval = autoCommitInterval - this.autoCommitThreshold = autoCommitThreshold - this.isolationLevel = isolationLevel - this.rackId = rackId - this.metadataMaxAge = metadataMaxAge - - this.seekOffset = new SeekOffsets() - this.coordinator = null - this.generationId = null - this.leaderId = null - this.memberId = null - this.members = null - this.groupProtocol = null - - this.partitionsPerSubscribedTopic = null - /** - * Preferred read replica per topic and partition - * - * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp - * until when that preference is valid. - * - * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}} - */ - this.preferredReadReplicasPerTopicPartition = {} - this.offsetManager = null - this.subscriptionState = new SubscriptionState() - - this.lastRequest = Date.now() - - this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => { - const { groupId, generationId, memberId } = this - const now = Date.now() - - if (memberId && now >= this.lastRequest + interval) { - const payload = { - groupId, - memberId, - groupGenerationId: generationId, - } - - await this.coordinator.heartbeat(payload) - this.instrumentationEmitter.emit(HEARTBEAT, payload) - this.lastRequest = Date.now() - } - }) - } - - isLeader() { - return this.leaderId && this.memberId === this.leaderId - } - - async connect() { - await this.cluster.connect() - this.instrumentationEmitter.emit(CONNECT) - await this.cluster.refreshMetadataIfNecessary() - } - - async [PRIVATE.JOIN]() { - const { groupId, sessionTimeout, rebalanceTimeout } = this - - this.coordinator = await this.cluster.findGroupCoordinator({ groupId }) - - const groupData = await this.coordinator.joinGroup({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId: this.memberId || '', - groupProtocols: this.assigners.map(assigner => - assigner.protocol({ - topics: this.topicsSubscribed, - }) - ), - }) - - this.generationId = groupData.generationId - this.leaderId = groupData.leaderId - this.memberId = groupData.memberId - this.members = groupData.members - this.groupProtocol = groupData.groupProtocol - } - - async leave() { - const { groupId, memberId } = this - if (memberId) { - await this.coordinator.leaveGroup({ groupId, memberId }) - this.memberId = null - } - } - - async [PRIVATE.SYNC]() { - let assignment = [] - const { - groupId, - generationId, - memberId, - members, - groupProtocol, - topics, - topicsSubscribed, - coordinator, - } = this - - if (this.isLeader()) { - this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics }) - const assigner = this.assigners.find(({ name }) => name === groupProtocol) - - if (!assigner) { - throw new KafkaJSNonRetriableError( - `Unsupported partition assigner "${groupProtocol}", the assigner wasn't found in the assigners list` - ) - } - - await this.cluster.refreshMetadata() - assignment = await assigner.assign({ members, topics: topicsSubscribed }) - - this.logger.debug('Group assignment', { - groupId, - generationId, - groupProtocol, - assignment, - topics: topicsSubscribed, - }) - } - - // Keep track of the partitions for the subscribed topics - this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() - const { memberAssignment } = await this.coordinator.syncGroup({ - groupId, - generationId, - memberId, - groupAssignment: assignment, - }) - - const decodedMemberAssignment = MemberAssignment.decode(memberAssignment) - const decodedAssignment = - decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {} - - this.logger.debug('Received assignment', { - groupId, - generationId, - memberId, - memberAssignment: decodedAssignment, - }) - - const assignedTopics = keys(decodedAssignment) - const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed) - - if (topicsNotSubscribed.length > 0) { - const payload = { - groupId, - generationId, - memberId, - assignedTopics, - topicsSubscribed, - topicsNotSubscribed, - } - - this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload) - this.logger.warn('Consumer group received unsubscribed topics', { - ...payload, - helpUrl: websiteUrl( - 'docs/faq', - 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to' - ), - }) - } - - // Remove unsubscribed topics from the list - const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed) - const currentMemberAssignment = safeAssignment.map(topic => ({ - topic, - partitions: decodedAssignment[topic], - })) - - // Check if the consumer is aware of all assigned partitions - for (const assignment of currentMemberAssignment) { - const { topic, partitions: assignedPartitions } = assignment - const knownPartitions = this.partitionsPerSubscribedTopic.get(topic) - const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition => - knownPartitions.includes(partition) - ) - - if (!isAwareOfAllAssignedPartitions) { - this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', { - groupId, - generationId, - memberId, - topic, - knownPartitions, - assignedPartitions, - }) - - // If the consumer is not aware of all assigned partitions, refresh metadata - // and update the list of partitions per subscribed topic. It's enough to perform - // this operation once since refresh metadata will update metadata for all topics - await this.cluster.refreshMetadata() - this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() - break - } - } - - this.topics = currentMemberAssignment.map(({ topic }) => topic) - this.subscriptionState.assign(currentMemberAssignment) - this.offsetManager = new OffsetManager({ - cluster: this.cluster, - topicConfigurations: this.topicConfigurations, - instrumentationEmitter: this.instrumentationEmitter, - memberAssignment: currentMemberAssignment.reduce( - (partitionsByTopic, { topic, partitions }) => ({ - ...partitionsByTopic, - [topic]: partitions, - }), - {} - ), - autoCommit: this.autoCommit, - autoCommitInterval: this.autoCommitInterval, - autoCommitThreshold: this.autoCommitThreshold, - coordinator, - groupId, - generationId, - memberId, - }) - } - - joinAndSync() { - const startJoin = Date.now() - return this.retrier(async bail => { - try { - await this[PRIVATE.JOIN]() - await this[PRIVATE.SYNC]() - - const memberAssignment = this.assigned().reduce( - (result, { topic, partitions }) => ({ ...result, [topic]: partitions }), - {} - ) - - const payload = { - groupId: this.groupId, - memberId: this.memberId, - leaderId: this.leaderId, - isLeader: this.isLeader(), - memberAssignment, - groupProtocol: this.groupProtocol, - duration: Date.now() - startJoin, - } - - this.instrumentationEmitter.emit(GROUP_JOIN, payload) - this.logger.info('Consumer has joined the group', payload) - } catch (e) { - if (isRebalancing(e)) { - // Rebalance in progress isn't a retriable protocol error since the consumer - // has to go through find coordinator and join again before it can - // actually retry the operation. We wrap the original error in a retriable error - // here instead in order to restart the join + sync sequence using the retrier. - throw new KafkaJSError(e) - } - - bail(e) - } - }) - } - - /** - * @param {import("../../types").TopicPartition} topicPartition - */ - resetOffset({ topic, partition }) { - this.offsetManager.resetOffset({ topic, partition }) - } - - /** - * @param {import("../../types").TopicPartitionOffset} topicPartitionOffset - */ - resolveOffset({ topic, partition, offset }) { - this.offsetManager.resolveOffset({ topic, partition, offset }) - } - - /** - * Update the consumer offset for the given topic/partition. This will be used - * on the next fetch. If this API is invoked for the same topic/partition more - * than once, the latest offset will be used on the next fetch. - * - * @param {import("../../types").TopicPartitionOffset} topicPartitionOffset - */ - seek({ topic, partition, offset }) { - this.seekOffset.set(topic, partition, offset) - } - - pause(topicPartitions) { - this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, { - topicPartitions, - }) - this.subscriptionState.pause(topicPartitions) - } - - resume(topicPartitions) { - this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, { - topicPartitions, - }) - this.subscriptionState.resume(topicPartitions) - } - - assigned() { - return this.subscriptionState.assigned() - } - - paused() { - return this.subscriptionState.paused() - } - - async commitOffsetsIfNecessary() { - await this.offsetManager.commitOffsetsIfNecessary() - } - - async commitOffsets(offsets) { - await this.offsetManager.commitOffsets(offsets) - } - - uncommittedOffsets() { - return this.offsetManager.uncommittedOffsets() - } - - async heartbeat({ interval }) { - return this[PRIVATE.SHAREDHEARTBEAT]({ interval }) - } - - async fetch() { - try { - const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this - /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */ - const requestsPerNode = {} - - await this.cluster.refreshMetadataIfNecessary() - this.checkForStaleAssignment() - - while (this.seekOffset.size > 0) { - const seekEntry = this.seekOffset.pop() - this.logger.debug('Seek offset', { - groupId: this.groupId, - memberId: this.memberId, - seek: seekEntry, - }) - await this.offsetManager.seek(seekEntry) - } - - const pausedTopicPartitions = this.subscriptionState.paused() - const activeTopicPartitions = this.subscriptionState.active() - - const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions)) - const activeTopics = activeTopicPartitions - .filter(({ partitions }) => partitions.length > 0) - .map(({ topic }) => topic) - - if (activePartitions.length === 0) { - this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, { - topics, - activeTopicPartitions, - pausedTopicPartitions, - }) - - await sleep(this.maxWaitTime) - return BufferedAsyncIterator([]) - } - - await this.offsetManager.resolveOffsets() - - this.logger.debug( - `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`, - { - topics, - activeTopicPartitions, - pausedTopicPartitions, - } - ) - - for (const topicPartition of activeTopicPartitions) { - const partitionsPerNode = this.findReadReplicaForPartitions( - topicPartition.topic, - topicPartition.partitions - ) - - const nodeIds = keys(partitionsPerNode) - const committedOffsets = this.offsetManager.committedOffsets() - - for (const nodeId of nodeIds) { - const partitions = partitionsPerNode[nodeId] - .filter(partition => { - /** - * When recovering from OffsetOutOfRange, each partition can recover - * concurrently, which invalidates resolved and committed offsets as part - * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent - * scenarios this can initiate a new fetch with invalid offsets. - * - * This was further highlighted by https://github.com/tulios/kafkajs/pull/570, - * which increased concurrency, making this more likely to happen. - * - * This is solved by only making requests for partitions with initialized offsets. - * - * See the following pull request which explains the context of the problem: - * @issue https://github.com/tulios/kafkajs/pull/578 - */ - return committedOffsets[topicPartition.topic][partition] != null - }) - .map(partition => ({ - partition, - fetchOffset: this.offsetManager - .nextOffset(topicPartition.topic, partition) - .toString(), - maxBytes: maxBytesPerPartition, - })) - - requestsPerNode[nodeId] = requestsPerNode[nodeId] || [] - requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions }) - } - } - - const requests = keys(requestsPerNode).map(async nodeId => { - const broker = await this.cluster.findBroker({ nodeId }) - const { responses } = await broker.fetch({ - maxWaitTime, - minBytes, - maxBytes, - isolationLevel: this.isolationLevel, - topics: requestsPerNode[nodeId], - rackId: this.rackId, - }) - - const batchesPerPartition = responses.map(({ topicName, partitions }) => { - const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName) - let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName] - if (!preferredReadReplicas) { - this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {} - } - - return partitions - .filter( - partitionData => - !this.seekOffset.has(topicName, partitionData.partition) && - !this.subscriptionState.isPaused(topicName, partitionData.partition) - ) - .map(partitionData => { - const { partition, preferredReadReplica } = partitionData - if (preferredReadReplica != null && preferredReadReplica !== -1) { - const { nodeId: currentPreferredReadReplica } = - preferredReadReplicas[partition] || {} - if (currentPreferredReadReplica !== preferredReadReplica) { - this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, { - groupId: this.groupId, - memberId: this.memberId, - topic: topicName, - partition, - }) - } - preferredReadReplicas[partition] = { - nodeId: preferredReadReplica, - expireAt: Date.now() + this.metadataMaxAge, - } - } - - const partitionRequestData = topicRequestData.partitions.find( - ({ partition }) => partition === partitionData.partition - ) - - const fetchedOffset = partitionRequestData.fetchOffset - return new Batch(topicName, fetchedOffset, partitionData) - }) - }) - - return flatten(batchesPerPartition) - }) - - // fetch can generate empty requests when the consumer group receives an assignment - // with more topics than the subscribed, so to prevent a busy loop we wait the - // configured max wait time - if (requests.length === 0) { - await sleep(this.maxWaitTime) - return BufferedAsyncIterator([]) - } - - return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e)) - } catch (e) { - await this.recoverFromFetch(e) - } - } - - async recoverFromFetch(e) { - if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') { - this.logger.debug('Stale cluster metadata, refreshing...', { - groupId: this.groupId, - memberId: this.memberId, - error: e.message, - }) - - await this.cluster.refreshMetadata() - await this.joinAndSync() - throw new KafkaJSError(e.message) - } - - if (e.name === 'KafkaJSStaleTopicMetadataAssignment') { - this.logger.warn(`${e.message}, resync group`, { - groupId: this.groupId, - memberId: this.memberId, - topic: e.topic, - unknownPartitions: e.unknownPartitions, - }) - - await this.joinAndSync() - } - - if (e.name === 'KafkaJSOffsetOutOfRange') { - await this.recoverFromOffsetOutOfRange(e) - } - - if (e.name === 'KafkaJSConnectionClosedError') { - this.cluster.removeBroker({ host: e.host, port: e.port }) - } - - if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') { - this.logger.debug(`${e.message}, refreshing metadata and retrying...`) - await this.cluster.refreshMetadata() - } - - throw e - } - - async recoverFromOffsetOutOfRange(e) { - // If we are fetching from a follower try with the leader before resetting offsets - const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic] - if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') { - this.logger.info('Offset out of range while fetching from follower, retrying with leader', { - topic: e.topic, - partition: e.partition, - groupId: this.groupId, - memberId: this.memberId, - }) - delete preferredReadReplicas[e.partition] - } else { - this.logger.error('Offset out of range, resetting to default offset', { - topic: e.topic, - partition: e.partition, - groupId: this.groupId, - memberId: this.memberId, - }) - - await this.offsetManager.setDefaultOffset({ - topic: e.topic, - partition: e.partition, - }) - } - } - - generatePartitionsPerSubscribedTopic() { - const map = new Map() - - for (const topic of this.topicsSubscribed) { - const partitions = this.cluster - .findTopicPartitionMetadata(topic) - .map(m => m.partitionId) - .sort() - - map.set(topic, partitions) - } - - return map - } - - checkForStaleAssignment() { - if (!this.partitionsPerSubscribedTopic) { - return - } - - const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic() - - for (const [topic, partitions] of newPartitionsPerSubscribedTopic) { - const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic)) - - if (diff.length > 0) { - throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', { - topic, - unknownPartitions: diff, - }) - } - } - } - - hasSeekOffset({ topic, partition }) { - return this.seekOffset.has(topic, partition) - } - - /** - * For each of the partitions find the best nodeId to read it from - * - * @param {string} topic - * @param {number[]} partitions - * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions - * @see Cluster~findLeaderForPartitions - */ - // Invariant: The resulting object has each partition referenced exactly once - findReadReplicaForPartitions(topic, partitions) { - const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic) - const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic] - return partitions.reduce((result, id) => { - const partitionId = parseInt(id, 10) - const metadata = partitionMetadata.find(p => p.partitionId === partitionId) - if (!metadata) { - return result - } - - if (metadata.leader == null) { - throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata }) - } - - // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader. - let nodeId = metadata.leader - if (preferredReadReplicas) { - const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {} - if (Date.now() >= expireAt) { - this.logger.debug('Preferred read replica information has expired, using leader', { - topic, - partitionId, - groupId: this.groupId, - memberId: this.memberId, - preferredReadReplica, - leader: metadata.leader, - }) - // Drop the entry - delete preferredReadReplicas[partitionId] - } else if (preferredReadReplica != null) { - // Valid entry, check whether it is not offline - // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again - const offlineReplicas = metadata.offlineReplicas - if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) { - this.logger.debug('Preferred read replica is offline, using leader', { - topic, - partitionId, - groupId: this.groupId, - memberId: this.memberId, - preferredReadReplica, - leader: metadata.leader, - }) - } else { - nodeId = preferredReadReplica - } - } - } - const current = result[nodeId] || [] - return { ...result, [nodeId]: [...current, partitionId] } - }, {}) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/filterAbortedMessages.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/filterAbortedMessages.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0]) - -const isAbortMarker = ({ key }) => { - // Handle null/undefined keys. - if (!key) return false - // Cast key to buffer defensively - return Buffer.from(key).equals(ABORTED_MESSAGE_KEY) -} - -/** - * Remove messages marked as aborted according to the aborted transactions list. - * - * Start of an aborted transaction is determined by message offset. - * End of an aborted transaction is determined by control messages. - * @param {Message[]} messages - * @param {Transaction[]} [abortedTransactions] - * @returns {Message[]} Messages which did not participate in an aborted transaction - * - * @typedef {object} Message - * @param {Buffer} key - * @param {lastOffset} key Int64 - * @param {RecordBatch} batchContext - * - * @typedef {object} Transaction - * @param {string} firstOffset Int64 - * @param {string} producerId Int64 - * - * @typedef {object} RecordBatch - * @param {string} producerId Int64 - * @param {boolean} inTransaction - */ -module.exports = ({ messages, abortedTransactions }) => { - const currentAbortedTransactions = new Map() - - if (!abortedTransactions || !abortedTransactions.length) { - return messages - } - - const remainingAbortedTransactions = [...abortedTransactions] - - return messages.filter(message => { - // If the message offset is GTE the first offset of the next aborted transaction - // then we have stepped into an aborted transaction. - if ( - remainingAbortedTransactions.length && - Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset) - ) { - const { producerId } = remainingAbortedTransactions.shift() - currentAbortedTransactions.set(producerId, true) - } - - const { producerId, inTransaction } = message.batchContext - - if (isAbortMarker(message)) { - // Transaction is over, we no longer need to ignore messages from this producer - currentAbortedTransactions.delete(producerId) - } else if (currentAbortedTransactions.has(producerId) && inTransaction) { - return false - } - - return true - }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/index.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/index.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const { initialRetryTime } = __webpack_require__(/*! ../retry/defaults */ "./node_modules/kafkajs/src/retry/defaults.js") -const ConsumerGroup = __webpack_require__(/*! ./consumerGroup */ "./node_modules/kafkajs/src/consumer/consumerGroup.js") -const Runner = __webpack_require__(/*! ./runner */ "./node_modules/kafkajs/src/consumer/runner.js") -const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") -const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const { roundRobin } = __webpack_require__(/*! ./assigners */ "./node_modules/kafkajs/src/consumer/assigners/index.js") -const { EARLIEST_OFFSET, LATEST_OFFSET } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../protocol/isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -const { keys, values } = Object -const { CONNECT, DISCONNECT, STOP, CRASH } = events - -const eventNames = values(events) -const eventKeys = keys(events) - .map(key => `consumer.events.${key}`) - .join(', ') - -const specialOffsets = [ - Long.fromValue(EARLIEST_OFFSET).toString(), - Long.fromValue(LATEST_OFFSET).toString(), -] - -/** - * @param {Object} params - * @param {import("../../types").Cluster} params.cluster - * @param {String} params.groupId - * @param {import('../../types').RetryOptions} [params.retry] - * @param {import('../../types').Logger} params.logger - * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners] - * @param {number} [params.sessionTimeout] - * @param {number} [params.rebalanceTimeout] - * @param {number} [params.heartbeatInterval] - * @param {number} [params.maxBytesPerPartition] - * @param {number} [params.minBytes] - * @param {number} [params.maxBytes] - * @param {number} [params.maxWaitTimeInMs] - * @param {number} [params.isolationLevel] - * @param {string} [params.rackId] - * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] - * @param {number} params.metadataMaxAge - * - * @returns {import("../../types").Consumer} - */ -module.exports = ({ - cluster, - groupId, - retry, - logger: rootLogger, - partitionAssigners = [roundRobin], - sessionTimeout = 30000, - rebalanceTimeout = 60000, - heartbeatInterval = 3000, - maxBytesPerPartition = 1048576, // 1MB - minBytes = 1, - maxBytes = 10485760, // 10MB - maxWaitTimeInMs = 5000, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - rackId = '', - instrumentationEmitter: rootInstrumentationEmitter, - metadataMaxAge, -}) => { - if (!groupId) { - throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.') - } - - const logger = rootLogger.namespace('Consumer') - const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() - const assigners = partitionAssigners.map(createAssigner => - createAssigner({ groupId, logger, cluster }) - ) - - const topics = {} - let runner = null - let consumerGroup = null - - if (heartbeatInterval >= sessionTimeout) { - throw new KafkaJSNonRetriableError( - `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.` - ) - } - - const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => { - return new ConsumerGroup({ - logger: rootLogger, - topics: keys(topics), - topicConfigurations: topics, - retry, - cluster, - groupId, - assigners, - sessionTimeout, - rebalanceTimeout, - maxBytesPerPartition, - minBytes, - maxBytes, - maxWaitTimeInMs, - instrumentationEmitter, - autoCommit, - autoCommitInterval, - autoCommitThreshold, - isolationLevel, - rackId, - metadataMaxAge, - }) - } - - const createRunner = ({ - eachBatchAutoResolve, - eachBatch, - eachMessage, - onCrash, - autoCommit, - partitionsConsumedConcurrently, - }) => { - return new Runner({ - autoCommit, - logger: rootLogger, - consumerGroup, - instrumentationEmitter, - eachBatchAutoResolve, - eachBatch, - eachMessage, - heartbeatInterval, - retry, - onCrash, - partitionsConsumedConcurrently, - }) - } - - /** @type {import("../../types").Consumer["connect"]} */ - const connect = async () => { - await cluster.connect() - instrumentationEmitter.emit(CONNECT) - } - - /** @type {import("../../types").Consumer["disconnect"]} */ - const disconnect = async () => { - try { - await stop() - logger.debug('consumer has stopped, disconnecting', { groupId }) - await cluster.disconnect() - instrumentationEmitter.emit(DISCONNECT) - } catch (e) { - logger.error(`Caught error when disconnecting the consumer: ${e.message}`, { - stack: e.stack, - groupId, - }) - throw e - } - } - - /** @type {import("../../types").Consumer["stop"]} */ - const stop = async () => { - try { - if (runner) { - await runner.stop() - runner = null - consumerGroup = null - instrumentationEmitter.emit(STOP) - } - - logger.info('Stopped', { groupId }) - } catch (e) { - logger.error(`Caught error when stopping the consumer: ${e.message}`, { - stack: e.stack, - groupId, - }) - - throw e - } - } - - /** @type {import("../../types").Consumer["subscribe"]} */ - const subscribe = async ({ topic, fromBeginning = false }) => { - if (consumerGroup) { - throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running') - } - - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - const isRegExp = topic instanceof RegExp - if (typeof topic !== 'string' && !isRegExp) { - throw new KafkaJSNonRetriableError( - `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp` - ) - } - - const topicsToSubscribe = [] - if (isRegExp) { - const topicRegExp = topic - const metadata = await cluster.metadata() - const matchedTopics = metadata.topicMetadata - .map(({ topic: topicName }) => topicName) - .filter(topicName => topicRegExp.test(topicName)) - - logger.debug('Subscription based on RegExp', { - groupId, - topicRegExp: topicRegExp.toString(), - matchedTopics, - }) - - topicsToSubscribe.push(...matchedTopics) - } else { - topicsToSubscribe.push(topic) - } - - for (const t of topicsToSubscribe) { - topics[t] = { fromBeginning } - } - - await cluster.addMultipleTargetTopics(topicsToSubscribe) - } - - /** @type {import("../../types").Consumer["run"]} */ - const run = async ({ - autoCommit = true, - autoCommitInterval = null, - autoCommitThreshold = null, - eachBatchAutoResolve = true, - partitionsConsumedConcurrently = 1, - eachBatch = null, - eachMessage = null, - } = {}) => { - if (consumerGroup) { - logger.warn('consumer#run was called, but the consumer is already running', { groupId }) - return - } - - consumerGroup = createConsumerGroup({ - autoCommit, - autoCommitInterval, - autoCommitThreshold, - }) - - const start = async onCrash => { - logger.info('Starting', { groupId }) - runner = createRunner({ - autoCommit, - eachBatchAutoResolve, - eachBatch, - eachMessage, - onCrash, - partitionsConsumedConcurrently, - }) - - await runner.start() - } - - const restart = onCrash => { - consumerGroup = createConsumerGroup({ - autoCommitInterval, - autoCommitThreshold, - }) - - start(onCrash) - } - - const onCrash = async e => { - logger.error(`Crash: ${e.name}: ${e.message}`, { - groupId, - retryCount: e.retryCount, - stack: e.stack, - }) - - if (e.name === 'KafkaJSConnectionClosedError') { - cluster.removeBroker({ host: e.host, port: e.port }) - } - - await disconnect() - - const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true - const shouldRestart = - isErrorRetriable && - (!retry || - !retry.restartOnFailure || - (await retry.restartOnFailure(e).catch(error => { - logger.error( - 'Caught error when invoking user-provided "restartOnFailure" callback. Defaulting to restarting.', - { - error: error.message || error, - originalError: e.message || e, - groupId, - } - ) - - return true - }))) - - instrumentationEmitter.emit(CRASH, { - error: e, - groupId, - restart: shouldRestart, - }) - - if (shouldRestart) { - const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime - logger.error(`Restarting the consumer in ${retryTime}ms`, { - retryCount: e.retryCount, - retryTime, - groupId, - }) - - setTimeout(() => restart(onCrash), retryTime) - } - } - - await start(onCrash) - } - - /** @type {import("../../types").Consumer["on"]} */ - const on = (eventName, listener) => { - if (!eventNames.includes(eventName)) { - throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) - } - - return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { - event.type = wrapEvent(event.type) - Promise.resolve(listener(event)).catch(e => { - logger.error(`Failed to execute listener: ${e.message}`, { - eventName, - stack: e.stack, - }) - }) - }) - } - - /** - * @type {import("../../types").Consumer["commitOffsets"]} - * @param topicPartitions - * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }] - */ - const commitOffsets = async (topicPartitions = []) => { - const commitsByTopic = topicPartitions.reduce( - (payload, { topic, partition, offset, metadata = null }) => { - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - if (isNaN(partition)) { - throw new KafkaJSNonRetriableError( - `Invalid partition, expected a number received ${partition}` - ) - } - - let commitOffset - try { - commitOffset = Long.fromValue(offset) - } catch (_) { - throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`) - } - - if (commitOffset.lessThan(0)) { - throw new KafkaJSNonRetriableError('Offset must not be a negative number') - } - - if (metadata !== null && typeof metadata !== 'string') { - throw new KafkaJSNonRetriableError( - `Invalid offset metadata, expected string or null, received ${metadata}` - ) - } - - const topicCommits = payload[topic] || [] - - topicCommits.push({ partition, offset: commitOffset, metadata }) - - return { ...payload, [topic]: topicCommits } - }, - {} - ) - - if (!consumerGroup) { - throw new KafkaJSNonRetriableError( - 'Consumer group was not initialized, consumer#run must be called first' - ) - } - - const topics = Object.keys(commitsByTopic) - - return runner.commitOffsets({ - topics: topics.map(topic => { - return { - topic, - partitions: commitsByTopic[topic], - } - }), - }) - } - - /** @type {import("../../types").Consumer["seek"]} */ - const seek = ({ topic, partition, offset }) => { - if (!topic) { - throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`) - } - - if (isNaN(partition)) { - throw new KafkaJSNonRetriableError( - `Invalid partition, expected a number received ${partition}` - ) - } - - let seekOffset - try { - seekOffset = Long.fromValue(offset) - } catch (_) { - throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`) - } - - if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) { - throw new KafkaJSNonRetriableError('Offset must not be a negative number') - } - - if (!consumerGroup) { - throw new KafkaJSNonRetriableError( - 'Consumer group was not initialized, consumer#run must be called first' - ) - } - - consumerGroup.seek({ topic, partition, offset: seekOffset.toString() }) - } - - /** @type {import("../../types").Consumer["describeGroup"]} */ - const describeGroup = async () => { - const coordinator = await cluster.findGroupCoordinator({ groupId }) - const retrier = createRetry(retry) - return retrier(async () => { - const { groups } = await coordinator.describeGroups({ groupIds: [groupId] }) - return groups.find(group => group.groupId === groupId) - }) - } - - /** - * @type {import("../../types").Consumer["pause"]} - * @param topicPartitions - * Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - const pause = (topicPartitions = []) => { - for (const topicPartition of topicPartitions) { - if (!topicPartition || !topicPartition.topic) { - throw new KafkaJSNonRetriableError( - `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}` - ) - } else if ( - typeof topicPartition.partitions !== 'undefined' && - (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN)) - ) { - throw new KafkaJSNonRetriableError( - `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}` - ) - } - } - - if (!consumerGroup) { - throw new KafkaJSNonRetriableError( - 'Consumer group was not initialized, consumer#run must be called first' - ) - } - - consumerGroup.pause(topicPartitions) - } - - /** - * Returns the list of topic partitions paused on this consumer - * - * @type {import("../../types").Consumer["paused"]} - */ - const paused = () => { - if (!consumerGroup) { - return [] - } - - return consumerGroup.paused() - } - - /** - * @type {import("../../types").Consumer["resume"]} - * @param topicPartitions - * Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - const resume = (topicPartitions = []) => { - for (const topicPartition of topicPartitions) { - if (!topicPartition || !topicPartition.topic) { - throw new KafkaJSNonRetriableError( - `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}` - ) - } else if ( - typeof topicPartition.partitions !== 'undefined' && - (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN)) - ) { - throw new KafkaJSNonRetriableError( - `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}` - ) - } - } - - if (!consumerGroup) { - throw new KafkaJSNonRetriableError( - 'Consumer group was not initialized, consumer#run must be called first' - ) - } - - consumerGroup.resume(topicPartitions) - } - - /** - * @return {Object} logger - */ - const getLogger = () => logger - - return { - connect, - disconnect, - subscribe, - stop, - run, - commitOffsets, - seek, - describeGroup, - pause, - paused, - resume, - on, - events, - logger: getLogger, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/instrumentationEvents.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") -const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") -const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") -const consumerType = InstrumentationEventType('consumer') - -const events = { - HEARTBEAT: consumerType('heartbeat'), - COMMIT_OFFSETS: consumerType('commit_offsets'), - GROUP_JOIN: consumerType('group_join'), - FETCH: consumerType('fetch'), - FETCH_START: consumerType('fetch_start'), - START_BATCH_PROCESS: consumerType('start_batch_process'), - END_BATCH_PROCESS: consumerType('end_batch_process'), - CONNECT: consumerType('connect'), - DISCONNECT: consumerType('disconnect'), - STOP: consumerType('stop'), - CRASH: consumerType('crash'), - REBALANCING: consumerType('rebalancing'), - RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'), - REQUEST: consumerType(networkEvents.NETWORK_REQUEST), - REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT), - REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), -} - -const wrappedEvents = { - [events.REQUEST]: networkEvents.NETWORK_REQUEST, - [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, - [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, -} - -const reversedWrappedEvents = swapObject(wrappedEvents) -const unwrap = eventName => wrappedEvents[eventName] || eventName -const wrap = eventName => reversedWrappedEvents[eventName] || eventName - -module.exports = { - events, - wrap, - unwrap, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/offsetManager/index.js": -/*!******************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/offsetManager/index.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const flatten = __webpack_require__(/*! ../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const isInvalidOffset = __webpack_require__(/*! ./isInvalidOffset */ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js") -const initializeConsumerOffsets = __webpack_require__(/*! ./initializeConsumerOffsets */ "./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js") -const { - events: { COMMIT_OFFSETS }, -} = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") - -const { keys, assign } = Object -const indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {}) - -const PRIVATE = { - COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'), -} -module.exports = class OffsetManager { - /** - * @param {Object} options - * @param {import("../../../types").Cluster} options.cluster - * @param {import("../../../types").Broker} options.coordinator - * @param {import("../../../types").IMemberAssignment} options.memberAssignment - * @param {boolean} options.autoCommit - * @param {number | null} options.autoCommitInterval - * @param {number | null} options.autoCommitThreshold - * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations - * @param {import("../../instrumentation/emitter")} options.instrumentationEmitter - * @param {string} options.groupId - * @param {number} options.generationId - * @param {string} options.memberId - */ - constructor({ - cluster, - coordinator, - memberAssignment, - autoCommit, - autoCommitInterval, - autoCommitThreshold, - topicConfigurations, - instrumentationEmitter, - groupId, - generationId, - memberId, - }) { - this.cluster = cluster - this.coordinator = coordinator - - // memberAssignment format: - // { - // 'topic1': [0, 1, 2, 3], - // 'topic2': [0, 1, 2, 3, 4, 5], - // } - this.memberAssignment = memberAssignment - - this.topicConfigurations = topicConfigurations - this.instrumentationEmitter = instrumentationEmitter - this.groupId = groupId - this.generationId = generationId - this.memberId = memberId - - this.autoCommit = autoCommit - this.autoCommitInterval = autoCommitInterval - this.autoCommitThreshold = autoCommitThreshold - this.lastCommit = Date.now() - - this.topics = keys(memberAssignment) - this.clearAllOffsets() - } - - /** - * @param {string} topic - * @param {number} partition - * @returns {Long} - */ - nextOffset(topic, partition) { - if (!this.resolvedOffsets[topic][partition]) { - this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition] - } - - let offset = this.resolvedOffsets[topic][partition] - if (isInvalidOffset(offset)) { - offset = '0' - } - - return Long.fromValue(offset) - } - - /** - * @returns {Promise} - */ - async getCoordinator() { - if (!this.coordinator.isConnected()) { - this.coordinator = await this.cluster.findBroker(this.coordinator) - } - - return this.coordinator - } - - /** - * @param {import("../../../types").TopicPartition} topicPartition - */ - resetOffset({ topic, partition }) { - this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition] - } - - /** - * @param {import("../../../types").TopicPartitionOffset} topicPartitionOffset - */ - resolveOffset({ topic, partition, offset }) { - this.resolvedOffsets[topic][partition] = Long.fromValue(offset) - .add(1) - .toString() - } - - /** - * @returns {Long} - */ - countResolvedOffsets() { - const committedOffsets = this.committedOffsets() - - const subtractOffsets = (resolvedOffset, committedOffset) => { - const resolvedOffsetLong = Long.fromValue(resolvedOffset) - return isInvalidOffset(committedOffset) - ? resolvedOffsetLong - : resolvedOffsetLong.subtract(Long.fromValue(committedOffset)) - } - - const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) => - keys(resolvedTopicOffsets).map(partition => - subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition]) - ) - - const subtractTopicOffsets = topic => - subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic]) - - const offsetsDiff = this.topics.map(subtractTopicOffsets) - return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0)) - } - - /** - * @param {import("../../../types").TopicPartition} topicPartition - */ - async setDefaultOffset({ topic, partition }) { - const { groupId, generationId, memberId } = this - const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic]) - const coordinator = await this.getCoordinator() - - await coordinator.offsetCommit({ - groupId, - memberId, - groupGenerationId: generationId, - topics: [ - { - topic, - partitions: [{ partition, offset: defaultOffset }], - }, - ], - }) - - this.clearOffsets({ topic, partition }) - } - - /** - * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given - * topic/partition this method will be a NO-OP. - * - * @param {import("../../../types").TopicPartitionOffset} topicPartitionOffset - */ - async seek({ topic, partition, offset }) { - if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) { - return - } - - if (!this.autoCommit) { - this.resolveOffset({ - topic, - partition, - offset: Long.fromValue(offset) - .subtract(1) - .toString(), - }) - return - } - - const { groupId, generationId, memberId } = this - const coordinator = await this.getCoordinator() - - await coordinator.offsetCommit({ - groupId, - memberId, - groupGenerationId: generationId, - topics: [ - { - topic, - partitions: [{ partition, offset }], - }, - ], - }) - - this.clearOffsets({ topic, partition }) - } - - async commitOffsetsIfNecessary() { - const now = Date.now() - - const timeoutReached = - this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval - - const thresholdReached = - this.autoCommitThreshold != null && - this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold)) - - if (timeoutReached || thresholdReached) { - return this.commitOffsets() - } - } - - /** - * Return all locally resolved offsets which are not marked as committed, by topic-partition. - * @returns {OffsetsByTopicPartition} - * - * @typedef {Object} OffsetsByTopicPartition - * @property {TopicOffsets[]} topics - * - * @typedef {Object} TopicOffsets - * @property {PartitionOffset[]} partitions - * - * @typedef {Object} PartitionOffset - * @property {string} partition - * @property {string} offset - */ - uncommittedOffsets() { - const offsets = topic => keys(this.resolvedOffsets[topic]) - const emptyPartitions = ({ partitions }) => partitions.length > 0 - const toPartitions = topic => partition => ({ - partition, - offset: this.resolvedOffsets[topic][partition], - }) - const changedOffsets = topic => ({ partition, offset }) => { - return ( - offset !== this.committedOffsets()[topic][partition] && - Long.fromValue(offset).greaterThanOrEqual(0) - ) - } - - // Select and format updated partitions - const topicsWithPartitionsToCommit = this.topics - .map(topic => ({ - topic, - partitions: offsets(topic) - .map(toPartitions(topic)) - .filter(changedOffsets(topic)), - })) - .filter(emptyPartitions) - - return { topics: topicsWithPartitionsToCommit } - } - - async commitOffsets(offsets = {}) { - const { groupId, generationId, memberId } = this - const { topics = this.uncommittedOffsets().topics } = offsets - - if (topics.length === 0) { - this.lastCommit = Date.now() - return - } - - const payload = { - groupId, - memberId, - groupGenerationId: generationId, - topics, - } - - try { - const coordinator = await this.getCoordinator() - await coordinator.offsetCommit(payload) - this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload) - - // Update local reference of committed offsets - topics.forEach(({ topic, partitions }) => { - const updatedOffsets = partitions.reduce( - (obj, { partition, offset }) => assign(obj, { [partition]: offset }), - {} - ) - - this[PRIVATE.COMMITTED_OFFSETS][topic] = assign( - {}, - this.committedOffsets()[topic], - updatedOffsets - ) - }) - - this.lastCommit = Date.now() - } catch (e) { - // metadata is stale, the coordinator has changed due to a restart or - // broker reassignment - if (e.type === 'NOT_COORDINATOR_FOR_GROUP') { - await this.cluster.refreshMetadata() - } - - throw e - } - } - - async resolveOffsets() { - const { groupId } = this - const invalidOffset = topic => partition => { - return isInvalidOffset(this.committedOffsets()[topic][partition]) - } - - const pendingPartitions = this.topics - .map(topic => ({ - topic, - partitions: this.memberAssignment[topic] - .filter(invalidOffset(topic)) - .map(partition => ({ partition })), - })) - .filter(t => t.partitions.length > 0) - - if (pendingPartitions.length === 0) { - return - } - - const coordinator = await this.getCoordinator() - const { responses: consumerOffsets } = await coordinator.offsetFetch({ - groupId, - topics: pendingPartitions, - }) - - const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) => - assign( - { - topic, - partitions: partitions - .filter(({ offset }) => isInvalidOffset(offset)) - .map(({ partition }) => assign({ partition })), - }, - this.topicConfigurations[topic] - ) - ) - - const indexPartitions = (obj, { partition, offset }) => { - return assign(obj, { [partition]: offset }) - } - - const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0) - - let offsets = consumerOffsets - if (hasUnresolvedPartitions()) { - const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions) - offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets) - } - - offsets.forEach(({ topic, partitions }) => { - this.committedOffsets()[topic] = partitions.reduce(indexPartitions, { - ...this.committedOffsets()[topic], - }) - }) - } - - /** - * @private - * @param {import("../../../types").TopicPartition} topicPartition - */ - clearOffsets({ topic, partition }) { - delete this.committedOffsets()[topic][partition] - delete this.resolvedOffsets[topic][partition] - } - - /** - * @private - */ - clearAllOffsets() { - const committedOffsets = this.committedOffsets() - - for (const topic in committedOffsets) { - delete committedOffsets[topic] - } - - for (const topic of this.topics) { - committedOffsets[topic] = {} - } - - this.resolvedOffsets = indexTopics(this.topics) - } - - committedOffsets() { - if (!this[PRIVATE.COMMITTED_OFFSETS]) { - this[PRIVATE.COMMITTED_OFFSETS] = this.groupId - ? this.cluster.committedOffsets({ groupId: this.groupId }) - : {} - } - - return this[PRIVATE.COMMITTED_OFFSETS] - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js": -/*!**************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js ***! - \**************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const isInvalidOffset = __webpack_require__(/*! ./isInvalidOffset */ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js") -const { keys, assign } = Object - -const indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset }) -const indexTopics = (obj, { topic, partitions }) => - assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) }) - -module.exports = (consumerOffsets, topicOffsets) => { - const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {}) - const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {}) - - return keys(indexedConsumerOffsets).map(topic => { - const partitions = indexedConsumerOffsets[topic] - return { - topic, - partitions: keys(partitions).map(partition => { - const offset = partitions[partition] - const resolvedOffset = isInvalidOffset(offset) - ? indexedTopicOffsets[topic][partition] - : offset - - return { partition: Number(partition), offset: resolvedOffset } - }), - } - }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - -module.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative() - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/runner.js": -/*!*****************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/runner.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { EventEmitter } = __webpack_require__(/*! events */ "events") -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const limitConcurrency = __webpack_require__(/*! ../utils/concurrency */ "./node_modules/kafkajs/src/utils/concurrency.js") -const { KafkaJSError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const barrier = __webpack_require__(/*! ./barrier */ "./node_modules/kafkajs/src/consumer/barrier.js") - -const { - events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING }, -} = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/consumer/instrumentationEvents.js") - -const isRebalancing = e => - e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP' - -const isKafkaJSError = e => e instanceof KafkaJSError -const isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB)) -const CONSUMING_START = 'consuming-start' -const CONSUMING_STOP = 'consuming-stop' - -module.exports = class Runner extends EventEmitter { - /** - * @param {object} options - * @param {import("../../types").Logger} options.logger - * @param {import("./consumerGroup")} options.consumerGroup - * @param {import("../instrumentation/emitter")} options.instrumentationEmitter - * @param {boolean} [options.eachBatchAutoResolve=true] - * @param {number} [options.partitionsConsumedConcurrently] - * @param {(payload: import("../../types").EachBatchPayload) => Promise} options.eachBatch - * @param {(payload: import("../../types").EachMessagePayload) => Promise} options.eachMessage - * @param {number} [options.heartbeatInterval] - * @param {(reason: Error) => void} options.onCrash - * @param {import("../../types").RetryOptions} [options.retry] - * @param {boolean} [options.autoCommit=true] - */ - constructor({ - logger, - consumerGroup, - instrumentationEmitter, - eachBatchAutoResolve = true, - partitionsConsumedConcurrently, - eachBatch, - eachMessage, - heartbeatInterval, - onCrash, - retry, - autoCommit = true, - }) { - super() - this.logger = logger.namespace('Runner') - this.consumerGroup = consumerGroup - this.instrumentationEmitter = instrumentationEmitter - this.eachBatchAutoResolve = eachBatchAutoResolve - this.eachBatch = eachBatch - this.eachMessage = eachMessage - this.heartbeatInterval = heartbeatInterval - this.retrier = createRetry(Object.assign({}, retry)) - this.onCrash = onCrash - this.autoCommit = autoCommit - this.partitionsConsumedConcurrently = partitionsConsumedConcurrently - - this.running = false - this.consuming = false - } - - get consuming() { - return this._consuming - } - - set consuming(value) { - if (this._consuming !== value) { - this._consuming = value - this.emit(value ? CONSUMING_START : CONSUMING_STOP) - } - } - - async join() { - await this.consumerGroup.joinAndSync() - this.running = true - } - - async scheduleJoin() { - if (!this.running) { - this.logger.debug('consumer not running, exiting', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - return - } - - return this.join().catch(this.onCrash) - } - - async start() { - if (this.running) { - return - } - - try { - await this.consumerGroup.connect() - await this.join() - - this.running = true - this.scheduleFetch() - } catch (e) { - this.onCrash(e) - } - } - - async stop() { - if (!this.running) { - return - } - - this.logger.debug('stop consumer group', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - - this.running = false - - try { - await this.waitForConsumer() - await this.consumerGroup.leave() - } catch (e) {} - } - - waitForConsumer() { - return new Promise(resolve => { - if (!this.consuming) { - return resolve() - } - - this.logger.debug('waiting for consumer to finish...', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - - this.once(CONSUMING_STOP, () => resolve()) - }) - } - - async processEachMessage(batch) { - const { topic, partition } = batch - - for (const message of batch.messages) { - if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) { - break - } - - try { - await this.eachMessage({ - topic, - partition, - message, - heartbeat: async () => { - await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) - }, - }) - } catch (e) { - if (!isKafkaJSError(e)) { - this.logger.error(`Error when calling eachMessage`, { - topic, - partition, - offset: message.offset, - stack: e.stack, - error: e, - }) - } - - // In case of errors, commit the previously consumed offsets unless autoCommit is disabled - await this.autoCommitOffsets() - throw e - } - - this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset }) - await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) - await this.autoCommitOffsetsIfNecessary() - } - } - - async processEachBatch(batch) { - const { topic, partition } = batch - const lastFilteredMessage = batch.messages[batch.messages.length - 1] - - try { - await this.eachBatch({ - batch, - resolveOffset: offset => { - /** - * The transactional producer generates a control record after committing the transaction. - * The control record is the last record on the RecordBatch, and it is filtered before it - * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't - * be able to resolve the control record offset, since it never reaches the callback, - * causing stuck consumers as the consumer will never move the offset marker. - * - * When the last offset of the batch is resolved, we should automatically resolve - * the control record offset as this entry doesn't have any meaning to the user-land code, - * and won't interfere with the stream processing. - * - * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505 - */ - const offsetToResolve = - lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset) - ? batch.lastOffset() - : offset - - this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve }) - }, - heartbeat: async () => { - await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) - }, - /** - * Commit offsets if provided. Otherwise commit most recent resolved offsets - * if the autoCommit conditions are met. - * - * @param {OffsetsByTopicPartition} [offsets] Optional. - */ - commitOffsetsIfNecessary: async offsets => { - return offsets - ? this.consumerGroup.commitOffsets(offsets) - : this.consumerGroup.commitOffsetsIfNecessary() - }, - uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(), - isRunning: () => this.running, - isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }), - }) - } catch (e) { - if (!isKafkaJSError(e)) { - this.logger.error(`Error when calling eachBatch`, { - topic, - partition, - offset: batch.firstOffset(), - stack: e.stack, - error: e, - }) - } - - // eachBatch has a special resolveOffset which can be used - // to keep track of the messages - await this.autoCommitOffsets() - throw e - } - - // resolveOffset for the last offset can be disabled to allow the users of eachBatch to - // stop their consumers without resolving unprocessed offsets (issues/18) - if (this.eachBatchAutoResolve) { - this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() }) - } - } - - async fetch() { - const startFetch = Date.now() - - this.instrumentationEmitter.emit(FETCH_START, {}) - - const iterator = await this.consumerGroup.fetch() - - this.instrumentationEmitter.emit(FETCH, { - /** - * PR #570 removed support for the number of batches in this instrumentation event; - * The new implementation uses an async generation to deliver the batches, which makes - * this number impossible to get. The number is set to 0 to keep the event backward - * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS. - * - * @since 2019-11-29 - */ - numberOfBatches: 0, - duration: Date.now() - startFetch, - }) - - const onBatch = async batch => { - const startBatchProcess = Date.now() - const payload = { - topic: batch.topic, - partition: batch.partition, - highWatermark: batch.highWatermark, - offsetLag: batch.offsetLag(), - /** - * @since 2019-06-24 (>= 1.8.0) - * - * offsetLag returns the lag based on the latest offset in the batch, to - * keep the event backward compatible we just introduced "offsetLagLow" - * which calculates the lag based on the first offset in the batch - */ - offsetLagLow: batch.offsetLagLow(), - batchSize: batch.messages.length, - firstOffset: batch.firstOffset(), - lastOffset: batch.lastOffset(), - } - - /** - * If the batch contained only control records or only aborted messages then we still - * need to resolve and auto-commit to ensure the consumer can move forward. - * - * We also need to emit batch instrumentation events to allow any listeners keeping - * track of offsets to know about the latest point of consumption. - * - * Added in #1256 - * - * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505 - */ - if (batch.isEmptyDueToFiltering()) { - this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload) - - this.consumerGroup.resolveOffset({ - topic: batch.topic, - partition: batch.partition, - offset: batch.lastOffset(), - }) - await this.autoCommitOffsetsIfNecessary() - - this.instrumentationEmitter.emit(END_BATCH_PROCESS, { - ...payload, - duration: Date.now() - startBatchProcess, - }) - return - } - - if (batch.isEmpty()) { - return - } - - this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload) - - if (this.eachMessage) { - await this.processEachMessage(batch) - } else if (this.eachBatch) { - await this.processEachBatch(batch) - } - - this.instrumentationEmitter.emit(END_BATCH_PROCESS, { - ...payload, - duration: Date.now() - startBatchProcess, - }) - - await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) - } - - const { lock, unlock, unlockWithError } = barrier() - const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently }) - - let requestsCompleted = false - let numberOfExecutions = 0 - let expectedNumberOfExecutions = 0 - const enqueuedTasks = [] - - while (true) { - const result = iterator.next() - - if (result.done) { - break - } - - if (!this.running) { - result.value.catch(error => { - this.logger.debug('Ignoring error in fetch request while stopping runner', { - error: error.message || error, - stack: error.stack, - }) - }) - - continue - } - - enqueuedTasks.push(async () => { - const batches = await result.value - expectedNumberOfExecutions += batches.length - - batches.map(batch => - concurrently(async () => { - try { - if (!this.running) { - return - } - - await onBatch(batch) - } catch (e) { - unlockWithError(e) - } finally { - numberOfExecutions++ - if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) { - unlock() - } - } - }).catch(unlockWithError) - ) - }) - } - - await Promise.all(enqueuedTasks.map(fn => fn())) - requestsCompleted = true - - if (expectedNumberOfExecutions === numberOfExecutions) { - unlock() - } - - const error = await lock - if (error) { - throw error - } - - await this.autoCommitOffsets() - await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval }) - } - - async scheduleFetch() { - if (!this.running) { - this.logger.debug('consumer not running, exiting', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - - return - } - - return this.retrier(async (bail, retryCount, retryTime) => { - try { - this.consuming = true - await this.fetch() - this.consuming = false - - if (this.running) { - setImmediate(() => this.scheduleFetch()) - } - } catch (e) { - if (!this.running) { - this.logger.debug('consumer not running, exiting', { - error: e.message, - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - return - } - - if (isRebalancing(e)) { - this.logger.warn('The group is rebalancing, re-joining', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - retryCount, - retryTime, - }) - - this.instrumentationEmitter.emit(REBALANCING, { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - - await this.join() - setImmediate(() => this.scheduleFetch()) - return - } - - if (e.type === 'UNKNOWN_MEMBER_ID') { - this.logger.error('The coordinator is not aware of this member, re-joining the group', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - retryCount, - retryTime, - }) - - this.consumerGroup.memberId = null - await this.join() - setImmediate(() => this.scheduleFetch()) - return - } - - if (e.name === 'KafkaJSOffsetOutOfRange') { - setImmediate(() => this.scheduleFetch()) - return - } - - if (e.name === 'KafkaJSNotImplemented') { - return bail(e) - } - - this.logger.debug('Error while fetching data, trying again...', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - stack: e.stack, - retryCount, - retryTime, - }) - - throw e - } finally { - this.consuming = false - } - }).catch(this.onCrash) - } - - autoCommitOffsets() { - if (this.autoCommit) { - return this.consumerGroup.commitOffsets() - } - } - - autoCommitOffsetsIfNecessary() { - if (this.autoCommit) { - return this.consumerGroup.commitOffsetsIfNecessary() - } - } - - commitOffsets(offsets) { - if (!this.running) { - this.logger.debug('consumer not running, exiting', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - offsets, - }) - return - } - - return this.retrier(async (bail, retryCount, retryTime) => { - try { - await this.consumerGroup.commitOffsets(offsets) - } catch (e) { - if (!this.running) { - this.logger.debug('consumer not running, exiting', { - error: e.message, - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - offsets, - }) - return - } - - if (isRebalancing(e)) { - this.logger.warn('The group is rebalancing, re-joining', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - retryCount, - retryTime, - }) - - this.instrumentationEmitter.emit(REBALANCING, { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - }) - - setImmediate(() => this.scheduleJoin()) - - bail(new KafkaJSError(e)) - } - - if (e.type === 'UNKNOWN_MEMBER_ID') { - this.logger.error('The coordinator is not aware of this member, re-joining the group', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - retryCount, - retryTime, - }) - - this.consumerGroup.memberId = null - setImmediate(() => this.scheduleJoin()) - - bail(new KafkaJSError(e)) - } - - if (e.name === 'KafkaJSNotImplemented') { - return bail(e) - } - - this.logger.debug('Error while committing offsets, trying again...', { - groupId: this.consumerGroup.groupId, - memberId: this.consumerGroup.memberId, - error: e.message, - stack: e.stack, - retryCount, - retryTime, - offsets, - }) - - throw e - } - }) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/seekOffsets.js": -/*!**********************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/seekOffsets.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = class SeekOffsets extends Map { - set(topic, partition, offset) { - super.set([topic, partition], offset) - } - - has(topic, partition) { - return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition) - } - - pop() { - if (this.size === 0) { - return - } - - const [key, offset] = this.entries().next().value - this.delete(key) - const [topic, partition] = key - return { topic, partition, offset } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/consumer/subscriptionState.js": -/*!****************************************************************!*\ - !*** ./node_modules/kafkajs/src/consumer/subscriptionState.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module) => { - -const createState = topic => ({ - topic, - paused: new Set(), - pauseAll: false, - resumed: new Set(), -}) - -module.exports = class SubscriptionState { - constructor() { - this.assignedPartitionsByTopic = {} - this.subscriptionStatesByTopic = {} - } - - /** - * Replace the current assignment with a new set of assignments - * - * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - assign(topicPartitions = []) { - this.assignedPartitionsByTopic = topicPartitions.reduce( - (assigned, { topic, partitions = [] }) => { - return { ...assigned, [topic]: { topic, partitions } } - }, - {} - ) - } - - /** - * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - pause(topicPartitions = []) { - topicPartitions.forEach(({ topic, partitions }) => { - const state = this.subscriptionStatesByTopic[topic] || createState(topic) - - if (typeof partitions === 'undefined') { - state.paused.clear() - state.resumed.clear() - state.pauseAll = true - } else if (Array.isArray(partitions)) { - partitions.forEach(partition => { - state.paused.add(partition) - state.resumed.delete(partition) - }) - state.pauseAll = false - } - - this.subscriptionStatesByTopic[topic] = state - }) - } - - /** - * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - resume(topicPartitions = []) { - topicPartitions.forEach(({ topic, partitions }) => { - const state = this.subscriptionStatesByTopic[topic] || createState(topic) - - if (typeof partitions === 'undefined') { - state.paused.clear() - state.resumed.clear() - state.pauseAll = false - } else if (Array.isArray(partitions)) { - partitions.forEach(partition => { - state.paused.delete(partition) - - if (state.pauseAll) { - state.resumed.add(partition) - } - }) - } - - this.subscriptionStatesByTopic[topic] = state - }) - } - - /** - * @returns {Array} topicPartitions - * Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - assigned() { - return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({ - topic, - partitions: partitions.sort(), - })) - } - - /** - * @returns {Array} topicPartitions - * Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - active() { - return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({ - topic, - partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(), - })) - } - - /** - * @returns {Array} topicPartitions - * Example: [{ topic: 'topic-name', partitions: [1, 2] }] - */ - paused() { - return Object.values(this.assignedPartitionsByTopic) - .map(({ topic, partitions }) => ({ - topic, - partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(), - })) - .filter(({ partitions }) => partitions.length !== 0) - } - - isPaused(topic, partition) { - const state = this.subscriptionStatesByTopic[topic] - - if (!state) { - return false - } - - const partitionResumed = state.resumed.has(partition) - const partitionPaused = state.paused.has(partition) - - return (state.pauseAll && !partitionResumed) || partitionPaused - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/env.js": -/*!*****************************************!*\ - !*** ./node_modules/kafkajs/src/env.js ***! - \*****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = () => ({ - KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS, - KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/errors.js": -/*!********************************************!*\ - !*** ./node_modules/kafkajs/src/errors.js ***! - \********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 244:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const pkgJson = __webpack_require__(/*! ../package.json */ "./node_modules/kafkajs/package.json") -const { bugs } = pkgJson - -class KafkaJSError extends Error { - constructor(e, { retriable = true } = {}) { - super(e) - Error.captureStackTrace(this, this.constructor) - this.message = e.message || e - this.name = 'KafkaJSError' - this.retriable = retriable - this.helpUrl = e.helpUrl - } -} - -class KafkaJSNonRetriableError extends KafkaJSError { - constructor(e) { - super(e, { retriable: false }) - this.name = 'KafkaJSNonRetriableError' - this.originalError = e - } -} - -class KafkaJSProtocolError extends KafkaJSError { - constructor(e, { retriable = e.retriable } = {}) { - super(e, { retriable }) - this.type = e.type - this.code = e.code - this.name = 'KafkaJSProtocolError' - } -} - -class KafkaJSOffsetOutOfRange extends KafkaJSProtocolError { - constructor(e, { topic, partition }) { - super(e) - this.topic = topic - this.partition = partition - this.name = 'KafkaJSOffsetOutOfRange' - } -} - -class KafkaJSMemberIdRequired extends KafkaJSProtocolError { - constructor(e, { memberId }) { - super(e) - this.memberId = memberId - this.name = 'KafkaJSMemberIdRequired' - } -} - -class KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError { - constructor(e, { retryCount, retryTime }) { - super(e) - this.stack = `${this.name}\n Caused by: ${e.stack}` - this.originalError = e - this.retryCount = retryCount - this.retryTime = retryTime - this.name = 'KafkaJSNumberOfRetriesExceeded' - } -} - -class KafkaJSConnectionError extends KafkaJSError { - constructor(e, { broker, code } = {}) { - super(e) - this.broker = broker - this.code = code - this.name = 'KafkaJSConnectionError' - } -} - -class KafkaJSConnectionClosedError extends KafkaJSConnectionError { - constructor(e, { host, port } = {}) { - super(e, { broker: `${host}:${port}` }) - this.host = host - this.port = port - this.name = 'KafkaJSConnectionClosedError' - } -} - -class KafkaJSRequestTimeoutError extends KafkaJSError { - constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) { - super(e) - this.broker = broker - this.correlationId = correlationId - this.createdAt = createdAt - this.sentAt = sentAt - this.pendingDuration = pendingDuration - this.name = 'KafkaJSRequestTimeoutError' - } -} - -class KafkaJSMetadataNotLoaded extends KafkaJSError { - constructor() { - super(...arguments) - this.name = 'KafkaJSMetadataNotLoaded' - } -} -class KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded { - constructor(e, { topic } = {}) { - super(e) - this.topic = topic - this.name = 'KafkaJSTopicMetadataNotLoaded' - } -} -class KafkaJSStaleTopicMetadataAssignment extends KafkaJSError { - constructor(e, { topic, unknownPartitions } = {}) { - super(e) - this.topic = topic - this.unknownPartitions = unknownPartitions - this.name = 'KafkaJSStaleTopicMetadataAssignment' - } -} - -class KafkaJSDeleteGroupsError extends KafkaJSError { - constructor(e, groups = []) { - super(e) - this.groups = groups - this.name = 'KafkaJSDeleteGroupsError' - } -} - -class KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError { - constructor(e, { apiKey, apiName } = {}) { - super(e) - this.apiKey = apiKey - this.apiName = apiName - this.name = 'KafkaJSServerDoesNotSupportApiKey' - } -} - -class KafkaJSBrokerNotFound extends KafkaJSError { - constructor() { - super(...arguments) - this.name = 'KafkaJSBrokerNotFound' - } -} - -class KafkaJSPartialMessageError extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSPartialMessageError' - } -} - -class KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSSASLAuthenticationError' - } -} - -class KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSGroupCoordinatorNotFound' - } -} - -class KafkaJSNotImplemented extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSNotImplemented' - } -} - -class KafkaJSTimeout extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSTimeout' - } -} - -class KafkaJSLockTimeout extends KafkaJSTimeout { - constructor() { - super(...arguments) - this.name = 'KafkaJSLockTimeout' - } -} - -class KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSUnsupportedMagicByteInMessageSet' - } -} - -class KafkaJSDeleteTopicRecordsError extends KafkaJSError { - constructor({ partitions }) { - /* - * This error is retriable if all the errors were retriable - */ - const retriable = partitions - .filter(({ error }) => error != null) - .every(({ error }) => error.retriable === true) - - super('Error while deleting records', { retriable }) - this.name = 'KafkaJSDeleteTopicRecordsError' - this.partitions = partitions - } -} - -const issueUrl = bugs ? bugs.url : null - -class KafkaJSInvariantViolation extends KafkaJSNonRetriableError { - constructor(e) { - const message = e.message || e - super(`Invariant violated: ${message}. This is likely a bug and should be reported.`) - this.name = 'KafkaJSInvariantViolation' - - if (issueUrl !== null) { - const issueTitle = encodeURIComponent(`Invariant violation: ${message}`) - this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}` - } - } -} - -class KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSNonRetriableError' - } -} - -class KafkaJSInvalidLongError extends KafkaJSNonRetriableError { - constructor() { - super(...arguments) - this.name = 'KafkaJSNonRetriableError' - } -} - -class KafkaJSCreateTopicError extends KafkaJSProtocolError { - constructor(e, topicName) { - super(e) - this.topic = topicName - this.name = 'KafkaJSCreateTopicError' - } -} -class KafkaJSAggregateError extends Error { - constructor(message, errors) { - super(message) - this.errors = errors - this.name = 'KafkaJSAggregateError' - } -} - -module.exports = { - KafkaJSError, - KafkaJSNonRetriableError, - KafkaJSPartialMessageError, - KafkaJSBrokerNotFound, - KafkaJSProtocolError, - KafkaJSConnectionError, - KafkaJSConnectionClosedError, - KafkaJSRequestTimeoutError, - KafkaJSSASLAuthenticationError, - KafkaJSNumberOfRetriesExceeded, - KafkaJSOffsetOutOfRange, - KafkaJSMemberIdRequired, - KafkaJSGroupCoordinatorNotFound, - KafkaJSNotImplemented, - KafkaJSMetadataNotLoaded, - KafkaJSTopicMetadataNotLoaded, - KafkaJSStaleTopicMetadataAssignment, - KafkaJSDeleteGroupsError, - KafkaJSTimeout, - KafkaJSLockTimeout, - KafkaJSServerDoesNotSupportApiKey, - KafkaJSUnsupportedMagicByteInMessageSet, - KafkaJSDeleteTopicRecordsError, - KafkaJSInvariantViolation, - KafkaJSInvalidVarIntError, - KafkaJSInvalidLongError, - KafkaJSCreateTopicError, - KafkaJSAggregateError, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/index.js": -/*!*******************************************!*\ - !*** ./node_modules/kafkajs/src/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { - createLogger, - LEVELS: { INFO }, -} = __webpack_require__(/*! ./loggers */ "./node_modules/kafkajs/src/loggers/index.js") - -const InstrumentationEventEmitter = __webpack_require__(/*! ./instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") -const LoggerConsole = __webpack_require__(/*! ./loggers/console */ "./node_modules/kafkajs/src/loggers/console.js") -const Cluster = __webpack_require__(/*! ./cluster */ "./node_modules/kafkajs/src/cluster/index.js") -const createProducer = __webpack_require__(/*! ./producer */ "./node_modules/kafkajs/src/producer/index.js") -const createConsumer = __webpack_require__(/*! ./consumer */ "./node_modules/kafkajs/src/consumer/index.js") -const createAdmin = __webpack_require__(/*! ./admin */ "./node_modules/kafkajs/src/admin/index.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ./protocol/isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") -const defaultSocketFactory = __webpack_require__(/*! ./network/socketFactory */ "./node_modules/kafkajs/src/network/socketFactory.js") - -const PRIVATE = { - CREATE_CLUSTER: Symbol('private:Kafka:createCluster'), - CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'), - LOGGER: Symbol('private:Kafka:logger'), - OFFSETS: Symbol('private:Kafka:offsets'), -} - -const DEFAULT_METADATA_MAX_AGE = 300000 - -module.exports = class Client { - /** - * @param {Object} options - * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094'] - * @param {Object} options.ssl - * @param {Object} options.sasl - * @param {string} options.clientId - * @param {number} options.connectionTimeout - in milliseconds - * @param {number} options.authenticationTimeout - in milliseconds - * @param {number} options.reauthenticationThreshold - in milliseconds - * @param {number} [options.requestTimeout=30000] - in milliseconds - * @param {boolean} [options.enforceRequestTimeout] - * @param {import("../types").RetryOptions} [options.retry] - * @param {import("../types").ISocketFactory} [options.socketFactory] - */ - constructor({ - brokers, - ssl, - sasl, - clientId, - connectionTimeout, - authenticationTimeout, - reauthenticationThreshold, - requestTimeout, - enforceRequestTimeout = false, - retry, - socketFactory = defaultSocketFactory(), - logLevel = INFO, - logCreator = LoggerConsole, - }) { - this[PRIVATE.OFFSETS] = new Map() - this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator }) - this[PRIVATE.CLUSTER_RETRY] = retry - this[PRIVATE.CREATE_CLUSTER] = ({ - metadataMaxAge, - allowAutoTopicCreation = true, - maxInFlightRequests = null, - instrumentationEmitter = null, - isolationLevel, - }) => - new Cluster({ - logger: this[PRIVATE.LOGGER], - retry: this[PRIVATE.CLUSTER_RETRY], - offsets: this[PRIVATE.OFFSETS], - socketFactory, - brokers, - ssl, - sasl, - clientId, - connectionTimeout, - authenticationTimeout, - reauthenticationThreshold, - requestTimeout, - enforceRequestTimeout, - metadataMaxAge, - instrumentationEmitter, - allowAutoTopicCreation, - maxInFlightRequests, - isolationLevel, - }) - } - - /** - * @public - */ - producer({ - createPartitioner, - retry, - metadataMaxAge = DEFAULT_METADATA_MAX_AGE, - allowAutoTopicCreation, - idempotent, - transactionalId, - transactionTimeout, - maxInFlightRequests, - } = {}) { - const instrumentationEmitter = new InstrumentationEventEmitter() - const cluster = this[PRIVATE.CREATE_CLUSTER]({ - metadataMaxAge, - allowAutoTopicCreation, - maxInFlightRequests, - instrumentationEmitter, - }) - - return createProducer({ - retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, - logger: this[PRIVATE.LOGGER], - cluster, - createPartitioner, - idempotent, - transactionalId, - transactionTimeout, - instrumentationEmitter, - }) - } - - /** - * @public - */ - consumer({ - groupId, - partitionAssigners, - metadataMaxAge = DEFAULT_METADATA_MAX_AGE, - sessionTimeout, - rebalanceTimeout, - heartbeatInterval, - maxBytesPerPartition, - minBytes, - maxBytes, - maxWaitTimeInMs, - retry = { retries: 5 }, - allowAutoTopicCreation, - maxInFlightRequests, - readUncommitted = false, - rackId = '', - } = {}) { - const isolationLevel = readUncommitted - ? ISOLATION_LEVEL.READ_UNCOMMITTED - : ISOLATION_LEVEL.READ_COMMITTED - - const instrumentationEmitter = new InstrumentationEventEmitter() - const cluster = this[PRIVATE.CREATE_CLUSTER]({ - metadataMaxAge, - allowAutoTopicCreation, - maxInFlightRequests, - isolationLevel, - instrumentationEmitter, - }) - - return createConsumer({ - retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, - logger: this[PRIVATE.LOGGER], - cluster, - groupId, - partitionAssigners, - sessionTimeout, - rebalanceTimeout, - heartbeatInterval, - maxBytesPerPartition, - minBytes, - maxBytes, - maxWaitTimeInMs, - isolationLevel, - instrumentationEmitter, - rackId, - metadataMaxAge, - }) - } - - /** - * @public - */ - admin({ retry } = {}) { - const instrumentationEmitter = new InstrumentationEventEmitter() - const cluster = this[PRIVATE.CREATE_CLUSTER]({ - allowAutoTopicCreation: false, - instrumentationEmitter, - }) - - return createAdmin({ - retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry }, - logger: this[PRIVATE.LOGGER], - instrumentationEmitter, - cluster, - }) - } - - /** - * @public - */ - logger() { - return this[PRIVATE.LOGGER] - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/instrumentation/emitter.js": -/*!*************************************************************!*\ - !*** ./node_modules/kafkajs/src/instrumentation/emitter.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { EventEmitter } = __webpack_require__(/*! events */ "events") -const InstrumentationEvent = __webpack_require__(/*! ./event */ "./node_modules/kafkajs/src/instrumentation/event.js") -const { KafkaJSError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -module.exports = class InstrumentationEventEmitter { - constructor() { - this.emitter = new EventEmitter() - } - - /** - * @param {string} eventName - * @param {Object} payload - */ - emit(eventName, payload) { - if (!eventName) { - throw new KafkaJSError('Invalid event name', { retriable: false }) - } - - if (this.emitter.listenerCount(eventName) > 0) { - const event = new InstrumentationEvent(eventName, payload) - this.emitter.emit(eventName, event) - } - } - - /** - * @param {string} eventName - * @param {(...args: any[]) => void} listener - * @returns {import("../../types").RemoveInstrumentationEventListener} removeListener - */ - addListener(eventName, listener) { - this.emitter.addListener(eventName, listener) - return () => this.emitter.removeListener(eventName, listener) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/instrumentation/event.js": -/*!***********************************************************!*\ - !*** ./node_modules/kafkajs/src/instrumentation/event.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module) => { - -let id = 0 -const nextId = () => { - if (id === Number.MAX_VALUE) { - id = 0 - } - - return id++ -} - -class InstrumentationEvent { - /** - * @param {String} type - * @param {Object} payload - */ - constructor(type, payload) { - this.id = nextId() - this.type = type - this.timestamp = Date.now() - this.payload = payload - } -} - -module.exports = InstrumentationEvent - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/instrumentation/eventType.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/instrumentation/eventType.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = namespace => type => `${namespace}.${type}` - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/loggers/console.js": -/*!*****************************************************!*\ - !*** ./node_modules/kafkajs/src/loggers/console.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { LEVELS: logLevel } = __webpack_require__(/*! ./index */ "./node_modules/kafkajs/src/loggers/index.js") - -module.exports = () => ({ namespace, level, label, log }) => { - const prefix = namespace ? `[${namespace}] ` : '' - const message = JSON.stringify( - Object.assign({ level: label }, log, { - message: `${prefix}${log.message}`, - }) - ) - - switch (level) { - case logLevel.INFO: - return console.info(message) - case logLevel.ERROR: - return console.error(message) - case logLevel.WARN: - return console.warn(message) - case logLevel.DEBUG: - return console.log(message) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/loggers/index.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/loggers/index.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 65:0-14 */ -/***/ ((module) => { - -const { assign } = Object - -const LEVELS = { - NOTHING: 0, - ERROR: 1, - WARN: 2, - INFO: 4, - DEBUG: 5, -} - -const createLevel = (label, level, currentLevel, namespace, logFunction) => ( - message, - extra = {} -) => { - if (level > currentLevel()) return - logFunction({ - namespace, - level, - label, - log: assign( - { - timestamp: new Date().toISOString(), - logger: 'kafkajs', - message, - }, - extra - ), - }) -} - -const evaluateLogLevel = logLevel => { - const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase() - return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel] -} - -const createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => { - let logLevel = evaluateLogLevel(level) - const logFunction = logCreator(logLevel) - - const createNamespace = (namespace, logLevel = null) => { - const namespaceLogLevel = evaluateLogLevel(logLevel) - return createLogFunctions(namespace, namespaceLogLevel) - } - - const createLogFunctions = (namespace, namespaceLogLevel = null) => { - const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel) - const logger = { - info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction), - error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction), - warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction), - debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction), - } - - return assign(logger, { - namespace: createNamespace, - setLogLevel: newLevel => { - logLevel = newLevel - }, - }) - } - - return createLogFunctions() -} - -module.exports = { - LEVELS, - createLogger, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/connection.js": -/*!********************************************************!*\ - !*** ./node_modules/kafkajs/src/network/connection.js ***! - \********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const createSocket = __webpack_require__(/*! ./socket */ "./node_modules/kafkajs/src/network/socket.js") -const createRequest = __webpack_require__(/*! ../protocol/request */ "./node_modules/kafkajs/src/protocol/request.js") -const Decoder = __webpack_require__(/*! ../protocol/decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { KafkaJSConnectionError, KafkaJSConnectionClosedError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const { INT_32_MAX_VALUE } = __webpack_require__(/*! ../constants */ "./node_modules/kafkajs/src/constants.js") -const getEnv = __webpack_require__(/*! ../env */ "./node_modules/kafkajs/src/env.js") -const RequestQueue = __webpack_require__(/*! ./requestQueue */ "./node_modules/kafkajs/src/network/requestQueue/index.js") -const { CONNECTION_STATUS, CONNECTED_STATUS } = __webpack_require__(/*! ./connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") - -const requestInfo = ({ apiName, apiKey, apiVersion }) => - `${apiName}(key: ${apiKey}, version: ${apiVersion})` - -module.exports = class Connection { - /** - * @param {Object} options - * @param {string} options.host - * @param {number} options.port - * @param {import("../../types").Logger} options.logger - * @param {import("../../types").ISocketFactory} options.socketFactory - * @param {string} [options.clientId='kafkajs'] - * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request, - * in milliseconds - * @param {string} [options.rack=null] - * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options, - * usually "cert", "key" and "ca". More information at - * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options - * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the - * key "mechanism". Connection is not actively using the SASL attributes - * but acting as a data object for this information - * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds - * @param {boolean} [options.enforceRequestTimeout] - * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before - * enqueuing - * @param {import("../instrumentation/emitter")} [options.instrumentationEmitter=null] - */ - constructor({ - host, - port, - logger, - socketFactory, - requestTimeout, - rack = null, - ssl = null, - sasl = null, - clientId = 'kafkajs', - connectionTimeout = 1000, - enforceRequestTimeout = false, - maxInFlightRequests = null, - instrumentationEmitter = null, - }) { - this.host = host - this.port = port - this.rack = rack - this.clientId = clientId - this.broker = `${this.host}:${this.port}` - this.logger = logger.namespace('Connection') - - this.socketFactory = socketFactory - this.ssl = ssl - this.sasl = sasl - - this.requestTimeout = requestTimeout - this.connectionTimeout = connectionTimeout - - this.bytesBuffered = 0 - this.bytesNeeded = Decoder.int32Size() - this.chunks = [] - - this.connectionStatus = CONNECTION_STATUS.DISCONNECTED - this.correlationId = 0 - this.requestQueue = new RequestQueue({ - instrumentationEmitter, - maxInFlightRequests, - requestTimeout, - enforceRequestTimeout, - clientId, - broker: this.broker, - logger: logger.namespace('RequestQueue'), - isConnected: () => this.connected, - }) - - this.authHandlers = null - this.authExpectResponse = false - - const log = level => (message, extra = {}) => { - const logFn = this.logger[level] - logFn(message, { broker: this.broker, clientId, ...extra }) - } - - this.logDebug = log('debug') - this.logError = log('error') - - const env = getEnv() - this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1' - this.shouldLogFetchBuffer = - this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1' - } - - get connected() { - return CONNECTED_STATUS.includes(this.connectionStatus) - } - - /** - * @public - * @returns {Promise} - */ - connect() { - return new Promise((resolve, reject) => { - if (this.connected) { - return resolve(true) - } - - let timeoutId - - const onConnect = () => { - clearTimeout(timeoutId) - this.connectionStatus = CONNECTION_STATUS.CONNECTED - this.requestQueue.scheduleRequestTimeoutCheck() - resolve(true) - } - - const onData = data => { - this.processData(data) - } - - const onEnd = async () => { - clearTimeout(timeoutId) - - const wasConnected = this.connected - - if (this.authHandlers) { - this.authHandlers.onError() - } else if (wasConnected) { - this.logDebug('Kafka server has closed connection') - this.rejectRequests( - new KafkaJSConnectionClosedError('Closed connection', { - host: this.host, - port: this.port, - }) - ) - } - - await this.disconnect() - } - - const onError = async e => { - clearTimeout(timeoutId) - - const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, { - broker: `${this.host}:${this.port}`, - code: e.code, - }) - - this.logError(error.message, { stack: e.stack }) - this.rejectRequests(error) - await this.disconnect() - - reject(error) - } - - const onTimeout = async () => { - const error = new KafkaJSConnectionError('Connection timeout', { - broker: `${this.host}:${this.port}`, - }) - - this.logError(error.message) - this.rejectRequests(error) - await this.disconnect() - reject(error) - } - - this.logDebug(`Connecting`, { - ssl: !!this.ssl, - sasl: !!this.sasl, - }) - - try { - timeoutId = setTimeout(onTimeout, this.connectionTimeout) - this.socket = createSocket({ - socketFactory: this.socketFactory, - host: this.host, - port: this.port, - ssl: this.ssl, - onConnect, - onData, - onEnd, - onError, - onTimeout, - }) - } catch (e) { - clearTimeout(timeoutId) - reject( - new KafkaJSConnectionError(`Failed to connect: ${e.message}`, { - broker: `${this.host}:${this.port}`, - }) - ) - } - }) - } - - /** - * @public - * @returns {Promise} - */ - async disconnect() { - this.connectionStatus = CONNECTION_STATUS.DISCONNECTING - this.logDebug('disconnecting...') - - await this.requestQueue.waitForPendingRequests() - this.requestQueue.destroy() - - if (this.socket) { - this.socket.end() - this.socket.unref() - } - - this.connectionStatus = CONNECTION_STATUS.DISCONNECTED - this.logDebug('disconnected') - return true - } - - /** - * @public - * @returns {Promise} - */ - authenticate({ authExpectResponse = false, request, response }) { - this.authExpectResponse = authExpectResponse - - /** - * TODO: rewrite removing the async promise executor - */ - - /* eslint-disable no-async-promise-executor */ - return new Promise(async (resolve, reject) => { - this.authHandlers = { - onSuccess: rawData => { - this.authHandlers = null - this.authExpectResponse = false - - response - .decode(rawData) - .then(data => response.parse(data)) - .then(resolve) - .catch(reject) - }, - onError: () => { - this.authHandlers = null - this.authExpectResponse = false - - reject( - new KafkaJSConnectionError('Connection closed by the server', { - broker: `${this.host}:${this.port}`, - }) - ) - }, - } - - try { - const requestPayload = await request.encode() - - this.failIfNotConnected() - this.socket.write(requestPayload.buffer, 'binary') - } catch (e) { - reject(e) - } - }) - } - - /** - * @public - * @param {object} protocol - * @param {object} protocol.request It is defined by the protocol and consists of an object with "apiKey", - * "apiVersion", "apiName" and an "encode" function. The encode function - * must return an instance of Encoder - * - * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions: - * "decode" and "parse" - * - * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout - * @param {boolean} [protocol.logResponseError=true] Whether to log errors - * @returns {Promise} where data is the return of "response#parse" - */ - async send({ request, response, requestTimeout = null, logResponseError = true }) { - this.failIfNotConnected() - - const expectResponse = !request.expectResponse || request.expectResponse() - const sendRequest = async () => { - const { clientId } = this - const correlationId = this.nextCorrelationId() - - const requestPayload = await createRequest({ request, correlationId, clientId }) - const { apiKey, apiName, apiVersion } = request - this.logDebug(`Request ${requestInfo(request)}`, { - correlationId, - expectResponse, - size: Buffer.byteLength(requestPayload.buffer), - }) - - return new Promise((resolve, reject) => { - try { - this.failIfNotConnected() - const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject } - - this.requestQueue.push({ - entry, - expectResponse, - requestTimeout, - sendRequest: () => { - this.socket.write(requestPayload.buffer, 'binary') - }, - }) - } catch (e) { - reject(e) - } - }) - } - - const { correlationId, size, entry, payload } = await sendRequest() - - if (!expectResponse) { - return - } - - try { - const payloadDecoded = await response.decode(payload) - - /** - * @see KIP-219 - * If the response indicates that the client-side needs to throttle, do that. - */ - this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime) - - const data = await response.parse(payloadDecoded) - const isFetchApi = entry.apiName === 'Fetch' - this.logDebug(`Response ${requestInfo(entry)}`, { - correlationId, - size, - data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data, - }) - - return data - } catch (e) { - if (logResponseError) { - this.logError(`Response ${requestInfo(entry)}`, { - error: e.message, - correlationId, - size, - }) - } - - const isBuffer = Buffer.isBuffer(payload) - this.logDebug(`Response ${requestInfo(entry)}`, { - error: e.message, - correlationId, - payload: - isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload, - }) - - throw e - } - } - - /** - * @private - */ - failIfNotConnected() { - if (!this.connected) { - throw new KafkaJSConnectionError('Not connected', { - broker: `${this.host}:${this.port}`, - }) - } - } - - /** - * @private - */ - nextCorrelationId() { - if (this.correlationId >= INT_32_MAX_VALUE) { - this.correlationId = 0 - } - - return this.correlationId++ - } - - /** - * @private - */ - processData(rawData) { - if (this.authHandlers && !this.authExpectResponse) { - return this.authHandlers.onSuccess(rawData) - } - - // Accumulate the new chunk - this.chunks.push(rawData) - this.bytesBuffered += Buffer.byteLength(rawData) - - // Process data if there are enough bytes to read the expected response size, - // otherwise keep buffering - while (this.bytesNeeded <= this.bytesBuffered) { - const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0] - const decoder = new Decoder(buffer) - const expectedResponseSize = decoder.readInt32() - - // Return early if not enough bytes to read the full response - if (!decoder.canReadBytes(expectedResponseSize)) { - this.chunks = [buffer] - this.bytesBuffered = Buffer.byteLength(buffer) - this.bytesNeeded = Decoder.int32Size() + expectedResponseSize - return - } - - const response = new Decoder(decoder.readBytes(expectedResponseSize)) - - // Reset the buffered chunks as the rest of the bytes - const remainderBuffer = decoder.readAll() - this.chunks = [remainderBuffer] - this.bytesBuffered = Buffer.byteLength(remainderBuffer) - this.bytesNeeded = Decoder.int32Size() - - if (this.authHandlers) { - const rawResponseSize = Decoder.int32Size() + expectedResponseSize - const rawResponseBuffer = buffer.slice(0, rawResponseSize) - return this.authHandlers.onSuccess(rawResponseBuffer) - } - - const correlationId = response.readInt32() - const payload = response.readAll() - - this.requestQueue.fulfillRequest({ - size: expectedResponseSize, - correlationId, - payload, - }) - } - } - - /** - * @private - */ - rejectRequests(error) { - this.requestQueue.rejectAll(error) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/connectionStatus.js": -/*!**************************************************************!*\ - !*** ./node_modules/kafkajs/src/network/connectionStatus.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module) => { - -const CONNECTION_STATUS = { - CONNECTED: 'connected', - DISCONNECTING: 'disconnecting', - DISCONNECTED: 'disconnected', -} - -const CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING] - -module.exports = { - CONNECTION_STATUS, - CONNECTED_STATUS, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/instrumentationEvents.js": -/*!*******************************************************************!*\ - !*** ./node_modules/kafkajs/src/network/instrumentationEvents.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") -const eventType = InstrumentationEventType('network') - -module.exports = { - NETWORK_REQUEST: eventType('request'), - NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'), - NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'), -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/requestQueue/index.js": -/*!****************************************************************!*\ - !*** ./node_modules/kafkajs/src/network/requestQueue/index.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { EventEmitter } = __webpack_require__(/*! events */ "events") -const SocketRequest = __webpack_require__(/*! ./socketRequest */ "./node_modules/kafkajs/src/network/requestQueue/socketRequest.js") -const events = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") -const { KafkaJSInvariantViolation } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -const PRIVATE = { - EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'), - EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'), -} - -const REQUEST_QUEUE_EMPTY = 'requestQueueEmpty' - -module.exports = class RequestQueue extends EventEmitter { - /** - * @param {Object} options - * @param {number} options.maxInFlightRequests - * @param {number} options.requestTimeout - * @param {boolean} options.enforceRequestTimeout - * @param {string} options.clientId - * @param {string} options.broker - * @param {import("../../../types").Logger} options.logger - * @param {import("../../instrumentation/emitter")} [options.instrumentationEmitter=null] - * @param {() => boolean} [options.isConnected] - */ - constructor({ - instrumentationEmitter = null, - maxInFlightRequests, - requestTimeout, - enforceRequestTimeout, - clientId, - broker, - logger, - isConnected = () => true, - }) { - super() - this.instrumentationEmitter = instrumentationEmitter - this.maxInFlightRequests = maxInFlightRequests - this.requestTimeout = requestTimeout - this.enforceRequestTimeout = enforceRequestTimeout - this.clientId = clientId - this.broker = broker - this.logger = logger - this.isConnected = isConnected - - this.inflight = new Map() - this.pending = [] - - /** - * Until when this request queue is throttled and shouldn't send requests - * - * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value - * is smaller than the current timestamp no throttling is active. - * - * @type {number} - */ - this.throttledUntil = -1 - - /** - * Timeout id if we have scheduled a check for pending requests due to client-side throttling - * - * @type {null|NodeJS.Timeout} - */ - this.throttleCheckTimeoutId = null - - this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => { - if (this.pending.length === 0 && this.inflight.size === 0) { - this.emit(REQUEST_QUEUE_EMPTY) - } - } - - this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => { - instrumentationEmitter && - instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, { - broker: this.broker, - clientId: this.clientId, - queueSize: this.pending.length, - }) - - this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() - } - } - - /** - * @public - */ - scheduleRequestTimeoutCheck() { - if (this.enforceRequestTimeout) { - this.destroy() - - this.requestTimeoutIntervalId = setInterval(() => { - this.inflight.forEach(request => { - if (Date.now() - request.sentAt > request.requestTimeout) { - request.timeoutRequest() - } - }) - - if (!this.isConnected()) { - this.destroy() - } - }, Math.min(this.requestTimeout, 100)) - } - } - - maybeThrottle(clientSideThrottleTime) { - if (clientSideThrottleTime) { - const minimumThrottledUntil = Date.now() + clientSideThrottleTime - this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil) - } - } - - /** - * @typedef {Object} PushedRequest - * @property {import("./socketRequest").RequestEntry} entry - * @property {boolean} expectResponse - * @property {Function} sendRequest - * @property {number} [requestTimeout] - * - * @public - * @param {PushedRequest} pushedRequest - */ - push(pushedRequest) { - const { correlationId } = pushedRequest.entry - const defaultRequestTimeout = this.requestTimeout - const customRequestTimeout = pushedRequest.requestTimeout - - // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom - // timeouts are influenced by user configurations, which can be lower than the default requestTimeout - const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0) - - const socketRequest = new SocketRequest({ - entry: pushedRequest.entry, - expectResponse: pushedRequest.expectResponse, - broker: this.broker, - clientId: this.clientId, - instrumentationEmitter: this.instrumentationEmitter, - requestTimeout, - send: () => { - if (this.inflight.has(correlationId)) { - throw new KafkaJSInvariantViolation('Correlation id already exists') - } - this.inflight.set(correlationId, socketRequest) - pushedRequest.sendRequest() - }, - timeout: () => { - this.inflight.delete(correlationId) - this.checkPendingRequests() - // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever - this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() - }, - }) - - if (this.canSendSocketRequestImmediately()) { - this.sendSocketRequest(socketRequest) - return - } - - this.pending.push(socketRequest) - this.scheduleCheckPendingRequests() - - this.logger.debug(`Request enqueued`, { - clientId: this.clientId, - broker: this.broker, - correlationId, - }) - - this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() - } - - /** - * @param {SocketRequest} socketRequest - */ - sendSocketRequest(socketRequest) { - socketRequest.send() - - if (!socketRequest.expectResponse) { - this.logger.debug(`Request does not expect a response, resolving immediately`, { - clientId: this.clientId, - broker: this.broker, - correlationId: socketRequest.correlationId, - }) - - this.inflight.delete(socketRequest.correlationId) - socketRequest.completed({ size: 0, payload: null }) - } - } - - /** - * @public - * @param {object} response - * @param {number} response.correlationId - * @param {Buffer} response.payload - * @param {number} response.size - */ - fulfillRequest({ correlationId, payload, size }) { - const socketRequest = this.inflight.get(correlationId) - this.inflight.delete(correlationId) - this.checkPendingRequests() - - if (socketRequest) { - socketRequest.completed({ size, payload }) - } else { - this.logger.warn(`Response without match`, { - clientId: this.clientId, - broker: this.broker, - correlationId, - }) - } - - this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]() - } - - /** - * @public - * @param {Error} error - */ - rejectAll(error) { - const requests = [...this.inflight.values(), ...this.pending] - - for (const socketRequest of requests) { - socketRequest.rejected(error) - this.inflight.delete(socketRequest.correlationId) - } - - this.pending = [] - this.inflight.clear() - this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() - } - - /** - * @public - */ - waitForPendingRequests() { - return new Promise(resolve => { - if (this.pending.length === 0 && this.inflight.size === 0) { - return resolve() - } - - this.logger.debug('Waiting for pending requests', { - clientId: this.clientId, - broker: this.broker, - currentInflightRequests: this.inflight.size, - currentPendingQueueSize: this.pending.length, - }) - - this.once(REQUEST_QUEUE_EMPTY, () => resolve()) - }) - } - - /** - * @public - */ - destroy() { - clearInterval(this.requestTimeoutIntervalId) - clearTimeout(this.throttleCheckTimeoutId) - this.throttleCheckTimeoutId = null - } - - canSendSocketRequestImmediately() { - const shouldEnqueue = - (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) || - this.throttledUntil > Date.now() - - return !shouldEnqueue - } - - /** - * Check and process pending requests either now or in the future - * - * This function will send out as many pending requests as possible taking throttling and - * in-flight limits into account. - */ - checkPendingRequests() { - while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) { - const pendingRequest = this.pending.shift() // first in first out - this.sendSocketRequest(pendingRequest) - - this.logger.debug(`Consumed pending request`, { - clientId: this.clientId, - broker: this.broker, - correlationId: pendingRequest.correlationId, - pendingDuration: pendingRequest.pendingDuration, - currentPendingQueueSize: this.pending.length, - }) - - this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]() - } - - this.scheduleCheckPendingRequests() - } - - /** - * Ensure that pending requests will be checked in the future - * - * If there is a client-side throttling in place this will ensure that we will check - * the pending request queue eventually. - */ - scheduleCheckPendingRequests() { - // If we're throttled: Schedule checkPendingRequests when the throttle - // should be resolved. If there is already something scheduled we assume that that - // will be fine, and potentially fix up a new timeout if needed at that time. - // Note that if we're merely "overloaded" by having too many inflight requests - // we will anyways check the queue when one of them gets fulfilled. - const timeUntilUnthrottled = this.throttledUntil - Date.now() - if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) { - this.throttleCheckTimeoutId = setTimeout(() => { - this.throttleCheckTimeoutId = null - this.checkPendingRequests() - }, timeUntilUnthrottled) - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/requestQueue/socketRequest.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/network/requestQueue/socketRequest.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") -const events = __webpack_require__(/*! ../instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") - -const PRIVATE = { - STATE: Symbol('private:SocketRequest:state'), - EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'), -} - -const REQUEST_STATE = { - PENDING: Symbol('PENDING'), - SENT: Symbol('SENT'), - COMPLETED: Symbol('COMPLETED'), - REJECTED: Symbol('REJECTED'), -} - -/** - * SocketRequest abstracts the life cycle of a socket request, making it easier to track - * request durations and to have individual timeouts per request. - * - * @typedef {Object} SocketRequest - * @property {number} createdAt - * @property {number} sentAt - * @property {number} pendingDuration - * @property {number} duration - * @property {number} requestTimeout - * @property {string} broker - * @property {string} clientId - * @property {RequestEntry} entry - * @property {boolean} expectResponse - * @property {Function} send - * @property {Function} timeout - * - * @typedef {Object} RequestEntry - * @property {string} apiKey - * @property {string} apiName - * @property {number} apiVersion - * @property {number} correlationId - * @property {Function} resolve - * @property {Function} reject - */ -module.exports = class SocketRequest { - /** - * @param {Object} options - * @param {number} options.requestTimeout - * @param {string} options.broker - e.g: 127.0.0.1:9092 - * @param {string} options.clientId - * @param {RequestEntry} options.entry - * @param {boolean} options.expectResponse - * @param {Function} options.send - * @param {() => void} options.timeout - * @param {import("../../instrumentation/emitter")} [options.instrumentationEmitter=null] - */ - constructor({ - requestTimeout, - broker, - clientId, - entry, - expectResponse, - send, - timeout, - instrumentationEmitter = null, - }) { - this.createdAt = Date.now() - this.requestTimeout = requestTimeout - this.broker = broker - this.clientId = clientId - this.entry = entry - this.correlationId = entry.correlationId - this.expectResponse = expectResponse - this.sendRequest = send - this.timeoutHandler = timeout - - this.sentAt = null - this.duration = null - this.pendingDuration = null - - this[PRIVATE.STATE] = REQUEST_STATE.PENDING - this[PRIVATE.EMIT_EVENT] = (eventName, payload) => - instrumentationEmitter && instrumentationEmitter.emit(eventName, payload) - } - - send() { - this.throwIfInvalidState({ - accepted: [REQUEST_STATE.PENDING], - next: REQUEST_STATE.SENT, - }) - - this.sendRequest() - this.sentAt = Date.now() - this.pendingDuration = this.sentAt - this.createdAt - this[PRIVATE.STATE] = REQUEST_STATE.SENT - } - - timeoutRequest() { - const { apiName, apiKey, apiVersion } = this.entry - const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})` - const eventData = { - broker: this.broker, - clientId: this.clientId, - correlationId: this.correlationId, - createdAt: this.createdAt, - sentAt: this.sentAt, - pendingDuration: this.pendingDuration, - } - - this.timeoutHandler() - this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData)) - this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, { - ...eventData, - apiName, - apiKey, - apiVersion, - }) - } - - completed({ size, payload }) { - this.throwIfInvalidState({ - accepted: [REQUEST_STATE.SENT], - next: REQUEST_STATE.COMPLETED, - }) - - const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this - - this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED - this.duration = Date.now() - this.sentAt - entry.resolve({ correlationId, entry, size, payload }) - - this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, { - broker, - clientId, - correlationId, - size, - createdAt, - sentAt, - pendingDuration, - duration: this.duration, - apiName: entry.apiName, - apiKey: entry.apiKey, - apiVersion: entry.apiVersion, - }) - } - - rejected(error) { - this.throwIfInvalidState({ - accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT], - next: REQUEST_STATE.REJECTED, - }) - - this[PRIVATE.STATE] = REQUEST_STATE.REJECTED - this.duration = Date.now() - this.sentAt - this.entry.reject(error) - } - - /** - * @private - */ - throwIfInvalidState({ accepted, next }) { - if (accepted.includes(this[PRIVATE.STATE])) { - return - } - - const current = this[PRIVATE.STATE].toString() - - throw new KafkaJSNonRetriableError( - `Invalid state, can't transition from ${current} to ${next.toString()}` - ) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/socket.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/network/socket.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module) => { - -/** - * @param {Object} options - * @param {import("../../types").ISocketFactory} options.socketFactory - * @param {string} options.host - * @param {number} options.port - * @param {Object} options.ssl - * @param {() => void} options.onConnect - * @param {(data: Buffer) => void} options.onData - * @param {() => void} options.onEnd - * @param {(err: Error) => void} options.onError - * @param {() => void} options.onTimeout - */ -module.exports = ({ - socketFactory, - host, - port, - ssl, - onConnect, - onData, - onEnd, - onError, - onTimeout, -}) => { - const socket = socketFactory({ host, port, ssl, onConnect }) - - socket.on('data', onData) - socket.on('end', onEnd) - socket.on('error', onError) - socket.on('timeout', onTimeout) - - return socket -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/network/socketFactory.js": -/*!***********************************************************!*\ - !*** ./node_modules/kafkajs/src/network/socketFactory.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const KEEP_ALIVE_DELAY = 60000 // in ms - -/** - * @returns {import("../../types").ISocketFactory} - */ -module.exports = () => { - const net = __webpack_require__(/*! net */ "net") - const tls = __webpack_require__(/*! tls */ "tls") - - return ({ host, port, ssl, onConnect }) => { - const socket = ssl - ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect) - : net.connect({ host, port }, onConnect) - - socket.setKeepAlive(true, KEEP_ALIVE_DELAY) - - return socket - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/createTopicData.js": -/*!**************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/createTopicData.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = topicDataForBroker => { - return topicDataForBroker.map( - ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({ - topic, - partitions: partitions.map(partition => ({ - partition, - firstSequence: sequencePerPartition[partition], - messages: messagesPerPartition[partition], - })), - }) - ) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/eosManager/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/eosManager/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const createRetry = __webpack_require__(/*! ../../retry */ "./node_modules/kafkajs/src/retry/index.js") -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") -const COORDINATOR_TYPES = __webpack_require__(/*! ../../protocol/coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") -const createStateMachine = __webpack_require__(/*! ./transactionStateMachine */ "./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js") -const assert = __webpack_require__(/*! assert */ "assert") - -const STATES = __webpack_require__(/*! ./transactionStates */ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js") -const NO_PRODUCER_ID = -1 -const SEQUENCE_START = 0 -const INT_32_MAX_VALUE = Math.pow(2, 32) -const INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [ - 'NOT_COORDINATOR_FOR_GROUP', - 'GROUP_COORDINATOR_NOT_AVAILABLE', - 'GROUP_LOAD_IN_PROGRESS', - /** - * The producer might have crashed and never committed the transaction; retry the - * request so Kafka can abort the current transaction - * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002 - */ - 'CONCURRENT_TRANSACTIONS', -] -const COMMIT_RETRIABLE_PROTOCOL_ERRORS = [ - 'UNKNOWN_TOPIC_OR_PARTITION', - 'COORDINATOR_LOAD_IN_PROGRESS', -] -const COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR'] - -/** - * @typedef {Object} EosManager - */ - -/** - * Manage behavior for an idempotent producer and transactions. - * - * @returns {EosManager} - */ -module.exports = ({ - logger, - cluster, - transactionTimeout = 60000, - transactional, - transactionalId, -}) => { - if (transactional && !transactionalId) { - throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId') - } - - const retrier = createRetry(cluster.retry) - - /** - * Current producer ID - */ - let producerId = NO_PRODUCER_ID - - /** - * Current producer epoch - */ - let producerEpoch = 0 - - /** - * Idempotent production requires that the producer track the sequence number of messages. - * - * Sequences are sent with every Record Batch and tracked per Topic-Partition - */ - let producerSequence = {} - - /** - * Topic partitions already participating in the transaction - */ - let transactionTopicPartitions = {} - - const stateMachine = createStateMachine({ logger }) - stateMachine.on('transition', ({ to }) => { - if (to === STATES.READY) { - transactionTopicPartitions = {} - } - }) - - const findTransactionCoordinator = () => { - return cluster.findGroupCoordinator({ - groupId: transactionalId, - coordinatorType: COORDINATOR_TYPES.TRANSACTION, - }) - } - - const transactionalGuard = () => { - if (!transactional) { - throw new KafkaJSNonRetriableError('Method unavailable if non-transactional') - } - } - - const eosManager = stateMachine.createGuarded( - { - /** - * Get the current producer id - * @returns {number} - */ - getProducerId() { - return producerId - }, - - /** - * Get the current producer epoch - * @returns {number} - */ - getProducerEpoch() { - return producerEpoch - }, - - getTransactionalId() { - return transactionalId - }, - - /** - * Initialize the idempotent producer by making an `InitProducerId` request. - * Overwrites any existing state in this transaction manager - */ - async initProducerId() { - return retrier(async (bail, retryCount, retryTime) => { - try { - await cluster.refreshMetadataIfNecessary() - - // If non-transactional we can request the PID from any broker - const broker = await (transactional - ? findTransactionCoordinator() - : cluster.findControllerBroker()) - - const result = await broker.initProducerId({ - transactionalId: transactional ? transactionalId : undefined, - transactionTimeout, - }) - - stateMachine.transitionTo(STATES.READY) - producerId = result.producerId - producerEpoch = result.producerEpoch - producerSequence = {} - - logger.debug('Initialized producer id & epoch', { producerId, producerEpoch }) - } catch (e) { - if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) { - if (e.type === 'CONCURRENT_TRANSACTIONS') { - logger.debug('There is an ongoing transaction on this transactionId, retrying', { - error: e.message, - stack: e.stack, - transactionalId, - retryCount, - retryTime, - }) - } - - throw e - } - - bail(e) - } - }) - }, - - /** - * Get the current sequence for a given Topic-Partition. Defaults to 0. - * - * @param {string} topic - * @param {string} partition - * @returns {number} - */ - getSequence(topic, partition) { - if (!eosManager.isInitialized()) { - return SEQUENCE_START - } - - producerSequence[topic] = producerSequence[topic] || {} - producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START - - return producerSequence[topic][partition] - }, - - /** - * Update the sequence for a given Topic-Partition. - * - * Do nothing if not yet initialized (not idempotent) - * @param {string} topic - * @param {string} partition - * @param {number} increment - */ - updateSequence(topic, partition, increment) { - if (!eosManager.isInitialized()) { - return - } - - const previous = eosManager.getSequence(topic, partition) - let sequence = previous + increment - - // Sequence is defined as Int32 in the Record Batch, - // so theoretically should need to rotate here - if (sequence >= INT_32_MAX_VALUE) { - logger.debug( - `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.` - ) - sequence = 0 - } - - producerSequence[topic][partition] = sequence - }, - - /** - * Begin a transaction - */ - beginTransaction() { - transactionalGuard() - stateMachine.transitionTo(STATES.TRANSACTING) - }, - - /** - * Add partitions to a transaction if they are not already marked as participating. - * - * Should be called prior to sending any messages during a transaction - * @param {TopicData[]} topicData - * - * @typedef {Object} TopicData - * @property {string} topic - * @property {object[]} partitions - * @property {number} partitions[].partition - */ - async addPartitionsToTransaction(topicData) { - transactionalGuard() - const newTopicPartitions = {} - - topicData.forEach(({ topic, partitions }) => { - transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {} - - partitions.forEach(({ partition }) => { - if (!transactionTopicPartitions[topic][partition]) { - newTopicPartitions[topic] = newTopicPartitions[topic] || [] - newTopicPartitions[topic].push(partition) - } - }) - }) - - const topics = Object.keys(newTopicPartitions).map(topic => ({ - topic, - partitions: newTopicPartitions[topic], - })) - - if (topics.length) { - const broker = await findTransactionCoordinator() - await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) - } - - topics.forEach(({ topic, partitions }) => { - partitions.forEach(partition => { - transactionTopicPartitions[topic][partition] = true - }) - }) - }, - - /** - * Commit the ongoing transaction - */ - async commit() { - transactionalGuard() - stateMachine.transitionTo(STATES.COMMITTING) - - const broker = await findTransactionCoordinator() - await broker.endTxn({ - producerId, - producerEpoch, - transactionalId, - transactionResult: true, - }) - - stateMachine.transitionTo(STATES.READY) - }, - - /** - * Abort the ongoing transaction - */ - async abort() { - transactionalGuard() - stateMachine.transitionTo(STATES.ABORTING) - - const broker = await findTransactionCoordinator() - await broker.endTxn({ - producerId, - producerEpoch, - transactionalId, - transactionResult: false, - }) - - stateMachine.transitionTo(STATES.READY) - }, - - /** - * Whether the producer id has already been initialized - */ - isInitialized() { - return producerId !== NO_PRODUCER_ID - }, - - isTransactional() { - return transactional - }, - - isInTransaction() { - return stateMachine.state() === STATES.TRANSACTING - }, - - /** - * Mark the provided offsets as participating in the transaction for the given consumer group. - * - * This allows us to commit an offset as consumed only if the transaction passes. - * @param {string} consumerGroupId The unique group identifier - * @param {OffsetCommitTopic[]} topics The unique group identifier - * @returns {Promise} - * - * @typedef {Object} OffsetCommitTopic - * @property {string} topic - * @property {OffsetCommitTopicPartition[]} partitions - * - * @typedef {Object} OffsetCommitTopicPartition - * @property {number} partition - * @property {number} offset - */ - async sendOffsets({ consumerGroupId, topics }) { - assert(consumerGroupId, 'Missing consumerGroupId') - assert(topics, 'Missing offset topics') - - const transactionCoordinator = await findTransactionCoordinator() - - // Do we need to add offsets if we've already done so for this consumer group? - await transactionCoordinator.addOffsetsToTxn({ - transactionalId, - producerId, - producerEpoch, - groupId: consumerGroupId, - }) - - let groupCoordinator = await cluster.findGroupCoordinator({ - groupId: consumerGroupId, - coordinatorType: COORDINATOR_TYPES.GROUP, - }) - - return retrier(async (bail, retryCount, retryTime) => { - try { - await groupCoordinator.txnOffsetCommit({ - transactionalId, - producerId, - producerEpoch, - groupId: consumerGroupId, - topics, - }) - } catch (e) { - if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) { - logger.debug('Group coordinator is not ready yet, retrying', { - error: e.message, - stack: e.stack, - transactionalId, - retryCount, - retryTime, - }) - - throw e - } - - if ( - COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) || - e.code === 'ECONNREFUSED' - ) { - logger.debug( - 'Invalid group coordinator, finding new group coordinator and retrying', - { - error: e.message, - stack: e.stack, - transactionalId, - retryCount, - retryTime, - } - ) - - groupCoordinator = await cluster.findGroupCoordinator({ - groupId: consumerGroupId, - coordinatorType: COORDINATOR_TYPES.GROUP, - }) - - throw e - } - - bail(e) - } - }) - }, - }, - - /** - * Transaction state guards - */ - { - initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] }, - beginTransaction: { legalStates: [STATES.READY], async: false }, - addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] }, - sendOffsets: { legalStates: [STATES.TRANSACTING] }, - commit: { legalStates: [STATES.TRANSACTING] }, - abort: { legalStates: [STATES.TRANSACTING] }, - } - ) - - return eosManager -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { EventEmitter } = __webpack_require__(/*! events */ "events") -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") -const STATES = __webpack_require__(/*! ./transactionStates */ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js") - -const VALID_STATE_TRANSITIONS = { - [STATES.UNINITIALIZED]: [STATES.READY], - [STATES.READY]: [STATES.READY, STATES.TRANSACTING], - [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING], - [STATES.COMMITTING]: [STATES.READY], - [STATES.ABORTING]: [STATES.READY], -} - -module.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => { - let currentState = initialState - - const guard = (object, method, { legalStates, async: isAsync = true }) => { - if (!object[method]) { - throw new KafkaJSNonRetriableError(`Cannot add guard on missing method "${method}"`) - } - - return (...args) => { - const fn = object[method] - - if (!legalStates.includes(currentState)) { - const error = new KafkaJSNonRetriableError( - `Transaction state exception: Cannot call "${method}" in state "${currentState}"` - ) - - if (isAsync) { - return Promise.reject(error) - } else { - throw error - } - } - - return fn.apply(object, args) - } - } - - const stateMachine = Object.assign(new EventEmitter(), { - /** - * Create a clone of "object" where we ensure state machine is in correct state - * prior to calling any of the configured methods - * @param {Object} object The object whose methods we will guard - * @param {Object} methodStateMapping Keys are method names on "object" - * @param {string[]} methodStateMapping.legalStates Legal states for this method - * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject) - */ - createGuarded(object, methodStateMapping) { - const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => { - guards[method] = guard(object, method, methodStateMapping[method]) - return guards - }, {}) - - return { ...object, ...guardedMethods } - }, - /** - * Transition safely to a new state - */ - transitionTo(state) { - logger.debug(`Transaction state transition ${currentState} --> ${state}`) - - if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) { - throw new KafkaJSNonRetriableError( - `Transaction state exception: Invalid transition ${currentState} --> ${state}` - ) - } - - stateMachine.emit('transition', { to: state, from: currentState }) - currentState = state - }, - - state() { - return currentState - }, - }) - - return stateMachine -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/eosManager/transactionStates.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/eosManager/transactionStates.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - UNINITIALIZED: 'UNINITIALIZED', - READY: 'READY', - TRANSACTING: 'TRANSACTING', - COMMITTING: 'COMMITTING', - ABORTING: 'ABORTING', -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = ({ topic, partitionMetadata, messages, partitioner }) => { - if (partitionMetadata.length === 0) { - return {} - } - - return messages.reduce((result, message) => { - const partition = partitioner({ topic, partitionMetadata, message }) - const current = result[partition] || [] - return Object.assign(result, { [partition]: [...current, message] }) - }, {}) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/index.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/index.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const createRetry = __webpack_require__(/*! ../retry */ "./node_modules/kafkajs/src/retry/index.js") -const { CONNECTION_STATUS } = __webpack_require__(/*! ../network/connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") -const { DefaultPartitioner } = __webpack_require__(/*! ./partitioners/ */ "./node_modules/kafkajs/src/producer/partitioners/index.js") -const InstrumentationEventEmitter = __webpack_require__(/*! ../instrumentation/emitter */ "./node_modules/kafkajs/src/instrumentation/emitter.js") -const createEosManager = __webpack_require__(/*! ./eosManager */ "./node_modules/kafkajs/src/producer/eosManager/index.js") -const createMessageProducer = __webpack_require__(/*! ./messageProducer */ "./node_modules/kafkajs/src/producer/messageProducer.js") -const { events, wrap: wrapEvent, unwrap: unwrapEvent } = __webpack_require__(/*! ./instrumentationEvents */ "./node_modules/kafkajs/src/producer/instrumentationEvents.js") -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const { values, keys } = Object -const eventNames = values(events) -const eventKeys = keys(events) - .map(key => `producer.events.${key}`) - .join(', ') - -const { CONNECT, DISCONNECT } = events - -/** - * - * @param {Object} params - * @param {import('../../types').Cluster} params.cluster - * @param {import('../../types').Logger} params.logger - * @param {import('../../types').ICustomPartitioner} [params.createPartitioner] - * @param {import('../../types').RetryOptions} [params.retry] - * @param {boolean} [params.idempotent] - * @param {string} [params.transactionalId] - * @param {number} [params.transactionTimeout] - * @param {InstrumentationEventEmitter} [params.instrumentationEmitter] - * - * @returns {import('../../types').Producer} - */ -module.exports = ({ - cluster, - logger: rootLogger, - createPartitioner = DefaultPartitioner, - retry, - idempotent = false, - transactionalId, - transactionTimeout, - instrumentationEmitter: rootInstrumentationEmitter, -}) => { - let connectionStatus = CONNECTION_STATUS.DISCONNECTED - retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 } - - if (idempotent && retry.retries < 1) { - throw new KafkaJSNonRetriableError( - 'Idempotent producer must allow retries to protect against transient errors' - ) - } - - const logger = rootLogger.namespace('Producer') - - if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) { - logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees') - } - - const partitioner = createPartitioner() - const retrier = createRetry(Object.assign({}, cluster.retry, retry)) - const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter() - const idempotentEosManager = createEosManager({ - logger, - cluster, - transactionTimeout, - transactional: false, - transactionalId, - }) - - const { send, sendBatch } = createMessageProducer({ - logger, - cluster, - partitioner, - eosManager: idempotentEosManager, - idempotent, - retrier, - getConnectionStatus: () => connectionStatus, - }) - - let transactionalEosManager - - /** @type {import("../../types").Producer["on"]} */ - const on = (eventName, listener) => { - if (!eventNames.includes(eventName)) { - throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`) - } - - return instrumentationEmitter.addListener(unwrapEvent(eventName), event => { - event.type = wrapEvent(event.type) - Promise.resolve(listener(event)).catch(e => { - logger.error(`Failed to execute listener: ${e.message}`, { - eventName, - stack: e.stack, - }) - }) - }) - } - - /** - * Begin a transaction. The returned object contains methods to send messages - * to the transaction and end the transaction by committing or aborting. - * - * Only messages sent on the transaction object will participate in the transaction. - * - * Calling any of the transactional methods after the transaction has ended - * will raise an exception (use `isActive` to ascertain if ended). - * @returns {Promise} - * - * @typedef {Object} Transaction - * @property {Function} send Identical to the producer "send" method - * @property {Function} sendBatch Identical to the producer "sendBatch" method - * @property {Function} abort Abort the transaction - * @property {Function} commit Commit the transaction - * @property {Function} isActive Whether the transaction is active - */ - const transaction = async () => { - if (!transactionalId) { - throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer') - } - - let transactionDidEnd = false - transactionalEosManager = - transactionalEosManager || - createEosManager({ - logger, - cluster, - transactionTimeout, - transactional: true, - transactionalId, - }) - - if (transactionalEosManager.isInTransaction()) { - throw new KafkaJSNonRetriableError( - 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.' - ) - } - - // We only initialize the producer id once - if (!transactionalEosManager.isInitialized()) { - await transactionalEosManager.initProducerId() - } - transactionalEosManager.beginTransaction() - - const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({ - logger, - cluster, - partitioner, - retrier, - eosManager: transactionalEosManager, - idempotent: true, - getConnectionStatus: () => connectionStatus, - }) - - const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd - - const transactionGuard = fn => (...args) => { - if (!isActive()) { - return Promise.reject( - new KafkaJSNonRetriableError('Cannot continue to use transaction once ended') - ) - } - - return fn(...args) - } - - return { - sendBatch: transactionGuard(sendBatchTxn), - send: transactionGuard(sendTxn), - /** - * Abort the ongoing transaction. - * - * @throws {KafkaJSNonRetriableError} If transaction has ended - */ - abort: transactionGuard(async () => { - await transactionalEosManager.abort() - transactionDidEnd = true - }), - /** - * Commit the ongoing transaction. - * - * @throws {KafkaJSNonRetriableError} If transaction has ended - */ - commit: transactionGuard(async () => { - await transactionalEosManager.commit() - transactionDidEnd = true - }), - /** - * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction. - * - * @throws {KafkaJSNonRetriableError} If transaction has ended - */ - sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => { - await transactionalEosManager.sendOffsets({ consumerGroupId, topics }) - - for (const topicOffsets of topics) { - const { topic, partitions } = topicOffsets - for (const { partition, offset } of partitions) { - cluster.markOffsetAsCommitted({ - groupId: consumerGroupId, - topic, - partition, - offset, - }) - } - } - }), - isActive, - } - } - - /** - * @returns {Object} logger - */ - const getLogger = () => logger - - return { - /** - * @returns {Promise} - */ - connect: async () => { - await cluster.connect() - connectionStatus = CONNECTION_STATUS.CONNECTED - instrumentationEmitter.emit(CONNECT) - - if (idempotent && !idempotentEosManager.isInitialized()) { - await idempotentEosManager.initProducerId() - } - }, - /** - * @return {Promise} - */ - disconnect: async () => { - connectionStatus = CONNECTION_STATUS.DISCONNECTING - await cluster.disconnect() - connectionStatus = CONNECTION_STATUS.DISCONNECTED - instrumentationEmitter.emit(DISCONNECT) - }, - isIdempotent: () => { - return idempotent - }, - events, - on, - send, - sendBatch, - transaction, - logger: getLogger, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/instrumentationEvents.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/instrumentationEvents.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const swapObject = __webpack_require__(/*! ../utils/swapObject */ "./node_modules/kafkajs/src/utils/swapObject.js") -const networkEvents = __webpack_require__(/*! ../network/instrumentationEvents */ "./node_modules/kafkajs/src/network/instrumentationEvents.js") -const InstrumentationEventType = __webpack_require__(/*! ../instrumentation/eventType */ "./node_modules/kafkajs/src/instrumentation/eventType.js") -const producerType = InstrumentationEventType('producer') - -const events = { - CONNECT: producerType('connect'), - DISCONNECT: producerType('disconnect'), - REQUEST: producerType(networkEvents.NETWORK_REQUEST), - REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT), - REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE), -} - -const wrappedEvents = { - [events.REQUEST]: networkEvents.NETWORK_REQUEST, - [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT, - [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE, -} - -const reversedWrappedEvents = swapObject(wrappedEvents) -const unwrap = eventName => wrappedEvents[eventName] || eventName -const wrap = eventName => reversedWrappedEvents[eventName] || eventName - -module.exports = { - events, - wrap, - unwrap, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/messageProducer.js": -/*!**************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/messageProducer.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const createSendMessages = __webpack_require__(/*! ./sendMessages */ "./node_modules/kafkajs/src/producer/sendMessages.js") -const { KafkaJSError, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const { CONNECTION_STATUS } = __webpack_require__(/*! ../network/connectionStatus */ "./node_modules/kafkajs/src/network/connectionStatus.js") - -module.exports = ({ - logger, - cluster, - partitioner, - eosManager, - idempotent, - retrier, - getConnectionStatus, -}) => { - const sendMessages = createSendMessages({ - logger, - cluster, - retrier, - partitioner, - eosManager, - }) - - const validateConnectionStatus = () => { - const connectionStatus = getConnectionStatus() - - switch (connectionStatus) { - case CONNECTION_STATUS.DISCONNECTING: - throw new KafkaJSNonRetriableError( - `The producer is disconnecting; therefore, it can't safely accept messages anymore` - ) - case CONNECTION_STATUS.DISCONNECTED: - throw new KafkaJSError('The producer is disconnected') - } - } - - /** - * @typedef {Object} TopicMessages - * @property {string} topic - * @property {Array} messages An array of objects with "key" and "value", example: - * [{ key: 'my-key', value: 'my-value'}] - * - * @typedef {Object} SendBatchRequest - * @property {Array} topicMessages - * @property {number} [acks=-1] Control the number of required acks. - * -1 = all replicas must acknowledge - * 0 = no acknowledgments - * 1 = only waits for the leader to acknowledge - * - * @property {number} [timeout=30000] The time to await a response in ms - * @property {Compression.Types} [compression=Compression.Types.None] Compression codec - * - * @param {SendBatchRequest} - * @returns {Promise} - */ - const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => { - if (topicMessages.some(({ topic }) => !topic)) { - throw new KafkaJSNonRetriableError(`Invalid topic`) - } - - if (idempotent && acks !== -1) { - throw new KafkaJSNonRetriableError( - `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees` - ) - } - - for (const { topic, messages } of topicMessages) { - if (!messages) { - throw new KafkaJSNonRetriableError( - `Invalid messages array [${messages}] for topic "${topic}"` - ) - } - - const messageWithoutValue = messages.find(message => message.value === undefined) - if (messageWithoutValue) { - throw new KafkaJSNonRetriableError( - `Invalid message without value for topic "${topic}": ${JSON.stringify( - messageWithoutValue - )}` - ) - } - } - - validateConnectionStatus() - const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => { - const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic) - - if (index === -1) { - merged.push({ topic, messages }) - } else { - merged[index].messages = [...merged[index].messages, ...messages] - } - - return merged - }, []) - - return await sendMessages({ - acks, - timeout, - compression, - topicMessages: mergedTopicMessages, - }) - } - - /** - * @param {ProduceRequest} ProduceRequest - * @returns {Promise} - * - * @typedef {Object} ProduceRequest - * @property {string} topic - * @property {Array} messages An array of objects with "key" and "value", example: - * [{ key: 'my-key', value: 'my-value'}] - * @property {number} [acks=-1] Control the number of required acks. - * -1 = all replicas must acknowledge - * 0 = no acknowledgments - * 1 = only waits for the leader to acknowledge - * @property {number} [timeout=30000] The time to await a response in ms - * @property {Compression.Types} [compression=Compression.Types.None] Compression codec - */ - const send = async ({ acks, timeout, compression, topic, messages }) => { - const topicMessage = { topic, messages } - return sendBatch({ - acks, - timeout, - compression, - topicMessages: [topicMessage], - }) - } - - return { - send, - sendBatch, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/default/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/default/index.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const murmur2 = __webpack_require__(/*! ./murmur2 */ "./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js") -const createDefaultPartitioner = __webpack_require__(/*! ./partitioner */ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js") - -module.exports = createDefaultPartitioner(murmur2) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module) => { - -/* eslint-disable */ - -// Based on the kafka client 0.10.2 murmur2 implementation -// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364 - -const SEED = 0x9747b28c - -// 'm' and 'r' are mixing constants generated offline. -// They're not really 'magic', they just happen to work well. -const M = 0x5bd1e995 -const R = 24 - -module.exports = key => { - const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key)) - const length = data.length - - // Initialize the hash to a random value - let h = SEED ^ length - let length4 = length / 4 - - for (let i = 0; i < length4; i++) { - const i4 = i * 4 - let k = - (data[i4 + 0] & 0xff) + - ((data[i4 + 1] & 0xff) << 8) + - ((data[i4 + 2] & 0xff) << 16) + - ((data[i4 + 3] & 0xff) << 24) - k *= M - k ^= k >>> R - k *= M - h *= M - h ^= k - } - - // Handle the last few bytes of the input array - switch (length % 4) { - case 3: - h ^= (data[(length & ~3) + 2] & 0xff) << 16 - case 2: - h ^= (data[(length & ~3) + 1] & 0xff) << 8 - case 1: - h ^= data[length & ~3] & 0xff - h *= M - } - - h ^= h >>> 13 - h *= M - h ^= h >>> 15 - - return h -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const randomBytes = __webpack_require__(/*! ./randomBytes */ "./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js") - -// Based on the java client 0.10.2 -// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java - -/** - * A cheap way to deterministically convert a number to a positive value. When the input is - * positive, the original value is returned. When the input number is negative, the returned - * positive value is the original value bit AND against 0x7fffffff which is not its absolutely - * value. - */ -const toPositive = x => x & 0x7fffffff - -/** - * The default partitioning strategy: - * - If a partition is specified in the message, use it - * - If no partition is specified but a key is present choose a partition based on a hash of the key - * - If no partition or key is present choose a partition in a round-robin fashion - */ -module.exports = murmur2 => () => { - const counters = {} - - return ({ topic, partitionMetadata, message }) => { - if (!(topic in counters)) { - counters[topic] = randomBytes(32).readUInt32BE(0) - } - const numPartitions = partitionMetadata.length - const availablePartitions = partitionMetadata.filter(p => p.leader >= 0) - const numAvailablePartitions = availablePartitions.length - - if (message.partition !== null && message.partition !== undefined) { - return message.partition - } - - if (message.key !== null && message.key !== undefined) { - return toPositive(murmur2(message.key)) % numPartitions - } - - if (numAvailablePartitions > 0) { - const i = toPositive(++counters[topic]) % numAvailablePartitions - return availablePartitions[i].partitionId - } - - // no partitions are available, give a non-available partition - return toPositive(++counters[topic]) % numPartitions - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") - -const toNodeCompatible = crypto => ({ - randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)), -}) - -let cryptoImplementation = null -if (global && global.crypto) { - cryptoImplementation = - global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto -} else if (global && global.msCrypto) { - cryptoImplementation = toNodeCompatible(global.msCrypto) -} else if (global && !global.crypto) { - cryptoImplementation = __webpack_require__(/*! crypto */ "crypto") -} - -const MAX_BYTES = 65536 - -module.exports = size => { - if (size > MAX_BYTES) { - throw new KafkaJSNonRetriableError( - `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})` - ) - } - - if (!cryptoImplementation) { - throw new KafkaJSNonRetriableError('No available crypto implementation') - } - - return cryptoImplementation.randomBytes(size) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const murmur2 = __webpack_require__(/*! ./murmur2 */ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js") -const createDefaultPartitioner = __webpack_require__(/*! ../default/partitioner */ "./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js") - -module.exports = createDefaultPartitioner(murmur2) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/* eslint-disable */ -const Long = __webpack_require__(/*! ../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - -// Based on the kafka client 0.10.2 murmur2 implementation -// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364 - -const SEED = Long.fromValue(0x9747b28c) - -// 'm' and 'r' are mixing constants generated offline. -// They're not really 'magic', they just happen to work well. -const M = Long.fromValue(0x5bd1e995) -const R = Long.fromValue(24) - -module.exports = key => { - const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key)) - const length = data.length - - // Initialize the hash to a random value - let h = Long.fromValue(SEED.xor(length)) - let length4 = Math.floor(length / 4) - - for (let i = 0; i < length4; i++) { - const i4 = i * 4 - let k = - (data[i4 + 0] & 0xff) + - ((data[i4 + 1] & 0xff) << 8) + - ((data[i4 + 2] & 0xff) << 16) + - ((data[i4 + 3] & 0xff) << 24) - k = Long.fromValue(k) - k = k.multiply(M) - k = k.xor(k.toInt() >>> R) - k = Long.fromValue(k).multiply(M) - h = h.multiply(M) - h = h.xor(k) - } - - // Handle the last few bytes of the input array - switch (length % 4) { - case 3: - h = h.xor((data[(length & ~3) + 2] & 0xff) << 16) - case 2: - h = h.xor((data[(length & ~3) + 1] & 0xff) << 8) - case 1: - h = h.xor(data[length & ~3] & 0xff) - h = h.multiply(M) - } - - h = h.xor(h.toInt() >>> 13) - h = h.multiply(M) - h = h.xor(h.toInt() >>> 15) - - return h.toInt() -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/partitioners/index.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/partitioners/index.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const DefaultPartitioner = __webpack_require__(/*! ./default */ "./node_modules/kafkajs/src/producer/partitioners/default/index.js") -const JavaCompatiblePartitioner = __webpack_require__(/*! ./defaultJava */ "./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js") - -module.exports = { - DefaultPartitioner, - JavaCompatiblePartitioner, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/responseSerializer.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/responseSerializer.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -module.exports = ({ topics }) => { - const partitions = topics.map(({ topicName, partitions }) => - partitions.map(partition => ({ topicName, ...partition })) - ) - - return flatten(partitions) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/producer/sendMessages.js": -/*!***********************************************************!*\ - !*** ./node_modules/kafkajs/src/producer/sendMessages.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const flatten = __webpack_require__(/*! ../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const { KafkaJSMetadataNotLoaded } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const { staleMetadata } = __webpack_require__(/*! ../protocol/error */ "./node_modules/kafkajs/src/protocol/error.js") -const groupMessagesPerPartition = __webpack_require__(/*! ./groupMessagesPerPartition */ "./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js") -const createTopicData = __webpack_require__(/*! ./createTopicData */ "./node_modules/kafkajs/src/producer/createTopicData.js") -const responseSerializer = __webpack_require__(/*! ./responseSerializer */ "./node_modules/kafkajs/src/producer/responseSerializer.js") - -const { keys } = Object - -/** - * @param {Object} options - * @param {import("../../types").Logger} options.logger - * @param {import("../../types").Cluster} options.cluster - * @param {ReturnType} options.partitioner - * @param {import("./eosManager").EosManager} options.eosManager - * @param {import("../retry").Retrier} options.retrier - */ -module.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => { - return async ({ acks, timeout, compression, topicMessages }) => { - /** @type {Map} */ - const responsePerBroker = new Map() - - /** @param {Map} responsePerBroker */ - const createProducerRequests = async responsePerBroker => { - const topicMetadata = new Map() - - await cluster.refreshMetadataIfNecessary() - - for (const { topic, messages } of topicMessages) { - const partitionMetadata = cluster.findTopicPartitionMetadata(topic) - - if (partitionMetadata.length === 0) { - logger.debug('Producing to topic without metadata', { - topic, - targetTopics: Array.from(cluster.targetTopics), - }) - - throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata') - } - - const messagesPerPartition = groupMessagesPerPartition({ - topic, - partitionMetadata, - messages, - partitioner, - }) - - const partitions = keys(messagesPerPartition) - const sequencePerPartition = partitions.reduce((result, partition) => { - result[partition] = eosManager.getSequence(topic, partition) - return result - }, {}) - - const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions) - const leaders = keys(partitionsPerLeader) - - topicMetadata.set(topic, { - partitionsPerLeader, - messagesPerPartition, - sequencePerPartition, - }) - - for (const nodeId of leaders) { - const broker = await cluster.findBroker({ nodeId }) - if (!responsePerBroker.has(broker)) { - responsePerBroker.set(broker, null) - } - } - } - - const brokers = Array.from(responsePerBroker.keys()) - const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker)) - - return brokersWithoutResponse.map(async broker => { - const entries = Array.from(topicMetadata.entries()) - const topicDataForBroker = entries - .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId]) - .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({ - topic, - partitions: partitionsPerLeader[broker.nodeId], - sequencePerPartition, - messagesPerPartition, - })) - - const topicData = createTopicData(topicDataForBroker) - - try { - if (eosManager.isTransactional()) { - await eosManager.addPartitionsToTransaction(topicData) - } - - const response = await broker.produce({ - transactionalId: eosManager.isTransactional() - ? eosManager.getTransactionalId() - : undefined, - producerId: eosManager.getProducerId(), - producerEpoch: eosManager.getProducerEpoch(), - acks, - timeout, - compression, - topicData, - }) - - const expectResponse = acks !== 0 - const formattedResponse = expectResponse ? responseSerializer(response) : [] - - formattedResponse.forEach(({ topicName, partition }) => { - const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length - - eosManager.updateSequence(topicName, partition, increment) - }) - - responsePerBroker.set(broker, formattedResponse) - } catch (e) { - responsePerBroker.delete(broker) - throw e - } - }) - } - - return retrier(async (bail, retryCount, retryTime) => { - const topics = topicMessages.map(({ topic }) => topic) - await cluster.addMultipleTargetTopics(topics) - - try { - const requests = await createProducerRequests(responsePerBroker) - await Promise.all(requests) - const responses = Array.from(responsePerBroker.values()) - return flatten(responses) - } catch (e) { - if (e.name === 'KafkaJSConnectionClosedError') { - cluster.removeBroker({ host: e.host, port: e.port }) - } - - if (!cluster.isConnected()) { - logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, { - retryCount, - retryTime, - }) - await cluster.connect() - await cluster.refreshMetadata() - throw e - } - - // This is necessary in case the metadata is stale and the number of partitions - // for this topic has increased in the meantime - if ( - staleMetadata(e) || - e.name === 'KafkaJSMetadataNotLoaded' || - e.name === 'KafkaJSConnectionError' || - e.name === 'KafkaJSConnectionClosedError' || - (e.name === 'KafkaJSProtocolError' && e.retriable) - ) { - logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime }) - await cluster.refreshMetadata() - throw e - } - - logger.error(`${e.message}`, { retryCount, retryTime }) - if (e.retriable) throw e - bail(e) - } - }) - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/aclOperationTypes.js": -/*!****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/aclOperationTypes.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module) => { - -// From: -// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44 - -/** - * @typedef {number} ACLOperationTypes - * - * Enum for ACL Operations Types - * @readonly - * @enum {ACLOperationTypes} - */ -module.exports = { - /** - * Represents any AclOperation which this client cannot understand, perhaps because this - * client is too old. - */ - UNKNOWN: 0, - /** - * In a filter, matches any AclOperation. - */ - ANY: 1, - /** - * ALL operation. - */ - ALL: 2, - /** - * READ operation. - */ - READ: 3, - /** - * WRITE operation. - */ - WRITE: 4, - /** - * CREATE operation. - */ - CREATE: 5, - /** - * DELETE operation. - */ - DELETE: 6, - /** - * ALTER operation. - */ - ALTER: 7, - /** - * DESCRIBE operation. - */ - DESCRIBE: 8, - /** - * CLUSTER_ACTION operation. - */ - CLUSTER_ACTION: 9, - /** - * DESCRIBE_CONFIGS operation. - */ - DESCRIBE_CONFIGS: 10, - /** - * ALTER_CONFIGS operation. - */ - ALTER_CONFIGS: 11, - /** - * IDEMPOTENT_WRITE operation. - */ - IDEMPOTENT_WRITE: 12, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/aclPermissionTypes.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/aclPermissionTypes.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module) => { - -// From: -// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31 - -/** - * @typedef {number} ACLPermissionTypes - * - * Enum for Permission Types - * @readonly - * @enum {ACLPermissionTypes} - */ -module.exports = { - /** - * Represents any AclPermissionType which this client cannot understand, - * perhaps because this client is too old. - */ - UNKNOWN: 0, - /** - * In a filter, matches any AclPermissionType. - */ - ANY: 1, - /** - * Disallows access. - */ - DENY: 2, - /** - * Grants access. - */ - ALLOW: 3, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/aclResourceTypes.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module) => { - -/** - * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31 - * @typedef {number} ACLResourceTypes - * - * Enum for ACL Resource Types - * @readonly - * @enum {ACLResourceTypes} - */ - -module.exports = { - /** - * Represents any ResourceType which this client cannot understand, - * perhaps because this client is too old. - */ - UNKNOWN: 0, - /** - * In a filter, matches any ResourceType. - */ - ANY: 1, - /** - * A Kafka topic. - * @see http://kafka.apache.org/documentation/#topicconfigs - */ - TOPIC: 2, - /** - * A consumer group. - * @see http://kafka.apache.org/documentation/#consumerconfigs - */ - GROUP: 3, - /** - * The cluster as a whole. - */ - CLUSTER: 4, - /** - * A transactional ID. - */ - TRANSACTIONAL_ID: 5, - /** - * A token ID. - */ - DELEGATION_TOKEN: 6, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/configResourceTypes.js": -/*!******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/configResourceTypes.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module) => { - -/** - * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java - */ -module.exports = { - UNKNOWN: 0, - TOPIC: 2, - BROKER: 4, - BROKER_LOGGER: 8, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/configSource.js": -/*!***********************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/configSource.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module) => { - -/** - * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122 - */ -module.exports = { - UNKNOWN: 0, - TOPIC_CONFIG: 1, - DYNAMIC_BROKER_CONFIG: 2, - DYNAMIC_DEFAULT_BROKER_CONFIG: 3, - STATIC_BROKER_CONFIG: 4, - DEFAULT_CONFIG: 5, - DYNAMIC_BROKER_LOGGER_CONFIG: 6, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/coordinatorTypes.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module) => { - -// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator - -/** - * @typedef {number} CoordinatorType - * - * Enum for the types of coordinator to find. - * @enum {CoordinatorType} - */ -module.exports = { - GROUP: 0, - TRANSACTION: 1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/crc32.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/crc32.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 262:0-14 */ -/***/ ((module) => { - -// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js - -var CRC_TABLE = new Int32Array([ - 0x00000000, - 0x77073096, - 0xee0e612c, - 0x990951ba, - 0x076dc419, - 0x706af48f, - 0xe963a535, - 0x9e6495a3, - 0x0edb8832, - 0x79dcb8a4, - 0xe0d5e91e, - 0x97d2d988, - 0x09b64c2b, - 0x7eb17cbd, - 0xe7b82d07, - 0x90bf1d91, - 0x1db71064, - 0x6ab020f2, - 0xf3b97148, - 0x84be41de, - 0x1adad47d, - 0x6ddde4eb, - 0xf4d4b551, - 0x83d385c7, - 0x136c9856, - 0x646ba8c0, - 0xfd62f97a, - 0x8a65c9ec, - 0x14015c4f, - 0x63066cd9, - 0xfa0f3d63, - 0x8d080df5, - 0x3b6e20c8, - 0x4c69105e, - 0xd56041e4, - 0xa2677172, - 0x3c03e4d1, - 0x4b04d447, - 0xd20d85fd, - 0xa50ab56b, - 0x35b5a8fa, - 0x42b2986c, - 0xdbbbc9d6, - 0xacbcf940, - 0x32d86ce3, - 0x45df5c75, - 0xdcd60dcf, - 0xabd13d59, - 0x26d930ac, - 0x51de003a, - 0xc8d75180, - 0xbfd06116, - 0x21b4f4b5, - 0x56b3c423, - 0xcfba9599, - 0xb8bda50f, - 0x2802b89e, - 0x5f058808, - 0xc60cd9b2, - 0xb10be924, - 0x2f6f7c87, - 0x58684c11, - 0xc1611dab, - 0xb6662d3d, - 0x76dc4190, - 0x01db7106, - 0x98d220bc, - 0xefd5102a, - 0x71b18589, - 0x06b6b51f, - 0x9fbfe4a5, - 0xe8b8d433, - 0x7807c9a2, - 0x0f00f934, - 0x9609a88e, - 0xe10e9818, - 0x7f6a0dbb, - 0x086d3d2d, - 0x91646c97, - 0xe6635c01, - 0x6b6b51f4, - 0x1c6c6162, - 0x856530d8, - 0xf262004e, - 0x6c0695ed, - 0x1b01a57b, - 0x8208f4c1, - 0xf50fc457, - 0x65b0d9c6, - 0x12b7e950, - 0x8bbeb8ea, - 0xfcb9887c, - 0x62dd1ddf, - 0x15da2d49, - 0x8cd37cf3, - 0xfbd44c65, - 0x4db26158, - 0x3ab551ce, - 0xa3bc0074, - 0xd4bb30e2, - 0x4adfa541, - 0x3dd895d7, - 0xa4d1c46d, - 0xd3d6f4fb, - 0x4369e96a, - 0x346ed9fc, - 0xad678846, - 0xda60b8d0, - 0x44042d73, - 0x33031de5, - 0xaa0a4c5f, - 0xdd0d7cc9, - 0x5005713c, - 0x270241aa, - 0xbe0b1010, - 0xc90c2086, - 0x5768b525, - 0x206f85b3, - 0xb966d409, - 0xce61e49f, - 0x5edef90e, - 0x29d9c998, - 0xb0d09822, - 0xc7d7a8b4, - 0x59b33d17, - 0x2eb40d81, - 0xb7bd5c3b, - 0xc0ba6cad, - 0xedb88320, - 0x9abfb3b6, - 0x03b6e20c, - 0x74b1d29a, - 0xead54739, - 0x9dd277af, - 0x04db2615, - 0x73dc1683, - 0xe3630b12, - 0x94643b84, - 0x0d6d6a3e, - 0x7a6a5aa8, - 0xe40ecf0b, - 0x9309ff9d, - 0x0a00ae27, - 0x7d079eb1, - 0xf00f9344, - 0x8708a3d2, - 0x1e01f268, - 0x6906c2fe, - 0xf762575d, - 0x806567cb, - 0x196c3671, - 0x6e6b06e7, - 0xfed41b76, - 0x89d32be0, - 0x10da7a5a, - 0x67dd4acc, - 0xf9b9df6f, - 0x8ebeeff9, - 0x17b7be43, - 0x60b08ed5, - 0xd6d6a3e8, - 0xa1d1937e, - 0x38d8c2c4, - 0x4fdff252, - 0xd1bb67f1, - 0xa6bc5767, - 0x3fb506dd, - 0x48b2364b, - 0xd80d2bda, - 0xaf0a1b4c, - 0x36034af6, - 0x41047a60, - 0xdf60efc3, - 0xa867df55, - 0x316e8eef, - 0x4669be79, - 0xcb61b38c, - 0xbc66831a, - 0x256fd2a0, - 0x5268e236, - 0xcc0c7795, - 0xbb0b4703, - 0x220216b9, - 0x5505262f, - 0xc5ba3bbe, - 0xb2bd0b28, - 0x2bb45a92, - 0x5cb36a04, - 0xc2d7ffa7, - 0xb5d0cf31, - 0x2cd99e8b, - 0x5bdeae1d, - 0x9b64c2b0, - 0xec63f226, - 0x756aa39c, - 0x026d930a, - 0x9c0906a9, - 0xeb0e363f, - 0x72076785, - 0x05005713, - 0x95bf4a82, - 0xe2b87a14, - 0x7bb12bae, - 0x0cb61b38, - 0x92d28e9b, - 0xe5d5be0d, - 0x7cdcefb7, - 0x0bdbdf21, - 0x86d3d2d4, - 0xf1d4e242, - 0x68ddb3f8, - 0x1fda836e, - 0x81be16cd, - 0xf6b9265b, - 0x6fb077e1, - 0x18b74777, - 0x88085ae6, - 0xff0f6a70, - 0x66063bca, - 0x11010b5c, - 0x8f659eff, - 0xf862ae69, - 0x616bffd3, - 0x166ccf45, - 0xa00ae278, - 0xd70dd2ee, - 0x4e048354, - 0x3903b3c2, - 0xa7672661, - 0xd06016f7, - 0x4969474d, - 0x3e6e77db, - 0xaed16a4a, - 0xd9d65adc, - 0x40df0b66, - 0x37d83bf0, - 0xa9bcae53, - 0xdebb9ec5, - 0x47b2cf7f, - 0x30b5ffe9, - 0xbdbdf21c, - 0xcabac28a, - 0x53b39330, - 0x24b4a3a6, - 0xbad03605, - 0xcdd70693, - 0x54de5729, - 0x23d967bf, - 0xb3667a2e, - 0xc4614ab8, - 0x5d681b02, - 0x2a6f2b94, - 0xb40bbe37, - 0xc30c8ea1, - 0x5a05df1b, - 0x2d02ef8d, -]) - -module.exports = encoder => { - const { buffer } = encoder - const l = buffer.length - let crc = -1 - for (let n = 0; n < l; n++) { - crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8) - } - return crc ^ -1 -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/decoder.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/decoder.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - -const INT8_SIZE = 1 -const INT16_SIZE = 2 -const INT32_SIZE = 4 -const INT64_SIZE = 8 -const DOUBLE_SIZE = 8 - -const MOST_SIGNIFICANT_BIT = 0x80 // 128 -const OTHER_BITS = 0x7f // 127 - -module.exports = class Decoder { - static int32Size() { - return INT32_SIZE - } - - static decodeZigZag(value) { - return (value >>> 1) ^ -(value & 1) - } - - static decodeZigZag64(longValue) { - return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate()) - } - - constructor(buffer) { - this.buffer = buffer - this.offset = 0 - } - - readInt8() { - const value = this.buffer.readInt8(this.offset) - this.offset += INT8_SIZE - return value - } - - canReadInt16() { - return this.canReadBytes(INT16_SIZE) - } - - readInt16() { - const value = this.buffer.readInt16BE(this.offset) - this.offset += INT16_SIZE - return value - } - - canReadInt32() { - return this.canReadBytes(INT32_SIZE) - } - - readInt32() { - const value = this.buffer.readInt32BE(this.offset) - this.offset += INT32_SIZE - return value - } - - canReadInt64() { - return this.canReadBytes(INT64_SIZE) - } - - readInt64() { - const first = this.buffer[this.offset] - const last = this.buffer[this.offset + 7] - - const low = - (first << 24) + // Overflow - this.buffer[this.offset + 1] * 2 ** 16 + - this.buffer[this.offset + 2] * 2 ** 8 + - this.buffer[this.offset + 3] - const high = - this.buffer[this.offset + 4] * 2 ** 24 + - this.buffer[this.offset + 5] * 2 ** 16 + - this.buffer[this.offset + 6] * 2 ** 8 + - last - this.offset += INT64_SIZE - - return (BigInt(low) << 32n) + BigInt(high) - } - - readDouble() { - const value = this.buffer.readDoubleBE(this.offset) - this.offset += DOUBLE_SIZE - return value - } - - readString() { - const byteLength = this.readInt16() - - if (byteLength === -1) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - const value = stringBuffer.toString('utf8') - this.offset += byteLength - return value - } - - readVarIntString() { - const byteLength = this.readVarInt() - - if (byteLength === -1) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - const value = stringBuffer.toString('utf8') - this.offset += byteLength - return value - } - - readUVarIntString() { - const byteLength = this.readUVarInt() - - if (byteLength === 0) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - const value = stringBuffer.toString('utf8') - this.offset += byteLength - return value - } - - canReadBytes(length) { - return Buffer.byteLength(this.buffer) - this.offset >= length - } - - readBytes(byteLength = this.readInt32()) { - if (byteLength === -1) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - this.offset += byteLength - return stringBuffer - } - - readVarIntBytes() { - const byteLength = this.readVarInt() - - if (byteLength === -1) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - this.offset += byteLength - return stringBuffer - } - - readUVarIntBytes() { - const byteLength = this.readUVarInt() - - if (byteLength === 0) { - return null - } - - const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength) - this.offset += byteLength - return stringBuffer - } - - readBoolean() { - return this.readInt8() === 1 - } - - readAll() { - const result = this.buffer.slice(this.offset) - this.offset += Buffer.byteLength(this.buffer) - return result - } - - readArray(reader) { - const length = this.readInt32() - - if (length === -1) { - return [] - } - - const array = new Array(length) - for (let i = 0; i < length; i++) { - array[i] = reader(this) - } - - return array - } - - readVarIntArray(reader) { - const length = this.readVarInt() - - if (length === -1) { - return [] - } - - const array = new Array(length) - for (let i = 0; i < length; i++) { - array[i] = reader(this) - } - - return array - } - - readUVarIntArray(reader) { - const length = this.readUVarInt() - - if (length === 0) { - return [] - } - - const array = new Array(length - 1) - for (let i = 0; i < length - 1; i++) { - array[i] = reader(this) - } - - return array - } - - async readArrayAsync(reader) { - const length = this.readInt32() - - if (length === -1) { - return [] - } - - const array = new Array(length) - for (let i = 0; i < length; i++) { - array[i] = await reader(this) - } - - return array - } - - readVarInt() { - let currentByte - let result = 0 - let i = 0 - - do { - currentByte = this.buffer[this.offset++] - result += (currentByte & OTHER_BITS) << i - i += 7 - } while (currentByte >= MOST_SIGNIFICANT_BIT) - - return Decoder.decodeZigZag(result) - } - - // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer - // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer - readUVarInt() { - let currentByte - let result = 0 - let i = 0 - while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) { - result |= (currentByte & OTHER_BITS) << i - i += 7 - if (i > 28) { - throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less') - } - } - result |= currentByte << i - return result >>> 0 - } - - readVarLong() { - let currentByte - let result = Long.fromInt(0) - let i = 0 - - do { - if (i > 63) { - throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less') - } - currentByte = this.buffer[this.offset++] - result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i)) - i += 7 - } while (currentByte >= MOST_SIGNIFICANT_BIT) - - return Decoder.decodeZigZag64(result) - } - - slice(size) { - return new Decoder(this.buffer.slice(this.offset, this.offset + size)) - } - - forward(size) { - this.offset += size - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/encoder.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/encoder.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../utils/long */ "./node_modules/kafkajs/src/utils/long.js") - -const INT8_SIZE = 1 -const INT16_SIZE = 2 -const INT32_SIZE = 4 -const INT64_SIZE = 8 -const DOUBLE_SIZE = 8 - -const MOST_SIGNIFICANT_BIT = 0x80 // 128 -const OTHER_BITS = 0x7f // 127 -const UNSIGNED_INT32_MAX_NUMBER = 0xffffff80 -const UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n - -module.exports = class Encoder { - static encodeZigZag(value) { - return (value << 1) ^ (value >> 31) - } - - static encodeZigZag64(value) { - const longValue = Long.fromValue(value) - return longValue.shiftLeft(1).xor(longValue.shiftRight(63)) - } - - static sizeOfVarInt(value) { - let encodedValue = this.encodeZigZag(value) - let bytes = 1 - - while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) { - bytes += 1 - encodedValue >>>= 7 - } - - return bytes - } - - static sizeOfVarLong(value) { - let longValue = Encoder.encodeZigZag64(value) - let bytes = 1 - - while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) { - bytes += 1 - longValue = longValue.shiftRightUnsigned(7) - } - - return bytes - } - - static sizeOfVarIntBytes(value) { - const size = value == null ? -1 : Buffer.byteLength(value) - - if (size < 0) { - return Encoder.sizeOfVarInt(-1) - } - - return Encoder.sizeOfVarInt(size) + size - } - - static nextPowerOfTwo(value) { - return 1 << (31 - Math.clz32(value) + 1) - } - - /** - * Construct a new encoder with the given initial size - * - * @param {number} [initialSize] initial size - */ - constructor(initialSize = 511) { - this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize)) - this.offset = 0 - } - - /** - * @param {Buffer} buffer - */ - writeBufferInternal(buffer) { - const bufferLength = buffer.length - this.ensureAvailable(bufferLength) - buffer.copy(this.buf, this.offset, 0) - this.offset += bufferLength - } - - ensureAvailable(length) { - if (this.offset + length > this.buf.length) { - const newLength = Encoder.nextPowerOfTwo(this.offset + length) - const newBuffer = Buffer.alloc(newLength) - this.buf.copy(newBuffer, 0, 0, this.offset) - this.buf = newBuffer - } - } - - get buffer() { - return this.buf.slice(0, this.offset) - } - - writeInt8(value) { - this.ensureAvailable(INT8_SIZE) - this.buf.writeInt8(value, this.offset) - this.offset += INT8_SIZE - return this - } - - writeInt16(value) { - this.ensureAvailable(INT16_SIZE) - this.buf.writeInt16BE(value, this.offset) - this.offset += INT16_SIZE - return this - } - - writeInt32(value) { - this.ensureAvailable(INT32_SIZE) - this.buf.writeInt32BE(value, this.offset) - this.offset += INT32_SIZE - return this - } - - writeUInt32(value) { - this.ensureAvailable(INT32_SIZE) - this.buf.writeUInt32BE(value, this.offset) - this.offset += INT32_SIZE - return this - } - - writeInt64(value) { - this.ensureAvailable(INT64_SIZE) - const longValue = Long.fromValue(value) - this.buf.writeInt32BE(longValue.getHighBits(), this.offset) - this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE) - this.offset += INT64_SIZE - return this - } - - writeDouble(value) { - this.ensureAvailable(DOUBLE_SIZE) - this.buf.writeDoubleBE(value, this.offset) - this.offset += DOUBLE_SIZE - return this - } - - writeBoolean(value) { - value ? this.writeInt8(1) : this.writeInt8(0) - return this - } - - writeString(value) { - if (value == null) { - this.writeInt16(-1) - return this - } - - const byteLength = Buffer.byteLength(value, 'utf8') - this.ensureAvailable(INT16_SIZE + byteLength) - this.writeInt16(byteLength) - this.buf.write(value, this.offset, byteLength, 'utf8') - this.offset += byteLength - return this - } - - writeVarIntString(value) { - if (value == null) { - this.writeVarInt(-1) - return this - } - - const byteLength = Buffer.byteLength(value, 'utf8') - this.writeVarInt(byteLength) - this.ensureAvailable(byteLength) - this.buf.write(value, this.offset, byteLength, 'utf8') - this.offset += byteLength - return this - } - - writeUVarIntString(value) { - if (value == null) { - this.writeUVarInt(0) - return this - } - - const byteLength = Buffer.byteLength(value, 'utf8') - this.writeUVarInt(byteLength + 1) - this.ensureAvailable(byteLength) - this.buf.write(value, this.offset, byteLength, 'utf8') - this.offset += byteLength - return this - } - - writeBytes(value) { - if (value == null) { - this.writeInt32(-1) - return this - } - - if (Buffer.isBuffer(value)) { - // raw bytes - this.ensureAvailable(INT32_SIZE + value.length) - this.writeInt32(value.length) - this.writeBufferInternal(value) - } else { - const valueToWrite = String(value) - const byteLength = Buffer.byteLength(valueToWrite, 'utf8') - this.ensureAvailable(INT32_SIZE + byteLength) - this.writeInt32(byteLength) - this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') - this.offset += byteLength - } - - return this - } - - writeVarIntBytes(value) { - if (value == null) { - this.writeVarInt(-1) - return this - } - - if (Buffer.isBuffer(value)) { - // raw bytes - this.writeVarInt(value.length) - this.writeBufferInternal(value) - } else { - const valueToWrite = String(value) - const byteLength = Buffer.byteLength(valueToWrite, 'utf8') - this.writeVarInt(byteLength) - this.ensureAvailable(byteLength) - this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') - this.offset += byteLength - } - - return this - } - - writeUVarIntBytes(value) { - if (value == null) { - this.writeVarInt(0) - return this - } - - if (Buffer.isBuffer(value)) { - // raw bytes - this.writeUVarInt(value.length + 1) - this.writeBufferInternal(value) - } else { - const valueToWrite = String(value) - const byteLength = Buffer.byteLength(valueToWrite, 'utf8') - this.writeUVarInt(byteLength + 1) - this.ensureAvailable(byteLength) - this.buf.write(valueToWrite, this.offset, byteLength, 'utf8') - this.offset += byteLength - } - - return this - } - - writeEncoder(value) { - if (value == null || !Buffer.isBuffer(value.buf)) { - throw new Error('value should be an instance of Encoder') - } - - this.writeBufferInternal(value.buffer) - return this - } - - writeEncoderArray(value) { - if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) { - throw new Error('all values should be an instance of Encoder[]') - } - - value.forEach(v => { - this.writeBufferInternal(v.buffer) - }) - return this - } - - writeBuffer(value) { - if (!Buffer.isBuffer(value)) { - throw new Error('value should be an instance of Buffer') - } - - this.writeBufferInternal(value) - return this - } - - /** - * @param {any[]} array - * @param {'int32'|'number'|'string'|'object'} [type] - */ - writeNullableArray(array, type) { - // A null value is encoded with length of -1 and there are no following bytes - // On the context of this library, empty array and null are the same thing - const length = array.length !== 0 ? array.length : -1 - this.writeArray(array, type, length) - return this - } - - /** - * @param {any[]} array - * @param {'int32'|'number'|'string'|'object'} [type] - * @param {number} [length] - */ - writeArray(array, type, length) { - const arrayLength = length == null ? array.length : length - this.writeInt32(arrayLength) - if (type !== undefined) { - switch (type) { - case 'int32': - case 'number': - array.forEach(value => this.writeInt32(value)) - break - case 'string': - array.forEach(value => this.writeString(value)) - break - case 'object': - this.writeEncoderArray(array) - break - } - } else { - array.forEach(value => { - switch (typeof value) { - case 'number': - this.writeInt32(value) - break - case 'string': - this.writeString(value) - break - case 'object': - this.writeEncoder(value) - break - } - }) - } - return this - } - - writeVarIntArray(array, type) { - if (type === 'object') { - this.writeVarInt(array.length) - this.writeEncoderArray(array) - } else { - const objectArray = array.filter(v => typeof v === 'object') - this.writeVarInt(objectArray.length) - this.writeEncoderArray(objectArray) - } - return this - } - - writeUVarIntArray(array, type) { - if (type === 'object') { - this.writeUVarInt(array.length + 1) - this.writeEncoderArray(array) - } else { - const objectArray = array.filter(v => typeof v === 'object') - this.writeUVarInt(objectArray.length + 1) - this.writeEncoderArray(objectArray) - } - return this - } - - // Based on: - // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ. - // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106 - writeVarInt(value) { - return this.writeUVarInt(Encoder.encodeZigZag(value)) - } - - writeUVarInt(value) { - const byteArray = [] - while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) { - byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT) - value >>>= 7 - } - byteArray.push(value & OTHER_BITS) - this.writeBufferInternal(Buffer.from(byteArray)) - return this - } - - writeVarLong(value) { - const byteArray = [] - let longValue = Encoder.encodeZigZag64(value) - - while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) { - byteArray.push( - longValue - .and(OTHER_BITS) - .or(MOST_SIGNIFICANT_BIT) - .toInt() - ) - longValue = longValue.shiftRightUnsigned(7) - } - - byteArray.push(longValue.toInt()) - - this.writeBufferInternal(Buffer.from(byteArray)) - return this - } - - size() { - // We can use the offset here directly, because we anyways will not re-encode the buffer when writing - return this.offset - } - - toJSON() { - return this.buffer.toJSON() - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/error.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/error.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 595:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSProtocolError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -const websiteUrl = __webpack_require__(/*! ../utils/websiteUrl */ "./node_modules/kafkajs/src/utils/websiteUrl.js") - -const errorCodes = [ - { - type: 'UNKNOWN', - code: -1, - retriable: false, - message: 'The server experienced an unexpected error when processing the request', - }, - { - type: 'OFFSET_OUT_OF_RANGE', - code: 1, - retriable: false, - message: 'The requested offset is not within the range of offsets maintained by the server', - }, - { - type: 'CORRUPT_MESSAGE', - code: 2, - retriable: true, - message: - 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt', - }, - { - type: 'UNKNOWN_TOPIC_OR_PARTITION', - code: 3, - retriable: true, - message: 'This server does not host this topic-partition', - }, - { - type: 'INVALID_FETCH_SIZE', - code: 4, - retriable: false, - message: 'The requested fetch size is invalid', - }, - { - type: 'LEADER_NOT_AVAILABLE', - code: 5, - retriable: true, - message: - 'There is no leader for this topic-partition as we are in the middle of a leadership election', - }, - { - type: 'NOT_LEADER_FOR_PARTITION', - code: 6, - retriable: true, - message: 'This server is not the leader for that topic-partition', - }, - { - type: 'REQUEST_TIMED_OUT', - code: 7, - retriable: true, - message: 'The request timed out', - }, - { - type: 'BROKER_NOT_AVAILABLE', - code: 8, - retriable: false, - message: 'The broker is not available', - }, - { - type: 'REPLICA_NOT_AVAILABLE', - code: 9, - retriable: false, - message: 'The replica is not available for the requested topic-partition', - }, - { - type: 'MESSAGE_TOO_LARGE', - code: 10, - retriable: false, - message: - 'The request included a message larger than the max message size the server will accept', - }, - { - type: 'STALE_CONTROLLER_EPOCH', - code: 11, - retriable: false, - message: 'The controller moved to another broker', - }, - { - type: 'OFFSET_METADATA_TOO_LARGE', - code: 12, - retriable: false, - message: 'The metadata field of the offset request was too large', - }, - { - type: 'NETWORK_EXCEPTION', - code: 13, - retriable: true, - message: 'The server disconnected before a response was received', - }, - { - type: 'GROUP_LOAD_IN_PROGRESS', - code: 14, - retriable: true, - message: "The coordinator is loading and hence can't process requests for this group", - }, - { - type: 'GROUP_COORDINATOR_NOT_AVAILABLE', - code: 15, - retriable: true, - message: 'The group coordinator is not available', - }, - { - type: 'NOT_COORDINATOR_FOR_GROUP', - code: 16, - retriable: true, - message: 'This is not the correct coordinator for this group', - }, - { - type: 'INVALID_TOPIC_EXCEPTION', - code: 17, - retriable: false, - message: 'The request attempted to perform an operation on an invalid topic', - }, - { - type: 'RECORD_LIST_TOO_LARGE', - code: 18, - retriable: false, - message: - 'The request included message batch larger than the configured segment size on the server', - }, - { - type: 'NOT_ENOUGH_REPLICAS', - code: 19, - retriable: true, - message: 'Messages are rejected since there are fewer in-sync replicas than required', - }, - { - type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND', - code: 20, - retriable: true, - message: 'Messages are written to the log, but to fewer in-sync replicas than required', - }, - { - type: 'INVALID_REQUIRED_ACKS', - code: 21, - retriable: false, - message: 'Produce request specified an invalid value for required acks', - }, - { - type: 'ILLEGAL_GENERATION', - code: 22, - retriable: false, - message: 'Specified group generation id is not valid', - }, - { - type: 'INCONSISTENT_GROUP_PROTOCOL', - code: 23, - retriable: false, - message: - "The group member's supported protocols are incompatible with those of existing members", - }, - { - type: 'INVALID_GROUP_ID', - code: 24, - retriable: false, - message: 'The configured groupId is invalid', - }, - { - type: 'UNKNOWN_MEMBER_ID', - code: 25, - retriable: false, - message: 'The coordinator is not aware of this member', - }, - { - type: 'INVALID_SESSION_TIMEOUT', - code: 26, - retriable: false, - message: - 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)', - }, - { - type: 'REBALANCE_IN_PROGRESS', - code: 27, - retriable: false, - message: 'The group is rebalancing, so a rejoin is needed', - helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'), - }, - { - type: 'INVALID_COMMIT_OFFSET_SIZE', - code: 28, - retriable: false, - message: 'The committing offset data size is not valid', - }, - { - type: 'TOPIC_AUTHORIZATION_FAILED', - code: 29, - retriable: false, - message: 'Not authorized to access topics: [Topic authorization failed]', - }, - { - type: 'GROUP_AUTHORIZATION_FAILED', - code: 30, - retriable: false, - message: 'Not authorized to access group: Group authorization failed', - }, - { - type: 'CLUSTER_AUTHORIZATION_FAILED', - code: 31, - retriable: false, - message: 'Cluster authorization failed', - }, - { - type: 'INVALID_TIMESTAMP', - code: 32, - retriable: false, - message: 'The timestamp of the message is out of acceptable range', - }, - { - type: 'UNSUPPORTED_SASL_MECHANISM', - code: 33, - retriable: false, - message: 'The broker does not support the requested SASL mechanism', - }, - { - type: 'ILLEGAL_SASL_STATE', - code: 34, - retriable: false, - message: 'Request is not valid given the current SASL state', - }, - { - type: 'UNSUPPORTED_VERSION', - code: 35, - retriable: false, - message: 'The version of API is not supported', - }, - { - type: 'TOPIC_ALREADY_EXISTS', - code: 36, - retriable: false, - message: 'Topic with this name already exists', - }, - { - type: 'INVALID_PARTITIONS', - code: 37, - retriable: false, - message: 'Number of partitions is invalid', - }, - { - type: 'INVALID_REPLICATION_FACTOR', - code: 38, - retriable: false, - message: 'Replication-factor is invalid', - }, - { - type: 'INVALID_REPLICA_ASSIGNMENT', - code: 39, - retriable: false, - message: 'Replica assignment is invalid', - }, - { - type: 'INVALID_CONFIG', - code: 40, - retriable: false, - message: 'Configuration is invalid', - }, - { - type: 'NOT_CONTROLLER', - code: 41, - retriable: true, - message: 'This is not the correct controller for this cluster', - }, - { - type: 'INVALID_REQUEST', - code: 42, - retriable: false, - message: - 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details', - }, - { - type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT', - code: 43, - retriable: false, - message: 'The message format version on the broker does not support the request', - }, - { - type: 'POLICY_VIOLATION', - code: 44, - retriable: false, - message: 'Request parameters do not satisfy the configured policy', - }, - { - type: 'OUT_OF_ORDER_SEQUENCE_NUMBER', - code: 45, - retriable: false, - message: 'The broker received an out of order sequence number', - }, - { - type: 'DUPLICATE_SEQUENCE_NUMBER', - code: 46, - retriable: false, - message: 'The broker received a duplicate sequence number', - }, - { - type: 'INVALID_PRODUCER_EPOCH', - code: 47, - retriable: false, - message: - "Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker", - }, - { - type: 'INVALID_TXN_STATE', - code: 48, - retriable: false, - message: 'The producer attempted a transactional operation in an invalid state', - }, - { - type: 'INVALID_PRODUCER_ID_MAPPING', - code: 49, - retriable: false, - message: - 'The producer attempted to use a producer id which is not currently assigned to its transactional id', - }, - { - type: 'INVALID_TRANSACTION_TIMEOUT', - code: 50, - retriable: false, - message: - 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)', - }, - { - type: 'CONCURRENT_TRANSACTIONS', - code: 51, - /** - * The concurrent transactions error has "retriable" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes) - * but the server expects the clients to retry. PR #223 - * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153 - */ - retriable: true, - message: - 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing', - }, - { - type: 'TRANSACTION_COORDINATOR_FENCED', - code: 52, - retriable: false, - message: - 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer', - }, - { - type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED', - code: 53, - retriable: false, - message: 'Transactional Id authorization failed', - }, - { - type: 'SECURITY_DISABLED', - code: 54, - retriable: false, - message: 'Security features are disabled', - }, - { - type: 'OPERATION_NOT_ATTEMPTED', - code: 55, - retriable: false, - message: - 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest', - }, - { - type: 'KAFKA_STORAGE_ERROR', - code: 56, - retriable: true, - message: 'Disk error when trying to access log file on the disk', - }, - { - type: 'LOG_DIR_NOT_FOUND', - code: 57, - retriable: false, - message: 'The user-specified log directory is not found in the broker config', - }, - { - type: 'SASL_AUTHENTICATION_FAILED', - code: 58, - retriable: false, - message: 'SASL Authentication failed', - helpUrl: websiteUrl('docs/configuration', 'sasl'), - }, - { - type: 'UNKNOWN_PRODUCER_ID', - code: 59, - retriable: false, - message: - "This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception", - }, - { - type: 'REASSIGNMENT_IN_PROGRESS', - code: 60, - retriable: false, - message: 'A partition reassignment is in progress', - }, - { - type: 'DELEGATION_TOKEN_AUTH_DISABLED', - code: 61, - retriable: false, - message: 'Delegation Token feature is not enabled', - }, - { - type: 'DELEGATION_TOKEN_NOT_FOUND', - code: 62, - retriable: false, - message: 'Delegation Token is not found on server', - }, - { - type: 'DELEGATION_TOKEN_OWNER_MISMATCH', - code: 63, - retriable: false, - message: 'Specified Principal is not valid Owner/Renewer', - }, - { - type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED', - code: 64, - retriable: false, - message: - 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels', - }, - { - type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED', - code: 65, - retriable: false, - message: 'Delegation Token authorization failed', - }, - { - type: 'DELEGATION_TOKEN_EXPIRED', - code: 66, - retriable: false, - message: 'Delegation Token is expired', - }, - { - type: 'INVALID_PRINCIPAL_TYPE', - code: 67, - retriable: false, - message: 'Supplied principalType is not supported', - }, - { - type: 'NON_EMPTY_GROUP', - code: 68, - retriable: false, - message: 'The group is not empty', - }, - { - type: 'GROUP_ID_NOT_FOUND', - code: 69, - retriable: false, - message: 'The group id was not found', - }, - { - type: 'FETCH_SESSION_ID_NOT_FOUND', - code: 70, - retriable: true, - message: 'The fetch session ID was not found', - }, - { - type: 'INVALID_FETCH_SESSION_EPOCH', - code: 71, - retriable: true, - message: 'The fetch session epoch is invalid', - }, - { - type: 'LISTENER_NOT_FOUND', - code: 72, - retriable: true, - message: - 'There is no listener on the leader broker that matches the listener on which metadata request was processed', - }, - { - type: 'TOPIC_DELETION_DISABLED', - code: 73, - retriable: false, - message: 'Topic deletion is disabled', - }, - { - type: 'FENCED_LEADER_EPOCH', - code: 74, - retriable: true, - message: 'The leader epoch in the request is older than the epoch on the broker', - }, - { - type: 'UNKNOWN_LEADER_EPOCH', - code: 75, - retriable: true, - message: 'The leader epoch in the request is newer than the epoch on the broker', - }, - { - type: 'UNSUPPORTED_COMPRESSION_TYPE', - code: 76, - retriable: false, - message: 'The requesting client does not support the compression type of given partition', - }, - { - type: 'STALE_BROKER_EPOCH', - code: 77, - retriable: false, - message: 'Broker epoch has changed', - }, - { - type: 'OFFSET_NOT_AVAILABLE', - code: 78, - retriable: true, - message: - 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing', - }, - { - type: 'MEMBER_ID_REQUIRED', - code: 79, - retriable: false, - message: - 'The group member needs to have a valid member id before actually entering a consumer group', - }, - { - type: 'PREFERRED_LEADER_NOT_AVAILABLE', - code: 80, - retriable: true, - message: 'The preferred leader was not available', - }, - { - type: 'GROUP_MAX_SIZE_REACHED', - code: 81, - retriable: false, - message: - 'The consumer group has reached its max size. It already has the configured maximum number of members', - }, - { - type: 'FENCED_INSTANCE_ID', - code: 82, - retriable: false, - message: - 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id', - }, - { - type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE', - code: 83, - retriable: true, - message: 'Eligible topic partition leaders are not available', - }, - { - type: 'ELECTION_NOT_NEEDED', - code: 84, - retriable: true, - message: 'Leader election not needed for topic partition', - }, - { - type: 'NO_REASSIGNMENT_IN_PROGRESS', - code: 85, - retriable: false, - message: 'No partition reassignment is in progress', - }, - { - type: 'GROUP_SUBSCRIBED_TO_TOPIC', - code: 86, - retriable: false, - message: - 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it', - }, - { - type: 'INVALID_RECORD', - code: 87, - retriable: false, - message: 'This record has failed the validation on broker and hence be rejected', - }, - { - type: 'UNSTABLE_OFFSET_COMMIT', - code: 88, - retriable: true, - message: 'There are unstable offsets that need to be cleared', - }, -] - -const unknownErrorCode = errorCode => ({ - type: 'KAFKAJS_UNKNOWN_ERROR_CODE', - code: -99, - retriable: false, - message: `Unknown error code ${errorCode}`, -}) - -const SUCCESS_CODE = 0 -const UNSUPPORTED_VERSION_CODE = 35 - -const failure = code => code !== SUCCESS_CODE -const createErrorFromCode = code => { - return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code)) -} - -const failIfVersionNotSupported = code => { - if (code === UNSUPPORTED_VERSION_CODE) { - throw createErrorFromCode(UNSUPPORTED_VERSION_CODE) - } -} - -const staleMetadata = e => - ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes( - e.type - ) - -module.exports = { - failure, - errorCodes, - createErrorFromCode, - failIfVersionNotSupported, - staleMetadata, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/isolationLevel.js": -/*!*************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/isolationLevel.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module) => { - -/** - * Enum for isolation levels - * @readonly - * @enum {number} - */ -module.exports = { - // Makes all records visible - READ_UNCOMMITTED: 0, - - // non-transactional and COMMITTED transactional records are visible. It returns all data - // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of - // the list of aborted transactions in the result, which allows consumers to discard ABORTED - // transactional records - READ_COMMITTED: 1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/compression/gzip.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/compression/gzip.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { promisify } = __webpack_require__(/*! util */ "util") -const zlib = __webpack_require__(/*! zlib */ "zlib") - -const gzip = promisify(zlib.gzip) -const unzip = promisify(zlib.unzip) - -module.exports = { - /** - * @param {Encoder} encoder - * @returns {Promise} - */ - async compress(encoder) { - return await gzip(encoder.buffer) - }, - - /** - * @param {Buffer} buffer - * @returns {Promise} - */ - async decompress(buffer) { - return await unzip(buffer) - }, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/compression/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/compression/index.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSNotImplemented } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") - -const COMPRESSION_CODEC_MASK = 0x07 - -const Types = { - None: 0, - GZIP: 1, - Snappy: 2, - LZ4: 3, - ZSTD: 4, -} - -const Codecs = { - [Types.GZIP]: () => __webpack_require__(/*! ./gzip */ "./node_modules/kafkajs/src/protocol/message/compression/gzip.js"), - [Types.Snappy]: () => { - throw new KafkaJSNotImplemented('Snappy compression not implemented') - }, - [Types.LZ4]: () => { - throw new KafkaJSNotImplemented('LZ4 compression not implemented') - }, - [Types.ZSTD]: () => { - throw new KafkaJSNotImplemented('ZSTD compression not implemented') - }, -} - -const lookupCodec = type => (Codecs[type] ? Codecs[type]() : null) -const lookupCodecByAttributes = attributes => { - const codec = Codecs[attributes & COMPRESSION_CODEC_MASK] - return codec ? codec() : null -} - -module.exports = { - Types, - Codecs, - lookupCodec, - lookupCodecByAttributes, - COMPRESSION_CODEC_MASK, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/decoder.js": -/*!**************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/decoder.js ***! - \**************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { - KafkaJSPartialMessageError, - KafkaJSUnsupportedMagicByteInMessageSet, -} = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -const V0Decoder = __webpack_require__(/*! ./v0/decoder */ "./node_modules/kafkajs/src/protocol/message/v0/decoder.js") -const V1Decoder = __webpack_require__(/*! ./v1/decoder */ "./node_modules/kafkajs/src/protocol/message/v1/decoder.js") - -const decodeMessage = (decoder, magicByte) => { - switch (magicByte) { - case 0: - return V0Decoder(decoder) - case 1: - return V1Decoder(decoder) - default: - throw new KafkaJSUnsupportedMagicByteInMessageSet( - `Unsupported MessageSet message version, magic byte: ${magicByte}` - ) - } -} - -module.exports = (offset, size, decoder) => { - // Don't decrement decoder.offset because slice is already considering the current - // offset of the decoder - const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer) - - if (remainingBytes < size) { - throw new KafkaJSPartialMessageError( - `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})` - ) - } - - const crc = decoder.readInt32() - const magicByte = decoder.readInt8() - const message = decodeMessage(decoder, magicByte) - return Object.assign({ offset, size, crc, magicByte }, message) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/index.js": -/*!************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/index.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: __webpack_require__(/*! ./v0 */ "./node_modules/kafkajs/src/protocol/message/v0/index.js"), - 1: __webpack_require__(/*! ./v1 */ "./node_modules/kafkajs/src/protocol/message/v1/index.js"), -} - -module.exports = ({ version = 0 }) => versions[version] - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/v0/decoder.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/v0/decoder.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = decoder => ({ - attributes: decoder.readInt8(), - key: decoder.readBytes(), - value: decoder.readBytes(), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/v0/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/v0/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const crc32 = __webpack_require__(/*! ../../crc32 */ "./node_modules/kafkajs/src/protocol/crc32.js") -const { Types: Compression, COMPRESSION_CODEC_MASK } = __webpack_require__(/*! ../compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") - -/** - * v0 - * Message => Crc MagicByte Attributes Key Value - * Crc => int32 - * MagicByte => int8 - * Attributes => int8 - * Key => bytes - * Value => bytes - */ - -module.exports = ({ compression = Compression.None, key, value }) => { - const content = new Encoder() - .writeInt8(0) // magicByte - .writeInt8(compression & COMPRESSION_CODEC_MASK) - .writeBytes(key) - .writeBytes(value) - - const crc = crc32(content) - return new Encoder().writeInt32(crc).writeEncoder(content) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/v1/decoder.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/v1/decoder.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = decoder => ({ - attributes: decoder.readInt8(), - timestamp: decoder.readInt64().toString(), - key: decoder.readBytes(), - value: decoder.readBytes(), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/message/v1/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/message/v1/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const crc32 = __webpack_require__(/*! ../../crc32 */ "./node_modules/kafkajs/src/protocol/crc32.js") -const { Types: Compression, COMPRESSION_CODEC_MASK } = __webpack_require__(/*! ../compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") - -/** - * v1 (supported since 0.10.0) - * Message => Crc MagicByte Attributes Key Value - * Crc => int32 - * MagicByte => int8 - * Attributes => int8 - * Timestamp => int64 - * Key => bytes - * Value => bytes - */ - -module.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => { - const content = new Encoder() - .writeInt8(1) // magicByte - .writeInt8(compression & COMPRESSION_CODEC_MASK) - .writeInt64(timestamp) - .writeBytes(key) - .writeBytes(value) - - const crc = crc32(content) - return new Encoder().writeInt32(crc).writeEncoder(content) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/messageSet/decoder.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const Decoder = __webpack_require__(/*! ../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const MessageDecoder = __webpack_require__(/*! ../message/decoder */ "./node_modules/kafkajs/src/protocol/message/decoder.js") -const { lookupCodecByAttributes } = __webpack_require__(/*! ../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") -const { KafkaJSPartialMessageError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -/** - * MessageSet => [Offset MessageSize Message] - * Offset => int64 - * MessageSize => int32 - * Message => Bytes - */ - -module.exports = async (primaryDecoder, size = null) => { - const messages = [] - const messageSetSize = size || primaryDecoder.readInt32() - const messageSetDecoder = primaryDecoder.slice(messageSetSize) - - while (messageSetDecoder.offset < messageSetSize) { - try { - const message = EntryDecoder(messageSetDecoder) - const codec = lookupCodecByAttributes(message.attributes) - - if (codec) { - const buffer = await codec.decompress(message.value) - messages.push(...EntriesDecoder(new Decoder(buffer), message)) - } else { - messages.push(message) - } - } catch (e) { - if (e.name === 'KafkaJSPartialMessageError') { - // We tried to decode a partial message, it means that minBytes - // is probably too low - break - } - - if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') { - // Received a MessageSet and a RecordBatch on the same response, the cluster is probably - // upgrading the message format from 0.10 to 0.11. Stop processing this message set to - // receive the full record batch on the next request - break - } - - throw e - } - } - - primaryDecoder.forward(messageSetSize) - return messages -} - -const EntriesDecoder = (decoder, compressedMessage) => { - const messages = [] - - while (decoder.offset < decoder.buffer.length) { - messages.push(EntryDecoder(decoder)) - } - - if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) { - const compressedOffset = Long.fromValue(compressedMessage.offset) - const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset) - const baseOffset = compressedOffset - lastMessageOffset - - for (const message of messages) { - message.offset = Long.fromValue(message.offset) - .add(baseOffset) - .toString() - } - } - - return messages -} - -const EntryDecoder = decoder => { - if (!decoder.canReadInt64()) { - throw new KafkaJSPartialMessageError( - `Tried to decode a partial message: There isn't enough bytes to read the offset` - ) - } - - const offset = decoder.readInt64().toString() - - if (!decoder.canReadInt32()) { - throw new KafkaJSPartialMessageError( - `Tried to decode a partial message: There isn't enough bytes to read the message size` - ) - } - - const size = decoder.readInt32() - return MessageDecoder(offset, size, decoder) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/messageSet/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/messageSet/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const MessageProtocol = __webpack_require__(/*! ../message */ "./node_modules/kafkajs/src/protocol/message/index.js") -const { Types } = __webpack_require__(/*! ../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") - -/** - * MessageSet => [Offset MessageSize Message] - * Offset => int64 - * MessageSize => int32 - * Message => Bytes - */ - -/** - * [ - * { key: "", value: "" }, - * { key: "", value: "" }, - * ] - */ -module.exports = ({ messageVersion = 0, compression, entries }) => { - const isCompressed = compression !== Types.None - const Message = MessageProtocol({ version: messageVersion }) - const encoder = new Encoder() - - // Messages in a message set are __not__ encoded as an array. - // They are written in sequence. - // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets - - entries.forEach((entry, i) => { - const message = Message(entry) - - // This is the offset used in kafka as the log sequence number. - // When the producer is sending non compressed messages, it can set the offsets to anything - // When the producer is sending compressed messages, to avoid server side recompression, each compressed message - // should have offset starting from 0 and increasing by one for each inner message in the compressed message - encoder.writeInt64(isCompressed ? i : -1) - encoder.writeInt32(message.size()) - - encoder.writeEncoder(message) - }) - - return encoder -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module) => { - -/** - * A javascript implementation of the CRC32 checksum that uses - * the CRC32-C polynomial, the same polynomial used by iSCSI - * - * also known as CRC32 Castagnoli - * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js - */ -const crc32C = buffer => { - let crc = 0 ^ -1 - for (let i = 0; i < buffer.length; i++) { - crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8) - } - - return (crc ^ -1) >>> 0 -} - -module.exports = crc32C - -// prettier-ignore -var T = new Int32Array([ - 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4, - 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb, - 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b, - 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24, - 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b, - 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384, - 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54, - 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b, - 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a, - 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35, - 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5, - 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa, - 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45, - 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a, - 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a, - 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595, - 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48, - 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957, - 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687, - 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198, - 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927, - 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38, - 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8, - 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7, - 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096, - 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789, - 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859, - 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46, - 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9, - 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6, - 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36, - 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829, - 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c, - 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93, - 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043, - 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c, - 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3, - 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc, - 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c, - 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033, - 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652, - 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d, - 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d, - 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982, - 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d, - 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622, - 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2, - 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed, - 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530, - 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f, - 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff, - 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0, - 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f, - 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540, - 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90, - 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f, - 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee, - 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1, - 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321, - 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e, - 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81, - 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e, - 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e, - 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351 -]); - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const crc32C = __webpack_require__(/*! ./crc32C */ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js") -const unsigned = value => Uint32Array.from([value])[0] - -module.exports = buffer => unsigned(crc32C(buffer)) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = decoder => ({ - key: decoder.readVarIntString(), - value: decoder.readVarIntBytes(), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -/** - * v0 - * Header => Key Value - * Key => varInt|string - * Value => varInt|bytes - */ - -module.exports = ({ key, value }) => { - return new Encoder().writeVarIntString(key).writeVarIntBytes(value) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const HeaderDecoder = __webpack_require__(/*! ../../header/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js") -const TimestampTypes = __webpack_require__(/*! ../../../timestampTypes */ "./node_modules/kafkajs/src/protocol/timestampTypes.js") - -/** - * v0 - * Record => - * Length => Varint - * Attributes => Int8 - * TimestampDelta => Varlong - * OffsetDelta => Varint - * Key => varInt|Bytes - * Value => varInt|Bytes - * Headers => [HeaderKey HeaderValue] - * HeaderKey => VarInt|String - * HeaderValue => VarInt|Bytes - */ - -module.exports = (decoder, batchContext = {}) => { - const { - firstOffset, - firstTimestamp, - magicByte, - isControlBatch = false, - timestampType, - maxTimestamp, - } = batchContext - const attributes = decoder.readInt8() - - const timestampDelta = decoder.readVarLong() - const timestamp = - timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp - ? maxTimestamp - : Long.fromValue(firstTimestamp) - .add(timestampDelta) - .toString() - - const offsetDelta = decoder.readVarInt() - const offset = Long.fromValue(firstOffset) - .add(offsetDelta) - .toString() - - const key = decoder.readVarIntBytes() - const value = decoder.readVarIntBytes() - const headers = decoder - .readVarIntArray(HeaderDecoder) - .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {}) - - return { - magicByte, - attributes, // Record level attributes are presently unused - timestamp, - offset, - key, - value, - headers, - isControlRecord: isControlBatch, - batchContext, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const Header = __webpack_require__(/*! ../../header/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js") - -/** - * v0 - * Record => - * Length => Varint - * Attributes => Int8 - * TimestampDelta => Varlong - * OffsetDelta => Varint - * Key => varInt|Bytes - * Value => varInt|Bytes - * Headers => [HeaderKey HeaderValue] - * HeaderKey => VarInt|String - * HeaderValue => VarInt|Bytes - */ - -/** - * @param [offsetDelta=0] {Integer} - * @param [timestampDelta=0] {Long} - * @param key {Buffer} - * @param value {Buffer} - * @param [headers={}] {Object} - */ -module.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => { - const headersArray = Object.keys(headers).map(headerKey => ({ - key: headerKey, - value: headers[headerKey], - })) - - const sizeOfBody = - 1 + // always one byte for attributes - Encoder.sizeOfVarLong(timestampDelta) + - Encoder.sizeOfVarInt(offsetDelta) + - Encoder.sizeOfVarIntBytes(key) + - Encoder.sizeOfVarIntBytes(value) + - sizeOfHeaders(headersArray) - - return new Encoder() - .writeVarInt(sizeOfBody) - .writeInt8(0) // no used record attributes at the moment - .writeVarLong(timestampDelta) - .writeVarInt(offsetDelta) - .writeVarIntBytes(key) - .writeVarIntBytes(value) - .writeVarIntArray(headersArray.map(Header)) -} - -const sizeOfHeaders = headersArray => { - let size = Encoder.sizeOfVarInt(headersArray.length) - - for (const header of headersArray) { - const keySize = Buffer.byteLength(header.key) - const valueSize = Buffer.byteLength(header.value) - - size += Encoder.sizeOfVarInt(keySize) + keySize - - if (header.value === null) { - size += Encoder.sizeOfVarInt(-1) - } else { - size += Encoder.sizeOfVarInt(valueSize) + valueSize - } - } - - return size -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js": -/*!*********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { KafkaJSPartialMessageError } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") -const { lookupCodecByAttributes } = __webpack_require__(/*! ../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") -const RecordDecoder = __webpack_require__(/*! ../record/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js") -const TimestampTypes = __webpack_require__(/*! ../../timestampTypes */ "./node_modules/kafkajs/src/protocol/timestampTypes.js") - -const TIMESTAMP_TYPE_FLAG_MASK = 0x8 -const TRANSACTIONAL_FLAG_MASK = 0x10 -const CONTROL_FLAG_MASK = 0x20 - -/** - * v0 - * RecordBatch => - * FirstOffset => int64 - * Length => int32 - * PartitionLeaderEpoch => int32 - * Magic => int8 - * CRC => int32 - * Attributes => int16 - * LastOffsetDelta => int32 - * FirstTimestamp => int64 - * MaxTimestamp => int64 - * ProducerId => int64 - * ProducerEpoch => int16 - * FirstSequence => int32 - * Records => [Record] - */ - -module.exports = async fetchDecoder => { - const firstOffset = fetchDecoder.readInt64().toString() - const length = fetchDecoder.readInt32() - const decoder = fetchDecoder.slice(length) - fetchDecoder.forward(length) - - const remainingBytes = Buffer.byteLength(decoder.buffer) - - if (remainingBytes < length) { - throw new KafkaJSPartialMessageError( - `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})` - ) - } - - const partitionLeaderEpoch = decoder.readInt32() - - // The magic byte was read by the Fetch protocol to distinguish between - // the record batch and the legacy message set. It's not used here but - // it has to be read. - const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars - - // The library is currently not performing CRC validations - const crc = decoder.readInt32() // eslint-disable-line no-unused-vars - - const attributes = decoder.readInt16() - const lastOffsetDelta = decoder.readInt32() - const firstTimestamp = decoder.readInt64().toString() - const maxTimestamp = decoder.readInt64().toString() - const producerId = decoder.readInt64().toString() - const producerEpoch = decoder.readInt16() - const firstSequence = decoder.readInt32() - - const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0 - const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0 - const timestampType = - (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0 - ? TimestampTypes.LOG_APPEND_TIME - : TimestampTypes.CREATE_TIME - - const codec = lookupCodecByAttributes(attributes) - - const recordContext = { - firstOffset, - firstTimestamp, - partitionLeaderEpoch, - inTransaction, - isControlBatch, - lastOffsetDelta, - producerId, - producerEpoch, - firstSequence, - maxTimestamp, - timestampType, - } - - const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte }) - - return { - ...recordContext, - records, - } -} - -const decodeRecords = async (codec, recordsDecoder, recordContext) => { - if (!codec) { - return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext)) - } - - const length = recordsDecoder.readInt32() - - if (length <= 0) { - return [] - } - - const compressedRecordsBuffer = recordsDecoder.readAll() - const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer) - const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer) - const records = new Array(length) - - for (let i = 0; i < length; i++) { - records[i] = decodeRecord(decompressedRecordDecoder, recordContext) - } - - return records -} - -const decodeRecord = (decoder, recordContext) => { - const recordBuffer = decoder.readVarIntBytes() - return RecordDecoder(new Decoder(recordBuffer), recordContext) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 90:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const crc32C = __webpack_require__(/*! ../crc32C */ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js") -const { - Types: Compression, - lookupCodec, - COMPRESSION_CODEC_MASK, -} = __webpack_require__(/*! ../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") - -const MAGIC_BYTE = 2 -const TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0) -const TRANSACTIONAL_MASK = 16 // The fifth lowest bit - -/** - * v0 - * RecordBatch => - * FirstOffset => int64 - * Length => int32 - * PartitionLeaderEpoch => int32 - * Magic => int8 - * CRC => int32 - * Attributes => int16 - * LastOffsetDelta => int32 - * FirstTimestamp => int64 - * MaxTimestamp => int64 - * ProducerId => int64 - * ProducerEpoch => int16 - * FirstSequence => int32 - * Records => [Record] - */ - -const RecordBatch = async ({ - compression = Compression.None, - firstOffset = Long.fromInt(0), - firstTimestamp = Date.now(), - maxTimestamp = Date.now(), - partitionLeaderEpoch = 0, - lastOffsetDelta = 0, - transactional = false, - producerId = Long.fromValue(-1), // for idempotent messages - producerEpoch = 0, // for idempotent messages - firstSequence = 0, // for idempotent messages - records = [], -}) => { - const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK - const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0 - const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION - - const batchBody = new Encoder() - .writeInt16(attributes) - .writeInt32(lastOffsetDelta) - .writeInt64(firstTimestamp) - .writeInt64(maxTimestamp) - .writeInt64(producerId) - .writeInt16(producerEpoch) - .writeInt32(firstSequence) - - if (compression === Compression.None) { - if (records.every(v => typeof v === typeof records[0])) { - batchBody.writeArray(records, typeof records[0]) - } else { - batchBody.writeArray(records) - } - } else { - const compressedRecords = await compressRecords(compression, records) - batchBody.writeInt32(records.length).writeBuffer(compressedRecords) - } - - // CRC32C validation is happening here: - // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148 - - const batch = new Encoder() - .writeInt32(partitionLeaderEpoch) - .writeInt8(MAGIC_BYTE) - .writeUInt32(crc32C(batchBody.buffer)) - .writeEncoder(batchBody) - - return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer) -} - -const compressRecords = async (compression, records) => { - const codec = lookupCodec(compression) - const recordsEncoder = new Encoder() - - recordsEncoder.writeEncoderArray(records) - - return codec.compress(recordsEncoder) -} - -module.exports = { - RecordBatch, - MAGIC_BYTE, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/request.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/request.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ./encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -module.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => { - const payload = await encode() - const requestPayload = new Encoder() - .writeInt16(apiKey) - .writeInt16(apiVersion) - .writeInt32(correlationId) - .writeString(clientId) - .writeEncoder(payload) - - return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ transactionalId, producerId, producerEpoch, groupId }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js") - return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response } - }, - 1: ({ transactionalId, producerId, producerEpoch, groupId }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js") - return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { AddOffsetsToTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * group_id => STRING - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({ - apiKey, - apiVersion: 0, - apiName: 'AddOffsetsToTxn', - encode: async () => { - return new Encoder() - .writeString(transactionalId) - .writeInt64(producerId) - .writeInt16(producerEpoch) - .writeString(groupId) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime, - errorCode, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js") - -/** - * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * group_id => STRING - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => - Object.assign( - requestV0({ - transactionalId, - producerId, - producerEpoch, - groupId, - }), - { apiVersion: 1 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ transactionalId, producerId, producerEpoch, topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js") - return { request: request({ transactionalId, producerId, producerEpoch, topics }), response } - }, - 1: ({ transactionalId, producerId, producerEpoch, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js") - return { request: request({ transactionalId, producerId, producerEpoch, topics }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js": -/*!*************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js ***! - \*************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { AddPartitionsToTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics] - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * topics => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'AddPartitionsToTxn', - encode: async () => { - return new Encoder() - .writeString(transactionalId) - .writeInt64(producerId) - .writeInt16(producerEpoch) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = partition => { - return new Encoder().writeInt32(partition) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js": -/*!**************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js ***! - \**************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors] - * throttle_time_ms => INT32 - * errors => topic [partition_errors] - * topic => STRING - * partition_errors => partition error_code - * partition => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errors = await decoder.readArrayAsync(decodeError) - - return { - throttleTime, - errors, - } -} - -const decodeError = async decoder => ({ - topic: decoder.readString(), - partitionErrors: await decoder.readArrayAsync(decodePartitionError), -}) - -const decodePartitionError = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - const topicsWithErrors = data.errors - .map(({ partitionErrors }) => ({ - partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)), - })) - .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) - - if (topicsWithErrors.length > 0) { - throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js": -/*!*************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js ***! - \*************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js") - -/** - * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics] - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * topics => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, topics }) => - Object.assign( - requestV0({ - transactionalId, - producerId, - producerEpoch, - topics, - }), - { apiVersion: 1 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js": -/*!**************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js ***! - \**************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors] - * throttle_time_ms => INT32 - * errors => topic [partition_errors] - * topic => STRING - * partition_errors => partition error_code - * partition => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ resources, validateOnly }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js") - return { request: request({ resources, validateOnly }), response } - }, - 1: ({ resources, validateOnly }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js") - return { request: request({ resources, validateOnly }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { AlterConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * AlterConfigs Request (Version: 0) => [resources] validate_only - * resources => resource_type resource_name [config_entries] - * resource_type => INT8 - * resource_name => STRING - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * validate_only => BOOLEAN - */ - -/** - * @param {Array} resources An array of resources to change - * @param {boolean} [validateOnly=false] - */ -module.exports = ({ resources, validateOnly = false }) => ({ - apiKey, - apiVersion: 0, - apiName: 'AlterConfigs', - encode: async () => { - return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly) - }, -}) - -const encodeResource = ({ type, name, configEntries }) => { - return new Encoder() - .writeInt8(type) - .writeString(name) - .writeArray(configEntries.map(encodeConfigEntries)) -} - -const encodeConfigEntries = ({ name, value }) => { - return new Encoder().writeString(name).writeString(value) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * AlterConfigs Response (Version: 0) => throttle_time_ms [resources] - * throttle_time_ms => INT32 - * resources => error_code error_message resource_type resource_name - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - */ - -const decodeResources = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const resources = decoder.readArray(decodeResources) - - return { - throttleTime, - resources, - } -} - -const parse = async data => { - const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode)) - if (resourcesWithError.length > 0) { - throw createErrorFromCode(resourcesWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js") - -/** - * AlterConfigs Request (Version: 1) => [resources] validate_only - * resources => resource_type resource_name [config_entries] - * resource_type => INT8 - * resource_name => STRING - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * validate_only => BOOLEAN - */ - -/** - * @param {Array} resources An array of resources to change - * @param {boolean} [validateOnly=false] - */ -module.exports = ({ resources, validateOnly }) => - Object.assign( - requestV0({ - resources, - validateOnly, - }), - { apiVersion: 1 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * AlterConfigs Response (Version: 1) => throttle_time_ms [resources] - * throttle_time_ms => INT32 - * resources => error_code error_message resource_type resource_name - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiKeys.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - Produce: 0, - Fetch: 1, - ListOffsets: 2, - Metadata: 3, - LeaderAndIsr: 4, - StopReplica: 5, - UpdateMetadata: 6, - ControlledShutdown: 7, - OffsetCommit: 8, - OffsetFetch: 9, - GroupCoordinator: 10, - JoinGroup: 11, - Heartbeat: 12, - LeaveGroup: 13, - SyncGroup: 14, - DescribeGroups: 15, - ListGroups: 16, - SaslHandshake: 17, - ApiVersions: 18, // ApiVersions v0 on Kafka 0.10 - CreateTopics: 19, - DeleteTopics: 20, - DeleteRecords: 21, - InitProducerId: 22, - OffsetForLeaderEpoch: 23, - AddPartitionsToTxn: 24, - AddOffsetsToTxn: 25, - EndTxn: 26, - WriteTxnMarkers: 27, - TxnOffsetCommit: 28, - DescribeAcls: 29, - CreateAcls: 30, - DeleteAcls: 31, - DescribeConfigs: 32, - AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11 - AlterReplicaLogDirs: 34, - DescribeLogDirs: 35, - SaslAuthenticate: 36, - CreatePartitions: 37, - CreateDelegationToken: 38, - RenewDelegationToken: 39, - ExpireDelegationToken: 40, - DescribeDelegationToken: 41, - DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0 - ElectPreferredLeaders: 43, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const logResponseError = false - -const versions = { - 0: () => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js") - return { request: request(), response, logResponseError: true } - }, - 1: () => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js") - return { request: request(), response, logResponseError } - }, - 2: () => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js") - return { request: request(), response, logResponseError } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { ApiVersions: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * ApiVersionRequest => ApiKeys - */ - -module.exports = () => ({ - apiKey, - apiVersion: 0, - apiName: 'ApiVersions', - encode: async () => new Encoder(), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * ApiVersionResponse => ApiVersions - * ErrorCode = INT16 - * ApiVersions = [ApiVersion] - * ApiVersion = ApiKey MinVersion MaxVersion - * ApiKey = INT16 - * MinVersion = INT16 - * MaxVersion = INT16 - */ - -const apiVersion = decoder => ({ - apiKey: decoder.readInt16(), - minVersion: decoder.readInt16(), - maxVersion: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - errorCode, - apiVersions: decoder.readArray(apiVersion), - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") - -// ApiVersions Request after v1 indicates the client can parse throttle_time_ms - -module.exports = () => ({ ...requestV0(), apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js") - -/** - * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms - * error_code => INT16 - * api_versions => api_key min_version max_version - * api_key => INT16 - * min_version => INT16 - * max_version => INT16 - * throttle_time_ms => INT32 - */ - -const apiVersion = decoder => ({ - apiKey: decoder.readInt16(), - minVersion: decoder.readInt16(), - maxVersion: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - const apiVersions = decoder.readArray(apiVersion) - - /** - * The Java client defaults this value to 0 if not present, - * even though it is required in the protocol. This is to - * work around https://github.com/tulios/kafkajs/issues/491 - * - * See: - * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25 - */ - const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0 - - return { - errorCode, - apiVersions, - throttleTime, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") - -// ApiVersions Request after v1 indicates the client can parse throttle_time_ms - -module.exports = () => ({ ...requestV0(), apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js") - -/** - * Starting in version 2, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms - * error_code => INT16 - * api_versions => api_key min_version max_version - * api_key => INT16 - * min_version => INT16 - * max_version => INT16 - * throttle_time_ms => INT32 - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/index.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ creations }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js") - return { request: request({ creations }), response } - }, - 1: ({ creations }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js") - return { request: request({ creations }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { CreateAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * CreateAcls Request (Version: 0) => [creations] - * creations => resource_type resource_name principal host operation permission_type - * resource_type => INT8 - * resource_name => STRING - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ - -const encodeCreations = ({ - resourceType, - resourceName, - principal, - host, - operation, - permissionType, -}) => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) -} - -module.exports = ({ creations }) => ({ - apiKey, - apiVersion: 0, - apiName: 'CreateAcls', - encode: async () => { - return new Encoder().writeArray(creations.map(encodeCreations)) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses] - * throttle_time_ms => INT32 - * creation_responses => error_code error_message - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const decodeCreationResponse = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const creationResponses = decoder.readArray(decodeCreationResponse) - - return { - throttleTime, - creationResponses, - } -} - -const parse = async data => { - const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) => - failure(errorCode) - ) - - if (creationResponsesWithError.length > 0) { - throw createErrorFromCode(creationResponsesWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { CreateAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * CreateAcls Request (Version: 1) => [creations] - * creations => resource_type resource_name resource_pattern_type principal host operation permission_type - * resource_type => INT8 - * resource_name => STRING - * resource_pattern_type => INT8 - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ - -const encodeCreations = ({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, -}) => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeInt8(resourcePatternType) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) -} - -module.exports = ({ creations }) => ({ - apiKey, - apiVersion: 1, - apiName: 'CreateAcls', - encode: async () => { - return new Encoder().writeArray(creations.map(encodeCreations)) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses] - * throttle_time_ms => INT32 - * creation_responses => error_code error_message - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ topicPartitions, timeout, validateOnly }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js") - return { request: request({ topicPartitions, timeout, validateOnly }), response } - }, - 1: ({ topicPartitions, validateOnly, timeout }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js") - return { request: request({ topicPartitions, validateOnly, timeout }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { CreatePartitions: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only - * topic_partitions => topic new_partitions - * topic => STRING - * new_partitions => count [assignment] - * count => INT32 - * assignment => ARRAY(INT32) - * timeout => INT32 - * validate_only => BOOLEAN - */ - -module.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({ - apiKey, - apiVersion: 0, - apiName: 'CreatePartitions', - encode: async () => { - return new Encoder() - .writeArray(topicPartitions.map(encodeTopicPartitions)) - .writeInt32(timeout) - .writeBoolean(validateOnly) - }, -}) - -const encodeTopicPartitions = ({ topic, count, assignments = [] }) => { - return new Encoder() - .writeString(topic) - .writeInt32(count) - .writeNullableArray(assignments.map(encodeAssignments)) -} - -const encodeAssignments = brokerIds => { - return new Encoder().writeNullableArray(brokerIds) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js": -/*!************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js ***! - \************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/* - * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors] - * throttle_time_ms => INT32 - * topic_errors => topic error_code error_message - * topic => STRING - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - return { - throttleTime, - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -const parse = async data => { - const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) - if (topicsWithError.length > 0) { - throw createErrorFromCode(topicsWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js") - -/** - * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only - * topic_partitions => topic new_partitions - * topic => STRING - * new_partitions => count [assignment] - * count => INT32 - * assignment => ARRAY(INT32) - * timeout => INT32 - * validate_only => BOOLEAN - */ - -module.exports = ({ topicPartitions, validateOnly, timeout }) => - Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js": -/*!************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js ***! - \************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors] - * throttle_time_ms => INT32 - * topic_errors => topic error_code error_message - * topic => STRING - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ topics, timeout }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js") - return { request: request({ topics, timeout }), response } - }, - 1: ({ topics, validateOnly, timeout }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js") - return { request: request({ topics, validateOnly, timeout }), response } - }, - 2: ({ topics, validateOnly, timeout }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js") - return { request: request({ topics, validateOnly, timeout }), response } - }, - 3: ({ topics, validateOnly, timeout }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js") - return { request: request({ topics, validateOnly, timeout }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { CreateTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * CreateTopics Request (Version: 0) => [create_topic_requests] timeout - * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] - * topic => STRING - * num_partitions => INT32 - * replication_factor => INT16 - * replica_assignment => partition [replicas] - * partition => INT32 - * replicas => INT32 - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * timeout => INT32 - */ - -module.exports = ({ topics, timeout = 5000 }) => ({ - apiKey, - apiVersion: 0, - apiName: 'CreateTopics', - encode: async () => { - return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout) - }, -}) - -const encodeTopics = ({ - topic, - numPartitions = 1, - replicationFactor = 1, - replicaAssignment = [], - configEntries = [], -}) => { - return new Encoder() - .writeString(topic) - .writeInt32(numPartitions) - .writeInt16(replicationFactor) - .writeArray(replicaAssignment.map(encodeReplicaAssignment)) - .writeArray(configEntries.map(encodeConfigEntries)) -} - -const encodeReplicaAssignment = ({ partition, replicas }) => { - return new Encoder().writeInt32(partition).writeArray(replicas) -} - -const encodeConfigEntries = ({ name, value }) => { - return new Encoder().writeString(name).writeString(value) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { KafkaJSAggregateError, KafkaJSCreateTopicError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") - -/** - * CreateTopics Response (Version: 0) => [topic_errors] - * topic_errors => topic error_code - * topic => STRING - * error_code => INT16 - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -const parse = async data => { - const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) - if (topicsWithError.length > 0) { - throw new KafkaJSAggregateError( - 'Topic creation errors', - topicsWithError.map( - error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic) - ) - ) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { CreateTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only - * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] - * topic => STRING - * num_partitions => INT32 - * replication_factor => INT16 - * replica_assignment => partition [replicas] - * partition => INT32 - * replicas => INT32 - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * timeout => INT32 - * validate_only => BOOLEAN - */ - -module.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({ - apiKey, - apiVersion: 1, - apiName: 'CreateTopics', - encode: async () => { - return new Encoder() - .writeArray(topics.map(encodeTopics)) - .writeInt32(timeout) - .writeBoolean(validateOnly) - }, -}) - -const encodeTopics = ({ - topic, - numPartitions = 1, - replicationFactor = 1, - replicaAssignment = [], - configEntries = [], -}) => { - return new Encoder() - .writeString(topic) - .writeInt32(numPartitions) - .writeInt16(replicationFactor) - .writeArray(replicaAssignment.map(encodeReplicaAssignment)) - .writeArray(configEntries.map(encodeConfigEntries)) -} - -const encodeReplicaAssignment = ({ partition, replicas }) => { - return new Encoder().writeInt32(partition).writeArray(replicas) -} - -const encodeConfigEntries = ({ name, value }) => { - return new Encoder().writeString(name).writeString(value) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js") - -/** - * CreateTopics Response (Version: 1) => [topic_errors] - * topic_errors => topic error_code error_message - * topic => STRING - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js") - -/** - * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only - * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] - * topic => STRING - * num_partitions => INT32 - * replication_factor => INT16 - * replica_assignment => partition [replicas] - * partition => INT32 - * replicas => INT32 - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * timeout => INT32 - * validate_only => BOOLEAN - */ - -module.exports = ({ topics, validateOnly, timeout }) => - Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js") - -/** - * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors] - * throttle_time_ms => INT32 - * topic_errors => topic error_code error_message - * topic => STRING - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js") - -/** - * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only - * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] - * topic => STRING - * num_partitions => INT32 - * replication_factor => INT16 - * replica_assignment => partition [replicas] - * partition => INT32 - * replicas => INT32 - * config_entries => config_name config_value - * config_name => STRING - * config_value => NULLABLE_STRING - * timeout => INT32 - * validate_only => BOOLEAN - */ - -module.exports = ({ topics, validateOnly, timeout }) => - Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js") - -/** - * Starting in version 3, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors] - * throttle_time_ms => INT32 - * topic_errors => topic error_code error_message - * topic => STRING - * error_code => INT16 - * error_message => NULLABLE_STRING - */ - -const decode = async rawData => { - const decoded = await decodeV2(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ filters }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js") - return { request: request({ filters }), response } - }, - 1: ({ filters }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js") - return { request: request({ filters }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DeleteAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DeleteAcls Request (Version: 0) => [filters] - * filters => resource_type resource_name principal host operation permission_type - * resource_type => INT8 - * resource_name => NULLABLE_STRING - * principal => NULLABLE_STRING - * host => NULLABLE_STRING - * operation => INT8 - * permission_type => INT8 - */ - -const encodeFilters = ({ - resourceType, - resourceName, - principal, - host, - operation, - permissionType, -}) => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) -} - -module.exports = ({ filters }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DeleteAcls', - encode: async () => { - return new Encoder().writeArray(filters.map(encodeFilters)) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 70:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses] - * throttle_time_ms => INT32 - * filter_responses => error_code error_message [matching_acls] - * error_code => INT16 - * error_message => NULLABLE_STRING - * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ - -const decodeMatchingAcls = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), - principal: decoder.readString(), - host: decoder.readString(), - operation: decoder.readInt8(), - permissionType: decoder.readInt8(), -}) - -const decodeFilterResponse = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - matchingAcls: decoder.readArray(decodeMatchingAcls), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const filterResponses = decoder.readArray(decodeFilterResponse) - - return { - throttleTime, - filterResponses, - } -} - -const parse = async data => { - const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) => - failure(errorCode) - ) - - if (filterResponsesWithError.length > 0) { - throw createErrorFromCode(filterResponsesWithError[0].errorCode) - } - - for (const filterResponse of data.filterResponses) { - const matchingAcls = filterResponse.matchingAcls - const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode)) - - if (matchingAclsWithError.length > 0) { - throw createErrorFromCode(matchingAclsWithError[0].errorCode) - } - } - - return data -} - -module.exports = { - decodeMatchingAcls, - decodeFilterResponse, - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DeleteAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DeleteAcls Request (Version: 1) => [filters] - * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type - * resource_type => INT8 - * resource_name => NULLABLE_STRING - * resource_pattern_type_filter => INT8 - * principal => NULLABLE_STRING - * host => NULLABLE_STRING - * operation => INT8 - * permission_type => INT8 - */ - -const encodeFilters = ({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, -}) => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeInt8(resourcePatternType) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) -} - -module.exports = ({ filters }) => ({ - apiKey, - apiVersion: 1, - apiName: 'DeleteAcls', - encode: async () => { - return new Encoder().writeArray(filters.map(encodeFilters)) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 57:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * Version 1 also introduces a new resource pattern type field. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs - * - * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses] - * throttle_time_ms => INT32 - * filter_responses => error_code error_message [matching_acls] - * error_code => INT16 - * error_message => NULLABLE_STRING - * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - * resource_pattern_type => INT8 - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ - -const decodeMatchingAcls = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), - resourcePatternType: decoder.readInt8(), - principal: decoder.readString(), - host: decoder.readString(), - operation: decoder.readInt8(), - permissionType: decoder.readInt8(), -}) - -const decodeFilterResponse = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - matchingAcls: decoder.readArray(decodeMatchingAcls), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const filterResponses = decoder.readArray(decodeFilterResponse) - - return { - throttleTime: 0, - clientSideThrottleTime: throttleTime, - filterResponses, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: groupIds => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js") - return { request: request(groupIds), response } - }, - 1: groupIds => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js") - return { request: request(groupIds), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DeleteGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DeleteGroups Request (Version: 0) => [groups_names] - * groups_names => STRING - */ - -/** - */ -module.exports = groupIds => ({ - apiKey, - apiVersion: 0, - apiName: 'DeleteGroups', - encode: async () => { - return new Encoder().writeArray(groupIds.map(encodeGroups)) - }, -}) - -const encodeGroups = group => { - return new Encoder().writeString(group) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -/** - * DeleteGroups Response (Version: 0) => throttle_time_ms [results] - * throttle_time_ms => INT32 - * results => group_id error_code - * group_id => STRING - * error_code => INT16 - */ - -const decodeGroup = decoder => ({ - groupId: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTimeMs = decoder.readInt32() - const results = decoder.readArray(decodeGroup) - - for (const result of results) { - if (failure(result.errorCode)) { - result.error = createErrorFromCode(result.errorCode) - } - } - return { - throttleTimeMs, - results, - } -} - -const parse = async data => { - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js") - -/** - * DeleteGroups Request (Version: 1) - */ - -module.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * DeleteGroups Response (Version: 1) => throttle_time_ms [results] - * throttle_time_ms => INT32 - * results => group_id error_code - * group_id => STRING - * error_code => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ topics, timeout }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js") - return { request: request({ topics, timeout }), response: response({ topics }) } - }, - 1: ({ topics, timeout }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js") - return { request: request({ topics, timeout }), response: response({ topics }) } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DeleteRecords: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DeleteRecords Request (Version: 0) => [topics] timeout_ms - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset - * partition => INT32 - * offset => INT64 - * timeout => INT32 - */ -module.exports = ({ topics, timeout = 5000 }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DeleteRecords', - encode: async () => { - return new Encoder() - .writeArray( - topics.map(({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray( - partitions.map(({ partition, offset }) => { - return new Encoder().writeInt32(partition).writeInt64(offset) - }) - ) - }) - ) - .writeInt32(timeout) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 62:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { KafkaJSDeleteTopicRecordsError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * DeleteRecords Response (Version: 0) => throttle_time_ms [topics] - * throttle_time_ms => INT32 - * topics => name [partitions] - * name => STRING - * partitions => partition low_watermark error_code - * partition => INT32 - * low_watermark => INT64 - * error_code => INT16 - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - topics: decoder - .readArray(decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decoder => ({ - partition: decoder.readInt32(), - lowWatermark: decoder.readInt64(), - errorCode: decoder.readInt16(), - })), - })) - .sort(topicNameComparator), - } -} - -const parse = requestTopics => async data => { - const topicsWithErrors = data.topics - .map(({ partitions }) => ({ - partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)), - })) - .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) - - if (topicsWithErrors.length > 0) { - // at present we only ever request one topic at a time, so can destructure the arrays - const [{ topic }] = data.topics // topic name - const [{ partitions: requestPartitions }] = requestTopics // requested offset(s) - const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s) - - throw new KafkaJSDeleteTopicRecordsError({ - topic, - partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({ - partition, - error: createErrorFromCode(errorCode), - // attach the original offset from the request, onto the error response - offset: requestPartitions.find(p => p.partition === partition).offset, - })), - }) - } - - return data -} - -module.exports = ({ topics }) => ({ - decode, - parse: parse(topics), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js") - -/** - * DeleteRecords Request (Version: 1) => [topics] timeout_ms - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset - * partition => INT32 - * offset => INT64 - * timeout => INT32 - */ -module.exports = ({ topics, timeout }) => - Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const responseV0 = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * DeleteRecords Response (Version: 1) => throttle_time_ms [topics] - * throttle_time_ms => INT32 - * topics => name [partitions] - * name => STRING - * partitions => partition_index low_watermark error_code - * partition_index => INT32 - * low_watermark => INT64 - * error_code => INT16 - */ - -module.exports = ({ topics }) => { - const { parse, decode: decodeV0 } = responseV0({ topics }) - - const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } - } - - return { - decode, - parse, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ topics, timeout }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js") - return { request: request({ topics, timeout }), response } - }, - 1: ({ topics, timeout }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js") - return { request: request({ topics, timeout }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DeleteTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DeleteTopics Request (Version: 0) => [topics] timeout - * topics => STRING - * timeout => INT32 - */ -module.exports = ({ topics, timeout = 5000 }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DeleteTopics', - encode: async () => { - return new Encoder().writeArray(topics).writeInt32(timeout) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * DeleteTopics Response (Version: 0) => [topic_error_codes] - * topic_error_codes => topic error_code - * topic => STRING - * error_code => INT16 - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -const parse = async data => { - const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) - if (topicsWithError.length > 0) { - throw createErrorFromCode(topicsWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js") - -/** - * DeleteTopics Request (Version: 1) => [topics] timeout - * topics => STRING - * timeout => INT32 - */ - -module.exports = ({ topics, timeout }) => - Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes] - * throttle_time_ms => INT32 - * topic_error_codes => topic error_code - * topic => STRING - * error_code => INT16 - */ - -const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) - -const topicErrors = decoder => ({ - topic: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - - return { - throttleTime: 0, - clientSideThrottleTime: throttleTime, - topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js") - return { - request: request({ resourceType, resourceName, principal, host, operation, permissionType }), - response, - } - }, - 1: ({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js") - return { - request: request({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, - }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DescribeAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type - * resource_type => INT8 - * resource_name => NULLABLE_STRING - * principal => NULLABLE_STRING - * host => NULLABLE_STRING - * operation => INT8 - * permission_type => INT8 - */ - -module.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DescribeAcls', - encode: async () => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources] - * throttle_time_ms => INT32 - * error_code => INT16 - * error_message => NULLABLE_STRING - * resources => resource_type resource_name [acls] - * resource_type => INT8 - * resource_name => STRING - * acls => principal host operation permission_type - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ - -const decodeAcls = decoder => ({ - principal: decoder.readString(), - host: decoder.readString(), - operation: decoder.readInt8(), - permissionType: decoder.readInt8(), -}) - -const decodeResources = decoder => ({ - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), - acls: decoder.readArray(decodeAcls), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const errorMessage = decoder.readString() - const resources = decoder.readArray(decodeResources) - - return { - throttleTime, - errorCode, - errorMessage, - resources, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DescribeAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type - * resource_type => INT8 - * resource_name => NULLABLE_STRING - * resource_pattern_type_filter => INT8 - * principal => NULLABLE_STRING - * host => NULLABLE_STRING - * operation => INT8 - * permission_type => INT8 - */ - -module.exports = ({ - resourceType, - resourceName, - resourcePatternType, - principal, - host, - operation, - permissionType, -}) => ({ - apiKey, - apiVersion: 1, - apiName: 'DescribeAcls', - encode: async () => { - return new Encoder() - .writeInt8(resourceType) - .writeString(resourceName) - .writeInt8(resourcePatternType) - .writeString(principal) - .writeString(host) - .writeInt8(operation) - .writeInt8(permissionType) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 54:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js") -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * Version 1 also introduces a new resource pattern type field. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs - * - * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources] - * throttle_time_ms => INT32 - * error_code => INT16 - * error_message => NULLABLE_STRING - * resources => resource_type resource_name resource_pattern_type [acls] - * resource_type => INT8 - * resource_name => STRING - * resource_pattern_type => INT8 - * acls => principal host operation permission_type - * principal => STRING - * host => STRING - * operation => INT8 - * permission_type => INT8 - */ -const decodeAcls = decoder => ({ - principal: decoder.readString(), - host: decoder.readString(), - operation: decoder.readInt8(), - permissionType: decoder.readInt8(), -}) - -const decodeResources = decoder => ({ - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), - resourcePatternType: decoder.readInt8(), - acls: decoder.readArray(decodeAcls), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const errorMessage = decoder.readString() - const resources = decoder.readArray(decodeResources) - - return { - throttleTime: 0, - clientSideThrottleTime: throttleTime, - errorCode, - errorMessage, - resources, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ resources }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js") - return { request: request({ resources }), response } - }, - 1: ({ resources, includeSynonyms }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js") - return { request: request({ resources, includeSynonyms }), response } - }, - 2: ({ resources, includeSynonyms }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js") - return { request: request({ resources, includeSynonyms }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DescribeConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DescribeConfigs Request (Version: 0) => [resources] - * resources => resource_type resource_name [config_names] - * resource_type => INT8 - * resource_name => STRING - * config_names => STRING - */ - -/** - * @param {Array} resources An array of config resources to be returned - */ -module.exports = ({ resources }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DescribeConfigs', - encode: async () => { - return new Encoder().writeArray(resources.map(encodeResource)) - }, -}) - -const encodeResource = ({ type, name, configNames = [] }) => { - return new Encoder() - .writeInt8(type) - .writeString(name) - .writeNullableArray(configNames) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 95:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const ConfigSource = __webpack_require__(/*! ../../../configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") -const ConfigResourceTypes = __webpack_require__(/*! ../../../configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") - -/** - * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources] - * throttle_time_ms => INT32 - * resources => error_code error_message resource_type resource_name [config_entries] - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - * config_entries => config_name config_value read_only is_default is_sensitive - * config_name => STRING - * config_value => NULLABLE_STRING - * read_only => BOOLEAN - * is_default => BOOLEAN - * is_sensitive => BOOLEAN - */ - -const decodeConfigEntries = (decoder, resourceType) => { - const configName = decoder.readString() - const configValue = decoder.readString() - const readOnly = decoder.readBoolean() - const isDefault = decoder.readBoolean() - const isSensitive = decoder.readBoolean() - - /** - * Backporting ConfigSource value to v0 - * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242 - */ - let configSource - if (isDefault) { - configSource = ConfigSource.DEFAULT_CONFIG - } else { - switch (resourceType) { - case ConfigResourceTypes.BROKER: - configSource = ConfigSource.STATIC_BROKER_CONFIG - break - case ConfigResourceTypes.TOPIC: - configSource = ConfigSource.TOPIC_CONFIG - break - default: - configSource = ConfigSource.UNKNOWN - } - } - - return { - configName, - configValue, - readOnly, - isDefault, - configSource, - isSensitive, - } -} - -const decodeResources = decoder => { - const errorCode = decoder.readInt16() - const errorMessage = decoder.readString() - const resourceType = decoder.readInt8() - const resourceName = decoder.readString() - const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType)) - - return { - errorCode, - errorMessage, - resourceType, - resourceName, - configEntries, - } -} - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const resources = decoder.readArray(decodeResources) - - return { - throttleTime, - resources, - } -} - -const parse = async data => { - const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode)) - if (resourcesWithError.length > 0) { - throw createErrorFromCode(resourcesWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DescribeConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DescribeConfigs Request (Version: 1) => [resources] include_synonyms - * resources => resource_type resource_name [config_names] - * resource_type => INT8 - * resource_name => STRING - * config_names => STRING - * include_synonyms => BOOLEAN - */ - -/** - * @param {Array} resources An array of config resources to be returned - * @param [includeSynonyms=false] - */ -module.exports = ({ resources, includeSynonyms = false }) => ({ - apiKey, - apiVersion: 1, - apiName: 'DescribeConfigs', - encode: async () => { - return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms) - }, -}) - -const encodeResource = ({ type, name, configNames = [] }) => { - return new Encoder() - .writeInt8(type) - .writeString(name) - .writeNullableArray(configNames) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 69:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js") -const { DEFAULT_CONFIG } = __webpack_require__(/*! ../../../configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") - -/** - * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources] - * throttle_time_ms => INT32 - * resources => error_code error_message resource_type resource_name [config_entries] - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms] - * config_name => STRING - * config_value => NULLABLE_STRING - * read_only => BOOLEAN - * config_source => INT8 - * is_sensitive => BOOLEAN - * config_synonyms => config_name config_value config_source - * config_name => STRING - * config_value => NULLABLE_STRING - * config_source => INT8 - */ - -const decodeSynonyms = decoder => ({ - configName: decoder.readString(), - configValue: decoder.readString(), - configSource: decoder.readInt8(), -}) - -const decodeConfigEntries = decoder => { - const configName = decoder.readString() - const configValue = decoder.readString() - const readOnly = decoder.readBoolean() - const configSource = decoder.readInt8() - const isSensitive = decoder.readBoolean() - const configSynonyms = decoder.readArray(decodeSynonyms) - - return { - configName, - configValue, - readOnly, - isDefault: configSource === DEFAULT_CONFIG, - configSource, - isSensitive, - configSynonyms, - } -} - -const decodeResources = decoder => ({ - errorCode: decoder.readInt16(), - errorMessage: decoder.readString(), - resourceType: decoder.readInt8(), - resourceName: decoder.readString(), - configEntries: decoder.readArray(decodeConfigEntries), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const resources = decoder.readArray(decodeResources) - - return { - throttleTime, - resources, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js") - -/** - * DescribeConfigs Request (Version: 1) => [resources] include_synonyms - * resources => resource_type resource_name [config_names] - * resource_type => INT8 - * resource_name => STRING - * config_names => STRING - * include_synonyms => BOOLEAN - */ - -/** - * @param {Array} resources An array of config resources to be returned - * @param [includeSynonyms=false] - */ -module.exports = ({ resources, includeSynonyms }) => - Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js") - -/** - * Starting in version 2, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources] - * throttle_time_ms => INT32 - * resources => error_code error_message resource_type resource_name [config_entries] - * error_code => INT16 - * error_message => NULLABLE_STRING - * resource_type => INT8 - * resource_name => STRING - * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms] - * config_name => STRING - * config_value => NULLABLE_STRING - * read_only => BOOLEAN - * config_source => INT8 - * is_sensitive => BOOLEAN - * config_synonyms => config_name config_value config_source - * config_name => STRING - * config_value => NULLABLE_STRING - * config_source => INT8 - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ groupIds }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js") - return { request: request({ groupIds }), response } - }, - 1: ({ groupIds }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js") - return { request: request({ groupIds }), response } - }, - 2: ({ groupIds }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js") - return { request: request({ groupIds }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { DescribeGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * DescribeGroups Request (Version: 0) => [group_ids] - * group_ids => STRING - */ - -/** - * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata) - */ -module.exports = ({ groupIds }) => ({ - apiKey, - apiVersion: 0, - apiName: 'DescribeGroups', - encode: async () => { - return new Encoder().writeArray(groupIds) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * DescribeGroups Response (Version: 0) => [groups] - * groups => error_code group_id state protocol_type protocol [members] - * error_code => INT16 - * group_id => STRING - * state => STRING - * protocol_type => STRING - * protocol => STRING - * members => member_id client_id client_host member_metadata member_assignment - * member_id => STRING - * client_id => STRING - * client_host => STRING - * member_metadata => BYTES - * member_assignment => BYTES - */ - -const decoderMember = decoder => ({ - memberId: decoder.readString(), - clientId: decoder.readString(), - clientHost: decoder.readString(), - memberMetadata: decoder.readBytes(), - memberAssignment: decoder.readBytes(), -}) - -const decodeGroup = decoder => ({ - errorCode: decoder.readInt16(), - groupId: decoder.readString(), - state: decoder.readString(), - protocolType: decoder.readString(), - protocol: decoder.readString(), - members: decoder.readArray(decoderMember), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const groups = decoder.readArray(decodeGroup) - - return { - groups, - } -} - -const parse = async data => { - const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode)) - if (groupsWithError.length > 0) { - throw createErrorFromCode(groupsWithError[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js") - -/** - * DescribeGroups Request (Version: 1) => [group_ids] - * group_ids => STRING - */ - -module.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js") - -/** - * DescribeGroups Response (Version: 1) => throttle_time_ms [groups] - * throttle_time_ms => INT32 - * groups => error_code group_id state protocol_type protocol [members] - * error_code => INT16 - * group_id => STRING - * state => STRING - * protocol_type => STRING - * protocol => STRING - * members => member_id client_id client_host member_metadata member_assignment - * member_id => STRING - * client_id => STRING - * client_host => STRING - * member_metadata => BYTES - * member_assignment => BYTES - */ - -const decoderMember = decoder => ({ - memberId: decoder.readString(), - clientId: decoder.readString(), - clientHost: decoder.readString(), - memberMetadata: decoder.readBytes(), - memberAssignment: decoder.readBytes(), -}) - -const decodeGroup = decoder => ({ - errorCode: decoder.readInt16(), - groupId: decoder.readString(), - state: decoder.readString(), - protocolType: decoder.readString(), - protocol: decoder.readString(), - members: decoder.readArray(decoderMember), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const groups = decoder.readArray(decodeGroup) - - return { - throttleTime, - groups, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js") - -/** - * DescribeGroups Request (Version: 2) => [group_ids] - * group_ids => STRING - */ - -module.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js") - -/** - * Starting in version 2, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * DescribeGroups Response (Version: 2) => throttle_time_ms [groups] - * throttle_time_ms => INT32 - * groups => error_code group_id state protocol_type protocol [members] - * error_code => INT16 - * group_id => STRING - * state => STRING - * protocol_type => STRING - * protocol => STRING - * members => member_id client_id client_host member_metadata member_assignment - * member_id => STRING - * client_id => STRING - * client_host => STRING - * member_metadata => BYTES - * member_assignment => BYTES - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/index.js": -/*!********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/index.js ***! - \********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js") - return { - request: request({ transactionalId, producerId, producerEpoch, transactionResult }), - response, - } - }, - 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js") - return { - request: request({ transactionalId, producerId, producerEpoch, transactionResult }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { EndTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * transaction_result => BOOLEAN - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({ - apiKey, - apiVersion: 0, - apiName: 'EndTxn', - encode: async () => { - return new Encoder() - .writeString(transactionalId) - .writeInt64(producerId) - .writeInt16(producerEpoch) - .writeBoolean(transactionResult) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * EndTxn Response (Version: 0) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime, - errorCode, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js") - -/** - * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result - * transactional_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * transaction_result => BOOLEAN - */ - -module.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => - Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), { - apiVersion: 1, - }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * EndTxn Response (Version: 1) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/index.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 248:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ISOLATION_LEVEL = __webpack_require__(/*! ../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -// For normal consumers, use -1 -const REPLICA_ID = -1 -const NETWORK_DELAY = 100 - -/** - * The FETCH request can block up to maxWaitTime, which can be bigger than the configured - * request timeout. It's safer to always use the maxWaitTime - **/ -const requestTimeout = timeout => - Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout - -const versions = { - 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js") - return { - request: request({ replicaId, maxWaitTime, minBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") - return { - request: request({ replicaId, maxWaitTime, minBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js") - return { - request: request({ replicaId, maxWaitTime, minBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js") - return { - request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 4: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js") - return { - request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 5: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js") - const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js") - return { - request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 6: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js") - const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js") - return { - request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 7: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v7/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js") - const response = __webpack_require__(/*! ./v7/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js") - return { - request: request({ - replicaId, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - maxWaitTime, - minBytes, - maxBytes, - topics, - }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 8: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v8/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js") - const response = __webpack_require__(/*! ./v8/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js") - return { - request: request({ - replicaId, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - maxWaitTime, - minBytes, - maxBytes, - topics, - }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 9: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v9/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js") - const response = __webpack_require__(/*! ./v9/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js") - return { - request: request({ - replicaId, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - maxWaitTime, - minBytes, - maxBytes, - topics, - }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 10: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], - maxWaitTime, - minBytes, - maxBytes, - topics, - }) => { - const request = __webpack_require__(/*! ./v10/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js") - const response = __webpack_require__(/*! ./v10/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js") - return { - request: request({ - replicaId, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - maxWaitTime, - minBytes, - maxBytes, - topics, - }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, - 11: ({ - replicaId = REPLICA_ID, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], - maxWaitTime, - minBytes, - maxBytes, - topics, - rackId, - }) => { - const request = __webpack_require__(/*! ./v11/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js") - const response = __webpack_require__(/*! ./v11/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js") - return { - request: request({ - replicaId, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - maxWaitTime, - minBytes, - maxBytes, - topics, - rackId, - }), - response, - requestTimeout: requestTimeout(maxWaitTime), - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset max_bytes - * partition => INT32 - * fetch_offset => INT64 - * max_bytes => INT32 - */ - -/** - * @param {number} replicaId Broker id of the follower - * @param {number} maxWaitTime Maximum time in ms to wait for the response - * @param {number} minBytes Minimum bytes to accumulate in the response. - * @param {Array} topics Topics to fetch - * [ - * { - * topic: 'topic-name', - * partitions: [ - * { - * partition: 0, - * fetchOffset: '4124', - * maxBytes: 2048 - * } - * ] - * } - * ] - */ -module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, fetchOffset, maxBytes }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(fetchOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { KafkaJSOffsetOutOfRange } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") -const { failure, createErrorFromCode, errorCodes } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") - -/** - * Fetch Response (Version: 0) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * record_set => RECORDS - */ - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - messages: await MessageSetDecoder(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const responses = await decoder.readArrayAsync(decodeResponse) - - return { - responses, - } -} - -const { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find( - e => e.type === 'OFFSET_OUT_OF_RANGE' -) - -const parse = async data => { - const partitionsWithError = data.responses.map(({ topicName, partitions }) => { - return partitions - .filter(partition => failure(partition.errorCode)) - .map(partition => Object.assign({}, partition, { topic: topicName })) - }) - - const errors = flatten(partitionsWithError) - if (errors.length > 0) { - const { errorCode, topic, partition } = errors[0] - if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) { - throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition }) - } - - throw createErrorFromCode(errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") - -module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => { - return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js") -const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") - -/** - * Fetch Response (Version: 1) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * record_set => RECORDS - */ - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - messages: await MessageSetDecoder(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - return { - throttleTime, - responses, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") -const requestV9 = __webpack_require__(/*! ../v9/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js") - -/** - * ZStd Compression - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression - */ - -/** - * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * session_id => INT32 - * session_epoch => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * current_leader_epoch => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - * forgotten_topics_data => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], // Topics to remove from the fetch session -}) => - Object.assign( - requestV9({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - }), - { apiVersion: 10 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v9/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js") - -/** - * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses] - * throttle_time_ms => INT32 - * error_code => INT16 - * session_id => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -/** - * Allow consumers to fetch from closest replica - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica - */ - -/** - * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * session_id => INT32 - * session_epoch => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * current_leader_epoch => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - * forgotten_topics_data => topic [partitions] - * topic => STRING - * partitions => INT32 - * rack_id => STRING - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - rackId = '', - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], // Topics to remove from the fetch session -}) => ({ - apiKey, - apiVersion: 11, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeInt8(isolationLevel) - .writeInt32(sessionId) - .writeInt32(sessionEpoch) - .writeArray(topics.map(encodeTopic)) - .writeArray(forgottenTopics.map(encodeForgottenTopics)) - .writeString(rackId) - }, -}) - -const encodeForgottenTopics = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions) -} - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ - partition, - currentLeaderEpoch = -1, - fetchOffset, - logStartOffset = -1, - maxBytes, -}) => { - return new Encoder() - .writeInt32(partition) - .writeInt32(currentLeaderEpoch) - .writeInt64(fetchOffset) - .writeInt64(logStartOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 66:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") -const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") - -/** - * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses] - * throttle_time_ms => INT32 - * error_code => INT16 - * session_id => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * preferred_read_replica => INT32 - * record_set => RECORDS - */ - -const decodeAbortedTransactions = decoder => ({ - producerId: decoder.readInt64().toString(), - firstOffset: decoder.readInt64().toString(), -}) - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - lastStableOffset: decoder.readInt64().toString(), - lastStartOffset: decoder.readInt64().toString(), - abortedTransactions: decoder.readArray(decodeAbortedTransactions), - preferredReadReplica: decoder.readInt32(), - messages: await decodeMessages(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const clientSideThrottleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const sessionId = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - // Report a `throttleTime` of 0: The broker will not have throttled - // this request, but if the `clientSideThrottleTime` is >0 then it - // expects us to do that -- and it will ignore requests. - return { - throttleTime: 0, - clientSideThrottleTime, - errorCode, - sessionId, - responses, - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") - -module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => { - return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") - -/** - * Fetch Response (Version: 2) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * record_set => RECORDS - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset max_bytes - * partition => INT32 - * fetch_offset => INT64 - * max_bytes => INT32 - */ - -/** - * @param {number} replicaId Broker id of the follower - * @param {number} maxWaitTime Maximum time in ms to wait for the response - * @param {number} minBytes Minimum bytes to accumulate in the response. - * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum, - * if the first message in the first non-empty partition of the fetch is larger than this value, - * the message will still be returned to ensure that progress can be made. - * @param {Array} topics Topics to fetch - * [ - * { - * topic: 'topic-name', - * partitions: [ - * { - * partition: 0, - * fetchOffset: '4124', - * maxBytes: 2048 - * } - * ] - * } - * ] - */ -module.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({ - apiKey, - apiVersion: 3, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, fetchOffset, maxBytes }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(fetchOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") - -/** - * Fetch Response (Version: 3) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * record_set => RECORDS - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") -const RecordBatchDecoder = __webpack_require__(/*! ../../../recordBatch/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js") -const { MAGIC_BYTE } = __webpack_require__(/*! ../../../recordBatch/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js") - -// the magic offset is at the same offset for all current message formats, but the 4 bytes -// between the size and the magic is dependent on the version. -const MAGIC_OFFSET = 16 -const RECORD_BATCH_OVERHEAD = 49 - -const decodeMessages = async decoder => { - const messagesSize = decoder.readInt32() - - if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) { - return [] - } - - const messagesBuffer = decoder.readBytes(messagesSize) - const messagesDecoder = new Decoder(messagesBuffer) - const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0) - - if (magicByte === MAGIC_BYTE) { - const records = [] - - while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) { - try { - const recordBatch = await RecordBatchDecoder(messagesDecoder) - records.push(...recordBatch.records) - } catch (e) { - // The tail of the record batches can have incomplete records - // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI - if (e.name === 'KafkaJSPartialMessageError') { - break - } - - throw e - } - } - - return records - } - - return MessageSetDecoder(messagesDecoder, messagesSize) -} - -module.exports = decodeMessages - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -/** - * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset max_bytes - * partition => INT32 - * fetch_offset => INT64 - * max_bytes => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, -}) => ({ - apiKey, - apiVersion: 4, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeInt8(isolationLevel) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, fetchOffset, maxBytes }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(fetchOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 52:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") -const decodeMessages = __webpack_require__(/*! ./decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") - -/** - * Fetch Response (Version: 4) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -const decodeAbortedTransactions = decoder => ({ - producerId: decoder.readInt64().toString(), - firstOffset: decoder.readInt64().toString(), -}) - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - lastStableOffset: decoder.readInt64().toString(), - abortedTransactions: decoder.readArray(decodeAbortedTransactions), - messages: await decodeMessages(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - return { - throttleTime, - responses, - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -/** - * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, -}) => ({ - apiKey, - apiVersion: 5, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeInt8(isolationLevel) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(fetchOffset) - .writeInt64(logStartOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 54:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") -const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") - -/** - * Fetch Response (Version: 5) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -const decodeAbortedTransactions = decoder => ({ - producerId: decoder.readInt64().toString(), - firstOffset: decoder.readInt64().toString(), -}) - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - lastStableOffset: decoder.readInt64().toString(), - lastStartOffset: decoder.readInt64().toString(), - abortedTransactions: decoder.readArray(decodeAbortedTransactions), - messages: await decodeMessages(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - return { - throttleTime, - responses, - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") -const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js") - -/** - * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, -}) => - Object.assign( - requestV5({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel, - }), - { apiVersion: 6 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js") - -/** - * Fetch Response (Version: 6) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -/** - * Sessions are only used by followers - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability - */ - -/** - * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * session_id => INT32 - * session_epoch => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - * forgotten_topics_data => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], // Topics to remove from the fetch session -}) => ({ - apiKey, - apiVersion: 7, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeInt8(isolationLevel) - .writeInt32(sessionId) - .writeInt32(sessionEpoch) - .writeArray(topics.map(encodeTopic)) - .writeArray(forgottenTopics.map(encodeForgottenTopics)) - }, -}) - -const encodeForgottenTopics = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions) -} - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(fetchOffset) - .writeInt64(logStartOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 60:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") -const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") - -/** - * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses] - * throttle_time_ms => INT32 - * error_code => INT16 - * session_id => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -const decodeAbortedTransactions = decoder => ({ - producerId: decoder.readInt64().toString(), - firstOffset: decoder.readInt64().toString(), -}) - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - lastStableOffset: decoder.readInt64().toString(), - lastStartOffset: decoder.readInt64().toString(), - abortedTransactions: decoder.readArray(decodeAbortedTransactions), - messages: await decodeMessages(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const sessionId = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - return { - throttleTime, - errorCode, - sessionId, - responses, - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") -const requestV7 = __webpack_require__(/*! ../v7/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js") - -/** - * Quota violation brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - */ - -/** - * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * session_id => INT32 - * session_epoch => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - * forgotten_topics_data => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], // Topics to remove from the fetch session -}) => - Object.assign( - requestV7({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel, - sessionId, - sessionEpoch, - forgottenTopics, - }), - { apiVersion: 8 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") -const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") - -/** - * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses] - * throttle_time_ms => INT32 - * error_code => INT16 - * session_id => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -const decodeAbortedTransactions = decoder => ({ - producerId: decoder.readInt64().toString(), - firstOffset: decoder.readInt64().toString(), -}) - -const decodePartition = async decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - highWatermark: decoder.readInt64().toString(), - lastStableOffset: decoder.readInt64().toString(), - lastStartOffset: decoder.readInt64().toString(), - abortedTransactions: decoder.readArray(decodeAbortedTransactions), - messages: await decodeMessages(decoder), -}) - -const decodeResponse = async decoder => ({ - topicName: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const clientSideThrottleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const sessionId = decoder.readInt32() - const responses = await decoder.readArrayAsync(decodeResponse) - - // Report a `throttleTime` of 0: The broker will not have throttled - // this request, but if the `clientSideThrottleTime` is >0 then it - // expects us to do that -- and it will ignore requests. - return { - throttleTime: 0, - clientSideThrottleTime, - errorCode, - sessionId, - responses, - } -} - -module.exports = { - decode, - parse: parseV1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -/** - * Allow fetchers to detect and handle log truncation - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation - */ - -/** - * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] - * replica_id => INT32 - * max_wait_time => INT32 - * min_bytes => INT32 - * max_bytes => INT32 - * isolation_level => INT8 - * session_id => INT32 - * session_epoch => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes - * partition => INT32 - * current_leader_epoch => INT32 - * fetch_offset => INT64 - * log_start_offset => INT64 - * partition_max_bytes => INT32 - * forgotten_topics_data => topic [partitions] - * topic => STRING - * partitions => INT32 - */ - -module.exports = ({ - replicaId, - maxWaitTime, - minBytes, - maxBytes, - topics, - isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, - sessionId = 0, - sessionEpoch = -1, - forgottenTopics = [], // Topics to remove from the fetch session -}) => ({ - apiKey, - apiVersion: 9, - apiName: 'Fetch', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt32(maxWaitTime) - .writeInt32(minBytes) - .writeInt32(maxBytes) - .writeInt8(isolationLevel) - .writeInt32(sessionId) - .writeInt32(sessionEpoch) - .writeArray(topics.map(encodeTopic)) - .writeArray(forgottenTopics.map(encodeForgottenTopics)) - }, -}) - -const encodeForgottenTopics = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions) -} - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ - partition, - currentLeaderEpoch = -1, - fetchOffset, - logStartOffset = -1, - maxBytes, -}) => { - return new Encoder() - .writeInt32(partition) - .writeInt32(currentLeaderEpoch) - .writeInt64(fetchOffset) - .writeInt64(logStartOffset) - .writeInt32(maxBytes) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v8/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js") - -/** - * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses] - * throttle_time_ms => INT32 - * error_code => INT16 - * session_id => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition_header record_set - * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] - * partition => INT32 - * error_code => INT16 - * high_watermark => INT64 - * last_stable_offset => INT64 - * log_start_offset => INT64 - * aborted_transactions => producer_id first_offset - * producer_id => INT64 - * first_offset => INT64 - * record_set => RECORDS - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const COORDINATOR_TYPES = __webpack_require__(/*! ../../coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") - -const versions = { - 0: ({ groupId }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js") - return { request: request({ groupId }), response } - }, - 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js") - return { request: request({ coordinatorKey: groupId, coordinatorType }), response } - }, - 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js") - return { request: request({ coordinatorKey: groupId, coordinatorType }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { GroupCoordinator: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * FindCoordinator Request (Version: 0) => group_id - * group_id => STRING - */ - -module.exports = ({ groupId }) => ({ - apiKey, - apiVersion: 0, - apiName: 'GroupCoordinator', - encode: async () => { - return new Encoder().writeString(groupId) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * FindCoordinator Response (Version: 0) => error_code coordinator - * error_code => INT16 - * coordinator => node_id host port - * node_id => INT32 - * host => STRING - * port => INT32 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - const coordinator = { - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - } - - return { - errorCode, - coordinator, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { GroupCoordinator: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type - * coordinator_key => STRING - * coordinator_type => INT8 - */ - -module.exports = ({ coordinatorKey, coordinatorType }) => ({ - apiKey, - apiVersion: 1, - apiName: 'GroupCoordinator', - encode: async () => { - return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 45:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator - * throttle_time_ms => INT32 - * error_code => INT16 - * error_message => NULLABLE_STRING - * coordinator => node_id host port - * node_id => INT32 - * host => STRING - * port => INT32 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - const errorMessage = decoder.readString() - const coordinator = { - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - } - - return { - throttleTime, - errorCode, - errorMessage, - coordinator, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js") - -/** - * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type - * coordinator_key => STRING - * coordinator_type => INT8 - */ - -module.exports = ({ coordinatorKey, coordinatorType }) => - Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js") - -/** - * Starting in version 2, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator - * throttle_time_ms => INT32 - * error_code => INT16 - * error_message => NULLABLE_STRING - * coordinator => node_id host port - * node_id => INT32 - * host => STRING - * port => INT32 - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ groupId, groupGenerationId, memberId }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js") - return { - request: request({ groupId, groupGenerationId, memberId }), - response, - } - }, - 1: ({ groupId, groupGenerationId, memberId }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js") - return { - request: request({ groupId, groupGenerationId, memberId }), - response, - } - }, - 2: ({ groupId, groupGenerationId, memberId }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js") - return { - request: request({ groupId, groupGenerationId, memberId }), - response, - } - }, - 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js") - return { - request: request({ groupId, groupGenerationId, memberId, groupInstanceId }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Heartbeat: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Heartbeat Request (Version: 0) => group_id group_generation_id member_id - * group_id => STRING - * group_generation_id => INT32 - * member_id => STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId }) => ({ - apiKey, - apiVersion: 0, - apiName: 'Heartbeat', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(groupGenerationId) - .writeString(memberId) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * Heartbeat Response (Version: 0) => error_code - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { errorCode } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js") - -/** - * Heartbeat Request (Version: 1) => group_id generation_id member_id - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId }) => - Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js") - -/** - * Heartbeat Response (Version: 1) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { throttleTime, errorCode } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js") - -/** - * Heartbeat Request (Version: 2) => group_id generation_id member_id - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId }) => - Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js") - -/** - * In version 2 on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * Heartbeat Response (Version: 2) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Heartbeat: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Version 3 adds group_instance_id to indicate member identity across restarts. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances - * - * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * group_instance_id => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({ - apiKey, - apiVersion: 3, - apiName: 'Heartbeat', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(groupGenerationId) - .writeString(memberId) - .writeString(groupInstanceId) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js") - -/** - * Heartbeat Response (Version: 3) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/index.js": -/*!*************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/index.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 99:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const apiKeys = __webpack_require__(/*! ./apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") - -/** - * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request - */ - -/** - * @typedef {Object} RequestDefinitions - * @property {string[]} versions - * @property {({ version: number }) => Request} protocol - */ - -/** - * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup - */ - -/** @type {RequestDefinitions} */ -const noImplementedRequestDefinitions = { - versions: [], - protocol: () => { - throw new KafkaJSNotImplemented() - }, -} - -/** - * @type {{[apiName: string]: RequestDefinitions}} - */ -const requests = { - Produce: __webpack_require__(/*! ./produce */ "./node_modules/kafkajs/src/protocol/requests/produce/index.js"), - Fetch: __webpack_require__(/*! ./fetch */ "./node_modules/kafkajs/src/protocol/requests/fetch/index.js"), - ListOffsets: __webpack_require__(/*! ./listOffsets */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js"), - Metadata: __webpack_require__(/*! ./metadata */ "./node_modules/kafkajs/src/protocol/requests/metadata/index.js"), - LeaderAndIsr: noImplementedRequestDefinitions, - StopReplica: noImplementedRequestDefinitions, - UpdateMetadata: noImplementedRequestDefinitions, - ControlledShutdown: noImplementedRequestDefinitions, - OffsetCommit: __webpack_require__(/*! ./offsetCommit */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js"), - OffsetFetch: __webpack_require__(/*! ./offsetFetch */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js"), - GroupCoordinator: __webpack_require__(/*! ./findCoordinator */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js"), - JoinGroup: __webpack_require__(/*! ./joinGroup */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js"), - Heartbeat: __webpack_require__(/*! ./heartbeat */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js"), - LeaveGroup: __webpack_require__(/*! ./leaveGroup */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js"), - SyncGroup: __webpack_require__(/*! ./syncGroup */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js"), - DescribeGroups: __webpack_require__(/*! ./describeGroups */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js"), - ListGroups: __webpack_require__(/*! ./listGroups */ "./node_modules/kafkajs/src/protocol/requests/listGroups/index.js"), - SaslHandshake: __webpack_require__(/*! ./saslHandshake */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js"), - ApiVersions: __webpack_require__(/*! ./apiVersions */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js"), - CreateTopics: __webpack_require__(/*! ./createTopics */ "./node_modules/kafkajs/src/protocol/requests/createTopics/index.js"), - DeleteTopics: __webpack_require__(/*! ./deleteTopics */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js"), - DeleteRecords: __webpack_require__(/*! ./deleteRecords */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js"), - InitProducerId: __webpack_require__(/*! ./initProducerId */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js"), - OffsetForLeaderEpoch: noImplementedRequestDefinitions, - AddPartitionsToTxn: __webpack_require__(/*! ./addPartitionsToTxn */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js"), - AddOffsetsToTxn: __webpack_require__(/*! ./addOffsetsToTxn */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js"), - EndTxn: __webpack_require__(/*! ./endTxn */ "./node_modules/kafkajs/src/protocol/requests/endTxn/index.js"), - WriteTxnMarkers: noImplementedRequestDefinitions, - TxnOffsetCommit: __webpack_require__(/*! ./txnOffsetCommit */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js"), - DescribeAcls: __webpack_require__(/*! ./describeAcls */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js"), - CreateAcls: __webpack_require__(/*! ./createAcls */ "./node_modules/kafkajs/src/protocol/requests/createAcls/index.js"), - DeleteAcls: __webpack_require__(/*! ./deleteAcls */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js"), - DescribeConfigs: __webpack_require__(/*! ./describeConfigs */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js"), - AlterConfigs: __webpack_require__(/*! ./alterConfigs */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js"), - AlterReplicaLogDirs: noImplementedRequestDefinitions, - DescribeLogDirs: noImplementedRequestDefinitions, - SaslAuthenticate: __webpack_require__(/*! ./saslAuthenticate */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js"), - CreatePartitions: __webpack_require__(/*! ./createPartitions */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js"), - CreateDelegationToken: noImplementedRequestDefinitions, - RenewDelegationToken: noImplementedRequestDefinitions, - ExpireDelegationToken: noImplementedRequestDefinitions, - DescribeDelegationToken: noImplementedRequestDefinitions, - DeleteGroups: __webpack_require__(/*! ./deleteGroups */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js"), -} - -const names = Object.keys(apiKeys) -const keys = Object.values(apiKeys) -const findApiName = apiKey => names[keys.indexOf(apiKey)] - -/** - * @param {import("../../../types").ApiVersions} versions - * @returns {Lookup} - */ -const lookup = versions => (apiKey, definition) => { - const version = versions[apiKey] - const availableVersions = definition.versions.map(Number) - const bestImplementedVersion = Math.max(...availableVersions) - - if (!version || version.maxVersion == null) { - throw new KafkaJSServerDoesNotSupportApiKey( - `The Kafka server does not support the requested API version`, - { apiKey, apiName: findApiName(apiKey) } - ) - } - - const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion) - return definition.protocol({ version: bestSupportedVersion }) -} - -module.exports = { - requests, - lookup, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ transactionalId, transactionTimeout = 5000 }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js") - return { request: request({ transactionalId, transactionTimeout }), response } - }, - 1: ({ transactionalId, transactionTimeout = 5000 }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js") - return { request: request({ transactionalId, transactionTimeout }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { InitProducerId: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms - * transactional_id => NULLABLE_STRING - * transaction_timeout_ms => INT32 - */ - -module.exports = ({ transactionalId, transactionTimeout }) => ({ - apiKey, - apiVersion: 0, - apiName: 'InitProducerId', - encode: async () => { - return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch - * throttle_time_ms => INT32 - * error_code => INT16 - * producer_id => INT64 - * producer_epoch => INT16 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime, - errorCode, - producerId: decoder.readInt64().toString(), - producerEpoch: decoder.readInt16(), - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js") - -/** - * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms - * transactional_id => NULLABLE_STRING - * transaction_timeout_ms => INT32 - */ - -module.exports = ({ transactionalId, transactionTimeout }) => - Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js") - -/** - * Starting in version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch - * throttle_time_ms => INT32 - * error_code => INT16 - * producer_id => INT64 - * producer_epoch => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV0(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 132:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const NETWORK_DELAY = 5000 - -/** - * @see https://github.com/apache/kafka/pull/5203 - * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1), - * so we should override the requestTimeout to be a bit more than the sessionTimeout - * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when - * increased, so we have to check for potential overflows - **/ -const requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => { - const timeout = rebalanceTimeout || sessionTimeout - return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout -} - -const logResponseError = memberId => memberId != null && memberId !== '' - -const versions = { - 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - memberId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }), - } - }, - 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), - } - }, - 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), - } - }, - 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), - } - }, - 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), - logResponseError: logResponseError(memberId), - } - }, - 5: ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - groupInstanceId, - protocolType, - groupProtocols, - }) => { - const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js") - const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js") - - return { - request: request({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - groupInstanceId, - protocolType, - groupProtocols, - }), - response, - requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), - logResponseError: logResponseError(memberId), - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * member_id => STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({ - apiKey, - apiVersion: 0, - apiName: 'JoinGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(sessionTimeout) - .writeString(memberId) - .writeString(protocolType) - .writeArray(groupProtocols.map(encodeGroupProtocols)) - }, -}) - -const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { - return new Encoder().writeString(name).writeBytes(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members] - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id member_metadata - * member_id => STRING - * member_metadata => BYTES - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - errorCode, - generationId: decoder.readInt32(), - groupProtocol: decoder.readString(), - leaderId: decoder.readString(), - memberId: decoder.readString(), - members: decoder.readArray(decoder => ({ - memberId: decoder.readString(), - memberMetadata: decoder.readBytes(), - })), - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * rebalance_timeout => INT32 - * member_id => STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, -}) => ({ - apiKey, - apiVersion: 1, - apiName: 'JoinGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(sessionTimeout) - .writeInt32(rebalanceTimeout) - .writeString(memberId) - .writeString(protocolType) - .writeArray(groupProtocols.map(encodeGroupProtocols)) - }, -}) - -const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { - return new Encoder().writeString(name).writeBytes(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") - -/** - * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members] - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id member_metadata - * member_id => STRING - * member_metadata => BYTES - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js") - -/** - * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * rebalance_timeout => INT32 - * member_id => STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, -}) => - Object.assign( - requestV1({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - { apiVersion: 2 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") - -/** - * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] - * throttle_time_ms => INT32 - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id member_metadata - * member_id => STRING - * member_metadata => BYTES - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime, - errorCode, - generationId: decoder.readInt32(), - groupProtocol: decoder.readString(), - leaderId: decoder.readString(), - memberId: decoder.readString(), - members: decoder.readArray(decoder => ({ - memberId: decoder.readString(), - memberMetadata: decoder.readBytes(), - })), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js") - -/** - * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * rebalance_timeout => INT32 - * member_id => STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, -}) => - Object.assign( - requestV2({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - { apiVersion: 3 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js") - -/** - * Starting in version 3, on quota violation, brokers send out responses - * before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] - * throttle_time_ms => INT32 - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id member_metadata - * member_id => STRING - * member_metadata => BYTES - */ -const decode = async rawData => { - const decoded = await decodeV2(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js") - -/** - * Starting in version 4, the client needs to issue a second request to join group - * with assigned id. - * - * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * rebalance_timeout => INT32 - * member_id => STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, -}) => - Object.assign( - requestV3({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - protocolType, - groupProtocols, - }), - { apiVersion: 4 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js") -const { KafkaJSMemberIdRequired } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") -const { failure, createErrorFromCode, errorCodes } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] - * throttle_time_ms => INT32 - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id member_metadata - * member_id => STRING - * member_metadata => BYTES - */ - -const { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find( - e => e.type === 'MEMBER_ID_REQUIRED' -) - -const parse = async data => { - if (failure(data.errorCode)) { - if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) { - throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), { - memberId: data.memberId, - }) - } - - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Version 5 adds group_instance_id to identify members across restarts. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances - * - * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols] - * group_id => STRING - * session_timeout => INT32 - * rebalance_timeout => INT32 - * member_id => STRING - * group_instance_id => NULLABLE_STRING - * protocol_type => STRING - * group_protocols => protocol_name protocol_metadata - * protocol_name => STRING - * protocol_metadata => BYTES - */ - -module.exports = ({ - groupId, - sessionTimeout, - rebalanceTimeout, - memberId, - groupInstanceId = null, - protocolType, - groupProtocols, -}) => ({ - apiKey, - apiVersion: 5, - apiName: 'JoinGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(sessionTimeout) - .writeInt32(rebalanceTimeout) - .writeString(memberId) - .writeString(groupInstanceId) - .writeString(protocolType) - .writeArray(groupProtocols.map(encodeGroupProtocols)) - }, -}) - -const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { - return new Encoder().writeString(name).writeBytes(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { KafkaJSMemberIdRequired } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") -const { - failure, - createErrorFromCode, - errorCodes, - failIfVersionNotSupported, -} = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] - * throttle_time_ms => INT32 - * error_code => INT16 - * generation_id => INT32 - * group_protocol => STRING - * leader_id => STRING - * member_id => STRING - * members => member_id group_instance_id metadata - * member_id => STRING - * group_instance_id => NULLABLE_STRING - * member_metadata => BYTES - */ -const { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find( - e => e.type === 'MEMBER_ID_REQUIRED' -) - -const parse = async data => { - if (failure(data.errorCode)) { - if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) { - throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), { - memberId: data.memberId, - }) - } - - throw createErrorFromCode(data.errorCode) - } - - return data -} - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime: 0, - clientSideThrottleTime: throttleTime, - errorCode, - generationId: decoder.readInt32(), - groupProtocol: decoder.readString(), - leaderId: decoder.readString(), - memberId: decoder.readString(), - members: decoder.readArray(decoder => ({ - memberId: decoder.readString(), - groupInstanceId: decoder.readString(), - memberMetadata: decoder.readBytes(), - })), - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ groupId, memberId }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js") - return { - request: request({ groupId, memberId }), - response, - } - }, - 1: ({ groupId, memberId }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js") - return { - request: request({ groupId, memberId }), - response, - } - }, - 2: ({ groupId, memberId }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js") - return { - request: request({ groupId, memberId }), - response, - } - }, - 3: ({ groupId, memberId, groupInstanceId }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js") - return { - request: request({ groupId, members: [{ memberId, groupInstanceId }] }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { LeaveGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * LeaveGroup Request (Version: 0) => group_id member_id - * group_id => STRING - * member_id => STRING - */ - -module.exports = ({ groupId, memberId }) => ({ - apiKey, - apiVersion: 0, - apiName: 'LeaveGroup', - encode: async () => { - return new Encoder().writeString(groupId).writeString(memberId) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * LeaveGroup Response (Version: 0) => error_code - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { errorCode } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js") - -/** - * LeaveGroup Request (Version: 1) => group_id member_id - * group_id => STRING - * member_id => STRING - */ - -module.exports = ({ groupId, memberId }) => - Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js") - -/** - * LeaveGroup Response (Version: 1) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { throttleTime, errorCode } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js") - -/** - * LeaveGroup Request (Version: 2) => group_id member_id - * group_id => STRING - * member_id => STRING - */ - -module.exports = ({ groupId, memberId }) => - Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js") - -/** - * In version 2 on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * LeaveGroup Response (Version: 2) => throttle_time_ms error_code - * throttle_time_ms => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { LeaveGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Version 3 changes leavegroup to operate on a batch of members - * and adds group_instance_id to identify members across restarts. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances - * - * LeaveGroup Request (Version: 3) => group_id [members] - * group_id => STRING - * members => member_id group_instance_id - * member_id => STRING - * group_instance_id => NULLABLE_STRING - */ - -module.exports = ({ groupId, members }) => ({ - apiKey, - apiVersion: 3, - apiName: 'LeaveGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeArray(members.map(member => encodeMember(member))) - }, -}) - -const encodeMember = ({ memberId, groupInstanceId = null }) => { - return new Encoder().writeString(memberId).writeString(groupInstanceId) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported, failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js") - -/** - * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members] - * throttle_time_ms => INT32 - * error_code => INT16 - * members => member_id group_instance_id error_code - * member_id => STRING - * group_instance_id => NULLABLE_STRING - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const members = decoder.readArray(decodeMembers) - - failIfVersionNotSupported(errorCode) - - return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members } -} - -const decodeMembers = decoder => ({ - memberId: decoder.readString(), - groupInstanceId: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - const parsed = parseV2(data) - - const memberWithError = data.members.find(member => failure(member.errorCode)) - if (memberWithError) { - throw createErrorFromCode(memberWithError.errorCode) - } - - return parsed -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/index.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: () => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js") - return { request: request(), response } - }, - 1: () => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js") - return { request: request(), response } - }, - 2: () => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js") - return { request: request(), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { ListGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * ListGroups Request (Version: 0) - */ - -/** - */ -module.exports = () => ({ - apiKey, - apiVersion: 0, - apiName: 'ListGroups', - encode: async () => { - return new Encoder() - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * ListGroups Response (Version: 0) => error_code [groups] - * error_code => INT16 - * groups => group_id protocol_type - * group_id => STRING - * protocol_type => STRING - */ - -const decodeGroup = decoder => ({ - groupId: decoder.readString(), - protocolType: decoder.readString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - const groups = decoder.readArray(decodeGroup) - - return { - errorCode, - groups, - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decodeGroup, - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js") - -/** - * ListGroups Request (Version: 1) - */ - -module.exports = () => Object.assign(requestV0(), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const responseV0 = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js") - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - -/** - * ListGroups Response (Version: 1) => error_code [groups] - * throttle_time_ms => INT32 - * error_code => INT16 - * groups => group_id protocol_type - * group_id => STRING - * protocol_type => STRING - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - const groups = decoder.readArray(responseV0.decodeGroup) - - return { - throttleTime, - errorCode, - groups, - } -} - -module.exports = { - decode, - parse: responseV0.parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js") - -/** - * ListGroups Request (Version: 2) - */ - -module.exports = () => Object.assign(requestV1(), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js") - -/** - * In version 2 on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * ListGroups Response (Version: 2) => error_code [groups] - * throttle_time_ms => INT32 - * error_code => INT16 - * groups => group_id protocol_type - * group_id => STRING - * protocol_type => STRING - */ -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ISOLATION_LEVEL = __webpack_require__(/*! ../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - -// For normal consumers, use -1 -const REPLICA_ID = -1 - -const versions = { - 0: ({ replicaId = REPLICA_ID, topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js") - return { request: request({ replicaId, topics }), response } - }, - 1: ({ replicaId = REPLICA_ID, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js") - return { request: request({ replicaId, topics }), response } - }, - 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js") - return { request: request({ replicaId, isolationLevel, topics }), response } - }, - 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js") - return { request: request({ replicaId, isolationLevel, topics }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 28:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * ListOffsets Request (Version: 0) => replica_id [topics] - * replica_id => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition timestamp max_num_offsets - * partition => INT32 - * timestamp => INT64 - * max_num_offsets => INT32 - */ - -/** - * @param {number} replicaId - * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest. - * Default timestamp=-1. Example: - * { - * topics: [ - * { - * topic: 'topic-name', - * partitions: [{ partition: 0, timestamp: -1 }] - * } - * ] - * } - */ -module.exports = ({ replicaId, topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'ListOffsets', - encode: async () => { - return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(timestamp) - .writeInt32(maxNumOffsets) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * Offsets Response (Version: 0) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code [offsets] - * partition => INT32 - * error_code => INT16 - * offsets => INT64 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - offsets: decoder.readArray(decodeOffsets), -}) - -const decodeOffsets = decoder => decoder.readInt64().toString() - -const parse = async data => { - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * ListOffsets Request (Version: 1) => replica_id [topics] - * replica_id => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition timestamp - * partition => INT32 - * timestamp => INT64 - */ -module.exports = ({ replicaId, topics }) => ({ - apiKey, - apiVersion: 1, - apiName: 'ListOffsets', - encode: async () => { - return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, timestamp = -1 }) => { - return new Encoder().writeInt32(partition).writeInt64(timestamp) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * ListOffsets Response (Version: 1) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code timestamp offset - * partition => INT32 - * error_code => INT16 - * timestamp => INT64 - * offset => INT64 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - - return { - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - timestamp: decoder.readInt64().toString(), - offset: decoder.readInt64().toString(), -}) - -const parse = async data => { - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * ListOffsets Request (Version: 2) => replica_id isolation_level [topics] - * replica_id => INT32 - * isolation_level => INT8 - * topics => topic [partitions] - * topic => STRING - * partitions => partition timestamp - * partition => INT32 - * timestamp => INT64 - */ -module.exports = ({ replicaId, isolationLevel, topics }) => ({ - apiKey, - apiVersion: 2, - apiName: 'ListOffsets', - encode: async () => { - return new Encoder() - .writeInt32(replicaId) - .writeInt8(isolationLevel) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, timestamp = -1 }) => { - return new Encoder().writeInt32(partition).writeInt64(timestamp) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * ListOffsets Response (Version: 2) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code timestamp offset - * partition => INT32 - * error_code => INT16 - * timestamp => INT64 - * offset => INT64 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - - return { - throttleTime: decoder.readInt32(), - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - timestamp: decoder.readInt64().toString(), - offset: decoder.readInt64().toString(), -}) - -const parse = async data => { - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js") - -/** - * ListOffsets Request (Version: 3) => replica_id isolation_level [topics] - * replica_id => INT32 - * isolation_level => INT8 - * topics => topic [partitions] - * topic => STRING - * partitions => partition timestamp - * partition => INT32 - * timestamp => INT64 - */ -module.exports = ({ replicaId, isolationLevel, topics }) => - Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js") - -/** - * In version 3 on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * ListOffsets Response (Version: 3) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code timestamp offset - * partition => INT32 - * error_code => INT16 - * timestamp => INT64 - * offset => INT64 - */ -const decode = async rawData => { - const decoded = await decodeV2(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/index.js": -/*!**********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/index.js ***! - \**********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") - return { request: request({ topics }), response } - }, - 1: ({ topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js") - return { request: request({ topics }), response } - }, - 2: ({ topics }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js") - return { request: request({ topics }), response } - }, - 3: ({ topics }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js") - return { request: request({ topics }), response } - }, - 4: ({ topics, allowAutoTopicCreation }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js") - return { request: request({ topics, allowAutoTopicCreation }), response } - }, - 5: ({ topics, allowAutoTopicCreation }) => { - const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js") - const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js") - return { request: request({ topics, allowAutoTopicCreation }), response } - }, - 6: ({ topics, allowAutoTopicCreation }) => { - const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js") - const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js") - return { request: request({ topics, allowAutoTopicCreation }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Metadata Request (Version: 0) => [topics] - * topics => STRING - */ - -module.exports = ({ topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'Metadata', - encode: async () => { - return new Encoder().writeArray(topics) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 72:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * Metadata Response (Version: 0) => [brokers] [topic_metadata] - * brokers => node_id host port - * node_id => INT32 - * host => STRING - * port => INT32 - * topic_metadata => topic_error_code topic [partition_metadata] - * topic_error_code => INT16 - * topic => STRING - * partition_metadata => partition_error_code partition_id leader [replicas] [isr] - * partition_error_code => INT16 - * partition_id => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - */ - -const broker = decoder => ({ - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), -}) - -const topicMetadata = decoder => ({ - topicErrorCode: decoder.readInt16(), - topic: decoder.readString(), - partitionMetadata: decoder.readArray(partitionMetadata), -}) - -const partitionMetadata = decoder => ({ - partitionErrorCode: decoder.readInt16(), - partitionId: decoder.readInt32(), - // leader: The node id for the kafka broker currently acting as leader - // for this partition - leader: decoder.readInt32(), - replicas: decoder.readArray(d => d.readInt32()), - isr: decoder.readArray(d => d.readInt32()), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - brokers: decoder.readArray(broker), - topicMetadata: decoder.readArray(topicMetadata), - } -} - -const parse = async data => { - const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode)) - if (topicsWithErrors.length > 0) { - const { topicErrorCode } = topicsWithErrors[0] - throw createErrorFromCode(topicErrorCode) - } - - const partitionsWithErrors = data.topicMetadata.map(topic => { - return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode)) - }) - - const errors = flatten(partitionsWithErrors) - if (errors.length > 0) { - const { partitionErrorCode } = errors[0] - throw createErrorFromCode(partitionErrorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Metadata Request (Version: 1) => [topics] - * topics => STRING - */ - -module.exports = ({ topics }) => ({ - apiKey, - apiVersion: 1, - apiName: 'Metadata', - encode: async () => { - return new Encoder().writeNullableArray(topics) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") - -/** - * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata] - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => topic_error_code topic is_internal [partition_metadata] - * topic_error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => partition_error_code partition_id leader [replicas] [isr] - * partition_error_code => INT16 - * partition_id => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - */ - -const broker = decoder => ({ - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - rack: decoder.readString(), -}) - -const topicMetadata = decoder => ({ - topicErrorCode: decoder.readInt16(), - topic: decoder.readString(), - isInternal: decoder.readBoolean(), - partitionMetadata: decoder.readArray(partitionMetadata), -}) - -const partitionMetadata = decoder => ({ - partitionErrorCode: decoder.readInt16(), - partitionId: decoder.readInt32(), - leader: decoder.readInt32(), - replicas: decoder.readArray(d => d.readInt32()), - isr: decoder.readArray(d => d.readInt32()), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - brokers: decoder.readArray(broker), - controllerId: decoder.readInt32(), - topicMetadata: decoder.readArray(topicMetadata), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") - -/** - * Metadata Request (Version: 2) => [topics] - * topics => STRING - */ - -module.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 57:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") - -/** - * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata] - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * cluster_id => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => topic_error_code topic is_internal [partition_metadata] - * topic_error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => partition_error_code partition_id leader [replicas] [isr] - * partition_error_code => INT16 - * partition_id => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - */ - -const broker = decoder => ({ - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - rack: decoder.readString(), -}) - -const topicMetadata = decoder => ({ - topicErrorCode: decoder.readInt16(), - topic: decoder.readString(), - isInternal: decoder.readBoolean(), - partitionMetadata: decoder.readArray(partitionMetadata), -}) - -const partitionMetadata = decoder => ({ - partitionErrorCode: decoder.readInt16(), - partitionId: decoder.readInt32(), - leader: decoder.readInt32(), - replicas: decoder.readArray(d => d.readInt32()), - isr: decoder.readArray(d => d.readInt32()), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - brokers: decoder.readArray(broker), - clusterId: decoder.readString(), - controllerId: decoder.readInt32(), - topicMetadata: decoder.readArray(topicMetadata), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") - -/** - * Metadata Request (Version: 3) => [topics] - * topics => STRING - */ - -module.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 59:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") - -/** - * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] - * throttle_time_ms => INT32 - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * cluster_id => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => error_code topic is_internal [partition_metadata] - * error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => error_code partition leader [replicas] [isr] - * error_code => INT16 - * partition => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - */ - -const broker = decoder => ({ - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - rack: decoder.readString(), -}) - -const topicMetadata = decoder => ({ - topicErrorCode: decoder.readInt16(), - topic: decoder.readString(), - isInternal: decoder.readBoolean(), - partitionMetadata: decoder.readArray(partitionMetadata), -}) - -const partitionMetadata = decoder => ({ - partitionErrorCode: decoder.readInt16(), - partitionId: decoder.readInt32(), - leader: decoder.readInt32(), - replicas: decoder.readArray(d => d.readInt32()), - isr: decoder.readArray(d => d.readInt32()), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - brokers: decoder.readArray(broker), - clusterId: decoder.readString(), - controllerId: decoder.readInt32(), - topicMetadata: decoder.readArray(topicMetadata), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation - * topics => STRING - * allow_auto_topic_creation => BOOLEAN - */ - -module.exports = ({ topics, allowAutoTopicCreation = true }) => ({ - apiKey, - apiVersion: 4, - apiName: 'Metadata', - encode: async () => { - return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse: parseV3, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js") - -/** - * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] - * throttle_time_ms => INT32 - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * cluster_id => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => error_code topic is_internal [partition_metadata] - * error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => error_code partition leader [replicas] [isr] - * error_code => INT16 - * partition => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - */ - -module.exports = { - parse: parseV3, - decode: decodeV3, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV4 = __webpack_require__(/*! ../v4/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js") - -/** - * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation - * topics => STRING - * allow_auto_topic_creation => BOOLEAN - */ - -module.exports = ({ topics, allowAutoTopicCreation = true }) => - Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 61:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") - -/** - * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] - * throttle_time_ms => INT32 - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * cluster_id => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => error_code topic is_internal [partition_metadata] - * error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas] - * error_code => INT16 - * partition => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - * offline_replicas => INT32 - */ - -const broker = decoder => ({ - nodeId: decoder.readInt32(), - host: decoder.readString(), - port: decoder.readInt32(), - rack: decoder.readString(), -}) - -const topicMetadata = decoder => ({ - topicErrorCode: decoder.readInt16(), - topic: decoder.readString(), - isInternal: decoder.readBoolean(), - partitionMetadata: decoder.readArray(partitionMetadata), -}) - -const partitionMetadata = decoder => ({ - partitionErrorCode: decoder.readInt16(), - partitionId: decoder.readInt32(), - leader: decoder.readInt32(), - replicas: decoder.readArray(d => d.readInt32()), - isr: decoder.readArray(d => d.readInt32()), - offlineReplicas: decoder.readArray(d => d.readInt32()), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - brokers: decoder.readArray(broker), - clusterId: decoder.readString(), - controllerId: decoder.readInt32(), - topicMetadata: decoder.readArray(topicMetadata), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js") - -/** - * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation - * topics => STRING - * allow_auto_topic_creation => BOOLEAN - */ - -module.exports = ({ topics, allowAutoTopicCreation = true }) => - Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 38:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js") - -/** - * In version 6 on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] - * throttle_time_ms => INT32 - * brokers => node_id host port rack - * node_id => INT32 - * host => STRING - * port => INT32 - * rack => NULLABLE_STRING - * cluster_id => NULLABLE_STRING - * controller_id => INT32 - * topic_metadata => error_code topic is_internal [partition_metadata] - * error_code => INT16 - * topic => STRING - * is_internal => BOOLEAN - * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas] - * error_code => INT16 - * partition => INT32 - * leader => INT32 - * replicas => INT32 - * isr => INT32 - * offline_replicas => INT32 - */ -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 72:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -// This value signals to the broker that its default configuration should be used. -const RETENTION_TIME = -1 - -const versions = { - 0: ({ groupId, topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") - return { request: request({ groupId, topics }), response } - }, - 1: ({ groupId, groupGenerationId, memberId, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js") - return { request: request({ groupId, groupGenerationId, memberId, topics }), response } - }, - 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js") - return { - request: request({ - groupId, - groupGenerationId, - memberId, - retentionTime, - topics, - }), - response, - } - }, - 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js") - return { - request: request({ - groupId, - groupGenerationId, - memberId, - retentionTime, - topics, - }), - response, - } - }, - 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js") - return { - request: request({ - groupId, - groupGenerationId, - memberId, - retentionTime, - topics, - }), - response, - } - }, - 5: ({ groupId, groupGenerationId, memberId, topics }) => { - const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js") - const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js") - return { - request: request({ - groupId, - groupGenerationId, - memberId, - topics, - }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * OffsetCommit Request (Version: 0) => group_id [topics] - * group_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'OffsetCommit', - encode: async () => { - return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, offset, metadata = null }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(offset) - .writeString(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * OffsetCommit Response (Version: 0) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics] - * group_id => STRING - * group_generation_id => INT32 - * member_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset timestamp metadata - * partition => INT32 - * offset => INT64 - * timestamp => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({ - apiKey, - apiVersion: 1, - apiName: 'OffsetCommit', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(groupGenerationId) - .writeString(memberId) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(offset) - .writeInt64(timestamp) - .writeString(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") - -/** - * OffsetCommit Response (Version: 1) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics] - * group_id => STRING - * group_generation_id => INT32 - * member_id => STRING - * retention_time => INT64 - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({ - apiKey, - apiVersion: 2, - apiName: 'OffsetCommit', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(groupGenerationId) - .writeString(memberId) - .writeInt64(retentionTime) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, offset, metadata = null }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(offset) - .writeString(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") - -/** - * OffsetCommit Response (Version: 1) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js") - -/** - * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * retention_time => INT64 - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => - Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), { - apiVersion: 3, - }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") - -/** - * OffsetCommit Response (Version: 3) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), -}) - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js") - -/** - * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * retention_time => INT64 - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => - Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), { - apiVersion: 4, - }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js") - -/** - * Starting in version 4, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * OffsetCommit Response (Version: 4) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV3(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Version 5 removes retention_time, as this is controlled by a broker setting - * - * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({ - apiKey, - apiVersion: 5, - apiName: 'OffsetCommit', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(groupGenerationId) - .writeString(memberId) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, offset, metadata = null }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(offset) - .writeString(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode } = __webpack_require__(/*! ../v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js") - -/** - * OffsetCommit Response (Version: 5) => throttle_time_ms [responses] - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code - * partition => INT32 - * error_code => INT16 - */ -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js ***! - \*************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 1: ({ groupId, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js") - return { request: request({ groupId, topics }), response } - }, - 2: ({ groupId, topics }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js") - return { request: request({ groupId, topics }), response } - }, - 3: ({ groupId, topics }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js") - return { request: request({ groupId, topics }), response } - }, - 4: ({ groupId, topics }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js") - return { request: request({ groupId, topics }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetFetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * OffsetFetch Request (Version: 1) => group_id [topics] - * group_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition - * partition => INT32 - */ - -module.exports = ({ groupId, topics }) => ({ - apiKey, - apiVersion: 1, - apiName: 'OffsetFetch', - encode: async () => { - return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition }) => { - return new Encoder().writeInt32(partition) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * OffsetFetch Response (Version: 1) => [responses] - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition offset metadata error_code - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - responses: decoder.readArray(decodeResponses), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - offset: decoder.readInt64().toString(), - metadata: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js") - -/** - * OffsetFetch Request (Version: 2) => group_id [topics] - * group_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition - * partition => INT32 - */ - -module.exports = ({ groupId, topics }) => - Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 53:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * OffsetFetch Response (Version: 2) => [responses] error_code - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition offset metadata error_code - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - * error_code => INT16 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - responses: decoder.readArray(decodeResponses), - errorCode: decoder.readInt16(), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - offset: decoder.readInt64().toString(), - metadata: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - const partitionsWithError = data.responses.map(response => - response.partitions.filter(partition => failure(partition.errorCode)) - ) - const partitionWithError = flatten(partitionsWithError)[0] - if (partitionWithError) { - throw createErrorFromCode(partitionWithError.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { OffsetFetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * OffsetFetch Request (Version: 3) => group_id [topics] - * group_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition - * partition => INT32 - */ - -module.exports = ({ groupId, topics }) => ({ - apiKey, - apiVersion: 3, - apiName: 'OffsetFetch', - encode: async () => { - return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition }) => { - return new Encoder().writeInt32(partition) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 38:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js") - -/** - * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition offset metadata error_code - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - * error_code => INT16 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - return { - throttleTime: decoder.readInt32(), - responses: decoder.readArray(decodeResponses), - errorCode: decoder.readInt16(), - } -} - -const decodeResponses = decoder => ({ - topic: decoder.readString(), - partitions: decoder.readArray(decodePartitions), -}) - -const decodePartitions = decoder => ({ - partition: decoder.readInt32(), - offset: decoder.readInt64().toString(), - metadata: decoder.readString(), - errorCode: decoder.readInt16(), -}) - -module.exports = { - decode, - parse: parseV2, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js") - -/** - * OffsetFetch Request (Version: 4) => group_id [topics] - * group_id => STRING - * topics => topic [partitions] - * topic => STRING - * partitions => partition - * partition => INT32 - */ - -module.exports = ({ groupId, topics }) => - Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js") - -/** - * Starting in version 4, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code - * throttle_time_ms => INT32 - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition offset metadata error_code - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - * error_code => INT16 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV3(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/index.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 99:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ acks, timeout, topicData }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") - return { request: request({ acks, timeout, topicData }), response } - }, - 1: ({ acks, timeout, topicData }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js") - return { request: request({ acks, timeout, topicData }), response } - }, - 2: ({ acks, timeout, topicData, compression }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js") - return { request: request({ acks, timeout, compression, topicData }), response } - }, - 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") - return { - request: request({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }), - response, - } - }, - 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { - const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js") - const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js") - return { - request: request({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }), - response, - } - }, - 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { - const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js") - const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js") - return { - request: request({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }), - response, - } - }, - 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { - const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js") - const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js") - return { - request: request({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }), - response, - } - }, - 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { - const request = __webpack_require__(/*! ./v7/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js") - const response = __webpack_require__(/*! ./v7/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js") - return { - request: request({ - acks, - timeout, - compression, - topicData, - transactionalId, - producerId, - producerEpoch, - }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 63:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const MessageSet = __webpack_require__(/*! ../../../messageSet */ "./node_modules/kafkajs/src/protocol/messageSet/index.js") - -/** - * Produce Request (Version: 0) => acks timeout [topic_data] - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set record_set_size - * partition => INT32 - * record_set_size => INT32 - * record_set => RECORDS - */ - -/** - * MessageV0: - * { - * key: bytes, - * value: bytes - * } - * - * MessageSet: - * [ - * { key: "", value: "" }, - * { key: "", value: "" }, - * ] - * - * TopicData: - * [ - * { - * topic: 'name1', - * partitions: [ - * { - * partition: 0, - * messages: [] - * } - * ] - * } - * ] - */ - -/** - * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before - * responding to the request. If it is 0 the server will not send any response - * (this is the only case where the server will not reply to a request). If it is 1, - * the server will wait the data is written to the local log before sending a response. - * If it is -1 the server will block until the message is committed by all in sync replicas - * before sending a response. - * - * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number - * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time - * for a few reasons: - * (1) it does not include network latency, - * (2) the timer begins at the beginning of the processing of this request so if many requests are - * queued due to server overload that wait time will not be included, - * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not - * be respected. To get a hard timeout of this type the client should use the socket timeout. - * - * @param topicData {Array} - */ -module.exports = ({ acks, timeout, topicData }) => ({ - apiKey, - apiVersion: 0, - apiName: 'Produce', - expectResponse: () => acks !== 0, - encode: async () => { - return new Encoder() - .writeInt16(acks) - .writeInt32(timeout) - .writeArray(topicData.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions)) -} - -const encodePartitions = ({ partition, messages }) => { - const messageSet = MessageSet({ messageVersion: 0, entries: messages }) - return new Encoder() - .writeInt32(partition) - .writeInt32(messageSet.size()) - .writeEncoder(messageSet) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * v0 - * ProduceResponse => [TopicName [Partition ErrorCode Offset]] - * TopicName => string - * Partition => int32 - * ErrorCode => int16 - * Offset => int64 - */ - -const partition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - offset: decoder.readInt64().toString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const topics = decoder.readArray(decoder => ({ - topicName: decoder.readString(), - partitions: decoder.readArray(partition), - })) - - return { - topics, - } -} - -const parse = async data => { - const partitionsWithError = data.topics.map(topic => { - return topic.partitions.filter(partition => failure(partition.errorCode)) - }) - - const errors = flatten(partitionsWithError) - if (errors.length > 0) { - const { errorCode } = errors[0] - throw createErrorFromCode(errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js") - -// Produce Request on or after v1 indicates the client can parse the quota throttle time -// in the Produce Response. - -module.exports = ({ acks, timeout, topicData }) => { - return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") - -/** - * v1 (supported in 0.9.0 or later) - * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime - * TopicName => string - * Partition => int32 - * ErrorCode => int16 - * Offset => int64 - * ThrottleTime => int32 - */ - -const partition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - offset: decoder.readInt64().toString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const topics = decoder.readArray(decoder => ({ - topicName: decoder.readString(), - partitions: decoder.readArray(partition), - })) - - const throttleTime = decoder.readInt32() - - return { - topics, - throttleTime, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const MessageSet = __webpack_require__(/*! ../../../messageSet */ "./node_modules/kafkajs/src/protocol/messageSet/index.js") -const { Types, lookupCodec } = __webpack_require__(/*! ../../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") - -// Produce Request on or after v2 indicates the client can parse the timestamp field -// in the produce Response. - -module.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({ - apiKey, - apiVersion: 2, - apiName: 'Produce', - expectResponse: () => acks !== 0, - encode: async () => { - const encodeTopic = topicEncoder(compression) - const encodedTopicData = [] - - for (const data of topicData) { - encodedTopicData.push(await encodeTopic(data)) - } - - return new Encoder() - .writeInt16(acks) - .writeInt32(timeout) - .writeArray(encodedTopicData) - }, -}) - -const topicEncoder = compression => { - const encodePartitions = partitionsEncoder(compression) - - return async ({ topic, partitions }) => { - const encodedPartitions = [] - - for (const data of partitions) { - encodedPartitions.push(await encodePartitions(data)) - } - - return new Encoder().writeString(topic).writeArray(encodedPartitions) - } -} - -const partitionsEncoder = compression => async ({ partition, messages }) => { - const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages }) - - if (compression === Types.None) { - return new Encoder() - .writeInt32(partition) - .writeInt32(messageSet.size()) - .writeEncoder(messageSet) - } - - const timestamp = messages[0].timestamp || Date.now() - - const codec = lookupCodec(compression) - const compressedValue = await codec.compress(messageSet) - const compressedMessageSet = MessageSet({ - messageVersion: 1, - entries: [{ compression, timestamp, value: compressedValue }], - }) - - return new Encoder() - .writeInt32(partition) - .writeInt32(compressedMessageSet.size()) - .writeEncoder(compressedMessageSet) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") - -/** - * v2 (supported in 0.10.0 or later) - * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime - * TopicName => string - * Partition => int32 - * ErrorCode => int16 - * Offset => int64 - * Timestamp => int64 - * ThrottleTime => int32 - */ - -const partition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - offset: decoder.readInt64().toString(), - timestamp: decoder.readInt64().toString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const topics = decoder.readArray(decoder => ({ - topicName: decoder.readString(), - partitions: decoder.readArray(partition), - })) - - const throttleTime = decoder.readInt32() - - return { - topics, - throttleTime, - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Long = __webpack_require__(/*! ../../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -const { Types } = __webpack_require__(/*! ../../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") -const Record = __webpack_require__(/*! ../../../recordBatch/record/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js") -const { RecordBatch } = __webpack_require__(/*! ../../../recordBatch/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js") - -/** - * Produce Request (Version: 3) => transactional_id acks timeout [topic_data] - * transactional_id => NULLABLE_STRING - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set - * partition => INT32 - * record_set => RECORDS - */ - -/** - * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional - * @param acks {Integer} See producer request v0 - * @param timeout {Integer} See producer request v0 - * @param [compression=CompressionTypes.None] {CompressionTypes} - * @param topicData {Array} - */ -module.exports = ({ - acks, - timeout, - transactionalId = null, - producerId = Long.fromInt(-1), - producerEpoch = 0, - compression = Types.None, - topicData, -}) => ({ - apiKey, - apiVersion: 3, - apiName: 'Produce', - expectResponse: () => acks !== 0, - encode: async () => { - const encodeTopic = topicEncoder(compression) - const encodedTopicData = [] - - for (const data of topicData) { - encodedTopicData.push( - await encodeTopic({ ...data, transactionalId, producerId, producerEpoch }) - ) - } - - return new Encoder() - .writeString(transactionalId) - .writeInt16(acks) - .writeInt32(timeout) - .writeArray(encodedTopicData) - }, -}) - -const topicEncoder = compression => async ({ - topic, - partitions, - transactionalId, - producerId, - producerEpoch, -}) => { - const encodePartitions = partitionsEncoder(compression) - const encodedPartitions = [] - - for (const data of partitions) { - encodedPartitions.push( - await encodePartitions({ ...data, transactionalId, producerId, producerEpoch }) - ) - } - - return new Encoder().writeString(topic).writeArray(encodedPartitions) -} - -const partitionsEncoder = compression => async ({ - partition, - messages, - transactionalId, - firstSequence, - producerId, - producerEpoch, -}) => { - const dateNow = Date.now() - const messageTimestamps = messages - .map(m => m.timestamp) - .filter(timestamp => timestamp != null) - .sort() - - const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps - const firstTimestamp = timestamps[0] - const maxTimestamp = timestamps[timestamps.length - 1] - - const records = messages.map((message, i) => - Record({ - ...message, - offsetDelta: i, - timestampDelta: (message.timestamp || dateNow) - firstTimestamp, - }) - ) - - const recordBatch = await RecordBatch({ - compression, - records, - firstTimestamp, - maxTimestamp, - producerId, - producerEpoch, - firstSequence, - transactional: !!transactionalId, - lastOffsetDelta: records.length - 1, - }) - - return new Encoder() - .writeInt32(partition) - .writeInt32(recordBatch.size()) - .writeEncoder(recordBatch) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 53:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") - -/** - * Produce Response (Version: 3) => [responses] throttle_time_ms - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code base_offset log_append_time - * partition => INT32 - * error_code => INT16 - * base_offset => INT64 - * log_append_time => INT64 - * throttle_time_ms => INT32 - */ - -const partition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - baseOffset: decoder.readInt64().toString(), - logAppendTime: decoder.readInt64().toString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const topics = decoder.readArray(decoder => ({ - topicName: decoder.readString(), - partitions: decoder.readArray(partition), - })) - - const throttleTime = decoder.readInt32() - - return { - topics, - throttleTime, - } -} - -const parse = async data => { - const partitionsWithError = data.topics.map(response => { - return response.partitions.filter(partition => failure(partition.errorCode)) - }) - - const errors = flatten(partitionsWithError) - if (errors.length > 0) { - const { errorCode } = errors[0] - throw createErrorFromCode(errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") - -/** - * Produce Request (Version: 4) => transactional_id acks timeout [topic_data] - * transactional_id => NULLABLE_STRING - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set - * partition => INT32 - * record_set => RECORDS - */ - -module.exports = ({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, -}) => - Object.assign( - requestV3({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, - }), - { apiVersion: 4 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") - -/** - * Produce Response (Version: 4) => [responses] throttle_time_ms - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code base_offset log_append_time - * partition => INT32 - * error_code => INT16 - * base_offset => INT64 - * log_append_time => INT64 - * throttle_time_ms => INT32 - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") - -/** - * Produce Request (Version: 5) => transactional_id acks timeout [topic_data] - * transactional_id => NULLABLE_STRING - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set - * partition => INT32 - * record_set => RECORDS - */ - -module.exports = ({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, -}) => - Object.assign( - requestV3({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, - }), - { apiVersion: 5 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { parse: parseV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") - -/** - * Produce Response (Version: 5) => [responses] throttle_time_ms - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code base_offset log_append_time log_start_offset - * partition => INT32 - * error_code => INT16 - * base_offset => INT64 - * log_append_time => INT64 - * log_start_offset => INT64 - * throttle_time_ms => INT32 - */ - -const partition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), - baseOffset: decoder.readInt64().toString(), - logAppendTime: decoder.readInt64().toString(), - logStartOffset: decoder.readInt64().toString(), -}) - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const topics = decoder.readArray(decoder => ({ - topicName: decoder.readString(), - partitions: decoder.readArray(partition), - })) - - const throttleTime = decoder.readInt32() - - return { - topics, - throttleTime, - } -} - -module.exports = { - decode, - parse: parseV3, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js") - -/** - * The version number is bumped to indicate that on quota violation brokers send out responses before throttling. - * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117 - * - * Produce Request (Version: 6) => transactional_id acks timeout [topic_data] - * transactional_id => NULLABLE_STRING - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set - * partition => INT32 - * record_set => RECORDS - */ - -module.exports = ({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, -}) => - Object.assign( - requestV5({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, - }), - { apiVersion: 6 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV5 } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js") - -/** - * The version number is bumped to indicate that on quota violation brokers send out responses before throttling. - * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156 - * - * Produce Response (Version: 6) => [responses] throttle_time_ms - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code base_offset log_append_time log_start_offset - * partition => INT32 - * error_code => INT16 - * base_offset => INT64 - * log_append_time => INT64 - * log_start_offset => INT64 - * throttle_time_ms => INT32 - */ - -const decode = async rawData => { - const decoded = await decodeV5(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js": -/*!**************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js ***! - \**************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV6 = __webpack_require__(/*! ../v6/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js") - -/** - * V7 indicates ZStandard capability (see KIP-110) - * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121 - * - * Produce Request (Version: 7) => transactional_id acks timeout [topic_data] - * transactional_id => NULLABLE_STRING - * acks => INT16 - * timeout => INT32 - * topic_data => topic [data] - * topic => STRING - * data => partition record_set - * partition => INT32 - * record_set => RECORDS - */ - -module.exports = ({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, -}) => - Object.assign( - requestV6({ - acks, - timeout, - transactionalId, - producerId, - producerEpoch, - compression, - topicData, - }), - { apiVersion: 7 } - ) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v6/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js") - -/** - * Produce Response (Version: 7) => [responses] throttle_time_ms - * responses => topic [partition_responses] - * topic => STRING - * partition_responses => partition error_code base_offset log_append_time log_start_offset - * partition => INT32 - * error_code => INT16 - * base_offset => INT64 - * log_append_time => INT64 - * log_start_offset => INT64 - * throttle_time_ms => INT32 - */ - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ authBytes }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js") - return { request: request({ authBytes }), response } - }, - 1: ({ authBytes }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js") - return { request: request({ authBytes }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { SaslAuthenticate: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes - * sasl_auth_bytes => BYTES - */ - -/** - * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism - */ -module.exports = ({ authBytes }) => ({ - apiKey, - apiVersion: 0, - apiName: 'SaslAuthenticate', - encode: async () => { - return new Encoder().writeBuffer(authBytes) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js": -/*!************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js ***! - \************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 56:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { - failure, - createErrorFromCode, - failIfVersionNotSupported, - errorCodes, -} = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -const { KafkaJSProtocolError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") -const SASL_AUTHENTICATION_FAILED = 58 -const protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED) - -/** - * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes - * error_code => INT16 - * error_message => NULLABLE_STRING - * sasl_auth_bytes => BYTES - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - const errorMessage = decoder.readString() - - // This is necessary to make the response compatible with the original - // mechanism protocols. They expect a byte response, which starts with - // the size - const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes()) - const authBytes = authBytesEncoder.buffer - - return { - errorCode, - errorMessage, - authBytes, - } -} - -const parse = async data => { - if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) { - throw new KafkaJSProtocolError({ - ...protocolAuthError, - message: data.errorMessage, - }) - } - - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js") - -/** - * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes - * sasl_auth_bytes => BYTES - */ - -/** - * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism - */ -module.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js": -/*!************************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js ***! - \************************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes - * error_code => INT16 - * error_message => NULLABLE_STRING - * sasl_auth_bytes => BYTES - * session_lifetime_ms => INT64 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - const errorMessage = decoder.readString() - - // This is necessary to make the response compatible with the original - // mechanism protocols. They expect a byte response, which starts with - // the size - const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes()) - const authBytes = authBytesEncoder.buffer - const sessionLifetimeMs = decoder.readInt64().toString() - - return { - errorCode, - errorMessage, - authBytes, - sessionLifetimeMs, - } -} -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js": -/*!***************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js ***! - \***************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ mechanism }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js") - return { request: request({ mechanism }), response } - }, - 1: ({ mechanism }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js") - return { request: request({ mechanism }), response } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { SaslHandshake: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * SaslHandshake Request (Version: 0) => mechanism - * mechanism => STRING - */ - -/** - * @param {string} mechanism - SASL Mechanism chosen by the client - */ -module.exports = ({ mechanism }) => ({ - apiKey, - apiVersion: 0, - apiName: 'SaslHandshake', - encode: async () => new Encoder().writeString(mechanism), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms] - * error_code => INT16 - * enabled_mechanisms => STRING - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - errorCode, - enabledMechanisms: decoder.readArray(decoder => decoder.readString()), - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js": -/*!********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js ***! - \********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js") - -module.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js": -/*!*********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js ***! - \*********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode: decodeV0, parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js") - -module.exports = { - decode: decodeV0, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ groupId, generationId, memberId, groupAssignment }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js") - return { - request: request({ groupId, generationId, memberId, groupAssignment }), - response, - } - }, - 1: ({ groupId, generationId, memberId, groupAssignment }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js") - return { - request: request({ groupId, generationId, memberId, groupAssignment }), - response, - } - }, - 2: ({ groupId, generationId, memberId, groupAssignment }) => { - const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js") - const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js") - return { - request: request({ groupId, generationId, memberId, groupAssignment }), - response, - } - }, - 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => { - const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js") - const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js") - return { - request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { SyncGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * group_assignment => member_id member_assignment - * member_id => STRING - * member_assignment => BYTES - */ - -module.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({ - apiKey, - apiVersion: 0, - apiName: 'SyncGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(generationId) - .writeString(memberId) - .writeArray(groupAssignment.map(encodeGroupAssignment)) - }, -}) - -const encodeGroupAssignment = ({ memberId, memberAssignment }) => { - return new Encoder().writeString(memberId).writeBytes(memberAssignment) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * SyncGroup Response (Version: 0) => error_code member_assignment - * error_code => INT16 - * member_assignment => BYTES - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - errorCode, - memberAssignment: decoder.readBytes(), - } -} - -const parse = async data => { - if (failure(data.errorCode)) { - throw createErrorFromCode(data.errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js") - -/** - * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * group_assignment => member_id member_assignment - * member_id => STRING - * member_assignment => BYTES - */ - -module.exports = ({ groupId, generationId, memberId, groupAssignment }) => - Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js") - -/** - * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment - * throttle_time_ms => INT32 - * error_code => INT16 - * member_assignment => BYTES - */ - -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const errorCode = decoder.readInt16() - - failIfVersionNotSupported(errorCode) - - return { - throttleTime, - errorCode, - memberAssignment: decoder.readBytes(), - } -} - -module.exports = { - decode, - parse: parseV0, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js") - -/** - * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * group_assignment => member_id member_assignment - * member_id => STRING - * member_assignment => BYTES - */ - -module.exports = ({ groupId, generationId, memberId, groupAssignment }) => - Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js") - -/** - * In version 2, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment - * throttle_time_ms => INT32 - * error_code => INT16 - * member_assignment => BYTES - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js": -/*!****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js ***! - \****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { SyncGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * Version 3 adds group_instance_id to indicate member identity across restarts. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances - * - * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment] - * group_id => STRING - * generation_id => INT32 - * member_id => STRING - * group_instance_id => NULLABLE_STRING - * group_assignment => member_id member_assignment - * member_id => STRING - * member_assignment => BYTES - */ - -module.exports = ({ - groupId, - generationId, - memberId, - groupInstanceId = null, - groupAssignment, -}) => ({ - apiKey, - apiVersion: 3, - apiName: 'SyncGroup', - encode: async () => { - return new Encoder() - .writeString(groupId) - .writeInt32(generationId) - .writeString(memberId) - .writeString(groupInstanceId) - .writeArray(groupAssignment.map(encodeGroupAssignment)) - }, -}) - -const encodeGroupAssignment = ({ memberId, memberAssignment }) => { - return new Encoder().writeString(memberId).writeBytes(memberAssignment) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { decode, parse } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js") - -/** - * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment - * throttle_time_ms => INT32 - * error_code => INT16 - * member_assignment => BYTES - */ -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js ***! - \*****************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const versions = { - 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => { - const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js") - const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js") - return { - request: request({ transactionalId, groupId, producerId, producerEpoch, topics }), - response, - } - }, - 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => { - const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js") - const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js") - return { - request: request({ transactionalId, groupId, producerId, producerEpoch, topics }), - response, - } - }, -} - -module.exports = { - versions: Object.keys(versions), - protocol: ({ version }) => versions[version], -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -const { TxnOffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - -/** - * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics] - * transactional_id => STRING - * group_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({ - apiKey, - apiVersion: 0, - apiName: 'TxnOffsetCommit', - encode: async () => { - return new Encoder() - .writeString(transactionalId) - .writeString(groupId) - .writeInt64(producerId) - .writeInt16(producerEpoch) - .writeArray(topics.map(encodeTopic)) - }, -}) - -const encodeTopic = ({ topic, partitions }) => { - return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) -} - -const encodePartition = ({ partition, offset, metadata }) => { - return new Encoder() - .writeInt32(partition) - .writeInt64(offset) - .writeString(metadata) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") -const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - -/** - * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics] - * throttle_time_ms => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition error_code - * partition => INT32 - * error_code => INT16 - */ -const decode = async rawData => { - const decoder = new Decoder(rawData) - const throttleTime = decoder.readInt32() - const topics = await decoder.readArrayAsync(decodeTopic) - - return { - throttleTime, - topics, - } -} - -const decodeTopic = async decoder => ({ - topic: decoder.readString(), - partitions: await decoder.readArrayAsync(decodePartition), -}) - -const decodePartition = decoder => ({ - partition: decoder.readInt32(), - errorCode: decoder.readInt16(), -}) - -const parse = async data => { - const topicsWithErrors = data.topics - .map(({ partitions }) => ({ - partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)), - })) - .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) - - if (topicsWithErrors.length > 0) { - throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode) - } - - return data -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js": -/*!**********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js ***! - \**********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js") - -/** - * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics] - * transactional_id => STRING - * group_id => STRING - * producer_id => INT64 - * producer_epoch => INT16 - * topics => topic [partitions] - * topic => STRING - * partitions => partition offset metadata - * partition => INT32 - * offset => INT64 - * metadata => NULLABLE_STRING - */ - -module.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => - Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), { - apiVersion: 1, - }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js ***! - \***********************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js") - -/** - * In version 1, on quota violation, brokers send out responses before throttling. - * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication - * - * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics] - * throttle_time_ms => INT32 - * topics => topic [partitions] - * topic => STRING - * partitions => partition error_code - * partition => INT32 - * error_code => INT16 - */ - -const decode = async rawData => { - const decoded = await decodeV1(rawData) - - return { - ...decoded, - throttleTime: 0, - clientSideThrottleTime: decoded.throttleTime, - } -} - -module.exports = { - decode, - parse, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js": -/*!*******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/resourcePatternTypes.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module) => { - -// From: -// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32 - -/** - * @typedef {number} ACLResourcePatternTypes - * - * Enum for ACL Resource Pattern Type - * @readonly - * @enum {ACLResourcePatternTypes} - */ -module.exports = { - /** - * Represents any PatternType which this client cannot understand, perhaps because this client is too old. - */ - UNKNOWN: 0, - /** - * In a filter, matches any resource pattern type. - */ - ANY: 1, - /** - * In a filter, will perform pattern matching. - * - * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, "payments.received", MATCH)`}, the filter match - * any {@link ResourcePattern} that matches topic 'payments.received'. This might include: - *
    - *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, "payments.received", LITERAL)}
  • - *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, "*", LITERAL)}
  • - *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, "payments.", PREFIXED)}
  • - *
- */ - MATCH: 2, - /** - * A literal resource name. - * - * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'. - * - * The special wildcard character {@code *} can be used to represent a resource with any name. - */ - LITERAL: 3, - /** - * A prefixed resource name. - * - * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'. - */ - PREFIXED: 4, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/resourceTypes.js": -/*!************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/resourceTypes.js ***! - \************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const ACLResourceTypes = __webpack_require__(/*! ./aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") - -/** - * @deprecated - * @see https://github.com/tulios/kafkajs/issues/649 - * - * Use ConfigResourceTypes or AclResourceTypes instead. - */ -module.exports = ACLResourceTypes - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js": -/*!****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js ***! - \****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = { - request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js"), - response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js"), -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js": -/*!******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -const US_ASCII_NULL_CHAR = '\u0000' - -module.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({ - encode: async () => { - return new Encoder().writeBytes( - [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR) - ) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js": -/*!*******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js ***! - \*******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - decode: async () => true, - parse: async () => true, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js": -/*!*********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js ***! - \*********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = { - request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js"), - response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js"), -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js": -/*!***********************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js ***! - \***********************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** - * http://www.ietf.org/rfc/rfc5801.txt - * - * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse - * for official Java client implementation. - * - * The mechanism consists of a message from the client to the server. - * The client sends the "n,"" GS header, followed by the authorizationIdentitty - * prefixed by "a=" (if present), followed by ",", followed by a US-ASCII SOH - * character, followed by "auth=Bearer ", followed by the token value, followed - * by US-ASCII SOH character, followed by SASL extensions in OAuth "friendly" - * format and then closed by two additionals US-ASCII SOH characters. - * - * SASL extensions are optional an must be expressed as key-value pairs in an - * object. Each expression is converted as, the extension entry key, followed - * by "=", followed by extension entry value. Each extension is separated by a - * US-ASCII SOH character. If extensions are not present, their relative part - * in the message, including the US-ASCII SOH character, is omitted. - * - * The client may leave the authorization identity empty to - * indicate that it is the same as the authentication identity. - * - * The server will verify the authentication token and verify that the - * authentication credentials permit the client to login as the authorization - * identity. If both steps succeed, the user is logged in. - */ - -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -const SEPARATOR = '\u0001' // SOH - Start Of Header ASCII - -function formatExtensions(extensions) { - let msg = '' - - if (extensions == null) { - return msg - } - - let prefix = '' - for (const k in extensions) { - msg += `${prefix}${k}=${extensions[k]}` - prefix = SEPARATOR - } - - return msg -} - -module.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => { - const authzid = authorizationIdentity == null ? '' : `"a=${authorizationIdentity}` - let ext = formatExtensions(oauthBearerToken.extensions) - if (ext.length > 0) { - ext = `${SEPARATOR}${ext}` - } - - const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}` - - return { - encode: async () => { - return new Encoder().writeBytes(Buffer.from(oauthMsg)) - }, - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js": -/*!************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js ***! - \************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - decode: async () => true, - parse: async () => true, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/plain/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = { - request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/plain/request.js"), - response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/plain/response.js"), -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/request.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/plain/request.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** - * http://www.ietf.org/rfc/rfc2595.txt - * - * The mechanism consists of a single message from the client to the - * server. The client sends the authorization identity (identity to - * login as), followed by a US-ASCII NUL character, followed by the - * authentication identity (identity whose password will be used), - * followed by a US-ASCII NUL character, followed by the clear-text - * password. The client may leave the authorization identity empty to - * indicate that it is the same as the authentication identity. - * - * The server will verify the authentication identity and password with - * the system authentication database and verify that the authentication - * credentials permit the client to login as the authorization identity. - * If both steps succeed, the user is logged in. - */ - -const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -const US_ASCII_NULL_CHAR = '\u0000' - -module.exports = ({ authorizationIdentity = null, username, password }) => ({ - encode: async () => { - return new Encoder().writeBytes( - [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR) - ) - }, -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/response.js": -/*!******************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/plain/response.js ***! - \******************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - decode: async () => true, - parse: async () => true, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -module.exports = ({ finalMessage }) => ({ - encode: async () => new Encoder().writeBytes(finalMessage), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js ***! - \*******************************************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = __webpack_require__(/*! ../firstMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js") - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js": -/*!******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js ***! - \******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/** - * https://tools.ietf.org/html/rfc5802 - * - * First, the client sends the "client-first-message" containing: - * - * -> a GS2 header consisting of a flag indicating whether channel - * binding is supported-but-not-used, not supported, or used, and an - * optional SASL authorization identity; - * - * -> SCRAM username and a random, unique nonce attributes. - * - * Note that the client's first message will always start with "n", "y", - * or "p"; otherwise, the message is invalid and authentication MUST - * fail. This is important, as it allows for GS2 extensibility (e.g., - * to add support for security layers). - */ - -const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - -module.exports = ({ clientFirstMessage }) => ({ - encode: async () => new Encoder().writeBytes(clientFirstMessage), -}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js ***! - \*******************************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "_" }] */ - -const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - -const ENTRY_REGEX = /^([rsiev])=(.*)$/ - -module.exports = { - decode: async rawData => { - return new Decoder(rawData).readBytes() - }, - parse: async data => { - const processed = data - .toString() - .split(',') - .map(str => { - const [_, key, value] = str.match(ENTRY_REGEX) - return [key, value] - }) - .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {}) - - return { original: data.toString(), ...processed } - }, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/index.js": -/*!***************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/sasl/scram/index.js ***! - \***************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -module.exports = { - firstMessage: { - request: __webpack_require__(/*! ./firstMessage/request */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js"), - response: __webpack_require__(/*! ./firstMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js"), - }, - finalMessage: { - request: __webpack_require__(/*! ./finalMessage/request */ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js"), - response: __webpack_require__(/*! ./finalMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js"), - }, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/protocol/timestampTypes.js": -/*!*************************************************************!*\ - !*** ./node_modules/kafkajs/src/protocol/timestampTypes.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module) => { - -/** - * Enum for timestamp types - * @readonly - * @enum {TimestampType} - */ -module.exports = { - // Timestamp type is unknown - NO_TIMESTAMP: -1, - - // Timestamp relates to message creation time as set by a Kafka client - CREATE_TIME: 0, - - // Timestamp relates to the time a message was appended to a Kafka log - LOG_APPEND_TIME: 1, -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/retry/defaults.js": -/*!****************************************************!*\ - !*** ./node_modules/kafkajs/src/retry/defaults.js ***! - \****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - maxRetryTime: 30 * 1000, - initialRetryTime: 300, - factor: 0.2, // randomization factor - multiplier: 2, // exponential factor - retries: 5, // max retries -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/retry/defaults.test.js": -/*!*********************************************************!*\ - !*** ./node_modules/kafkajs/src/retry/defaults.test.js ***! - \*********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = { - maxRetryTime: 1000, - initialRetryTime: 50, - factor: 0.02, // randomization factor - multiplier: 1.5, // exponential factor - retries: 15, // max retries -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/retry/index.js": -/*!*************************************************!*\ - !*** ./node_modules/kafkajs/src/retry/index.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 69:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const isTestMode = "development" === 'test' -const RETRY_DEFAULT = isTestMode ? __webpack_require__(/*! ./defaults.test */ "./node_modules/kafkajs/src/retry/defaults.test.js") : __webpack_require__(/*! ./defaults */ "./node_modules/kafkajs/src/retry/defaults.js") - -const random = (min, max) => { - return Math.random() * (max - min) + min -} - -const randomFromRetryTime = (factor, retryTime) => { - const delta = factor * retryTime - return Math.ceil(random(retryTime - delta, retryTime + delta)) -} - -const UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError'] -const isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name) -const isErrorRetriable = error => - (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error) - -const createRetriable = (configs, resolve, reject, fn) => { - let aborted = false - const { factor, multiplier, maxRetryTime, retries } = configs - - const bail = error => { - aborted = true - reject(error || new Error('Aborted')) - } - - const calculateExponentialRetryTime = retryTime => { - return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime) - } - - const retry = (retryTime, retryCount = 0) => { - if (aborted) return - - const nextRetryTime = calculateExponentialRetryTime(retryTime) - const shouldRetry = retryCount < retries - - const scheduleRetry = () => { - setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime) - } - - fn(bail, retryCount, retryTime) - .then(resolve) - .catch(e => { - if (isErrorRetriable(e)) { - if (shouldRetry) { - scheduleRetry() - } else { - reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime })) - } - } else { - reject(new KafkaJSNonRetriableError(e)) - } - }) - } - - return retry -} - -/** - * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier - */ - -/** - * @param {import("../../types").RetryOptions} [opts] - * @returns {Retrier} - */ -module.exports = (opts = {}) => fn => { - return new Promise((resolve, reject) => { - const configs = Object.assign({}, RETRY_DEFAULT, opts) - const start = createRetriable(configs, resolve, reject, fn) - start(randomFromRetryTime(configs.factor, configs.initialRetryTime)) - }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/arrayDiff.js": -/*!*****************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/arrayDiff.js ***! - \*****************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = (a, b) => { - const result = [] - const length = a.length - let i = 0 - - while (i < length) { - if (b.indexOf(a[i]) === -1) { - result.push(a[i]) - } - i += 1 - } - - return result -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js": -/*!*****************************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js ***! - \*****************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 59:0-14 */ -/***/ ((module) => { - -const defaultErrorHandler = e => { - throw e -} - -/** - * Generator that processes the given promises, and yields their result in the order of them resolving. - * - * @template T - * @param {Promise[]} promises promises to process - * @param {(err: Error) => any} [handleError] optional error handler - * @returns {Generator>} - */ -function* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) { - /** Queue of promises in order of resolution */ - const promisesQueue = [] - /** Queue of {resolve, reject} in the same order as `promisesQueue` */ - const resolveRejectQueue = [] - - promises.forEach(promise => { - // Create a new promise into the promises queue, and keep the {resolve,reject} - // in the resolveRejectQueue - let resolvePromise - let rejectPromise - promisesQueue.push( - new Promise((resolve, reject) => { - resolvePromise = resolve - rejectPromise = reject - }) - ) - resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise }) - - // When the promise resolves pick the next available {resolve, reject}, and - // through that resolve the next promise in the queue - promise.then( - result => { - const { resolve } = resolveRejectQueue.pop() - resolve(result) - }, - async err => { - const { reject } = resolveRejectQueue.pop() - try { - await handleError(err) - reject(err) - } catch (newError) { - reject(newError) - } - } - ) - }) - - // While there are promises left pick the next one to yield - // The caller will then wait for the value to resolve. - while (promisesQueue.length > 0) { - const nextPromise = promisesQueue.pop() - yield nextPromise - } -} - -module.exports = BufferedAsyncIterator - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/concurrency.js": -/*!*******************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/concurrency.js ***! - \*******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 63:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const REJECTED_ERROR = new KafkaJSNonRetriableError( - 'Queued function aborted due to earlier promise rejection' -) -function NOOP() {} - -const concurrency = ({ limit, onChange = NOOP } = {}) => { - if (isNaN(limit) || typeof limit !== 'number' || limit < 1) { - throw new KafkaJSNonRetriableError(`"limit" cannot be less than 1`) - } - - let waiting = [] - let semaphore = 0 - - const clear = () => { - for (const lazyAction of waiting) { - lazyAction((_1, _2, reject) => reject(REJECTED_ERROR)) - } - waiting = [] - semaphore = 0 - } - - const next = () => { - semaphore-- - onChange(semaphore) - - if (waiting.length > 0) { - const lazyAction = waiting.shift() - lazyAction() - } - } - - const invoke = (action, resolve, reject) => { - semaphore++ - onChange(semaphore) - - action() - .then(result => { - resolve(result) - next() - }) - .catch(error => { - reject(error) - clear() - }) - } - - const push = (action, resolve, reject) => { - if (semaphore < limit) { - invoke(action, resolve, reject) - } else { - waiting.push(override => { - const execute = override || invoke - execute(action, resolve, reject) - }) - } - } - - return action => new Promise((resolve, reject) => push(action, resolve, reject)) -} - -module.exports = concurrency - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/flatten.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/flatten.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ -/***/ ((module) => { - -/** - * Flatten the given arrays into a new array - * - * @param {Array>} arrays - * @returns {Array} - * @template T - */ -function flatten(arrays) { - return [].concat.apply([], arrays) -} - -module.exports = flatten - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/groupBy.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/groupBy.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = async (array, groupFn) => { - const result = new Map() - - for (const item of array) { - const group = await Promise.resolve(groupFn(item)) - result.set(group, result.has(group) ? [...result.get(group), item] : [item]) - } - - return result -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/lock.js": -/*!************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/lock.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const { format } = __webpack_require__(/*! util */ "util") -const { KafkaJSLockTimeout } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -const PRIVATE = { - LOCKED: Symbol('private:Lock:locked'), - TIMEOUT: Symbol('private:Lock:timeout'), - WAITING: Symbol('private:Lock:waiting'), - TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'), -} - -const TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)' - -module.exports = class Lock { - constructor({ timeout, description = null } = {}) { - if (typeof timeout !== 'number') { - throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`) - } - - this[PRIVATE.LOCKED] = false - this[PRIVATE.TIMEOUT] = timeout - this[PRIVATE.WAITING] = new Set() - this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => { - const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size) - return description ? `${timeoutMessage}: "${description}"` : timeoutMessage - } - } - - async acquire() { - return new Promise((resolve, reject) => { - if (!this[PRIVATE.LOCKED]) { - this[PRIVATE.LOCKED] = true - return resolve() - } - - let timeoutId = null - const tryToAcquire = async () => { - if (!this[PRIVATE.LOCKED]) { - this[PRIVATE.LOCKED] = true - clearTimeout(timeoutId) - this[PRIVATE.WAITING].delete(tryToAcquire) - return resolve() - } - } - - this[PRIVATE.WAITING].add(tryToAcquire) - timeoutId = setTimeout(() => { - // The message should contain the number of waiters _including_ this one - const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]()) - this[PRIVATE.WAITING].delete(tryToAcquire) - reject(error) - }, this[PRIVATE.TIMEOUT]) - }) - } - - async release() { - this[PRIVATE.LOCKED] = false - const waitingLock = this[PRIVATE.WAITING].values().next().value - - if (waitingLock) { - return waitingLock() - } - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/long.js": -/*!************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/long.js ***! - \************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 343:0-14 */ -/***/ ((module) => { - -/** - * @exports Long - * @class A Long class for representing a 64 bit int (BigInt) - * @param {bigint} value The value of the 64 bit int - * @constructor - */ -class Long { - constructor(value) { - this.value = value - } - - /** - * @function isLong - * @param {*} obj Object - * @returns {boolean} - * @inner - */ - static isLong(obj) { - return typeof obj.value === 'bigint' - } - - /** - * @param {number} value - * @returns {!Long} - * @inner - */ - static fromBits(value) { - return new Long(BigInt(value)) - } - - /** - * @param {number} value - * @returns {!Long} - * @inner - */ - static fromInt(value) { - if (isNaN(value)) return Long.ZERO - - return new Long(BigInt.asIntN(64, BigInt(value))) - } - - /** - * @param {number} value - * @returns {!Long} - * @inner - */ - static fromNumber(value) { - if (isNaN(value)) return Long.ZERO - - return new Long(BigInt(value)) - } - - /** - * @function - * @param {bigint|number|string|Long} val - * @returns {!Long} - * @inner - */ - static fromValue(val) { - if (typeof val === 'number') return this.fromNumber(val) - if (typeof val === 'string') return this.fromString(val) - if (typeof val === 'bigint') return new Long(val) - if (this.isLong(val)) return new Long(BigInt(val.value)) - - return new Long(BigInt(val)) - } - - /** - * @param {string} str - * @returns {!Long} - * @inner - */ - static fromString(str) { - if (str.length === 0) throw Error('empty string') - if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity') - return Long.ZERO - return new Long(BigInt(str)) - } - - /** - * Tests if this Long's value equals zero. - * @returns {boolean} - */ - isZero() { - return this.value === BigInt(0) - } - - /** - * Tests if this Long's value is negative. - * @returns {boolean} - */ - isNegative() { - return this.value < BigInt(0) - } - - /** - * Converts the Long to a string. - * @returns {string} - * @override - */ - toString() { - return String(this.value) - } - - /** - * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa) - * @returns {number} - * @override - */ - toNumber() { - return Number(this.value) - } - - /** - * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. - * @returns {number} - */ - toInt() { - return Number(BigInt.asIntN(32, this.value)) - } - - /** - * Converts the Long to JSON - * @returns {string} - * @override - */ - toJSON() { - return this.toString() - } - - /** - * Returns this Long with bits shifted to the left by the given amount. - * @param {number|bigint} numBits Number of bits - * @returns {!Long} Shifted bigint - */ - shiftLeft(numBits) { - return new Long(this.value << BigInt(numBits)) - } - - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - * @param {number|bigint} numBits Number of bits - * @returns {!Long} Shifted bigint - */ - shiftRight(numBits) { - return new Long(this.value >> BigInt(numBits)) - } - - /** - * Returns the bitwise OR of this Long and the specified. - * @param {bigint|number|string} other Other Long - * @returns {!Long} - */ - or(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return Long.fromBits(this.value | other.value) - } - - /** - * Returns the bitwise XOR of this Long and the given one. - * @param {bigint|number|string} other Other Long - * @returns {!Long} - */ - xor(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return new Long(this.value ^ other.value) - } - - /** - * Returns the bitwise AND of this Long and the specified. - * @param {bigint|number|string} other Other Long - * @returns {!Long} - */ - and(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return new Long(this.value & other.value) - } - - /** - * Returns the bitwise NOT of this Long. - * @returns {!Long} - */ - not() { - return new Long(~this.value) - } - - /** - * Returns this Long with bits logically shifted to the right by the given amount. - * @param {number|bigint} numBits Number of bits - * @returns {!Long} Shifted bigint - */ - shiftRightUnsigned(numBits) { - return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits))) - } - - /** - * Tests if this Long's value equals the specified's. - * @param {bigint|number|string} other Other value - * @returns {boolean} - */ - equals(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return this.value === other.value - } - - /** - * Tests if this Long's value is greater than or equal the specified's. - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - greaterThanOrEqual(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return this.value >= other.value - } - - gte(other) { - return this.greaterThanOrEqual(other) - } - - notEquals(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return !this.equals(/* validates */ other) - } - - /** - * Returns the sum of this and the specified Long. - * @param {!Long|number|string} addend Addend - * @returns {!Long} Sum - */ - add(addend) { - if (!Long.isLong(addend)) addend = Long.fromValue(addend) - return new Long(this.value + addend.value) - } - - /** - * Returns the difference of this and the specified Long. - * @param {!Long|number|string} subtrahend Subtrahend - * @returns {!Long} Difference - */ - subtract(subtrahend) { - if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend) - return this.add(subtrahend.negate()) - } - - /** - * Returns the product of this and the specified Long. - * @param {!Long|number|string} multiplier Multiplier - * @returns {!Long} Product - */ - multiply(multiplier) { - if (this.isZero()) return Long.ZERO - if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier) - return new Long(this.value * multiplier.value) - } - - /** - * Returns this Long divided by the specified. The result is signed if this Long is signed or - * unsigned if this Long is unsigned. - * @param {!Long|number|string} divisor Divisor - * @returns {!Long} Quotient - */ - divide(divisor) { - if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor) - if (divisor.isZero()) throw Error('division by zero') - return new Long(this.value / divisor.value) - } - - /** - * Compares this Long's value with the specified's. - * @param {!Long|number|string} other Other value - * @returns {number} 0 if they are the same, 1 if the this is greater and -1 - * if the given one is greater - */ - compare(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - if (this.value === other.value) return 0 - if (this.value > other.value) return 1 - if (other.value > this.value) return -1 - } - - /** - * Tests if this Long's value is less than the specified's. - * @param {!Long|number|string} other Other value - * @returns {boolean} - */ - lessThan(other) { - if (!Long.isLong(other)) other = Long.fromValue(other) - return this.value < other.value - } - - /** - * Negates this Long's value. - * @returns {!Long} Negated Long - */ - negate() { - if (this.equals(Long.MIN_VALUE)) { - return Long.MIN_VALUE - } - return this.not().add(Long.ONE) - } - - /** - * Gets the high 32 bits as a signed integer. - * @returns {number} Signed high bits - */ - getHighBits() { - return Number(BigInt.asIntN(32, this.value >> BigInt(32))) - } - - /** - * Gets the low 32 bits as a signed integer. - * @returns {number} Signed low bits - */ - getLowBits() { - return Number(BigInt.asIntN(32, this.value)) - } -} - -/** - * Minimum signed value. - * @type {bigint} - */ -Long.MIN_VALUE = new Long(BigInt('-9223372036854775808')) - -/** - * Maximum signed value. - * @type {bigint} - */ -Long.MAX_VALUE = new Long(BigInt('9223372036854775807')) - -/** - * Signed zero. - * @type {Long} - */ -Long.ZERO = Long.fromInt(0) - -/** - * Signed one. - * @type {!Long} - */ -Long.ONE = Long.fromInt(1) - -module.exports = Long - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js": -/*!***********************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/sharedPromiseTo.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ -/***/ ((module) => { - -/** - * @template T - * @param { (...args: any) => Promise } [asyncFunction] - * Promise returning function that will only ever be invoked sequentially. - * @returns { (...args: any) => Promise } - * Function that may invoke asyncFunction if there is not a currently executing invocation. - * Returns promise from the currently executing invocation. - */ -module.exports = asyncFunction => { - let promise = null - - return (...args) => { - if (promise == null) { - promise = asyncFunction(...args).finally(() => (promise = null)) - } - return promise - } -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/shuffle.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/shuffle.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ -/***/ ((module) => { - -/** - * @param {T[]} array - * @returns T[] - * @template T - */ -module.exports = array => { - if (!Array.isArray(array)) { - throw new TypeError("'array' is not an array") - } - - if (array.length < 2) { - return array - } - - const copy = array.slice() - - for (let i = copy.length - 1; i > 0; i--) { - const j = Math.floor(Math.random() * (i + 1)) - const temp = copy[i] - copy[i] = copy[j] - copy[j] = temp - } - - return copy -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/sleep.js": -/*!*************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/sleep.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ -/***/ ((module) => { - -module.exports = timeInMs => - new Promise(resolve => { - setTimeout(resolve, timeInMs) - }) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/swapObject.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/swapObject.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { - -const { keys } = Object -module.exports = object => - keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {}) - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/waitFor.js": -/*!***************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/waitFor.js ***! - \***************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -const sleep = __webpack_require__(/*! ./sleep */ "./node_modules/kafkajs/src/utils/sleep.js") -const { KafkaJSTimeout } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - -module.exports = ( - fn, - { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {} -) => { - let timeoutId - let totalWait = 0 - let fulfilled = false - - const checkCondition = async (resolve, reject) => { - totalWait += delay - await sleep(delay) - - try { - const result = await fn(totalWait) - if (result) { - fulfilled = true - clearTimeout(timeoutId) - return resolve(result) - } - - checkCondition(resolve, reject) - } catch (e) { - fulfilled = true - clearTimeout(timeoutId) - reject(e) - } - } - - return new Promise((resolve, reject) => { - checkCondition(resolve, reject) - - if (ignoreTimeout) { - return - } - - timeoutId = setTimeout(() => { - if (!fulfilled) { - return reject(new KafkaJSTimeout(timeoutMessage)) - } - }, maxWait) - }) -} - - -/***/ }), - -/***/ "./node_modules/kafkajs/src/utils/websiteUrl.js": -/*!******************************************************!*\ - !*** ./node_modules/kafkajs/src/utils/websiteUrl.js ***! - \******************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module) => { - -const BASE_URL = 'https://kafka.js.org' - -module.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}` - - -/***/ }), - -/***/ "./node_modules/media-typer/index.js": -/*!*******************************************!*\ - !*** ./node_modules/media-typer/index.js ***! - \*******************************************/ -/*! default exports */ -/*! export format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export parse [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_exports__ */ -/***/ ((__unused_webpack_module, exports) => { - -/*! - * media-typer - * Copyright(c) 2014 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * RegExp to match *( ";" parameter ) in RFC 2616 sec 3.7 - * - * parameter = token "=" ( token | quoted-string ) - * token = 1* - * separators = "(" | ")" | "<" | ">" | "@" - * | "," | ";" | ":" | "\" | <"> - * | "/" | "[" | "]" | "?" | "=" - * | "{" | "}" | SP | HT - * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> ) - * qdtext = > - * quoted-pair = "\" CHAR - * CHAR = - * TEXT = - * LWS = [CRLF] 1*( SP | HT ) - * CRLF = CR LF - * CR = - * LF = - * SP = - * SHT = - * CTL = - * OCTET = - */ -var paramRegExp = /; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g; -var textRegExp = /^[\u0020-\u007e\u0080-\u00ff]+$/ -var tokenRegExp = /^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/ - -/** - * RegExp to match quoted-pair in RFC 2616 - * - * quoted-pair = "\" CHAR - * CHAR = - */ -var qescRegExp = /\\([\u0000-\u007f])/g; - -/** - * RegExp to match chars that must be quoted-pair in RFC 2616 - */ -var quoteRegExp = /([\\"])/g; - -/** - * RegExp to match type in RFC 6838 - * - * type-name = restricted-name - * subtype-name = restricted-name - * restricted-name = restricted-name-first *126restricted-name-chars - * restricted-name-first = ALPHA / DIGIT - * restricted-name-chars = ALPHA / DIGIT / "!" / "#" / - * "$" / "&" / "-" / "^" / "_" - * restricted-name-chars =/ "." ; Characters before first dot always - * ; specify a facet name - * restricted-name-chars =/ "+" ; Characters after last plus always - * ; specify a structured syntax suffix - * ALPHA = %x41-5A / %x61-7A ; A-Z / a-z - * DIGIT = %x30-39 ; 0-9 - */ -var subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/ -var typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/ -var typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/; - -/** - * Module exports. - */ - -exports.format = format -exports.parse = parse - -/** - * Format object to media type. - * - * @param {object} obj - * @return {string} - * @api public - */ - -function format(obj) { - if (!obj || typeof obj !== 'object') { - throw new TypeError('argument obj is required') - } - - var parameters = obj.parameters - var subtype = obj.subtype - var suffix = obj.suffix - var type = obj.type - - if (!type || !typeNameRegExp.test(type)) { - throw new TypeError('invalid type') - } - - if (!subtype || !subtypeNameRegExp.test(subtype)) { - throw new TypeError('invalid subtype') - } - - // format as type/subtype - var string = type + '/' + subtype - - // append +suffix - if (suffix) { - if (!typeNameRegExp.test(suffix)) { - throw new TypeError('invalid suffix') - } - - string += '+' + suffix - } - - // append parameters - if (parameters && typeof parameters === 'object') { - var param - var params = Object.keys(parameters).sort() - - for (var i = 0; i < params.length; i++) { - param = params[i] - - if (!tokenRegExp.test(param)) { - throw new TypeError('invalid parameter name') - } - - string += '; ' + param + '=' + qstring(parameters[param]) - } - } - - return string -} - -/** - * Parse media type to object. - * - * @param {string|object} string - * @return {Object} - * @api public - */ - -function parse(string) { - if (!string) { - throw new TypeError('argument string is required') - } - - // support req/res-like objects as argument - if (typeof string === 'object') { - string = getcontenttype(string) - } - - if (typeof string !== 'string') { - throw new TypeError('argument string is required to be a string') - } - - var index = string.indexOf(';') - var type = index !== -1 - ? string.substr(0, index) - : string - - var key - var match - var obj = splitType(type) - var params = {} - var value - - paramRegExp.lastIndex = index - - while (match = paramRegExp.exec(string)) { - if (match.index !== index) { - throw new TypeError('invalid parameter format') - } - - index += match[0].length - key = match[1].toLowerCase() - value = match[2] - - if (value[0] === '"') { - // remove quotes and escapes - value = value - .substr(1, value.length - 2) - .replace(qescRegExp, '$1') - } - - params[key] = value - } - - if (index !== -1 && index !== string.length) { - throw new TypeError('invalid parameter format') - } - - obj.parameters = params - - return obj -} - -/** - * Get content-type from req/res objects. - * - * @param {object} - * @return {Object} - * @api private - */ - -function getcontenttype(obj) { - if (typeof obj.getHeader === 'function') { - // res-like - return obj.getHeader('content-type') - } - - if (typeof obj.headers === 'object') { - // req-like - return obj.headers && obj.headers['content-type'] - } -} - -/** - * Quote a string if necessary. - * - * @param {string} val - * @return {string} - * @api private - */ - -function qstring(val) { - var str = String(val) - - // no need to quote tokens - if (tokenRegExp.test(str)) { - return str - } - - if (str.length > 0 && !textRegExp.test(str)) { - throw new TypeError('invalid parameter value') - } - - return '"' + str.replace(quoteRegExp, '\\$1') + '"' -} - -/** - * Simply "type/subtype+siffx" into parts. - * - * @param {string} string - * @return {Object} - * @api private - */ - -function splitType(string) { - var match = typeRegExp.exec(string.toLowerCase()) - - if (!match) { - throw new TypeError('invalid media type') - } - - var type = match[1] - var subtype = match[2] - var suffix - - // suffix after last + - var index = subtype.lastIndexOf('+') - if (index !== -1) { - suffix = subtype.substr(index + 1) - subtype = subtype.substr(0, index) - } - - var obj = { - type: type, - subtype: subtype, - suffix: suffix - } - - return obj -} - - -/***/ }), - -/***/ "./node_modules/merge-descriptors/index.js": -/*!*************************************************!*\ - !*** ./node_modules/merge-descriptors/index.js ***! - \*************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * merge-descriptors - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module exports. - * @public - */ - -module.exports = merge - -/** - * Module variables. - * @private - */ - -var hasOwnProperty = Object.prototype.hasOwnProperty - -/** - * Merge the property descriptors of `src` into `dest` - * - * @param {object} dest Object to add descriptors to - * @param {object} src Object to clone descriptors from - * @param {boolean} [redefine=true] Redefine `dest` properties with `src` properties - * @returns {object} Reference to dest - * @public - */ - -function merge(dest, src, redefine) { - if (!dest) { - throw new TypeError('argument dest is required') - } - - if (!src) { - throw new TypeError('argument src is required') - } - - if (redefine === undefined) { - // Default to true - redefine = true - } - - Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName(name) { - if (!redefine && hasOwnProperty.call(dest, name)) { - // Skip desriptor - return - } - - // Copy descriptor - var descriptor = Object.getOwnPropertyDescriptor(src, name) - Object.defineProperty(dest, name, descriptor) - }) - - return dest -} - - -/***/ }), - -/***/ "./node_modules/methods/index.js": -/*!***************************************!*\ - !*** ./node_modules/methods/index.js ***! - \***************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * methods - * Copyright(c) 2013-2014 TJ Holowaychuk - * Copyright(c) 2015-2016 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var http = __webpack_require__(/*! http */ "http"); - -/** - * Module exports. - * @public - */ - -module.exports = getCurrentNodeMethods() || getBasicNodeMethods(); - -/** - * Get the current Node.js methods. - * @private - */ - -function getCurrentNodeMethods() { - return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) { - return method.toLowerCase(); - }); -} - -/** - * Get the "basic" Node.js methods, a snapshot from Node.js 0.10. - * @private - */ - -function getBasicNodeMethods() { - return [ - 'get', - 'post', - 'put', - 'head', - 'delete', - 'options', - 'trace', - 'copy', - 'lock', - 'mkcol', - 'move', - 'purge', - 'propfind', - 'proppatch', - 'unlock', - 'report', - 'mkactivity', - 'checkout', - 'merge', - 'm-search', - 'notify', - 'subscribe', - 'unsubscribe', - 'patch', - 'search', - 'connect' - ]; -} - - -/***/ }), - -/***/ "./node_modules/mime-db/db.json": -/*!**************************************!*\ - !*** ./node_modules/mime-db/db.json ***! - \**************************************/ -/*! default exports */ -/*! export application/1d-interleaved-parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpdash-qoe-report+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpp-ims+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpphal+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpphalforms+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/a2l [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ace+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/activemessage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/activity+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-costmap+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-costmapfilter+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-directory+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointcost+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointcostparams+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointprop+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointpropparams+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-error+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-networkmap+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-networkmapfilter+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-updatestreamcontrol+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-updatestreamparams+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/aml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/andrew-inset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/applefile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/applixware [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/at+jwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atfx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atom+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomcat+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomdeleted+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomicmail [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomsvc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-dwd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-dynamic-event-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-held+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-rdt+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-rsat+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/auth-policy+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/bacnet-xdd+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/batch-smtp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/bdoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/beep+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/calendar+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/calendar+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/call-completion [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cals-1840 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/captive+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cbor-seq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cccex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ccmp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ccxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdfx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-capability [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-domain [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-object [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-queue [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdni [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cea [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cea-2018+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cellml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cfw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/city+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clue+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clue_info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cnrp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/coap-group+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/coap-payload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/commonground [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/conference-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose-key [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose-key-set [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cpl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csrattrs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csta+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cstadata+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csvm+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cu-seeme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cybercash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dash+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dash-patch+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dashdelta [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/davmount+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dca-rft [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dcd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dec-dx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dialog-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dii [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/docbook+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dots+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dskpp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+der [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dvcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ecmascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edi-consent [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edi-x12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edifact [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/efi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/elm+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/elm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.cap+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.comment+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.control+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.deviceinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.ecall.msd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.providerinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.serviceinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.subscriberinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.veds+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emma+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emotionml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/encaprtp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/epp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/epub+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/eshop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/exi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/expect-ct-report+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/express [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fastinfoset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fastsoap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fdt+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fhir+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fhir+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fido.trusted-apps+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fits [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/flexfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-sfnt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-tdpfr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-woff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/framework-attributes+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geo+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geo+json-seq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geopackage+sqlite3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geoxacml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gltf-buffer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gpx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/h224 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/held+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/hjson [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/http [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/hyperstudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-key-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-pkg-reply+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-pp-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/iges [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/im-iscomposing+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.cmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.obj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.vnd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/inkml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/iotp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ipfix [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ipp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/isup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/its+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-serialized-object [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-vm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/javascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jf2feed+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jose [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jose+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jrd+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jscalendar+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json-patch+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json-seq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jsonml+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwk+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwk-set+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/kpml-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/kpml-response+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ld+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lgr+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/link-format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/load-control+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lost+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lostsync+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lpf+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-binhex40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-compactpro [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/macwriteii [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mads+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/manifest+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marcxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathematica [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml-content+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml-presentation+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-associated-procedure-description+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-deregister+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-envelope+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-msk+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-msk-response+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-protection-description+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-reception-report+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-register+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-register-response+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-schedule+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-user-service-description+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/media-policy-dataset+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/media_control+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mediaservercontrol+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/merge-patch+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink4+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mets+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mf4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mikey [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mipc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/missing-blocks+cbor-seq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mmt-aei+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mmt-usd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mods+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/moss-keys [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/moss-signature [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mosskey-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mosskey-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-generic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-iod [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-iod-xmt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mrb-consumer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mrb-publish+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msc-ivr+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msc-mixer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mud+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/multipart-core [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/n-quads [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/n-triples [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nasdata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-checkgroups [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-groupinfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-transmission [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nlsml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/node [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nss [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oauth-authz-req+jwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oblivious-dns-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ocsp-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ocsp-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/octet-stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oda [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/odm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/odx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oebps-package+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/omdoc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/onenote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/opc-nodeset+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oscore [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oxps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p21+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p2p-overlay+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/passport [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/patch-ops-error+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pdx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pem-certificate-chain [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-keys [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-signature [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pics-rules [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pidf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pidf-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-mime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-signature [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs8-encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-attr-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-crl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-pkipath [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkixcmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pls+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/poc-settings+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/postscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ppsp-tracker+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/problem+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/problem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/provenance+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.alvestrand.titrax-sheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.cww [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.cyn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.hpub+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.nprend [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.plucker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.rdf-xml-crypt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.xsf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pskc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pvd+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/qsig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/raml+yaml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/raptorfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rdap+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rdf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/reginfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/relax-ng-compact-syntax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/remote-printing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/reputon+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rfc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/riscos [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rlmi+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rls-services+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-apd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-s-tsid+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-usd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-ghostbusters [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-manifest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-publication [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-roa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-updown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rsd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rss+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtploopback [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/samlassertion+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/samlmetadata+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sarif+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sarif-external-properties+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sbe [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sbml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scaip+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scim+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sdp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/secevent+jwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-etch+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-etch+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-exi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml-exi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sep+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sep-exi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/session-info [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-payment [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-payment-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-registration [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-registration-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sgml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sgml-open-catalog [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/shf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sieve [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simple-filter+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simple-message-summary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simplesymbolcontainer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sipc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/slate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smil [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smil+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smpte336m [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/soap+fastinfoset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/soap+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-query [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-results+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/spdx+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/spirits-event+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sql [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sru+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssdl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/stix+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/swid+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-apex-update [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-apex-update-confirm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-community-update [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-community-update-confirm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-error [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-sequence-adjust [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-sequence-adjust-confirm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-status-query [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-status-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-update [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-update-confirm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/taxii+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/td+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tei+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tetra_isi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/thraud+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamp-query [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamp-reply [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamped-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tlsrpt+gzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tlsrpt+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tnauthlist [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/token-introspection+jwt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/toml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/trickle-ice-sdpfrag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/trig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ttml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tve-trigger [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tzif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tzif-leap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ubjson [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ulpfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-grpsheet+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-ressheet+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-targetdesc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-uisocketdesc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vcard+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vcard+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vemmi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vividence.scriptfile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.1000minds.decision-model+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-prose+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-prose-pc3ch+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-v2x-local-service-information [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.5gnas [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.access-transfer-events+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.bsf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.gmop+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.gtpc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.interworking-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.lpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mc-signalling-ear [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-affiliation-command+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-payload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-service-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-signalling [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-ue-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-user-profile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-affiliation-command+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-floor-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-location-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-mbms-usage-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-service-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-signed+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-ue-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-ue-init-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-user-profile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-affiliation-command+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-affiliation-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-location-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-mbms-usage-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-service-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-transmission-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-ue-config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-user-profile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mid-call+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.ngap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pfcp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-large [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-small [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-var [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.s1ap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.sms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.sms+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.srvcc-ext+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.srvcc-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.state-and-event-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.ussd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.bcmcsinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.sms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.tcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3lightssoftware.imagescal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3m.post-it-notes [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.aso [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.imp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucobol [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucorp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.air-application-installer-package+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.flash.movie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.formscentral.fcdt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.fxp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.partial-upload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xdp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xfdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aether.imp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.afplinedata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.afplinedata-pagedef [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.cmoca-cmresource [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-codedfont [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-codepage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-cmtable [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-formdef [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-mediummap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-objectcontainer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-overlay [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-pagesegment [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.age [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ah-barcode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ahead.space [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amadeus+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amazon.ebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amazon.mobi8-ebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.americandynamics.acc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amiga.ami [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amundsen.maze+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.android.ota [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.android.package-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anki [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-certificate-issue-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-funds-transfer-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.antix.game-component [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.arrow.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.arrow.stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.compact [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.api+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aplextor.warrp+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apothekende.reservation+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.installer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.keynote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.numbers [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.pages [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.pkpass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.arastra.swi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aristanetworks.swi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.artisan+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.artsquare [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.astraea-software.iota [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.audiograph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.autopackage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.avalon+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.avistar+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.balsamiq.bmml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.balsamiq.bmpr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.banana-accounting [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.error [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.msg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.msg+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bekitzur-stech+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bint.med-content [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.biopax.rdf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.blink-idb-value-wrapper [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.blueice.multipass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bluetooth.ep.oob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bluetooth.le.oob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bmi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bpf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bpf3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.businessobjects [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.byu.uapi+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cab-jscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.canon-cpdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.canon-lips [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.capasystems-pg+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cendio.thinlinc.clientconf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.century-systems.tcp_stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chemdraw+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chess-pgn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chipnuts.karaoke-mmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ciedi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cinderella [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cirpack.isdn-ext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.citationstyles.style+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.claymore [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cloanto.rp9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.clonk.c4group [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config-pkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.coffeescript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.document-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.presentation-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.spreadsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.spreadsheet-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection.doc+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection.next+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.comicbook+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.comicbook-rar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.commerce-battelle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.commonspace [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.contact.cmsg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.coreos.ignition+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cosmocaller [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.keyboard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.palette [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.wordbank [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.criticaltools.wbs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptii.pipe+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crypto-shade-file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptomator.encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptomator.vault [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ctc-posml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ctct.ws+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-pdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-postscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-ppd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-raster [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-raw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.car [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.pcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyan.dean.root+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cybank [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyclonedx+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyclonedx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d2l.coursepackage1p0+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d3m-dataset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d3m-problem [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.data-vision.rdz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.datapackage+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dataresource+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dbf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.debian.binary-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.ttml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.unspecified [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.denovo.fcselayout-link [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.desmume.movie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dir-bi.plate-dl-nosuffix [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dm.delegation+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dna [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.document+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mobile.1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mobile.2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.doremir.scorecloud-binary-document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dpgraph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dreamfactory [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.drive+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ds-keypoint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local.flash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local.html [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ait [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.dvbisl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.dvbj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.esgcontainer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcdftnotifaccess [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgaccess [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgaccess2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgpdd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcroaming [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.iptv.alfec-base [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.iptv.alfec-enhancement [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-aggregate-root+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-container+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-generic+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-msglist+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-registration-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-registration-response+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-init+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.pfr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.service [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dxr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dynageo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dzr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.easykaraoke.cdgdownload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecdis-update [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecip.rlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eclipse.ditto+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.chart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.filerequest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.fileupdate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.series [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.seriesrequest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.seriesupdate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.efi.img [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.efi.iso [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.emclient.accessrequest+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.enliven [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.enphase.envoy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eprints.data+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.esf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.msf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.quickanime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.salt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.ssf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ericsson.quickcall [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.espass-espass+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eszigno3+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.aoc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.asic-e+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.asic-s+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.cug+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvcommand+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvdiscovery+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvprofile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-bc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-cod+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-npvr+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvservice+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsync+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvueprofile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.mcid+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.mheg5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.overload-control-policy-dataset+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.pstn+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.sci+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.simservs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.timestamp-token [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.tsl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.tsl.der [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eu.kasparian.car+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eudora.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.profile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.settings [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.theme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.exstream-empower+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.exstream-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-album [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.f-secure.mobile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.familysearch.gedcom+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fastcopy-disk-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.mseed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.seed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ffsns [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ficlab.flb+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.filmit.zfc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fints [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.firemonkeys.cloudcell [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.flographit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fluxtime.clip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.font-fontforge-sfd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.framemaker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.fnc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.ltf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fsc.weblaunch [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks.binder [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks.container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.jfi+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysgp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysprs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.art-ex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.art4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.ddd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks.binder [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks.container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.hbpl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fut-misnet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.futoin+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.futoin+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fuzzysheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.genomatix.tuxedo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gentics.grd+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geo+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geocube+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.slides [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.tool [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geometry-explorer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geonext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geoplan [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geospace [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gerber [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.globalplatform.card-content-mgt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.globalplatform.card-content-mgt-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.spreadsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kmz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.e-form+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.e-form+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.xmldatacontainer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.grafeq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gridmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-account [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-help [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-identity-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-injector [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hal+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hal+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.handheld-entertainment+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hbci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hc+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hcl-bireports [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hdt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.heroku+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hhe.lesson-player [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hl7cda+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hl7v2+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpgl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-jlyt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pcl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pclxl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.httphone [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hydrostatix.sof-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyper+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyper-item+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyperdrive+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hzn-3d-crossword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.afplinedata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.electronic-media [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.minipay [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.modcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.rights-management [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.secure-container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iccprofile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ieee.1905 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.igloader [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.imagemeter.folder+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.imagemeter.image+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lis.v2.result+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolconsumerprofile+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolproxy+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolproxy.id+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolsettings+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolsettings.simple+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.informedcontrol.rms+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.informix-visionary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.infotech.project [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.infotech.project+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.innopath.wamp.notification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.insors.igm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intercon.formnet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intergeo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intertrust.digibox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intertrust.nncp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qbo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qfx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.catalogitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.conceptitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.knowledgeitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.newsitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.newsmessage+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.packageitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.planningitem+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ipunplugged.rcprofile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.irepository.package+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.is-xpr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.isac.fcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iso11783-10+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jam [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-directory-service [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-jpnstore-wakeup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-payment-wakeup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-registration [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-registration-wakeup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-setstore-wakeup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-verification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-verification-wakeup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jcp.javame.midlet-rms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jisp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.joost.joda-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jsk.isdn-ngn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kahootz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.karbon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kchart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kformula [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kivio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kontour [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kpresenter [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kspread [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kenameaapp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kidspiration [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kinar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.koan [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kodak-descriptor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las.las+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las.las+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.laszip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.leap+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.liberty-request+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.desktop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.exchange+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.logipipe.circuit+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.loom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-1-2-3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-approach [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-freelance [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-notes [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-organizer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-screencam [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-wordpro [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.macports.portpkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mapbox-vector-tile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.actiontoken+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.conftoken+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.license+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.mdcf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mason+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.maxar.archive.3tz+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.maxmind.maxmind-db [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mcd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.medcalcdata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mediastation.cdkey [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.meridian-slingshot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micro+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.flo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.igx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.microsoft.portable-executable [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.microsoft.windows.thumbnail-cache [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.miele+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.minisoft-hp3000-save [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mitsubishi.misty-guard.trustweb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.daf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.dis [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mbk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mqy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.msl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.plc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.txf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.application [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.certificate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.adsi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.fis [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.gotap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.kmr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.ttc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.wem [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.iprm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mozilla.xul+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-3mfdocument [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-artgalry [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-asf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-cab-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-color.iccprofile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.addin.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.binary.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-fontobject [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-htmlhelp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-ims [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-lrm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-office.activex+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-officetheme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-opentype [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-outlook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-package.obfuscated-opentype [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.seccat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.stl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-playready.initiator+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.addin.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.presentation.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slide.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slideshow.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printdevicecapabilities+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printing.printticket+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printschematicket+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-project [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-tnef [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.devicepairing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.nwprinting.oob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.printerpairing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.wsd.oob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.lic-chlg-req [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.lic-resp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.meter-chlg-req [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.meter-resp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.document.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-works [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wpl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-xpsdocument [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.msa-disk-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mseq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.msign [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.multiad.creator [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.multiad.creator.cif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.music-niff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.musician [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.muvee.style [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mynfc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nacamar.ybrid+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ncd.control [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ncd.reference [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nearst.inv+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nebumind.line [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nervana [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.netfpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.neurolanguage.nlu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nimn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nintendo.nitro.rom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nintendo.snes.rom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nitf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-directory [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-sealer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-web [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.catalogs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.conml+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.conml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.iptv.config+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.isds-radio-presets [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmark+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmark+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmarkcollection+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.ac+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.symbian.install [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.ncd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.pcd+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.pcd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-preset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-presets [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.ext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.content-share [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.file-transfer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.ogw_remote-access [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.sip-ta_remote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.sip-ta_tcp_stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.database [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-master [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-web [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.obn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ocf+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oci.image.manifest.v1+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oftn.l10n+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.contentaccessdownload+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.contentaccessstreaming+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.cspg-hexbinary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.dae.svg+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.dae.xhtml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.mippvcontrolmessage+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.pae.gem [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.spdiscovery+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.spdlist+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.ueprofile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.userprofile+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.olpc-sugar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-config [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-http-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-http-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.associated-procedure-parameter+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.drm-trigger+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.imd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.ltkm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.notification+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.provisioningtrigger [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgboot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgdd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgdu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.simple-symbol-container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.smartcard-trigger+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sprov+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.stkm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-address-book+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-feature-handler+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-pcc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-subs-invite+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-user-prefs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dcd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dcdc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dd2+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.drm.risd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.group-usage-list+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+cbor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+tlv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.pal+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.detailed-progress-report+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.final-report+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.groups+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.invocation-descriptor+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.optimized-progress-report+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.push [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.scidm.messages+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.xcap-directory+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-email+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-file+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-folder+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omaloc-supl-init [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepager [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertamp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertamx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertatp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertatx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openblox.game+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openblox.game-binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openeye.oeb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openofficeorg.extension [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openstreetmap.data+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.opentimestamps.ots [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.custom-properties+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.customxmlproperties+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawing+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.chart+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.extended-properties+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.comments+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presprops+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slide [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slide+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideshow [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.tags+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.template.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.theme+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.themeoverride+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.vmldrawing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.core-properties+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.relationships+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oracle.resource+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.orange.indata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osa.netdeploy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgeo.mapguide.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.bundle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.dp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.subsystem [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.otps.ct-kip+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oxli.countgraph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pagerduty+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.palm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.panoply [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.paos.xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.patentdive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.patientecommsdoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pawaafile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pcos [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.osasli [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.piaccess.application-licence [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.picsel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pmi.widget [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.poc.group-advertisement+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pocketlearn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder6-s [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder7-s [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder75 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder75-s [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.preminet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.previewsystems.box [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.proteus.magazine [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.psfs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.publishare-delta-tree [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pvi.ptid1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pwg-multiplexed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pwg-xhtml-print+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.qualcomm.brew-app-res [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quarantainenet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quark.quarkxpress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quobject-quoxdocument [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.moml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-conf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-conn+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-dialog+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-stream+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-conf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-base+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-fax-detect+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-fax-sendrecv+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-group+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-speech+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-transform+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rainstor.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rapid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.realvnc.bed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.renlearn.rlprint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.resilient.logic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.restful+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rig.cryptonote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rim.cod [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia-vbr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.route66.link66+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rs-274x [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ruckus.download [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.s3sms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sailingtracker.track [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sbm.cid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sbm.mid2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.scribus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.3df [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.csf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.doc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.eml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.mht [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.net [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.ppt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.tiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.xls [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealedmedia.softseal.html [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealedmedia.softseal.pdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.seemail [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.seis+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sema [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shade-save-file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formdata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formtemplate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.interchange [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shootproof+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shopkick+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sigrok.session [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.simtech-mindmapper [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.siren+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smaf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smart.notebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smart.teacher [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.snesdev-page-table [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.software602.filler.form+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.software602.filler.form-xml-zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.solent.sdkm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.dxp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.sfs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sqlite3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-cod [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-dtf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-ntf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.calc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.draw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.impress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.math [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer-global [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.stepchart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.street-stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.wadl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.math [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.global [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sus-calendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.svd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.swiftview-ics [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sycle+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syft+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.symbian.install [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm.notification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmddf+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmddf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmtnds+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmtnds+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.ds.notification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tableschema+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tao.intent-module-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tcpdump.pcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.think-cell.ppttc+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tmd.mediaflex.api+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tmobile-livetv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tri.onesource [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trid.tpt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.triscape.mxs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trueapp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.truedoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ubisoft.webplayer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ufdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uiq.theme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.umajin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.unity [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uoml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.alert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.alert-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.bearer-choice [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.bearer-choice-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.cacheop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.cacheop-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.channel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.channel-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.list [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.list-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.listcmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.listcmd-wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.signal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uri-map [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.valve.source.material [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vcx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vd-study [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vectorworks [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vel+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.verimatrix.vcas [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.veritone.aion+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.veryant.thin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ves.encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vidsoft.vidconference [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visionary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vividence.scriptfile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vsf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.sic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.slc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlscriptc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.webturbo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.dpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.p2p [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.wsc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.windows.devicepairing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wmc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wmf.bootstrap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.mathematica [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.mathematica.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.player [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wordperfect [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wqd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wrq-hp3000-labelled [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wt.stf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.csp+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.csp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.ssp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xacml+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xara [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xfdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xfdl.webform [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmi+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.cpkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.dpkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.plan [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.ppkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.xlim [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-dic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-script [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-voice [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat.osfpvg+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.remote-setup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-audio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-phrase [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.through-ngn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.tunnel-udpencap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yaoweme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yellowriver-custom-menu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.youtube.yt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zul [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zzazz.deck+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/voicexml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/voucher-cms+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vq-rtcpxr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wasm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/watcherinfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/webpush-options+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/whoispp-query [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/whoispp-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/widget [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/winhlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wita [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wordperfect5.1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wsdl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wspolicy+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-7z-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-abiword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ace-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-amf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-apple-diskimage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-arj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-bin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-map [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-seg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bcpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bdoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bittorrent [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-blorb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cbr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cdlink [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cfs-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chess-pgn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chrome-extension [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cocoa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-compress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-conference [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-csh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-deb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-debian-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dgc-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-director [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-doom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbncx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbook+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbresource+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dvi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-envoy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-eva [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-bdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-dos [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-framemaker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-ghostscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-libgrx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-linux-psf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-pcf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-snf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-speedo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-sunos-news [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-type1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-vfont [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-freearc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-futuresplash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gca-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-glulx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gnumeric [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gramps-xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gtar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-hdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-httpd-php [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-install-instructions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iso9660-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-keynote-sffkey [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-numbers-sffnumbers [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-pages-sffpages [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-java-archive-diff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-java-jnlp-file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-javascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-keepass2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-latex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lua-bytecode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lzh-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-makeself [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mobipocket-ebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-application [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-shortcut [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-xbap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msaccess [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msbinder [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mscardfile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msclip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msdos-program [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msdownload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmediaview [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmetafile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmoney [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mspublisher [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msschedule [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msterminal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mswrite [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-netcdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ns-proxy-autoconfig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-nzb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-perl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pilot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certificates [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certreqresp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pki-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-rar-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-redhat-package-manager [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-research-info-systems [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sea [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shockwave-flash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-silverlight-app [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sql [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffitx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-subrip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4cpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4crc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-t3vm-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tads [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tcl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex-tfm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-texinfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tgif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ustar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-hdd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ova [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ovf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox-extpack [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vdi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vhd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vmdk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-wais-source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-web-app-manifest+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-www-form-urlencoded [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-ca-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-ca-ra-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-next-ca-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xfig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xliff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xpinstall [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-zmachine [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x400-bp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xacml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xaml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-att+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-caps+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-el+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-error+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-ns+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcon-conference-info+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcon-conference-info-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xenc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xhtml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xhtml-voice+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xliff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-dtd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-external-parsed-entity [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-patch+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xmpp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xop+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xproc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xslt+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xspf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xv+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-data+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-data+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-patch+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-patch+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yin+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zlib [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zstd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/1d-interleaved-parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/32kadpcm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/3gpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/3gpp2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/aac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ac3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/adpcm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr-wb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr-wb+ [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/aptx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/asc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac-advanced-lossless [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac-x [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/basic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/bv16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/bv32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/clearmode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/cn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dat12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dls [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es201108 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202050 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202211 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202212 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dvi4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/eac3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/encaprtp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc-qcp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/flexfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/fwdred [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g711-0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g719 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g722 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g7221 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g723 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-32 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g728 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g7291 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729d [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729e [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm-efr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm-hr-08 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ilbc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ip-mr_v2.5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/isac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l24 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/lpc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp1200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp2400 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp600 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mhas [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/midi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mobile-xmf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp4a-latm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpa-robust [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpeg4-generic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/musepack [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/opus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcma [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcma-wb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcmu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcmu-wb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/prs.sid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/qcelp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/raptorfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/red [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtp-enc-aescm128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtp-midi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtploopback [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/s3m [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/scip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/silk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv-qcp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/sofa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/sp-midi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/speex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/t140c [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/t38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/telephone-event [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tetra_acelp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tetra_acelp_bb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tone [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tsvcis [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/uemclip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ulpfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/usac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vdvi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vmr-wb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.3gpp.iufp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.4sb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.audiokoz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.celp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cisco.nse [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cmles.radio-events [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cns.anp1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cns.inf1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dece.audio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.digital-winds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dlna.adts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.heaac.1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.heaac.2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.mlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.mps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2x [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2z [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pulse.1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dra [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts.hd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts.uhd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dvb.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.everad.plj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.hns.audio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.lucent.voice [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.ms-playready.media.pya [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nokia.mobile-xmf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nortel.vbk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp4800 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp7470 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp9600 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.octel.sbc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.presonus.multitrack [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.qcelp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rhetorex.32kadpcm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rn-realaudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.sealedmedia.softseal.mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.vmx.cvsd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.wave [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vorbis [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vorbis-config [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wav [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wave [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/webm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-caf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-flac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-m4a [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-matroska [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wma [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio-plugin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-realaudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-tta [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-wav [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/xm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cdx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cmdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-csml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-pdb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-xyz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/collection [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/otf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/sfnt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/ttf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/aces [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/apng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/bmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/cgm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/dicom-rle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/emf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/fits [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/g3fax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/gif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heic-sequence [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heif-sequence [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/hej2k [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/hsj2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ief [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jls [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jp2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jphc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxra [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxrs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxsc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxsi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxss [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ktx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ktx2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/naplps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/pjpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/png [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/prs.btif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/prs.pti [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/pwg-raster [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/sgi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/svg+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/t38 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/tiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/tiff-fx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.adobe.photoshop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.airzip.accelerator.azv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.cns.inf2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dece.graphic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.djvu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dvb.subtitle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dwg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fastbidsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fst [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-mmr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-rlc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.globalgraphics.pgb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.microsoft.icon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.mix [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.mozilla.apng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-dds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-modi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-photo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.net-fpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.pco.b16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.radiance [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealed.png [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealedmedia.softseal.gif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealedmedia.softseal.jpg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.svf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.tencent.tap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.valve.source.texture [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.wap.wbmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.xiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.zbrush.pcx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/webp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/wmf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-3ds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmu-raster [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-freehand [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-icon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-jng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-mrsid-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-ms-bmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-pcx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-pict [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-anymap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-bitmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-graymap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-pixmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-rgb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-tga [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xbitmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xcf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xpixmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xwindowdump [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/cpim [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/delivery-status [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/disposition-notification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/external-body [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/feedback-report [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-delivery-status [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-disposition-notification [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-headers [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/http [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/imdn+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/news [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/partial [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/rfc822 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/s-http [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/sip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/sipfrag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/tracking-status [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/vnd.si.simp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/vnd.wfa.wsc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/3mf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/e57 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf-binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/iges [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/mesh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/mtl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/obj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step-xml+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/stl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.collada+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.dwf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.flatland.3dml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gs-gdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gs.gdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gtw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.moml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.mts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.opengex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.parasolid.transmit.binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.parasolid.transmit.text [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.pytha.pyox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.rosette.annotated-data-model [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.sap.vds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.usdz+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.valve.source.compiled-map [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.vtu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vrml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+fastinfoset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+vrml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d-vrml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/alternative [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/appledouble [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/byteranges [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/digest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/form-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/header-set [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/mixed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/multilingual [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/parallel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/related [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/report [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/signed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/vnd.bint.med-plus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/voice-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/x-mixed-replace [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/1d-interleaved-parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cache-manifest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/calendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/calender [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/coffeescript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql-expression [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql-identifier [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/css [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/csv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/csv-schema [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/directory [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/dns [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/ecmascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/encaprtp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/enriched [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/fhirpath [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/flexfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/fwdred [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/gff3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/grammar-ref-list [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/html [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jade [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/javascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jcr-cnd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jsx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/less [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/markdown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mathml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mdx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mizar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/n3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/parameters [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/plain [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/provenance-notation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.fallenstein.rst [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.lines.tag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.prop.logic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/raptorfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/red [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rfc822-headers [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/richtext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtp-enc-aescm128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtploopback [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/sgml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/shaclc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/shex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/slim [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/spdx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/strings [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/stylus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/t140 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/tab-separated-values [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/troff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/turtle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/ulpfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/uri-list [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.a [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.abc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ascii-art [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.dcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.mcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.scurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.debian.copyright [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.dmclientscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.dvb.subtitle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.esmertec.theme-descriptor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.familysearch.gedcom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ficlab.flt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fly [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fmi.flexstor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.gml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.graphviz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.hans [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.hgl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.3dml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.spot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.iptc.newsml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.iptc.nitf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.latex-z [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.motorola.reflex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ms-mediapackage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.net2phone.commcenter.command [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.radisys.msml-basic-layout [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.senx.warpscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.si.uricatalogue [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.sosi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.sun.j2me.app-descriptor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.trolltech.linguist [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.si [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.sl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wmlscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vtt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-asm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-c [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-component [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-fortran [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-gwt-rpc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-handlebars-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-java-source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-jquery-tmpl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-lua [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-markdown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-nfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-opml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-org [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-pascal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-processing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-scss [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-setext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sfv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-suse-ymp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-uuencode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcalendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/xml-external-parsed-entity [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/yaml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/1d-interleaved-parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp-tt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/av1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/bmpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/bt656 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/celb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/dv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/encaprtp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ffv1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/flexfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h261 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263-1998 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263-2000 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264-rcdo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264-svc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h265 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/iso.segment [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpeg2000 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jxsv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mj2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp1s [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp2p [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp2t [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp4v-es [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpeg4-generic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/nv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/parityfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/pointer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/quicktime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/raptorfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/raw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtp-enc-aescm128 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtploopback [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/scip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/smpte291 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/smpte292m [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ulpfec [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vc1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vc2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.cctv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.hd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.mobile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.pd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.sd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.video [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.directv.mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.directv.mpeg-tts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dlna.mpeg-tts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dvb.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.fvt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.hns.video [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.1dparityfec-1010 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.1dparityfec-2005 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.2dparityfec-1010 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.2dparityfec-2005 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.ttsavc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.ttsmpeg2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.motorola.video [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.motorola.videop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.ms-playready.media.pyv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.interleaved-multimedia [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.mp4vr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.videovoip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.objectvideo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.radgamettools.bink [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.radgamettools.smacker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.mpeg1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.mpeg4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.swf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealedmedia.softseal.mov [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.uvvu.mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.vivo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.youtube.yt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vp8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vp9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/webm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-f4v [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-fli [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-flv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-m4v [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-matroska [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-mng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-asf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-vob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wvx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-msvideo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-sgi-movie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-smv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-conference/x-cooltalk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-shader/x-fragment [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-shader/x-vertex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source\":\"iana\"},\"application/3gpdash-qoe-report+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/3gpp-ims+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/3gpphal+json\":{\"source\":\"iana\",\"compressible\":true},\"application/3gpphalforms+json\":{\"source\":\"iana\",\"compressible\":true},\"application/a2l\":{\"source\":\"iana\"},\"application/ace+cbor\":{\"source\":\"iana\"},\"application/activemessage\":{\"source\":\"iana\"},\"application/activity+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-costmap+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-costmapfilter+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-directory+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-endpointcost+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-endpointcostparams+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-endpointprop+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-endpointpropparams+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-error+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-networkmap+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-networkmapfilter+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-updatestreamcontrol+json\":{\"source\":\"iana\",\"compressible\":true},\"application/alto-updatestreamparams+json\":{\"source\":\"iana\",\"compressible\":true},\"application/aml\":{\"source\":\"iana\"},\"application/andrew-inset\":{\"source\":\"iana\",\"extensions\":[\"ez\"]},\"application/applefile\":{\"source\":\"iana\"},\"application/applixware\":{\"source\":\"apache\",\"extensions\":[\"aw\"]},\"application/at+jwt\":{\"source\":\"iana\"},\"application/atf\":{\"source\":\"iana\"},\"application/atfx\":{\"source\":\"iana\"},\"application/atom+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"atom\"]},\"application/atomcat+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"atomcat\"]},\"application/atomdeleted+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"atomdeleted\"]},\"application/atomicmail\":{\"source\":\"iana\"},\"application/atomsvc+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"atomsvc\"]},\"application/atsc-dwd+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"dwd\"]},\"application/atsc-dynamic-event-message\":{\"source\":\"iana\"},\"application/atsc-held+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"held\"]},\"application/atsc-rdt+json\":{\"source\":\"iana\",\"compressible\":true},\"application/atsc-rsat+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rsat\"]},\"application/atxml\":{\"source\":\"iana\"},\"application/auth-policy+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/bacnet-xdd+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/batch-smtp\":{\"source\":\"iana\"},\"application/bdoc\":{\"compressible\":false,\"extensions\":[\"bdoc\"]},\"application/beep+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/calendar+json\":{\"source\":\"iana\",\"compressible\":true},\"application/calendar+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xcs\"]},\"application/call-completion\":{\"source\":\"iana\"},\"application/cals-1840\":{\"source\":\"iana\"},\"application/captive+json\":{\"source\":\"iana\",\"compressible\":true},\"application/cbor\":{\"source\":\"iana\"},\"application/cbor-seq\":{\"source\":\"iana\"},\"application/cccex\":{\"source\":\"iana\"},\"application/ccmp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/ccxml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ccxml\"]},\"application/cdfx+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"cdfx\"]},\"application/cdmi-capability\":{\"source\":\"iana\",\"extensions\":[\"cdmia\"]},\"application/cdmi-container\":{\"source\":\"iana\",\"extensions\":[\"cdmic\"]},\"application/cdmi-domain\":{\"source\":\"iana\",\"extensions\":[\"cdmid\"]},\"application/cdmi-object\":{\"source\":\"iana\",\"extensions\":[\"cdmio\"]},\"application/cdmi-queue\":{\"source\":\"iana\",\"extensions\":[\"cdmiq\"]},\"application/cdni\":{\"source\":\"iana\"},\"application/cea\":{\"source\":\"iana\"},\"application/cea-2018+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/cellml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/cfw\":{\"source\":\"iana\"},\"application/city+json\":{\"source\":\"iana\",\"compressible\":true},\"application/clr\":{\"source\":\"iana\"},\"application/clue+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/clue_info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/cms\":{\"source\":\"iana\"},\"application/cnrp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/coap-group+json\":{\"source\":\"iana\",\"compressible\":true},\"application/coap-payload\":{\"source\":\"iana\"},\"application/commonground\":{\"source\":\"iana\"},\"application/conference-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/cose\":{\"source\":\"iana\"},\"application/cose-key\":{\"source\":\"iana\"},\"application/cose-key-set\":{\"source\":\"iana\"},\"application/cpl+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"cpl\"]},\"application/csrattrs\":{\"source\":\"iana\"},\"application/csta+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/cstadata+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/csvm+json\":{\"source\":\"iana\",\"compressible\":true},\"application/cu-seeme\":{\"source\":\"apache\",\"extensions\":[\"cu\"]},\"application/cwt\":{\"source\":\"iana\"},\"application/cybercash\":{\"source\":\"iana\"},\"application/dart\":{\"compressible\":true},\"application/dash+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mpd\"]},\"application/dash-patch+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mpp\"]},\"application/dashdelta\":{\"source\":\"iana\"},\"application/davmount+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"davmount\"]},\"application/dca-rft\":{\"source\":\"iana\"},\"application/dcd\":{\"source\":\"iana\"},\"application/dec-dx\":{\"source\":\"iana\"},\"application/dialog-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/dicom\":{\"source\":\"iana\"},\"application/dicom+json\":{\"source\":\"iana\",\"compressible\":true},\"application/dicom+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/dii\":{\"source\":\"iana\"},\"application/dit\":{\"source\":\"iana\"},\"application/dns\":{\"source\":\"iana\"},\"application/dns+json\":{\"source\":\"iana\",\"compressible\":true},\"application/dns-message\":{\"source\":\"iana\"},\"application/docbook+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"dbk\"]},\"application/dots+cbor\":{\"source\":\"iana\"},\"application/dskpp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/dssc+der\":{\"source\":\"iana\",\"extensions\":[\"dssc\"]},\"application/dssc+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xdssc\"]},\"application/dvcs\":{\"source\":\"iana\"},\"application/ecmascript\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"es\",\"ecma\"]},\"application/edi-consent\":{\"source\":\"iana\"},\"application/edi-x12\":{\"source\":\"iana\",\"compressible\":false},\"application/edifact\":{\"source\":\"iana\",\"compressible\":false},\"application/efi\":{\"source\":\"iana\"},\"application/elm+json\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/elm+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.cap+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/emergencycalldata.comment+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.control+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.deviceinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.ecall.msd\":{\"source\":\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.serviceinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.subscriberinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emergencycalldata.veds+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/emma+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"emma\"]},\"application/emotionml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"emotionml\"]},\"application/encaprtp\":{\"source\":\"iana\"},\"application/epp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/epub+zip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"epub\"]},\"application/eshop\":{\"source\":\"iana\"},\"application/exi\":{\"source\":\"iana\",\"extensions\":[\"exi\"]},\"application/expect-ct-report+json\":{\"source\":\"iana\",\"compressible\":true},\"application/express\":{\"source\":\"iana\",\"extensions\":[\"exp\"]},\"application/fastinfoset\":{\"source\":\"iana\"},\"application/fastsoap\":{\"source\":\"iana\"},\"application/fdt+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"fdt\"]},\"application/fhir+json\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/fhir+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/fido.trusted-apps+json\":{\"compressible\":true},\"application/fits\":{\"source\":\"iana\"},\"application/flexfec\":{\"source\":\"iana\"},\"application/font-sfnt\":{\"source\":\"iana\"},\"application/font-tdpfr\":{\"source\":\"iana\",\"extensions\":[\"pfr\"]},\"application/font-woff\":{\"source\":\"iana\",\"compressible\":false},\"application/framework-attributes+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/geo+json\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"geojson\"]},\"application/geo+json-seq\":{\"source\":\"iana\"},\"application/geopackage+sqlite3\":{\"source\":\"iana\"},\"application/geoxacml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/gltf-buffer\":{\"source\":\"iana\"},\"application/gml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"gml\"]},\"application/gpx+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"gpx\"]},\"application/gxf\":{\"source\":\"apache\",\"extensions\":[\"gxf\"]},\"application/gzip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"gz\"]},\"application/h224\":{\"source\":\"iana\"},\"application/held+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/hjson\":{\"extensions\":[\"hjson\"]},\"application/http\":{\"source\":\"iana\"},\"application/hyperstudio\":{\"source\":\"iana\",\"extensions\":[\"stk\"]},\"application/ibe-key-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/ibe-pkg-reply+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/ibe-pp-data\":{\"source\":\"iana\"},\"application/iges\":{\"source\":\"iana\"},\"application/im-iscomposing+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/index\":{\"source\":\"iana\"},\"application/index.cmd\":{\"source\":\"iana\"},\"application/index.obj\":{\"source\":\"iana\"},\"application/index.response\":{\"source\":\"iana\"},\"application/index.vnd\":{\"source\":\"iana\"},\"application/inkml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ink\",\"inkml\"]},\"application/iotp\":{\"source\":\"iana\"},\"application/ipfix\":{\"source\":\"iana\",\"extensions\":[\"ipfix\"]},\"application/ipp\":{\"source\":\"iana\"},\"application/isup\":{\"source\":\"iana\"},\"application/its+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"its\"]},\"application/java-archive\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"ser\"]},\"application/java-vm\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"class\"]},\"application/javascript\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"js\",\"mjs\"]},\"application/jf2feed+json\":{\"source\":\"iana\",\"compressible\":true},\"application/jose\":{\"source\":\"iana\"},\"application/jose+json\":{\"source\":\"iana\",\"compressible\":true},\"application/jrd+json\":{\"source\":\"iana\",\"compressible\":true},\"application/jscalendar+json\":{\"source\":\"iana\",\"compressible\":true},\"application/json\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"json\",\"map\"]},\"application/json-patch+json\":{\"source\":\"iana\",\"compressible\":true},\"application/json-seq\":{\"source\":\"iana\"},\"application/json5\":{\"extensions\":[\"json5\"]},\"application/jsonml+json\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"jsonml\"]},\"application/jwk+json\":{\"source\":\"iana\",\"compressible\":true},\"application/jwk-set+json\":{\"source\":\"iana\",\"compressible\":true},\"application/jwt\":{\"source\":\"iana\"},\"application/kpml-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/kpml-response+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/ld+json\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"jsonld\"]},\"application/lgr+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"lgr\"]},\"application/link-format\":{\"source\":\"iana\"},\"application/load-control+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/lost+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"lostxml\"]},\"application/lostsync+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/lpf+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/lxf\":{\"source\":\"iana\"},\"application/mac-binhex40\":{\"source\":\"iana\",\"extensions\":[\"hqx\"]},\"application/mac-compactpro\":{\"source\":\"apache\",\"extensions\":[\"cpt\"]},\"application/macwriteii\":{\"source\":\"iana\"},\"application/mads+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mads\"]},\"application/manifest+json\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"webmanifest\"]},\"application/marc\":{\"source\":\"iana\",\"extensions\":[\"mrc\"]},\"application/marcxml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mrcx\"]},\"application/mathematica\":{\"source\":\"iana\",\"extensions\":[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mathml\"]},\"application/mathml-content+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mathml-presentation+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-associated-procedure-description+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-deregister+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-envelope+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-msk+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-msk-response+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-protection-description+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-reception-report+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-register+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-register-response+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-schedule+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbms-user-service-description+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mbox\":{\"source\":\"iana\",\"extensions\":[\"mbox\"]},\"application/media-policy-dataset+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mpf\"]},\"application/media_control+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mediaservercontrol+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mscml\"]},\"application/merge-patch+json\":{\"source\":\"iana\",\"compressible\":true},\"application/metalink+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"metalink\"]},\"application/metalink4+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"meta4\"]},\"application/mets+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mets\"]},\"application/mf4\":{\"source\":\"iana\"},\"application/mikey\":{\"source\":\"iana\"},\"application/mipc\":{\"source\":\"iana\"},\"application/missing-blocks+cbor-seq\":{\"source\":\"iana\"},\"application/mmt-aei+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"maei\"]},\"application/mmt-usd+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"musd\"]},\"application/mods+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mods\"]},\"application/moss-keys\":{\"source\":\"iana\"},\"application/moss-signature\":{\"source\":\"iana\"},\"application/mosskey-data\":{\"source\":\"iana\"},\"application/mosskey-request\":{\"source\":\"iana\"},\"application/mp21\":{\"source\":\"iana\",\"extensions\":[\"m21\",\"mp21\"]},\"application/mp4\":{\"source\":\"iana\",\"extensions\":[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{\"source\":\"iana\"},\"application/mpeg4-iod\":{\"source\":\"iana\"},\"application/mpeg4-iod-xmt\":{\"source\":\"iana\"},\"application/mrb-consumer+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/mrb-publish+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/msc-ivr+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/msc-mixer+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/msword\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"doc\",\"dot\"]},\"application/mud+json\":{\"source\":\"iana\",\"compressible\":true},\"application/multipart-core\":{\"source\":\"iana\"},\"application/mxf\":{\"source\":\"iana\",\"extensions\":[\"mxf\"]},\"application/n-quads\":{\"source\":\"iana\",\"extensions\":[\"nq\"]},\"application/n-triples\":{\"source\":\"iana\",\"extensions\":[\"nt\"]},\"application/nasdata\":{\"source\":\"iana\"},\"application/news-checkgroups\":{\"source\":\"iana\",\"charset\":\"US-ASCII\"},\"application/news-groupinfo\":{\"source\":\"iana\",\"charset\":\"US-ASCII\"},\"application/news-transmission\":{\"source\":\"iana\"},\"application/nlsml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/node\":{\"source\":\"iana\",\"extensions\":[\"cjs\"]},\"application/nss\":{\"source\":\"iana\"},\"application/oauth-authz-req+jwt\":{\"source\":\"iana\"},\"application/oblivious-dns-message\":{\"source\":\"iana\"},\"application/ocsp-request\":{\"source\":\"iana\"},\"application/ocsp-response\":{\"source\":\"iana\"},\"application/octet-stream\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{\"source\":\"iana\",\"extensions\":[\"oda\"]},\"application/odm+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/odx\":{\"source\":\"iana\"},\"application/oebps-package+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"opf\"]},\"application/ogg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"ogx\"]},\"application/omdoc+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"omdoc\"]},\"application/onenote\":{\"source\":\"apache\",\"extensions\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/opc-nodeset+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/oscore\":{\"source\":\"iana\"},\"application/oxps\":{\"source\":\"iana\",\"extensions\":[\"oxps\"]},\"application/p21\":{\"source\":\"iana\"},\"application/p21+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/p2p-overlay+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"relo\"]},\"application/parityfec\":{\"source\":\"iana\"},\"application/passport\":{\"source\":\"iana\"},\"application/patch-ops-error+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xer\"]},\"application/pdf\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"pdf\"]},\"application/pdx\":{\"source\":\"iana\"},\"application/pem-certificate-chain\":{\"source\":\"iana\"},\"application/pgp-encrypted\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"pgp\"]},\"application/pgp-keys\":{\"source\":\"iana\",\"extensions\":[\"asc\"]},\"application/pgp-signature\":{\"source\":\"iana\",\"extensions\":[\"asc\",\"sig\"]},\"application/pics-rules\":{\"source\":\"apache\",\"extensions\":[\"prf\"]},\"application/pidf+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/pidf-diff+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/pkcs10\":{\"source\":\"iana\",\"extensions\":[\"p10\"]},\"application/pkcs12\":{\"source\":\"iana\"},\"application/pkcs7-mime\":{\"source\":\"iana\",\"extensions\":[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{\"source\":\"iana\",\"extensions\":[\"p7s\"]},\"application/pkcs8\":{\"source\":\"iana\",\"extensions\":[\"p8\"]},\"application/pkcs8-encrypted\":{\"source\":\"iana\"},\"application/pkix-attr-cert\":{\"source\":\"iana\",\"extensions\":[\"ac\"]},\"application/pkix-cert\":{\"source\":\"iana\",\"extensions\":[\"cer\"]},\"application/pkix-crl\":{\"source\":\"iana\",\"extensions\":[\"crl\"]},\"application/pkix-pkipath\":{\"source\":\"iana\",\"extensions\":[\"pkipath\"]},\"application/pkixcmp\":{\"source\":\"iana\",\"extensions\":[\"pki\"]},\"application/pls+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"pls\"]},\"application/poc-settings+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/postscript\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{\"source\":\"iana\",\"compressible\":true},\"application/problem+json\":{\"source\":\"iana\",\"compressible\":true},\"application/problem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/provenance+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"provx\"]},\"application/prs.alvestrand.titrax-sheet\":{\"source\":\"iana\"},\"application/prs.cww\":{\"source\":\"iana\",\"extensions\":[\"cww\"]},\"application/prs.cyn\":{\"source\":\"iana\",\"charset\":\"7-BIT\"},\"application/prs.hpub+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/prs.nprend\":{\"source\":\"iana\"},\"application/prs.plucker\":{\"source\":\"iana\"},\"application/prs.rdf-xml-crypt\":{\"source\":\"iana\"},\"application/prs.xsf+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/pskc+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"pskcxml\"]},\"application/pvd+json\":{\"source\":\"iana\",\"compressible\":true},\"application/qsig\":{\"source\":\"iana\"},\"application/raml+yaml\":{\"compressible\":true,\"extensions\":[\"raml\"]},\"application/raptorfec\":{\"source\":\"iana\"},\"application/rdap+json\":{\"source\":\"iana\",\"compressible\":true},\"application/rdf+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rdf\",\"owl\"]},\"application/reginfo+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rif\"]},\"application/relax-ng-compact-syntax\":{\"source\":\"iana\",\"extensions\":[\"rnc\"]},\"application/remote-printing\":{\"source\":\"iana\"},\"application/reputon+json\":{\"source\":\"iana\",\"compressible\":true},\"application/resource-lists+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rl\"]},\"application/resource-lists-diff+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rld\"]},\"application/rfc+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/riscos\":{\"source\":\"iana\"},\"application/rlmi+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/rls-services+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rs\"]},\"application/route-apd+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rapd\"]},\"application/route-s-tsid+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"sls\"]},\"application/route-usd+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rusd\"]},\"application/rpki-ghostbusters\":{\"source\":\"iana\",\"extensions\":[\"gbr\"]},\"application/rpki-manifest\":{\"source\":\"iana\",\"extensions\":[\"mft\"]},\"application/rpki-publication\":{\"source\":\"iana\"},\"application/rpki-roa\":{\"source\":\"iana\",\"extensions\":[\"roa\"]},\"application/rpki-updown\":{\"source\":\"iana\"},\"application/rsd+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"rsd\"]},\"application/rss+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"rss\"]},\"application/rtf\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rtf\"]},\"application/rtploopback\":{\"source\":\"iana\"},\"application/rtx\":{\"source\":\"iana\"},\"application/samlassertion+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/samlmetadata+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/sarif+json\":{\"source\":\"iana\",\"compressible\":true},\"application/sarif-external-properties+json\":{\"source\":\"iana\",\"compressible\":true},\"application/sbe\":{\"source\":\"iana\"},\"application/sbml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"sbml\"]},\"application/scaip+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/scim+json\":{\"source\":\"iana\",\"compressible\":true},\"application/scvp-cv-request\":{\"source\":\"iana\",\"extensions\":[\"scq\"]},\"application/scvp-cv-response\":{\"source\":\"iana\",\"extensions\":[\"scs\"]},\"application/scvp-vp-request\":{\"source\":\"iana\",\"extensions\":[\"spq\"]},\"application/scvp-vp-response\":{\"source\":\"iana\",\"extensions\":[\"spp\"]},\"application/sdp\":{\"source\":\"iana\",\"extensions\":[\"sdp\"]},\"application/secevent+jwt\":{\"source\":\"iana\"},\"application/senml+cbor\":{\"source\":\"iana\"},\"application/senml+json\":{\"source\":\"iana\",\"compressible\":true},\"application/senml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"senmlx\"]},\"application/senml-etch+cbor\":{\"source\":\"iana\"},\"application/senml-etch+json\":{\"source\":\"iana\",\"compressible\":true},\"application/senml-exi\":{\"source\":\"iana\"},\"application/sensml+cbor\":{\"source\":\"iana\"},\"application/sensml+json\":{\"source\":\"iana\",\"compressible\":true},\"application/sensml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"sensmlx\"]},\"application/sensml-exi\":{\"source\":\"iana\"},\"application/sep+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/sep-exi\":{\"source\":\"iana\"},\"application/session-info\":{\"source\":\"iana\"},\"application/set-payment\":{\"source\":\"iana\"},\"application/set-payment-initiation\":{\"source\":\"iana\",\"extensions\":[\"setpay\"]},\"application/set-registration\":{\"source\":\"iana\"},\"application/set-registration-initiation\":{\"source\":\"iana\",\"extensions\":[\"setreg\"]},\"application/sgml\":{\"source\":\"iana\"},\"application/sgml-open-catalog\":{\"source\":\"iana\"},\"application/shf+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"shf\"]},\"application/sieve\":{\"source\":\"iana\",\"extensions\":[\"siv\",\"sieve\"]},\"application/simple-filter+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/simple-message-summary\":{\"source\":\"iana\"},\"application/simplesymbolcontainer\":{\"source\":\"iana\"},\"application/sipc\":{\"source\":\"iana\"},\"application/slate\":{\"source\":\"iana\"},\"application/smil\":{\"source\":\"iana\"},\"application/smil+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"smi\",\"smil\"]},\"application/smpte336m\":{\"source\":\"iana\"},\"application/soap+fastinfoset\":{\"source\":\"iana\"},\"application/soap+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/sparql-query\":{\"source\":\"iana\",\"extensions\":[\"rq\"]},\"application/sparql-results+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"srx\"]},\"application/spdx+json\":{\"source\":\"iana\",\"compressible\":true},\"application/spirits-event+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/sql\":{\"source\":\"iana\"},\"application/srgs\":{\"source\":\"iana\",\"extensions\":[\"gram\"]},\"application/srgs+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"grxml\"]},\"application/sru+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"sru\"]},\"application/ssdl+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"ssdl\"]},\"application/ssml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ssml\"]},\"application/stix+json\":{\"source\":\"iana\",\"compressible\":true},\"application/swid+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"swidtag\"]},\"application/tamp-apex-update\":{\"source\":\"iana\"},\"application/tamp-apex-update-confirm\":{\"source\":\"iana\"},\"application/tamp-community-update\":{\"source\":\"iana\"},\"application/tamp-community-update-confirm\":{\"source\":\"iana\"},\"application/tamp-error\":{\"source\":\"iana\"},\"application/tamp-sequence-adjust\":{\"source\":\"iana\"},\"application/tamp-sequence-adjust-confirm\":{\"source\":\"iana\"},\"application/tamp-status-query\":{\"source\":\"iana\"},\"application/tamp-status-response\":{\"source\":\"iana\"},\"application/tamp-update\":{\"source\":\"iana\"},\"application/tamp-update-confirm\":{\"source\":\"iana\"},\"application/tar\":{\"compressible\":true},\"application/taxii+json\":{\"source\":\"iana\",\"compressible\":true},\"application/td+json\":{\"source\":\"iana\",\"compressible\":true},\"application/tei+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"tei\",\"teicorpus\"]},\"application/tetra_isi\":{\"source\":\"iana\"},\"application/thraud+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"tfi\"]},\"application/timestamp-query\":{\"source\":\"iana\"},\"application/timestamp-reply\":{\"source\":\"iana\"},\"application/timestamped-data\":{\"source\":\"iana\",\"extensions\":[\"tsd\"]},\"application/tlsrpt+gzip\":{\"source\":\"iana\"},\"application/tlsrpt+json\":{\"source\":\"iana\",\"compressible\":true},\"application/tnauthlist\":{\"source\":\"iana\"},\"application/token-introspection+jwt\":{\"source\":\"iana\"},\"application/toml\":{\"compressible\":true,\"extensions\":[\"toml\"]},\"application/trickle-ice-sdpfrag\":{\"source\":\"iana\"},\"application/trig\":{\"source\":\"iana\",\"extensions\":[\"trig\"]},\"application/ttml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ttml\"]},\"application/tve-trigger\":{\"source\":\"iana\"},\"application/tzif\":{\"source\":\"iana\"},\"application/tzif-leap\":{\"source\":\"iana\"},\"application/ubjson\":{\"compressible\":false,\"extensions\":[\"ubj\"]},\"application/ulpfec\":{\"source\":\"iana\"},\"application/urc-grpsheet+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/urc-ressheet+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rsheet\"]},\"application/urc-targetdesc+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"td\"]},\"application/urc-uisocketdesc+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vcard+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vcard+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vemmi\":{\"source\":\"iana\"},\"application/vividence.scriptfile\":{\"source\":\"apache\"},\"application/vnd.1000minds.decision-model+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"1km\"]},\"application/vnd.3gpp-prose+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp-prose-pc3ch+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp-v2x-local-service-information\":{\"source\":\"iana\"},\"application/vnd.3gpp.5gnas\":{\"source\":\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.bsf+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.gmop+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.gtpc\":{\"source\":\"iana\"},\"application/vnd.3gpp.interworking-data\":{\"source\":\"iana\"},\"application/vnd.3gpp.lpp\":{\"source\":\"iana\"},\"application/vnd.3gpp.mc-signalling-ear\":{\"source\":\"iana\"},\"application/vnd.3gpp.mcdata-affiliation-command+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcdata-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcdata-payload\":{\"source\":\"iana\"},\"application/vnd.3gpp.mcdata-service-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcdata-signalling\":{\"source\":\"iana\"},\"application/vnd.3gpp.mcdata-ue-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcdata-user-profile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-affiliation-command+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-floor-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-location-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-mbms-usage-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-service-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-signed+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-ue-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-ue-init-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcptt-user-profile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-affiliation-command+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-affiliation-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-location-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-mbms-usage-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-service-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-transmission-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-ue-config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mcvideo-user-profile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.mid-call+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.ngap\":{\"source\":\"iana\"},\"application/vnd.3gpp.pfcp\":{\"source\":\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{\"source\":\"iana\",\"extensions\":[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{\"source\":\"iana\",\"extensions\":[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{\"source\":\"iana\",\"extensions\":[\"pvb\"]},\"application/vnd.3gpp.s1ap\":{\"source\":\"iana\"},\"application/vnd.3gpp.sms\":{\"source\":\"iana\"},\"application/vnd.3gpp.sms+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.srvcc-ext+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.srvcc-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.state-and-event-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp.ussd+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp2.bcmcsinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.3gpp2.sms\":{\"source\":\"iana\"},\"application/vnd.3gpp2.tcap\":{\"source\":\"iana\",\"extensions\":[\"tcap\"]},\"application/vnd.3lightssoftware.imagescal\":{\"source\":\"iana\"},\"application/vnd.3m.post-it-notes\":{\"source\":\"iana\",\"extensions\":[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{\"source\":\"iana\",\"extensions\":[\"aso\"]},\"application/vnd.accpac.simply.imp\":{\"source\":\"iana\",\"extensions\":[\"imp\"]},\"application/vnd.acucobol\":{\"source\":\"iana\",\"extensions\":[\"acu\"]},\"application/vnd.acucorp\":{\"source\":\"iana\",\"extensions\":[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"air\"]},\"application/vnd.adobe.flash.movie\":{\"source\":\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{\"source\":\"iana\",\"extensions\":[\"fcdt\"]},\"application/vnd.adobe.fxp\":{\"source\":\"iana\",\"extensions\":[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{\"source\":\"iana\"},\"application/vnd.adobe.xdp+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xdp\"]},\"application/vnd.adobe.xfdf\":{\"source\":\"iana\",\"extensions\":[\"xfdf\"]},\"application/vnd.aether.imp\":{\"source\":\"iana\"},\"application/vnd.afpc.afplinedata\":{\"source\":\"iana\"},\"application/vnd.afpc.afplinedata-pagedef\":{\"source\":\"iana\"},\"application/vnd.afpc.cmoca-cmresource\":{\"source\":\"iana\"},\"application/vnd.afpc.foca-charset\":{\"source\":\"iana\"},\"application/vnd.afpc.foca-codedfont\":{\"source\":\"iana\"},\"application/vnd.afpc.foca-codepage\":{\"source\":\"iana\"},\"application/vnd.afpc.modca\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-cmtable\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-formdef\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-mediummap\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-objectcontainer\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-overlay\":{\"source\":\"iana\"},\"application/vnd.afpc.modca-pagesegment\":{\"source\":\"iana\"},\"application/vnd.age\":{\"source\":\"iana\",\"extensions\":[\"age\"]},\"application/vnd.ah-barcode\":{\"source\":\"iana\"},\"application/vnd.ahead.space\":{\"source\":\"iana\",\"extensions\":[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{\"source\":\"iana\",\"extensions\":[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{\"source\":\"iana\",\"extensions\":[\"azs\"]},\"application/vnd.amadeus+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.amazon.ebook\":{\"source\":\"apache\",\"extensions\":[\"azw\"]},\"application/vnd.amazon.mobi8-ebook\":{\"source\":\"iana\"},\"application/vnd.americandynamics.acc\":{\"source\":\"iana\",\"extensions\":[\"acc\"]},\"application/vnd.amiga.ami\":{\"source\":\"iana\",\"extensions\":[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.android.ota\":{\"source\":\"iana\"},\"application/vnd.android.package-archive\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"apk\"]},\"application/vnd.anki\":{\"source\":\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{\"source\":\"iana\",\"extensions\":[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{\"source\":\"apache\",\"extensions\":[\"fti\"]},\"application/vnd.antix.game-component\":{\"source\":\"iana\",\"extensions\":[\"atx\"]},\"application/vnd.apache.arrow.file\":{\"source\":\"iana\"},\"application/vnd.apache.arrow.stream\":{\"source\":\"iana\"},\"application/vnd.apache.thrift.binary\":{\"source\":\"iana\"},\"application/vnd.apache.thrift.compact\":{\"source\":\"iana\"},\"application/vnd.apache.thrift.json\":{\"source\":\"iana\"},\"application/vnd.api+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.aplextor.warrp+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.apothekende.reservation+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.apple.installer+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mpkg\"]},\"application/vnd.apple.keynote\":{\"source\":\"iana\",\"extensions\":[\"key\"]},\"application/vnd.apple.mpegurl\":{\"source\":\"iana\",\"extensions\":[\"m3u8\"]},\"application/vnd.apple.numbers\":{\"source\":\"iana\",\"extensions\":[\"numbers\"]},\"application/vnd.apple.pages\":{\"source\":\"iana\",\"extensions\":[\"pages\"]},\"application/vnd.apple.pkpass\":{\"compressible\":false,\"extensions\":[\"pkpass\"]},\"application/vnd.arastra.swi\":{\"source\":\"iana\"},\"application/vnd.aristanetworks.swi\":{\"source\":\"iana\",\"extensions\":[\"swi\"]},\"application/vnd.artisan+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.artsquare\":{\"source\":\"iana\"},\"application/vnd.astraea-software.iota\":{\"source\":\"iana\",\"extensions\":[\"iota\"]},\"application/vnd.audiograph\":{\"source\":\"iana\",\"extensions\":[\"aep\"]},\"application/vnd.autopackage\":{\"source\":\"iana\"},\"application/vnd.avalon+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.avistar+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.balsamiq.bmml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"bmml\"]},\"application/vnd.balsamiq.bmpr\":{\"source\":\"iana\"},\"application/vnd.banana-accounting\":{\"source\":\"iana\"},\"application/vnd.bbf.usp.error\":{\"source\":\"iana\"},\"application/vnd.bbf.usp.msg\":{\"source\":\"iana\"},\"application/vnd.bbf.usp.msg+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.bekitzur-stech+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.bint.med-content\":{\"source\":\"iana\"},\"application/vnd.biopax.rdf+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.blink-idb-value-wrapper\":{\"source\":\"iana\"},\"application/vnd.blueice.multipass\":{\"source\":\"iana\",\"extensions\":[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{\"source\":\"iana\"},\"application/vnd.bluetooth.le.oob\":{\"source\":\"iana\"},\"application/vnd.bmi\":{\"source\":\"iana\",\"extensions\":[\"bmi\"]},\"application/vnd.bpf\":{\"source\":\"iana\"},\"application/vnd.bpf3\":{\"source\":\"iana\"},\"application/vnd.businessobjects\":{\"source\":\"iana\",\"extensions\":[\"rep\"]},\"application/vnd.byu.uapi+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cab-jscript\":{\"source\":\"iana\"},\"application/vnd.canon-cpdl\":{\"source\":\"iana\"},\"application/vnd.canon-lips\":{\"source\":\"iana\"},\"application/vnd.capasystems-pg+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cendio.thinlinc.clientconf\":{\"source\":\"iana\"},\"application/vnd.century-systems.tcp_stream\":{\"source\":\"iana\"},\"application/vnd.chemdraw+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"cdxml\"]},\"application/vnd.chess-pgn\":{\"source\":\"iana\"},\"application/vnd.chipnuts.karaoke-mmd\":{\"source\":\"iana\",\"extensions\":[\"mmd\"]},\"application/vnd.ciedi\":{\"source\":\"iana\"},\"application/vnd.cinderella\":{\"source\":\"iana\",\"extensions\":[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{\"source\":\"iana\"},\"application/vnd.citationstyles.style+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"csl\"]},\"application/vnd.claymore\":{\"source\":\"iana\",\"extensions\":[\"cla\"]},\"application/vnd.cloanto.rp9\":{\"source\":\"iana\",\"extensions\":[\"rp9\"]},\"application/vnd.clonk.c4group\":{\"source\":\"iana\",\"extensions\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{\"source\":\"iana\",\"extensions\":[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{\"source\":\"iana\",\"extensions\":[\"c11amz\"]},\"application/vnd.coffeescript\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.document\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.document-template\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.presentation\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.presentation-template\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.spreadsheet\":{\"source\":\"iana\"},\"application/vnd.collabio.xodocuments.spreadsheet-template\":{\"source\":\"iana\"},\"application/vnd.collection+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.collection.doc+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.collection.next+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.comicbook+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.comicbook-rar\":{\"source\":\"iana\"},\"application/vnd.commerce-battelle\":{\"source\":\"iana\"},\"application/vnd.commonspace\":{\"source\":\"iana\",\"extensions\":[\"csp\"]},\"application/vnd.contact.cmsg\":{\"source\":\"iana\",\"extensions\":[\"cdbcmsg\"]},\"application/vnd.coreos.ignition+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cosmocaller\":{\"source\":\"iana\",\"extensions\":[\"cmc\"]},\"application/vnd.crick.clicker\":{\"source\":\"iana\",\"extensions\":[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{\"source\":\"iana\",\"extensions\":[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{\"source\":\"iana\",\"extensions\":[\"clkp\"]},\"application/vnd.crick.clicker.template\":{\"source\":\"iana\",\"extensions\":[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{\"source\":\"iana\",\"extensions\":[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wbs\"]},\"application/vnd.cryptii.pipe+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.crypto-shade-file\":{\"source\":\"iana\"},\"application/vnd.cryptomator.encrypted\":{\"source\":\"iana\"},\"application/vnd.cryptomator.vault\":{\"source\":\"iana\"},\"application/vnd.ctc-posml\":{\"source\":\"iana\",\"extensions\":[\"pml\"]},\"application/vnd.ctct.ws+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cups-pdf\":{\"source\":\"iana\"},\"application/vnd.cups-postscript\":{\"source\":\"iana\"},\"application/vnd.cups-ppd\":{\"source\":\"iana\",\"extensions\":[\"ppd\"]},\"application/vnd.cups-raster\":{\"source\":\"iana\"},\"application/vnd.cups-raw\":{\"source\":\"iana\"},\"application/vnd.curl\":{\"source\":\"iana\"},\"application/vnd.curl.car\":{\"source\":\"apache\",\"extensions\":[\"car\"]},\"application/vnd.curl.pcurl\":{\"source\":\"apache\",\"extensions\":[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cybank\":{\"source\":\"iana\"},\"application/vnd.cyclonedx+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.cyclonedx+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.d2l.coursepackage1p0+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.d3m-dataset\":{\"source\":\"iana\"},\"application/vnd.d3m-problem\":{\"source\":\"iana\"},\"application/vnd.dart\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"dart\"]},\"application/vnd.data-vision.rdz\":{\"source\":\"iana\",\"extensions\":[\"rdz\"]},\"application/vnd.datapackage+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dataresource+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dbf\":{\"source\":\"iana\",\"extensions\":[\"dbf\"]},\"application/vnd.debian.binary-package\":{\"source\":\"iana\"},\"application/vnd.dece.data\":{\"source\":\"iana\",\"extensions\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{\"source\":\"iana\",\"extensions\":[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{\"source\":\"iana\",\"extensions\":[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{\"source\":\"iana\",\"extensions\":[\"fe_launch\"]},\"application/vnd.desmume.movie\":{\"source\":\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{\"source\":\"iana\"},\"application/vnd.dm.delegation+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dna\":{\"source\":\"iana\",\"extensions\":[\"dna\"]},\"application/vnd.document+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dolby.mlp\":{\"source\":\"apache\",\"extensions\":[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{\"source\":\"iana\"},\"application/vnd.dolby.mobile.2\":{\"source\":\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{\"source\":\"iana\"},\"application/vnd.dpgraph\":{\"source\":\"iana\",\"extensions\":[\"dpg\"]},\"application/vnd.dreamfactory\":{\"source\":\"iana\",\"extensions\":[\"dfac\"]},\"application/vnd.drive+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ds-keypoint\":{\"source\":\"apache\",\"extensions\":[\"kpxx\"]},\"application/vnd.dtg.local\":{\"source\":\"iana\"},\"application/vnd.dtg.local.flash\":{\"source\":\"iana\"},\"application/vnd.dtg.local.html\":{\"source\":\"iana\"},\"application/vnd.dvb.ait\":{\"source\":\"iana\",\"extensions\":[\"ait\"]},\"application/vnd.dvb.dvbisl+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.dvbj\":{\"source\":\"iana\"},\"application/vnd.dvb.esgcontainer\":{\"source\":\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{\"source\":\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{\"source\":\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{\"source\":\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{\"source\":\"iana\"},\"application/vnd.dvb.ipdcroaming\":{\"source\":\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{\"source\":\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{\"source\":\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-container+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-generic+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-ia-msglist+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-ia-registration-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-ia-registration-response+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.notif-init+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.dvb.pfr\":{\"source\":\"iana\"},\"application/vnd.dvb.service\":{\"source\":\"iana\",\"extensions\":[\"svc\"]},\"application/vnd.dxr\":{\"source\":\"iana\"},\"application/vnd.dynageo\":{\"source\":\"iana\",\"extensions\":[\"geo\"]},\"application/vnd.dzr\":{\"source\":\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{\"source\":\"iana\"},\"application/vnd.ecdis-update\":{\"source\":\"iana\"},\"application/vnd.ecip.rlp\":{\"source\":\"iana\"},\"application/vnd.eclipse.ditto+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ecowin.chart\":{\"source\":\"iana\",\"extensions\":[\"mag\"]},\"application/vnd.ecowin.filerequest\":{\"source\":\"iana\"},\"application/vnd.ecowin.fileupdate\":{\"source\":\"iana\"},\"application/vnd.ecowin.series\":{\"source\":\"iana\"},\"application/vnd.ecowin.seriesrequest\":{\"source\":\"iana\"},\"application/vnd.ecowin.seriesupdate\":{\"source\":\"iana\"},\"application/vnd.efi.img\":{\"source\":\"iana\"},\"application/vnd.efi.iso\":{\"source\":\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.enliven\":{\"source\":\"iana\",\"extensions\":[\"nml\"]},\"application/vnd.enphase.envoy\":{\"source\":\"iana\"},\"application/vnd.eprints.data+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.epson.esf\":{\"source\":\"iana\",\"extensions\":[\"esf\"]},\"application/vnd.epson.msf\":{\"source\":\"iana\",\"extensions\":[\"msf\"]},\"application/vnd.epson.quickanime\":{\"source\":\"iana\",\"extensions\":[\"qam\"]},\"application/vnd.epson.salt\":{\"source\":\"iana\",\"extensions\":[\"slt\"]},\"application/vnd.epson.ssf\":{\"source\":\"iana\",\"extensions\":[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{\"source\":\"iana\"},\"application/vnd.espass-espass+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.eszigno3+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.asic-e+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.etsi.asic-s+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.etsi.cug+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvcommand+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvdiscovery+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvprofile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvsad-bc+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvsad-cod+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvsad-npvr+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvservice+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvsync+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.iptvueprofile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.mcid+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.mheg5\":{\"source\":\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.pstn+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.sci+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.simservs+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.timestamp-token\":{\"source\":\"iana\"},\"application/vnd.etsi.tsl+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.etsi.tsl.der\":{\"source\":\"iana\"},\"application/vnd.eu.kasparian.car+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.eudora.data\":{\"source\":\"iana\"},\"application/vnd.evolv.ecig.profile\":{\"source\":\"iana\"},\"application/vnd.evolv.ecig.settings\":{\"source\":\"iana\"},\"application/vnd.evolv.ecig.theme\":{\"source\":\"iana\"},\"application/vnd.exstream-empower+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.exstream-package\":{\"source\":\"iana\"},\"application/vnd.ezpix-album\":{\"source\":\"iana\",\"extensions\":[\"ez2\"]},\"application/vnd.ezpix-package\":{\"source\":\"iana\",\"extensions\":[\"ez3\"]},\"application/vnd.f-secure.mobile\":{\"source\":\"iana\"},\"application/vnd.familysearch.gedcom+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.fastcopy-disk-image\":{\"source\":\"iana\"},\"application/vnd.fdf\":{\"source\":\"iana\",\"extensions\":[\"fdf\"]},\"application/vnd.fdsn.mseed\":{\"source\":\"iana\",\"extensions\":[\"mseed\"]},\"application/vnd.fdsn.seed\":{\"source\":\"iana\",\"extensions\":[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{\"source\":\"iana\"},\"application/vnd.ficlab.flb+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.filmit.zfc\":{\"source\":\"iana\"},\"application/vnd.fints\":{\"source\":\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{\"source\":\"iana\"},\"application/vnd.flographit\":{\"source\":\"iana\",\"extensions\":[\"gph\"]},\"application/vnd.fluxtime.clip\":{\"source\":\"iana\",\"extensions\":[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{\"source\":\"iana\"},\"application/vnd.framemaker\":{\"source\":\"iana\",\"extensions\":[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{\"source\":\"iana\",\"extensions\":[\"fnc\"]},\"application/vnd.frogans.ltf\":{\"source\":\"iana\",\"extensions\":[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{\"source\":\"iana\",\"extensions\":[\"fsc\"]},\"application/vnd.fujifilm.fb.docuworks\":{\"source\":\"iana\"},\"application/vnd.fujifilm.fb.docuworks.binder\":{\"source\":\"iana\"},\"application/vnd.fujifilm.fb.docuworks.container\":{\"source\":\"iana\"},\"application/vnd.fujifilm.fb.jfi+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.fujitsu.oasys\":{\"source\":\"iana\",\"extensions\":[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{\"source\":\"iana\",\"extensions\":[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{\"source\":\"iana\",\"extensions\":[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{\"source\":\"iana\",\"extensions\":[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{\"source\":\"iana\",\"extensions\":[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{\"source\":\"iana\"},\"application/vnd.fujixerox.art4\":{\"source\":\"iana\"},\"application/vnd.fujixerox.ddd\":{\"source\":\"iana\",\"extensions\":[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{\"source\":\"iana\",\"extensions\":[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{\"source\":\"iana\",\"extensions\":[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{\"source\":\"iana\"},\"application/vnd.fujixerox.hbpl\":{\"source\":\"iana\"},\"application/vnd.fut-misnet\":{\"source\":\"iana\"},\"application/vnd.futoin+cbor\":{\"source\":\"iana\"},\"application/vnd.futoin+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.fuzzysheet\":{\"source\":\"iana\",\"extensions\":[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{\"source\":\"iana\",\"extensions\":[\"txd\"]},\"application/vnd.gentics.grd+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.geo+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.geocube+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.geogebra.file\":{\"source\":\"iana\",\"extensions\":[\"ggb\"]},\"application/vnd.geogebra.slides\":{\"source\":\"iana\"},\"application/vnd.geogebra.tool\":{\"source\":\"iana\",\"extensions\":[\"ggt\"]},\"application/vnd.geometry-explorer\":{\"source\":\"iana\",\"extensions\":[\"gex\",\"gre\"]},\"application/vnd.geonext\":{\"source\":\"iana\",\"extensions\":[\"gxt\"]},\"application/vnd.geoplan\":{\"source\":\"iana\",\"extensions\":[\"g2w\"]},\"application/vnd.geospace\":{\"source\":\"iana\",\"extensions\":[\"g3w\"]},\"application/vnd.gerber\":{\"source\":\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{\"source\":\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{\"source\":\"iana\"},\"application/vnd.gmx\":{\"source\":\"iana\",\"extensions\":[\"gmx\"]},\"application/vnd.google-apps.document\":{\"compressible\":false,\"extensions\":[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{\"compressible\":false,\"extensions\":[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{\"compressible\":false,\"extensions\":[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"kml\"]},\"application/vnd.google-earth.kmz\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.gov.sk.e-form+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.gov.sk.xmldatacontainer+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.grafeq\":{\"source\":\"iana\",\"extensions\":[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{\"source\":\"iana\"},\"application/vnd.groove-account\":{\"source\":\"iana\",\"extensions\":[\"gac\"]},\"application/vnd.groove-help\":{\"source\":\"iana\",\"extensions\":[\"ghf\"]},\"application/vnd.groove-identity-message\":{\"source\":\"iana\",\"extensions\":[\"gim\"]},\"application/vnd.groove-injector\":{\"source\":\"iana\",\"extensions\":[\"grv\"]},\"application/vnd.groove-tool-message\":{\"source\":\"iana\",\"extensions\":[\"gtm\"]},\"application/vnd.groove-tool-template\":{\"source\":\"iana\",\"extensions\":[\"tpl\"]},\"application/vnd.groove-vcard\":{\"source\":\"iana\",\"extensions\":[\"vcg\"]},\"application/vnd.hal+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hal+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"zmm\"]},\"application/vnd.hbci\":{\"source\":\"iana\",\"extensions\":[\"hbci\"]},\"application/vnd.hc+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hcl-bireports\":{\"source\":\"iana\"},\"application/vnd.hdt\":{\"source\":\"iana\"},\"application/vnd.heroku+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hhe.lesson-player\":{\"source\":\"iana\",\"extensions\":[\"les\"]},\"application/vnd.hl7cda+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.hl7v2+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.hp-hpgl\":{\"source\":\"iana\",\"extensions\":[\"hpgl\"]},\"application/vnd.hp-hpid\":{\"source\":\"iana\",\"extensions\":[\"hpid\"]},\"application/vnd.hp-hps\":{\"source\":\"iana\",\"extensions\":[\"hps\"]},\"application/vnd.hp-jlyt\":{\"source\":\"iana\",\"extensions\":[\"jlt\"]},\"application/vnd.hp-pcl\":{\"source\":\"iana\",\"extensions\":[\"pcl\"]},\"application/vnd.hp-pclxl\":{\"source\":\"iana\",\"extensions\":[\"pclxl\"]},\"application/vnd.httphone\":{\"source\":\"iana\"},\"application/vnd.hydrostatix.sof-data\":{\"source\":\"iana\",\"extensions\":[\"sfd-hdstx\"]},\"application/vnd.hyper+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hyper-item+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hyperdrive+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.hzn-3d-crossword\":{\"source\":\"iana\"},\"application/vnd.ibm.afplinedata\":{\"source\":\"iana\"},\"application/vnd.ibm.electronic-media\":{\"source\":\"iana\"},\"application/vnd.ibm.minipay\":{\"source\":\"iana\",\"extensions\":[\"mpy\"]},\"application/vnd.ibm.modcap\":{\"source\":\"iana\",\"extensions\":[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{\"source\":\"iana\",\"extensions\":[\"irm\"]},\"application/vnd.ibm.secure-container\":{\"source\":\"iana\",\"extensions\":[\"sc\"]},\"application/vnd.iccprofile\":{\"source\":\"iana\",\"extensions\":[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{\"source\":\"iana\"},\"application/vnd.igloader\":{\"source\":\"iana\",\"extensions\":[\"igl\"]},\"application/vnd.imagemeter.folder+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.imagemeter.image+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.immervision-ivp\":{\"source\":\"iana\",\"extensions\":[\"ivp\"]},\"application/vnd.immervision-ivu\":{\"source\":\"iana\",\"extensions\":[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{\"source\":\"iana\"},\"application/vnd.ims.imsccv1p2\":{\"source\":\"iana\"},\"application/vnd.ims.imsccv1p3\":{\"source\":\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ims.lti.v2.toolproxy+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ims.lti.v2.toolsettings+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.informedcontrol.rms+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.informix-visionary\":{\"source\":\"iana\"},\"application/vnd.infotech.project\":{\"source\":\"iana\"},\"application/vnd.infotech.project+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.innopath.wamp.notification\":{\"source\":\"iana\"},\"application/vnd.insors.igm\":{\"source\":\"iana\",\"extensions\":[\"igm\"]},\"application/vnd.intercon.formnet\":{\"source\":\"iana\",\"extensions\":[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{\"source\":\"iana\",\"extensions\":[\"i2g\"]},\"application/vnd.intertrust.digibox\":{\"source\":\"iana\"},\"application/vnd.intertrust.nncp\":{\"source\":\"iana\"},\"application/vnd.intu.qbo\":{\"source\":\"iana\",\"extensions\":[\"qbo\"]},\"application/vnd.intu.qfx\":{\"source\":\"iana\",\"extensions\":[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.conceptitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.knowledgeitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.newsitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.newsmessage+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.packageitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.iptc.g2.planningitem+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ipunplugged.rcprofile\":{\"source\":\"iana\",\"extensions\":[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"irp\"]},\"application/vnd.is-xpr\":{\"source\":\"iana\",\"extensions\":[\"xpr\"]},\"application/vnd.isac.fcs\":{\"source\":\"iana\",\"extensions\":[\"fcs\"]},\"application/vnd.iso11783-10+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.jam\":{\"source\":\"iana\",\"extensions\":[\"jam\"]},\"application/vnd.japannet-directory-service\":{\"source\":\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{\"source\":\"iana\"},\"application/vnd.japannet-payment-wakeup\":{\"source\":\"iana\"},\"application/vnd.japannet-registration\":{\"source\":\"iana\"},\"application/vnd.japannet-registration-wakeup\":{\"source\":\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{\"source\":\"iana\"},\"application/vnd.japannet-verification\":{\"source\":\"iana\"},\"application/vnd.japannet-verification-wakeup\":{\"source\":\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{\"source\":\"iana\",\"extensions\":[\"rms\"]},\"application/vnd.jisp\":{\"source\":\"iana\",\"extensions\":[\"jisp\"]},\"application/vnd.joost.joda-archive\":{\"source\":\"iana\",\"extensions\":[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{\"source\":\"iana\"},\"application/vnd.kahootz\":{\"source\":\"iana\",\"extensions\":[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{\"source\":\"iana\",\"extensions\":[\"karbon\"]},\"application/vnd.kde.kchart\":{\"source\":\"iana\",\"extensions\":[\"chrt\"]},\"application/vnd.kde.kformula\":{\"source\":\"iana\",\"extensions\":[\"kfo\"]},\"application/vnd.kde.kivio\":{\"source\":\"iana\",\"extensions\":[\"flw\"]},\"application/vnd.kde.kontour\":{\"source\":\"iana\",\"extensions\":[\"kon\"]},\"application/vnd.kde.kpresenter\":{\"source\":\"iana\",\"extensions\":[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{\"source\":\"iana\",\"extensions\":[\"ksp\"]},\"application/vnd.kde.kword\":{\"source\":\"iana\",\"extensions\":[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{\"source\":\"iana\",\"extensions\":[\"htke\"]},\"application/vnd.kidspiration\":{\"source\":\"iana\",\"extensions\":[\"kia\"]},\"application/vnd.kinar\":{\"source\":\"iana\",\"extensions\":[\"kne\",\"knp\"]},\"application/vnd.koan\":{\"source\":\"iana\",\"extensions\":[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{\"source\":\"iana\",\"extensions\":[\"sse\"]},\"application/vnd.las\":{\"source\":\"iana\"},\"application/vnd.las.las+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.las.las+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"lasxml\"]},\"application/vnd.laszip\":{\"source\":\"iana\"},\"application/vnd.leap+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.liberty-request+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.llamagraphics.life-balance.desktop\":{\"source\":\"iana\",\"extensions\":[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"lbe\"]},\"application/vnd.logipipe.circuit+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.loom\":{\"source\":\"iana\"},\"application/vnd.lotus-1-2-3\":{\"source\":\"iana\",\"extensions\":[\"123\"]},\"application/vnd.lotus-approach\":{\"source\":\"iana\",\"extensions\":[\"apr\"]},\"application/vnd.lotus-freelance\":{\"source\":\"iana\",\"extensions\":[\"pre\"]},\"application/vnd.lotus-notes\":{\"source\":\"iana\",\"extensions\":[\"nsf\"]},\"application/vnd.lotus-organizer\":{\"source\":\"iana\",\"extensions\":[\"org\"]},\"application/vnd.lotus-screencam\":{\"source\":\"iana\",\"extensions\":[\"scm\"]},\"application/vnd.lotus-wordpro\":{\"source\":\"iana\",\"extensions\":[\"lwp\"]},\"application/vnd.macports.portpkg\":{\"source\":\"iana\",\"extensions\":[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{\"source\":\"iana\",\"extensions\":[\"mvt\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.marlin.drm.conftoken+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.marlin.drm.license+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.marlin.drm.mdcf\":{\"source\":\"iana\"},\"application/vnd.mason+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.maxar.archive.3tz+zip\":{\"source\":\"iana\",\"compressible\":false},\"application/vnd.maxmind.maxmind-db\":{\"source\":\"iana\"},\"application/vnd.mcd\":{\"source\":\"iana\",\"extensions\":[\"mcd\"]},\"application/vnd.medcalcdata\":{\"source\":\"iana\",\"extensions\":[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{\"source\":\"iana\",\"extensions\":[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{\"source\":\"iana\"},\"application/vnd.mfer\":{\"source\":\"iana\",\"extensions\":[\"mwf\"]},\"application/vnd.mfmp\":{\"source\":\"iana\",\"extensions\":[\"mfm\"]},\"application/vnd.micro+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.micrografx.flo\":{\"source\":\"iana\",\"extensions\":[\"flo\"]},\"application/vnd.micrografx.igx\":{\"source\":\"iana\",\"extensions\":[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{\"source\":\"iana\"},\"application/vnd.microsoft.windows.thumbnail-cache\":{\"source\":\"iana\"},\"application/vnd.miele+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.mif\":{\"source\":\"iana\",\"extensions\":[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{\"source\":\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{\"source\":\"iana\"},\"application/vnd.mobius.daf\":{\"source\":\"iana\",\"extensions\":[\"daf\"]},\"application/vnd.mobius.dis\":{\"source\":\"iana\",\"extensions\":[\"dis\"]},\"application/vnd.mobius.mbk\":{\"source\":\"iana\",\"extensions\":[\"mbk\"]},\"application/vnd.mobius.mqy\":{\"source\":\"iana\",\"extensions\":[\"mqy\"]},\"application/vnd.mobius.msl\":{\"source\":\"iana\",\"extensions\":[\"msl\"]},\"application/vnd.mobius.plc\":{\"source\":\"iana\",\"extensions\":[\"plc\"]},\"application/vnd.mobius.txf\":{\"source\":\"iana\",\"extensions\":[\"txf\"]},\"application/vnd.mophun.application\":{\"source\":\"iana\",\"extensions\":[\"mpn\"]},\"application/vnd.mophun.certificate\":{\"source\":\"iana\",\"extensions\":[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{\"source\":\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{\"source\":\"iana\"},\"application/vnd.motorola.iprm\":{\"source\":\"iana\"},\"application/vnd.mozilla.xul+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xul\"]},\"application/vnd.ms-3mfdocument\":{\"source\":\"iana\"},\"application/vnd.ms-artgalry\":{\"source\":\"iana\",\"extensions\":[\"cil\"]},\"application/vnd.ms-asf\":{\"source\":\"iana\"},\"application/vnd.ms-cab-compressed\":{\"source\":\"iana\",\"extensions\":[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{\"source\":\"apache\"},\"application/vnd.ms-excel\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"xltm\"]},\"application/vnd.ms-fontobject\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"eot\"]},\"application/vnd.ms-htmlhelp\":{\"source\":\"iana\",\"extensions\":[\"chm\"]},\"application/vnd.ms-ims\":{\"source\":\"iana\",\"extensions\":[\"ims\"]},\"application/vnd.ms-lrm\":{\"source\":\"iana\",\"extensions\":[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ms-officetheme\":{\"source\":\"iana\",\"extensions\":[\"thmx\"]},\"application/vnd.ms-opentype\":{\"source\":\"apache\",\"compressible\":true},\"application/vnd.ms-outlook\":{\"compressible\":false,\"extensions\":[\"msg\"]},\"application/vnd.ms-package.obfuscated-opentype\":{\"source\":\"apache\"},\"application/vnd.ms-pki.seccat\":{\"source\":\"apache\",\"extensions\":[\"cat\"]},\"application/vnd.ms-pki.stl\":{\"source\":\"apache\",\"extensions\":[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ms-powerpoint\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ms-printing.printticket+xml\":{\"source\":\"apache\",\"compressible\":true},\"application/vnd.ms-printschematicket+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ms-project\":{\"source\":\"iana\",\"extensions\":[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{\"source\":\"iana\"},\"application/vnd.ms-windows.devicepairing\":{\"source\":\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{\"source\":\"iana\"},\"application/vnd.ms-windows.printerpairing\":{\"source\":\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{\"source\":\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{\"source\":\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{\"source\":\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{\"source\":\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{\"source\":\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{\"source\":\"iana\",\"extensions\":[\"dotm\"]},\"application/vnd.ms-works\":{\"source\":\"iana\",\"extensions\":[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{\"source\":\"iana\",\"extensions\":[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"xps\"]},\"application/vnd.msa-disk-image\":{\"source\":\"iana\"},\"application/vnd.mseq\":{\"source\":\"iana\",\"extensions\":[\"mseq\"]},\"application/vnd.msign\":{\"source\":\"iana\"},\"application/vnd.multiad.creator\":{\"source\":\"iana\"},\"application/vnd.multiad.creator.cif\":{\"source\":\"iana\"},\"application/vnd.music-niff\":{\"source\":\"iana\"},\"application/vnd.musician\":{\"source\":\"iana\",\"extensions\":[\"mus\"]},\"application/vnd.muvee.style\":{\"source\":\"iana\",\"extensions\":[\"msty\"]},\"application/vnd.mynfc\":{\"source\":\"iana\",\"extensions\":[\"taglet\"]},\"application/vnd.nacamar.ybrid+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.ncd.control\":{\"source\":\"iana\"},\"application/vnd.ncd.reference\":{\"source\":\"iana\"},\"application/vnd.nearst.inv+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nebumind.line\":{\"source\":\"iana\"},\"application/vnd.nervana\":{\"source\":\"iana\"},\"application/vnd.netfpx\":{\"source\":\"iana\"},\"application/vnd.neurolanguage.nlu\":{\"source\":\"iana\",\"extensions\":[\"nlu\"]},\"application/vnd.nimn\":{\"source\":\"iana\"},\"application/vnd.nintendo.nitro.rom\":{\"source\":\"iana\"},\"application/vnd.nintendo.snes.rom\":{\"source\":\"iana\"},\"application/vnd.nitf\":{\"source\":\"iana\",\"extensions\":[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{\"source\":\"iana\",\"extensions\":[\"nnd\"]},\"application/vnd.noblenet-sealer\":{\"source\":\"iana\",\"extensions\":[\"nns\"]},\"application/vnd.noblenet-web\":{\"source\":\"iana\",\"extensions\":[\"nnw\"]},\"application/vnd.nokia.catalogs\":{\"source\":\"iana\"},\"application/vnd.nokia.conml+wbxml\":{\"source\":\"iana\"},\"application/vnd.nokia.conml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nokia.iptv.config+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nokia.isds-radio-presets\":{\"source\":\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{\"source\":\"iana\"},\"application/vnd.nokia.landmark+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nokia.landmarkcollection+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nokia.n-gage.ac+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ac\"]},\"application/vnd.nokia.n-gage.data\":{\"source\":\"iana\",\"extensions\":[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{\"source\":\"iana\",\"extensions\":[\"n-gage\"]},\"application/vnd.nokia.ncd\":{\"source\":\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{\"source\":\"iana\"},\"application/vnd.nokia.pcd+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.nokia.radio-preset\":{\"source\":\"iana\",\"extensions\":[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{\"source\":\"iana\",\"extensions\":[\"rpss\"]},\"application/vnd.novadigm.edm\":{\"source\":\"iana\",\"extensions\":[\"edm\"]},\"application/vnd.novadigm.edx\":{\"source\":\"iana\",\"extensions\":[\"edx\"]},\"application/vnd.novadigm.ext\":{\"source\":\"iana\",\"extensions\":[\"ext\"]},\"application/vnd.ntt-local.content-share\":{\"source\":\"iana\"},\"application/vnd.ntt-local.file-transfer\":{\"source\":\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{\"source\":\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\"source\":\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{\"source\":\"iana\"},\"application/vnd.oasis.opendocument.chart\":{\"source\":\"iana\",\"extensions\":[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{\"source\":\"iana\",\"extensions\":[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{\"source\":\"iana\",\"extensions\":[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{\"source\":\"iana\",\"extensions\":[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{\"source\":\"iana\",\"extensions\":[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{\"source\":\"iana\",\"extensions\":[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{\"source\":\"iana\",\"extensions\":[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{\"source\":\"iana\",\"extensions\":[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{\"source\":\"iana\",\"extensions\":[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{\"source\":\"iana\",\"extensions\":[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{\"source\":\"iana\",\"extensions\":[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{\"source\":\"iana\",\"extensions\":[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{\"source\":\"iana\",\"extensions\":[\"oth\"]},\"application/vnd.obn\":{\"source\":\"iana\"},\"application/vnd.ocf+cbor\":{\"source\":\"iana\"},\"application/vnd.oci.image.manifest.v1+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oftn.l10n+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.contentaccessdownload+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.contentaccessstreaming+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.cspg-hexbinary\":{\"source\":\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.dae.xhtml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.mippvcontrolmessage+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.pae.gem\":{\"source\":\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.spdlist+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.ueprofile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oipf.userprofile+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.olpc-sugar\":{\"source\":\"iana\",\"extensions\":[\"xo\"]},\"application/vnd.oma-scws-config\":{\"source\":\"iana\"},\"application/vnd.oma-scws-http-request\":{\"source\":\"iana\"},\"application/vnd.oma-scws-http-response\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.drm-trigger+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.imd+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.ltkm\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.provisioningtrigger\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.sgboot\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.sgdu\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{\"source\":\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.sprov+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.bcast.stkm\":{\"source\":\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.cab-feature-handler+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.cab-pcc+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.cab-subs-invite+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.cab-user-prefs+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.dcd\":{\"source\":\"iana\"},\"application/vnd.oma.dcdc\":{\"source\":\"iana\"},\"application/vnd.oma.dd2+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.group-usage-list+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.lwm2m+cbor\":{\"source\":\"iana\"},\"application/vnd.oma.lwm2m+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.lwm2m+tlv\":{\"source\":\"iana\"},\"application/vnd.oma.pal+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.poc.detailed-progress-report+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.poc.final-report+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.poc.groups+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.poc.invocation-descriptor+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.poc.optimized-progress-report+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.push\":{\"source\":\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oma.xcap-directory+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.omads-email+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.omads-file+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.omads-folder+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.omaloc-supl-init\":{\"source\":\"iana\"},\"application/vnd.onepager\":{\"source\":\"iana\"},\"application/vnd.onepagertamp\":{\"source\":\"iana\"},\"application/vnd.onepagertamx\":{\"source\":\"iana\"},\"application/vnd.onepagertat\":{\"source\":\"iana\"},\"application/vnd.onepagertatp\":{\"source\":\"iana\"},\"application/vnd.onepagertatx\":{\"source\":\"iana\"},\"application/vnd.openblox.game+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"obgx\"]},\"application/vnd.openblox.game-binary\":{\"source\":\"iana\"},\"application/vnd.openeye.oeb\":{\"source\":\"iana\"},\"application/vnd.openofficeorg.extension\":{\"source\":\"apache\",\"extensions\":[\"oxt\"]},\"application/vnd.openstreetmap.data+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"osm\"]},\"application/vnd.opentimestamps.ots\":{\"source\":\"iana\"},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{\"source\":\"iana\",\"extensions\":[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{\"source\":\"iana\",\"extensions\":[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{\"source\":\"iana\",\"extensions\":[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{\"source\":\"iana\",\"extensions\":[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.theme+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{\"source\":\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{\"source\":\"iana\",\"extensions\":[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-package.core-properties+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.openxmlformats-package.relationships+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oracle.resource+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.orange.indata\":{\"source\":\"iana\"},\"application/vnd.osa.netdeploy\":{\"source\":\"iana\"},\"application/vnd.osgeo.mapguide.package\":{\"source\":\"iana\",\"extensions\":[\"mgp\"]},\"application/vnd.osgi.bundle\":{\"source\":\"iana\"},\"application/vnd.osgi.dp\":{\"source\":\"iana\",\"extensions\":[\"dp\"]},\"application/vnd.osgi.subsystem\":{\"source\":\"iana\",\"extensions\":[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.oxli.countgraph\":{\"source\":\"iana\"},\"application/vnd.pagerduty+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.palm\":{\"source\":\"iana\",\"extensions\":[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{\"source\":\"iana\"},\"application/vnd.paos.xml\":{\"source\":\"iana\"},\"application/vnd.patentdive\":{\"source\":\"iana\"},\"application/vnd.patientecommsdoc\":{\"source\":\"iana\"},\"application/vnd.pawaafile\":{\"source\":\"iana\",\"extensions\":[\"paw\"]},\"application/vnd.pcos\":{\"source\":\"iana\"},\"application/vnd.pg.format\":{\"source\":\"iana\",\"extensions\":[\"str\"]},\"application/vnd.pg.osasli\":{\"source\":\"iana\",\"extensions\":[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{\"source\":\"iana\"},\"application/vnd.picsel\":{\"source\":\"iana\",\"extensions\":[\"efif\"]},\"application/vnd.pmi.widget\":{\"source\":\"iana\",\"extensions\":[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.pocketlearn\":{\"source\":\"iana\",\"extensions\":[\"plf\"]},\"application/vnd.powerbuilder6\":{\"source\":\"iana\",\"extensions\":[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{\"source\":\"iana\"},\"application/vnd.powerbuilder7\":{\"source\":\"iana\"},\"application/vnd.powerbuilder7-s\":{\"source\":\"iana\"},\"application/vnd.powerbuilder75\":{\"source\":\"iana\"},\"application/vnd.powerbuilder75-s\":{\"source\":\"iana\"},\"application/vnd.preminet\":{\"source\":\"iana\"},\"application/vnd.previewsystems.box\":{\"source\":\"iana\",\"extensions\":[\"box\"]},\"application/vnd.proteus.magazine\":{\"source\":\"iana\",\"extensions\":[\"mgz\"]},\"application/vnd.psfs\":{\"source\":\"iana\"},\"application/vnd.publishare-delta-tree\":{\"source\":\"iana\",\"extensions\":[\"qps\"]},\"application/vnd.pvi.ptid1\":{\"source\":\"iana\",\"extensions\":[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{\"source\":\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.qualcomm.brew-app-res\":{\"source\":\"iana\"},\"application/vnd.quarantainenet\":{\"source\":\"iana\"},\"application/vnd.quark.quarkxpress\":{\"source\":\"iana\",\"extensions\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{\"source\":\"iana\"},\"application/vnd.radisys.moml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-audit+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-audit-conf+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-audit-conn+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-audit-dialog+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-audit-stream+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-conf+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-base+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-group+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-speech+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.radisys.msml-dialog-transform+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.rainstor.data\":{\"source\":\"iana\"},\"application/vnd.rapid\":{\"source\":\"iana\"},\"application/vnd.rar\":{\"source\":\"iana\",\"extensions\":[\"rar\"]},\"application/vnd.realvnc.bed\":{\"source\":\"iana\",\"extensions\":[\"bed\"]},\"application/vnd.recordare.musicxml\":{\"source\":\"iana\",\"extensions\":[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{\"source\":\"iana\"},\"application/vnd.resilient.logic\":{\"source\":\"iana\"},\"application/vnd.restful+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.rig.cryptonote\":{\"source\":\"iana\",\"extensions\":[\"cryptonote\"]},\"application/vnd.rim.cod\":{\"source\":\"apache\",\"extensions\":[\"cod\"]},\"application/vnd.rn-realmedia\":{\"source\":\"apache\",\"extensions\":[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{\"source\":\"apache\",\"extensions\":[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"link66\"]},\"application/vnd.rs-274x\":{\"source\":\"iana\"},\"application/vnd.ruckus.download\":{\"source\":\"iana\"},\"application/vnd.s3sms\":{\"source\":\"iana\"},\"application/vnd.sailingtracker.track\":{\"source\":\"iana\",\"extensions\":[\"st\"]},\"application/vnd.sar\":{\"source\":\"iana\"},\"application/vnd.sbm.cid\":{\"source\":\"iana\"},\"application/vnd.sbm.mid2\":{\"source\":\"iana\"},\"application/vnd.scribus\":{\"source\":\"iana\"},\"application/vnd.sealed.3df\":{\"source\":\"iana\"},\"application/vnd.sealed.csf\":{\"source\":\"iana\"},\"application/vnd.sealed.doc\":{\"source\":\"iana\"},\"application/vnd.sealed.eml\":{\"source\":\"iana\"},\"application/vnd.sealed.mht\":{\"source\":\"iana\"},\"application/vnd.sealed.net\":{\"source\":\"iana\"},\"application/vnd.sealed.ppt\":{\"source\":\"iana\"},\"application/vnd.sealed.tiff\":{\"source\":\"iana\"},\"application/vnd.sealed.xls\":{\"source\":\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{\"source\":\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{\"source\":\"iana\"},\"application/vnd.seemail\":{\"source\":\"iana\",\"extensions\":[\"see\"]},\"application/vnd.seis+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.sema\":{\"source\":\"iana\",\"extensions\":[\"sema\"]},\"application/vnd.semd\":{\"source\":\"iana\",\"extensions\":[\"semd\"]},\"application/vnd.semf\":{\"source\":\"iana\",\"extensions\":[\"semf\"]},\"application/vnd.shade-save-file\":{\"source\":\"iana\"},\"application/vnd.shana.informed.formdata\":{\"source\":\"iana\",\"extensions\":[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{\"source\":\"iana\",\"extensions\":[\"itp\"]},\"application/vnd.shana.informed.interchange\":{\"source\":\"iana\",\"extensions\":[\"iif\"]},\"application/vnd.shana.informed.package\":{\"source\":\"iana\",\"extensions\":[\"ipk\"]},\"application/vnd.shootproof+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.shopkick+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.shp\":{\"source\":\"iana\"},\"application/vnd.shx\":{\"source\":\"iana\"},\"application/vnd.sigrok.session\":{\"source\":\"iana\"},\"application/vnd.simtech-mindmapper\":{\"source\":\"iana\",\"extensions\":[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.smaf\":{\"source\":\"iana\",\"extensions\":[\"mmf\"]},\"application/vnd.smart.notebook\":{\"source\":\"iana\"},\"application/vnd.smart.teacher\":{\"source\":\"iana\",\"extensions\":[\"teacher\"]},\"application/vnd.snesdev-page-table\":{\"source\":\"iana\"},\"application/vnd.software602.filler.form+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"fo\"]},\"application/vnd.software602.filler.form-xml-zip\":{\"source\":\"iana\"},\"application/vnd.solent.sdkm+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{\"source\":\"iana\",\"extensions\":[\"dxp\"]},\"application/vnd.spotfire.sfs\":{\"source\":\"iana\",\"extensions\":[\"sfs\"]},\"application/vnd.sqlite3\":{\"source\":\"iana\"},\"application/vnd.sss-cod\":{\"source\":\"iana\"},\"application/vnd.sss-dtf\":{\"source\":\"iana\"},\"application/vnd.sss-ntf\":{\"source\":\"iana\"},\"application/vnd.stardivision.calc\":{\"source\":\"apache\",\"extensions\":[\"sdc\"]},\"application/vnd.stardivision.draw\":{\"source\":\"apache\",\"extensions\":[\"sda\"]},\"application/vnd.stardivision.impress\":{\"source\":\"apache\",\"extensions\":[\"sdd\"]},\"application/vnd.stardivision.math\":{\"source\":\"apache\",\"extensions\":[\"smf\"]},\"application/vnd.stardivision.writer\":{\"source\":\"apache\",\"extensions\":[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{\"source\":\"apache\",\"extensions\":[\"sgl\"]},\"application/vnd.stepmania.package\":{\"source\":\"iana\",\"extensions\":[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{\"source\":\"iana\",\"extensions\":[\"sm\"]},\"application/vnd.street-stream\":{\"source\":\"iana\"},\"application/vnd.sun.wadl+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wadl\"]},\"application/vnd.sun.xml.calc\":{\"source\":\"apache\",\"extensions\":[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{\"source\":\"apache\",\"extensions\":[\"stc\"]},\"application/vnd.sun.xml.draw\":{\"source\":\"apache\",\"extensions\":[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{\"source\":\"apache\",\"extensions\":[\"std\"]},\"application/vnd.sun.xml.impress\":{\"source\":\"apache\",\"extensions\":[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{\"source\":\"apache\",\"extensions\":[\"sti\"]},\"application/vnd.sun.xml.math\":{\"source\":\"apache\",\"extensions\":[\"sxm\"]},\"application/vnd.sun.xml.writer\":{\"source\":\"apache\",\"extensions\":[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{\"source\":\"apache\",\"extensions\":[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{\"source\":\"apache\",\"extensions\":[\"stw\"]},\"application/vnd.sus-calendar\":{\"source\":\"iana\",\"extensions\":[\"sus\",\"susp\"]},\"application/vnd.svd\":{\"source\":\"iana\",\"extensions\":[\"svd\"]},\"application/vnd.swiftview-ics\":{\"source\":\"iana\"},\"application/vnd.sycle+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.syft+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.symbian.install\":{\"source\":\"apache\",\"extensions\":[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"extensions\":[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{\"source\":\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{\"source\":\"iana\"},\"application/vnd.syncml.dmddf+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"ddf\"]},\"application/vnd.syncml.dmtnds+wbxml\":{\"source\":\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true},\"application/vnd.syncml.ds.notification\":{\"source\":\"iana\"},\"application/vnd.tableschema+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.tao.intent-module-archive\":{\"source\":\"iana\",\"extensions\":[\"tao\"]},\"application/vnd.tcpdump.pcap\":{\"source\":\"iana\",\"extensions\":[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.think-cell.ppttc+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.tmd.mediaflex.api+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.tml\":{\"source\":\"iana\"},\"application/vnd.tmobile-livetv\":{\"source\":\"iana\",\"extensions\":[\"tmo\"]},\"application/vnd.tri.onesource\":{\"source\":\"iana\"},\"application/vnd.trid.tpt\":{\"source\":\"iana\",\"extensions\":[\"tpt\"]},\"application/vnd.triscape.mxs\":{\"source\":\"iana\",\"extensions\":[\"mxs\"]},\"application/vnd.trueapp\":{\"source\":\"iana\",\"extensions\":[\"tra\"]},\"application/vnd.truedoc\":{\"source\":\"iana\"},\"application/vnd.ubisoft.webplayer\":{\"source\":\"iana\"},\"application/vnd.ufdl\":{\"source\":\"iana\",\"extensions\":[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{\"source\":\"iana\",\"extensions\":[\"utz\"]},\"application/vnd.umajin\":{\"source\":\"iana\",\"extensions\":[\"umj\"]},\"application/vnd.unity\":{\"source\":\"iana\",\"extensions\":[\"unityweb\"]},\"application/vnd.uoml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"uoml\"]},\"application/vnd.uplanet.alert\":{\"source\":\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.bearer-choice\":{\"source\":\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.cacheop\":{\"source\":\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.channel\":{\"source\":\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.list\":{\"source\":\"iana\"},\"application/vnd.uplanet.list-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.listcmd\":{\"source\":\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{\"source\":\"iana\"},\"application/vnd.uplanet.signal\":{\"source\":\"iana\"},\"application/vnd.uri-map\":{\"source\":\"iana\"},\"application/vnd.valve.source.material\":{\"source\":\"iana\"},\"application/vnd.vcx\":{\"source\":\"iana\",\"extensions\":[\"vcx\"]},\"application/vnd.vd-study\":{\"source\":\"iana\"},\"application/vnd.vectorworks\":{\"source\":\"iana\"},\"application/vnd.vel+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.verimatrix.vcas\":{\"source\":\"iana\"},\"application/vnd.veritone.aion+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.veryant.thin\":{\"source\":\"iana\"},\"application/vnd.ves.encrypted\":{\"source\":\"iana\"},\"application/vnd.vidsoft.vidconference\":{\"source\":\"iana\"},\"application/vnd.visio\":{\"source\":\"iana\",\"extensions\":[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{\"source\":\"iana\",\"extensions\":[\"vis\"]},\"application/vnd.vividence.scriptfile\":{\"source\":\"iana\"},\"application/vnd.vsf\":{\"source\":\"iana\",\"extensions\":[\"vsf\"]},\"application/vnd.wap.sic\":{\"source\":\"iana\"},\"application/vnd.wap.slc\":{\"source\":\"iana\"},\"application/vnd.wap.wbxml\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"extensions\":[\"wbxml\"]},\"application/vnd.wap.wmlc\":{\"source\":\"iana\",\"extensions\":[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{\"source\":\"iana\",\"extensions\":[\"wmlsc\"]},\"application/vnd.webturbo\":{\"source\":\"iana\",\"extensions\":[\"wtb\"]},\"application/vnd.wfa.dpp\":{\"source\":\"iana\"},\"application/vnd.wfa.p2p\":{\"source\":\"iana\"},\"application/vnd.wfa.wsc\":{\"source\":\"iana\"},\"application/vnd.windows.devicepairing\":{\"source\":\"iana\"},\"application/vnd.wmc\":{\"source\":\"iana\"},\"application/vnd.wmf.bootstrap\":{\"source\":\"iana\"},\"application/vnd.wolfram.mathematica\":{\"source\":\"iana\"},\"application/vnd.wolfram.mathematica.package\":{\"source\":\"iana\"},\"application/vnd.wolfram.player\":{\"source\":\"iana\",\"extensions\":[\"nbp\"]},\"application/vnd.wordperfect\":{\"source\":\"iana\",\"extensions\":[\"wpd\"]},\"application/vnd.wqd\":{\"source\":\"iana\",\"extensions\":[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{\"source\":\"iana\"},\"application/vnd.wt.stf\":{\"source\":\"iana\",\"extensions\":[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{\"source\":\"iana\"},\"application/vnd.wv.csp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.wv.ssp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.xacml+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.xara\":{\"source\":\"iana\",\"extensions\":[\"xar\"]},\"application/vnd.xfdl\":{\"source\":\"iana\",\"extensions\":[\"xfdl\"]},\"application/vnd.xfdl.webform\":{\"source\":\"iana\"},\"application/vnd.xmi+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/vnd.xmpie.cpkg\":{\"source\":\"iana\"},\"application/vnd.xmpie.dpkg\":{\"source\":\"iana\"},\"application/vnd.xmpie.plan\":{\"source\":\"iana\"},\"application/vnd.xmpie.ppkg\":{\"source\":\"iana\"},\"application/vnd.xmpie.xlim\":{\"source\":\"iana\"},\"application/vnd.yamaha.hv-dic\":{\"source\":\"iana\",\"extensions\":[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{\"source\":\"iana\",\"extensions\":[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{\"source\":\"iana\",\"extensions\":[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{\"source\":\"iana\",\"extensions\":[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{\"source\":\"iana\"},\"application/vnd.yamaha.smaf-audio\":{\"source\":\"iana\",\"extensions\":[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{\"source\":\"iana\",\"extensions\":[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{\"source\":\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{\"source\":\"iana\"},\"application/vnd.yaoweme\":{\"source\":\"iana\"},\"application/vnd.yellowriver-custom-menu\":{\"source\":\"iana\",\"extensions\":[\"cmp\"]},\"application/vnd.youtube.yt\":{\"source\":\"iana\"},\"application/vnd.zul\":{\"source\":\"iana\",\"extensions\":[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"zaz\"]},\"application/voicexml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"vxml\"]},\"application/voucher-cms+json\":{\"source\":\"iana\",\"compressible\":true},\"application/vq-rtcpxr\":{\"source\":\"iana\"},\"application/wasm\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wasm\"]},\"application/watcherinfo+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wif\"]},\"application/webpush-options+json\":{\"source\":\"iana\",\"compressible\":true},\"application/whoispp-query\":{\"source\":\"iana\"},\"application/whoispp-response\":{\"source\":\"iana\"},\"application/widget\":{\"source\":\"iana\",\"extensions\":[\"wgt\"]},\"application/winhlp\":{\"source\":\"apache\",\"extensions\":[\"hlp\"]},\"application/wita\":{\"source\":\"iana\"},\"application/wordperfect5.1\":{\"source\":\"iana\"},\"application/wsdl+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wsdl\"]},\"application/wspolicy+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"wspolicy\"]},\"application/x-7z-compressed\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"7z\"]},\"application/x-abiword\":{\"source\":\"apache\",\"extensions\":[\"abw\"]},\"application/x-ace-compressed\":{\"source\":\"apache\",\"extensions\":[\"ace\"]},\"application/x-amf\":{\"source\":\"apache\"},\"application/x-apple-diskimage\":{\"source\":\"apache\",\"extensions\":[\"dmg\"]},\"application/x-arj\":{\"compressible\":false,\"extensions\":[\"arj\"]},\"application/x-authorware-bin\":{\"source\":\"apache\",\"extensions\":[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{\"source\":\"apache\",\"extensions\":[\"aam\"]},\"application/x-authorware-seg\":{\"source\":\"apache\",\"extensions\":[\"aas\"]},\"application/x-bcpio\":{\"source\":\"apache\",\"extensions\":[\"bcpio\"]},\"application/x-bdoc\":{\"compressible\":false,\"extensions\":[\"bdoc\"]},\"application/x-bittorrent\":{\"source\":\"apache\",\"extensions\":[\"torrent\"]},\"application/x-blorb\":{\"source\":\"apache\",\"extensions\":[\"blb\",\"blorb\"]},\"application/x-bzip\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"bz\"]},\"application/x-bzip2\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"bz2\",\"boz\"]},\"application/x-cbr\":{\"source\":\"apache\",\"extensions\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{\"source\":\"apache\",\"extensions\":[\"vcd\"]},\"application/x-cfs-compressed\":{\"source\":\"apache\",\"extensions\":[\"cfs\"]},\"application/x-chat\":{\"source\":\"apache\",\"extensions\":[\"chat\"]},\"application/x-chess-pgn\":{\"source\":\"apache\",\"extensions\":[\"pgn\"]},\"application/x-chrome-extension\":{\"extensions\":[\"crx\"]},\"application/x-cocoa\":{\"source\":\"nginx\",\"extensions\":[\"cco\"]},\"application/x-compress\":{\"source\":\"apache\"},\"application/x-conference\":{\"source\":\"apache\",\"extensions\":[\"nsc\"]},\"application/x-cpio\":{\"source\":\"apache\",\"extensions\":[\"cpio\"]},\"application/x-csh\":{\"source\":\"apache\",\"extensions\":[\"csh\"]},\"application/x-deb\":{\"compressible\":false},\"application/x-debian-package\":{\"source\":\"apache\",\"extensions\":[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{\"source\":\"apache\",\"extensions\":[\"dgc\"]},\"application/x-director\":{\"source\":\"apache\",\"extensions\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{\"source\":\"apache\",\"extensions\":[\"wad\"]},\"application/x-dtbncx+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"ncx\"]},\"application/x-dtbook+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"dtb\"]},\"application/x-dtbresource+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"res\"]},\"application/x-dvi\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"dvi\"]},\"application/x-envoy\":{\"source\":\"apache\",\"extensions\":[\"evy\"]},\"application/x-eva\":{\"source\":\"apache\",\"extensions\":[\"eva\"]},\"application/x-font-bdf\":{\"source\":\"apache\",\"extensions\":[\"bdf\"]},\"application/x-font-dos\":{\"source\":\"apache\"},\"application/x-font-framemaker\":{\"source\":\"apache\"},\"application/x-font-ghostscript\":{\"source\":\"apache\",\"extensions\":[\"gsf\"]},\"application/x-font-libgrx\":{\"source\":\"apache\"},\"application/x-font-linux-psf\":{\"source\":\"apache\",\"extensions\":[\"psf\"]},\"application/x-font-pcf\":{\"source\":\"apache\",\"extensions\":[\"pcf\"]},\"application/x-font-snf\":{\"source\":\"apache\",\"extensions\":[\"snf\"]},\"application/x-font-speedo\":{\"source\":\"apache\"},\"application/x-font-sunos-news\":{\"source\":\"apache\"},\"application/x-font-type1\":{\"source\":\"apache\",\"extensions\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{\"source\":\"apache\"},\"application/x-freearc\":{\"source\":\"apache\",\"extensions\":[\"arc\"]},\"application/x-futuresplash\":{\"source\":\"apache\",\"extensions\":[\"spl\"]},\"application/x-gca-compressed\":{\"source\":\"apache\",\"extensions\":[\"gca\"]},\"application/x-glulx\":{\"source\":\"apache\",\"extensions\":[\"ulx\"]},\"application/x-gnumeric\":{\"source\":\"apache\",\"extensions\":[\"gnumeric\"]},\"application/x-gramps-xml\":{\"source\":\"apache\",\"extensions\":[\"gramps\"]},\"application/x-gtar\":{\"source\":\"apache\",\"extensions\":[\"gtar\"]},\"application/x-gzip\":{\"source\":\"apache\"},\"application/x-hdf\":{\"source\":\"apache\",\"extensions\":[\"hdf\"]},\"application/x-httpd-php\":{\"compressible\":true,\"extensions\":[\"php\"]},\"application/x-install-instructions\":{\"source\":\"apache\",\"extensions\":[\"install\"]},\"application/x-iso9660-image\":{\"source\":\"apache\",\"extensions\":[\"iso\"]},\"application/x-iwork-keynote-sffkey\":{\"extensions\":[\"key\"]},\"application/x-iwork-numbers-sffnumbers\":{\"extensions\":[\"numbers\"]},\"application/x-iwork-pages-sffpages\":{\"extensions\":[\"pages\"]},\"application/x-java-archive-diff\":{\"source\":\"nginx\",\"extensions\":[\"jardiff\"]},\"application/x-java-jnlp-file\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"jnlp\"]},\"application/x-javascript\":{\"compressible\":true},\"application/x-keepass2\":{\"extensions\":[\"kdbx\"]},\"application/x-latex\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"latex\"]},\"application/x-lua-bytecode\":{\"extensions\":[\"luac\"]},\"application/x-lzh-compressed\":{\"source\":\"apache\",\"extensions\":[\"lzh\",\"lha\"]},\"application/x-makeself\":{\"source\":\"nginx\",\"extensions\":[\"run\"]},\"application/x-mie\":{\"source\":\"apache\",\"extensions\":[\"mie\"]},\"application/x-mobipocket-ebook\":{\"source\":\"apache\",\"extensions\":[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{\"compressible\":false},\"application/x-ms-application\":{\"source\":\"apache\",\"extensions\":[\"application\"]},\"application/x-ms-shortcut\":{\"source\":\"apache\",\"extensions\":[\"lnk\"]},\"application/x-ms-wmd\":{\"source\":\"apache\",\"extensions\":[\"wmd\"]},\"application/x-ms-wmz\":{\"source\":\"apache\",\"extensions\":[\"wmz\"]},\"application/x-ms-xbap\":{\"source\":\"apache\",\"extensions\":[\"xbap\"]},\"application/x-msaccess\":{\"source\":\"apache\",\"extensions\":[\"mdb\"]},\"application/x-msbinder\":{\"source\":\"apache\",\"extensions\":[\"obd\"]},\"application/x-mscardfile\":{\"source\":\"apache\",\"extensions\":[\"crd\"]},\"application/x-msclip\":{\"source\":\"apache\",\"extensions\":[\"clp\"]},\"application/x-msdos-program\":{\"extensions\":[\"exe\"]},\"application/x-msdownload\":{\"source\":\"apache\",\"extensions\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{\"source\":\"apache\",\"extensions\":[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{\"source\":\"apache\",\"extensions\":[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{\"source\":\"apache\",\"extensions\":[\"mny\"]},\"application/x-mspublisher\":{\"source\":\"apache\",\"extensions\":[\"pub\"]},\"application/x-msschedule\":{\"source\":\"apache\",\"extensions\":[\"scd\"]},\"application/x-msterminal\":{\"source\":\"apache\",\"extensions\":[\"trm\"]},\"application/x-mswrite\":{\"source\":\"apache\",\"extensions\":[\"wri\"]},\"application/x-netcdf\":{\"source\":\"apache\",\"extensions\":[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{\"compressible\":true,\"extensions\":[\"pac\"]},\"application/x-nzb\":{\"source\":\"apache\",\"extensions\":[\"nzb\"]},\"application/x-perl\":{\"source\":\"nginx\",\"extensions\":[\"pl\",\"pm\"]},\"application/x-pilot\":{\"source\":\"nginx\",\"extensions\":[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{\"source\":\"apache\",\"extensions\":[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{\"source\":\"apache\",\"extensions\":[\"p7r\"]},\"application/x-pki-message\":{\"source\":\"iana\"},\"application/x-rar-compressed\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"rar\"]},\"application/x-redhat-package-manager\":{\"source\":\"nginx\",\"extensions\":[\"rpm\"]},\"application/x-research-info-systems\":{\"source\":\"apache\",\"extensions\":[\"ris\"]},\"application/x-sea\":{\"source\":\"nginx\",\"extensions\":[\"sea\"]},\"application/x-sh\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"sh\"]},\"application/x-shar\":{\"source\":\"apache\",\"extensions\":[\"shar\"]},\"application/x-shockwave-flash\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"swf\"]},\"application/x-silverlight-app\":{\"source\":\"apache\",\"extensions\":[\"xap\"]},\"application/x-sql\":{\"source\":\"apache\",\"extensions\":[\"sql\"]},\"application/x-stuffit\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"sit\"]},\"application/x-stuffitx\":{\"source\":\"apache\",\"extensions\":[\"sitx\"]},\"application/x-subrip\":{\"source\":\"apache\",\"extensions\":[\"srt\"]},\"application/x-sv4cpio\":{\"source\":\"apache\",\"extensions\":[\"sv4cpio\"]},\"application/x-sv4crc\":{\"source\":\"apache\",\"extensions\":[\"sv4crc\"]},\"application/x-t3vm-image\":{\"source\":\"apache\",\"extensions\":[\"t3\"]},\"application/x-tads\":{\"source\":\"apache\",\"extensions\":[\"gam\"]},\"application/x-tar\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"tar\"]},\"application/x-tcl\":{\"source\":\"apache\",\"extensions\":[\"tcl\",\"tk\"]},\"application/x-tex\":{\"source\":\"apache\",\"extensions\":[\"tex\"]},\"application/x-tex-tfm\":{\"source\":\"apache\",\"extensions\":[\"tfm\"]},\"application/x-texinfo\":{\"source\":\"apache\",\"extensions\":[\"texinfo\",\"texi\"]},\"application/x-tgif\":{\"source\":\"apache\",\"extensions\":[\"obj\"]},\"application/x-ustar\":{\"source\":\"apache\",\"extensions\":[\"ustar\"]},\"application/x-virtualbox-hdd\":{\"compressible\":true,\"extensions\":[\"hdd\"]},\"application/x-virtualbox-ova\":{\"compressible\":true,\"extensions\":[\"ova\"]},\"application/x-virtualbox-ovf\":{\"compressible\":true,\"extensions\":[\"ovf\"]},\"application/x-virtualbox-vbox\":{\"compressible\":true,\"extensions\":[\"vbox\"]},\"application/x-virtualbox-vbox-extpack\":{\"compressible\":false,\"extensions\":[\"vbox-extpack\"]},\"application/x-virtualbox-vdi\":{\"compressible\":true,\"extensions\":[\"vdi\"]},\"application/x-virtualbox-vhd\":{\"compressible\":true,\"extensions\":[\"vhd\"]},\"application/x-virtualbox-vmdk\":{\"compressible\":true,\"extensions\":[\"vmdk\"]},\"application/x-wais-source\":{\"source\":\"apache\",\"extensions\":[\"src\"]},\"application/x-web-app-manifest+json\":{\"compressible\":true,\"extensions\":[\"webapp\"]},\"application/x-www-form-urlencoded\":{\"source\":\"iana\",\"compressible\":true},\"application/x-x509-ca-cert\":{\"source\":\"iana\",\"extensions\":[\"der\",\"crt\",\"pem\"]},\"application/x-x509-ca-ra-cert\":{\"source\":\"iana\"},\"application/x-x509-next-ca-cert\":{\"source\":\"iana\"},\"application/x-xfig\":{\"source\":\"apache\",\"extensions\":[\"fig\"]},\"application/x-xliff+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"xlf\"]},\"application/x-xpinstall\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"xpi\"]},\"application/x-xz\":{\"source\":\"apache\",\"extensions\":[\"xz\"]},\"application/x-zmachine\":{\"source\":\"apache\",\"extensions\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{\"source\":\"iana\"},\"application/xacml+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xaml+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"xaml\"]},\"application/xcap-att+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xav\"]},\"application/xcap-caps+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xca\"]},\"application/xcap-diff+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xdf\"]},\"application/xcap-el+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xel\"]},\"application/xcap-error+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xcap-ns+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xns\"]},\"application/xcon-conference-info+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xcon-conference-info-diff+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xenc+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xenc\"]},\"application/xhtml+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{\"source\":\"apache\",\"compressible\":true},\"application/xliff+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xlf\"]},\"application/xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"dtd\"]},\"application/xml-external-parsed-entity\":{\"source\":\"iana\"},\"application/xml-patch+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xmpp+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/xop+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xop\"]},\"application/xproc+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"xpl\"]},\"application/xslt+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xsl\",\"xslt\"]},\"application/xspf+xml\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"xspf\"]},\"application/xv+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{\"source\":\"iana\",\"extensions\":[\"yang\"]},\"application/yang-data+json\":{\"source\":\"iana\",\"compressible\":true},\"application/yang-data+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/yang-patch+json\":{\"source\":\"iana\",\"compressible\":true},\"application/yang-patch+xml\":{\"source\":\"iana\",\"compressible\":true},\"application/yin+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"yin\"]},\"application/zip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"zip\"]},\"application/zlib\":{\"source\":\"iana\"},\"application/zstd\":{\"source\":\"iana\"},\"audio/1d-interleaved-parityfec\":{\"source\":\"iana\"},\"audio/32kadpcm\":{\"source\":\"iana\"},\"audio/3gpp\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"3gpp\"]},\"audio/3gpp2\":{\"source\":\"iana\"},\"audio/aac\":{\"source\":\"iana\"},\"audio/ac3\":{\"source\":\"iana\"},\"audio/adpcm\":{\"source\":\"apache\",\"extensions\":[\"adp\"]},\"audio/amr\":{\"source\":\"iana\",\"extensions\":[\"amr\"]},\"audio/amr-wb\":{\"source\":\"iana\"},\"audio/amr-wb+\":{\"source\":\"iana\"},\"audio/aptx\":{\"source\":\"iana\"},\"audio/asc\":{\"source\":\"iana\"},\"audio/atrac-advanced-lossless\":{\"source\":\"iana\"},\"audio/atrac-x\":{\"source\":\"iana\"},\"audio/atrac3\":{\"source\":\"iana\"},\"audio/basic\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"au\",\"snd\"]},\"audio/bv16\":{\"source\":\"iana\"},\"audio/bv32\":{\"source\":\"iana\"},\"audio/clearmode\":{\"source\":\"iana\"},\"audio/cn\":{\"source\":\"iana\"},\"audio/dat12\":{\"source\":\"iana\"},\"audio/dls\":{\"source\":\"iana\"},\"audio/dsr-es201108\":{\"source\":\"iana\"},\"audio/dsr-es202050\":{\"source\":\"iana\"},\"audio/dsr-es202211\":{\"source\":\"iana\"},\"audio/dsr-es202212\":{\"source\":\"iana\"},\"audio/dv\":{\"source\":\"iana\"},\"audio/dvi4\":{\"source\":\"iana\"},\"audio/eac3\":{\"source\":\"iana\"},\"audio/encaprtp\":{\"source\":\"iana\"},\"audio/evrc\":{\"source\":\"iana\"},\"audio/evrc-qcp\":{\"source\":\"iana\"},\"audio/evrc0\":{\"source\":\"iana\"},\"audio/evrc1\":{\"source\":\"iana\"},\"audio/evrcb\":{\"source\":\"iana\"},\"audio/evrcb0\":{\"source\":\"iana\"},\"audio/evrcb1\":{\"source\":\"iana\"},\"audio/evrcnw\":{\"source\":\"iana\"},\"audio/evrcnw0\":{\"source\":\"iana\"},\"audio/evrcnw1\":{\"source\":\"iana\"},\"audio/evrcwb\":{\"source\":\"iana\"},\"audio/evrcwb0\":{\"source\":\"iana\"},\"audio/evrcwb1\":{\"source\":\"iana\"},\"audio/evs\":{\"source\":\"iana\"},\"audio/flexfec\":{\"source\":\"iana\"},\"audio/fwdred\":{\"source\":\"iana\"},\"audio/g711-0\":{\"source\":\"iana\"},\"audio/g719\":{\"source\":\"iana\"},\"audio/g722\":{\"source\":\"iana\"},\"audio/g7221\":{\"source\":\"iana\"},\"audio/g723\":{\"source\":\"iana\"},\"audio/g726-16\":{\"source\":\"iana\"},\"audio/g726-24\":{\"source\":\"iana\"},\"audio/g726-32\":{\"source\":\"iana\"},\"audio/g726-40\":{\"source\":\"iana\"},\"audio/g728\":{\"source\":\"iana\"},\"audio/g729\":{\"source\":\"iana\"},\"audio/g7291\":{\"source\":\"iana\"},\"audio/g729d\":{\"source\":\"iana\"},\"audio/g729e\":{\"source\":\"iana\"},\"audio/gsm\":{\"source\":\"iana\"},\"audio/gsm-efr\":{\"source\":\"iana\"},\"audio/gsm-hr-08\":{\"source\":\"iana\"},\"audio/ilbc\":{\"source\":\"iana\"},\"audio/ip-mr_v2.5\":{\"source\":\"iana\"},\"audio/isac\":{\"source\":\"apache\"},\"audio/l16\":{\"source\":\"iana\"},\"audio/l20\":{\"source\":\"iana\"},\"audio/l24\":{\"source\":\"iana\",\"compressible\":false},\"audio/l8\":{\"source\":\"iana\"},\"audio/lpc\":{\"source\":\"iana\"},\"audio/melp\":{\"source\":\"iana\"},\"audio/melp1200\":{\"source\":\"iana\"},\"audio/melp2400\":{\"source\":\"iana\"},\"audio/melp600\":{\"source\":\"iana\"},\"audio/mhas\":{\"source\":\"iana\"},\"audio/midi\":{\"source\":\"apache\",\"extensions\":[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{\"source\":\"iana\",\"extensions\":[\"mxmf\"]},\"audio/mp3\":{\"compressible\":false,\"extensions\":[\"mp3\"]},\"audio/mp4\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{\"source\":\"iana\"},\"audio/mpa\":{\"source\":\"iana\"},\"audio/mpa-robust\":{\"source\":\"iana\"},\"audio/mpeg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{\"source\":\"iana\"},\"audio/musepack\":{\"source\":\"apache\"},\"audio/ogg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"oga\",\"ogg\",\"spx\",\"opus\"]},\"audio/opus\":{\"source\":\"iana\"},\"audio/parityfec\":{\"source\":\"iana\"},\"audio/pcma\":{\"source\":\"iana\"},\"audio/pcma-wb\":{\"source\":\"iana\"},\"audio/pcmu\":{\"source\":\"iana\"},\"audio/pcmu-wb\":{\"source\":\"iana\"},\"audio/prs.sid\":{\"source\":\"iana\"},\"audio/qcelp\":{\"source\":\"iana\"},\"audio/raptorfec\":{\"source\":\"iana\"},\"audio/red\":{\"source\":\"iana\"},\"audio/rtp-enc-aescm128\":{\"source\":\"iana\"},\"audio/rtp-midi\":{\"source\":\"iana\"},\"audio/rtploopback\":{\"source\":\"iana\"},\"audio/rtx\":{\"source\":\"iana\"},\"audio/s3m\":{\"source\":\"apache\",\"extensions\":[\"s3m\"]},\"audio/scip\":{\"source\":\"iana\"},\"audio/silk\":{\"source\":\"apache\",\"extensions\":[\"sil\"]},\"audio/smv\":{\"source\":\"iana\"},\"audio/smv-qcp\":{\"source\":\"iana\"},\"audio/smv0\":{\"source\":\"iana\"},\"audio/sofa\":{\"source\":\"iana\"},\"audio/sp-midi\":{\"source\":\"iana\"},\"audio/speex\":{\"source\":\"iana\"},\"audio/t140c\":{\"source\":\"iana\"},\"audio/t38\":{\"source\":\"iana\"},\"audio/telephone-event\":{\"source\":\"iana\"},\"audio/tetra_acelp\":{\"source\":\"iana\"},\"audio/tetra_acelp_bb\":{\"source\":\"iana\"},\"audio/tone\":{\"source\":\"iana\"},\"audio/tsvcis\":{\"source\":\"iana\"},\"audio/uemclip\":{\"source\":\"iana\"},\"audio/ulpfec\":{\"source\":\"iana\"},\"audio/usac\":{\"source\":\"iana\"},\"audio/vdvi\":{\"source\":\"iana\"},\"audio/vmr-wb\":{\"source\":\"iana\"},\"audio/vnd.3gpp.iufp\":{\"source\":\"iana\"},\"audio/vnd.4sb\":{\"source\":\"iana\"},\"audio/vnd.audiokoz\":{\"source\":\"iana\"},\"audio/vnd.celp\":{\"source\":\"iana\"},\"audio/vnd.cisco.nse\":{\"source\":\"iana\"},\"audio/vnd.cmles.radio-events\":{\"source\":\"iana\"},\"audio/vnd.cns.anp1\":{\"source\":\"iana\"},\"audio/vnd.cns.inf1\":{\"source\":\"iana\"},\"audio/vnd.dece.audio\":{\"source\":\"iana\",\"extensions\":[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{\"source\":\"iana\",\"extensions\":[\"eol\"]},\"audio/vnd.dlna.adts\":{\"source\":\"iana\"},\"audio/vnd.dolby.heaac.1\":{\"source\":\"iana\"},\"audio/vnd.dolby.heaac.2\":{\"source\":\"iana\"},\"audio/vnd.dolby.mlp\":{\"source\":\"iana\"},\"audio/vnd.dolby.mps\":{\"source\":\"iana\"},\"audio/vnd.dolby.pl2\":{\"source\":\"iana\"},\"audio/vnd.dolby.pl2x\":{\"source\":\"iana\"},\"audio/vnd.dolby.pl2z\":{\"source\":\"iana\"},\"audio/vnd.dolby.pulse.1\":{\"source\":\"iana\"},\"audio/vnd.dra\":{\"source\":\"iana\",\"extensions\":[\"dra\"]},\"audio/vnd.dts\":{\"source\":\"iana\",\"extensions\":[\"dts\"]},\"audio/vnd.dts.hd\":{\"source\":\"iana\",\"extensions\":[\"dtshd\"]},\"audio/vnd.dts.uhd\":{\"source\":\"iana\"},\"audio/vnd.dvb.file\":{\"source\":\"iana\"},\"audio/vnd.everad.plj\":{\"source\":\"iana\"},\"audio/vnd.hns.audio\":{\"source\":\"iana\"},\"audio/vnd.lucent.voice\":{\"source\":\"iana\",\"extensions\":[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{\"source\":\"iana\",\"extensions\":[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{\"source\":\"iana\"},\"audio/vnd.nortel.vbk\":{\"source\":\"iana\"},\"audio/vnd.nuera.ecelp4800\":{\"source\":\"iana\",\"extensions\":[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{\"source\":\"iana\",\"extensions\":[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{\"source\":\"iana\",\"extensions\":[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{\"source\":\"iana\"},\"audio/vnd.presonus.multitrack\":{\"source\":\"iana\"},\"audio/vnd.qcelp\":{\"source\":\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{\"source\":\"iana\"},\"audio/vnd.rip\":{\"source\":\"iana\",\"extensions\":[\"rip\"]},\"audio/vnd.rn-realaudio\":{\"compressible\":false},\"audio/vnd.sealedmedia.softseal.mpeg\":{\"source\":\"iana\"},\"audio/vnd.vmx.cvsd\":{\"source\":\"iana\"},\"audio/vnd.wave\":{\"compressible\":false},\"audio/vorbis\":{\"source\":\"iana\",\"compressible\":false},\"audio/vorbis-config\":{\"source\":\"iana\"},\"audio/wav\":{\"compressible\":false,\"extensions\":[\"wav\"]},\"audio/wave\":{\"compressible\":false,\"extensions\":[\"wav\"]},\"audio/webm\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"weba\"]},\"audio/x-aac\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"aac\"]},\"audio/x-aiff\":{\"source\":\"apache\",\"extensions\":[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"caf\"]},\"audio/x-flac\":{\"source\":\"apache\",\"extensions\":[\"flac\"]},\"audio/x-m4a\":{\"source\":\"nginx\",\"extensions\":[\"m4a\"]},\"audio/x-matroska\":{\"source\":\"apache\",\"extensions\":[\"mka\"]},\"audio/x-mpegurl\":{\"source\":\"apache\",\"extensions\":[\"m3u\"]},\"audio/x-ms-wax\":{\"source\":\"apache\",\"extensions\":[\"wax\"]},\"audio/x-ms-wma\":{\"source\":\"apache\",\"extensions\":[\"wma\"]},\"audio/x-pn-realaudio\":{\"source\":\"apache\",\"extensions\":[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{\"source\":\"apache\",\"extensions\":[\"rmp\"]},\"audio/x-realaudio\":{\"source\":\"nginx\",\"extensions\":[\"ra\"]},\"audio/x-tta\":{\"source\":\"apache\"},\"audio/x-wav\":{\"source\":\"apache\",\"extensions\":[\"wav\"]},\"audio/xm\":{\"source\":\"apache\",\"extensions\":[\"xm\"]},\"chemical/x-cdx\":{\"source\":\"apache\",\"extensions\":[\"cdx\"]},\"chemical/x-cif\":{\"source\":\"apache\",\"extensions\":[\"cif\"]},\"chemical/x-cmdf\":{\"source\":\"apache\",\"extensions\":[\"cmdf\"]},\"chemical/x-cml\":{\"source\":\"apache\",\"extensions\":[\"cml\"]},\"chemical/x-csml\":{\"source\":\"apache\",\"extensions\":[\"csml\"]},\"chemical/x-pdb\":{\"source\":\"apache\"},\"chemical/x-xyz\":{\"source\":\"apache\",\"extensions\":[\"xyz\"]},\"font/collection\":{\"source\":\"iana\",\"extensions\":[\"ttc\"]},\"font/otf\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"otf\"]},\"font/sfnt\":{\"source\":\"iana\"},\"font/ttf\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ttf\"]},\"font/woff\":{\"source\":\"iana\",\"extensions\":[\"woff\"]},\"font/woff2\":{\"source\":\"iana\",\"extensions\":[\"woff2\"]},\"image/aces\":{\"source\":\"iana\",\"extensions\":[\"exr\"]},\"image/apng\":{\"compressible\":false,\"extensions\":[\"apng\"]},\"image/avci\":{\"source\":\"iana\",\"extensions\":[\"avci\"]},\"image/avcs\":{\"source\":\"iana\",\"extensions\":[\"avcs\"]},\"image/avif\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"avif\"]},\"image/bmp\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"bmp\"]},\"image/cgm\":{\"source\":\"iana\",\"extensions\":[\"cgm\"]},\"image/dicom-rle\":{\"source\":\"iana\",\"extensions\":[\"drle\"]},\"image/emf\":{\"source\":\"iana\",\"extensions\":[\"emf\"]},\"image/fits\":{\"source\":\"iana\",\"extensions\":[\"fits\"]},\"image/g3fax\":{\"source\":\"iana\",\"extensions\":[\"g3\"]},\"image/gif\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"gif\"]},\"image/heic\":{\"source\":\"iana\",\"extensions\":[\"heic\"]},\"image/heic-sequence\":{\"source\":\"iana\",\"extensions\":[\"heics\"]},\"image/heif\":{\"source\":\"iana\",\"extensions\":[\"heif\"]},\"image/heif-sequence\":{\"source\":\"iana\",\"extensions\":[\"heifs\"]},\"image/hej2k\":{\"source\":\"iana\",\"extensions\":[\"hej2\"]},\"image/hsj2\":{\"source\":\"iana\",\"extensions\":[\"hsj2\"]},\"image/ief\":{\"source\":\"iana\",\"extensions\":[\"ief\"]},\"image/jls\":{\"source\":\"iana\",\"extensions\":[\"jls\"]},\"image/jp2\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"jp2\",\"jpg2\"]},\"image/jpeg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jph\":{\"source\":\"iana\",\"extensions\":[\"jph\"]},\"image/jphc\":{\"source\":\"iana\",\"extensions\":[\"jhc\"]},\"image/jpm\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"jpm\"]},\"image/jpx\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"jpx\",\"jpf\"]},\"image/jxr\":{\"source\":\"iana\",\"extensions\":[\"jxr\"]},\"image/jxra\":{\"source\":\"iana\",\"extensions\":[\"jxra\"]},\"image/jxrs\":{\"source\":\"iana\",\"extensions\":[\"jxrs\"]},\"image/jxs\":{\"source\":\"iana\",\"extensions\":[\"jxs\"]},\"image/jxsc\":{\"source\":\"iana\",\"extensions\":[\"jxsc\"]},\"image/jxsi\":{\"source\":\"iana\",\"extensions\":[\"jxsi\"]},\"image/jxss\":{\"source\":\"iana\",\"extensions\":[\"jxss\"]},\"image/ktx\":{\"source\":\"iana\",\"extensions\":[\"ktx\"]},\"image/ktx2\":{\"source\":\"iana\",\"extensions\":[\"ktx2\"]},\"image/naplps\":{\"source\":\"iana\"},\"image/pjpeg\":{\"compressible\":false},\"image/png\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"png\"]},\"image/prs.btif\":{\"source\":\"iana\",\"extensions\":[\"btif\"]},\"image/prs.pti\":{\"source\":\"iana\",\"extensions\":[\"pti\"]},\"image/pwg-raster\":{\"source\":\"iana\"},\"image/sgi\":{\"source\":\"apache\",\"extensions\":[\"sgi\"]},\"image/svg+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"svg\",\"svgz\"]},\"image/t38\":{\"source\":\"iana\",\"extensions\":[\"t38\"]},\"image/tiff\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"tif\",\"tiff\"]},\"image/tiff-fx\":{\"source\":\"iana\",\"extensions\":[\"tfx\"]},\"image/vnd.adobe.photoshop\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{\"source\":\"iana\",\"extensions\":[\"azv\"]},\"image/vnd.cns.inf2\":{\"source\":\"iana\"},\"image/vnd.dece.graphic\":{\"source\":\"iana\",\"extensions\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{\"source\":\"iana\",\"extensions\":[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{\"source\":\"iana\",\"extensions\":[\"sub\"]},\"image/vnd.dwg\":{\"source\":\"iana\",\"extensions\":[\"dwg\"]},\"image/vnd.dxf\":{\"source\":\"iana\",\"extensions\":[\"dxf\"]},\"image/vnd.fastbidsheet\":{\"source\":\"iana\",\"extensions\":[\"fbs\"]},\"image/vnd.fpx\":{\"source\":\"iana\",\"extensions\":[\"fpx\"]},\"image/vnd.fst\":{\"source\":\"iana\",\"extensions\":[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{\"source\":\"iana\",\"extensions\":[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{\"source\":\"iana\",\"extensions\":[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{\"source\":\"iana\"},\"image/vnd.microsoft.icon\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"ico\"]},\"image/vnd.mix\":{\"source\":\"iana\"},\"image/vnd.mozilla.apng\":{\"source\":\"iana\"},\"image/vnd.ms-dds\":{\"compressible\":true,\"extensions\":[\"dds\"]},\"image/vnd.ms-modi\":{\"source\":\"iana\",\"extensions\":[\"mdi\"]},\"image/vnd.ms-photo\":{\"source\":\"apache\",\"extensions\":[\"wdp\"]},\"image/vnd.net-fpx\":{\"source\":\"iana\",\"extensions\":[\"npx\"]},\"image/vnd.pco.b16\":{\"source\":\"iana\",\"extensions\":[\"b16\"]},\"image/vnd.radiance\":{\"source\":\"iana\"},\"image/vnd.sealed.png\":{\"source\":\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{\"source\":\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{\"source\":\"iana\"},\"image/vnd.svf\":{\"source\":\"iana\"},\"image/vnd.tencent.tap\":{\"source\":\"iana\",\"extensions\":[\"tap\"]},\"image/vnd.valve.source.texture\":{\"source\":\"iana\",\"extensions\":[\"vtf\"]},\"image/vnd.wap.wbmp\":{\"source\":\"iana\",\"extensions\":[\"wbmp\"]},\"image/vnd.xiff\":{\"source\":\"iana\",\"extensions\":[\"xif\"]},\"image/vnd.zbrush.pcx\":{\"source\":\"iana\",\"extensions\":[\"pcx\"]},\"image/webp\":{\"source\":\"apache\",\"extensions\":[\"webp\"]},\"image/wmf\":{\"source\":\"iana\",\"extensions\":[\"wmf\"]},\"image/x-3ds\":{\"source\":\"apache\",\"extensions\":[\"3ds\"]},\"image/x-cmu-raster\":{\"source\":\"apache\",\"extensions\":[\"ras\"]},\"image/x-cmx\":{\"source\":\"apache\",\"extensions\":[\"cmx\"]},\"image/x-freehand\":{\"source\":\"apache\",\"extensions\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{\"source\":\"apache\",\"compressible\":true,\"extensions\":[\"ico\"]},\"image/x-jng\":{\"source\":\"nginx\",\"extensions\":[\"jng\"]},\"image/x-mrsid-image\":{\"source\":\"apache\",\"extensions\":[\"sid\"]},\"image/x-ms-bmp\":{\"source\":\"nginx\",\"compressible\":true,\"extensions\":[\"bmp\"]},\"image/x-pcx\":{\"source\":\"apache\",\"extensions\":[\"pcx\"]},\"image/x-pict\":{\"source\":\"apache\",\"extensions\":[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{\"source\":\"apache\",\"extensions\":[\"pnm\"]},\"image/x-portable-bitmap\":{\"source\":\"apache\",\"extensions\":[\"pbm\"]},\"image/x-portable-graymap\":{\"source\":\"apache\",\"extensions\":[\"pgm\"]},\"image/x-portable-pixmap\":{\"source\":\"apache\",\"extensions\":[\"ppm\"]},\"image/x-rgb\":{\"source\":\"apache\",\"extensions\":[\"rgb\"]},\"image/x-tga\":{\"source\":\"apache\",\"extensions\":[\"tga\"]},\"image/x-xbitmap\":{\"source\":\"apache\",\"extensions\":[\"xbm\"]},\"image/x-xcf\":{\"compressible\":false},\"image/x-xpixmap\":{\"source\":\"apache\",\"extensions\":[\"xpm\"]},\"image/x-xwindowdump\":{\"source\":\"apache\",\"extensions\":[\"xwd\"]},\"message/cpim\":{\"source\":\"iana\"},\"message/delivery-status\":{\"source\":\"iana\"},\"message/disposition-notification\":{\"source\":\"iana\",\"extensions\":[\"disposition-notification\"]},\"message/external-body\":{\"source\":\"iana\"},\"message/feedback-report\":{\"source\":\"iana\"},\"message/global\":{\"source\":\"iana\",\"extensions\":[\"u8msg\"]},\"message/global-delivery-status\":{\"source\":\"iana\",\"extensions\":[\"u8dsn\"]},\"message/global-disposition-notification\":{\"source\":\"iana\",\"extensions\":[\"u8mdn\"]},\"message/global-headers\":{\"source\":\"iana\",\"extensions\":[\"u8hdr\"]},\"message/http\":{\"source\":\"iana\",\"compressible\":false},\"message/imdn+xml\":{\"source\":\"iana\",\"compressible\":true},\"message/news\":{\"source\":\"iana\"},\"message/partial\":{\"source\":\"iana\",\"compressible\":false},\"message/rfc822\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"eml\",\"mime\"]},\"message/s-http\":{\"source\":\"iana\"},\"message/sip\":{\"source\":\"iana\"},\"message/sipfrag\":{\"source\":\"iana\"},\"message/tracking-status\":{\"source\":\"iana\"},\"message/vnd.si.simp\":{\"source\":\"iana\"},\"message/vnd.wfa.wsc\":{\"source\":\"iana\",\"extensions\":[\"wsc\"]},\"model/3mf\":{\"source\":\"iana\",\"extensions\":[\"3mf\"]},\"model/e57\":{\"source\":\"iana\"},\"model/gltf+json\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"gltf\"]},\"model/gltf-binary\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"glb\"]},\"model/iges\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"igs\",\"iges\"]},\"model/mesh\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"msh\",\"mesh\",\"silo\"]},\"model/mtl\":{\"source\":\"iana\",\"extensions\":[\"mtl\"]},\"model/obj\":{\"source\":\"iana\",\"extensions\":[\"obj\"]},\"model/step\":{\"source\":\"iana\"},\"model/step+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"stpx\"]},\"model/step+zip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"stpz\"]},\"model/step-xml+zip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"stpxz\"]},\"model/stl\":{\"source\":\"iana\",\"extensions\":[\"stl\"]},\"model/vnd.collada+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"dae\"]},\"model/vnd.dwf\":{\"source\":\"iana\",\"extensions\":[\"dwf\"]},\"model/vnd.flatland.3dml\":{\"source\":\"iana\"},\"model/vnd.gdl\":{\"source\":\"iana\",\"extensions\":[\"gdl\"]},\"model/vnd.gs-gdl\":{\"source\":\"apache\"},\"model/vnd.gs.gdl\":{\"source\":\"iana\"},\"model/vnd.gtw\":{\"source\":\"iana\",\"extensions\":[\"gtw\"]},\"model/vnd.moml+xml\":{\"source\":\"iana\",\"compressible\":true},\"model/vnd.mts\":{\"source\":\"iana\",\"extensions\":[\"mts\"]},\"model/vnd.opengex\":{\"source\":\"iana\",\"extensions\":[\"ogex\"]},\"model/vnd.parasolid.transmit.binary\":{\"source\":\"iana\",\"extensions\":[\"x_b\"]},\"model/vnd.parasolid.transmit.text\":{\"source\":\"iana\",\"extensions\":[\"x_t\"]},\"model/vnd.pytha.pyox\":{\"source\":\"iana\"},\"model/vnd.rosette.annotated-data-model\":{\"source\":\"iana\"},\"model/vnd.sap.vds\":{\"source\":\"iana\",\"extensions\":[\"vds\"]},\"model/vnd.usdz+zip\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"usdz\"]},\"model/vnd.valve.source.compiled-map\":{\"source\":\"iana\",\"extensions\":[\"bsp\"]},\"model/vnd.vtu\":{\"source\":\"iana\",\"extensions\":[\"vtu\"]},\"model/vrml\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{\"source\":\"iana\",\"extensions\":[\"x3db\"]},\"model/x3d+vrml\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{\"source\":\"iana\",\"extensions\":[\"x3dv\"]},\"multipart/alternative\":{\"source\":\"iana\",\"compressible\":false},\"multipart/appledouble\":{\"source\":\"iana\"},\"multipart/byteranges\":{\"source\":\"iana\"},\"multipart/digest\":{\"source\":\"iana\"},\"multipart/encrypted\":{\"source\":\"iana\",\"compressible\":false},\"multipart/form-data\":{\"source\":\"iana\",\"compressible\":false},\"multipart/header-set\":{\"source\":\"iana\"},\"multipart/mixed\":{\"source\":\"iana\"},\"multipart/multilingual\":{\"source\":\"iana\"},\"multipart/parallel\":{\"source\":\"iana\"},\"multipart/related\":{\"source\":\"iana\",\"compressible\":false},\"multipart/report\":{\"source\":\"iana\"},\"multipart/signed\":{\"source\":\"iana\",\"compressible\":false},\"multipart/vnd.bint.med-plus\":{\"source\":\"iana\"},\"multipart/voice-message\":{\"source\":\"iana\"},\"multipart/x-mixed-replace\":{\"source\":\"iana\"},\"text/1d-interleaved-parityfec\":{\"source\":\"iana\"},\"text/cache-manifest\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"appcache\",\"manifest\"]},\"text/calendar\":{\"source\":\"iana\",\"extensions\":[\"ics\",\"ifb\"]},\"text/calender\":{\"compressible\":true},\"text/cmd\":{\"compressible\":true},\"text/coffeescript\":{\"extensions\":[\"coffee\",\"litcoffee\"]},\"text/cql\":{\"source\":\"iana\"},\"text/cql-expression\":{\"source\":\"iana\"},\"text/cql-identifier\":{\"source\":\"iana\"},\"text/css\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"css\"]},\"text/csv\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"csv\"]},\"text/csv-schema\":{\"source\":\"iana\"},\"text/directory\":{\"source\":\"iana\"},\"text/dns\":{\"source\":\"iana\"},\"text/ecmascript\":{\"source\":\"iana\"},\"text/encaprtp\":{\"source\":\"iana\"},\"text/enriched\":{\"source\":\"iana\"},\"text/fhirpath\":{\"source\":\"iana\"},\"text/flexfec\":{\"source\":\"iana\"},\"text/fwdred\":{\"source\":\"iana\"},\"text/gff3\":{\"source\":\"iana\"},\"text/grammar-ref-list\":{\"source\":\"iana\"},\"text/html\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{\"extensions\":[\"jade\"]},\"text/javascript\":{\"source\":\"iana\",\"compressible\":true},\"text/jcr-cnd\":{\"source\":\"iana\"},\"text/jsx\":{\"compressible\":true,\"extensions\":[\"jsx\"]},\"text/less\":{\"compressible\":true,\"extensions\":[\"less\"]},\"text/markdown\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"markdown\",\"md\"]},\"text/mathml\":{\"source\":\"nginx\",\"extensions\":[\"mml\"]},\"text/mdx\":{\"compressible\":true,\"extensions\":[\"mdx\"]},\"text/mizar\":{\"source\":\"iana\"},\"text/n3\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"n3\"]},\"text/parameters\":{\"source\":\"iana\",\"charset\":\"UTF-8\"},\"text/parityfec\":{\"source\":\"iana\"},\"text/plain\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{\"source\":\"iana\",\"charset\":\"UTF-8\"},\"text/prs.fallenstein.rst\":{\"source\":\"iana\"},\"text/prs.lines.tag\":{\"source\":\"iana\",\"extensions\":[\"dsc\"]},\"text/prs.prop.logic\":{\"source\":\"iana\"},\"text/raptorfec\":{\"source\":\"iana\"},\"text/red\":{\"source\":\"iana\"},\"text/rfc822-headers\":{\"source\":\"iana\"},\"text/richtext\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rtx\"]},\"text/rtf\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"rtf\"]},\"text/rtp-enc-aescm128\":{\"source\":\"iana\"},\"text/rtploopback\":{\"source\":\"iana\"},\"text/rtx\":{\"source\":\"iana\"},\"text/sgml\":{\"source\":\"iana\",\"extensions\":[\"sgml\",\"sgm\"]},\"text/shaclc\":{\"source\":\"iana\"},\"text/shex\":{\"source\":\"iana\",\"extensions\":[\"shex\"]},\"text/slim\":{\"extensions\":[\"slim\",\"slm\"]},\"text/spdx\":{\"source\":\"iana\",\"extensions\":[\"spdx\"]},\"text/strings\":{\"source\":\"iana\"},\"text/stylus\":{\"extensions\":[\"stylus\",\"styl\"]},\"text/t140\":{\"source\":\"iana\"},\"text/tab-separated-values\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"tsv\"]},\"text/troff\":{\"source\":\"iana\",\"extensions\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"extensions\":[\"ttl\"]},\"text/ulpfec\":{\"source\":\"iana\"},\"text/uri-list\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"vcard\"]},\"text/vnd.a\":{\"source\":\"iana\"},\"text/vnd.abc\":{\"source\":\"iana\"},\"text/vnd.ascii-art\":{\"source\":\"iana\"},\"text/vnd.curl\":{\"source\":\"iana\",\"extensions\":[\"curl\"]},\"text/vnd.curl.dcurl\":{\"source\":\"apache\",\"extensions\":[\"dcurl\"]},\"text/vnd.curl.mcurl\":{\"source\":\"apache\",\"extensions\":[\"mcurl\"]},\"text/vnd.curl.scurl\":{\"source\":\"apache\",\"extensions\":[\"scurl\"]},\"text/vnd.debian.copyright\":{\"source\":\"iana\",\"charset\":\"UTF-8\"},\"text/vnd.dmclientscript\":{\"source\":\"iana\"},\"text/vnd.dvb.subtitle\":{\"source\":\"iana\",\"extensions\":[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{\"source\":\"iana\",\"charset\":\"UTF-8\"},\"text/vnd.familysearch.gedcom\":{\"source\":\"iana\",\"extensions\":[\"ged\"]},\"text/vnd.ficlab.flt\":{\"source\":\"iana\"},\"text/vnd.fly\":{\"source\":\"iana\",\"extensions\":[\"fly\"]},\"text/vnd.fmi.flexstor\":{\"source\":\"iana\",\"extensions\":[\"flx\"]},\"text/vnd.gml\":{\"source\":\"iana\"},\"text/vnd.graphviz\":{\"source\":\"iana\",\"extensions\":[\"gv\"]},\"text/vnd.hans\":{\"source\":\"iana\"},\"text/vnd.hgl\":{\"source\":\"iana\"},\"text/vnd.in3d.3dml\":{\"source\":\"iana\",\"extensions\":[\"3dml\"]},\"text/vnd.in3d.spot\":{\"source\":\"iana\",\"extensions\":[\"spot\"]},\"text/vnd.iptc.newsml\":{\"source\":\"iana\"},\"text/vnd.iptc.nitf\":{\"source\":\"iana\"},\"text/vnd.latex-z\":{\"source\":\"iana\"},\"text/vnd.motorola.reflex\":{\"source\":\"iana\"},\"text/vnd.ms-mediapackage\":{\"source\":\"iana\"},\"text/vnd.net2phone.commcenter.command\":{\"source\":\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{\"source\":\"iana\"},\"text/vnd.senx.warpscript\":{\"source\":\"iana\"},\"text/vnd.si.uricatalogue\":{\"source\":\"iana\"},\"text/vnd.sosi\":{\"source\":\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"extensions\":[\"jad\"]},\"text/vnd.trolltech.linguist\":{\"source\":\"iana\",\"charset\":\"UTF-8\"},\"text/vnd.wap.si\":{\"source\":\"iana\"},\"text/vnd.wap.sl\":{\"source\":\"iana\"},\"text/vnd.wap.wml\":{\"source\":\"iana\",\"extensions\":[\"wml\"]},\"text/vnd.wap.wmlscript\":{\"source\":\"iana\",\"extensions\":[\"wmls\"]},\"text/vtt\":{\"source\":\"iana\",\"charset\":\"UTF-8\",\"compressible\":true,\"extensions\":[\"vtt\"]},\"text/x-asm\":{\"source\":\"apache\",\"extensions\":[\"s\",\"asm\"]},\"text/x-c\":{\"source\":\"apache\",\"extensions\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{\"source\":\"nginx\",\"extensions\":[\"htc\"]},\"text/x-fortran\":{\"source\":\"apache\",\"extensions\":[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{\"compressible\":true},\"text/x-handlebars-template\":{\"extensions\":[\"hbs\"]},\"text/x-java-source\":{\"source\":\"apache\",\"extensions\":[\"java\"]},\"text/x-jquery-tmpl\":{\"compressible\":true},\"text/x-lua\":{\"extensions\":[\"lua\"]},\"text/x-markdown\":{\"compressible\":true,\"extensions\":[\"mkd\"]},\"text/x-nfo\":{\"source\":\"apache\",\"extensions\":[\"nfo\"]},\"text/x-opml\":{\"source\":\"apache\",\"extensions\":[\"opml\"]},\"text/x-org\":{\"compressible\":true,\"extensions\":[\"org\"]},\"text/x-pascal\":{\"source\":\"apache\",\"extensions\":[\"p\",\"pas\"]},\"text/x-processing\":{\"compressible\":true,\"extensions\":[\"pde\"]},\"text/x-sass\":{\"extensions\":[\"sass\"]},\"text/x-scss\":{\"extensions\":[\"scss\"]},\"text/x-setext\":{\"source\":\"apache\",\"extensions\":[\"etx\"]},\"text/x-sfv\":{\"source\":\"apache\",\"extensions\":[\"sfv\"]},\"text/x-suse-ymp\":{\"compressible\":true,\"extensions\":[\"ymp\"]},\"text/x-uuencode\":{\"source\":\"apache\",\"extensions\":[\"uu\"]},\"text/x-vcalendar\":{\"source\":\"apache\",\"extensions\":[\"vcs\"]},\"text/x-vcard\":{\"source\":\"apache\",\"extensions\":[\"vcf\"]},\"text/xml\":{\"source\":\"iana\",\"compressible\":true,\"extensions\":[\"xml\"]},\"text/xml-external-parsed-entity\":{\"source\":\"iana\"},\"text/yaml\":{\"compressible\":true,\"extensions\":[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{\"source\":\"iana\"},\"video/3gpp\":{\"source\":\"iana\",\"extensions\":[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{\"source\":\"iana\"},\"video/3gpp2\":{\"source\":\"iana\",\"extensions\":[\"3g2\"]},\"video/av1\":{\"source\":\"iana\"},\"video/bmpeg\":{\"source\":\"iana\"},\"video/bt656\":{\"source\":\"iana\"},\"video/celb\":{\"source\":\"iana\"},\"video/dv\":{\"source\":\"iana\"},\"video/encaprtp\":{\"source\":\"iana\"},\"video/ffv1\":{\"source\":\"iana\"},\"video/flexfec\":{\"source\":\"iana\"},\"video/h261\":{\"source\":\"iana\",\"extensions\":[\"h261\"]},\"video/h263\":{\"source\":\"iana\",\"extensions\":[\"h263\"]},\"video/h263-1998\":{\"source\":\"iana\"},\"video/h263-2000\":{\"source\":\"iana\"},\"video/h264\":{\"source\":\"iana\",\"extensions\":[\"h264\"]},\"video/h264-rcdo\":{\"source\":\"iana\"},\"video/h264-svc\":{\"source\":\"iana\"},\"video/h265\":{\"source\":\"iana\"},\"video/iso.segment\":{\"source\":\"iana\",\"extensions\":[\"m4s\"]},\"video/jpeg\":{\"source\":\"iana\",\"extensions\":[\"jpgv\"]},\"video/jpeg2000\":{\"source\":\"iana\"},\"video/jpm\":{\"source\":\"apache\",\"extensions\":[\"jpm\",\"jpgm\"]},\"video/jxsv\":{\"source\":\"iana\"},\"video/mj2\":{\"source\":\"iana\",\"extensions\":[\"mj2\",\"mjp2\"]},\"video/mp1s\":{\"source\":\"iana\"},\"video/mp2p\":{\"source\":\"iana\"},\"video/mp2t\":{\"source\":\"iana\",\"extensions\":[\"ts\"]},\"video/mp4\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{\"source\":\"iana\"},\"video/mpeg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{\"source\":\"iana\"},\"video/mpv\":{\"source\":\"iana\"},\"video/nv\":{\"source\":\"iana\"},\"video/ogg\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"ogv\"]},\"video/parityfec\":{\"source\":\"iana\"},\"video/pointer\":{\"source\":\"iana\"},\"video/quicktime\":{\"source\":\"iana\",\"compressible\":false,\"extensions\":[\"qt\",\"mov\"]},\"video/raptorfec\":{\"source\":\"iana\"},\"video/raw\":{\"source\":\"iana\"},\"video/rtp-enc-aescm128\":{\"source\":\"iana\"},\"video/rtploopback\":{\"source\":\"iana\"},\"video/rtx\":{\"source\":\"iana\"},\"video/scip\":{\"source\":\"iana\"},\"video/smpte291\":{\"source\":\"iana\"},\"video/smpte292m\":{\"source\":\"iana\"},\"video/ulpfec\":{\"source\":\"iana\"},\"video/vc1\":{\"source\":\"iana\"},\"video/vc2\":{\"source\":\"iana\"},\"video/vnd.cctv\":{\"source\":\"iana\"},\"video/vnd.dece.hd\":{\"source\":\"iana\",\"extensions\":[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{\"source\":\"iana\",\"extensions\":[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{\"source\":\"iana\"},\"video/vnd.dece.pd\":{\"source\":\"iana\",\"extensions\":[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{\"source\":\"iana\",\"extensions\":[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{\"source\":\"iana\",\"extensions\":[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{\"source\":\"iana\"},\"video/vnd.directv.mpeg-tts\":{\"source\":\"iana\"},\"video/vnd.dlna.mpeg-tts\":{\"source\":\"iana\"},\"video/vnd.dvb.file\":{\"source\":\"iana\",\"extensions\":[\"dvb\"]},\"video/vnd.fvt\":{\"source\":\"iana\",\"extensions\":[\"fvt\"]},\"video/vnd.hns.video\":{\"source\":\"iana\"},\"video/vnd.iptvforum.1dparityfec-1010\":{\"source\":\"iana\"},\"video/vnd.iptvforum.1dparityfec-2005\":{\"source\":\"iana\"},\"video/vnd.iptvforum.2dparityfec-1010\":{\"source\":\"iana\"},\"video/vnd.iptvforum.2dparityfec-2005\":{\"source\":\"iana\"},\"video/vnd.iptvforum.ttsavc\":{\"source\":\"iana\"},\"video/vnd.iptvforum.ttsmpeg2\":{\"source\":\"iana\"},\"video/vnd.motorola.video\":{\"source\":\"iana\"},\"video/vnd.motorola.videop\":{\"source\":\"iana\"},\"video/vnd.mpegurl\":{\"source\":\"iana\",\"extensions\":[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{\"source\":\"iana\",\"extensions\":[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{\"source\":\"iana\"},\"video/vnd.nokia.mp4vr\":{\"source\":\"iana\"},\"video/vnd.nokia.videovoip\":{\"source\":\"iana\"},\"video/vnd.objectvideo\":{\"source\":\"iana\"},\"video/vnd.radgamettools.bink\":{\"source\":\"iana\"},\"video/vnd.radgamettools.smacker\":{\"source\":\"iana\"},\"video/vnd.sealed.mpeg1\":{\"source\":\"iana\"},\"video/vnd.sealed.mpeg4\":{\"source\":\"iana\"},\"video/vnd.sealed.swf\":{\"source\":\"iana\"},\"video/vnd.sealedmedia.softseal.mov\":{\"source\":\"iana\"},\"video/vnd.uvvu.mp4\":{\"source\":\"iana\",\"extensions\":[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{\"source\":\"iana\",\"extensions\":[\"viv\"]},\"video/vnd.youtube.yt\":{\"source\":\"iana\"},\"video/vp8\":{\"source\":\"iana\"},\"video/vp9\":{\"source\":\"iana\"},\"video/webm\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"webm\"]},\"video/x-f4v\":{\"source\":\"apache\",\"extensions\":[\"f4v\"]},\"video/x-fli\":{\"source\":\"apache\",\"extensions\":[\"fli\"]},\"video/x-flv\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"flv\"]},\"video/x-m4v\":{\"source\":\"apache\",\"extensions\":[\"m4v\"]},\"video/x-matroska\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{\"source\":\"apache\",\"extensions\":[\"mng\"]},\"video/x-ms-asf\":{\"source\":\"apache\",\"extensions\":[\"asf\",\"asx\"]},\"video/x-ms-vob\":{\"source\":\"apache\",\"extensions\":[\"vob\"]},\"video/x-ms-wm\":{\"source\":\"apache\",\"extensions\":[\"wm\"]},\"video/x-ms-wmv\":{\"source\":\"apache\",\"compressible\":false,\"extensions\":[\"wmv\"]},\"video/x-ms-wmx\":{\"source\":\"apache\",\"extensions\":[\"wmx\"]},\"video/x-ms-wvx\":{\"source\":\"apache\",\"extensions\":[\"wvx\"]},\"video/x-msvideo\":{\"source\":\"apache\",\"extensions\":[\"avi\"]},\"video/x-sgi-movie\":{\"source\":\"apache\",\"extensions\":[\"movie\"]},\"video/x-smv\":{\"source\":\"apache\",\"extensions\":[\"smv\"]},\"x-conference/x-cooltalk\":{\"source\":\"apache\",\"extensions\":[\"ice\"]},\"x-shader/x-fragment\":{\"compressible\":true},\"x-shader/x-vertex\":{\"compressible\":true}}"); - -/***/ }), - -/***/ "./node_modules/mime-db/index.js": -/*!***************************************!*\ - !*** ./node_modules/mime-db/index.js ***! - \***************************************/ -/*! dynamic exports */ -/*! export application/1d-interleaved-parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/1d-interleaved-parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpdash-qoe-report+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/3gpdash-qoe-report+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpp-ims+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/3gpp-ims+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpphal+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/3gpphal+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/3gpphalforms+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/3gpphalforms+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/a2l [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/a2l */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ace+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ace+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/activemessage [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/activemessage */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/activity+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/activity+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-costmap+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-costmap+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-costmapfilter+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-costmapfilter+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-directory+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-directory+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointcost+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-endpointcost+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointcostparams+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-endpointcostparams+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointprop+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-endpointprop+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-endpointpropparams+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-endpointpropparams+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-error+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-error+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-networkmap+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-networkmap+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-networkmapfilter+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-networkmapfilter+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-updatestreamcontrol+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-updatestreamcontrol+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/alto-updatestreamparams+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/alto-updatestreamparams+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/aml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/aml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/andrew-inset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/andrew-inset */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/applefile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/applefile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/applixware [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/applixware */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/at+jwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/at+jwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atfx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atfx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atom+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atom+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomcat+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atomcat+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomdeleted+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atomdeleted+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomicmail [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atomicmail */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomsvc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atomsvc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-dwd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atsc-dwd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-dynamic-event-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atsc-dynamic-event-message */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-held+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atsc-held+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-rdt+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atsc-rdt+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atsc-rsat+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atsc-rsat+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/atxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/auth-policy+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/auth-policy+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/bacnet-xdd+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/bacnet-xdd+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/batch-smtp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/batch-smtp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/bdoc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/bdoc */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/beep+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/beep+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/calendar+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/calendar+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/calendar+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/calendar+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/call-completion [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/call-completion */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cals-1840 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cals-1840 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/captive+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/captive+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cbor-seq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cbor-seq */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cccex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cccex */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ccmp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ccmp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ccxml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ccxml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdfx+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdfx+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-capability [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdmi-capability */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-container [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdmi-container */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-domain [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdmi-domain */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-object [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdmi-object */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-queue [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdmi-queue */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdni [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cdni */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cea [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cea */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cea-2018+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cea-2018+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cellml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cellml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cfw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cfw */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/city+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/city+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/clr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clue+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/clue+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/clue_info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/clue_info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cms [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cms */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cnrp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cnrp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/coap-group+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/coap-group+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/coap-payload [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/coap-payload */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/commonground [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/commonground */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/conference-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/conference-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cose */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose-key [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cose-key */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cose-key-set [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cose-key-set */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cpl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cpl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csrattrs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/csrattrs */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csta+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/csta+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cstadata+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cstadata+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/csvm+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/csvm+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cu-seeme [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cu-seeme */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cybercash [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/cybercash */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dart */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dash+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dash+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dash-patch+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dash-patch+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dashdelta [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dashdelta */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/davmount+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/davmount+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dca-rft [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dca-rft */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dcd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dcd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dec-dx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dec-dx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dialog-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dialog-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dicom */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dicom+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dicom+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dicom+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dii [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dii */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dit [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dit */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dns */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dns+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dns-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dns-message */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/docbook+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/docbook+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dots+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dots+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dskpp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dskpp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+der [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dssc+der */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dssc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dvcs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/dvcs */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ecmascript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ecmascript */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edi-consent [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/edi-consent */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edi-x12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/edi-x12 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/edifact [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/edifact */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/efi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/efi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/elm+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/elm+json */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/elm+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/elm+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.cap+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.cap+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.comment+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.comment+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.control+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.control+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.deviceinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.deviceinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.ecall.msd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.ecall.msd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.providerinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.providerinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.serviceinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.serviceinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.subscriberinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.subscriberinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emergencycalldata.veds+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emergencycalldata.veds+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emma+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emma+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emotionml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/emotionml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/encaprtp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/encaprtp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/epp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/epp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/epub+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/epub+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/eshop [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/eshop */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/exi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/exi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/expect-ct-report+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/expect-ct-report+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/express [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/express */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fastinfoset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fastinfoset */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fastsoap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fastsoap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fdt+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fdt+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fhir+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fhir+json */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fhir+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fhir+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fido.trusted-apps+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fido.trusted-apps+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/fits [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/fits */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/flexfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/flexfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-sfnt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/font-sfnt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-tdpfr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/font-tdpfr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-woff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/font-woff */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/framework-attributes+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/framework-attributes+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geo+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/geo+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geo+json-seq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/geo+json-seq */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geopackage+sqlite3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/geopackage+sqlite3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/geoxacml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/geoxacml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gltf-buffer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/gltf-buffer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/gml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gpx+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/gpx+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gxf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/gxf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gzip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/gzip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/h224 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/h224 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/held+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/held+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/hjson [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/hjson */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/http [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/http */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/hyperstudio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/hyperstudio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-key-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ibe-key-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-pkg-reply+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ibe-pkg-reply+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ibe-pp-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ibe-pp-data */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/iges [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/iges */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/im-iscomposing+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/im-iscomposing+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/index */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.cmd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/index.cmd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.obj [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/index.obj */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/index.response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/index.vnd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/index.vnd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/inkml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/inkml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/iotp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/iotp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ipfix [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ipfix */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ipp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ipp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/isup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/isup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/its+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/its+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-archive [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/java-archive */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-serialized-object [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/java-serialized-object */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-vm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/java-vm */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/javascript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/javascript */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jf2feed+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jf2feed+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jose [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jose */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jose+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jose+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jrd+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jrd+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jscalendar+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jscalendar+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/json */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json-patch+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/json-patch+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json-seq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/json-seq */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json5 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/json5 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jsonml+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jsonml+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwk+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jwk+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwk-set+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jwk-set+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/jwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/kpml-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/kpml-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/kpml-response+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/kpml-response+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ld+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ld+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lgr+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/lgr+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/link-format [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/link-format */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/load-control+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/load-control+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lost+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/lost+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lostsync+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/lostsync+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lpf+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/lpf+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lxf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/lxf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-binhex40 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mac-binhex40 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-compactpro [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mac-compactpro */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/macwriteii [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/macwriteii */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mads+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mads+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/manifest+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/manifest+json */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/marc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marcxml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/marcxml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathematica [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mathematica */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mathml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml-content+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mathml-content+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml-presentation+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mathml-presentation+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-associated-procedure-description+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-associated-procedure-description+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-deregister+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-deregister+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-envelope+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-envelope+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-msk+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-msk+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-msk-response+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-msk-response+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-protection-description+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-protection-description+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-reception-report+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-reception-report+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-register+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-register+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-register-response+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-register-response+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-schedule+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-schedule+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbms-user-service-description+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbms-user-service-description+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbox [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mbox */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/media-policy-dataset+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/media-policy-dataset+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/media_control+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/media_control+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mediaservercontrol+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mediaservercontrol+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/merge-patch+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/merge-patch+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/metalink+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink4+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/metalink4+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mets+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mets+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mf4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mf4 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mikey [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mikey */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mipc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mipc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/missing-blocks+cbor-seq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/missing-blocks+cbor-seq */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mmt-aei+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mmt-aei+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mmt-usd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mmt-usd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mods+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mods+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/moss-keys [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/moss-keys */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/moss-signature [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/moss-signature */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mosskey-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mosskey-data */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mosskey-request [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mosskey-request */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp21 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mp21 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mp4 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-generic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mpeg4-generic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-iod [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mpeg4-iod */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mpeg4-iod-xmt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mpeg4-iod-xmt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mrb-consumer+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mrb-consumer+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mrb-publish+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mrb-publish+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msc-ivr+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/msc-ivr+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msc-mixer+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/msc-mixer+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msword [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/msword */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mud+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mud+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/multipart-core [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/multipart-core */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mxf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/mxf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/n-quads [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/n-quads */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/n-triples [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/n-triples */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nasdata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/nasdata */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-checkgroups [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/news-checkgroups */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-groupinfo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/news-groupinfo */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/news-transmission [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/news-transmission */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nlsml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/nlsml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/node [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/node */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/nss [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/nss */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oauth-authz-req+jwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oauth-authz-req+jwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oblivious-dns-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oblivious-dns-message */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ocsp-request [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ocsp-request */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ocsp-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ocsp-response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/octet-stream [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/octet-stream */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oda [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oda */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/odm+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/odm+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/odx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/odx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oebps-package+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oebps-package+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ogg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ogg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/omdoc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/omdoc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/onenote [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/onenote */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/opc-nodeset+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/opc-nodeset+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oscore [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oscore */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oxps [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/oxps */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p21 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/p21 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p21+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/p21+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/p2p-overlay+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/p2p-overlay+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/passport [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/passport */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/patch-ops-error+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/patch-ops-error+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pdf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pdx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pdx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pem-certificate-chain [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pem-certificate-chain */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-encrypted [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pgp-encrypted */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-keys [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pgp-keys */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-signature [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pgp-signature */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pics-rules [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pics-rules */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pidf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pidf+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pidf-diff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pidf-diff+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs10 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs10 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs12 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-mime [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs7-mime */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-signature [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs7-signature */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs8 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs8 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs8-encrypted [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkcs8-encrypted */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-attr-cert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkix-attr-cert */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-cert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkix-cert */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-crl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkix-crl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-pkipath [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkix-pkipath */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkixcmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pkixcmp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pls+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pls+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/poc-settings+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/poc-settings+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/postscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/postscript */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ppsp-tracker+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ppsp-tracker+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/problem+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/problem+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/problem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/problem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/provenance+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/provenance+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.alvestrand.titrax-sheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.alvestrand.titrax-sheet */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.cww [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.cww */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.cyn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.cyn */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.hpub+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.hpub+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.nprend [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.nprend */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.plucker [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.plucker */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.rdf-xml-crypt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.rdf-xml-crypt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.xsf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/prs.xsf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pskc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pskc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pvd+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/pvd+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/qsig [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/qsig */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/raml+yaml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/raml+yaml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/raptorfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/raptorfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rdap+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rdap+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rdf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rdf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/reginfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/reginfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/relax-ng-compact-syntax [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/relax-ng-compact-syntax */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/remote-printing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/remote-printing */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/reputon+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/reputon+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/resource-lists+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists-diff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/resource-lists-diff+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rfc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rfc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/riscos [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/riscos */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rlmi+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rlmi+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rls-services+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rls-services+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-apd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/route-apd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-s-tsid+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/route-s-tsid+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/route-usd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/route-usd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-ghostbusters [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rpki-ghostbusters */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-manifest [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rpki-manifest */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-publication [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rpki-publication */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-roa [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rpki-roa */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-updown [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rpki-updown */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rsd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rsd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rss+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rss+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rtf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtploopback [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rtploopback */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/rtx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/samlassertion+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/samlassertion+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/samlmetadata+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/samlmetadata+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sarif+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sarif+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sarif-external-properties+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sarif-external-properties+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sbe [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sbe */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sbml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sbml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scaip+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scaip+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scim+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scim+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-request [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scvp-cv-request */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scvp-cv-response */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-request [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scvp-vp-request */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/scvp-vp-response */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sdp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sdp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/secevent+jwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/secevent+jwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-etch+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml-etch+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-etch+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml-etch+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/senml-exi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/senml-exi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sensml+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sensml+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sensml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sensml-exi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sensml-exi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sep+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sep+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sep-exi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sep-exi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/session-info [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/session-info */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-payment [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/set-payment */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-payment-initiation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/set-payment-initiation */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-registration [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/set-registration */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-registration-initiation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/set-registration-initiation */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sgml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sgml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sgml-open-catalog [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sgml-open-catalog */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/shf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/shf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sieve [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sieve */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simple-filter+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/simple-filter+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simple-message-summary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/simple-message-summary */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/simplesymbolcontainer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/simplesymbolcontainer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sipc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sipc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/slate [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/slate */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smil [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/smil */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smil+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/smil+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smpte336m [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/smpte336m */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/soap+fastinfoset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/soap+fastinfoset */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/soap+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/soap+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-query [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sparql-query */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-results+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sparql-results+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/spdx+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/spdx+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/spirits-event+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/spirits-event+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sql [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sql */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/srgs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/srgs+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sru+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/sru+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssdl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ssdl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ssml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/stix+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/stix+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/swid+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/swid+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-apex-update [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-apex-update */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-apex-update-confirm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-apex-update-confirm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-community-update [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-community-update */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-community-update-confirm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-community-update-confirm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-error [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-error */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-sequence-adjust [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-sequence-adjust */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-sequence-adjust-confirm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-sequence-adjust-confirm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-status-query [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-status-query */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-status-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-status-response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-update [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-update */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tamp-update-confirm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tamp-update-confirm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tar */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/taxii+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/taxii+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/td+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/td+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tei+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tei+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tetra_isi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tetra_isi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/thraud+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/thraud+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamp-query [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/timestamp-query */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamp-reply [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/timestamp-reply */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamped-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/timestamped-data */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tlsrpt+gzip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tlsrpt+gzip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tlsrpt+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tlsrpt+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tnauthlist [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tnauthlist */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/token-introspection+jwt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/token-introspection+jwt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/toml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/toml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/trickle-ice-sdpfrag [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/trickle-ice-sdpfrag */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/trig [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/trig */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ttml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ttml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tve-trigger [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tve-trigger */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tzif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tzif */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tzif-leap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/tzif-leap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ubjson [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ubjson */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ulpfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/ulpfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-grpsheet+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/urc-grpsheet+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-ressheet+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/urc-ressheet+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-targetdesc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/urc-targetdesc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/urc-uisocketdesc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/urc-uisocketdesc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vcard+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vcard+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vcard+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vcard+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vemmi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vemmi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vividence.scriptfile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vividence.scriptfile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.1000minds.decision-model+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.1000minds.decision-model+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-prose+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp-prose+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-prose-pc3ch+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp-prose-pc3ch+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp-v2x-local-service-information [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp-v2x-local-service-information */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.5gnas [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.5gnas */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.access-transfer-events+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.access-transfer-events+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.bsf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.bsf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.gmop+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.gmop+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.gtpc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.gtpc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.interworking-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.interworking-data */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.lpp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.lpp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mc-signalling-ear [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mc-signalling-ear */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-affiliation-command+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-affiliation-command+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-payload [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-payload */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-service-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-service-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-signalling [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-signalling */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-ue-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-ue-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcdata-user-profile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcdata-user-profile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-affiliation-command+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-affiliation-command+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-floor-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-floor-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-location-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-location-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-mbms-usage-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-mbms-usage-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-service-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-service-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-signed+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-signed+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-ue-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-ue-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-ue-init-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-ue-init-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcptt-user-profile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcptt-user-profile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-affiliation-command+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-affiliation-command+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-affiliation-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-affiliation-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-location-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-location-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-mbms-usage-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-mbms-usage-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-service-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-service-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-transmission-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-transmission-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-ue-config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-ue-config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mcvideo-user-profile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mcvideo-user-profile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.mid-call+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.mid-call+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.ngap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.ngap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pfcp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.pfcp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-large [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.pic-bw-large */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-small [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.pic-bw-small */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-var [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.pic-bw-var */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.s1ap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.s1ap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.sms [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.sms */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.sms+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.sms+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.srvcc-ext+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.srvcc-ext+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.srvcc-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.srvcc-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.state-and-event-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.state-and-event-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.ussd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp.ussd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.bcmcsinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp2.bcmcsinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.sms [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp2.sms */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.tcap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3gpp2.tcap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3lightssoftware.imagescal [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3lightssoftware.imagescal */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3m.post-it-notes [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.3m.post-it-notes */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.aso [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.accpac.simply.aso */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.imp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.accpac.simply.imp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucobol [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.acucobol */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucorp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.acucorp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.air-application-installer-package+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.air-application-installer-package+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.flash.movie [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.flash.movie */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.formscentral.fcdt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.formscentral.fcdt */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.fxp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.fxp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.partial-upload [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.partial-upload */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xdp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.xdp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xfdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.adobe.xfdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aether.imp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.aether.imp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.afplinedata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.afplinedata */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.afplinedata-pagedef [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.afplinedata-pagedef */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.cmoca-cmresource [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.cmoca-cmresource */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-charset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.foca-charset */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-codedfont [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.foca-codedfont */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.foca-codepage [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.foca-codepage */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-cmtable [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-cmtable */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-formdef [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-formdef */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-mediummap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-mediummap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-objectcontainer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-objectcontainer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-overlay [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-overlay */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.afpc.modca-pagesegment [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.afpc.modca-pagesegment */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.age [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.age */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ah-barcode [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ah-barcode */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ahead.space [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ahead.space */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.airzip.filesecure.azf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.airzip.filesecure.azs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amadeus+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.amadeus+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amazon.ebook [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.amazon.ebook */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amazon.mobi8-ebook [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.amazon.mobi8-ebook */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.americandynamics.acc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.americandynamics.acc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amiga.ami [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.amiga.ami */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amundsen.maze+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.amundsen.maze+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.android.ota [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.android.ota */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.android.package-archive [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.android.package-archive */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anki [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.anki */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-certificate-issue-initiation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.anser-web-certificate-issue-initiation */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-funds-transfer-initiation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.anser-web-funds-transfer-initiation */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.antix.game-component [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.antix.game-component */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.arrow.file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apache.arrow.file */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.arrow.stream [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apache.arrow.stream */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.binary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apache.thrift.binary */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.compact [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apache.thrift.compact */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apache.thrift.json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apache.thrift.json */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.api+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.api+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aplextor.warrp+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.aplextor.warrp+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apothekende.reservation+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apothekende.reservation+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.installer+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.installer+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.keynote [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.keynote */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.mpegurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.mpegurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.numbers [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.numbers */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.pages [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.pages */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.pkpass [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.apple.pkpass */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.arastra.swi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.arastra.swi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aristanetworks.swi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.aristanetworks.swi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.artisan+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.artisan+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.artsquare [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.artsquare */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.astraea-software.iota [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.astraea-software.iota */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.audiograph [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.audiograph */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.autopackage [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.autopackage */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.avalon+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.avalon+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.avistar+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.avistar+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.balsamiq.bmml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.balsamiq.bmml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.balsamiq.bmpr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.balsamiq.bmpr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.banana-accounting [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.banana-accounting */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.error [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bbf.usp.error */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.msg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bbf.usp.msg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bbf.usp.msg+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bbf.usp.msg+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bekitzur-stech+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bekitzur-stech+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bint.med-content [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bint.med-content */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.biopax.rdf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.biopax.rdf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.blink-idb-value-wrapper [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.blink-idb-value-wrapper */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.blueice.multipass [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.blueice.multipass */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bluetooth.ep.oob [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bluetooth.ep.oob */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bluetooth.le.oob [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bluetooth.le.oob */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bmi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bmi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bpf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bpf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bpf3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.bpf3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.businessobjects [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.businessobjects */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.byu.uapi+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.byu.uapi+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cab-jscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cab-jscript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.canon-cpdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.canon-cpdl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.canon-lips [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.canon-lips */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.capasystems-pg+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.capasystems-pg+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cendio.thinlinc.clientconf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cendio.thinlinc.clientconf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.century-systems.tcp_stream [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.century-systems.tcp_stream */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chemdraw+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.chemdraw+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chess-pgn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.chess-pgn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chipnuts.karaoke-mmd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.chipnuts.karaoke-mmd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ciedi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ciedi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cinderella [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cinderella */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cirpack.isdn-ext [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cirpack.isdn-ext */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.citationstyles.style+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.citationstyles.style+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.claymore [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.claymore */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cloanto.rp9 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cloanto.rp9 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.clonk.c4group [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.clonk.c4group */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cluetrust.cartomobile-config */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config-pkg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cluetrust.cartomobile-config-pkg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.coffeescript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.coffeescript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.document [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.document */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.document-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.document-template */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.presentation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.presentation */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.presentation-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.presentation-template */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.spreadsheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.spreadsheet */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collabio.xodocuments.spreadsheet-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collabio.xodocuments.spreadsheet-template */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collection+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection.doc+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collection.doc+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.collection.next+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.collection.next+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.comicbook+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.comicbook+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.comicbook-rar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.comicbook-rar */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.commerce-battelle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.commerce-battelle */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.commonspace [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.commonspace */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.contact.cmsg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.contact.cmsg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.coreos.ignition+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.coreos.ignition+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cosmocaller [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cosmocaller */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crick.clicker */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.keyboard [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crick.clicker.keyboard */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.palette [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crick.clicker.palette */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crick.clicker.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.wordbank [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crick.clicker.wordbank */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.criticaltools.wbs+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.criticaltools.wbs+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptii.pipe+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cryptii.pipe+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crypto-shade-file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.crypto-shade-file */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptomator.encrypted [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cryptomator.encrypted */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cryptomator.vault [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cryptomator.vault */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ctc-posml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ctc-posml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ctct.ws+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ctct.ws+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-pdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cups-pdf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-postscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cups-postscript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-ppd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cups-ppd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-raster [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cups-raster */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-raw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cups-raw */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.curl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.car [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.curl.car */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.pcurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.curl.pcurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyan.dean.root+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cyan.dean.root+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cybank [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cybank */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyclonedx+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cyclonedx+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cyclonedx+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.cyclonedx+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d2l.coursepackage1p0+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.d2l.coursepackage1p0+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d3m-dataset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.d3m-dataset */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.d3m-problem [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.d3m-problem */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dart */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.data-vision.rdz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.data-vision.rdz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.datapackage+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.datapackage+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dataresource+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dataresource+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dbf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dbf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.debian.binary-package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.debian.binary-package */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dece.data */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.ttml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dece.ttml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.unspecified [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dece.unspecified */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dece.zip */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.denovo.fcselayout-link [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.denovo.fcselayout-link */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.desmume.movie [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.desmume.movie */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dir-bi.plate-dl-nosuffix [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dir-bi.plate-dl-nosuffix */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dm.delegation+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dm.delegation+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dna [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dna */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.document+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.document+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mlp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dolby.mlp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mobile.1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dolby.mobile.1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mobile.2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dolby.mobile.2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.doremir.scorecloud-binary-document [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.doremir.scorecloud-binary-document */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dpgraph [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dpgraph */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dreamfactory [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dreamfactory */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.drive+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.drive+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ds-keypoint [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ds-keypoint */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dtg.local */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local.flash [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dtg.local.flash */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dtg.local.html [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dtg.local.html */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ait [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ait */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.dvbisl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.dvbisl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.dvbj [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.dvbj */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.esgcontainer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.esgcontainer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcdftnotifaccess [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ipdcdftnotifaccess */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgaccess [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ipdcesgaccess */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgaccess2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ipdcesgaccess2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcesgpdd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ipdcesgpdd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ipdcroaming [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.ipdcroaming */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.iptv.alfec-base [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.iptv.alfec-base */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.iptv.alfec-enhancement [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.iptv.alfec-enhancement */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-aggregate-root+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-aggregate-root+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-container+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-container+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-generic+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-generic+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-msglist+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-ia-msglist+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-registration-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-ia-registration-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-ia-registration-response+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-ia-registration-response+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.notif-init+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.notif-init+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.pfr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.pfr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.service [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dvb.service */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dxr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dxr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dynageo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dynageo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dzr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.dzr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.easykaraoke.cdgdownload [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.easykaraoke.cdgdownload */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecdis-update [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecdis-update */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecip.rlp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecip.rlp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eclipse.ditto+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.eclipse.ditto+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.chart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.chart */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.filerequest [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.filerequest */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.fileupdate [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.fileupdate */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.series [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.series */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.seriesrequest [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.seriesrequest */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.seriesupdate [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ecowin.seriesupdate */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.efi.img [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.efi.img */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.efi.iso [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.efi.iso */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.emclient.accessrequest+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.emclient.accessrequest+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.enliven [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.enliven */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.enphase.envoy [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.enphase.envoy */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eprints.data+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.eprints.data+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.esf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.epson.esf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.msf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.epson.msf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.quickanime [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.epson.quickanime */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.salt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.epson.salt */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.ssf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.epson.ssf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ericsson.quickcall [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ericsson.quickcall */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.espass-espass+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.espass-espass+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eszigno3+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.eszigno3+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.aoc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.aoc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.asic-e+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.asic-e+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.asic-s+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.asic-s+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.cug+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.cug+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvcommand+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvcommand+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvdiscovery+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvdiscovery+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvprofile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvprofile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-bc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvsad-bc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-cod+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvsad-cod+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsad-npvr+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvsad-npvr+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvservice+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvservice+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvsync+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvsync+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.iptvueprofile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.iptvueprofile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.mcid+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.mcid+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.mheg5 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.mheg5 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.overload-control-policy-dataset+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.overload-control-policy-dataset+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.pstn+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.pstn+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.sci+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.sci+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.simservs+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.simservs+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.timestamp-token [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.timestamp-token */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.tsl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.tsl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.etsi.tsl.der [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.etsi.tsl.der */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eu.kasparian.car+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.eu.kasparian.car+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eudora.data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.eudora.data */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.profile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.evolv.ecig.profile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.settings [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.evolv.ecig.settings */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.evolv.ecig.theme [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.evolv.ecig.theme */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.exstream-empower+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.exstream-empower+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.exstream-package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.exstream-package */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-album [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ezpix-album */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ezpix-package */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.f-secure.mobile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.f-secure.mobile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.familysearch.gedcom+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.familysearch.gedcom+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fastcopy-disk-image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fastcopy-disk-image */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.mseed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fdsn.mseed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.seed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fdsn.seed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ffsns [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ffsns */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ficlab.flb+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ficlab.flb+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.filmit.zfc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.filmit.zfc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fints [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fints */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.firemonkeys.cloudcell [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.firemonkeys.cloudcell */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.flographit [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.flographit */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fluxtime.clip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fluxtime.clip */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.font-fontforge-sfd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.font-fontforge-sfd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.framemaker [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.framemaker */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.fnc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.frogans.fnc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.ltf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.frogans.ltf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fsc.weblaunch [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fsc.weblaunch */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujifilm.fb.docuworks */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks.binder [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujifilm.fb.docuworks.binder */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.docuworks.container [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujifilm.fb.docuworks.container */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujifilm.fb.jfi+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujifilm.fb.jfi+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujitsu.oasys */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujitsu.oasys2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujitsu.oasys3 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysgp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujitsu.oasysgp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysprs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujitsu.oasysprs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.art-ex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.art-ex */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.art4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.art4 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.ddd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.ddd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.docuworks */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks.binder [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.docuworks.binder */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks.container [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.docuworks.container */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.hbpl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fujixerox.hbpl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fut-misnet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fut-misnet */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.futoin+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.futoin+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.futoin+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.futoin+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fuzzysheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.fuzzysheet */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.genomatix.tuxedo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.genomatix.tuxedo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gentics.grd+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gentics.grd+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geo+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geo+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geocube+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geocube+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geogebra.file */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.slides [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geogebra.slides */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.tool [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geogebra.tool */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geometry-explorer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geometry-explorer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geonext [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geonext */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geoplan [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geoplan */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geospace [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.geospace */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gerber [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gerber */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.globalplatform.card-content-mgt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.globalplatform.card-content-mgt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.globalplatform.card-content-mgt-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.globalplatform.card-content-mgt-response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gmx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gmx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.document [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.google-apps.document */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.presentation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.google-apps.presentation */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.spreadsheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.google-apps.spreadsheet */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.google-earth.kml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kmz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.google-earth.kmz */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.e-form+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gov.sk.e-form+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.e-form+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gov.sk.e-form+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gov.sk.xmldatacontainer+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gov.sk.xmldatacontainer+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.grafeq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.grafeq */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gridmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.gridmp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-account [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-account */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-help [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-help */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-identity-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-identity-message */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-injector [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-injector */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-tool-message */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-tool-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-vcard [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.groove-vcard */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hal+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hal+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hal+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hal+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.handheld-entertainment+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.handheld-entertainment+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hbci [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hbci */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hc+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hc+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hcl-bireports [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hcl-bireports */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hdt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hdt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.heroku+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.heroku+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hhe.lesson-player [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hhe.lesson-player */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hl7cda+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hl7cda+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hl7v2+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hl7v2+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpgl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-hpgl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpid [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-hpid */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hps [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-hps */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-jlyt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-jlyt */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pcl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-pcl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pclxl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hp-pclxl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.httphone [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.httphone */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hydrostatix.sof-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hydrostatix.sof-data */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyper+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hyper+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyper-item+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hyper-item+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hyperdrive+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hyperdrive+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hzn-3d-crossword [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.hzn-3d-crossword */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.afplinedata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.afplinedata */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.electronic-media [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.electronic-media */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.minipay [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.minipay */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.modcap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.modcap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.rights-management [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.rights-management */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.secure-container [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ibm.secure-container */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iccprofile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iccprofile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ieee.1905 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ieee.1905 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.igloader [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.igloader */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.imagemeter.folder+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.imagemeter.folder+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.imagemeter.image+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.imagemeter.image+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.immervision-ivp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.immervision-ivu */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.imsccv1p1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.imsccv1p2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.imsccv1p3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.imsccv1p3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lis.v2.result+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lis.v2.result+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolconsumerprofile+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lti.v2.toolconsumerprofile+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolproxy+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lti.v2.toolproxy+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolproxy.id+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lti.v2.toolproxy.id+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolsettings+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lti.v2.toolsettings+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ims.lti.v2.toolsettings.simple+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ims.lti.v2.toolsettings.simple+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.informedcontrol.rms+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.informedcontrol.rms+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.informix-visionary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.informix-visionary */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.infotech.project [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.infotech.project */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.infotech.project+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.infotech.project+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.innopath.wamp.notification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.innopath.wamp.notification */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.insors.igm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.insors.igm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intercon.formnet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intercon.formnet */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intergeo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intergeo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intertrust.digibox [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intertrust.digibox */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intertrust.nncp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intertrust.nncp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qbo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intu.qbo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qfx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.intu.qfx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.catalogitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.catalogitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.conceptitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.conceptitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.knowledgeitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.knowledgeitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.newsitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.newsitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.newsmessage+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.newsmessage+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.packageitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.packageitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iptc.g2.planningitem+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iptc.g2.planningitem+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ipunplugged.rcprofile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ipunplugged.rcprofile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.irepository.package+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.irepository.package+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.is-xpr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.is-xpr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.isac.fcs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.isac.fcs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iso11783-10+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.iso11783-10+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jam [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.jam */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-directory-service [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-directory-service */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-jpnstore-wakeup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-jpnstore-wakeup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-payment-wakeup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-payment-wakeup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-registration [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-registration */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-registration-wakeup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-registration-wakeup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-setstore-wakeup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-setstore-wakeup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-verification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-verification */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.japannet-verification-wakeup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.japannet-verification-wakeup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jcp.javame.midlet-rms [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.jcp.javame.midlet-rms */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jisp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.jisp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.joost.joda-archive [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.joost.joda-archive */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jsk.isdn-ngn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.jsk.isdn-ngn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kahootz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kahootz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.karbon [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.karbon */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kchart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kchart */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kformula [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kformula */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kivio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kivio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kontour [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kontour */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kpresenter [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kpresenter */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kspread [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kspread */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kword [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kde.kword */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kenameaapp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kenameaapp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kidspiration [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kidspiration */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kinar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kinar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.koan [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.koan */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kodak-descriptor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.kodak-descriptor */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.las */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las.las+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.las.las+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las.las+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.las.las+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.laszip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.laszip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.leap+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.leap+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.liberty-request+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.liberty-request+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.desktop [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.llamagraphics.life-balance.desktop */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.exchange+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.llamagraphics.life-balance.exchange+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.logipipe.circuit+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.logipipe.circuit+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.loom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.loom */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-1-2-3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-1-2-3 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-approach [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-approach */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-freelance [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-freelance */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-notes [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-notes */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-organizer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-organizer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-screencam [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-screencam */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-wordpro [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.lotus-wordpro */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.macports.portpkg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.macports.portpkg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mapbox-vector-tile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mapbox-vector-tile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.actiontoken+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.marlin.drm.actiontoken+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.conftoken+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.marlin.drm.conftoken+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.license+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.marlin.drm.license+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.marlin.drm.mdcf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.marlin.drm.mdcf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mason+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mason+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.maxar.archive.3tz+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.maxar.archive.3tz+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.maxmind.maxmind-db [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.maxmind.maxmind-db */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mcd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mcd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.medcalcdata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.medcalcdata */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mediastation.cdkey [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mediastation.cdkey */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.meridian-slingshot [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.meridian-slingshot */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mfer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mfmp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micro+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.micro+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.flo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.micrografx.flo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.igx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.micrografx.igx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.microsoft.portable-executable [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.microsoft.portable-executable */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.microsoft.windows.thumbnail-cache [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.microsoft.windows.thumbnail-cache */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.miele+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.miele+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mif */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.minisoft-hp3000-save [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.minisoft-hp3000-save */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mitsubishi.misty-guard.trustweb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mitsubishi.misty-guard.trustweb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.daf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.daf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.dis [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.dis */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mbk [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.mbk */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mqy [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.mqy */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.msl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.msl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.plc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.plc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.txf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mobius.txf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.application [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mophun.application */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.certificate [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mophun.certificate */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.adsi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.adsi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.fis [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.fis */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.gotap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.gotap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.kmr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.kmr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.ttc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.ttc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.flexsuite.wem [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.flexsuite.wem */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.motorola.iprm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.motorola.iprm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mozilla.xul+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mozilla.xul+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-3mfdocument [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-3mfdocument */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-artgalry [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-artgalry */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-asf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-asf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-cab-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-cab-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-color.iccprofile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-color.iccprofile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-excel */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.addin.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-excel.addin.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.binary.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-excel.sheet.binary.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-excel.sheet.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.template.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-excel.template.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-fontobject [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-fontobject */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-htmlhelp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-htmlhelp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-ims [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-ims */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-lrm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-lrm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-office.activex+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-office.activex+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-officetheme [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-officetheme */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-opentype [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-opentype */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-outlook [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-outlook */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-package.obfuscated-opentype [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-package.obfuscated-opentype */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.seccat [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-pki.seccat */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.stl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-pki.stl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-playready.initiator+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-playready.initiator+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.addin.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint.addin.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.presentation.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint.presentation.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slide.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint.slide.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slideshow.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint.slideshow.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.template.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-powerpoint.template.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printdevicecapabilities+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-printdevicecapabilities+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printing.printticket+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-printing.printticket+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-printschematicket+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-printschematicket+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-project [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-project */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-tnef [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-tnef */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.devicepairing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-windows.devicepairing */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.nwprinting.oob [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-windows.nwprinting.oob */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.printerpairing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-windows.printerpairing */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-windows.wsd.oob [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-windows.wsd.oob */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.lic-chlg-req [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-wmdrm.lic-chlg-req */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.lic-resp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-wmdrm.lic-resp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.meter-chlg-req [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-wmdrm.meter-chlg-req */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wmdrm.meter-resp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-wmdrm.meter-resp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.document.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-word.document.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.template.macroenabled.12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-word.template.macroenabled.12 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-works [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-works */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wpl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-wpl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-xpsdocument [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ms-xpsdocument */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.msa-disk-image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.msa-disk-image */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mseq [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mseq */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.msign [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.msign */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.multiad.creator [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.multiad.creator */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.multiad.creator.cif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.multiad.creator.cif */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.music-niff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.music-niff */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.musician [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.musician */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.muvee.style [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.muvee.style */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mynfc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.mynfc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nacamar.ybrid+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nacamar.ybrid+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ncd.control [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ncd.control */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ncd.reference [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ncd.reference */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nearst.inv+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nearst.inv+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nebumind.line [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nebumind.line */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nervana [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nervana */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.netfpx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.netfpx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.neurolanguage.nlu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.neurolanguage.nlu */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nimn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nimn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nintendo.nitro.rom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nintendo.nitro.rom */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nintendo.snes.rom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nintendo.snes.rom */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nitf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nitf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-directory [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.noblenet-directory */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-sealer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.noblenet-sealer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-web [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.noblenet-web */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.catalogs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.catalogs */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.conml+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.conml+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.conml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.conml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.iptv.config+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.iptv.config+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.isds-radio-presets [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.isds-radio-presets */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmark+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.landmark+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmark+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.landmark+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.landmarkcollection+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.landmarkcollection+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.ac+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.n-gage.ac+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.n-gage.data */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.symbian.install [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.n-gage.symbian.install */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.ncd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.ncd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.pcd+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.pcd+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.pcd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.pcd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-preset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.radio-preset */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-presets [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.nokia.radio-presets */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.novadigm.edm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.novadigm.edx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.ext [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.novadigm.ext */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.content-share [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ntt-local.content-share */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.file-transfer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ntt-local.file-transfer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.ogw_remote-access [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ntt-local.ogw_remote-access */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.sip-ta_remote [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ntt-local.sip-ta_remote */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ntt-local.sip-ta_tcp_stream [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ntt-local.sip-ta_tcp_stream */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.chart */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.chart-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.database [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.database */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.formula */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.formula-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.graphics */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.graphics-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.image */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.image-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.presentation */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.presentation-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.spreadsheet */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.spreadsheet-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.text */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-master [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.text-master */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.text-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-web [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oasis.opendocument.text-web */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.obn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.obn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ocf+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ocf+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oci.image.manifest.v1+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oci.image.manifest.v1+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oftn.l10n+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oftn.l10n+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.contentaccessdownload+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.contentaccessdownload+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.contentaccessstreaming+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.contentaccessstreaming+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.cspg-hexbinary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.cspg-hexbinary */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.dae.svg+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.dae.svg+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.dae.xhtml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.dae.xhtml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.mippvcontrolmessage+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.mippvcontrolmessage+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.pae.gem [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.pae.gem */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.spdiscovery+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.spdiscovery+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.spdlist+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.spdlist+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.ueprofile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.ueprofile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oipf.userprofile+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oipf.userprofile+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.olpc-sugar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.olpc-sugar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-config [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma-scws-config */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-http-request [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma-scws-http-request */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma-scws-http-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma-scws-http-response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.associated-procedure-parameter+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.associated-procedure-parameter+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.drm-trigger+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.drm-trigger+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.imd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.imd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.ltkm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.ltkm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.notification+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.notification+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.provisioningtrigger [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.provisioningtrigger */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgboot [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.sgboot */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgdd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.sgdd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sgdu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.sgdu */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.simple-symbol-container [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.simple-symbol-container */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.smartcard-trigger+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.smartcard-trigger+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.sprov+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.sprov+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.bcast.stkm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.bcast.stkm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-address-book+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.cab-address-book+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-feature-handler+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.cab-feature-handler+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-pcc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.cab-pcc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-subs-invite+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.cab-subs-invite+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.cab-user-prefs+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.cab-user-prefs+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dcd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.dcd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dcdc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.dcdc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dd2+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.dd2+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.drm.risd+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.drm.risd+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.group-usage-list+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.group-usage-list+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+cbor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.lwm2m+cbor */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.lwm2m+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.lwm2m+tlv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.lwm2m+tlv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.pal+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.pal+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.detailed-progress-report+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.poc.detailed-progress-report+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.final-report+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.poc.final-report+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.groups+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.poc.groups+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.invocation-descriptor+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.poc.invocation-descriptor+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.poc.optimized-progress-report+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.poc.optimized-progress-report+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.push [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.push */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.scidm.messages+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.scidm.messages+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.xcap-directory+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oma.xcap-directory+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-email+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.omads-email+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-file+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.omads-file+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omads-folder+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.omads-folder+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.omaloc-supl-init [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.omaloc-supl-init */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepager [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepager */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertamp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepagertamp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertamx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepagertamx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertat [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepagertat */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertatp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepagertatp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.onepagertatx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.onepagertatx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openblox.game+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openblox.game+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openblox.game-binary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openblox.game-binary */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openeye.oeb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openeye.oeb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openofficeorg.extension [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openofficeorg.extension */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openstreetmap.data+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openstreetmap.data+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.opentimestamps.ots [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.opentimestamps.ots */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.custom-properties+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.custom-properties+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.customxmlproperties+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.customxmlproperties+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawing+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawing+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.chart+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.chart+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.extended-properties+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.extended-properties+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.comments+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.comments+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presentation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.presentation */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presprops+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.presprops+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slide [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slide */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slide+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slide+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideshow [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slideshow */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.tags+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.tags+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.template.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.template.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.sheet */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.theme+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.theme+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.themeoverride+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.themeoverride+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.vmldrawing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.vmldrawing */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.document */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.core-properties+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-package.core-properties+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-package.relationships+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.openxmlformats-package.relationships+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oracle.resource+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oracle.resource+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.orange.indata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.orange.indata */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osa.netdeploy [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.osa.netdeploy */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgeo.mapguide.package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.osgeo.mapguide.package */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.bundle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.osgi.bundle */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.dp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.osgi.dp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.subsystem [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.osgi.subsystem */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.otps.ct-kip+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.otps.ct-kip+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oxli.countgraph [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.oxli.countgraph */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pagerduty+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pagerduty+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.palm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.palm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.panoply [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.panoply */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.paos.xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.paos.xml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.patentdive [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.patentdive */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.patientecommsdoc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.patientecommsdoc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pawaafile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pawaafile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pcos [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pcos */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.format [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pg.format */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.osasli [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pg.osasli */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.piaccess.application-licence [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.piaccess.application-licence */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.picsel [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.picsel */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pmi.widget [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pmi.widget */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.poc.group-advertisement+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.poc.group-advertisement+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pocketlearn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pocketlearn */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder6 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder6 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder6-s [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder6-s */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder7 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder7 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder7-s [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder7-s */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder75 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder75 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder75-s [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.powerbuilder75-s */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.preminet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.preminet */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.previewsystems.box [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.previewsystems.box */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.proteus.magazine [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.proteus.magazine */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.psfs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.psfs */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.publishare-delta-tree [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.publishare-delta-tree */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pvi.ptid1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pvi.ptid1 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pwg-multiplexed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pwg-multiplexed */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pwg-xhtml-print+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.pwg-xhtml-print+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.qualcomm.brew-app-res [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.qualcomm.brew-app-res */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quarantainenet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.quarantainenet */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quark.quarkxpress [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.quark.quarkxpress */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quobject-quoxdocument [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.quobject-quoxdocument */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.moml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.moml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-audit+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-conf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-audit-conf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-conn+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-audit-conn+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-dialog+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-audit-dialog+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-audit-stream+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-audit-stream+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-conf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-conf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-base+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-base+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-fax-detect+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-fax-detect+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-fax-sendrecv+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-fax-sendrecv+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-group+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-group+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-speech+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-speech+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.radisys.msml-dialog-transform+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.radisys.msml-dialog-transform+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rainstor.data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rainstor.data */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rapid [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rapid */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.realvnc.bed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.realvnc.bed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.recordare.musicxml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.recordare.musicxml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.renlearn.rlprint [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.renlearn.rlprint */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.resilient.logic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.resilient.logic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.restful+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.restful+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rig.cryptonote [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rig.cryptonote */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rim.cod [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rim.cod */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rn-realmedia */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia-vbr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rn-realmedia-vbr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.route66.link66+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.route66.link66+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rs-274x [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.rs-274x */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ruckus.download [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ruckus.download */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.s3sms [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.s3sms */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sailingtracker.track [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sailingtracker.track */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sar */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sbm.cid [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sbm.cid */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sbm.mid2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sbm.mid2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.scribus [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.scribus */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.3df [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.3df */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.csf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.csf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.doc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.doc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.eml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.eml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.mht [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.mht */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.net [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.net */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.ppt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.ppt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.tiff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.tiff */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealed.xls [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealed.xls */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealedmedia.softseal.html [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealedmedia.softseal.html */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sealedmedia.softseal.pdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sealedmedia.softseal.pdf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.seemail [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.seemail */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.seis+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.seis+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sema [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sema */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.semd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.semf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shade-save-file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shade-save-file */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formdata [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shana.informed.formdata */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formtemplate [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shana.informed.formtemplate */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.interchange [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shana.informed.interchange */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shana.informed.package */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shootproof+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shootproof+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shopkick+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shopkick+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.shx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sigrok.session [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sigrok.session */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.simtech-mindmapper [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.simtech-mindmapper */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.siren+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.siren+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smaf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.smaf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smart.notebook [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.smart.notebook */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smart.teacher [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.smart.teacher */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.snesdev-page-table [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.snesdev-page-table */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.software602.filler.form+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.software602.filler.form+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.software602.filler.form-xml-zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.software602.filler.form-xml-zip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.solent.sdkm+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.solent.sdkm+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.dxp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.spotfire.dxp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.sfs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.spotfire.sfs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sqlite3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sqlite3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-cod [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sss-cod */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-dtf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sss-dtf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sss-ntf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sss-ntf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.calc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.calc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.draw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.draw */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.impress [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.impress */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.math [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.math */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.writer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer-global [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stardivision.writer-global */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stepmania.package */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.stepchart [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.stepmania.stepchart */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.street-stream [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.street-stream */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.wadl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.wadl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.calc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.calc.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.draw */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.draw.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.impress */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.impress.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.math [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.math */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.writer */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.global [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.writer.global */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sun.xml.writer.template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sus-calendar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sus-calendar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.svd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.svd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.swiftview-ics [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.swiftview-ics */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sycle+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.sycle+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syft+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syft+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.symbian.install [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.symbian.install */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dm+wbxml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dm+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm.notification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dm.notification */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmddf+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dmddf+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmddf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dmddf+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmtnds+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dmtnds+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dmtnds+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.dmtnds+xml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.ds.notification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.syncml.ds.notification */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tableschema+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tableschema+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tao.intent-module-archive [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tao.intent-module-archive */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tcpdump.pcap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tcpdump.pcap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.think-cell.ppttc+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.think-cell.ppttc+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tmd.mediaflex.api+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tmd.mediaflex.api+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tmobile-livetv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tmobile-livetv */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tri.onesource [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.tri.onesource */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trid.tpt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.trid.tpt */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.triscape.mxs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.triscape.mxs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trueapp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.trueapp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.truedoc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.truedoc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ubisoft.webplayer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ubisoft.webplayer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ufdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ufdl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uiq.theme [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uiq.theme */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.umajin [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.umajin */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.unity [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.unity */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uoml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uoml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.alert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.alert */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.alert-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.alert-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.bearer-choice [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.bearer-choice */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.bearer-choice-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.bearer-choice-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.cacheop [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.cacheop */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.cacheop-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.cacheop-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.channel [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.channel */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.channel-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.channel-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.list [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.list */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.list-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.list-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.listcmd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.listcmd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.listcmd-wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.listcmd-wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uplanet.signal [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uplanet.signal */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uri-map [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.uri-map */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.valve.source.material [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.valve.source.material */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vcx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vcx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vd-study [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vd-study */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vectorworks [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vectorworks */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vel+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vel+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.verimatrix.vcas [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.verimatrix.vcas */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.veritone.aion+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.veritone.aion+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.veryant.thin [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.veryant.thin */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ves.encrypted [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.ves.encrypted */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vidsoft.vidconference [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vidsoft.vidconference */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.visio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visionary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.visionary */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vividence.scriptfile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vividence.scriptfile */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vsf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.vsf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.sic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wap.sic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.slc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wap.slc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wap.wbxml */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wap.wmlc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlscriptc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wap.wmlscriptc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.webturbo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.webturbo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.dpp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wfa.dpp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.p2p [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wfa.p2p */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wfa.wsc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wfa.wsc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.windows.devicepairing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.windows.devicepairing */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wmc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wmc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wmf.bootstrap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wmf.bootstrap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.mathematica [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wolfram.mathematica */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.mathematica.package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wolfram.mathematica.package */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.player [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wolfram.player */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wordperfect [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wordperfect */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wqd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wqd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wrq-hp3000-labelled [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wrq-hp3000-labelled */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wt.stf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wt.stf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.csp+wbxml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wv.csp+wbxml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.csp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wv.csp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wv.ssp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.wv.ssp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xacml+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xacml+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xara [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xara */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xfdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xfdl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xfdl.webform [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xfdl.webform */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmi+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmi+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.cpkg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmpie.cpkg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.dpkg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmpie.dpkg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.plan [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmpie.plan */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.ppkg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmpie.ppkg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xmpie.xlim [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.xmpie.xlim */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-dic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.hv-dic */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-script [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.hv-script */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-voice [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.hv-voice */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.openscoreformat */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat.osfpvg+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.openscoreformat.osfpvg+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.remote-setup [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.remote-setup */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-audio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.smaf-audio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-phrase [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.smaf-phrase */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.through-ngn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.through-ngn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.tunnel-udpencap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yamaha.tunnel-udpencap */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yaoweme [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yaoweme */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yellowriver-custom-menu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.yellowriver-custom-menu */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.youtube.yt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.youtube.yt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zul [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.zul */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zzazz.deck+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vnd.zzazz.deck+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/voicexml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/voicexml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/voucher-cms+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/voucher-cms+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vq-rtcpxr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/vq-rtcpxr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wasm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/wasm */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/watcherinfo+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/watcherinfo+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/webpush-options+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/webpush-options+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/whoispp-query [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/whoispp-query */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/whoispp-response [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/whoispp-response */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/widget [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/widget */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/winhlp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/winhlp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wita [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/wita */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wordperfect5.1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/wordperfect5.1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wsdl+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/wsdl+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wspolicy+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/wspolicy+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-7z-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-7z-compressed */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-abiword [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-abiword */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ace-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ace-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-amf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-amf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-apple-diskimage [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-apple-diskimage */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-arj [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-arj */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-bin [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-authorware-bin */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-map [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-authorware-map */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-seg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-authorware-seg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bcpio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-bcpio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bdoc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-bdoc */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bittorrent [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-bittorrent */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-blorb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-blorb */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-bzip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-bzip2 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cbr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-cbr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cdlink [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-cdlink */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cfs-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-cfs-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chat [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-chat */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chess-pgn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-chess-pgn */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chrome-extension [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-chrome-extension */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cocoa [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-cocoa */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-compress [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-compress */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-conference [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-conference */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cpio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-cpio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-csh [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-csh */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-deb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-deb */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-debian-package [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-debian-package */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dgc-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-dgc-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-director [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-director */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-doom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-doom */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbncx+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-dtbncx+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbook+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-dtbook+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbresource+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-dtbresource+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dvi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-dvi */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-envoy [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-envoy */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-eva [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-eva */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-bdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-bdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-dos [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-dos */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-framemaker [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-framemaker */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-ghostscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-ghostscript */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-libgrx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-libgrx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-linux-psf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-linux-psf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-pcf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-pcf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-snf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-snf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-speedo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-speedo */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-sunos-news [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-sunos-news */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-type1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-type1 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-vfont [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-font-vfont */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-freearc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-freearc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-futuresplash [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-futuresplash */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gca-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-gca-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-glulx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-glulx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gnumeric [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-gnumeric */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gramps-xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-gramps-xml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gtar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-gtar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gzip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-gzip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-hdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-hdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-httpd-php [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-httpd-php */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-install-instructions [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-install-instructions */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iso9660-image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-iso9660-image */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-keynote-sffkey [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-iwork-keynote-sffkey */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-numbers-sffnumbers [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-iwork-numbers-sffnumbers */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iwork-pages-sffpages [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-iwork-pages-sffpages */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-java-archive-diff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-java-archive-diff */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-java-jnlp-file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-java-jnlp-file */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-javascript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-javascript */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-keepass2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-keepass2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-latex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-latex */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lua-bytecode [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-lua-bytecode */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lzh-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-lzh-compressed */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-makeself [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-makeself */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mie [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mie */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mobipocket-ebook [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mobipocket-ebook */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mpegurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mpegurl */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-application [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ms-application */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-shortcut [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ms-shortcut */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ms-wmd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ms-wmz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-xbap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ms-xbap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msaccess [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msaccess */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msbinder [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msbinder */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mscardfile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mscardfile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msclip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msclip */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msdos-program [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msdos-program */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msdownload [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msdownload */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmediaview [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msmediaview */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmetafile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msmetafile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmoney [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msmoney */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mspublisher [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mspublisher */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msschedule [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msschedule */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msterminal [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-msterminal */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mswrite [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-mswrite */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-netcdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-netcdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ns-proxy-autoconfig [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ns-proxy-autoconfig */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-nzb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-nzb */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-perl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-perl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pilot [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-pilot */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-pkcs12 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certificates [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-pkcs7-certificates */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certreqresp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-pkcs7-certreqresp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pki-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-pki-message */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-rar-compressed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-rar-compressed */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-redhat-package-manager [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-redhat-package-manager */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-research-info-systems [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-research-info-systems */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sea [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-sea */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sh [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-sh */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-shar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shockwave-flash [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-shockwave-flash */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-silverlight-app [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-silverlight-app */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sql [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-sql */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffit [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-stuffit */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffitx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-stuffitx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-subrip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-subrip */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4cpio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-sv4cpio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4crc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-sv4crc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-t3vm-image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-t3vm-image */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tads [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tads */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tar */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tcl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tcl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tex */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex-tfm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tex-tfm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-texinfo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-texinfo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tgif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-tgif */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ustar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-ustar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-hdd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-hdd */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ova [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-ova */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ovf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-ovf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-vbox */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox-extpack [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-vbox-extpack */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vdi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-vdi */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vhd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-vhd */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vmdk [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-virtualbox-vmdk */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-wais-source [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-wais-source */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-web-app-manifest+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-web-app-manifest+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-www-form-urlencoded [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-www-form-urlencoded */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-ca-cert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-x509-ca-cert */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-ca-ra-cert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-x509-ca-ra-cert */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-next-ca-cert [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-x509-next-ca-cert */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xfig [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-xfig */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xliff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-xliff+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xpinstall [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-xpinstall */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-xz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-zmachine [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x-zmachine */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x400-bp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/x400-bp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xacml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xacml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xaml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xaml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-att+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-att+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-caps+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-caps+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-diff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-diff+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-el+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-el+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-error+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-error+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-ns+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcap-ns+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcon-conference-info+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcon-conference-info+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcon-conference-info-diff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xcon-conference-info-diff+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xenc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xenc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xhtml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xhtml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xhtml-voice+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xhtml-voice+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xliff+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xliff+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-dtd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xml-dtd */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-external-parsed-entity [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xml-external-parsed-entity */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-patch+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xml-patch+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xmpp+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xmpp+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xop+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xop+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xproc+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xproc+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xslt+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xslt+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xspf+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xspf+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xv+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/xv+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yang */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-data+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yang-data+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-data+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yang-data+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-patch+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yang-patch+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang-patch+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yang-patch+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yin+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/yin+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zlib [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/zlib */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zstd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .application/zstd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/1d-interleaved-parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/1d-interleaved-parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/32kadpcm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/32kadpcm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/3gpp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/3gpp */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/3gpp2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/3gpp2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/aac [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/aac */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ac3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/ac3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/adpcm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/adpcm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/amr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr-wb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/amr-wb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/amr-wb+ [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/amr-wb+ */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/aptx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/aptx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/asc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/asc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac-advanced-lossless [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/atrac-advanced-lossless */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac-x [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/atrac-x */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/atrac3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/atrac3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/basic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/basic */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/bv16 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/bv16 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/bv32 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/bv32 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/clearmode [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/clearmode */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/cn [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/cn */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dat12 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dat12 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dls [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dls */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es201108 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dsr-es201108 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202050 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dsr-es202050 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202211 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dsr-es202211 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dsr-es202212 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dsr-es202212 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/dvi4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/dvi4 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/eac3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/eac3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/encaprtp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/encaprtp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc-qcp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrc-qcp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrc0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrc1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrc1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcb0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcb1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcb1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcnw */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcnw0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcnw1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcnw1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcwb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcwb0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evrcwb1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evrcwb1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/evs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/evs */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/flexfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/flexfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/fwdred [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/fwdred */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g711-0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g711-0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g719 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g719 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g722 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g722 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g7221 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g7221 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g723 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g723 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-16 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g726-16 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-24 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g726-24 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-32 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g726-32 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g726-40 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g726-40 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g728 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g728 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g729 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g7291 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g7291 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729d [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g729d */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/g729e [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/g729e */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/gsm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm-efr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/gsm-efr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/gsm-hr-08 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/gsm-hr-08 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ilbc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/ilbc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ip-mr_v2.5 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/ip-mr_v2.5 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/isac [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/isac */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l16 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/l16 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l20 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/l20 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l24 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/l24 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/l8 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/l8 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/lpc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/lpc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/melp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp1200 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/melp1200 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp2400 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/melp2400 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/melp600 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/melp600 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mhas [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mhas */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/midi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/midi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mobile-xmf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mobile-xmf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mp3 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mp4 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp4a-latm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mp4a-latm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpa [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mpa */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpa-robust [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mpa-robust */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mpeg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpeg4-generic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/mpeg4-generic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/musepack [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/musepack */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ogg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/ogg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/opus [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/opus */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcma [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/pcma */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcma-wb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/pcma-wb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcmu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/pcmu */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/pcmu-wb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/pcmu-wb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/prs.sid [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/prs.sid */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/qcelp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/qcelp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/raptorfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/raptorfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/red [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/red */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtp-enc-aescm128 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/rtp-enc-aescm128 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtp-midi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/rtp-midi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtploopback [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/rtploopback */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/rtx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/rtx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/s3m [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/s3m */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/scip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/scip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/silk [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/silk */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/smv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv-qcp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/smv-qcp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/smv0 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/smv0 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/sofa [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/sofa */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/sp-midi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/sp-midi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/speex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/speex */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/t140c [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/t140c */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/t38 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/t38 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/telephone-event [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/telephone-event */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tetra_acelp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/tetra_acelp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tetra_acelp_bb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/tetra_acelp_bb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tone [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/tone */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/tsvcis [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/tsvcis */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/uemclip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/uemclip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ulpfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/ulpfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/usac [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/usac */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vdvi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vdvi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vmr-wb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vmr-wb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.3gpp.iufp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.3gpp.iufp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.4sb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.4sb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.audiokoz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.audiokoz */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.celp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.celp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cisco.nse [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.cisco.nse */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cmles.radio-events [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.cmles.radio-events */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cns.anp1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.cns.anp1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.cns.inf1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.cns.inf1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dece.audio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dece.audio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.digital-winds [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.digital-winds */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dlna.adts [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dlna.adts */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.heaac.1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.heaac.1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.heaac.2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.heaac.2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.mlp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.mlp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.mps [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.mps */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.pl2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2x [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.pl2x */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pl2z [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.pl2z */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dolby.pulse.1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dolby.pulse.1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dra [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dra */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dts */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts.hd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dts.hd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts.uhd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dts.uhd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dvb.file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.dvb.file */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.everad.plj [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.everad.plj */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.hns.audio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.hns.audio */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.lucent.voice [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.lucent.voice */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.ms-playready.media.pya [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.ms-playready.media.pya */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nokia.mobile-xmf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.nokia.mobile-xmf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nortel.vbk [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.nortel.vbk */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp4800 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.nuera.ecelp4800 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp7470 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.nuera.ecelp7470 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp9600 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.nuera.ecelp9600 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.octel.sbc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.octel.sbc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.presonus.multitrack [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.presonus.multitrack */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.qcelp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.qcelp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rhetorex.32kadpcm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.rhetorex.32kadpcm */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.rip */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rn-realaudio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.rn-realaudio */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.sealedmedia.softseal.mpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.sealedmedia.softseal.mpeg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.vmx.cvsd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.vmx.cvsd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.wave [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vnd.wave */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vorbis [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vorbis */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vorbis-config [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/vorbis-config */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wav [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/wav */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wave [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/wave */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/webm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/webm */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aac [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-aac */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aiff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-aiff */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-caf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-caf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-flac [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-flac */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-m4a [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-m4a */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-matroska [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-matroska */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-mpegurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-mpegurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wax [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-ms-wax */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wma [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-ms-wma */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-pn-realaudio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio-plugin [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-pn-realaudio-plugin */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-realaudio [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-realaudio */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-tta [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-tta */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-wav [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/x-wav */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/xm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .audio/xm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cdx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-cdx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-cif */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cmdf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-cmdf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-cml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-csml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-csml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-pdb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-pdb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-xyz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .chemical/x-xyz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/collection [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/collection */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/otf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/otf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/sfnt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/sfnt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/ttf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/ttf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/woff */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .font/woff2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/aces [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/aces */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/apng [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/apng */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avci [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/avci */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avcs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/avcs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/avif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/avif */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/bmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/bmp */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/cgm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/cgm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/dicom-rle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/dicom-rle */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/emf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/emf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/fits [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/fits */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/g3fax [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/g3fax */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/gif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/gif */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/heic */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heic-sequence [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/heic-sequence */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/heif */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/heif-sequence [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/heif-sequence */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/hej2k [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/hej2k */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/hsj2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/hsj2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ief [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/ief */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jls [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jls */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jp2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jp2 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jpeg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jph [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jph */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jphc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jphc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jpm */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jpx */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxra [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxra */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxrs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxrs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxs [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxs */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxsc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxsc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxsi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxsi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jxss [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/jxss */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ktx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/ktx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ktx2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/ktx2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/naplps [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/naplps */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/pjpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/pjpeg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/png [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/png */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/prs.btif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/prs.btif */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/prs.pti [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/prs.pti */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/pwg-raster [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/pwg-raster */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/sgi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/sgi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/svg+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/svg+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/t38 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/t38 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/tiff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/tiff */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/tiff-fx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/tiff-fx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.adobe.photoshop [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.adobe.photoshop */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.airzip.accelerator.azv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.airzip.accelerator.azv */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.cns.inf2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.cns.inf2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dece.graphic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.dece.graphic */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.djvu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.djvu */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dvb.subtitle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.dvb.subtitle */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dwg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.dwg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dxf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.dxf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fastbidsheet [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.fastbidsheet */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fpx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.fpx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fst [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.fst */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-mmr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.fujixerox.edmics-mmr */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-rlc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.fujixerox.edmics-rlc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.globalgraphics.pgb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.globalgraphics.pgb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.microsoft.icon [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.microsoft.icon */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.mix [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.mix */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.mozilla.apng [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.mozilla.apng */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-dds [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.ms-dds */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-modi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.ms-modi */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-photo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.ms-photo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.net-fpx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.net-fpx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.pco.b16 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.pco.b16 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.radiance [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.radiance */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealed.png [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.sealed.png */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealedmedia.softseal.gif [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.sealedmedia.softseal.gif */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.sealedmedia.softseal.jpg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.sealedmedia.softseal.jpg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.svf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.svf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.tencent.tap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.tencent.tap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.valve.source.texture [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.valve.source.texture */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.wap.wbmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.wap.wbmp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.xiff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.xiff */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.zbrush.pcx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/vnd.zbrush.pcx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/webp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/webp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/wmf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/wmf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-3ds [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-3ds */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmu-raster [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-cmu-raster */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-cmx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-freehand [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-freehand */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-icon [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-icon */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-jng [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-jng */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-mrsid-image [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-mrsid-image */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-ms-bmp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-ms-bmp */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-pcx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-pcx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-pict [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-pict */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-anymap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-portable-anymap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-bitmap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-portable-bitmap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-graymap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-portable-graymap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-pixmap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-portable-pixmap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-rgb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-rgb */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-tga [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-tga */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xbitmap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-xbitmap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xcf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-xcf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xpixmap [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-xpixmap */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xwindowdump [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .image/x-xwindowdump */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/cpim [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/cpim */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/delivery-status [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/delivery-status */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/disposition-notification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/disposition-notification */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/external-body [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/external-body */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/feedback-report [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/feedback-report */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/global */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-delivery-status [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/global-delivery-status */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-disposition-notification [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/global-disposition-notification */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/global-headers [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/global-headers */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/http [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/http */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/imdn+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/imdn+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/news [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/news */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/partial [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/partial */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/rfc822 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/rfc822 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/s-http [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/s-http */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/sip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/sip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/sipfrag [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/sipfrag */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/tracking-status [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/tracking-status */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/vnd.si.simp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/vnd.si.simp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/vnd.wfa.wsc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .message/vnd.wfa.wsc */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/3mf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/3mf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/e57 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/e57 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf+json [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/gltf+json */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf-binary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/gltf-binary */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/iges [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/iges */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/mesh [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/mesh */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/mtl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/mtl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/obj [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/obj */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/step */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/step+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/step+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/step-xml+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/step-xml+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/stl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/stl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.collada+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.collada+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.dwf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.dwf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.flatland.3dml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.flatland.3dml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.gdl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gs-gdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.gs-gdl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gs.gdl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.gs.gdl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gtw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.gtw */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.moml+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.moml+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.mts [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.mts */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.opengex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.opengex */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.parasolid.transmit.binary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.parasolid.transmit.binary */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.parasolid.transmit.text [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.parasolid.transmit.text */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.pytha.pyox [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.pytha.pyox */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.rosette.annotated-data-model [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.rosette.annotated-data-model */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.sap.vds [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.sap.vds */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.usdz+zip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.usdz+zip */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.valve.source.compiled-map [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.valve.source.compiled-map */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.vtu [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vnd.vtu */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vrml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/vrml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+binary [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/x3d+binary */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+fastinfoset [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/x3d+fastinfoset */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+vrml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/x3d+vrml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/x3d+xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d-vrml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .model/x3d-vrml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/alternative [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/alternative */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/appledouble [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/appledouble */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/byteranges [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/byteranges */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/digest [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/digest */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/encrypted [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/encrypted */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/form-data [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/form-data */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/header-set [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/header-set */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/mixed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/mixed */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/multilingual [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/multilingual */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/parallel [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/parallel */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/related [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/related */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/report [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/report */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/signed [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/signed */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/vnd.bint.med-plus [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/vnd.bint.med-plus */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/voice-message [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/voice-message */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export multipart/x-mixed-replace [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .multipart/x-mixed-replace */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/1d-interleaved-parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/1d-interleaved-parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cache-manifest [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/cache-manifest */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/calendar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/calendar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/calender [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/calender */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cmd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/cmd */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/coffeescript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/coffeescript */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/cql */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql-expression [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/cql-expression */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cql-identifier [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/cql-identifier */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/css [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/css */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/csv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/csv */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/csv-schema [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/csv-schema */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/directory [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/directory */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/dns [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/dns */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/ecmascript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/ecmascript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/encaprtp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/encaprtp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/enriched [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/enriched */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/fhirpath [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/fhirpath */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/flexfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/flexfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/fwdred [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/fwdred */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/gff3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/gff3 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/grammar-ref-list [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/grammar-ref-list */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/html [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/html */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jade [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/jade */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/javascript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/javascript */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jcr-cnd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/jcr-cnd */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jsx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/jsx */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/less [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/less */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/markdown [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/markdown */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mathml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/mathml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mdx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/mdx */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mizar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/mizar */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/n3 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/n3 */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/parameters [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/parameters */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/plain [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/plain */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/provenance-notation [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/provenance-notation */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.fallenstein.rst [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/prs.fallenstein.rst */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.lines.tag [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/prs.lines.tag */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.prop.logic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/prs.prop.logic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/raptorfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/raptorfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/red [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/red */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rfc822-headers [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/rfc822-headers */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/richtext [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/richtext */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/rtf */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtp-enc-aescm128 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/rtp-enc-aescm128 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtploopback [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/rtploopback */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/rtx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/sgml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/sgml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/shaclc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/shaclc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/shex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/shex */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/slim [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/slim */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/spdx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/spdx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/strings [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/strings */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/stylus [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/stylus */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/t140 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/t140 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/tab-separated-values [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/tab-separated-values */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/troff [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/troff */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/turtle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/turtle */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/ulpfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/ulpfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/uri-list [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/uri-list */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vcard [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vcard */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.a [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.a */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.abc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.abc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ascii-art [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.ascii-art */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.curl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.dcurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.curl.dcurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.mcurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.curl.mcurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.scurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.curl.scurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.debian.copyright [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.debian.copyright */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.dmclientscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.dmclientscript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.dvb.subtitle [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.dvb.subtitle */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.esmertec.theme-descriptor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.esmertec.theme-descriptor */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.familysearch.gedcom [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.familysearch.gedcom */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ficlab.flt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.ficlab.flt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fly [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.fly */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fmi.flexstor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.fmi.flexstor */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.gml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.gml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.graphviz [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.graphviz */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.hans [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.hans */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.hgl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.hgl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.3dml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.in3d.3dml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.spot [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.in3d.spot */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.iptc.newsml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.iptc.newsml */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.iptc.nitf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.iptc.nitf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.latex-z [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.latex-z */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.motorola.reflex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.motorola.reflex */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.ms-mediapackage [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.ms-mediapackage */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.net2phone.commcenter.command [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.net2phone.commcenter.command */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.radisys.msml-basic-layout [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.radisys.msml-basic-layout */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.senx.warpscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.senx.warpscript */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.si.uricatalogue [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.si.uricatalogue */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.sosi [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.sosi */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.sun.j2me.app-descriptor [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.sun.j2me.app-descriptor */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.trolltech.linguist [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.trolltech.linguist */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.si [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.wap.si */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.sl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.wap.sl */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.wap.wml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wmlscript [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vnd.wap.wmlscript */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vtt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/vtt */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-asm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-asm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-c [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-c */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-component [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-component */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-fortran [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-fortran */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-gwt-rpc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-gwt-rpc */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-handlebars-template [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-handlebars-template */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-java-source [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-java-source */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-jquery-tmpl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-jquery-tmpl */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-lua [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-lua */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-markdown [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-markdown */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-nfo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-nfo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-opml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-opml */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-org [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-org */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-pascal [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-pascal */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-processing [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-processing */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sass [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-sass */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-scss [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-scss */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-setext [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-setext */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sfv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-sfv */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-suse-ymp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-suse-ymp */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-uuencode [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-uuencode */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcalendar [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-vcalendar */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcard [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/x-vcard */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/xml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/xml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/xml-external-parsed-entity [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/xml-external-parsed-entity */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/yaml [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .text/yaml */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/1d-interleaved-parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/1d-interleaved-parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/3gpp */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp-tt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/3gpp-tt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/3gpp2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/av1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/av1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/bmpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/bmpeg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/bt656 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/bt656 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/celb [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/celb */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/dv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/dv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/encaprtp [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/encaprtp */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ffv1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/ffv1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/flexfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/flexfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h261 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h261 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h263 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263-1998 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h263-1998 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263-2000 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h263-2000 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h264 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264-rcdo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h264-rcdo */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264-svc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h264-svc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h265 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/h265 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/iso.segment [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/iso.segment */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/jpeg */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpeg2000 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/jpeg2000 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/jpm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jxsv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/jxsv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mj2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mj2 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp1s [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mp1s */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp2p [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mp2p */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp2t [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mp2t */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mp4 */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp4v-es [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mp4v-es */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mpeg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpeg4-generic [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mpeg4-generic */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/mpv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/nv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/nv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ogg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/ogg */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/parityfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/parityfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/pointer [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/pointer */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/quicktime [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/quicktime */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/raptorfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/raptorfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/raw [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/raw */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtp-enc-aescm128 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/rtp-enc-aescm128 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtploopback [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/rtploopback */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/rtx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/rtx */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/scip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/scip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/smpte291 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/smpte291 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/smpte292m [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/smpte292m */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ulpfec [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/ulpfec */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vc1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vc1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vc2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vc2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.cctv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.cctv */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.hd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.hd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.mobile [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.mobile */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.mp4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.mp4 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.pd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.pd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.sd [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.sd */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.video [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dece.video */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.directv.mpeg [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.directv.mpeg */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.directv.mpeg-tts [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.directv.mpeg-tts */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dlna.mpeg-tts [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dlna.mpeg-tts */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dvb.file [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.dvb.file */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.fvt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.fvt */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.hns.video [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.hns.video */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.1dparityfec-1010 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.1dparityfec-1010 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.1dparityfec-2005 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.1dparityfec-2005 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.2dparityfec-1010 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.2dparityfec-1010 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.2dparityfec-2005 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.2dparityfec-2005 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.ttsavc [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.ttsavc */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.iptvforum.ttsmpeg2 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.iptvforum.ttsmpeg2 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.motorola.video [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.motorola.video */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.motorola.videop [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.motorola.videop */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.mpegurl [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.mpegurl */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.ms-playready.media.pyv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.ms-playready.media.pyv */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.interleaved-multimedia [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.nokia.interleaved-multimedia */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.mp4vr [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.nokia.mp4vr */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.nokia.videovoip [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.nokia.videovoip */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.objectvideo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.objectvideo */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.radgamettools.bink [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.radgamettools.bink */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.radgamettools.smacker [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.radgamettools.smacker */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.mpeg1 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.sealed.mpeg1 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.mpeg4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.sealed.mpeg4 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealed.swf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.sealed.swf */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.sealedmedia.softseal.mov [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.sealedmedia.softseal.mov */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.uvvu.mp4 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.uvvu.mp4 */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.vivo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.vivo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.youtube.yt [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vnd.youtube.yt */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vp8 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vp8 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vp9 [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/vp9 */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/webm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/webm */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-f4v [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-f4v */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-fli [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-fli */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-flv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-flv */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-m4v [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-m4v */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-matroska [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-matroska */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-mng [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-mng */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-asf [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-asf */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-vob [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-vob */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wm [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-wm */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-wmv */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-wmx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wvx [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-ms-wvx */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-msvideo [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-msvideo */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-sgi-movie [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-sgi-movie */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-smv [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .video/x-smv */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-conference/x-cooltalk [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .x-conference/x-cooltalk */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-shader/x-fragment [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .x-shader/x-fragment */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-shader/x-vertex [provided] [no usage info] [provision prevents renaming (no use info)] -> ./node_modules/mime-db/db.json .x-shader/x-vertex */ -/*! export compressible [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * Module exports. - */ - -module.exports = __webpack_require__(/*! ./db.json */ "./node_modules/mime-db/db.json") - - -/***/ }), - -/***/ "./node_modules/mime-types/index.js": -/*!******************************************!*\ - !*** ./node_modules/mime-types/index.js ***! - \******************************************/ -/*! default exports */ -/*! export charset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export charsets [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export contentType [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extension [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export extensions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export lookup [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export types [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_exports__ */ -/*! CommonJS bailout: exports.lookup(...) prevents optimization as exports is passed as call context as 84:6-20 */ -/*! CommonJS bailout: exports.charset(...) prevents optimization as exports is passed as call context as 93:18-33 */ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var db = __webpack_require__(/*! mime-db */ "./node_modules/mime-db/index.js") -var extname = __webpack_require__(/*! path */ "path").extname - -/** - * Module variables. - * @private - */ - -var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ -var TEXT_TYPE_REGEXP = /^text\//i - -/** - * Module exports. - * @public - */ - -exports.charset = charset -exports.charsets = { lookup: charset } -exports.contentType = contentType -exports.extension = extension -exports.extensions = Object.create(null) -exports.lookup = lookup -exports.types = Object.create(null) - -// Populate the extensions/types maps -populateMaps(exports.extensions, exports.types) - -/** - * Get the default charset for a MIME type. - * - * @param {string} type - * @return {boolean|string} - */ - -function charset (type) { - if (!type || typeof type !== 'string') { - return false - } - - // TODO: use media-typer - var match = EXTRACT_TYPE_REGEXP.exec(type) - var mime = match && db[match[1].toLowerCase()] - - if (mime && mime.charset) { - return mime.charset - } - - // default text/* to utf-8 - if (match && TEXT_TYPE_REGEXP.test(match[1])) { - return 'UTF-8' - } - - return false -} - -/** - * Create a full Content-Type header given a MIME type or extension. - * - * @param {string} str - * @return {boolean|string} - */ - -function contentType (str) { - // TODO: should this even be in this module? - if (!str || typeof str !== 'string') { - return false - } - - var mime = str.indexOf('/') === -1 - ? exports.lookup(str) - : str - - if (!mime) { - return false - } - - // TODO: use content-type or other module - if (mime.indexOf('charset') === -1) { - var charset = exports.charset(mime) - if (charset) mime += '; charset=' + charset.toLowerCase() - } - - return mime -} - -/** - * Get the default extension for a MIME type. - * - * @param {string} type - * @return {boolean|string} - */ - -function extension (type) { - if (!type || typeof type !== 'string') { - return false - } - - // TODO: use media-typer - var match = EXTRACT_TYPE_REGEXP.exec(type) - - // get extensions - var exts = match && exports.extensions[match[1].toLowerCase()] - - if (!exts || !exts.length) { - return false - } - - return exts[0] -} - -/** - * Lookup the MIME type for a file path/extension. - * - * @param {string} path - * @return {boolean|string} - */ - -function lookup (path) { - if (!path || typeof path !== 'string') { - return false - } - - // get the extension ("ext" or ".ext" or full path) - var extension = extname('x.' + path) - .toLowerCase() - .substr(1) - - if (!extension) { - return false - } - - return exports.types[extension] || false -} - -/** - * Populate the extensions and types maps. - * @private - */ - -function populateMaps (extensions, types) { - // source preference (least -> most) - var preference = ['nginx', 'apache', undefined, 'iana'] - - Object.keys(db).forEach(function forEachMimeType (type) { - var mime = db[type] - var exts = mime.extensions - - if (!exts || !exts.length) { - return - } - - // mime -> extensions - extensions[type] = exts - - // extension -> mime - for (var i = 0; i < exts.length; i++) { - var extension = exts[i] - - if (types[extension]) { - var from = preference.indexOf(db[types[extension]].source) - var to = preference.indexOf(mime.source) - - if (types[extension] !== 'application/octet-stream' && - (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) { - // skip the remapping - continue - } - } - - // set the extension -> mime - types[extension] = type - } - }) -} - - -/***/ }), - -/***/ "./node_modules/mime/mime.js": -/*!***********************************!*\ - !*** ./node_modules/mime/mime.js ***! - \***********************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 108:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -var path = __webpack_require__(/*! path */ "path"); -var fs = __webpack_require__(/*! fs */ "fs"); - -function Mime() { - // Map of extension -> mime type - this.types = Object.create(null); - - // Map of mime type -> extension - this.extensions = Object.create(null); -} - -/** - * Define mimetype -> extension mappings. Each key is a mime-type that maps - * to an array of extensions associated with the type. The first extension is - * used as the default extension for the type. - * - * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); - * - * @param map (Object) type definitions - */ -Mime.prototype.define = function (map) { - for (var type in map) { - var exts = map[type]; - for (var i = 0; i < exts.length; i++) { - if (process.env.DEBUG_MIME && this.types[exts[i]]) { - console.warn((this._loading || "define()").replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' + - this.types[exts[i]] + ' to ' + type); - } - - this.types[exts[i]] = type; - } - - // Default extension is the first one we encounter - if (!this.extensions[type]) { - this.extensions[type] = exts[0]; - } - } -}; - -/** - * Load an Apache2-style ".types" file - * - * This may be called multiple times (it's expected). Where files declare - * overlapping types/extensions, the last file wins. - * - * @param file (String) path of file to load. - */ -Mime.prototype.load = function(file) { - this._loading = file; - // Read file and split into lines - var map = {}, - content = fs.readFileSync(file, 'ascii'), - lines = content.split(/[\r\n]+/); - - lines.forEach(function(line) { - // Clean up whitespace/comments, and split into fields - var fields = line.replace(/\s*#.*|^\s*|\s*$/g, '').split(/\s+/); - map[fields.shift()] = fields; - }); - - this.define(map); - - this._loading = null; -}; - -/** - * Lookup a mime type based on extension - */ -Mime.prototype.lookup = function(path, fallback) { - var ext = path.replace(/^.*[\.\/\\]/, '').toLowerCase(); - - return this.types[ext] || fallback || this.default_type; -}; - -/** - * Return file extension associated with a mime type - */ -Mime.prototype.extension = function(mimeType) { - var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase(); - return this.extensions[type]; -}; - -// Default instance -var mime = new Mime(); - -// Define built-in types -mime.define(__webpack_require__(/*! ./types.json */ "./node_modules/mime/types.json")); - -// Default type -mime.default_type = mime.lookup('bin'); - -// -// Additional API specific to the default instance -// - -mime.Mime = Mime; - -/** - * Lookup a charset based on mime type. - */ -mime.charsets = { - lookup: function(mimeType, fallback) { - // Assume text types are utf8 - return (/^text\/|^application\/(javascript|json)/).test(mimeType) ? 'UTF-8' : fallback; - } -}; - -module.exports = mime; - - -/***/ }), - -/***/ "./node_modules/mime/types.json": -/*!**************************************!*\ - !*** ./node_modules/mime/types.json ***! - \**************************************/ -/*! default exports */ -/*! export application/andrew-inset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/applixware [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atom+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomcat+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/atomsvc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/bdoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ccxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-capability [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-domain [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-object [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cdmi-queue [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/cu-seeme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dash+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/davmount+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/docbook+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+der [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/dssc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ecmascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/emma+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/epub+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/exi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-tdpfr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/font-woff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/font-woff2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/geo+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gpx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/gzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/hyperstudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/inkml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ipfix [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-serialized-object [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/java-vm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/javascript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/json5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/jsonml+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ld+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/lost+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-binhex40 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mac-compactpro [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mads+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/manifest+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/marcxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathematica [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mathml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mbox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mediaservercontrol+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/metalink4+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mets+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mods+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/msword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/mxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/octet-stream [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 11 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 13 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 14 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 15 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 16 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 17 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 18 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 19 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 20 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 21 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oda [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oebps-package+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/omdoc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/onenote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/oxps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/patch-ops-error+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-encrypted [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pgp-signature [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pics-rules [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs10 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-mime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs7-signature [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkcs8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-attr-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-crl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkix-pkipath [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pkixcmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pls+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/postscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/prs.cww [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/pskc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/raml+yaml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rdf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/reginfo+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/relax-ng-compact-syntax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/resource-lists-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rls-services+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-ghostbusters [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-manifest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rpki-roa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rsd+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rss+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/rtf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sbml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-cv-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-request [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/scvp-vp-response [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sdp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-payment-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/set-registration-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/shf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/smil+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-query [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sparql-results+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/srgs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/sru+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssdl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/ssml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/tei+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/thraud+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/timestamped-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-large [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-small [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp.pic-bw-var [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3gpp2.tcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.3m.post-it-notes [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.aso [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.accpac.simply.imp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucobol [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.acucorp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.air-application-installer-package+zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.formscentral.fcdt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.fxp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xdp+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.adobe.xfdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ahead.space [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.airzip.filesecure.azs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amazon.ebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.americandynamics.acc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.amiga.ami [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.android.package-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-certificate-issue-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.anser-web-funds-transfer-initiation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.antix.game-component [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.installer+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.apple.pkpass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.aristanetworks.swi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.astraea-software.iota [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.audiograph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.blueice.multipass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.bmi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.businessobjects [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chemdraw+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.chipnuts.karaoke-mmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cinderella [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.claymore [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cloanto.rp9 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.clonk.c4group [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cluetrust.cartomobile-config-pkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.commonspace [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.contact.cmsg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cosmocaller [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.keyboard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.palette [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.crick.clicker.wordbank [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.criticaltools.wbs+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ctc-posml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.cups-ppd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.car [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.curl.pcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.data-vision.rdz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.ttml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.unspecified [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dece.zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.denovo.fcselayout-link [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dna [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dolby.mlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dpgraph [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dreamfactory [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ds-keypoint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.ait [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dvb.service [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.dynageo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ecowin.chart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.enliven [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.esf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.msf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.quickanime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.salt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.epson.ssf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.eszigno3+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-album [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ezpix-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.mseed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fdsn.seed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.flographit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fluxtime.clip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.framemaker [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.fnc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.frogans.ltf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fsc.weblaunch [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasys3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysgp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujitsu.oasysprs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.ddd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fujixerox.docuworks.binder [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.fuzzysheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.genomatix.tuxedo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geogebra.tool [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geometry-explorer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geonext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geoplan [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.geospace [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.gmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-apps.spreadsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.google-earth.kmz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.grafeq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-account [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-help [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-identity-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-injector [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-message [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-tool-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.groove-vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hal+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.handheld-entertainment+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hbci [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hhe.lesson-player [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpgl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hpid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-hps [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-jlyt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pcl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hp-pclxl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.hydrostatix.sof-data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.minipay [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.modcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.rights-management [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ibm.secure-container [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.iccprofile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.igloader [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.immervision-ivu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.insors.igm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intercon.formnet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intergeo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qbo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.intu.qfx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ipunplugged.rcprofile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.irepository.package+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.is-xpr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.isac.fcs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jam [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jcp.javame.midlet-rms [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.jisp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.joost.joda-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kahootz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.karbon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kchart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kformula [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kivio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kontour [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kpresenter [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kspread [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kde.kword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kenameaapp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kidspiration [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kinar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.koan [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.kodak-descriptor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.las.las+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.desktop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.llamagraphics.life-balance.exchange+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-1-2-3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-approach [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-freelance [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-notes [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-organizer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-screencam [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.lotus-wordpro [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.macports.portpkg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mcd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.medcalcdata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mediastation.cdkey [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mfmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.flo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.micrografx.igx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.daf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.dis [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mbk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.mqy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.msl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.plc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mobius.txf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.application [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mophun.certificate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mozilla.xul+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-artgalry [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-cab-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.addin.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.binary.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.sheet.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-excel.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-fontobject [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-htmlhelp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-ims [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-lrm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-officetheme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-outlook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.seccat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-pki.stl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.addin.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.presentation.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slide.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.slideshow.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-powerpoint.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-project [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.document.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-word.template.macroenabled.12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-works [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-wpl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ms-xpsdocument [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mseq [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.musician [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.muvee.style [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.mynfc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.neurolanguage.nlu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nitf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-directory [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-sealer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.noblenet-web [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.data [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.n-gage.symbian.install [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-preset [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.nokia.radio-presets [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.edx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.novadigm.ext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.chart-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.database [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.formula-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.graphics-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.image-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.presentation-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.spreadsheet-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-master [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oasis.opendocument.text-web [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.olpc-sugar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.oma.dd2+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openofficeorg.extension [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.presentation [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slide [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.slideshow [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.presentationml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.sheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.spreadsheetml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.document [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.openxmlformats-officedocument.wordprocessingml.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgeo.mapguide.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.dp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.osgi.subsystem [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.palm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pawaafile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.format [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pg.osasli [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.picsel [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pmi.widget [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pocketlearn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.powerbuilder6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.previewsystems.box [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.proteus.magazine [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.publishare-delta-tree [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.pvi.ptid1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.quark.quarkxpress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.realvnc.bed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.recordare.musicxml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rig.cryptonote [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rim.cod [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.rn-realmedia-vbr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.route66.link66+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sailingtracker.track [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.seemail [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sema [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.semf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formdata [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.formtemplate [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.interchange [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.shana.informed.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.simtech-mindmapper [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smaf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.smart.teacher [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.solent.sdkm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.dxp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.spotfire.sfs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.calc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.draw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.impress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.math [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stardivision.writer-global [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.stepmania.stepchart [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.wadl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.calc.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.draw.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.impress.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.math [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.global [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sun.xml.writer.template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.sus-calendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.svd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.symbian.install [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.syncml.dm+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tao.intent-module-archive [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tcpdump.pcap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.tmobile-livetv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trid.tpt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.triscape.mxs [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.trueapp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.ufdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uiq.theme [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.umajin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.unity [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.uoml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vcx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.visionary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.vsf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wbxml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wap.wmlscriptc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.webturbo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wolfram.player [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wordperfect [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wqd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.wt.stf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xara [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.xfdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-dic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-script [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.hv-voice [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.openscoreformat.osfpvg+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-audio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yamaha.smaf-phrase [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.yellowriver-custom-menu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zul [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/vnd.zzazz.deck+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/voicexml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wasm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/widget [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/winhlp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wsdl+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/wspolicy+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-7z-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-abiword [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ace-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-apple-diskimage [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/x-arj [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-bin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-map [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-authorware-seg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bcpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bdoc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/x-bittorrent [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-blorb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-bzip2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cbr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cdlink [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cfs-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chat [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chess-pgn [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-chrome-extension [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cocoa [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-conference [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-cpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-csh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-debian-package [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dgc-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-director [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 8 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-doom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbncx+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbook+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dtbresource+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-dvi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-envoy [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-eva [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-bdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-ghostscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-linux-psf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-pcf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-snf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-font-type1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-freearc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-futuresplash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gca-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-glulx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gnumeric [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gramps-xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-gtar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-hdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-httpd-php [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-install-instructions [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-iso9660-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/x-java-archive-diff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-java-jnlp-file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-latex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lua-bytecode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-lzh-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-makeself [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mobipocket-ebook [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-application [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-shortcut [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-wmz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ms-xbap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msaccess [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msbinder [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mscardfile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msclip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msdos-program [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/x-msdownload [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmediaview [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmetafile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msmoney [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mspublisher [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msschedule [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-msterminal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-mswrite [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-netcdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ns-proxy-autoconfig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-nzb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-perl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pilot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export application/x-pkcs12 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certificates [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-pkcs7-certreqresp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-rar-compressed [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-redhat-package-manager [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-research-info-systems [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sea [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-shockwave-flash [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-silverlight-app [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sql [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffit [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-stuffitx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-subrip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4cpio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-sv4crc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-t3vm-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tads [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tcl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tex-tfm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-texinfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-tgif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-ustar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-hdd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ova [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-ovf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vbox-extpack [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vdi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vhd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-virtualbox-vmdk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-wais-source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-web-app-manifest+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-x509-ca-cert [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xfig [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xliff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xpinstall [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-xz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/x-zmachine [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xaml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xcap-diff+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xenc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xhtml+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xml-dtd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xop+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xproc+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xslt+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xspf+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/xv+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yang [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/yin+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export application/zip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/3gpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/adpcm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/basic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/midi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mp3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/s3m [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/silk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dece.audio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.digital-winds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dra [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.dts.hd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.lucent.voice [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.ms-playready.media.pya [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp4800 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp7470 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.nuera.ecelp9600 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/vnd.rip [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wav [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/wave [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/webm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-aiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-caf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-flac [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-m4a [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/x-matroska [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-ms-wma [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-pn-realaudio-plugin [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export audio/x-realaudio [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/x-wav [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export audio/xm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cdx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cmdf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-cml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-csml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export chemical/x-xyz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/collection [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/otf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/ttf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export font/woff2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/apng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/bmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/cgm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/g3fax [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/gif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ief [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jp2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/jpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/ktx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/png [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/prs.btif [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/sgi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/svg+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/tiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.adobe.photoshop [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dece.graphic [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.djvu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dvb.subtitle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export image/vnd.dwg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.dxf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fastbidsheet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fst [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-mmr [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.fujixerox.edmics-rlc [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-modi [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.ms-photo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.net-fpx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.wap.wbmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/vnd.xiff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/webp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-3ds [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmu-raster [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-cmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-freehand [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-icon [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-jng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-mrsid-image [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-ms-bmp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export image/x-pcx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-pict [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-anymap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-bitmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-graymap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-portable-pixmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-rgb [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-tga [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xbitmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xpixmap [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export image/x-xwindowdump [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export message/rfc822 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf+json [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/gltf-binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/iges [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/mesh [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.collada+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.dwf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gdl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.gtw [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.mts [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vnd.vtu [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/vrml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+binary [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+vrml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export model/x3d+xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/cache-manifest [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/calendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/coffeescript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/css [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/csv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/hjson [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/html [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jade [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/jsx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/less [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/markdown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/mathml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/n3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/plain [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 7 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/prs.lines.tag [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/richtext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/rtf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export text/sgml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/slim [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/stylus [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/tab-separated-values [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/troff [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/turtle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/uri-list [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.dcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.mcurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.curl.scurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.dvb.subtitle [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fly [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.fmi.flexstor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.graphviz [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.3dml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.in3d.spot [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.sun.j2me.app-descriptor [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vnd.wap.wmlscript [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/vtt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-asm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-c [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 5 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 6 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-component [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-fortran [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-handlebars-template [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-java-source [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-lua [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-markdown [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-nfo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-opml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-org [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export text/x-pascal [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-processing [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sass [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-scss [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-setext [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-sfv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-suse-ymp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-uuencode [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcalendar [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/x-vcard [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export text/xml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! exports [not provided] [no usage info] */ -/*! export text/yaml [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/3gpp2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h261 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h263 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/h264 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/jpm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mj2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp2t [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/mpeg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 3 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/ogg [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/quicktime [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.hd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.mobile [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.pd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.sd [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dece.video [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.dvb.file [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.fvt [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.mpegurl [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.ms-playready.media.pyv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.uvvu.mp4 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/vnd.vivo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/webm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-f4v [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-fli [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-flv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-m4v [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-matroska [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 2 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-mng [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-asf [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 1 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-vob [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wm [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wmx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-ms-wvx [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-msvideo [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-sgi-movie [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export video/x-smv [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! export x-conference/x-cooltalk [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 0 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! other exports [not provided] [no usage info] */ +/***/ "./node_modules/kafkajs/src/protocol/message/v0/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/v0/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const crc32 = __webpack_require__(/*! ../../crc32 */ "./node_modules/kafkajs/src/protocol/crc32.js") +const { Types: Compression, COMPRESSION_CODEC_MASK } = __webpack_require__(/*! ../compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") + +/** + * v0 + * Message => Crc MagicByte Attributes Key Value + * Crc => int32 + * MagicByte => int8 + * Attributes => int8 + * Key => bytes + * Value => bytes + */ + +module.exports = ({ compression = Compression.None, key, value }) => { + const content = new Encoder() + .writeInt8(0) // magicByte + .writeInt8(compression & COMPRESSION_CODEC_MASK) + .writeBytes(key) + .writeBytes(value) + + const crc = crc32(content) + return new Encoder().writeInt32(crc).writeEncoder(content) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/v1/decoder.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/v1/decoder.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { + +module.exports = decoder => ({ + attributes: decoder.readInt8(), + timestamp: decoder.readInt64().toString(), + key: decoder.readBytes(), + value: decoder.readBytes(), +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/message/v1/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/message/v1/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const crc32 = __webpack_require__(/*! ../../crc32 */ "./node_modules/kafkajs/src/protocol/crc32.js") +const { Types: Compression, COMPRESSION_CODEC_MASK } = __webpack_require__(/*! ../compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") + +/** + * v1 (supported since 0.10.0) + * Message => Crc MagicByte Attributes Key Value + * Crc => int32 + * MagicByte => int8 + * Attributes => int8 + * Timestamp => int64 + * Key => bytes + * Value => bytes + */ + +module.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => { + const content = new Encoder() + .writeInt8(1) // magicByte + .writeInt8(compression & COMPRESSION_CODEC_MASK) + .writeInt64(timestamp) + .writeBytes(key) + .writeBytes(value) + + const crc = crc32(content) + return new Encoder().writeInt32(crc).writeEncoder(content) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/messageSet/decoder.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Long = __webpack_require__(/*! ../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const Decoder = __webpack_require__(/*! ../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const MessageDecoder = __webpack_require__(/*! ../message/decoder */ "./node_modules/kafkajs/src/protocol/message/decoder.js") +const { lookupCodecByAttributes } = __webpack_require__(/*! ../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +const { KafkaJSPartialMessageError } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") + +/** + * MessageSet => [Offset MessageSize Message] + * Offset => int64 + * MessageSize => int32 + * Message => Bytes + */ + +module.exports = async (primaryDecoder, size = null) => { + const messages = [] + const messageSetSize = size || primaryDecoder.readInt32() + const messageSetDecoder = primaryDecoder.slice(messageSetSize) + + while (messageSetDecoder.offset < messageSetSize) { + try { + const message = EntryDecoder(messageSetDecoder) + const codec = lookupCodecByAttributes(message.attributes) + + if (codec) { + const buffer = await codec.decompress(message.value) + messages.push(...EntriesDecoder(new Decoder(buffer), message)) + } else { + messages.push(message) + } + } catch (e) { + if (e.name === 'KafkaJSPartialMessageError') { + // We tried to decode a partial message, it means that minBytes + // is probably too low + break + } + + if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') { + // Received a MessageSet and a RecordBatch on the same response, the cluster is probably + // upgrading the message format from 0.10 to 0.11. Stop processing this message set to + // receive the full record batch on the next request + break + } + + throw e + } + } + + primaryDecoder.forward(messageSetSize) + return messages +} + +const EntriesDecoder = (decoder, compressedMessage) => { + const messages = [] + + while (decoder.offset < decoder.buffer.length) { + messages.push(EntryDecoder(decoder)) + } + + if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) { + const compressedOffset = Long.fromValue(compressedMessage.offset) + const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset) + const baseOffset = compressedOffset - lastMessageOffset + + for (const message of messages) { + message.offset = Long.fromValue(message.offset) + .add(baseOffset) + .toString() + } + } + + return messages +} + +const EntryDecoder = decoder => { + if (!decoder.canReadInt64()) { + throw new KafkaJSPartialMessageError( + `Tried to decode a partial message: There isn't enough bytes to read the offset` + ) + } + + const offset = decoder.readInt64().toString() + + if (!decoder.canReadInt32()) { + throw new KafkaJSPartialMessageError( + `Tried to decode a partial message: There isn't enough bytes to read the message size` + ) + } + + const size = decoder.readInt32() + return MessageDecoder(offset, size, decoder) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/messageSet/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/messageSet/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const MessageProtocol = __webpack_require__(/*! ../message */ "./node_modules/kafkajs/src/protocol/message/index.js") +const { Types } = __webpack_require__(/*! ../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") + +/** + * MessageSet => [Offset MessageSize Message] + * Offset => int64 + * MessageSize => int32 + * Message => Bytes + */ + +/** + * [ + * { key: "", value: "" }, + * { key: "", value: "" }, + * ] + */ +module.exports = ({ messageVersion = 0, compression, entries }) => { + const isCompressed = compression !== Types.None + const Message = MessageProtocol({ version: messageVersion }) + const encoder = new Encoder() + + // Messages in a message set are __not__ encoded as an array. + // They are written in sequence. + // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets + + entries.forEach((entry, i) => { + const message = Message(entry) + + // This is the offset used in kafka as the log sequence number. + // When the producer is sending non compressed messages, it can set the offsets to anything + // When the producer is sending compressed messages, to avoid server side recompression, each compressed message + // should have offset starting from 0 and increasing by one for each inner message in the compressed message + encoder.writeInt64(isCompressed ? i : -1) + encoder.writeInt32(message.size()) + + encoder.writeEncoder(message) + }) + + return encoder +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module) => { + +/** + * A javascript implementation of the CRC32 checksum that uses + * the CRC32-C polynomial, the same polynomial used by iSCSI + * + * also known as CRC32 Castagnoli + * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js + */ +const crc32C = buffer => { + let crc = 0 ^ -1 + for (let i = 0; i < buffer.length; i++) { + crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8) + } + + return (crc ^ -1) >>> 0 +} + +module.exports = crc32C + +// prettier-ignore +var T = new Int32Array([ + 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4, + 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb, + 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b, + 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24, + 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b, + 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384, + 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54, + 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b, + 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a, + 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35, + 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5, + 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa, + 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45, + 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a, + 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a, + 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595, + 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48, + 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957, + 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687, + 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198, + 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927, + 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38, + 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8, + 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7, + 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096, + 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789, + 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859, + 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46, + 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9, + 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6, + 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36, + 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829, + 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c, + 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93, + 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043, + 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c, + 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3, + 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc, + 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c, + 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033, + 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652, + 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d, + 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d, + 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982, + 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d, + 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622, + 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2, + 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed, + 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530, + 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f, + 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff, + 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0, + 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f, + 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540, + 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90, + 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f, + 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee, + 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1, + 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321, + 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e, + 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81, + 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e, + 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e, + 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351 +]); + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const crc32C = __webpack_require__(/*! ./crc32C */ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js") +const unsigned = value => Uint32Array.from([value])[0] + +module.exports = buffer => unsigned(crc32C(buffer)) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { + +module.exports = decoder => ({ + key: decoder.readVarIntString(), + value: decoder.readVarIntBytes(), +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") + +/** + * v0 + * Header => Key Value + * Key => varInt|string + * Value => varInt|bytes + */ + +module.exports = ({ key, value }) => { + return new Encoder().writeVarIntString(key).writeVarIntBytes(value) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Long = __webpack_require__(/*! ../../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const HeaderDecoder = __webpack_require__(/*! ../../header/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js") +const TimestampTypes = __webpack_require__(/*! ../../../timestampTypes */ "./node_modules/kafkajs/src/protocol/timestampTypes.js") + +/** + * v0 + * Record => + * Length => Varint + * Attributes => Int8 + * TimestampDelta => Varlong + * OffsetDelta => Varint + * Key => varInt|Bytes + * Value => varInt|Bytes + * Headers => [HeaderKey HeaderValue] + * HeaderKey => VarInt|String + * HeaderValue => VarInt|Bytes + */ + +module.exports = (decoder, batchContext = {}) => { + const { + firstOffset, + firstTimestamp, + magicByte, + isControlBatch = false, + timestampType, + maxTimestamp, + } = batchContext + const attributes = decoder.readInt8() + + const timestampDelta = decoder.readVarLong() + const timestamp = + timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp + ? maxTimestamp + : Long.fromValue(firstTimestamp) + .add(timestampDelta) + .toString() + + const offsetDelta = decoder.readVarInt() + const offset = Long.fromValue(firstOffset) + .add(offsetDelta) + .toString() + + const key = decoder.readVarIntBytes() + const value = decoder.readVarIntBytes() + const headers = decoder + .readVarIntArray(HeaderDecoder) + .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {}) + + return { + magicByte, + attributes, // Record level attributes are presently unused + timestamp, + offset, + key, + value, + headers, + isControlRecord: isControlBatch, + batchContext, + } +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const Header = __webpack_require__(/*! ../../header/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js") + +/** + * v0 + * Record => + * Length => Varint + * Attributes => Int8 + * TimestampDelta => Varlong + * OffsetDelta => Varint + * Key => varInt|Bytes + * Value => varInt|Bytes + * Headers => [HeaderKey HeaderValue] + * HeaderKey => VarInt|String + * HeaderValue => VarInt|Bytes + */ + +/** + * @param [offsetDelta=0] {Integer} + * @param [timestampDelta=0] {Long} + * @param key {Buffer} + * @param value {Buffer} + * @param [headers={}] {Object} + */ +module.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => { + const headersArray = Object.keys(headers).map(headerKey => ({ + key: headerKey, + value: headers[headerKey], + })) + + const sizeOfBody = + 1 + // always one byte for attributes + Encoder.sizeOfVarLong(timestampDelta) + + Encoder.sizeOfVarInt(offsetDelta) + + Encoder.sizeOfVarIntBytes(key) + + Encoder.sizeOfVarIntBytes(value) + + sizeOfHeaders(headersArray) + + return new Encoder() + .writeVarInt(sizeOfBody) + .writeInt8(0) // no used record attributes at the moment + .writeVarLong(timestampDelta) + .writeVarInt(offsetDelta) + .writeVarIntBytes(key) + .writeVarIntBytes(value) + .writeVarIntArray(headersArray.map(Header)) +} + +const sizeOfHeaders = headersArray => { + let size = Encoder.sizeOfVarInt(headersArray.length) + + for (const header of headersArray) { + const keySize = Buffer.byteLength(header.key) + const valueSize = Buffer.byteLength(header.value) + + size += Encoder.sizeOfVarInt(keySize) + keySize + + if (header.value === null) { + size += Encoder.sizeOfVarInt(-1) + } else { + size += Encoder.sizeOfVarInt(valueSize) + valueSize + } + } + + return size +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js": +/*!*********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { KafkaJSPartialMessageError } = __webpack_require__(/*! ../../../errors */ "./node_modules/kafkajs/src/errors.js") +const { lookupCodecByAttributes } = __webpack_require__(/*! ../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +const RecordDecoder = __webpack_require__(/*! ../record/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js") +const TimestampTypes = __webpack_require__(/*! ../../timestampTypes */ "./node_modules/kafkajs/src/protocol/timestampTypes.js") + +const TIMESTAMP_TYPE_FLAG_MASK = 0x8 +const TRANSACTIONAL_FLAG_MASK = 0x10 +const CONTROL_FLAG_MASK = 0x20 + +/** + * v0 + * RecordBatch => + * FirstOffset => int64 + * Length => int32 + * PartitionLeaderEpoch => int32 + * Magic => int8 + * CRC => int32 + * Attributes => int16 + * LastOffsetDelta => int32 + * FirstTimestamp => int64 + * MaxTimestamp => int64 + * ProducerId => int64 + * ProducerEpoch => int16 + * FirstSequence => int32 + * Records => [Record] + */ + +module.exports = async fetchDecoder => { + const firstOffset = fetchDecoder.readInt64().toString() + const length = fetchDecoder.readInt32() + const decoder = fetchDecoder.slice(length) + fetchDecoder.forward(length) + + const remainingBytes = Buffer.byteLength(decoder.buffer) + + if (remainingBytes < length) { + throw new KafkaJSPartialMessageError( + `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})` + ) + } + + const partitionLeaderEpoch = decoder.readInt32() + + // The magic byte was read by the Fetch protocol to distinguish between + // the record batch and the legacy message set. It's not used here but + // it has to be read. + const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars + + // The library is currently not performing CRC validations + const crc = decoder.readInt32() // eslint-disable-line no-unused-vars + + const attributes = decoder.readInt16() + const lastOffsetDelta = decoder.readInt32() + const firstTimestamp = decoder.readInt64().toString() + const maxTimestamp = decoder.readInt64().toString() + const producerId = decoder.readInt64().toString() + const producerEpoch = decoder.readInt16() + const firstSequence = decoder.readInt32() + + const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0 + const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0 + const timestampType = + (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0 + ? TimestampTypes.LOG_APPEND_TIME + : TimestampTypes.CREATE_TIME + + const codec = lookupCodecByAttributes(attributes) + + const recordContext = { + firstOffset, + firstTimestamp, + partitionLeaderEpoch, + inTransaction, + isControlBatch, + lastOffsetDelta, + producerId, + producerEpoch, + firstSequence, + maxTimestamp, + timestampType, + } + + const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte }) + + return { + ...recordContext, + records, + } +} + +const decodeRecords = async (codec, recordsDecoder, recordContext) => { + if (!codec) { + return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext)) + } + + const length = recordsDecoder.readInt32() + + if (length <= 0) { + return [] + } + + const compressedRecordsBuffer = recordsDecoder.readAll() + const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer) + const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer) + const records = new Array(length) + + for (let i = 0; i < length; i++) { + records[i] = decodeRecord(decompressedRecordDecoder, recordContext) + } + + return records +} + +const decodeRecord = (decoder, recordContext) => { + const recordBuffer = decoder.readVarIntBytes() + return RecordDecoder(new Decoder(recordBuffer), recordContext) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js": +/*!*******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js ***! + \*******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 90:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Long = __webpack_require__(/*! ../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const crc32C = __webpack_require__(/*! ../crc32C */ "./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js") +const { + Types: Compression, + lookupCodec, + COMPRESSION_CODEC_MASK, +} = __webpack_require__(/*! ../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") + +const MAGIC_BYTE = 2 +const TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0) +const TRANSACTIONAL_MASK = 16 // The fifth lowest bit + +/** + * v0 + * RecordBatch => + * FirstOffset => int64 + * Length => int32 + * PartitionLeaderEpoch => int32 + * Magic => int8 + * CRC => int32 + * Attributes => int16 + * LastOffsetDelta => int32 + * FirstTimestamp => int64 + * MaxTimestamp => int64 + * ProducerId => int64 + * ProducerEpoch => int16 + * FirstSequence => int32 + * Records => [Record] + */ + +const RecordBatch = async ({ + compression = Compression.None, + firstOffset = Long.fromInt(0), + firstTimestamp = Date.now(), + maxTimestamp = Date.now(), + partitionLeaderEpoch = 0, + lastOffsetDelta = 0, + transactional = false, + producerId = Long.fromValue(-1), // for idempotent messages + producerEpoch = 0, // for idempotent messages + firstSequence = 0, // for idempotent messages + records = [], +}) => { + const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK + const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0 + const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION + + const batchBody = new Encoder() + .writeInt16(attributes) + .writeInt32(lastOffsetDelta) + .writeInt64(firstTimestamp) + .writeInt64(maxTimestamp) + .writeInt64(producerId) + .writeInt16(producerEpoch) + .writeInt32(firstSequence) + + if (compression === Compression.None) { + if (records.every(v => typeof v === typeof records[0])) { + batchBody.writeArray(records, typeof records[0]) + } else { + batchBody.writeArray(records) + } + } else { + const compressedRecords = await compressRecords(compression, records) + batchBody.writeInt32(records.length).writeBuffer(compressedRecords) + } + + // CRC32C validation is happening here: + // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148 + + const batch = new Encoder() + .writeInt32(partitionLeaderEpoch) + .writeInt8(MAGIC_BYTE) + .writeUInt32(crc32C(batchBody.buffer)) + .writeEncoder(batchBody) + + return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer) +} + +const compressRecords = async (compression, records) => { + const codec = lookupCodec(compression) + const recordsEncoder = new Encoder() + + recordsEncoder.writeEncoderArray(records) + + return codec.compress(recordsEncoder) +} + +module.exports = { + RecordBatch, + MAGIC_BYTE, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/request.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/request.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ./encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") + +module.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => { + const payload = await encode() + const requestPayload = new Encoder() + .writeInt16(apiKey) + .writeInt16(apiVersion) + .writeInt32(correlationId) + .writeString(clientId) + .writeEncoder(payload) + + return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ transactionalId, producerId, producerEpoch, groupId }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js") + return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response } + }, + 1: ({ transactionalId, producerId, producerEpoch, groupId }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js") + return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { AddOffsetsToTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * group_id => STRING + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({ + apiKey, + apiVersion: 0, + apiName: 'AddOffsetsToTxn', + encode: async () => { + return new Encoder() + .writeString(transactionalId) + .writeInt64(producerId) + .writeInt16(producerEpoch) + .writeString(groupId) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + throttleTime, + errorCode, + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js") + +/** + * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * group_id => STRING + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => + Object.assign( + requestV0({ + transactionalId, + producerId, + producerEpoch, + groupId, + }), + { apiVersion: 1 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ transactionalId, producerId, producerEpoch, topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js") + return { request: request({ transactionalId, producerId, producerEpoch, topics }), response } + }, + 1: ({ transactionalId, producerId, producerEpoch, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js") + return { request: request({ transactionalId, producerId, producerEpoch, topics }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js ***! + \*************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { AddPartitionsToTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics] + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * topics => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'AddPartitionsToTxn', + encode: async () => { + return new Encoder() + .writeString(transactionalId) + .writeInt64(producerId) + .writeInt16(producerEpoch) + .writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = partition => { + return new Encoder().writeInt32(partition) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js ***! + \**************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors] + * throttle_time_ms => INT32 + * errors => topic [partition_errors] + * topic => STRING + * partition_errors => partition error_code + * partition => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errors = await decoder.readArrayAsync(decodeError) + + return { + throttleTime, + errors, + } +} + +const decodeError = async decoder => ({ + topic: decoder.readString(), + partitionErrors: await decoder.readArrayAsync(decodePartitionError), +}) + +const decodePartitionError = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), +}) + +const parse = async data => { + const topicsWithErrors = data.errors + .map(({ partitionErrors }) => ({ + partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)), + })) + .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) + + if (topicsWithErrors.length > 0) { + throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js ***! + \*************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js") + +/** + * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics] + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * topics => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, topics }) => + Object.assign( + requestV0({ + transactionalId, + producerId, + producerEpoch, + topics, + }), + { apiVersion: 1 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js": +/*!**************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js ***! + \**************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors] + * throttle_time_ms => INT32 + * errors => topic [partition_errors] + * topic => STRING + * partition_errors => partition error_code + * partition => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ resources, validateOnly }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js") + return { request: request({ resources, validateOnly }), response } + }, + 1: ({ resources, validateOnly }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js") + return { request: request({ resources, validateOnly }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { AlterConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * AlterConfigs Request (Version: 0) => [resources] validate_only + * resources => resource_type resource_name [config_entries] + * resource_type => INT8 + * resource_name => STRING + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * validate_only => BOOLEAN + */ + +/** + * @param {Array} resources An array of resources to change + * @param {boolean} [validateOnly=false] + */ +module.exports = ({ resources, validateOnly = false }) => ({ + apiKey, + apiVersion: 0, + apiName: 'AlterConfigs', + encode: async () => { + return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly) + }, +}) + +const encodeResource = ({ type, name, configEntries }) => { + return new Encoder() + .writeInt8(type) + .writeString(name) + .writeArray(configEntries.map(encodeConfigEntries)) +} + +const encodeConfigEntries = ({ name, value }) => { + return new Encoder().writeString(name).writeString(value) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * AlterConfigs Response (Version: 0) => throttle_time_ms [resources] + * throttle_time_ms => INT32 + * resources => error_code error_message resource_type resource_name + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + */ + +const decodeResources = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const resources = decoder.readArray(decodeResources) + + return { + throttleTime, + resources, + } +} + +const parse = async data => { + const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode)) + if (resourcesWithError.length > 0) { + throw createErrorFromCode(resourcesWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js") + +/** + * AlterConfigs Request (Version: 1) => [resources] validate_only + * resources => resource_type resource_name [config_entries] + * resource_type => INT8 + * resource_name => STRING + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * validate_only => BOOLEAN + */ + +/** + * @param {Array} resources An array of resources to change + * @param {boolean} [validateOnly=false] + */ +module.exports = ({ resources, validateOnly }) => + Object.assign( + requestV0({ + resources, + validateOnly, + }), + { apiVersion: 1 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * AlterConfigs Response (Version: 1) => throttle_time_ms [resources] + * throttle_time_ms => INT32 + * resources => error_code error_message resource_type resource_name + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiKeys.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ /***/ ((module) => { -"use strict"; -module.exports = JSON.parse("{\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/bdoc\":[\"bdoc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mpd\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[],\"application/font-woff2\":[],\"application/geo+json\":[\"geojson\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/gzip\":[\"gz\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\",\"war\",\"ear\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\",\"mjs\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/ld+json\":[\"jsonld\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/manifest+json\":[\"webmanifest\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/raml+yaml\":[\"raml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.apple.pkpass\":[\"pkpass\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-apps.document\":[\"gdoc\"],\"application/vnd.google-apps.presentation\":[\"gslides\"],\"application/vnd.google-apps.spreadsheet\":[\"gsheet\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.hydrostatix.sof-data\":[\"sfd-hdstx\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-outlook\":[\"msg\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.n-gage.symbian.install\":[\"n-gage\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.wadl+xml\":[\"wadl\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/wasm\":[\"wasm\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[],\"application/x-arj\":[\"arj\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bdoc\":[],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-cocoa\":[\"cco\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-httpd-php\":[\"php\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[],\"application/x-java-archive-diff\":[\"jardiff\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-makeself\":[\"run\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdos-program\":[],\"application/x-msdownload\":[\"com\",\"bat\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-ns-proxy-autoconfig\":[\"pac\"],\"application/x-nzb\":[\"nzb\"],\"application/x-perl\":[\"pl\",\"pm\"],\"application/x-pilot\":[],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-redhat-package-manager\":[\"rpm\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sea\":[\"sea\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\",\"tk\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-virtualbox-hdd\":[\"hdd\"],\"application/x-virtualbox-ova\":[\"ova\"],\"application/x-virtualbox-ovf\":[\"ovf\"],\"application/x-virtualbox-vbox\":[\"vbox\"],\"application/x-virtualbox-vbox-extpack\":[\"vbox-extpack\"],\"application/x-virtualbox-vdi\":[\"vdi\"],\"application/x-virtualbox-vhd\":[\"vhd\"],\"application/x-virtualbox-vmdk\":[\"vmdk\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\",\"pem\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\",\"rng\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/3gpp\":[],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp3\":[],\"audio/mp4\":[\"m4a\",\"mp4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/wav\":[\"wav\"],\"audio/wave\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-m4a\":[],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-realaudio\":[],\"audio/x-wav\":[],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/collection\":[\"ttc\"],\"font/otf\":[\"otf\"],\"font/ttf\":[\"ttf\"],\"font/woff\":[\"woff\"],\"font/woff2\":[\"woff2\"],\"image/apng\":[\"apng\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[\"jp2\",\"jpg2\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[\"jpm\"],\"image/jpx\":[\"jpx\",\"jpf\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-jng\":[\"jng\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-ms-bmp\":[],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/gltf+json\":[\"gltf\"],\"model/gltf-binary\":[\"glb\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\",\"litcoffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\",\"shtml\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/markdown\":[\"markdown\",\"md\"],\"text/mathml\":[\"mml\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/slim\":[\"slim\",\"slm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-org\":[],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-processing\":[\"pde\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-suse-ymp\":[\"ymp\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\",\"3gpp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}"); +module.exports = { + Produce: 0, + Fetch: 1, + ListOffsets: 2, + Metadata: 3, + LeaderAndIsr: 4, + StopReplica: 5, + UpdateMetadata: 6, + ControlledShutdown: 7, + OffsetCommit: 8, + OffsetFetch: 9, + GroupCoordinator: 10, + JoinGroup: 11, + Heartbeat: 12, + LeaveGroup: 13, + SyncGroup: 14, + DescribeGroups: 15, + ListGroups: 16, + SaslHandshake: 17, + ApiVersions: 18, // ApiVersions v0 on Kafka 0.10 + CreateTopics: 19, + DeleteTopics: 20, + DeleteRecords: 21, + InitProducerId: 22, + OffsetForLeaderEpoch: 23, + AddPartitionsToTxn: 24, + AddOffsetsToTxn: 25, + EndTxn: 26, + WriteTxnMarkers: 27, + TxnOffsetCommit: 28, + DescribeAcls: 29, + CreateAcls: 30, + DeleteAcls: 31, + DescribeConfigs: 32, + AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11 + AlterReplicaLogDirs: 34, + DescribeLogDirs: 35, + SaslAuthenticate: 36, + CreatePartitions: 37, + CreateDelegationToken: 38, + RenewDelegationToken: 39, + ExpireDelegationToken: 40, + DescribeDelegationToken: 41, + DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0 + ElectPreferredLeaders: 43, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const logResponseError = false + +const versions = { + 0: () => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js") + return { request: request(), response, logResponseError: true } + }, + 1: () => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js") + return { request: request(), response, logResponseError } + }, + 2: () => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js") + return { request: request(), response, logResponseError } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { ApiVersions: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * ApiVersionRequest => ApiKeys + */ + +module.exports = () => ({ + apiKey, + apiVersion: 0, + apiName: 'ApiVersions', + encode: async () => new Encoder(), +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * ApiVersionResponse => ApiVersions + * ErrorCode = INT16 + * ApiVersions = [ApiVersion] + * ApiVersion = ApiKey MinVersion MaxVersion + * ApiKey = INT16 + * MinVersion = INT16 + * MaxVersion = INT16 + */ + +const apiVersion = decoder => ({ + apiKey: decoder.readInt16(), + minVersion: decoder.readInt16(), + maxVersion: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + errorCode, + apiVersions: decoder.readArray(apiVersion), + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") + +// ApiVersions Request after v1 indicates the client can parse throttle_time_ms + +module.exports = () => ({ ...requestV0(), apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js") + +/** + * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms + * error_code => INT16 + * api_versions => api_key min_version max_version + * api_key => INT16 + * min_version => INT16 + * max_version => INT16 + * throttle_time_ms => INT32 + */ + +const apiVersion = decoder => ({ + apiKey: decoder.readInt16(), + minVersion: decoder.readInt16(), + maxVersion: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + const apiVersions = decoder.readArray(apiVersion) + + /** + * The Java client defaults this value to 0 if not present, + * even though it is required in the protocol. This is to + * work around https://github.com/tulios/kafkajs/issues/491 + * + * See: + * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25 + */ + const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0 + + return { + errorCode, + apiVersions, + throttleTime, + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js") + +// ApiVersions Request after v1 indicates the client can parse throttle_time_ms + +module.exports = () => ({ ...requestV0(), apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js") + +/** + * Starting in version 2, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms + * error_code => INT16 + * api_versions => api_key min_version max_version + * api_key => INT16 + * min_version => INT16 + * max_version => INT16 + * throttle_time_ms => INT32 + */ + +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/index.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ creations }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js") + return { request: request({ creations }), response } + }, + 1: ({ creations }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js") + return { request: request({ creations }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { CreateAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * CreateAcls Request (Version: 0) => [creations] + * creations => resource_type resource_name principal host operation permission_type + * resource_type => INT8 + * resource_name => STRING + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ + +const encodeCreations = ({ + resourceType, + resourceName, + principal, + host, + operation, + permissionType, +}) => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) +} + +module.exports = ({ creations }) => ({ + apiKey, + apiVersion: 0, + apiName: 'CreateAcls', + encode: async () => { + return new Encoder().writeArray(creations.map(encodeCreations)) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses] + * throttle_time_ms => INT32 + * creation_responses => error_code error_message + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const decodeCreationResponse = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const creationResponses = decoder.readArray(decodeCreationResponse) + + return { + throttleTime, + creationResponses, + } +} + +const parse = async data => { + const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) => + failure(errorCode) + ) + + if (creationResponsesWithError.length > 0) { + throw createErrorFromCode(creationResponsesWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { CreateAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * CreateAcls Request (Version: 1) => [creations] + * creations => resource_type resource_name resource_pattern_type principal host operation permission_type + * resource_type => INT8 + * resource_name => STRING + * resource_pattern_type => INT8 + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ + +const encodeCreations = ({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, +}) => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeInt8(resourcePatternType) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) +} + +module.exports = ({ creations }) => ({ + apiKey, + apiVersion: 1, + apiName: 'CreateAcls', + encode: async () => { + return new Encoder().writeArray(creations.map(encodeCreations)) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses] + * throttle_time_ms => INT32 + * creation_responses => error_code error_message + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ topicPartitions, timeout, validateOnly }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js") + return { request: request({ topicPartitions, timeout, validateOnly }), response } + }, + 1: ({ topicPartitions, validateOnly, timeout }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js") + return { request: request({ topicPartitions, validateOnly, timeout }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { CreatePartitions: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only + * topic_partitions => topic new_partitions + * topic => STRING + * new_partitions => count [assignment] + * count => INT32 + * assignment => ARRAY(INT32) + * timeout => INT32 + * validate_only => BOOLEAN + */ + +module.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({ + apiKey, + apiVersion: 0, + apiName: 'CreatePartitions', + encode: async () => { + return new Encoder() + .writeArray(topicPartitions.map(encodeTopicPartitions)) + .writeInt32(timeout) + .writeBoolean(validateOnly) + }, +}) + +const encodeTopicPartitions = ({ topic, count, assignments = [] }) => { + return new Encoder() + .writeString(topic) + .writeInt32(count) + .writeNullableArray(assignments.map(encodeAssignments)) +} + +const encodeAssignments = brokerIds => { + return new Encoder().writeNullableArray(brokerIds) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js": +/*!************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js ***! + \************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/* + * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors] + * throttle_time_ms => INT32 + * topic_errors => topic error_code error_message + * topic => STRING + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + return { + throttleTime, + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +const parse = async data => { + const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) + if (topicsWithError.length > 0) { + throw createErrorFromCode(topicsWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js") + +/** + * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only + * topic_partitions => topic new_partitions + * topic => STRING + * new_partitions => count [assignment] + * count => INT32 + * assignment => ARRAY(INT32) + * timeout => INT32 + * validate_only => BOOLEAN + */ + +module.exports = ({ topicPartitions, validateOnly, timeout }) => + Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js": +/*!************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js ***! + \************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors] + * throttle_time_ms => INT32 + * topic_errors => topic error_code error_message + * topic => STRING + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ topics, timeout }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js") + return { request: request({ topics, timeout }), response } + }, + 1: ({ topics, validateOnly, timeout }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js") + return { request: request({ topics, validateOnly, timeout }), response } + }, + 2: ({ topics, validateOnly, timeout }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js") + return { request: request({ topics, validateOnly, timeout }), response } + }, + 3: ({ topics, validateOnly, timeout }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js") + return { request: request({ topics, validateOnly, timeout }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { CreateTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * CreateTopics Request (Version: 0) => [create_topic_requests] timeout + * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] + * topic => STRING + * num_partitions => INT32 + * replication_factor => INT16 + * replica_assignment => partition [replicas] + * partition => INT32 + * replicas => INT32 + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * timeout => INT32 + */ + +module.exports = ({ topics, timeout = 5000 }) => ({ + apiKey, + apiVersion: 0, + apiName: 'CreateTopics', + encode: async () => { + return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout) + }, +}) + +const encodeTopics = ({ + topic, + numPartitions = 1, + replicationFactor = 1, + replicaAssignment = [], + configEntries = [], +}) => { + return new Encoder() + .writeString(topic) + .writeInt32(numPartitions) + .writeInt16(replicationFactor) + .writeArray(replicaAssignment.map(encodeReplicaAssignment)) + .writeArray(configEntries.map(encodeConfigEntries)) +} + +const encodeReplicaAssignment = ({ partition, replicas }) => { + return new Encoder().writeInt32(partition).writeArray(replicas) +} + +const encodeConfigEntries = ({ name, value }) => { + return new Encoder().writeString(name).writeString(value) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { KafkaJSAggregateError, KafkaJSCreateTopicError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") + +/** + * CreateTopics Response (Version: 0) => [topic_errors] + * topic_errors => topic error_code + * topic => STRING + * error_code => INT16 + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +const parse = async data => { + const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) + if (topicsWithError.length > 0) { + throw new KafkaJSAggregateError( + 'Topic creation errors', + topicsWithError.map( + error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic) + ) + ) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { CreateTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only + * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] + * topic => STRING + * num_partitions => INT32 + * replication_factor => INT16 + * replica_assignment => partition [replicas] + * partition => INT32 + * replicas => INT32 + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * timeout => INT32 + * validate_only => BOOLEAN + */ + +module.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({ + apiKey, + apiVersion: 1, + apiName: 'CreateTopics', + encode: async () => { + return new Encoder() + .writeArray(topics.map(encodeTopics)) + .writeInt32(timeout) + .writeBoolean(validateOnly) + }, +}) + +const encodeTopics = ({ + topic, + numPartitions = 1, + replicationFactor = 1, + replicaAssignment = [], + configEntries = [], +}) => { + return new Encoder() + .writeString(topic) + .writeInt32(numPartitions) + .writeInt16(replicationFactor) + .writeArray(replicaAssignment.map(encodeReplicaAssignment)) + .writeArray(configEntries.map(encodeConfigEntries)) +} + +const encodeReplicaAssignment = ({ partition, replicas }) => { + return new Encoder().writeInt32(partition).writeArray(replicas) +} + +const encodeConfigEntries = ({ name, value }) => { + return new Encoder().writeString(name).writeString(value) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js") + +/** + * CreateTopics Response (Version: 1) => [topic_errors] + * topic_errors => topic error_code error_message + * topic => STRING + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js") + +/** + * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only + * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] + * topic => STRING + * num_partitions => INT32 + * replication_factor => INT16 + * replica_assignment => partition [replicas] + * partition => INT32 + * replicas => INT32 + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * timeout => INT32 + * validate_only => BOOLEAN + */ + +module.exports = ({ topics, validateOnly, timeout }) => + Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js") + +/** + * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors] + * throttle_time_ms => INT32 + * topic_errors => topic error_code error_message + * topic => STRING + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + throttleTime: decoder.readInt32(), + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js") + +/** + * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only + * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries] + * topic => STRING + * num_partitions => INT32 + * replication_factor => INT16 + * replica_assignment => partition [replicas] + * partition => INT32 + * replicas => INT32 + * config_entries => config_name config_value + * config_name => STRING + * config_value => NULLABLE_STRING + * timeout => INT32 + * validate_only => BOOLEAN + */ + +module.exports = ({ topics, validateOnly, timeout }) => + Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js") + +/** + * Starting in version 3, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors] + * throttle_time_ms => INT32 + * topic_errors => topic error_code error_message + * topic => STRING + * error_code => INT16 + * error_message => NULLABLE_STRING + */ + +const decode = async rawData => { + const decoded = await decodeV2(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ filters }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js") + return { request: request({ filters }), response } + }, + 1: ({ filters }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js") + return { request: request({ filters }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DeleteAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DeleteAcls Request (Version: 0) => [filters] + * filters => resource_type resource_name principal host operation permission_type + * resource_type => INT8 + * resource_name => NULLABLE_STRING + * principal => NULLABLE_STRING + * host => NULLABLE_STRING + * operation => INT8 + * permission_type => INT8 + */ + +const encodeFilters = ({ + resourceType, + resourceName, + principal, + host, + operation, + permissionType, +}) => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) +} + +module.exports = ({ filters }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DeleteAcls', + encode: async () => { + return new Encoder().writeArray(filters.map(encodeFilters)) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 70:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses] + * throttle_time_ms => INT32 + * filter_responses => error_code error_message [matching_acls] + * error_code => INT16 + * error_message => NULLABLE_STRING + * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ + +const decodeMatchingAcls = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), + principal: decoder.readString(), + host: decoder.readString(), + operation: decoder.readInt8(), + permissionType: decoder.readInt8(), +}) + +const decodeFilterResponse = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + matchingAcls: decoder.readArray(decodeMatchingAcls), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const filterResponses = decoder.readArray(decodeFilterResponse) + + return { + throttleTime, + filterResponses, + } +} + +const parse = async data => { + const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) => + failure(errorCode) + ) + + if (filterResponsesWithError.length > 0) { + throw createErrorFromCode(filterResponsesWithError[0].errorCode) + } + + for (const filterResponse of data.filterResponses) { + const matchingAcls = filterResponse.matchingAcls + const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode)) + + if (matchingAclsWithError.length > 0) { + throw createErrorFromCode(matchingAclsWithError[0].errorCode) + } + } + + return data +} + +module.exports = { + decodeMatchingAcls, + decodeFilterResponse, + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DeleteAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DeleteAcls Request (Version: 1) => [filters] + * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type + * resource_type => INT8 + * resource_name => NULLABLE_STRING + * resource_pattern_type_filter => INT8 + * principal => NULLABLE_STRING + * host => NULLABLE_STRING + * operation => INT8 + * permission_type => INT8 + */ + +const encodeFilters = ({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, +}) => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeInt8(resourcePatternType) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) +} + +module.exports = ({ filters }) => ({ + apiKey, + apiVersion: 1, + apiName: 'DeleteAcls', + encode: async () => { + return new Encoder().writeArray(filters.map(encodeFilters)) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 57:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * Version 1 also introduces a new resource pattern type field. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs + * + * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses] + * throttle_time_ms => INT32 + * filter_responses => error_code error_message [matching_acls] + * error_code => INT16 + * error_message => NULLABLE_STRING + * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + * resource_pattern_type => INT8 + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ + +const decodeMatchingAcls = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), + resourcePatternType: decoder.readInt8(), + principal: decoder.readString(), + host: decoder.readString(), + operation: decoder.readInt8(), + permissionType: decoder.readInt8(), +}) + +const decodeFilterResponse = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + matchingAcls: decoder.readArray(decodeMatchingAcls), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const filterResponses = decoder.readArray(decodeFilterResponse) + + return { + throttleTime: 0, + clientSideThrottleTime: throttleTime, + filterResponses, + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: groupIds => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js") + return { request: request(groupIds), response } + }, + 1: groupIds => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js") + return { request: request(groupIds), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DeleteGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DeleteGroups Request (Version: 0) => [groups_names] + * groups_names => STRING + */ + +/** + */ +module.exports = groupIds => ({ + apiKey, + apiVersion: 0, + apiName: 'DeleteGroups', + encode: async () => { + return new Encoder().writeArray(groupIds.map(encodeGroups)) + }, +}) + +const encodeGroups = group => { + return new Encoder().writeString(group) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +/** + * DeleteGroups Response (Version: 0) => throttle_time_ms [results] + * throttle_time_ms => INT32 + * results => group_id error_code + * group_id => STRING + * error_code => INT16 + */ + +const decodeGroup = decoder => ({ + groupId: decoder.readString(), + errorCode: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTimeMs = decoder.readInt32() + const results = decoder.readArray(decodeGroup) + + for (const result of results) { + if (failure(result.errorCode)) { + result.error = createErrorFromCode(result.errorCode) + } + } + return { + throttleTimeMs, + results, + } +} + +const parse = async data => { + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js") + +/** + * DeleteGroups Request (Version: 1) + */ + +module.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * DeleteGroups Response (Version: 1) => throttle_time_ms [results] + * throttle_time_ms => INT32 + * results => group_id error_code + * group_id => STRING + * error_code => INT16 + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ topics, timeout }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js") + return { request: request({ topics, timeout }), response: response({ topics }) } + }, + 1: ({ topics, timeout }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js") + return { request: request({ topics, timeout }), response: response({ topics }) } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DeleteRecords: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DeleteRecords Request (Version: 0) => [topics] timeout_ms + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset + * partition => INT32 + * offset => INT64 + * timeout => INT32 + */ +module.exports = ({ topics, timeout = 5000 }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DeleteRecords', + encode: async () => { + return new Encoder() + .writeArray( + topics.map(({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray( + partitions.map(({ partition, offset }) => { + return new Encoder().writeInt32(partition).writeInt64(offset) + }) + ) + }) + ) + .writeInt32(timeout) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 62:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { KafkaJSDeleteTopicRecordsError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * DeleteRecords Response (Version: 0) => throttle_time_ms [topics] + * throttle_time_ms => INT32 + * topics => name [partitions] + * name => STRING + * partitions => partition low_watermark error_code + * partition => INT32 + * low_watermark => INT64 + * error_code => INT16 + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + throttleTime: decoder.readInt32(), + topics: decoder + .readArray(decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decoder => ({ + partition: decoder.readInt32(), + lowWatermark: decoder.readInt64(), + errorCode: decoder.readInt16(), + })), + })) + .sort(topicNameComparator), + } +} + +const parse = requestTopics => async data => { + const topicsWithErrors = data.topics + .map(({ partitions }) => ({ + partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)), + })) + .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) + + if (topicsWithErrors.length > 0) { + // at present we only ever request one topic at a time, so can destructure the arrays + const [{ topic }] = data.topics // topic name + const [{ partitions: requestPartitions }] = requestTopics // requested offset(s) + const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s) + + throw new KafkaJSDeleteTopicRecordsError({ + topic, + partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({ + partition, + error: createErrorFromCode(errorCode), + // attach the original offset from the request, onto the error response + offset: requestPartitions.find(p => p.partition === partition).offset, + })), + }) + } + + return data +} + +module.exports = ({ topics }) => ({ + decode, + parse: parse(topics), +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js") + +/** + * DeleteRecords Request (Version: 1) => [topics] timeout_ms + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset + * partition => INT32 + * offset => INT64 + * timeout => INT32 + */ +module.exports = ({ topics, timeout }) => + Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const responseV0 = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * DeleteRecords Response (Version: 1) => throttle_time_ms [topics] + * throttle_time_ms => INT32 + * topics => name [partitions] + * name => STRING + * partitions => partition_index low_watermark error_code + * partition_index => INT32 + * low_watermark => INT64 + * error_code => INT16 + */ + +module.exports = ({ topics }) => { + const { parse, decode: decodeV0 } = responseV0({ topics }) + + const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } + } + + return { + decode, + parse, + } +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ topics, timeout }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js") + return { request: request({ topics, timeout }), response } + }, + 1: ({ topics, timeout }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js") + return { request: request({ topics, timeout }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DeleteTopics: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DeleteTopics Request (Version: 0) => [topics] timeout + * topics => STRING + * timeout => INT32 + */ +module.exports = ({ topics, timeout = 5000 }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DeleteTopics', + encode: async () => { + return new Encoder().writeArray(topics).writeInt32(timeout) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * DeleteTopics Response (Version: 0) => [topic_error_codes] + * topic_error_codes => topic error_code + * topic => STRING + * error_code => INT16 + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +const parse = async data => { + const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode)) + if (topicsWithError.length > 0) { + throw createErrorFromCode(topicsWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js") + +/** + * DeleteTopics Request (Version: 1) => [topics] timeout + * topics => STRING + * timeout => INT32 + */ + +module.exports = ({ topics, timeout }) => + Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes] + * throttle_time_ms => INT32 + * topic_error_codes => topic error_code + * topic => STRING + * error_code => INT16 + */ + +const topicNameComparator = (a, b) => a.topic.localeCompare(b.topic) + +const topicErrors = decoder => ({ + topic: decoder.readString(), + errorCode: decoder.readInt16(), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + + return { + throttleTime: 0, + clientSideThrottleTime: throttleTime, + topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator), + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js") + return { + request: request({ resourceType, resourceName, principal, host, operation, permissionType }), + response, + } + }, + 1: ({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js") + return { + request: request({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, + }), + response, + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DescribeAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type + * resource_type => INT8 + * resource_name => NULLABLE_STRING + * principal => NULLABLE_STRING + * host => NULLABLE_STRING + * operation => INT8 + * permission_type => INT8 + */ + +module.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DescribeAcls', + encode: async () => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources] + * throttle_time_ms => INT32 + * error_code => INT16 + * error_message => NULLABLE_STRING + * resources => resource_type resource_name [acls] + * resource_type => INT8 + * resource_name => STRING + * acls => principal host operation permission_type + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ + +const decodeAcls = decoder => ({ + principal: decoder.readString(), + host: decoder.readString(), + operation: decoder.readInt8(), + permissionType: decoder.readInt8(), +}) + +const decodeResources = decoder => ({ + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), + acls: decoder.readArray(decodeAcls), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const errorMessage = decoder.readString() + const resources = decoder.readArray(decodeResources) + + return { + throttleTime, + errorCode, + errorMessage, + resources, + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DescribeAcls: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type + * resource_type => INT8 + * resource_name => NULLABLE_STRING + * resource_pattern_type_filter => INT8 + * principal => NULLABLE_STRING + * host => NULLABLE_STRING + * operation => INT8 + * permission_type => INT8 + */ + +module.exports = ({ + resourceType, + resourceName, + resourcePatternType, + principal, + host, + operation, + permissionType, +}) => ({ + apiKey, + apiVersion: 1, + apiName: 'DescribeAcls', + encode: async () => { + return new Encoder() + .writeInt8(resourceType) + .writeString(resourceName) + .writeInt8(resourcePatternType) + .writeString(principal) + .writeString(host) + .writeInt8(operation) + .writeInt8(permissionType) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 54:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js") +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * Version 1 also introduces a new resource pattern type field. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs + * + * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources] + * throttle_time_ms => INT32 + * error_code => INT16 + * error_message => NULLABLE_STRING + * resources => resource_type resource_name resource_pattern_type [acls] + * resource_type => INT8 + * resource_name => STRING + * resource_pattern_type => INT8 + * acls => principal host operation permission_type + * principal => STRING + * host => STRING + * operation => INT8 + * permission_type => INT8 + */ +const decodeAcls = decoder => ({ + principal: decoder.readString(), + host: decoder.readString(), + operation: decoder.readInt8(), + permissionType: decoder.readInt8(), +}) + +const decodeResources = decoder => ({ + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), + resourcePatternType: decoder.readInt8(), + acls: decoder.readArray(decodeAcls), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const errorMessage = decoder.readString() + const resources = decoder.readArray(decodeResources) + + return { + throttleTime: 0, + clientSideThrottleTime: throttleTime, + errorCode, + errorMessage, + resources, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ resources }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js") + return { request: request({ resources }), response } + }, + 1: ({ resources, includeSynonyms }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js") + return { request: request({ resources, includeSynonyms }), response } + }, + 2: ({ resources, includeSynonyms }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js") + return { request: request({ resources, includeSynonyms }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DescribeConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DescribeConfigs Request (Version: 0) => [resources] + * resources => resource_type resource_name [config_names] + * resource_type => INT8 + * resource_name => STRING + * config_names => STRING + */ + +/** + * @param {Array} resources An array of config resources to be returned + */ +module.exports = ({ resources }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DescribeConfigs', + encode: async () => { + return new Encoder().writeArray(resources.map(encodeResource)) + }, +}) + +const encodeResource = ({ type, name, configNames = [] }) => { + return new Encoder() + .writeInt8(type) + .writeString(name) + .writeNullableArray(configNames) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 95:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const ConfigSource = __webpack_require__(/*! ../../../configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") +const ConfigResourceTypes = __webpack_require__(/*! ../../../configResourceTypes */ "./node_modules/kafkajs/src/protocol/configResourceTypes.js") + +/** + * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources] + * throttle_time_ms => INT32 + * resources => error_code error_message resource_type resource_name [config_entries] + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + * config_entries => config_name config_value read_only is_default is_sensitive + * config_name => STRING + * config_value => NULLABLE_STRING + * read_only => BOOLEAN + * is_default => BOOLEAN + * is_sensitive => BOOLEAN + */ + +const decodeConfigEntries = (decoder, resourceType) => { + const configName = decoder.readString() + const configValue = decoder.readString() + const readOnly = decoder.readBoolean() + const isDefault = decoder.readBoolean() + const isSensitive = decoder.readBoolean() + + /** + * Backporting ConfigSource value to v0 + * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242 + */ + let configSource + if (isDefault) { + configSource = ConfigSource.DEFAULT_CONFIG + } else { + switch (resourceType) { + case ConfigResourceTypes.BROKER: + configSource = ConfigSource.STATIC_BROKER_CONFIG + break + case ConfigResourceTypes.TOPIC: + configSource = ConfigSource.TOPIC_CONFIG + break + default: + configSource = ConfigSource.UNKNOWN + } + } + + return { + configName, + configValue, + readOnly, + isDefault, + configSource, + isSensitive, + } +} + +const decodeResources = decoder => { + const errorCode = decoder.readInt16() + const errorMessage = decoder.readString() + const resourceType = decoder.readInt8() + const resourceName = decoder.readString() + const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType)) + + return { + errorCode, + errorMessage, + resourceType, + resourceName, + configEntries, + } +} + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const resources = decoder.readArray(decodeResources) + + return { + throttleTime, + resources, + } +} + +const parse = async data => { + const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode)) + if (resourcesWithError.length > 0) { + throw createErrorFromCode(resourcesWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DescribeConfigs: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DescribeConfigs Request (Version: 1) => [resources] include_synonyms + * resources => resource_type resource_name [config_names] + * resource_type => INT8 + * resource_name => STRING + * config_names => STRING + * include_synonyms => BOOLEAN + */ + +/** + * @param {Array} resources An array of config resources to be returned + * @param [includeSynonyms=false] + */ +module.exports = ({ resources, includeSynonyms = false }) => ({ + apiKey, + apiVersion: 1, + apiName: 'DescribeConfigs', + encode: async () => { + return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms) + }, +}) + +const encodeResource = ({ type, name, configNames = [] }) => { + return new Encoder() + .writeInt8(type) + .writeString(name) + .writeNullableArray(configNames) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 69:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js") +const { DEFAULT_CONFIG } = __webpack_require__(/*! ../../../configSource */ "./node_modules/kafkajs/src/protocol/configSource.js") + +/** + * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources] + * throttle_time_ms => INT32 + * resources => error_code error_message resource_type resource_name [config_entries] + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms] + * config_name => STRING + * config_value => NULLABLE_STRING + * read_only => BOOLEAN + * config_source => INT8 + * is_sensitive => BOOLEAN + * config_synonyms => config_name config_value config_source + * config_name => STRING + * config_value => NULLABLE_STRING + * config_source => INT8 + */ + +const decodeSynonyms = decoder => ({ + configName: decoder.readString(), + configValue: decoder.readString(), + configSource: decoder.readInt8(), +}) + +const decodeConfigEntries = decoder => { + const configName = decoder.readString() + const configValue = decoder.readString() + const readOnly = decoder.readBoolean() + const configSource = decoder.readInt8() + const isSensitive = decoder.readBoolean() + const configSynonyms = decoder.readArray(decodeSynonyms) + + return { + configName, + configValue, + readOnly, + isDefault: configSource === DEFAULT_CONFIG, + configSource, + isSensitive, + configSynonyms, + } +} + +const decodeResources = decoder => ({ + errorCode: decoder.readInt16(), + errorMessage: decoder.readString(), + resourceType: decoder.readInt8(), + resourceName: decoder.readString(), + configEntries: decoder.readArray(decodeConfigEntries), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const resources = decoder.readArray(decodeResources) + + return { + throttleTime, + resources, + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js") + +/** + * DescribeConfigs Request (Version: 1) => [resources] include_synonyms + * resources => resource_type resource_name [config_names] + * resource_type => INT8 + * resource_name => STRING + * config_names => STRING + * include_synonyms => BOOLEAN + */ + +/** + * @param {Array} resources An array of config resources to be returned + * @param [includeSynonyms=false] + */ +module.exports = ({ resources, includeSynonyms }) => + Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js") + +/** + * Starting in version 2, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources] + * throttle_time_ms => INT32 + * resources => error_code error_message resource_type resource_name [config_entries] + * error_code => INT16 + * error_message => NULLABLE_STRING + * resource_type => INT8 + * resource_name => STRING + * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms] + * config_name => STRING + * config_value => NULLABLE_STRING + * read_only => BOOLEAN + * config_source => INT8 + * is_sensitive => BOOLEAN + * config_synonyms => config_name config_value config_source + * config_name => STRING + * config_value => NULLABLE_STRING + * config_source => INT8 + */ + +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ groupIds }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js") + return { request: request({ groupIds }), response } + }, + 1: ({ groupIds }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js") + return { request: request({ groupIds }), response } + }, + 2: ({ groupIds }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js") + return { request: request({ groupIds }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { DescribeGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * DescribeGroups Request (Version: 0) => [group_ids] + * group_ids => STRING + */ + +/** + * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata) + */ +module.exports = ({ groupIds }) => ({ + apiKey, + apiVersion: 0, + apiName: 'DescribeGroups', + encode: async () => { + return new Encoder().writeArray(groupIds) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * DescribeGroups Response (Version: 0) => [groups] + * groups => error_code group_id state protocol_type protocol [members] + * error_code => INT16 + * group_id => STRING + * state => STRING + * protocol_type => STRING + * protocol => STRING + * members => member_id client_id client_host member_metadata member_assignment + * member_id => STRING + * client_id => STRING + * client_host => STRING + * member_metadata => BYTES + * member_assignment => BYTES + */ + +const decoderMember = decoder => ({ + memberId: decoder.readString(), + clientId: decoder.readString(), + clientHost: decoder.readString(), + memberMetadata: decoder.readBytes(), + memberAssignment: decoder.readBytes(), +}) + +const decodeGroup = decoder => ({ + errorCode: decoder.readInt16(), + groupId: decoder.readString(), + state: decoder.readString(), + protocolType: decoder.readString(), + protocol: decoder.readString(), + members: decoder.readArray(decoderMember), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const groups = decoder.readArray(decodeGroup) + + return { + groups, + } +} + +const parse = async data => { + const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode)) + if (groupsWithError.length > 0) { + throw createErrorFromCode(groupsWithError[0].errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js") + +/** + * DescribeGroups Request (Version: 1) => [group_ids] + * group_ids => STRING + */ + +module.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js") + +/** + * DescribeGroups Response (Version: 1) => throttle_time_ms [groups] + * throttle_time_ms => INT32 + * groups => error_code group_id state protocol_type protocol [members] + * error_code => INT16 + * group_id => STRING + * state => STRING + * protocol_type => STRING + * protocol => STRING + * members => member_id client_id client_host member_metadata member_assignment + * member_id => STRING + * client_id => STRING + * client_host => STRING + * member_metadata => BYTES + * member_assignment => BYTES + */ + +const decoderMember = decoder => ({ + memberId: decoder.readString(), + clientId: decoder.readString(), + clientHost: decoder.readString(), + memberMetadata: decoder.readBytes(), + memberAssignment: decoder.readBytes(), +}) + +const decodeGroup = decoder => ({ + errorCode: decoder.readInt16(), + groupId: decoder.readString(), + state: decoder.readString(), + protocolType: decoder.readString(), + protocol: decoder.readString(), + members: decoder.readArray(decoderMember), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const groups = decoder.readArray(decodeGroup) + + return { + throttleTime, + groups, + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js") + +/** + * DescribeGroups Request (Version: 2) => [group_ids] + * group_ids => STRING + */ + +module.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js") + +/** + * Starting in version 2, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * DescribeGroups Response (Version: 2) => throttle_time_ms [groups] + * throttle_time_ms => INT32 + * groups => error_code group_id state protocol_type protocol [members] + * error_code => INT16 + * group_id => STRING + * state => STRING + * protocol_type => STRING + * protocol => STRING + * members => member_id client_id client_host member_metadata member_assignment + * member_id => STRING + * client_id => STRING + * client_host => STRING + * member_metadata => BYTES + * member_assignment => BYTES + */ + +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/index.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js") + return { + request: request({ transactionalId, producerId, producerEpoch, transactionResult }), + response, + } + }, + 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js") + return { + request: request({ transactionalId, producerId, producerEpoch, transactionResult }), + response, + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { EndTxn: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * transaction_result => BOOLEAN + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({ + apiKey, + apiVersion: 0, + apiName: 'EndTxn', + encode: async () => { + return new Encoder() + .writeString(transactionalId) + .writeInt64(producerId) + .writeInt16(producerEpoch) + .writeBoolean(transactionResult) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * EndTxn Response (Version: 0) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + throttleTime, + errorCode, + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js") + +/** + * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result + * transactional_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * transaction_result => BOOLEAN + */ + +module.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => + Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), { + apiVersion: 1, + }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * EndTxn Response (Version: 1) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/index.js": +/*!*******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/index.js ***! + \*******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 248:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const ISOLATION_LEVEL = __webpack_require__(/*! ../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +// For normal consumers, use -1 +const REPLICA_ID = -1 +const NETWORK_DELAY = 100 + +/** + * The FETCH request can block up to maxWaitTime, which can be bigger than the configured + * request timeout. It's safer to always use the maxWaitTime + **/ +const requestTimeout = timeout => + Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout + +const versions = { + 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js") + return { + request: request({ replicaId, maxWaitTime, minBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") + return { + request: request({ replicaId, maxWaitTime, minBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js") + return { + request: request({ replicaId, maxWaitTime, minBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js") + return { + request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 4: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js") + return { + request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 5: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js") + const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js") + return { + request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 6: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js") + const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js") + return { + request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 7: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v7/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js") + const response = __webpack_require__(/*! ./v7/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js") + return { + request: request({ + replicaId, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + maxWaitTime, + minBytes, + maxBytes, + topics, + }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 8: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v8/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js") + const response = __webpack_require__(/*! ./v8/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js") + return { + request: request({ + replicaId, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + maxWaitTime, + minBytes, + maxBytes, + topics, + }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 9: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v9/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js") + const response = __webpack_require__(/*! ./v9/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js") + return { + request: request({ + replicaId, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + maxWaitTime, + minBytes, + maxBytes, + topics, + }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 10: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], + maxWaitTime, + minBytes, + maxBytes, + topics, + }) => { + const request = __webpack_require__(/*! ./v10/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js") + const response = __webpack_require__(/*! ./v10/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js") + return { + request: request({ + replicaId, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + maxWaitTime, + minBytes, + maxBytes, + topics, + }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, + 11: ({ + replicaId = REPLICA_ID, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], + maxWaitTime, + minBytes, + maxBytes, + topics, + rackId, + }) => { + const request = __webpack_require__(/*! ./v11/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js") + const response = __webpack_require__(/*! ./v11/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js") + return { + request: request({ + replicaId, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + maxWaitTime, + minBytes, + maxBytes, + topics, + rackId, + }), + response, + requestTimeout: requestTimeout(maxWaitTime), + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset max_bytes + * partition => INT32 + * fetch_offset => INT64 + * max_bytes => INT32 + */ + +/** + * @param {number} replicaId Broker id of the follower + * @param {number} maxWaitTime Maximum time in ms to wait for the response + * @param {number} minBytes Minimum bytes to accumulate in the response. + * @param {Array} topics Topics to fetch + * [ + * { + * topic: 'topic-name', + * partitions: [ + * { + * partition: 0, + * fetchOffset: '4124', + * maxBytes: 2048 + * } + * ] + * } + * ] + */ +module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ partition, fetchOffset, maxBytes }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(fetchOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { KafkaJSOffsetOutOfRange } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") +const { failure, createErrorFromCode, errorCodes } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") +const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") + +/** + * Fetch Response (Version: 0) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * record_set => RECORDS + */ + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + messages: await MessageSetDecoder(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const responses = await decoder.readArrayAsync(decodeResponse) + + return { + responses, + } +} + +const { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find( + e => e.type === 'OFFSET_OUT_OF_RANGE' +) + +const parse = async data => { + const partitionsWithError = data.responses.map(({ topicName, partitions }) => { + return partitions + .filter(partition => failure(partition.errorCode)) + .map(partition => Object.assign({}, partition, { topic: topicName })) + }) + + const errors = flatten(partitionsWithError) + if (errors.length > 0) { + const { errorCode, topic, partition } = errors[0] + if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) { + throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition }) + } + + throw createErrorFromCode(errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") + +module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => { + return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 }) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 41:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js") +const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") + +/** + * Fetch Response (Version: 1) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * record_set => RECORDS + */ + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + messages: await MessageSetDecoder(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + return { + throttleTime, + responses, + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") +const requestV9 = __webpack_require__(/*! ../v9/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js") + +/** + * ZStd Compression + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression + */ + +/** + * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * session_id => INT32 + * session_epoch => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * current_leader_epoch => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + * forgotten_topics_data => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], // Topics to remove from the fetch session +}) => + Object.assign( + requestV9({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + }), + { apiVersion: 10 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode, parse } = __webpack_require__(/*! ../v9/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js") + +/** + * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses] + * throttle_time_ms => INT32 + * error_code => INT16 + * session_id => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 33:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +/** + * Allow consumers to fetch from closest replica + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica + */ + +/** + * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * session_id => INT32 + * session_epoch => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * current_leader_epoch => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + * forgotten_topics_data => topic [partitions] + * topic => STRING + * partitions => INT32 + * rack_id => STRING + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + rackId = '', + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], // Topics to remove from the fetch session +}) => ({ + apiKey, + apiVersion: 11, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeInt8(isolationLevel) + .writeInt32(sessionId) + .writeInt32(sessionEpoch) + .writeArray(topics.map(encodeTopic)) + .writeArray(forgottenTopics.map(encodeForgottenTopics)) + .writeString(rackId) + }, +}) + +const encodeForgottenTopics = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions) +} + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ + partition, + currentLeaderEpoch = -1, + fetchOffset, + logStartOffset = -1, + maxBytes, +}) => { + return new Encoder() + .writeInt32(partition) + .writeInt32(currentLeaderEpoch) + .writeInt64(fetchOffset) + .writeInt64(logStartOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 66:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") +const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") + +/** + * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses] + * throttle_time_ms => INT32 + * error_code => INT16 + * session_id => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * preferred_read_replica => INT32 + * record_set => RECORDS + */ + +const decodeAbortedTransactions = decoder => ({ + producerId: decoder.readInt64().toString(), + firstOffset: decoder.readInt64().toString(), +}) + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + lastStableOffset: decoder.readInt64().toString(), + lastStartOffset: decoder.readInt64().toString(), + abortedTransactions: decoder.readArray(decodeAbortedTransactions), + preferredReadReplica: decoder.readInt32(), + messages: await decodeMessages(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const clientSideThrottleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const sessionId = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + // Report a `throttleTime` of 0: The broker will not have throttled + // this request, but if the `clientSideThrottleTime` is >0 then it + // expects us to do that -- and it will ignore requests. + return { + throttleTime: 0, + clientSideThrottleTime, + errorCode, + sessionId, + responses, + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js") + +module.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => { + return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 }) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode, parse } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") + +/** + * Fetch Response (Version: 2) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * record_set => RECORDS + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset max_bytes + * partition => INT32 + * fetch_offset => INT64 + * max_bytes => INT32 + */ + +/** + * @param {number} replicaId Broker id of the follower + * @param {number} maxWaitTime Maximum time in ms to wait for the response + * @param {number} minBytes Minimum bytes to accumulate in the response. + * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum, + * if the first message in the first non-empty partition of the fetch is larger than this value, + * the message will still be returned to ensure that progress can be made. + * @param {Array} topics Topics to fetch + * [ + * { + * topic: 'topic-name', + * partitions: [ + * { + * partition: 0, + * fetchOffset: '4124', + * maxBytes: 2048 + * } + * ] + * } + * ] + */ +module.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({ + apiKey, + apiVersion: 3, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ partition, fetchOffset, maxBytes }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(fetchOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode, parse } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") + +/** + * Fetch Response (Version: 3) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * record_set => RECORDS + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const MessageSetDecoder = __webpack_require__(/*! ../../../messageSet/decoder */ "./node_modules/kafkajs/src/protocol/messageSet/decoder.js") +const RecordBatchDecoder = __webpack_require__(/*! ../../../recordBatch/v0/decoder */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js") +const { MAGIC_BYTE } = __webpack_require__(/*! ../../../recordBatch/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js") + +// the magic offset is at the same offset for all current message formats, but the 4 bytes +// between the size and the magic is dependent on the version. +const MAGIC_OFFSET = 16 +const RECORD_BATCH_OVERHEAD = 49 + +const decodeMessages = async decoder => { + const messagesSize = decoder.readInt32() + + if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) { + return [] + } + + const messagesBuffer = decoder.readBytes(messagesSize) + const messagesDecoder = new Decoder(messagesBuffer) + const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0) + + if (magicByte === MAGIC_BYTE) { + const records = [] + + while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) { + try { + const recordBatch = await RecordBatchDecoder(messagesDecoder) + records.push(...recordBatch.records) + } catch (e) { + // The tail of the record batches can have incomplete records + // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI + if (e.name === 'KafkaJSPartialMessageError') { + break + } + + throw e + } + } + + return records + } + + return MessageSetDecoder(messagesDecoder, messagesSize) +} + +module.exports = decodeMessages + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +/** + * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset max_bytes + * partition => INT32 + * fetch_offset => INT64 + * max_bytes => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, +}) => ({ + apiKey, + apiVersion: 4, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeInt8(isolationLevel) + .writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ partition, fetchOffset, maxBytes }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(fetchOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 52:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") +const decodeMessages = __webpack_require__(/*! ./decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") + +/** + * Fetch Response (Version: 4) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +const decodeAbortedTransactions = decoder => ({ + producerId: decoder.readInt64().toString(), + firstOffset: decoder.readInt64().toString(), +}) + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + lastStableOffset: decoder.readInt64().toString(), + abortedTransactions: decoder.readArray(decodeAbortedTransactions), + messages: await decodeMessages(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + return { + throttleTime, + responses, + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +/** + * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, +}) => ({ + apiKey, + apiVersion: 5, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeInt8(isolationLevel) + .writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(fetchOffset) + .writeInt64(logStartOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 54:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") +const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") + +/** + * Fetch Response (Version: 5) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +const decodeAbortedTransactions = decoder => ({ + producerId: decoder.readInt64().toString(), + firstOffset: decoder.readInt64().toString(), +}) + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + lastStableOffset: decoder.readInt64().toString(), + lastStartOffset: decoder.readInt64().toString(), + abortedTransactions: decoder.readArray(decodeAbortedTransactions), + messages: await decodeMessages(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + return { + throttleTime, + responses, + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") +const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js") + +/** + * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, +}) => + Object.assign( + requestV5({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel, + }), + { apiVersion: 6 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode, parse } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js") + +/** + * Fetch Response (Version: 6) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 31:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +/** + * Sessions are only used by followers + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability + */ + +/** + * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * session_id => INT32 + * session_epoch => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + * forgotten_topics_data => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], // Topics to remove from the fetch session +}) => ({ + apiKey, + apiVersion: 7, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeInt8(isolationLevel) + .writeInt32(sessionId) + .writeInt32(sessionEpoch) + .writeArray(topics.map(encodeTopic)) + .writeArray(forgottenTopics.map(encodeForgottenTopics)) + }, +}) + +const encodeForgottenTopics = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions) +} + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(fetchOffset) + .writeInt64(logStartOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 60:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") +const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") + +/** + * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses] + * throttle_time_ms => INT32 + * error_code => INT16 + * session_id => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +const decodeAbortedTransactions = decoder => ({ + producerId: decoder.readInt64().toString(), + firstOffset: decoder.readInt64().toString(), +}) + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + lastStableOffset: decoder.readInt64().toString(), + lastStartOffset: decoder.readInt64().toString(), + abortedTransactions: decoder.readArray(decodeAbortedTransactions), + messages: await decodeMessages(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const sessionId = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + return { + throttleTime, + errorCode, + sessionId, + responses, + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") +const requestV7 = __webpack_require__(/*! ../v7/request */ "./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js") + +/** + * Quota violation brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + */ + +/** + * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * session_id => INT32 + * session_epoch => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + * forgotten_topics_data => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], // Topics to remove from the fetch session +}) => + Object.assign( + requestV7({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel, + sessionId, + sessionEpoch, + forgottenTopics, + }), + { apiVersion: 8 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js") +const decodeMessages = __webpack_require__(/*! ../v4/decodeMessages */ "./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js") + +/** + * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses] + * throttle_time_ms => INT32 + * error_code => INT16 + * session_id => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +const decodeAbortedTransactions = decoder => ({ + producerId: decoder.readInt64().toString(), + firstOffset: decoder.readInt64().toString(), +}) + +const decodePartition = async decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + highWatermark: decoder.readInt64().toString(), + lastStableOffset: decoder.readInt64().toString(), + lastStartOffset: decoder.readInt64().toString(), + abortedTransactions: decoder.readArray(decodeAbortedTransactions), + messages: await decodeMessages(decoder), +}) + +const decodeResponse = async decoder => ({ + topicName: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const clientSideThrottleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const sessionId = decoder.readInt32() + const responses = await decoder.readArrayAsync(decodeResponse) + + // Report a `throttleTime` of 0: The broker will not have throttled + // this request, but if the `clientSideThrottleTime` is >0 then it + // expects us to do that -- and it will ignore requests. + return { + throttleTime: 0, + clientSideThrottleTime, + errorCode, + sessionId, + responses, + } +} + +module.exports = { + decode, + parse: parseV1, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Fetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const ISOLATION_LEVEL = __webpack_require__(/*! ../../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") + +/** + * Allow fetchers to detect and handle log truncation + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation + */ + +/** + * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data] + * replica_id => INT32 + * max_wait_time => INT32 + * min_bytes => INT32 + * max_bytes => INT32 + * isolation_level => INT8 + * session_id => INT32 + * session_epoch => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes + * partition => INT32 + * current_leader_epoch => INT32 + * fetch_offset => INT64 + * log_start_offset => INT64 + * partition_max_bytes => INT32 + * forgotten_topics_data => topic [partitions] + * topic => STRING + * partitions => INT32 + */ + +module.exports = ({ + replicaId, + maxWaitTime, + minBytes, + maxBytes, + topics, + isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, + sessionId = 0, + sessionEpoch = -1, + forgottenTopics = [], // Topics to remove from the fetch session +}) => ({ + apiKey, + apiVersion: 9, + apiName: 'Fetch', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt32(maxWaitTime) + .writeInt32(minBytes) + .writeInt32(maxBytes) + .writeInt8(isolationLevel) + .writeInt32(sessionId) + .writeInt32(sessionEpoch) + .writeArray(topics.map(encodeTopic)) + .writeArray(forgottenTopics.map(encodeForgottenTopics)) + }, +}) + +const encodeForgottenTopics = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions) +} + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} + +const encodePartition = ({ + partition, + currentLeaderEpoch = -1, + fetchOffset, + logStartOffset = -1, + maxBytes, +}) => { + return new Encoder() + .writeInt32(partition) + .writeInt32(currentLeaderEpoch) + .writeInt64(fetchOffset) + .writeInt64(logStartOffset) + .writeInt32(maxBytes) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode, parse } = __webpack_require__(/*! ../v8/response */ "./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js") + +/** + * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses] + * throttle_time_ms => INT32 + * error_code => INT16 + * session_id => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition_header record_set + * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions] + * partition => INT32 + * error_code => INT16 + * high_watermark => INT64 + * last_stable_offset => INT64 + * log_start_offset => INT64 + * aborted_transactions => producer_id first_offset + * producer_id => INT64 + * first_offset => INT64 + * record_set => RECORDS + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const COORDINATOR_TYPES = __webpack_require__(/*! ../../coordinatorTypes */ "./node_modules/kafkajs/src/protocol/coordinatorTypes.js") + +const versions = { + 0: ({ groupId }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js") + return { request: request({ groupId }), response } + }, + 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js") + return { request: request({ coordinatorKey: groupId, coordinatorType }), response } + }, + 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js") + return { request: request({ coordinatorKey: groupId, coordinatorType }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { GroupCoordinator: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * FindCoordinator Request (Version: 0) => group_id + * group_id => STRING + */ + +module.exports = ({ groupId }) => ({ + apiKey, + apiVersion: 0, + apiName: 'GroupCoordinator', + encode: async () => { + return new Encoder().writeString(groupId) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * FindCoordinator Response (Version: 0) => error_code coordinator + * error_code => INT16 + * coordinator => node_id host port + * node_id => INT32 + * host => STRING + * port => INT32 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + const coordinator = { + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + } + + return { + errorCode, + coordinator, + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { GroupCoordinator: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type + * coordinator_key => STRING + * coordinator_type => INT8 + */ + +module.exports = ({ coordinatorKey, coordinatorType }) => ({ + apiKey, + apiVersion: 1, + apiName: 'GroupCoordinator', + encode: async () => { + return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 45:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator + * throttle_time_ms => INT32 + * error_code => INT16 + * error_message => NULLABLE_STRING + * coordinator => node_id host port + * node_id => INT32 + * host => STRING + * port => INT32 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + const errorMessage = decoder.readString() + const coordinator = { + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + } + + return { + throttleTime, + errorCode, + errorMessage, + coordinator, + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js") + +/** + * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type + * coordinator_key => STRING + * coordinator_type => INT8 + */ + +module.exports = ({ coordinatorKey, coordinatorType }) => + Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js") + +/** + * Starting in version 2, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator + * throttle_time_ms => INT32 + * error_code => INT16 + * error_message => NULLABLE_STRING + * coordinator => node_id host port + * node_id => INT32 + * host => STRING + * port => INT32 + */ + +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ groupId, groupGenerationId, memberId }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js") + return { + request: request({ groupId, groupGenerationId, memberId }), + response, + } + }, + 1: ({ groupId, groupGenerationId, memberId }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js") + return { + request: request({ groupId, groupGenerationId, memberId }), + response, + } + }, + 2: ({ groupId, groupGenerationId, memberId }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js") + return { + request: request({ groupId, groupGenerationId, memberId }), + response, + } + }, + 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js") + return { + request: request({ groupId, groupGenerationId, memberId, groupInstanceId }), + response, + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Heartbeat: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Heartbeat Request (Version: 0) => group_id group_generation_id member_id + * group_id => STRING + * group_generation_id => INT32 + * member_id => STRING + */ + +module.exports = ({ groupId, groupGenerationId, memberId }) => ({ + apiKey, + apiVersion: 0, + apiName: 'Heartbeat', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(groupGenerationId) + .writeString(memberId) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * Heartbeat Response (Version: 0) => error_code + * error_code => INT16 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { errorCode } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js") + +/** + * Heartbeat Request (Version: 1) => group_id generation_id member_id + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + */ + +module.exports = ({ groupId, groupGenerationId, memberId }) => + Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js") + +/** + * Heartbeat Response (Version: 1) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { throttleTime, errorCode } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js") + +/** + * Heartbeat Request (Version: 2) => group_id generation_id member_id + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + */ + +module.exports = ({ groupId, groupGenerationId, memberId }) => + Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js") + +/** + * In version 2 on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * Heartbeat Response (Version: 2) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Heartbeat: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Version 3 adds group_instance_id to indicate member identity across restarts. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances + * + * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * group_instance_id => NULLABLE_STRING + */ + +module.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({ + apiKey, + apiVersion: 3, + apiName: 'Heartbeat', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(groupGenerationId) + .writeString(memberId) + .writeString(groupInstanceId) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js") + +/** + * Heartbeat Response (Version: 3) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 + */ +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/index.js": +/*!*************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/index.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 99:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const apiKeys = __webpack_require__(/*! ./apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = __webpack_require__(/*! ../../errors */ "./node_modules/kafkajs/src/errors.js") + +/** + * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request + */ + +/** + * @typedef {Object} RequestDefinitions + * @property {string[]} versions + * @property {({ version: number }) => Request} protocol + */ + +/** + * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup + */ + +/** @type {RequestDefinitions} */ +const noImplementedRequestDefinitions = { + versions: [], + protocol: () => { + throw new KafkaJSNotImplemented() + }, +} + +/** + * @type {{[apiName: string]: RequestDefinitions}} + */ +const requests = { + Produce: __webpack_require__(/*! ./produce */ "./node_modules/kafkajs/src/protocol/requests/produce/index.js"), + Fetch: __webpack_require__(/*! ./fetch */ "./node_modules/kafkajs/src/protocol/requests/fetch/index.js"), + ListOffsets: __webpack_require__(/*! ./listOffsets */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js"), + Metadata: __webpack_require__(/*! ./metadata */ "./node_modules/kafkajs/src/protocol/requests/metadata/index.js"), + LeaderAndIsr: noImplementedRequestDefinitions, + StopReplica: noImplementedRequestDefinitions, + UpdateMetadata: noImplementedRequestDefinitions, + ControlledShutdown: noImplementedRequestDefinitions, + OffsetCommit: __webpack_require__(/*! ./offsetCommit */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js"), + OffsetFetch: __webpack_require__(/*! ./offsetFetch */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js"), + GroupCoordinator: __webpack_require__(/*! ./findCoordinator */ "./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js"), + JoinGroup: __webpack_require__(/*! ./joinGroup */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js"), + Heartbeat: __webpack_require__(/*! ./heartbeat */ "./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js"), + LeaveGroup: __webpack_require__(/*! ./leaveGroup */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js"), + SyncGroup: __webpack_require__(/*! ./syncGroup */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js"), + DescribeGroups: __webpack_require__(/*! ./describeGroups */ "./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js"), + ListGroups: __webpack_require__(/*! ./listGroups */ "./node_modules/kafkajs/src/protocol/requests/listGroups/index.js"), + SaslHandshake: __webpack_require__(/*! ./saslHandshake */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js"), + ApiVersions: __webpack_require__(/*! ./apiVersions */ "./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js"), + CreateTopics: __webpack_require__(/*! ./createTopics */ "./node_modules/kafkajs/src/protocol/requests/createTopics/index.js"), + DeleteTopics: __webpack_require__(/*! ./deleteTopics */ "./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js"), + DeleteRecords: __webpack_require__(/*! ./deleteRecords */ "./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js"), + InitProducerId: __webpack_require__(/*! ./initProducerId */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js"), + OffsetForLeaderEpoch: noImplementedRequestDefinitions, + AddPartitionsToTxn: __webpack_require__(/*! ./addPartitionsToTxn */ "./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js"), + AddOffsetsToTxn: __webpack_require__(/*! ./addOffsetsToTxn */ "./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js"), + EndTxn: __webpack_require__(/*! ./endTxn */ "./node_modules/kafkajs/src/protocol/requests/endTxn/index.js"), + WriteTxnMarkers: noImplementedRequestDefinitions, + TxnOffsetCommit: __webpack_require__(/*! ./txnOffsetCommit */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js"), + DescribeAcls: __webpack_require__(/*! ./describeAcls */ "./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js"), + CreateAcls: __webpack_require__(/*! ./createAcls */ "./node_modules/kafkajs/src/protocol/requests/createAcls/index.js"), + DeleteAcls: __webpack_require__(/*! ./deleteAcls */ "./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js"), + DescribeConfigs: __webpack_require__(/*! ./describeConfigs */ "./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js"), + AlterConfigs: __webpack_require__(/*! ./alterConfigs */ "./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js"), + AlterReplicaLogDirs: noImplementedRequestDefinitions, + DescribeLogDirs: noImplementedRequestDefinitions, + SaslAuthenticate: __webpack_require__(/*! ./saslAuthenticate */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js"), + CreatePartitions: __webpack_require__(/*! ./createPartitions */ "./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js"), + CreateDelegationToken: noImplementedRequestDefinitions, + RenewDelegationToken: noImplementedRequestDefinitions, + ExpireDelegationToken: noImplementedRequestDefinitions, + DescribeDelegationToken: noImplementedRequestDefinitions, + DeleteGroups: __webpack_require__(/*! ./deleteGroups */ "./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js"), +} + +const names = Object.keys(apiKeys) +const keys = Object.values(apiKeys) +const findApiName = apiKey => names[keys.indexOf(apiKey)] + +/** + * @param {import("../../../types").ApiVersions} versions + * @returns {Lookup} + */ +const lookup = versions => (apiKey, definition) => { + const version = versions[apiKey] + const availableVersions = definition.versions.map(Number) + const bestImplementedVersion = Math.max(...availableVersions) + + if (!version || version.maxVersion == null) { + throw new KafkaJSServerDoesNotSupportApiKey( + `The Kafka server does not support the requested API version`, + { apiKey, apiName: findApiName(apiKey) } + ) + } + + const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion) + return definition.protocol({ version: bestSupportedVersion }) +} + +module.exports = { + requests, + lookup, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ transactionalId, transactionTimeout = 5000 }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js") + return { request: request({ transactionalId, transactionTimeout }), response } + }, + 1: ({ transactionalId, transactionTimeout = 5000 }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js") + return { request: request({ transactionalId, transactionTimeout }), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { InitProducerId: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms + * transactional_id => NULLABLE_STRING + * transaction_timeout_ms => INT32 + */ + +module.exports = ({ transactionalId, transactionTimeout }) => ({ + apiKey, + apiVersion: 0, + apiName: 'InitProducerId', + encode: async () => { + return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch + * throttle_time_ms => INT32 + * error_code => INT16 + * producer_id => INT64 + * producer_epoch => INT16 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + throttleTime, + errorCode, + producerId: decoder.readInt64().toString(), + producerEpoch: decoder.readInt16(), + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js") + +/** + * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms + * transactional_id => NULLABLE_STRING + * transaction_timeout_ms => INT32 + */ + +module.exports = ({ transactionalId, transactionTimeout }) => + Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js") + +/** + * Starting in version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch + * throttle_time_ms => INT32 + * error_code => INT16 + * producer_id => INT64 + * producer_epoch => INT16 + */ + +const decode = async rawData => { + const decoded = await decodeV0(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 132:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const NETWORK_DELAY = 5000 + +/** + * @see https://github.com/apache/kafka/pull/5203 + * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1), + * so we should override the requestTimeout to be a bit more than the sessionTimeout + * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when + * increased, so we have to check for potential overflows + **/ +const requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => { + const timeout = rebalanceTimeout || sessionTimeout + return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout +} + +const logResponseError = memberId => memberId != null && memberId !== '' + +const versions = { + 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + memberId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }), + } + }, + 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), + } + }, + 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), + } + }, + 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), + } + }, + 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), + logResponseError: logResponseError(memberId), + } + }, + 5: ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + groupInstanceId, + protocolType, + groupProtocols, + }) => { + const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js") + const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js") + + return { + request: request({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + groupInstanceId, + protocolType, + groupProtocols, + }), + response, + requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }), + logResponseError: logResponseError(memberId), + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * member_id => STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({ + apiKey, + apiVersion: 0, + apiName: 'JoinGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(sessionTimeout) + .writeString(memberId) + .writeString(protocolType) + .writeArray(groupProtocols.map(encodeGroupProtocols)) + }, +}) + +const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { + return new Encoder().writeString(name).writeBytes(metadata) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members] + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id member_metadata + * member_id => STRING + * member_metadata => BYTES + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + errorCode, + generationId: decoder.readInt32(), + groupProtocol: decoder.readString(), + leaderId: decoder.readString(), + memberId: decoder.readString(), + members: decoder.readArray(decoder => ({ + memberId: decoder.readString(), + memberMetadata: decoder.readBytes(), + })), + } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * rebalance_timeout => INT32 + * member_id => STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, +}) => ({ + apiKey, + apiVersion: 1, + apiName: 'JoinGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(sessionTimeout) + .writeInt32(rebalanceTimeout) + .writeString(memberId) + .writeString(protocolType) + .writeArray(groupProtocols.map(encodeGroupProtocols)) + }, +}) + +const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { + return new Encoder().writeString(name).writeBytes(metadata) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") + +/** + * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members] + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id member_metadata + * member_id => STRING + * member_metadata => BYTES + */ + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js") + +/** + * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * rebalance_timeout => INT32 + * member_id => STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, +}) => + Object.assign( + requestV1({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + { apiVersion: 2 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js") + +/** + * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] + * throttle_time_ms => INT32 + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id member_metadata + * member_id => STRING + * member_metadata => BYTES + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + throttleTime, + errorCode, + generationId: decoder.readInt32(), + groupProtocol: decoder.readString(), + leaderId: decoder.readString(), + memberId: decoder.readString(), + members: decoder.readArray(decoder => ({ + memberId: decoder.readString(), + memberMetadata: decoder.readBytes(), + })), + } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js") + +/** + * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * rebalance_timeout => INT32 + * member_id => STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, +}) => + Object.assign( + requestV2({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + { apiVersion: 3 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js") + +/** + * Starting in version 3, on quota violation, brokers send out responses + * before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] + * throttle_time_ms => INT32 + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id member_metadata + * member_id => STRING + * member_metadata => BYTES + */ +const decode = async rawData => { + const decoded = await decodeV2(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js") + +/** + * Starting in version 4, the client needs to issue a second request to join group + * with assigned id. + * + * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * rebalance_timeout => INT32 + * member_id => STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, +}) => + Object.assign( + requestV3({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + protocolType, + groupProtocols, + }), + { apiVersion: 4 } + ) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { decode } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js") +const { KafkaJSMemberIdRequired } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") +const { failure, createErrorFromCode, errorCodes } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] + * throttle_time_ms => INT32 + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id member_metadata + * member_id => STRING + * member_metadata => BYTES + */ + +const { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find( + e => e.type === 'MEMBER_ID_REQUIRED' +) + +const parse = async data => { + if (failure(data.errorCode)) { + if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) { + throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), { + memberId: data.memberId, + }) + } + + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { JoinGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Version 5 adds group_instance_id to identify members across restarts. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances + * + * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols] + * group_id => STRING + * session_timeout => INT32 + * rebalance_timeout => INT32 + * member_id => STRING + * group_instance_id => NULLABLE_STRING + * protocol_type => STRING + * group_protocols => protocol_name protocol_metadata + * protocol_name => STRING + * protocol_metadata => BYTES + */ + +module.exports = ({ + groupId, + sessionTimeout, + rebalanceTimeout, + memberId, + groupInstanceId = null, + protocolType, + groupProtocols, +}) => ({ + apiKey, + apiVersion: 5, + apiName: 'JoinGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(sessionTimeout) + .writeInt32(rebalanceTimeout) + .writeString(memberId) + .writeString(groupInstanceId) + .writeString(protocolType) + .writeArray(groupProtocols.map(encodeGroupProtocols)) + }, +}) + +const encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => { + return new Encoder().writeString(name).writeBytes(metadata) +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 64:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { KafkaJSMemberIdRequired } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") +const { + failure, + createErrorFromCode, + errorCodes, + failIfVersionNotSupported, +} = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members] + * throttle_time_ms => INT32 + * error_code => INT16 + * generation_id => INT32 + * group_protocol => STRING + * leader_id => STRING + * member_id => STRING + * members => member_id group_instance_id metadata + * member_id => STRING + * group_instance_id => NULLABLE_STRING + * member_metadata => BYTES + */ +const { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find( + e => e.type === 'MEMBER_ID_REQUIRED' +) + +const parse = async data => { + if (failure(data.errorCode)) { + if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) { + throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), { + memberId: data.memberId, + }) + } + + throw createErrorFromCode(data.errorCode) + } + + return data +} + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { + throttleTime: 0, + clientSideThrottleTime: throttleTime, + errorCode, + generationId: decoder.readInt32(), + groupProtocol: decoder.readString(), + leaderId: decoder.readString(), + memberId: decoder.readString(), + members: decoder.readArray(decoder => ({ + memberId: decoder.readString(), + groupInstanceId: decoder.readString(), + memberMetadata: decoder.readBytes(), + })), + } +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: ({ groupId, memberId }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js") + return { + request: request({ groupId, memberId }), + response, + } + }, + 1: ({ groupId, memberId }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js") + return { + request: request({ groupId, memberId }), + response, + } + }, + 2: ({ groupId, memberId }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js") + return { + request: request({ groupId, memberId }), + response, + } + }, + 3: ({ groupId, memberId, groupInstanceId }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js") + return { + request: request({ groupId, members: [{ memberId, groupInstanceId }] }), + response, + } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { LeaveGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * LeaveGroup Request (Version: 0) => group_id member_id + * group_id => STRING + * member_id => STRING + */ + +module.exports = ({ groupId, memberId }) => ({ + apiKey, + apiVersion: 0, + apiName: 'LeaveGroup', + encode: async () => { + return new Encoder().writeString(groupId).writeString(memberId) + }, +}) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") + +/** + * LeaveGroup Response (Version: 0) => error_code + * error_code => INT16 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { errorCode } +} + +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } + + return data +} + +module.exports = { + decode, + parse, +} + /***/ }), -/***/ "./node_modules/ms/index.js": -/*!**********************************!*\ - !*** ./node_modules/ms/index.js ***! - \**********************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js ***! + \*****************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js") /** - * Helpers. + * LeaveGroup Request (Version: 1) => group_id member_id + * group_id => STRING + * member_id => STRING */ -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var w = d * 7; -var y = d * 365.25; +module.exports = ({ groupId, memberId }) => + Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js") /** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public + * LeaveGroup Response (Version: 1) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 */ -module.exports = function (val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isFinite(val)) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + + failIfVersionNotSupported(errorCode) + + return { throttleTime, errorCode } +} + +module.exports = { + decode, + parse: parseV0, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js") /** - * Parse the given `str` and return milliseconds. + * LeaveGroup Request (Version: 2) => group_id member_id + * group_id => STRING + * member_id => STRING + */ + +module.exports = ({ groupId, memberId }) => + Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 }) + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js") + +/** + * In version 2 on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication * - * @param {String} str - * @return {Number} - * @api private + * LeaveGroup Response (Version: 2) => throttle_time_ms error_code + * throttle_time_ms => INT32 + * error_code => INT16 */ +const decode = async rawData => { + const decoded = await decodeV1(rawData) -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'weeks': - case 'week': - case 'w': - return n * w; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } } +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { LeaveGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + /** - * Short format for `ms`. + * Version 3 changes leavegroup to operate on a batch of members + * and adds group_instance_id to identify members across restarts. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances * - * @param {Number} ms - * @return {String} - * @api private + * LeaveGroup Request (Version: 3) => group_id [members] + * group_id => STRING + * members => member_id group_instance_id + * member_id => STRING + * group_instance_id => NULLABLE_STRING */ -function fmtShort(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return Math.round(ms / d) + 'd'; - } - if (msAbs >= h) { - return Math.round(ms / h) + 'h'; - } - if (msAbs >= m) { - return Math.round(ms / m) + 'm'; - } - if (msAbs >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; +module.exports = ({ groupId, members }) => ({ + apiKey, + apiVersion: 3, + apiName: 'LeaveGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeArray(members.map(member => encodeMember(member))) + }, +}) + +const encodeMember = ({ memberId, groupInstanceId = null }) => { + return new Encoder().writeString(memberId).writeString(groupInstanceId) } + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported, failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js") + /** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private + * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members] + * throttle_time_ms => INT32 + * error_code => INT16 + * members => member_id group_instance_id error_code + * member_id => STRING + * group_instance_id => NULLABLE_STRING + * error_code => INT16 */ -function fmtLong(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, 'day'); - } - if (msAbs >= h) { - return plural(ms, msAbs, h, 'hour'); - } - if (msAbs >= m) { - return plural(ms, msAbs, m, 'minute'); - } - if (msAbs >= s) { - return plural(ms, msAbs, s, 'second'); +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const members = decoder.readArray(decodeMembers) + + failIfVersionNotSupported(errorCode) + + return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members } +} + +const decodeMembers = decoder => ({ + memberId: decoder.readString(), + groupInstanceId: decoder.readString(), + errorCode: decoder.readInt16(), +}) + +const parse = async data => { + const parsed = parseV2(data) + + const memberWithError = data.members.find(member => failure(member.errorCode)) + if (memberWithError) { + throw createErrorFromCode(memberWithError.errorCode) } - return ms + ' ms'; + + return parsed +} + +module.exports = { + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/index.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/index.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const versions = { + 0: () => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js") + return { request: request(), response } + }, + 1: () => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js") + return { request: request(), response } + }, + 2: () => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js") + return { request: request(), response } + }, +} + +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], } + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { ListGroups: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + /** - * Pluralization helper. + * ListGroups Request (Version: 0) */ -function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); -} +/** + */ +module.exports = () => ({ + apiKey, + apiVersion: 0, + apiName: 'ListGroups', + encode: async () => { + return new Encoder() + }, +}) /***/ }), -/***/ "./node_modules/multicast-dns/index.js": -/*!*********************************************!*\ - !*** ./node_modules/multicast-dns/index.js ***! - \*********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js ***! + \******************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var packet = __webpack_require__(/*! dns-packet */ "./node_modules/dns-packet/index.js") -var dgram = __webpack_require__(/*! dgram */ "dgram") -var thunky = __webpack_require__(/*! thunky */ "./node_modules/thunky/index.js") -var events = __webpack_require__(/*! events */ "events") -var os = __webpack_require__(/*! os */ "os") +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -var noop = function () {} +/** + * ListGroups Response (Version: 0) => error_code [groups] + * error_code => INT16 + * groups => group_id protocol_type + * group_id => STRING + * protocol_type => STRING + */ -module.exports = function (opts) { - if (!opts) opts = {} +const decodeGroup = decoder => ({ + groupId: decoder.readString(), + protocolType: decoder.readString(), +}) - var that = new events.EventEmitter() - var port = typeof opts.port === 'number' ? opts.port : 5353 - var type = opts.type || 'udp4' - var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null) - var me = {address: ip, port: port} - var memberships = {} - var destroyed = false - var interval = null +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() + const groups = decoder.readArray(decodeGroup) - if (type === 'udp6' && (!ip || !opts.interface)) { - throw new Error('For IPv6 multicast you must specify `ip` and `interface`') + return { + errorCode, + groups, } +} - var socket = opts.socket || dgram.createSocket({ - type: type, - reuseAddr: opts.reuseAddr !== false, - toString: function () { - return type - } - }) +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } - socket.on('error', function (err) { - if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err) - else that.emit('warning', err) - }) + return data +} + +module.exports = { + decodeGroup, + decode, + parse, +} + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js") + +/** + * ListGroups Request (Version: 1) + */ - socket.on('message', function (message, rinfo) { - try { - message = packet.decode(message) - } catch (err) { - that.emit('warning', err) - return - } +module.exports = () => Object.assign(requestV0(), { apiVersion: 1 }) - that.emit('packet', message, rinfo) - if (message.type === 'query') that.emit('query', message, rinfo) - if (message.type === 'response') that.emit('response', message, rinfo) - }) +/***/ }), - socket.on('listening', function () { - if (!port) port = me.port = socket.address().port - if (opts.multicast !== false) { - that.update() - interval = setInterval(that.update, 5000) - socket.setMulticastTTL(opts.ttl || 255) - socket.setMulticastLoopback(opts.loopback !== false) - } - }) +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var bind = thunky(function (cb) { - if (!port || opts.bind === false) return cb(null) - socket.once('error', cb) - socket.bind(port, opts.bind || opts.interface, function () { - socket.removeListener('error', cb) - cb(null) - }) - }) +const responseV0 = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js") - bind(function (err) { - if (err) return that.emit('error', err) - that.emit('ready') - }) +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - that.send = function (value, rinfo, cb) { - if (typeof rinfo === 'function') return that.send(value, null, rinfo) - if (!cb) cb = noop - if (!rinfo) rinfo = me - else if (!rinfo.host && !rinfo.address) rinfo.address = me.address +/** + * ListGroups Response (Version: 1) => error_code [groups] + * throttle_time_ms => INT32 + * error_code => INT16 + * groups => group_id protocol_type + * group_id => STRING + * protocol_type => STRING + */ - bind(onbind) +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() + const groups = decoder.readArray(responseV0.decodeGroup) - function onbind (err) { - if (destroyed) return cb() - if (err) return cb(err) - var message = packet.encode(value) - socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb) - } + return { + throttleTime, + errorCode, + groups, } +} - that.response = - that.respond = function (res, rinfo, cb) { - if (Array.isArray(res)) res = {answers: res} +module.exports = { + decode, + parse: responseV0.parse, +} - res.type = 'response' - res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER - that.send(res, rinfo, cb) - } - that.query = function (q, type, rinfo, cb) { - if (typeof type === 'function') return that.query(q, null, null, type) - if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo) - if (typeof rinfo === 'function') return that.query(q, type, null, rinfo) - if (!cb) cb = noop +/***/ }), - if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}] - if (Array.isArray(q)) q = {type: 'query', questions: q} +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - q.type = 'query' - that.send(q, rinfo, cb) - } +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js") - that.destroy = function (cb) { - if (!cb) cb = noop - if (destroyed) return process.nextTick(cb) - destroyed = true - clearInterval(interval) +/** + * ListGroups Request (Version: 2) + */ - // Need to drop memberships by hand and ignore errors. - // socket.close() does not cope with errors. - for (var iface in memberships) { - try { - socket.dropMembership(ip, iface) - } catch (e) { - // eat it - } - } - memberships = {} - socket.close(cb) - } +module.exports = () => Object.assign(requestV1(), { apiVersion: 2 }) - that.update = function () { - var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces() - var updated = false - for (var i = 0; i < ifaces.length; i++) { - var addr = ifaces[i] - if (memberships[addr]) continue +/***/ }), - try { - socket.addMembership(ip, addr) - memberships[addr] = true - updated = true - } catch (err) { - that.emit('warning', err) - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (updated) { - if (socket.setMulticastInterface) { - try { - socket.setMulticastInterface(opts.interface || defaultInterface()) - } catch (err) { - that.emit('warning', err) - } - } - that.emit('networkInterface') - } +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js") + +/** + * In version 2 on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * ListGroups Response (Version: 2) => error_code [groups] + * throttle_time_ms => INT32 + * error_code => INT16 + * groups => group_id protocol_type + * group_id => STRING + * protocol_type => STRING + */ +const decode = async rawData => { + const decoded = await decodeV1(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } +} - return that +module.exports = { + decode, + parse, } -function defaultInterface () { - var networks = os.networkInterfaces() - var names = Object.keys(networks) - for (var i = 0; i < names.length; i++) { - var net = networks[names[i]] - for (var j = 0; j < net.length; j++) { - var iface = net[j] - if (isIPv4(iface.family) && !iface.internal) { - if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address - return '0.0.0.0' - } - } - } +/***/ }), - return '127.0.0.1' -} +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function allInterfaces () { - var networks = os.networkInterfaces() - var names = Object.keys(networks) - var res = [] +const ISOLATION_LEVEL = __webpack_require__(/*! ../../isolationLevel */ "./node_modules/kafkajs/src/protocol/isolationLevel.js") - for (var i = 0; i < names.length; i++) { - var net = networks[names[i]] - for (var j = 0; j < net.length; j++) { - var iface = net[j] - if (isIPv4(iface.family)) { - res.push(iface.address) - // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface) - break - } - } - } +// For normal consumers, use -1 +const REPLICA_ID = -1 - return res +const versions = { + 0: ({ replicaId = REPLICA_ID, topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js") + return { request: request({ replicaId, topics }), response } + }, + 1: ({ replicaId = REPLICA_ID, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js") + return { request: request({ replicaId, topics }), response } + }, + 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js") + return { request: request({ replicaId, isolationLevel, topics }), response } + }, + 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js") + return { request: request({ replicaId, isolationLevel, topics }), response } + }, } -function isIPv4 (family) { // for backwards compat - return family === 4 || family === 'IPv4' +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], } /***/ }), -/***/ "./node_modules/nanoid/index.js": -/*!**************************************!*\ - !*** ./node_modules/nanoid/index.js ***! - \**************************************/ -/*! namespace exports */ -/*! export customAlphabet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export customRandom [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export nanoid [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export random [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export urlAlphabet [provided] [no usage info] [missing usage info prevents renaming] -> ./node_modules/nanoid/url-alphabet/index.js .urlAlphabet */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_exports__, __webpack_require__.d, __webpack_require__.r, __webpack_require__.* */ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 28:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "nanoid": () => /* binding */ nanoid, -/* harmony export */ "customAlphabet": () => /* binding */ customAlphabet, -/* harmony export */ "customRandom": () => /* binding */ customRandom, -/* harmony export */ "urlAlphabet": () => /* reexport safe */ _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__.urlAlphabet, -/* harmony export */ "random": () => /* binding */ random -/* harmony export */ }); -/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! crypto */ "crypto"); -/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./url-alphabet/index.js */ "./node_modules/nanoid/url-alphabet/index.js"); +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +/** + * ListOffsets Request (Version: 0) => replica_id [topics] + * replica_id => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition timestamp max_num_offsets + * partition => INT32 + * timestamp => INT64 + * max_num_offsets => INT32 + */ -const POOL_SIZE_MULTIPLIER = 128 -let pool, poolOffset -let fillPool = bytes => { - if (!pool || pool.length < bytes) { - pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER) - crypto__WEBPACK_IMPORTED_MODULE_0___default().randomFillSync(pool) - poolOffset = 0 - } else if (poolOffset + bytes > pool.length) { - crypto__WEBPACK_IMPORTED_MODULE_0___default().randomFillSync(pool) - poolOffset = 0 - } - poolOffset += bytes -} -let random = bytes => { - fillPool((bytes -= 0)) - return pool.subarray(poolOffset - bytes, poolOffset) +/** + * @param {number} replicaId + * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest. + * Default timestamp=-1. Example: + * { + * topics: [ + * { + * topic: 'topic-name', + * partitions: [{ partition: 0, timestamp: -1 }] + * } + * ] + * } + */ +module.exports = ({ replicaId, topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'ListOffsets', + encode: async () => { + return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic)) + }, +}) + +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) } -let customRandom = (alphabet, defaultSize, getRandom) => { - let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1 - let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length) - return (size = defaultSize) => { - let id = '' - while (true) { - let bytes = getRandom(step) - let i = step - while (i--) { - id += alphabet[bytes[i] & mask] || '' - if (id.length === size) return id - } - } - } + +const encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(timestamp) + .writeInt32(maxNumOffsets) } -let customAlphabet = (alphabet, size = 21) => - customRandom(alphabet, size, random) -let nanoid = (size = 21) => { - fillPool((size -= 0)) - let id = '' - for (let i = poolOffset - size; i < poolOffset; i++) { - id += _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__.urlAlphabet[pool[i] & 63] + + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") + +/** + * Offsets Response (Version: 0) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code [offsets] + * partition => INT32 + * error_code => INT16 + * offsets => INT64 + */ + +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + responses: decoder.readArray(decodeResponses), } - return id } +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + offsets: decoder.readArray(decodeOffsets), +}) -/***/ }), +const decodeOffsets = decoder => decoder.readInt64().toString() -/***/ "./node_modules/nanoid/url-alphabet/index.js": -/*!***************************************************!*\ - !*** ./node_modules/nanoid/url-alphabet/index.js ***! - \***************************************************/ -/*! namespace exports */ -/*! export urlAlphabet [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +const parse = async data => { + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) + } -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "urlAlphabet": () => /* binding */ urlAlphabet -/* harmony export */ }); -let urlAlphabet = - 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict' + return data +} +module.exports = { + decode, + parse, +} /***/ }), -/***/ "./node_modules/negotiator/index.js": -/*!******************************************!*\ - !*** ./node_modules/negotiator/index.js ***! - \******************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js ***! + \******************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 21:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * negotiator - * Copyright(c) 2012 Federico Romero - * Copyright(c) 2012-2014 Isaac Z. Schlueter - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -var preferredCharsets = __webpack_require__(/*! ./lib/charset */ "./node_modules/negotiator/lib/charset.js") -var preferredEncodings = __webpack_require__(/*! ./lib/encoding */ "./node_modules/negotiator/lib/encoding.js") -var preferredLanguages = __webpack_require__(/*! ./lib/language */ "./node_modules/negotiator/lib/language.js") -var preferredMediaTypes = __webpack_require__(/*! ./lib/mediaType */ "./node_modules/negotiator/lib/mediaType.js") +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Module exports. - * @public + * ListOffsets Request (Version: 1) => replica_id [topics] + * replica_id => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition timestamp + * partition => INT32 + * timestamp => INT64 */ +module.exports = ({ replicaId, topics }) => ({ + apiKey, + apiVersion: 1, + apiName: 'ListOffsets', + encode: async () => { + return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic)) + }, +}) -module.exports = Negotiator; -module.exports.Negotiator = Negotiator; +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} -/** - * Create a Negotiator instance from a request. - * @param {object} request - * @public - */ +const encodePartition = ({ partition, timestamp = -1 }) => { + return new Encoder().writeInt32(partition).writeInt64(timestamp) +} -function Negotiator(request) { - if (!(this instanceof Negotiator)) { - return new Negotiator(request); - } - this.request = request; -} +/***/ }), -Negotiator.prototype.charset = function charset(available) { - var set = this.charsets(available); - return set && set[0]; -}; +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -Negotiator.prototype.charsets = function charsets(available) { - return preferredCharsets(this.request.headers['accept-charset'], available); -}; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -Negotiator.prototype.encoding = function encoding(available) { - var set = this.encodings(available); - return set && set[0]; -}; +/** + * ListOffsets Response (Version: 1) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code timestamp offset + * partition => INT32 + * error_code => INT16 + * timestamp => INT64 + * offset => INT64 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) -Negotiator.prototype.encodings = function encodings(available) { - return preferredEncodings(this.request.headers['accept-encoding'], available); -}; + return { + responses: decoder.readArray(decodeResponses), + } +} -Negotiator.prototype.language = function language(available) { - var set = this.languages(available); - return set && set[0]; -}; +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) -Negotiator.prototype.languages = function languages(available) { - return preferredLanguages(this.request.headers['accept-language'], available); -}; +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + timestamp: decoder.readInt64().toString(), + offset: decoder.readInt64().toString(), +}) -Negotiator.prototype.mediaType = function mediaType(available) { - var set = this.mediaTypes(available); - return set && set[0]; -}; +const parse = async data => { + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) + } -Negotiator.prototype.mediaTypes = function mediaTypes(available) { - return preferredMediaTypes(this.request.headers.accept, available); -}; + return data +} -// Backwards compatibility -Negotiator.prototype.preferredCharset = Negotiator.prototype.charset; -Negotiator.prototype.preferredCharsets = Negotiator.prototype.charsets; -Negotiator.prototype.preferredEncoding = Negotiator.prototype.encoding; -Negotiator.prototype.preferredEncodings = Negotiator.prototype.encodings; -Negotiator.prototype.preferredLanguage = Negotiator.prototype.language; -Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages; -Negotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType; -Negotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes; +module.exports = { + decode, + parse, +} /***/ }), -/***/ "./node_modules/negotiator/lib/charset.js": -/*!************************************************!*\ - !*** ./node_modules/negotiator/lib/charset.js ***! - \************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js ***! + \******************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { ListOffsets: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -"use strict"; /** - * negotiator - * Copyright(c) 2012 Isaac Z. Schlueter - * Copyright(c) 2014 Federico Romero - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed + * ListOffsets Request (Version: 2) => replica_id isolation_level [topics] + * replica_id => INT32 + * isolation_level => INT8 + * topics => topic [partitions] + * topic => STRING + * partitions => partition timestamp + * partition => INT32 + * timestamp => INT64 */ +module.exports = ({ replicaId, isolationLevel, topics }) => ({ + apiKey, + apiVersion: 2, + apiName: 'ListOffsets', + encode: async () => { + return new Encoder() + .writeInt32(replicaId) + .writeInt8(isolationLevel) + .writeArray(topics.map(encodeTopic)) + }, +}) +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} +const encodePartition = ({ partition, timestamp = -1 }) => { + return new Encoder().writeInt32(partition).writeInt64(timestamp) +} -/** - * Module exports. - * @public - */ -module.exports = preferredCharsets; -module.exports.preferredCharsets = preferredCharsets; +/***/ }), -/** - * Module variables. - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 49:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var simpleCharsetRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Parse the Accept-Charset header. - * @private + * ListOffsets Response (Version: 2) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code timestamp offset + * partition => INT32 + * error_code => INT16 + * timestamp => INT64 + * offset => INT64 */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + + return { + throttleTime: decoder.readInt32(), + responses: decoder.readArray(decodeResponses), + } +} -function parseAcceptCharset(accept) { - var accepts = accept.split(','); +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) - for (var i = 0, j = 0; i < accepts.length; i++) { - var charset = parseCharset(accepts[i].trim(), i); +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + timestamp: decoder.readInt64().toString(), + offset: decoder.readInt64().toString(), +}) - if (charset) { - accepts[j++] = charset; - } +const parse = async data => { + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) } - // trim accepts - accepts.length = j; + return data +} - return accepts; +module.exports = { + decode, + parse, } -/** - * Parse a charset from the Accept-Charset header. - * @private - */ -function parseCharset(str, i) { - var match = simpleCharsetRegExp.exec(str); - if (!match) return null; +/***/ }), - var charset = match[1]; - var q = 1; - if (match[2]) { - var params = match[2].split(';') - for (var j = 0; j < params.length; j++) { - var p = params[j].trim().split('='); - if (p[0] === 'q') { - q = parseFloat(p[1]); - break; - } - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return { - charset: charset, - q: q, - i: i - }; -} +const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js") /** - * Get the priority of a charset. - * @private + * ListOffsets Request (Version: 3) => replica_id isolation_level [topics] + * replica_id => INT32 + * isolation_level => INT8 + * topics => topic [partitions] + * topic => STRING + * partitions => partition timestamp + * partition => INT32 + * timestamp => INT64 */ +module.exports = ({ replicaId, isolationLevel, topics }) => + Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 }) -function getCharsetPriority(charset, accepted, index) { - var priority = {o: -1, q: 0, s: 0}; - for (var i = 0; i < accepted.length; i++) { - var spec = specify(charset, accepted[i], index); +/***/ }), - if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { - priority = spec; - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return priority; -} +const { parse, decode: decodeV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js") /** - * Get the specificity of the charset. - * @private + * In version 3 on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * ListOffsets Response (Version: 3) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code timestamp offset + * partition => INT32 + * error_code => INT16 + * timestamp => INT64 + * offset => INT64 */ - -function specify(charset, spec, index) { - var s = 0; - if(spec.charset.toLowerCase() === charset.toLowerCase()){ - s |= 1; - } else if (spec.charset !== '*' ) { - return null - } +const decode = async rawData => { + const decoded = await decodeV2(rawData) return { - i: index, - o: spec.i, - q: spec.q, - s: s + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } } -/** - * Get the preferred charsets from an Accept-Charset header. - * @public - */ - -function preferredCharsets(accept, provided) { - // RFC 2616 sec 14.2: no header = * - var accepts = parseAcceptCharset(accept === undefined ? '*' : accept || ''); - - if (!provided) { - // sorted list of all charsets - return accepts - .filter(isQuality) - .sort(compareSpecs) - .map(getFullCharset); - } - - var priorities = provided.map(function getPriority(type, index) { - return getCharsetPriority(type, accepts, index); - }); - - // sorted list of accepted charsets - return priorities.filter(isQuality).sort(compareSpecs).map(function getCharset(priority) { - return provided[priorities.indexOf(priority)]; - }); +module.exports = { + decode, + parse, } -/** - * Compare two specs. - * @private - */ -function compareSpecs(a, b) { - return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; -} +/***/ }), -/** - * Get full charset string. - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/index.js": +/*!**********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/index.js ***! + \**********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 39:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function getFullCharset(spec) { - return spec.charset; +const versions = { + 0: ({ topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") + return { request: request({ topics }), response } + }, + 1: ({ topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js") + return { request: request({ topics }), response } + }, + 2: ({ topics }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js") + return { request: request({ topics }), response } + }, + 3: ({ topics }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js") + return { request: request({ topics }), response } + }, + 4: ({ topics, allowAutoTopicCreation }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js") + return { request: request({ topics, allowAutoTopicCreation }), response } + }, + 5: ({ topics, allowAutoTopicCreation }) => { + const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js") + const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js") + return { request: request({ topics, allowAutoTopicCreation }), response } + }, + 6: ({ topics, allowAutoTopicCreation }) => { + const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js") + const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js") + return { request: request({ topics, allowAutoTopicCreation }), response } + }, } -/** - * Check if a spec has any quality. - * @private - */ - -function isQuality(spec) { - return spec.q > 0; +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], } /***/ }), -/***/ "./node_modules/negotiator/lib/encoding.js": -/*!*************************************************!*\ - !*** ./node_modules/negotiator/lib/encoding.js ***! - \*************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -"use strict"; /** - * negotiator - * Copyright(c) 2012 Isaac Z. Schlueter - * Copyright(c) 2014 Federico Romero - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed + * Metadata Request (Version: 0) => [topics] + * topics => STRING */ +module.exports = ({ topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'Metadata', + encode: async () => { + return new Encoder().writeArray(topics) + }, +}) -/** - * Module exports. - * @public - */ +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 72:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = preferredEncodings; -module.exports.preferredEncodings = preferredEncodings; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Module variables. - * @private + * Metadata Response (Version: 0) => [brokers] [topic_metadata] + * brokers => node_id host port + * node_id => INT32 + * host => STRING + * port => INT32 + * topic_metadata => topic_error_code topic [partition_metadata] + * topic_error_code => INT16 + * topic => STRING + * partition_metadata => partition_error_code partition_id leader [replicas] [isr] + * partition_error_code => INT16 + * partition_id => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 */ -var simpleEncodingRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/; +const broker = decoder => ({ + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), +}) -/** - * Parse the Accept-Encoding header. - * @private - */ +const topicMetadata = decoder => ({ + topicErrorCode: decoder.readInt16(), + topic: decoder.readString(), + partitionMetadata: decoder.readArray(partitionMetadata), +}) -function parseAcceptEncoding(accept) { - var accepts = accept.split(','); - var hasIdentity = false; - var minQuality = 1; +const partitionMetadata = decoder => ({ + partitionErrorCode: decoder.readInt16(), + partitionId: decoder.readInt32(), + // leader: The node id for the kafka broker currently acting as leader + // for this partition + leader: decoder.readInt32(), + replicas: decoder.readArray(d => d.readInt32()), + isr: decoder.readArray(d => d.readInt32()), +}) - for (var i = 0, j = 0; i < accepts.length; i++) { - var encoding = parseEncoding(accepts[i].trim(), i); +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + brokers: decoder.readArray(broker), + topicMetadata: decoder.readArray(topicMetadata), + } +} - if (encoding) { - accepts[j++] = encoding; - hasIdentity = hasIdentity || specify('identity', encoding); - minQuality = Math.min(minQuality, encoding.q || 1); - } +const parse = async data => { + const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode)) + if (topicsWithErrors.length > 0) { + const { topicErrorCode } = topicsWithErrors[0] + throw createErrorFromCode(topicErrorCode) } - if (!hasIdentity) { - /* - * If identity doesn't explicitly appear in the accept-encoding header, - * it's added to the list of acceptable encoding with the lowest q - */ - accepts[j++] = { - encoding: 'identity', - q: minQuality, - i: i - }; + const partitionsWithErrors = data.topicMetadata.map(topic => { + return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode)) + }) + + const errors = flatten(partitionsWithErrors) + if (errors.length > 0) { + const { partitionErrorCode } = errors[0] + throw createErrorFromCode(partitionErrorCode) } - // trim accepts - accepts.length = j; + return data +} - return accepts; +module.exports = { + decode, + parse, } -/** - * Parse an encoding from the Accept-Encoding header. - * @private - */ -function parseEncoding(str, i) { - var match = simpleEncodingRegExp.exec(str); - if (!match) return null; +/***/ }), - var encoding = match[1]; - var q = 1; - if (match[2]) { - var params = match[2].split(';'); - for (var j = 0; j < params.length; j++) { - var p = params[j].trim().split('='); - if (p[0] === 'q') { - q = parseFloat(p[1]); - break; - } - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return { - encoding: encoding, - q: q, - i: i - }; -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Get the priority of an encoding. - * @private + * Metadata Request (Version: 1) => [topics] + * topics => STRING */ -function getEncodingPriority(encoding, accepted, index) { - var priority = {o: -1, q: 0, s: 0}; +module.exports = ({ topics }) => ({ + apiKey, + apiVersion: 1, + apiName: 'Metadata', + encode: async () => { + return new Encoder().writeNullableArray(topics) + }, +}) + - for (var i = 0; i < accepted.length; i++) { - var spec = specify(encoding, accepted[i], index); +/***/ }), - if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { - priority = spec; - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 55:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return priority; -} +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") /** - * Get the specificity of the encoding. - * @private + * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata] + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => topic_error_code topic is_internal [partition_metadata] + * topic_error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => partition_error_code partition_id leader [replicas] [isr] + * partition_error_code => INT16 + * partition_id => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 */ -function specify(encoding, spec, index) { - var s = 0; - if(spec.encoding.toLowerCase() === encoding.toLowerCase()){ - s |= 1; - } else if (spec.encoding !== '*' ) { - return null - } - - return { - i: index, - o: spec.i, - q: spec.q, - s: s - } -}; +const broker = decoder => ({ + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + rack: decoder.readString(), +}) -/** - * Get the preferred encodings from an Accept-Encoding header. - * @public - */ +const topicMetadata = decoder => ({ + topicErrorCode: decoder.readInt16(), + topic: decoder.readString(), + isInternal: decoder.readBoolean(), + partitionMetadata: decoder.readArray(partitionMetadata), +}) -function preferredEncodings(accept, provided) { - var accepts = parseAcceptEncoding(accept || ''); +const partitionMetadata = decoder => ({ + partitionErrorCode: decoder.readInt16(), + partitionId: decoder.readInt32(), + leader: decoder.readInt32(), + replicas: decoder.readArray(d => d.readInt32()), + isr: decoder.readArray(d => d.readInt32()), +}) - if (!provided) { - // sorted list of all encodings - return accepts - .filter(isQuality) - .sort(compareSpecs) - .map(getFullEncoding); +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + brokers: decoder.readArray(broker), + controllerId: decoder.readInt32(), + topicMetadata: decoder.readArray(topicMetadata), } +} - var priorities = provided.map(function getPriority(type, index) { - return getEncodingPriority(type, accepts, index); - }); - - // sorted list of accepted encodings - return priorities.filter(isQuality).sort(compareSpecs).map(function getEncoding(priority) { - return provided[priorities.indexOf(priority)]; - }); +module.exports = { + decode, + parse: parseV0, } -/** - * Compare two specs. - * @private - */ -function compareSpecs(a, b) { - return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; -} +/***/ }), -/** - * Get full encoding string. - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function getFullEncoding(spec) { - return spec.encoding; -} +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") /** - * Check if a spec has any quality. - * @private + * Metadata Request (Version: 2) => [topics] + * topics => STRING */ -function isQuality(spec) { - return spec.q > 0; -} +module.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 }) /***/ }), -/***/ "./node_modules/negotiator/lib/language.js": -/*!*************************************************!*\ - !*** ./node_modules/negotiator/lib/language.js ***! - \*************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js ***! + \****************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module) => { - -"use strict"; -/** - * negotiator - * Copyright(c) 2012 Isaac Z. Schlueter - * Copyright(c) 2014 Federico Romero - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 57:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") /** - * Module exports. - * @public + * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata] + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * cluster_id => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => topic_error_code topic is_internal [partition_metadata] + * topic_error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => partition_error_code partition_id leader [replicas] [isr] + * partition_error_code => INT16 + * partition_id => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 */ -module.exports = preferredLanguages; -module.exports.preferredLanguages = preferredLanguages; +const broker = decoder => ({ + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + rack: decoder.readString(), +}) -/** - * Module variables. - * @private - */ +const topicMetadata = decoder => ({ + topicErrorCode: decoder.readInt16(), + topic: decoder.readString(), + isInternal: decoder.readBoolean(), + partitionMetadata: decoder.readArray(partitionMetadata), +}) -var simpleLanguageRegExp = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/; +const partitionMetadata = decoder => ({ + partitionErrorCode: decoder.readInt16(), + partitionId: decoder.readInt32(), + leader: decoder.readInt32(), + replicas: decoder.readArray(d => d.readInt32()), + isr: decoder.readArray(d => d.readInt32()), +}) -/** - * Parse the Accept-Language header. - * @private - */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + brokers: decoder.readArray(broker), + clusterId: decoder.readString(), + controllerId: decoder.readInt32(), + topicMetadata: decoder.readArray(topicMetadata), + } +} -function parseAcceptLanguage(accept) { - var accepts = accept.split(','); +module.exports = { + decode, + parse: parseV0, +} - for (var i = 0, j = 0; i < accepts.length; i++) { - var language = parseLanguage(accepts[i].trim(), i); - if (language) { - accepts[j++] = language; - } - } +/***/ }), - // trim accepts - accepts.length = j; +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 8:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return accepts; -} +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js") /** - * Parse a language from the Accept-Language header. - * @private + * Metadata Request (Version: 3) => [topics] + * topics => STRING */ -function parseLanguage(str, i) { - var match = simpleLanguageRegExp.exec(str); - if (!match) return null; +module.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 }) - var prefix = match[1] - var suffix = match[2] - var full = prefix - if (suffix) full += "-" + suffix; +/***/ }), - var q = 1; - if (match[3]) { - var params = match[3].split(';') - for (var j = 0; j < params.length; j++) { - var p = params[j].split('='); - if (p[0] === 'q') q = parseFloat(p[1]); - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 59:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return { - prefix: prefix, - suffix: suffix, - q: q, - i: i, - full: full - }; -} +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") /** - * Get the priority of a language. - * @private + * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] + * throttle_time_ms => INT32 + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * cluster_id => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => error_code topic is_internal [partition_metadata] + * error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => error_code partition leader [replicas] [isr] + * error_code => INT16 + * partition => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 */ -function getLanguagePriority(language, accepted, index) { - var priority = {o: -1, q: 0, s: 0}; - - for (var i = 0; i < accepted.length; i++) { - var spec = specify(language, accepted[i], index); - - if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { - priority = spec; - } - } - - return priority; -} +const broker = decoder => ({ + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + rack: decoder.readString(), +}) -/** - * Get the specificity of the language. - * @private - */ +const topicMetadata = decoder => ({ + topicErrorCode: decoder.readInt16(), + topic: decoder.readString(), + isInternal: decoder.readBoolean(), + partitionMetadata: decoder.readArray(partitionMetadata), +}) -function specify(language, spec, index) { - var p = parseLanguage(language) - if (!p) return null; - var s = 0; - if(spec.full.toLowerCase() === p.full.toLowerCase()){ - s |= 4; - } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) { - s |= 2; - } else if (spec.full.toLowerCase() === p.prefix.toLowerCase()) { - s |= 1; - } else if (spec.full !== '*' ) { - return null - } +const partitionMetadata = decoder => ({ + partitionErrorCode: decoder.readInt16(), + partitionId: decoder.readInt32(), + leader: decoder.readInt32(), + replicas: decoder.readArray(d => d.readInt32()), + isr: decoder.readArray(d => d.readInt32()), +}) +const decode = async rawData => { + const decoder = new Decoder(rawData) return { - i: index, - o: spec.i, - q: spec.q, - s: s + throttleTime: decoder.readInt32(), + brokers: decoder.readArray(broker), + clusterId: decoder.readString(), + controllerId: decoder.readInt32(), + topicMetadata: decoder.readArray(topicMetadata), } -}; +} -/** - * Get the preferred languages from an Accept-Language header. - * @public - */ +module.exports = { + decode, + parse: parseV0, +} -function preferredLanguages(accept, provided) { - // RFC 2616 sec 14.4: no header = * - var accepts = parseAcceptLanguage(accept === undefined ? '*' : accept || ''); - if (!provided) { - // sorted list of all languages - return accepts - .filter(isQuality) - .sort(compareSpecs) - .map(getFullLanguage); - } +/***/ }), - var priorities = provided.map(function getPriority(type, index) { - return getLanguagePriority(type, accepts, index); - }); +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 10:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // sorted list of accepted languages - return priorities.filter(isQuality).sort(compareSpecs).map(function getLanguage(priority) { - return provided[priorities.indexOf(priority)]; - }); -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Metadata: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Compare two specs. - * @private + * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation + * topics => STRING + * allow_auto_topic_creation => BOOLEAN */ -function compareSpecs(a, b) { - return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; -} +module.exports = ({ topics, allowAutoTopicCreation = true }) => ({ + apiKey, + apiVersion: 4, + apiName: 'Metadata', + encode: async () => { + return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation) + }, +}) -/** - * Get full language string. - * @private - */ -function getFullLanguage(spec) { - return spec.full; -} +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse: parseV3, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js") /** - * Check if a spec has any quality. - * @private + * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] + * throttle_time_ms => INT32 + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * cluster_id => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => error_code topic is_internal [partition_metadata] + * error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => error_code partition leader [replicas] [isr] + * error_code => INT16 + * partition => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 */ -function isQuality(spec) { - return spec.q > 0; +module.exports = { + parse: parseV3, + decode: decodeV3, } /***/ }), -/***/ "./node_modules/negotiator/lib/mediaType.js": -/*!**************************************************!*\ - !*** ./node_modules/negotiator/lib/mediaType.js ***! - \**************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const requestV4 = __webpack_require__(/*! ../v4/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js") -"use strict"; /** - * negotiator - * Copyright(c) 2012 Isaac Z. Schlueter - * Copyright(c) 2014 Federico Romero - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed + * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation + * topics => STRING + * allow_auto_topic_creation => BOOLEAN */ +module.exports = ({ topics, allowAutoTopicCreation = true }) => + Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 }) -/** - * Module exports. - * @public - */ - -module.exports = preferredMediaTypes; -module.exports.preferredMediaTypes = preferredMediaTypes; +/***/ }), -/** - * Module variables. - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 61:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var simpleMediaTypeRegExp = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js") /** - * Parse the Accept header. - * @private + * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] + * throttle_time_ms => INT32 + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * cluster_id => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => error_code topic is_internal [partition_metadata] + * error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas] + * error_code => INT16 + * partition => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 + * offline_replicas => INT32 */ -function parseAccept(accept) { - var accepts = splitMediaTypes(accept); +const broker = decoder => ({ + nodeId: decoder.readInt32(), + host: decoder.readString(), + port: decoder.readInt32(), + rack: decoder.readString(), +}) + +const topicMetadata = decoder => ({ + topicErrorCode: decoder.readInt16(), + topic: decoder.readString(), + isInternal: decoder.readBoolean(), + partitionMetadata: decoder.readArray(partitionMetadata), +}) - for (var i = 0, j = 0; i < accepts.length; i++) { - var mediaType = parseMediaType(accepts[i].trim(), i); +const partitionMetadata = decoder => ({ + partitionErrorCode: decoder.readInt16(), + partitionId: decoder.readInt32(), + leader: decoder.readInt32(), + replicas: decoder.readArray(d => d.readInt32()), + isr: decoder.readArray(d => d.readInt32()), + offlineReplicas: decoder.readArray(d => d.readInt32()), +}) - if (mediaType) { - accepts[j++] = mediaType; - } +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + throttleTime: decoder.readInt32(), + brokers: decoder.readArray(broker), + clusterId: decoder.readString(), + controllerId: decoder.readInt32(), + topicMetadata: decoder.readArray(topicMetadata), } +} - // trim accepts - accepts.length = j; - - return accepts; +module.exports = { + decode, + parse: parseV0, } -/** - * Parse a media type from the Accept header. - * @private - */ -function parseMediaType(str, i) { - var match = simpleMediaTypeRegExp.exec(str); - if (!match) return null; +/***/ }), - var params = Object.create(null); - var q = 1; - var subtype = match[2]; - var type = match[1]; +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (match[3]) { - var kvps = splitParameters(match[3]).map(splitKeyValuePair); +const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js") - for (var j = 0; j < kvps.length; j++) { - var pair = kvps[j]; - var key = pair[0].toLowerCase(); - var val = pair[1]; +/** + * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation + * topics => STRING + * allow_auto_topic_creation => BOOLEAN + */ - // get the value, unwrapping quotes - var value = val && val[0] === '"' && val[val.length - 1] === '"' - ? val.substr(1, val.length - 2) - : val; +module.exports = ({ topics, allowAutoTopicCreation = true }) => + Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 }) - if (key === 'q') { - q = parseFloat(value); - break; - } - // store parameter - params[key] = value; - } - } +/***/ }), - return { - type: type, - subtype: subtype, - params: params, - q: q, - i: i - }; -} +/***/ "./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 38:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js") /** - * Get the priority of a media type. - * @private + * In version 6 on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata] + * throttle_time_ms => INT32 + * brokers => node_id host port rack + * node_id => INT32 + * host => STRING + * port => INT32 + * rack => NULLABLE_STRING + * cluster_id => NULLABLE_STRING + * controller_id => INT32 + * topic_metadata => error_code topic is_internal [partition_metadata] + * error_code => INT16 + * topic => STRING + * is_internal => BOOLEAN + * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas] + * error_code => INT16 + * partition => INT32 + * leader => INT32 + * replicas => INT32 + * isr => INT32 + * offline_replicas => INT32 */ +const decode = async rawData => { + const decoded = await decodeV1(rawData) -function getMediaTypePriority(type, accepted, index) { - var priority = {o: -1, q: 0, s: 0}; - - for (var i = 0; i < accepted.length; i++) { - var spec = specify(type, accepted[i], index); - - if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) { - priority = spec; - } + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } - - return priority; } -/** - * Get the specificity of the media type. - * @private - */ +module.exports = { + decode, + parse, +} -function specify(type, spec, index) { - var p = parseMediaType(type); - var s = 0; - if (!p) { - return null; - } +/***/ }), - if(spec.type.toLowerCase() == p.type.toLowerCase()) { - s |= 4 - } else if(spec.type != '*') { - return null; - } +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 72:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if(spec.subtype.toLowerCase() == p.subtype.toLowerCase()) { - s |= 2 - } else if(spec.subtype != '*') { - return null; - } +// This value signals to the broker that its default configuration should be used. +const RETENTION_TIME = -1 - var keys = Object.keys(spec.params); - if (keys.length > 0) { - if (keys.every(function (k) { - return spec.params[k] == '*' || (spec.params[k] || '').toLowerCase() == (p.params[k] || '').toLowerCase(); - })) { - s |= 1 - } else { - return null +const versions = { + 0: ({ groupId, topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") + return { request: request({ groupId, topics }), response } + }, + 1: ({ groupId, groupGenerationId, memberId, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js") + return { request: request({ groupId, groupGenerationId, memberId, topics }), response } + }, + 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js") + return { + request: request({ + groupId, + groupGenerationId, + memberId, + retentionTime, + topics, + }), + response, } - } - - return { - i: index, - o: spec.i, - q: spec.q, - s: s, - } + }, + 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js") + return { + request: request({ + groupId, + groupGenerationId, + memberId, + retentionTime, + topics, + }), + response, + } + }, + 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js") + return { + request: request({ + groupId, + groupGenerationId, + memberId, + retentionTime, + topics, + }), + response, + } + }, + 5: ({ groupId, groupGenerationId, memberId, topics }) => { + const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js") + const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js") + return { + request: request({ + groupId, + groupGenerationId, + memberId, + topics, + }), + response, + } + }, } -/** - * Get the preferred media types from an Accept header. - * @public - */ +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} -function preferredMediaTypes(accept, provided) { - // RFC 2616 sec 14.2: no header = */* - var accepts = parseAccept(accept === undefined ? '*/*' : accept || ''); - if (!provided) { - // sorted list of all types - return accepts - .filter(isQuality) - .sort(compareSpecs) - .map(getFullType); - } +/***/ }), - var priorities = provided.map(function getPriority(type, index) { - return getMediaTypePriority(type, accepts, index); - }); +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // sorted list of accepted types - return priorities.filter(isQuality).sort(compareSpecs).map(function getType(priority) { - return provided[priorities.indexOf(priority)]; - }); -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Compare two specs. - * @private + * OffsetCommit Request (Version: 0) => group_id [topics] + * group_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING */ -function compareSpecs(a, b) { - return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0; -} +module.exports = ({ groupId, topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'OffsetCommit', + encode: async () => { + return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic)) + }, +}) -/** - * Get full type string. - * @private - */ +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} -function getFullType(spec) { - return spec.type + '/' + spec.subtype; +const encodePartition = ({ partition, offset, metadata = null }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(offset) + .writeString(metadata) } -/** - * Check if a spec has any quality. - * @private - */ -function isQuality(spec) { - return spec.q > 0; -} +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 43:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Count the number of quotes in a string. - * @private + * OffsetCommit Response (Version: 0) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 */ -function quoteCount(string) { - var count = 0; - var index = 0; - - while ((index = string.indexOf('"', index)) !== -1) { - count++; - index++; +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + responses: decoder.readArray(decodeResponses), } - - return count; } -/** - * Split a key value pair. - * @private - */ +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) -function splitKeyValuePair(str) { - var index = str.indexOf('='); - var key; - var val; +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), +}) - if (index === -1) { - key = str; - } else { - key = str.substr(0, index); - val = str.substr(index + 1); +const parse = async data => { + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) } - return [key, val]; + return data } -/** - * Split an Accept header into media types. - * @private - */ +module.exports = { + decode, + parse, +} -function splitMediaTypes(accept) { - var accepts = accept.split(','); - for (var i = 1, j = 0; i < accepts.length; i++) { - if (quoteCount(accepts[j]) % 2 == 0) { - accepts[++j] = accepts[i]; - } else { - accepts[j] += ',' + accepts[i]; - } - } +/***/ }), - // trim accepts - accepts.length = j + 1; +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return accepts; -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Split a string of parameters. - * @private + * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics] + * group_id => STRING + * group_generation_id => INT32 + * member_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset timestamp metadata + * partition => INT32 + * offset => INT64 + * timestamp => INT64 + * metadata => NULLABLE_STRING */ -function splitParameters(str) { - var parameters = str.split(';'); - - for (var i = 1, j = 0; i < parameters.length; i++) { - if (quoteCount(parameters[j]) % 2 == 0) { - parameters[++j] = parameters[i]; - } else { - parameters[j] += ';' + parameters[i]; - } - } - - // trim parameters - parameters.length = j + 1; +module.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({ + apiKey, + apiVersion: 1, + apiName: 'OffsetCommit', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(groupGenerationId) + .writeString(memberId) + .writeArray(topics.map(encodeTopic)) + }, +}) - for (var i = 0; i < parameters.length; i++) { - parameters[i] = parameters[i].trim(); - } +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} - return parameters; +const encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(offset) + .writeInt64(timestamp) + .writeString(metadata) } /***/ }), -/***/ "./node_modules/node-gyp-build/index.js": -/*!**********************************************!*\ - !*** ./node_modules/node-gyp-build/index.js ***! - \**********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js ***! + \********************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var fs = __webpack_require__(/*! fs */ "fs") -var path = __webpack_require__(/*! path */ "path") -var os = __webpack_require__(/*! os */ "os") - -// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression' -var runtimeRequire = true ? require : 0 // eslint-disable-line +const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") -var vars = (process.config && process.config.variables) || {} -var prebuildsOnly = !!process.env.PREBUILDS_ONLY -var abi = process.versions.modules // TODO: support old node where this is undef -var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node') +/** + * OffsetCommit Response (Version: 1) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 + */ -var arch = process.env.npm_config_arch || os.arch() -var platform = process.env.npm_config_platform || os.platform() -var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc') -var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || '' -var uv = (process.versions.uv || '').split('.')[0] +module.exports = { + decode, + parse, +} -module.exports = load -function load (dir) { - return runtimeRequire(load.path(dir)) -} +/***/ }), -load.path = function (dir) { - dir = path.resolve(dir || '.') +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - try { - var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_') - if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD'] - } catch (err) {} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - if (!prebuildsOnly) { - var release = getFirst(path.join(dir, 'build/Release'), matchBuild) - if (release) return release +/** + * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics] + * group_id => STRING + * group_generation_id => INT32 + * member_id => STRING + * retention_time => INT64 + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + */ - var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild) - if (debug) return debug - } +module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({ + apiKey, + apiVersion: 2, + apiName: 'OffsetCommit', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(groupGenerationId) + .writeString(memberId) + .writeInt64(retentionTime) + .writeArray(topics.map(encodeTopic)) + }, +}) - var prebuild = resolve(dir) - if (prebuild) return prebuild +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} - var nearby = resolve(path.dirname(process.execPath)) - if (nearby) return nearby +const encodePartition = ({ partition, offset, metadata = null }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(offset) + .writeString(metadata) +} - var target = [ - 'platform=' + platform, - 'arch=' + arch, - 'runtime=' + runtime, - 'abi=' + abi, - 'uv=' + uv, - armv ? 'armv=' + armv : '', - 'libc=' + libc, - 'node=' + process.versions.node, - process.versions.electron ? 'electron=' + process.versions.electron : '', - true ? 'webpack=true' : 0 // eslint-disable-line - ].filter(Boolean).join(' ') - throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n') +/***/ }), - function resolve (dir) { - // Find matching "prebuilds/-" directory - var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple) - var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0] - if (!tuple) return +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // Find most specific flavor first - var prebuilds = path.join(dir, 'prebuilds', tuple.name) - var parsed = readdirSync(prebuilds).map(parseTags) - var candidates = parsed.filter(matchTags(runtime, abi)) - var winner = candidates.sort(compareTags(runtime))[0] - if (winner) return path.join(prebuilds, winner.file) - } -} +const { parse, decode } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") -function readdirSync (dir) { - try { - return fs.readdirSync(dir) - } catch (err) { - return [] - } -} +/** + * OffsetCommit Response (Version: 1) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 + */ -function getFirst (dir, filter) { - var files = readdirSync(dir).filter(filter) - return files[0] && path.join(dir, files[0]) +module.exports = { + decode, + parse, } -function matchBuild (name) { - return /\.node$/.test(name) -} -function parseTuple (name) { - // Example: darwin-x64+arm64 - var arr = name.split('-') - if (arr.length !== 2) return +/***/ }), - var platform = arr[0] - var architectures = arr[1].split('+') +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (!platform) return - if (!architectures.length) return - if (!architectures.every(Boolean)) return +const requestV2 = __webpack_require__(/*! ../v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js") - return { name, platform, architectures } -} +/** + * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * retention_time => INT64 + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + */ -function matchTuple (platform, arch) { - return function (tuple) { - if (tuple == null) return false - if (tuple.platform !== platform) return false - return tuple.architectures.includes(arch) - } -} +module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => + Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), { + apiVersion: 3, + }) -function compareTuples (a, b) { - // Prefer single-arch prebuilds over multi-arch - return a.architectures.length - b.architectures.length -} -function parseTags (file) { - var arr = file.split('.') - var extension = arr.pop() - var tags = { file: file, specificity: 0 } +/***/ }), - if (extension !== 'node') return +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 32:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - for (var i = 0; i < arr.length; i++) { - var tag = arr[i] +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js") - if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') { - tags.runtime = tag - } else if (tag === 'napi') { - tags.napi = true - } else if (tag.slice(0, 3) === 'abi') { - tags.abi = tag.slice(3) - } else if (tag.slice(0, 2) === 'uv') { - tags.uv = tag.slice(2) - } else if (tag.slice(0, 4) === 'armv') { - tags.armv = tag.slice(4) - } else if (tag === 'glibc' || tag === 'musl') { - tags.libc = tag - } else { - continue - } +/** + * OffsetCommit Response (Version: 3) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 + */ - tags.specificity++ +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + throttleTime: decoder.readInt32(), + responses: decoder.readArray(decodeResponses), } - - return tags } -function matchTags (runtime, abi) { - return function (tags) { - if (tags == null) return false - if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false - if (tags.abi !== abi && !tags.napi) return false - if (tags.uv && tags.uv !== uv) return false - if (tags.armv && tags.armv !== armv) return false - if (tags.libc && tags.libc !== libc) return false +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) - return true - } -} +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), +}) -function runtimeAgnostic (tags) { - return tags.runtime === 'node' && tags.napi +module.exports = { + decode, + parse: parseV0, } -function compareTags (runtime) { - // Precedence: non-agnostic runtime, abi over napi, then by specificity. - return function (a, b) { - if (a.runtime !== b.runtime) { - return a.runtime === runtime ? -1 : 1 - } else if (a.abi !== b.abi) { - return a.abi ? -1 : 1 - } else if (a.specificity !== b.specificity) { - return a.specificity > b.specificity ? -1 : 1 - } else { - return 0 - } - } -} -function isNwjs () { - return !!(process.versions && process.versions.nw) -} +/***/ }), -function isElectron () { - if (process.versions && process.versions.electron) return true - if (process.env.ELECTRON_RUN_AS_NODE) return true - return typeof window !== 'undefined' && window.process && window.process.type === 'renderer' -} +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function isAlpine (platform) { - return platform === 'linux' && fs.existsSync('/etc/alpine-release') -} +const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js") -// Exposed for unit tests -// TODO: move to lib -load.parseTags = parseTags -load.matchTags = matchTags -load.compareTags = compareTags -load.parseTuple = parseTuple -load.matchTuple = matchTuple -load.compareTuples = compareTuples +/** + * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * retention_time => INT64 + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + */ + +module.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => + Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), { + apiVersion: 4, + }) /***/ }), -/***/ "./node_modules/object-inspect/index.js": -/*!**********************************************!*\ - !*** ./node_modules/object-inspect/index.js ***! - \**********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js ***! + \********************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 72:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var hasMap = typeof Map === 'function' && Map.prototype; -var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; -var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; -var mapForEach = hasMap && Map.prototype.forEach; -var hasSet = typeof Set === 'function' && Set.prototype; -var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; -var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; -var setForEach = hasSet && Set.prototype.forEach; -var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; -var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; -var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; -var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; -var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; -var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; -var booleanValueOf = Boolean.prototype.valueOf; -var objectToString = Object.prototype.toString; -var functionToString = Function.prototype.toString; -var $match = String.prototype.match; -var $slice = String.prototype.slice; -var $replace = String.prototype.replace; -var $toUpperCase = String.prototype.toUpperCase; -var $toLowerCase = String.prototype.toLowerCase; -var $test = RegExp.prototype.test; -var $concat = Array.prototype.concat; -var $join = Array.prototype.join; -var $arrSlice = Array.prototype.slice; -var $floor = Math.floor; -var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; -var gOPS = Object.getOwnPropertySymbols; -var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; -var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; -// ie, `has-tostringtag/shams -var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') - ? Symbol.toStringTag - : null; -var isEnumerable = Object.prototype.propertyIsEnumerable; - -var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( - [].__proto__ === Array.prototype // eslint-disable-line no-proto - ? function (O) { - return O.__proto__; // eslint-disable-line no-proto - } - : null -); +const { parse, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js") -function addNumericSeparator(num, str) { - if ( - num === Infinity - || num === -Infinity - || num !== num - || (num && num > -1000 && num < 1000) - || $test.call(/e/, str) - ) { - return str; - } - var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; - if (typeof num === 'number') { - var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) - if (int !== num) { - var intStr = String(int); - var dec = $slice.call(str, intStr.length + 1); - return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); - } - } - return $replace.call(str, sepRegex, '$&_'); +/** + * Starting in version 4, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * OffsetCommit Response (Version: 4) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 + */ + +const decode = async rawData => { + const decoded = await decodeV3(rawData) + + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } } -var utilInspect = __webpack_require__(/*! ./util.inspect */ "./node_modules/object-inspect/util.inspect.js"); -var inspectCustom = utilInspect.custom; -var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; +module.exports = { + decode, + parse, +} -module.exports = function inspect_(obj, options, depth, seen) { - var opts = options || {}; - if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { - throw new TypeError('option "quoteStyle" must be "single" or "double"'); - } - if ( - has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' - ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity - : opts.maxStringLength !== null - ) - ) { - throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); - } - var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; - if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { - throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); - } +/***/ }), - if ( - has(opts, 'indent') - && opts.indent !== null - && opts.indent !== '\t' - && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) - ) { - throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); - } - if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { - throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); - } - var numericSeparator = opts.numericSeparator; +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (typeof obj === 'undefined') { - return 'undefined'; - } - if (obj === null) { - return 'null'; - } - if (typeof obj === 'boolean') { - return obj ? 'true' : 'false'; - } +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - if (typeof obj === 'string') { - return inspectString(obj, opts); - } - if (typeof obj === 'number') { - if (obj === 0) { - return Infinity / obj > 0 ? '0' : '-0'; - } - var str = String(obj); - return numericSeparator ? addNumericSeparator(obj, str) : str; - } - if (typeof obj === 'bigint') { - var bigIntStr = String(obj) + 'n'; - return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; - } +/** + * Version 5 removes retention_time, as this is controlled by a broker setting + * + * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + */ - var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; - if (typeof depth === 'undefined') { depth = 0; } - if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { - return isArray(obj) ? '[Array]' : '[Object]'; - } +module.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({ + apiKey, + apiVersion: 5, + apiName: 'OffsetCommit', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(groupGenerationId) + .writeString(memberId) + .writeArray(topics.map(encodeTopic)) + }, +}) - var indent = getIndent(opts, depth); +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} - if (typeof seen === 'undefined') { - seen = []; - } else if (indexOf(seen, obj) >= 0) { - return '[Circular]'; - } +const encodePartition = ({ partition, offset, metadata = null }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(offset) + .writeString(metadata) +} - function inspect(value, from, noIndent) { - if (from) { - seen = $arrSlice.call(seen); - seen.push(from); - } - if (noIndent) { - var newOpts = { - depth: opts.depth - }; - if (has(opts, 'quoteStyle')) { - newOpts.quoteStyle = opts.quoteStyle; - } - return inspect_(value, newOpts, depth + 1, seen); - } - return inspect_(value, opts, depth + 1, seen); - } - if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable - var name = nameOf(obj); - var keys = arrObjKeys(obj, inspect); - return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); - } - if (isSymbol(obj)) { - var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); - return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; - } - if (isElement(obj)) { - var s = '<' + $toLowerCase.call(String(obj.nodeName)); - var attrs = obj.attributes || []; - for (var i = 0; i < attrs.length; i++) { - s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); - } - s += '>'; - if (obj.childNodes && obj.childNodes.length) { s += '...'; } - s += ''; - return s; - } - if (isArray(obj)) { - if (obj.length === 0) { return '[]'; } - var xs = arrObjKeys(obj, inspect); - if (indent && !singleLineValues(xs)) { - return '[' + indentedJoin(xs, indent) + ']'; - } - return '[ ' + $join.call(xs, ', ') + ' ]'; - } - if (isError(obj)) { - var parts = arrObjKeys(obj, inspect); - if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { - return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; - } - if (parts.length === 0) { return '[' + String(obj) + ']'; } - return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; - } - if (typeof obj === 'object' && customInspect) { - if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { - return utilInspect(obj, { depth: maxDepth - depth }); - } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { - return obj.inspect(); - } - } - if (isMap(obj)) { - var mapParts = []; - mapForEach.call(obj, function (value, key) { - mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); - }); - return collectionOf('Map', mapSize.call(obj), mapParts, indent); - } - if (isSet(obj)) { - var setParts = []; - setForEach.call(obj, function (value) { - setParts.push(inspect(value, obj)); - }); - return collectionOf('Set', setSize.call(obj), setParts, indent); - } - if (isWeakMap(obj)) { - return weakCollectionOf('WeakMap'); - } - if (isWeakSet(obj)) { - return weakCollectionOf('WeakSet'); - } - if (isWeakRef(obj)) { - return weakCollectionOf('WeakRef'); - } - if (isNumber(obj)) { - return markBoxed(inspect(Number(obj))); - } - if (isBigInt(obj)) { - return markBoxed(inspect(bigIntValueOf.call(obj))); - } - if (isBoolean(obj)) { - return markBoxed(booleanValueOf.call(obj)); - } - if (isString(obj)) { - return markBoxed(inspect(String(obj))); - } - if (!isDate(obj) && !isRegExp(obj)) { - var ys = arrObjKeys(obj, inspect); - var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; - var protoTag = obj instanceof Object ? '' : 'null prototype'; - var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; - var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; - var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); - if (ys.length === 0) { return tag + '{}'; } - if (indent) { - return tag + '{' + indentedJoin(ys, indent) + '}'; - } - return tag + '{ ' + $join.call(ys, ', ') + ' }'; - } - return String(obj); -}; +/***/ }), -function wrapQuotes(s, defaultStyle, opts) { - var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; - return quoteChar + s + quoteChar; -} +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const { parse, decode } = __webpack_require__(/*! ../v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js") -function quote(s) { - return $replace.call(String(s), /"/g, '"'); +/** + * OffsetCommit Response (Version: 5) => throttle_time_ms [responses] + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code + * partition => INT32 + * error_code => INT16 + */ +module.exports = { + decode, + parse, } -function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } -// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives -function isSymbol(obj) { - if (hasShammedSymbols) { - return obj && typeof obj === 'object' && obj instanceof Symbol; - } - if (typeof obj === 'symbol') { - return true; - } - if (!obj || typeof obj !== 'object' || !symToString) { - return false; - } - try { - symToString.call(obj); - return true; - } catch (e) {} - return false; -} +/***/ }), -function isBigInt(obj) { - if (!obj || typeof obj !== 'object' || !bigIntValueOf) { - return false; - } - try { - bigIntValueOf.call(obj); - return true; - } catch (e) {} - return false; -} +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js ***! + \*************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; -function has(obj, key) { - return hasOwn.call(obj, key); +const versions = { + 1: ({ groupId, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js") + return { request: request({ groupId, topics }), response } + }, + 2: ({ groupId, topics }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js") + return { request: request({ groupId, topics }), response } + }, + 3: ({ groupId, topics }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js") + return { request: request({ groupId, topics }), response } + }, + 4: ({ groupId, topics }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js") + return { request: request({ groupId, topics }), response } + }, } -function toStr(obj) { - return objectToString.call(obj); +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], } -function nameOf(f) { - if (f.name) { return f.name; } - var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); - if (m) { return m[1]; } - return null; -} -function indexOf(xs, x) { - if (xs.indexOf) { return xs.indexOf(x); } - for (var i = 0, l = xs.length; i < l; i++) { - if (xs[i] === x) { return i; } - } - return -1; -} +/***/ }), -function isMap(x) { - if (!mapSize || !x || typeof x !== 'object') { - return false; - } - try { - mapSize.call(x); - try { - setSize.call(x); - } catch (s) { - return true; - } - return x instanceof Map; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function isWeakMap(x) { - if (!weakMapHas || !x || typeof x !== 'object') { - return false; - } - try { - weakMapHas.call(x, weakMapHas); - try { - weakSetHas.call(x, weakSetHas); - } catch (s) { - return true; - } - return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetFetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -function isWeakRef(x) { - if (!weakRefDeref || !x || typeof x !== 'object') { - return false; - } - try { - weakRefDeref.call(x); - return true; - } catch (e) {} - return false; -} +/** + * OffsetFetch Request (Version: 1) => group_id [topics] + * group_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition + * partition => INT32 + */ -function isSet(x) { - if (!setSize || !x || typeof x !== 'object') { - return false; - } - try { - setSize.call(x); - try { - mapSize.call(x); - } catch (m) { - return true; - } - return x instanceof Set; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; -} +module.exports = ({ groupId, topics }) => ({ + apiKey, + apiVersion: 1, + apiName: 'OffsetFetch', + encode: async () => { + return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic)) + }, +}) -function isWeakSet(x) { - if (!weakSetHas || !x || typeof x !== 'object') { - return false; - } - try { - weakSetHas.call(x, weakSetHas); - try { - weakMapHas.call(x, weakMapHas); - } catch (s) { - return true; - } - return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 - } catch (e) {} - return false; +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) } -function isElement(x) { - if (!x || typeof x !== 'object') { return false; } - if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { - return true; - } - return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +const encodePartition = ({ partition }) => { + return new Encoder().writeInt32(partition) } -function inspectString(str, opts) { - if (str.length > opts.maxStringLength) { - var remaining = str.length - opts.maxStringLength; - var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); - return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; - } - // eslint-disable-next-line no-control-regex - var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); - return wrapQuotes(s, 'single', opts); -} -function lowbyte(c) { - var n = c.charCodeAt(0); - var x = { - 8: 'b', - 9: 't', - 10: 'n', - 12: 'f', - 13: 'r' - }[n]; - if (x) { return '\\' + x; } - return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); -} +/***/ }), -function markBoxed(str) { - return 'Object(' + str + ')'; -} +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 47:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function weakCollectionOf(type) { - return type + ' { ? }'; -} +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") -function collectionOf(type, size, entries, indent) { - var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); - return type + ' (' + size + ') {' + joinedEntries + '}'; -} +/** + * OffsetFetch Response (Version: 1) => [responses] + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition offset metadata error_code + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + * error_code => INT16 + */ -function singleLineValues(xs) { - for (var i = 0; i < xs.length; i++) { - if (indexOf(xs[i], '\n') >= 0) { - return false; - } - } - return true; +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + responses: decoder.readArray(decodeResponses), + } } -function getIndent(opts, depth) { - var baseIndent; - if (opts.indent === '\t') { - baseIndent = '\t'; - } else if (typeof opts.indent === 'number' && opts.indent > 0) { - baseIndent = $join.call(Array(opts.indent + 1), ' '); - } else { - return null; - } - return { - base: baseIndent, - prev: $join.call(Array(depth + 1), baseIndent) - }; -} +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) -function indentedJoin(xs, indent) { - if (xs.length === 0) { return ''; } - var lineJoiner = '\n' + indent.prev + indent.base; - return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; -} +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + offset: decoder.readInt64().toString(), + metadata: decoder.readString(), + errorCode: decoder.readInt16(), +}) -function arrObjKeys(obj, inspect) { - var isArr = isArray(obj); - var xs = []; - if (isArr) { - xs.length = obj.length; - for (var i = 0; i < obj.length; i++) { - xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; - } - } - var syms = typeof gOPS === 'function' ? gOPS(obj) : []; - var symMap; - if (hasShammedSymbols) { - symMap = {}; - for (var k = 0; k < syms.length; k++) { - symMap['$' + syms[k]] = syms[k]; - } - } +const parse = async data => { + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) + } - for (var key in obj) { // eslint-disable-line no-restricted-syntax - if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue - if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue - if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { - // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section - continue; // eslint-disable-line no-restricted-syntax, no-continue - } else if ($test.call(/[^\w$]/, key)) { - xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); - } else { - xs.push(key + ': ' + inspect(obj[key], obj)); - } - } - if (typeof gOPS === 'function') { - for (var j = 0; j < syms.length; j++) { - if (isEnumerable.call(obj, syms[j])) { - xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); - } - } - } - return xs; + return data +} + +module.exports = { + decode, + parse, } /***/ }), -/***/ "./node_modules/object-inspect/util.inspect.js": -/*!*****************************************************!*\ - !*** ./node_modules/object-inspect/util.inspect.js ***! - \*****************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = __webpack_require__(/*! util */ "util").inspect; +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js") + +/** + * OffsetFetch Request (Version: 2) => group_id [topics] + * group_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition + * partition => INT32 + */ + +module.exports = ({ groupId, topics }) => + Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 }) /***/ }), -/***/ "./node_modules/on-finished/index.js": -/*!*******************************************!*\ - !*** ./node_modules/on-finished/index.js ***! - \*******************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js ***! + \*******************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 53:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * on-finished - * Copyright(c) 2013 Jonathan Ong - * Copyright(c) 2014 Douglas Christopher Wilson - * MIT Licensed +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") + +/** + * OffsetFetch Response (Version: 2) => [responses] error_code + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition offset metadata error_code + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + * error_code => INT16 + * error_code => INT16 */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + responses: decoder.readArray(decodeResponses), + errorCode: decoder.readInt16(), + } +} + +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + offset: decoder.readInt64().toString(), + metadata: decoder.readString(), + errorCode: decoder.readInt16(), +}) -/** - * Module exports. - * @public - */ +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } -module.exports = onFinished -module.exports.isFinished = isFinished + const partitionsWithError = data.responses.map(response => + response.partitions.filter(partition => failure(partition.errorCode)) + ) + const partitionWithError = flatten(partitionsWithError)[0] + if (partitionWithError) { + throw createErrorFromCode(partitionWithError.errorCode) + } -/** - * Module dependencies. - * @private - */ + return data +} -var asyncHooks = tryRequireAsyncHooks() -var first = __webpack_require__(/*! ee-first */ "./node_modules/ee-first/index.js") +module.exports = { + decode, + parse, +} -/** - * Variables. - * @private - */ -/* istanbul ignore next */ -var defer = typeof setImmediate === 'function' - ? setImmediate - : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) } +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { OffsetFetch: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Invoke callback when the response has finished, useful for - * cleaning up resources afterwards. - * - * @param {object} msg - * @param {function} listener - * @return {object} - * @public + * OffsetFetch Request (Version: 3) => group_id [topics] + * group_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition + * partition => INT32 */ -function onFinished (msg, listener) { - if (isFinished(msg) !== false) { - defer(listener, null, msg) - return msg - } +module.exports = ({ groupId, topics }) => ({ + apiKey, + apiVersion: 3, + apiName: 'OffsetFetch', + encode: async () => { + return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic)) + }, +}) - // attach the listener to the message - attachListener(msg, wrap(listener)) +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) +} - return msg +const encodePartition = ({ partition }) => { + return new Encoder().writeInt32(partition) } + +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 38:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV2 } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js") + /** - * Determine if message is already finished. - * - * @param {object} msg - * @return {boolean} - * @public + * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition offset metadata error_code + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + * error_code => INT16 + * error_code => INT16 */ -function isFinished (msg) { - var socket = msg.socket - - if (typeof msg.finished === 'boolean') { - // OutgoingMessage - return Boolean(msg.finished || (socket && !socket.writable)) +const decode = async rawData => { + const decoder = new Decoder(rawData) + return { + throttleTime: decoder.readInt32(), + responses: decoder.readArray(decodeResponses), + errorCode: decoder.readInt16(), } +} - if (typeof msg.complete === 'boolean') { - // IncomingMessage - return Boolean(msg.upgrade || !socket || !socket.readable || (msg.complete && !msg.readable)) - } +const decodeResponses = decoder => ({ + topic: decoder.readString(), + partitions: decoder.readArray(decodePartitions), +}) - // don't know - return undefined -} +const decodePartitions = decoder => ({ + partition: decoder.readInt32(), + offset: decoder.readInt64().toString(), + metadata: decoder.readString(), + errorCode: decoder.readInt16(), +}) -/** - * Attach a finished listener to the message. - * - * @param {object} msg - * @param {function} callback - * @private - */ +module.exports = { + decode, + parse: parseV2, +} -function attachFinishedListener (msg, callback) { - var eeMsg - var eeSocket - var finished = false - function onFinish (error) { - eeMsg.cancel() - eeSocket.cancel() +/***/ }), - finished = true - callback(error) - } +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // finished on first message event - eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish) +const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js") - function onSocket (socket) { - // remove listener - msg.removeListener('socket', onSocket) +/** + * OffsetFetch Request (Version: 4) => group_id [topics] + * group_id => STRING + * topics => topic [partitions] + * topic => STRING + * partitions => partition + * partition => INT32 + */ - if (finished) return - if (eeMsg !== eeSocket) return +module.exports = ({ groupId, topics }) => + Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 }) - // finished on first socket event - eeSocket = first([[socket, 'error', 'close']], onFinish) - } - if (msg.socket) { - // socket already assigned - onSocket(msg.socket) - return - } +/***/ }), - // wait for socket to be assigned - msg.on('socket', onSocket) +/***/ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (msg.socket === undefined) { - // istanbul ignore next: node.js 0.8 patch - patchAssignSocket(msg, onSocket) - } -} +const { parse, decode: decodeV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js") /** - * Attach the listener to the message. + * Starting in version 4, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication * - * @param {object} msg - * @return {function} - * @private + * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code + * throttle_time_ms => INT32 + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition offset metadata error_code + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING + * error_code => INT16 + * error_code => INT16 */ -function attachListener (msg, listener) { - var attached = msg.__onFinished +const decode = async rawData => { + const decoded = await decodeV3(rawData) - // create a private single listener with queue - if (!attached || !attached.queue) { - attached = msg.__onFinished = createListener(msg) - attachFinishedListener(msg, attached) + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } +} - attached.queue.push(listener) +module.exports = { + decode, + parse, } -/** - * Create listener on message. - * - * @param {object} msg - * @return {function} - * @private - */ -function createListener (msg) { - function listener (err) { - if (msg.__onFinished === listener) msg.__onFinished = null - if (!listener.queue) return +/***/ }), - var queue = listener.queue - listener.queue = null +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/index.js": +/*!*********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/index.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 99:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - for (var i = 0; i < queue.length; i++) { - queue[i](err, msg) +const versions = { + 0: ({ acks, timeout, topicData }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") + return { request: request({ acks, timeout, topicData }), response } + }, + 1: ({ acks, timeout, topicData }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js") + return { request: request({ acks, timeout, topicData }), response } + }, + 2: ({ acks, timeout, topicData, compression }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js") + return { request: request({ acks, timeout, compression, topicData }), response } + }, + 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") + return { + request: request({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }), + response, } - } - - listener.queue = [] + }, + 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { + const request = __webpack_require__(/*! ./v4/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js") + const response = __webpack_require__(/*! ./v4/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js") + return { + request: request({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }), + response, + } + }, + 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { + const request = __webpack_require__(/*! ./v5/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js") + const response = __webpack_require__(/*! ./v5/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js") + return { + request: request({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }), + response, + } + }, + 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { + const request = __webpack_require__(/*! ./v6/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js") + const response = __webpack_require__(/*! ./v6/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js") + return { + request: request({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }), + response, + } + }, + 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => { + const request = __webpack_require__(/*! ./v7/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js") + const response = __webpack_require__(/*! ./v7/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js") + return { + request: request({ + acks, + timeout, + compression, + topicData, + transactionalId, + producerId, + producerEpoch, + }), + response, + } + }, +} - return listener +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], } -/** - * Patch ServerResponse.prototype.assignSocket for node.js 0.8. - * - * @param {ServerResponse} res - * @param {function} callback - * @private - */ -// istanbul ignore next: node.js 0.8 patch -function patchAssignSocket (res, callback) { - var assignSocket = res.assignSocket +/***/ }), - if (typeof assignSocket !== 'function') return +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 63:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // res.on('socket', callback) is broken in 0.8 - res.assignSocket = function _assignSocket (socket) { - assignSocket.call(this, socket) - callback(socket) - } -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const MessageSet = __webpack_require__(/*! ../../../messageSet */ "./node_modules/kafkajs/src/protocol/messageSet/index.js") /** - * Try to require async_hooks - * @private + * Produce Request (Version: 0) => acks timeout [topic_data] + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set record_set_size + * partition => INT32 + * record_set_size => INT32 + * record_set => RECORDS */ -function tryRequireAsyncHooks () { - try { - return __webpack_require__(/*! async_hooks */ "async_hooks") - } catch (e) { - return {} - } -} - /** - * Wrap function with async resource, if possible. - * AsyncResource.bind static method backported. - * @private + * MessageV0: + * { + * key: bytes, + * value: bytes + * } + * + * MessageSet: + * [ + * { key: "", value: "" }, + * { key: "", value: "" }, + * ] + * + * TopicData: + * [ + * { + * topic: 'name1', + * partitions: [ + * { + * partition: 0, + * messages: [] + * } + * ] + * } + * ] */ -function wrap (fn) { - var res - - // create anonymous resource - if (asyncHooks.AsyncResource) { - res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn') - } +/** + * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before + * responding to the request. If it is 0 the server will not send any response + * (this is the only case where the server will not reply to a request). If it is 1, + * the server will wait the data is written to the local log before sending a response. + * If it is -1 the server will block until the message is committed by all in sync replicas + * before sending a response. + * + * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number + * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time + * for a few reasons: + * (1) it does not include network latency, + * (2) the timer begins at the beginning of the processing of this request so if many requests are + * queued due to server overload that wait time will not be included, + * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not + * be respected. To get a hard timeout of this type the client should use the socket timeout. + * + * @param topicData {Array} + */ +module.exports = ({ acks, timeout, topicData }) => ({ + apiKey, + apiVersion: 0, + apiName: 'Produce', + expectResponse: () => acks !== 0, + encode: async () => { + return new Encoder() + .writeInt16(acks) + .writeInt32(timeout) + .writeArray(topicData.map(encodeTopic)) + }, +}) - // incompatible node.js - if (!res || !res.runInAsyncScope) { - return fn - } +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions)) +} - // return bound function - return res.runInAsyncScope.bind(res, fn, null) +const encodePartitions = ({ partition, messages }) => { + const messageSet = MessageSet({ messageVersion: 0, entries: messages }) + return new Encoder() + .writeInt32(partition) + .writeInt32(messageSet.size()) + .writeEncoder(messageSet) } /***/ }), -/***/ "./node_modules/on-headers/index.js": -/*!******************************************!*\ - !*** ./node_modules/on-headers/index.js ***! - \******************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * on-headers - * Copyright(c) 2014 Douglas Christopher Wilson - * MIT Licensed - */ - +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 46:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Module exports. - * @public + * v0 + * ProduceResponse => [TopicName [Partition ErrorCode Offset]] + * TopicName => string + * Partition => int32 + * ErrorCode => int16 + * Offset => int64 */ -module.exports = onHeaders +const partition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + offset: decoder.readInt64().toString(), +}) -/** - * Create a replacement writeHead method. - * - * @param {function} prevWriteHead - * @param {function} listener - * @private - */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const topics = decoder.readArray(decoder => ({ + topicName: decoder.readString(), + partitions: decoder.readArray(partition), + })) -function createWriteHead (prevWriteHead, listener) { - var fired = false + return { + topics, + } +} - // return function with core name and argument list - return function writeHead (statusCode) { - // set headers from arguments - var args = setWriteHeadHeaders.apply(this, arguments) +const parse = async data => { + const partitionsWithError = data.topics.map(topic => { + return topic.partitions.filter(partition => failure(partition.errorCode)) + }) - // fire listener - if (!fired) { - fired = true - listener.call(this) + const errors = flatten(partitionsWithError) + if (errors.length > 0) { + const { errorCode } = errors[0] + throw createErrorFromCode(errorCode) + } - // pass-along an updated status code - if (typeof args[0] === 'number' && this.statusCode !== args[0]) { - args[0] = this.statusCode - args.length = 1 - } - } + return data +} - return prevWriteHead.apply(this, args) - } +module.exports = { + decode, + parse, } -/** - * Execute a listener when a response is about to write headers. - * - * @param {object} res - * @return {function} listener - * @public - */ -function onHeaders (res, listener) { - if (!res) { - throw new TypeError('argument res is required') - } +/***/ }), - if (typeof listener !== 'function') { - throw new TypeError('argument listener must be a function') - } +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - res.writeHead = createWriteHead(res.writeHead, listener) -} +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js") -/** - * Set headers contained in array on the response object. - * - * @param {object} res - * @param {array} headers - * @private - */ +// Produce Request on or after v1 indicates the client can parse the quota throttle time +// in the Produce Response. -function setHeadersFromArray (res, headers) { - for (var i = 0; i < headers.length; i++) { - res.setHeader(headers[i][0], headers[i][1]) - } +module.exports = ({ acks, timeout, topicData }) => { + return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 }) } -/** - * Set headers contained in object on the response object. - * - * @param {object} res - * @param {object} headers - * @private - */ -function setHeadersFromObject (res, headers) { - var keys = Object.keys(headers) - for (var i = 0; i < keys.length; i++) { - var k = keys[i] - if (k) res.setHeader(k, headers[k]) - } -} +/***/ }), -/** - * Set headers and other properties on the response object. - * - * @param {number} statusCode - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 35:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function setWriteHeadHeaders (statusCode) { - var length = arguments.length - var headerIndex = length > 1 && typeof arguments[1] === 'string' - ? 2 - : 1 +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") - var headers = length >= headerIndex + 1 - ? arguments[headerIndex] - : undefined +/** + * v1 (supported in 0.9.0 or later) + * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime + * TopicName => string + * Partition => int32 + * ErrorCode => int16 + * Offset => int64 + * ThrottleTime => int32 + */ - this.statusCode = statusCode +const partition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + offset: decoder.readInt64().toString(), +}) - if (Array.isArray(headers)) { - // handle array case - setHeadersFromArray(this, headers) - } else if (headers) { - // handle object case - setHeadersFromObject(this, headers) - } +const decode = async rawData => { + const decoder = new Decoder(rawData) + const topics = decoder.readArray(decoder => ({ + topicName: decoder.readString(), + partitions: decoder.readArray(partition), + })) - // copy leading arguments - var args = new Array(Math.min(length, headerIndex)) - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i] + const throttleTime = decoder.readInt32() + + return { + topics, + throttleTime, } +} - return args +module.exports = { + decode, + parse: parseV0, } /***/ }), -/***/ "./node_modules/parseurl/index.js": -/*!****************************************!*\ - !*** ./node_modules/parseurl/index.js ***! - \****************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js ***! + \**************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * parseurl - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed - */ - +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const MessageSet = __webpack_require__(/*! ../../../messageSet */ "./node_modules/kafkajs/src/protocol/messageSet/index.js") +const { Types, lookupCodec } = __webpack_require__(/*! ../../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +// Produce Request on or after v2 indicates the client can parse the timestamp field +// in the produce Response. -/** - * Module dependencies. - * @private - */ +module.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({ + apiKey, + apiVersion: 2, + apiName: 'Produce', + expectResponse: () => acks !== 0, + encode: async () => { + const encodeTopic = topicEncoder(compression) + const encodedTopicData = [] -var url = __webpack_require__(/*! url */ "url") -var parse = url.parse -var Url = url.Url + for (const data of topicData) { + encodedTopicData.push(await encodeTopic(data)) + } -/** - * Module exports. - * @public - */ + return new Encoder() + .writeInt16(acks) + .writeInt32(timeout) + .writeArray(encodedTopicData) + }, +}) -module.exports = parseurl -module.exports.original = originalurl +const topicEncoder = compression => { + const encodePartitions = partitionsEncoder(compression) -/** - * Parse the `req` url with memoization. - * - * @param {ServerRequest} req - * @return {Object} - * @public - */ + return async ({ topic, partitions }) => { + const encodedPartitions = [] -function parseurl (req) { - var url = req.url + for (const data of partitions) { + encodedPartitions.push(await encodePartitions(data)) + } - if (url === undefined) { - // URL is undefined - return undefined + return new Encoder().writeString(topic).writeArray(encodedPartitions) } +} - var parsed = req._parsedUrl +const partitionsEncoder = compression => async ({ partition, messages }) => { + const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages }) - if (fresh(url, parsed)) { - // Return cached URL parse - return parsed + if (compression === Types.None) { + return new Encoder() + .writeInt32(partition) + .writeInt32(messageSet.size()) + .writeEncoder(messageSet) } - // Parse the URL - parsed = fastparse(url) - parsed._raw = url - - return (req._parsedUrl = parsed) -}; - -/** - * Parse the `req` original url with fallback and memoization. - * - * @param {ServerRequest} req - * @return {Object} - * @public - */ + const timestamp = messages[0].timestamp || Date.now() -function originalurl (req) { - var url = req.originalUrl + const codec = lookupCodec(compression) + const compressedValue = await codec.compress(messageSet) + const compressedMessageSet = MessageSet({ + messageVersion: 1, + entries: [{ compression, timestamp, value: compressedValue }], + }) - if (typeof url !== 'string') { - // Fallback - return parseurl(req) - } + return new Encoder() + .writeInt32(partition) + .writeInt32(compressedMessageSet.size()) + .writeEncoder(compressedMessageSet) +} - var parsed = req._parsedOriginalUrl - if (fresh(url, parsed)) { - // Return cached URL parse - return parsed - } +/***/ }), - // Parse the URL - parsed = fastparse(url) - parsed._raw = url +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 37:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return (req._parsedOriginalUrl = parsed) -}; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js") /** - * Parse the `str` url with fast-path short-cut. - * - * @param {string} str - * @return {Object} - * @private + * v2 (supported in 0.10.0 or later) + * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime + * TopicName => string + * Partition => int32 + * ErrorCode => int16 + * Offset => int64 + * Timestamp => int64 + * ThrottleTime => int32 */ -function fastparse (str) { - if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) { - return parse(str) - } - - var pathname = str - var query = null - var search = null - - // This takes the regexp from https://github.com/joyent/node/pull/7878 - // Which is /^(\/[^?#\s]*)(\?[^#\s]*)?$/ - // And unrolls it into a for loop - for (var i = 1; i < str.length; i++) { - switch (str.charCodeAt(i)) { - case 0x3f: /* ? */ - if (search === null) { - pathname = str.substring(0, i) - query = str.substring(i + 1) - search = str.substring(i) - } - break - case 0x09: /* \t */ - case 0x0a: /* \n */ - case 0x0c: /* \f */ - case 0x0d: /* \r */ - case 0x20: /* */ - case 0x23: /* # */ - case 0xa0: - case 0xfeff: - return parse(str) - } - } +const partition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + offset: decoder.readInt64().toString(), + timestamp: decoder.readInt64().toString(), +}) - var url = Url !== undefined - ? new Url() - : {} +const decode = async rawData => { + const decoder = new Decoder(rawData) + const topics = decoder.readArray(decoder => ({ + topicName: decoder.readString(), + partitions: decoder.readArray(partition), + })) - url.path = str - url.href = str - url.pathname = pathname + const throttleTime = decoder.readInt32() - if (search !== null) { - url.query = query - url.search = search + return { + topics, + throttleTime, } - - return url } -/** - * Determine if parsed is still fresh for url. - * - * @param {string} url - * @param {object} parsedUrl - * @return {boolean} - * @private - */ - -function fresh (url, parsedUrl) { - return typeof parsedUrl === 'object' && - parsedUrl !== null && - (Url === undefined || parsedUrl instanceof Url) && - parsedUrl._raw === url +module.exports = { + decode, + parse: parseV0, } /***/ }), -/***/ "./node_modules/path-to-regexp/index.js": -/*!**********************************************!*\ - !*** ./node_modules/path-to-regexp/index.js ***! - \**********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js ***! + \**************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ -/***/ ((module) => { - -/** - * Expose `pathtoRegexp`. - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 27:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = pathtoRegexp; +const Long = __webpack_require__(/*! ../../../../utils/long */ "./node_modules/kafkajs/src/utils/long.js") +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { Produce: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") +const { Types } = __webpack_require__(/*! ../../../message/compression */ "./node_modules/kafkajs/src/protocol/message/compression/index.js") +const Record = __webpack_require__(/*! ../../../recordBatch/record/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js") +const { RecordBatch } = __webpack_require__(/*! ../../../recordBatch/v0 */ "./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js") /** - * Match matching groups in a regular expression. + * Produce Request (Version: 3) => transactional_id acks timeout [topic_data] + * transactional_id => NULLABLE_STRING + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set + * partition => INT32 + * record_set => RECORDS */ -var MATCHING_GROUP_REGEXP = /\((?!\?)/g; /** - * Normalize the given path string, - * returning a regular expression. - * - * An empty array should be passed, - * which will contain the placeholder - * key names. For example "/user/:id" will - * then contain ["id"]. - * - * @param {String|RegExp|Array} path - * @param {Array} keys - * @param {Object} options - * @return {RegExp} - * @api private + * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional + * @param acks {Integer} See producer request v0 + * @param timeout {Integer} See producer request v0 + * @param [compression=CompressionTypes.None] {CompressionTypes} + * @param topicData {Array} */ +module.exports = ({ + acks, + timeout, + transactionalId = null, + producerId = Long.fromInt(-1), + producerEpoch = 0, + compression = Types.None, + topicData, +}) => ({ + apiKey, + apiVersion: 3, + apiName: 'Produce', + expectResponse: () => acks !== 0, + encode: async () => { + const encodeTopic = topicEncoder(compression) + const encodedTopicData = [] -function pathtoRegexp(path, keys, options) { - options = options || {}; - keys = keys || []; - var strict = options.strict; - var end = options.end !== false; - var flags = options.sensitive ? '' : 'i'; - var extraOffset = 0; - var keysOffset = keys.length; - var i = 0; - var name = 0; - var m; - - if (path instanceof RegExp) { - while (m = MATCHING_GROUP_REGEXP.exec(path.source)) { - keys.push({ - name: name++, - optional: false, - offset: m.index - }); + for (const data of topicData) { + encodedTopicData.push( + await encodeTopic({ ...data, transactionalId, producerId, producerEpoch }) + ) } - return path; - } + return new Encoder() + .writeString(transactionalId) + .writeInt16(acks) + .writeInt32(timeout) + .writeArray(encodedTopicData) + }, +}) - if (Array.isArray(path)) { - // Map array parts into regexps and return their source. We also pass - // the same keys and options instance into every generation to get - // consistent matching groups before we join the sources together. - path = path.map(function (value) { - return pathtoRegexp(value, keys, options).source; - }); +const topicEncoder = compression => async ({ + topic, + partitions, + transactionalId, + producerId, + producerEpoch, +}) => { + const encodePartitions = partitionsEncoder(compression) + const encodedPartitions = [] - return new RegExp('(?:' + path.join('|') + ')', flags); + for (const data of partitions) { + encodedPartitions.push( + await encodePartitions({ ...data, transactionalId, producerId, producerEpoch }) + ) } - path = ('^' + path + (strict ? '' : path[path.length - 1] === '/' ? '?' : '/?')) - .replace(/\/\(/g, '/(?:') - .replace(/([\/\.])/g, '\\$1') - .replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function (match, slash, format, key, capture, star, optional, offset) { - slash = slash || ''; - format = format || ''; - capture = capture || '([^\\/' + format + ']+?)'; - optional = optional || ''; - - keys.push({ - name: key, - optional: !!optional, - offset: offset + extraOffset - }); + return new Encoder().writeString(topic).writeArray(encodedPartitions) +} - var result = '' - + (optional ? '' : slash) - + '(?:' - + format + (optional ? slash : '') + capture - + (star ? '((?:[\\/' + format + '].+?)?)' : '') - + ')' - + optional; +const partitionsEncoder = compression => async ({ + partition, + messages, + transactionalId, + firstSequence, + producerId, + producerEpoch, +}) => { + const dateNow = Date.now() + const messageTimestamps = messages + .map(m => m.timestamp) + .filter(timestamp => timestamp != null) + .sort() - extraOffset += result.length - match.length; + const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps + const firstTimestamp = timestamps[0] + const maxTimestamp = timestamps[timestamps.length - 1] - return result; + const records = messages.map((message, i) => + Record({ + ...message, + offsetDelta: i, + timestampDelta: (message.timestamp || dateNow) - firstTimestamp, }) - .replace(/\*/g, function (star, index) { - var len = keys.length - - while (len-- > keysOffset && keys[len].offset > index) { - keys[len].offset += 3; // Replacement length minus asterisk length. - } - - return '(.*)'; - }); - - // This is a workaround for handling unnamed matching groups. - while (m = MATCHING_GROUP_REGEXP.exec(path)) { - var escapeCount = 0; - var index = m.index; - - while (path.charAt(--index) === '\\') { - escapeCount++; - } - - // It's possible to escape the bracket. - if (escapeCount % 2 === 1) { - continue; - } - - if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) { - keys.splice(keysOffset + i, 0, { - name: name++, // Unnamed matching groups must be consistently linear. - optional: false, - offset: m.index - }); - } - - i++; - } + ) - // If the path is non-ending, match until the end or a slash. - path += (end ? '$' : (path[path.length - 1] === '/' ? '' : '(?=\\/|$)')); + const recordBatch = await RecordBatch({ + compression, + records, + firstTimestamp, + maxTimestamp, + producerId, + producerEpoch, + firstSequence, + transactional: !!transactionalId, + lastOffsetDelta: records.length - 1, + }) - return new RegExp(path, flags); -}; + return new Encoder() + .writeInt32(partition) + .writeInt32(recordBatch.size()) + .writeEncoder(recordBatch) +} /***/ }), -/***/ "./node_modules/proxy-addr/index.js": -/*!******************************************!*\ - !*** ./node_modules/proxy-addr/index.js ***! - \******************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 53:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * proxy-addr - * Copyright(c) 2014-2016 Douglas Christopher Wilson - * MIT Licensed - */ - - +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const flatten = __webpack_require__(/*! ../../../../utils/flatten */ "./node_modules/kafkajs/src/utils/flatten.js") /** - * Module exports. - * @public + * Produce Response (Version: 3) => [responses] throttle_time_ms + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code base_offset log_append_time + * partition => INT32 + * error_code => INT16 + * base_offset => INT64 + * log_append_time => INT64 + * throttle_time_ms => INT32 */ -module.exports = proxyaddr -module.exports.all = alladdrs -module.exports.compile = compile +const partition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + baseOffset: decoder.readInt64().toString(), + logAppendTime: decoder.readInt64().toString(), +}) -/** - * Module dependencies. - * @private - */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const topics = decoder.readArray(decoder => ({ + topicName: decoder.readString(), + partitions: decoder.readArray(partition), + })) -var forwarded = __webpack_require__(/*! forwarded */ "./node_modules/forwarded/index.js") -var ipaddr = __webpack_require__(/*! ipaddr.js */ "./node_modules/ipaddr.js/lib/ipaddr.js") + const throttleTime = decoder.readInt32() -/** - * Variables. - * @private - */ + return { + topics, + throttleTime, + } +} -var DIGIT_REGEXP = /^[0-9]+$/ -var isip = ipaddr.isValid -var parseip = ipaddr.parse +const parse = async data => { + const partitionsWithError = data.topics.map(response => { + return response.partitions.filter(partition => failure(partition.errorCode)) + }) -/** - * Pre-defined IP ranges. - * @private - */ + const errors = flatten(partitionsWithError) + if (errors.length > 0) { + const { errorCode } = errors[0] + throw createErrorFromCode(errorCode) + } -var IP_RANGES = { - linklocal: ['169.254.0.0/16', 'fe80::/10'], - loopback: ['127.0.0.1/8', '::1/128'], - uniquelocal: ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', 'fc00::/7'] + return data } -/** - * Get all addresses in the request, optionally stopping - * at the first untrusted. - * - * @param {Object} request - * @param {Function|Array|String} [trust] - * @public - */ - -function alladdrs (req, trust) { - // get addresses - var addrs = forwarded(req) - - if (!trust) { - // Return all addresses - return addrs - } +module.exports = { + decode, + parse, +} - if (typeof trust !== 'function') { - trust = compile(trust) - } - for (var i = 0; i < addrs.length - 1; i++) { - if (trust(addrs[i], i)) continue +/***/ }), - addrs.length = i + 1 - } +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return addrs -} +const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") /** - * Compile argument into trust function. - * - * @param {Array|String} val - * @private + * Produce Request (Version: 4) => transactional_id acks timeout [topic_data] + * transactional_id => NULLABLE_STRING + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set + * partition => INT32 + * record_set => RECORDS */ -function compile (val) { - if (!val) { - throw new TypeError('argument is required') - } - - var trust - - if (typeof val === 'string') { - trust = [val] - } else if (Array.isArray(val)) { - trust = val.slice() - } else { - throw new TypeError('unsupported trust argument') - } +module.exports = ({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, +}) => + Object.assign( + requestV3({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, + }), + { apiVersion: 4 } + ) - for (var i = 0; i < trust.length; i++) { - val = trust[i] - if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) { - continue - } +/***/ }), - // Splice in pre-defined range - val = IP_RANGES[val] - trust.splice.apply(trust, [i, 1].concat(val)) - i += val.length - 1 - } +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return compileTrust(compileRangeSubnets(trust)) -} +const { decode, parse } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") /** - * Compile `arr` elements into range subnets. - * - * @param {Array} arr - * @private + * Produce Response (Version: 4) => [responses] throttle_time_ms + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code base_offset log_append_time + * partition => INT32 + * error_code => INT16 + * base_offset => INT64 + * log_append_time => INT64 + * throttle_time_ms => INT32 */ -function compileRangeSubnets (arr) { - var rangeSubnets = new Array(arr.length) +module.exports = { + decode, + parse, +} - for (var i = 0; i < arr.length; i++) { - rangeSubnets[i] = parseipNotation(arr[i]) - } - return rangeSubnets -} +/***/ }), -/** - * Compile range subnet array into trust function. - * - * @param {Array} rangeSubnets - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function compileTrust (rangeSubnets) { - // Return optimized function based on length - var len = rangeSubnets.length - return len === 0 - ? trustNone - : len === 1 - ? trustSingle(rangeSubnets[0]) - : trustMulti(rangeSubnets) -} +const requestV3 = __webpack_require__(/*! ../v3/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js") /** - * Parse IP notation string into range subnet. - * - * @param {String} note - * @private + * Produce Request (Version: 5) => transactional_id acks timeout [topic_data] + * transactional_id => NULLABLE_STRING + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set + * partition => INT32 + * record_set => RECORDS */ -function parseipNotation (note) { - var pos = note.lastIndexOf('/') - var str = pos !== -1 - ? note.substring(0, pos) - : note - - if (!isip(str)) { - throw new TypeError('invalid IP address: ' + str) - } - - var ip = parseip(str) - - if (pos === -1 && ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) { - // Store as IPv4 - ip = ip.toIPv4Address() - } - - var max = ip.kind() === 'ipv6' - ? 128 - : 32 +module.exports = ({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, +}) => + Object.assign( + requestV3({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, + }), + { apiVersion: 5 } + ) - var range = pos !== -1 - ? note.substring(pos + 1, note.length) - : null - if (range === null) { - range = max - } else if (DIGIT_REGEXP.test(range)) { - range = parseInt(range, 10) - } else if (ip.kind() === 'ipv4' && isip(range)) { - range = parseNetmask(range) - } else { - range = null - } +/***/ }), - if (range <= 0 || range > max) { - throw new TypeError('invalid range on address: ' + note) - } +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 40:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return [ip, range] -} +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { parse: parseV3 } = __webpack_require__(/*! ../v3/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js") /** - * Parse netmask string into CIDR range. - * - * @param {String} netmask - * @private + * Produce Response (Version: 5) => [responses] throttle_time_ms + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code base_offset log_append_time log_start_offset + * partition => INT32 + * error_code => INT16 + * base_offset => INT64 + * log_append_time => INT64 + * log_start_offset => INT64 + * throttle_time_ms => INT32 */ -function parseNetmask (netmask) { - var ip = parseip(netmask) - var kind = ip.kind() +const partition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), + baseOffset: decoder.readInt64().toString(), + logAppendTime: decoder.readInt64().toString(), + logStartOffset: decoder.readInt64().toString(), +}) - return kind === 'ipv4' - ? ip.prefixLengthFromSubnetMask() - : null -} +const decode = async rawData => { + const decoder = new Decoder(rawData) + const topics = decoder.readArray(decoder => ({ + topicName: decoder.readString(), + partitions: decoder.readArray(partition), + })) -/** - * Determine address of proxied request. - * - * @param {Object} request - * @param {Function|Array|String} trust - * @public - */ + const throttleTime = decoder.readInt32() -function proxyaddr (req, trust) { - if (!req) { - throw new TypeError('req argument is required') + return { + topics, + throttleTime, } +} - if (!trust) { - throw new TypeError('trust argument is required') - } +module.exports = { + decode, + parse: parseV3, +} - var addrs = alladdrs(req, trust) - var addr = addrs[addrs.length - 1] - return addr -} +/***/ }), -/** - * Static trust function to trust nothing. - * - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js ***! + \**************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function trustNone () { - return false -} +const requestV5 = __webpack_require__(/*! ../v5/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js") /** - * Compile trust function for multiple subnets. + * The version number is bumped to indicate that on quota violation brokers send out responses before throttling. + * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117 * - * @param {Array} subnets - * @private + * Produce Request (Version: 6) => transactional_id acks timeout [topic_data] + * transactional_id => NULLABLE_STRING + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set + * partition => INT32 + * record_set => RECORDS */ -function trustMulti (subnets) { - return function trust (addr) { - if (!isip(addr)) return false - - var ip = parseip(addr) - var ipconv - var kind = ip.kind() - - for (var i = 0; i < subnets.length; i++) { - var subnet = subnets[i] - var subnetip = subnet[0] - var subnetkind = subnetip.kind() - var subnetrange = subnet[1] - var trusted = ip - - if (kind !== subnetkind) { - if (subnetkind === 'ipv4' && !ip.isIPv4MappedAddress()) { - // Incompatible IP addresses - continue - } +module.exports = ({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, +}) => + Object.assign( + requestV5({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, + }), + { apiVersion: 6 } + ) - if (!ipconv) { - // Convert IP to match subnet IP kind - ipconv = subnetkind === 'ipv4' - ? ip.toIPv4Address() - : ip.toIPv4MappedAddress() - } - trusted = ipconv - } +/***/ }), - if (trusted.match(subnetip, subnetrange)) { - return true - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 29:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return false - } -} +const { parse, decode: decodeV5 } = __webpack_require__(/*! ../v5/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js") /** - * Compile trust function for single subnet. + * The version number is bumped to indicate that on quota violation brokers send out responses before throttling. + * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156 * - * @param {Object} subnet - * @private + * Produce Response (Version: 6) => [responses] throttle_time_ms + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code base_offset log_append_time log_start_offset + * partition => INT32 + * error_code => INT16 + * base_offset => INT64 + * log_append_time => INT64 + * log_start_offset => INT64 + * throttle_time_ms => INT32 */ -function trustSingle (subnet) { - var subnetip = subnet[0] - var subnetkind = subnetip.kind() - var subnetisipv4 = subnetkind === 'ipv4' - var subnetrange = subnet[1] - - return function trust (addr) { - if (!isip(addr)) return false - - var ip = parseip(addr) - var kind = ip.kind() - - if (kind !== subnetkind) { - if (subnetisipv4 && !ip.isIPv4MappedAddress()) { - // Incompatible IP addresses - return false - } - - // Convert IP to match subnet IP kind - ip = subnetisipv4 - ? ip.toIPv4Address() - : ip.toIPv4MappedAddress() - } +const decode = async rawData => { + const decoded = await decodeV5(rawData) - return ip.match(subnetip, subnetrange) + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } } +module.exports = { + decode, + parse, +} + /***/ }), -/***/ "./node_modules/qs/lib/formats.js": -/*!****************************************!*\ - !*** ./node_modules/qs/lib/formats.js ***! - \****************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js": +/*!**************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js ***! + \**************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ -/***/ ((module) => { - -"use strict"; - +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var replace = String.prototype.replace; -var percentTwenties = /%20/g; +const requestV6 = __webpack_require__(/*! ../v6/request */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js") -var Format = { - RFC1738: 'RFC1738', - RFC3986: 'RFC3986' -}; +/** + * V7 indicates ZStandard capability (see KIP-110) + * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121 + * + * Produce Request (Version: 7) => transactional_id acks timeout [topic_data] + * transactional_id => NULLABLE_STRING + * acks => INT16 + * timeout => INT32 + * topic_data => topic [data] + * topic => STRING + * data => partition record_set + * partition => INT32 + * record_set => RECORDS + */ -module.exports = { - 'default': Format.RFC3986, - formatters: { - RFC1738: function (value) { - return replace.call(value, percentTwenties, '+'); - }, - RFC3986: function (value) { - return String(value); - } - }, - RFC1738: Format.RFC1738, - RFC3986: Format.RFC3986 -}; +module.exports = ({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, +}) => + Object.assign( + requestV6({ + acks, + timeout, + transactionalId, + producerId, + producerEpoch, + compression, + topicData, + }), + { apiVersion: 7 } + ) /***/ }), -/***/ "./node_modules/qs/lib/index.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/index.js ***! - \**************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js ***! + \***************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 16:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - +const { decode, parse } = __webpack_require__(/*! ../v6/response */ "./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js") -var stringify = __webpack_require__(/*! ./stringify */ "./node_modules/qs/lib/stringify.js"); -var parse = __webpack_require__(/*! ./parse */ "./node_modules/qs/lib/parse.js"); -var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); +/** + * Produce Response (Version: 7) => [responses] throttle_time_ms + * responses => topic [partition_responses] + * topic => STRING + * partition_responses => partition error_code base_offset log_append_time log_start_offset + * partition => INT32 + * error_code => INT16 + * base_offset => INT64 + * log_append_time => INT64 + * log_start_offset => INT64 + * throttle_time_ms => INT32 + */ module.exports = { - formats: formats, - parse: parse, - stringify: stringify -}; + decode, + parse, +} /***/ }), -/***/ "./node_modules/qs/lib/parse.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/parse.js ***! - \**************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js ***! + \******************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 239:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +const versions = { + 0: ({ authBytes }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js") + return { request: request({ authBytes }), response } + }, + 1: ({ authBytes }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js") + return { request: request({ authBytes }), response } + }, +} +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} -var utils = __webpack_require__(/*! ./utils */ "./node_modules/qs/lib/utils.js"); -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; +/***/ }), -var defaults = { - allowDots: false, - allowPrototypes: false, - allowSparse: false, - arrayLimit: 20, - charset: 'utf-8', - charsetSentinel: false, - comma: false, - decoder: utils.decode, - delimiter: '&', - depth: 5, - ignoreQueryPrefix: false, - interpretNumericEntities: false, - parameterLimit: 1000, - parseArrays: true, - plainObjects: false, - strictNullHandling: false -}; +/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var interpretNumericEntities = function (str) { - return str.replace(/&#(\d+);/g, function ($0, numberStr) { - return String.fromCharCode(parseInt(numberStr, 10)); - }); -}; +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { SaslAuthenticate: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") -var parseArrayValue = function (val, options) { - if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { - return val.split(','); - } +/** + * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes + * sasl_auth_bytes => BYTES + */ - return val; -}; +/** + * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism + */ +module.exports = ({ authBytes }) => ({ + apiKey, + apiVersion: 0, + apiName: 'SaslAuthenticate', + encode: async () => { + return new Encoder().writeBuffer(authBytes) + }, +}) -// This is what browsers will submit when the ✓ character occurs in an -// application/x-www-form-urlencoded body and the encoding of the page containing -// the form is iso-8859-1, or when the submitted form has an accept-charset -// attribute of iso-8859-1. Presumably also with other charsets that do not contain -// the ✓ character, such as us-ascii. -var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') - -// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. -var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') - -var parseValues = function parseQueryStringValues(str, options) { - var obj = {}; - var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; - var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; - var parts = cleanStr.split(options.delimiter, limit); - var skipIndex = -1; // Keep track of where the utf8 sentinel was found - var i; - var charset = options.charset; - if (options.charsetSentinel) { - for (i = 0; i < parts.length; ++i) { - if (parts[i].indexOf('utf8=') === 0) { - if (parts[i] === charsetSentinel) { - charset = 'utf-8'; - } else if (parts[i] === isoSentinel) { - charset = 'iso-8859-1'; - } - skipIndex = i; - i = parts.length; // The eslint settings do not allow break; - } - } - } +/***/ }), - for (i = 0; i < parts.length; ++i) { - if (i === skipIndex) { - continue; - } - var part = parts[i]; +/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js": +/*!************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js ***! + \************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 56:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var bracketEqualsPos = part.indexOf(']='); - var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { + failure, + createErrorFromCode, + failIfVersionNotSupported, + errorCodes, +} = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - var key, val; - if (pos === -1) { - key = options.decoder(part, defaults.decoder, charset, 'key'); - val = options.strictNullHandling ? null : ''; - } else { - key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); - val = utils.maybeMap( - parseArrayValue(part.slice(pos + 1), options), - function (encodedVal) { - return options.decoder(encodedVal, defaults.decoder, charset, 'value'); - } - ); - } +const { KafkaJSProtocolError } = __webpack_require__(/*! ../../../../errors */ "./node_modules/kafkajs/src/errors.js") +const SASL_AUTHENTICATION_FAILED = 58 +const protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED) - if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { - val = interpretNumericEntities(val); - } +/** + * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes + * error_code => INT16 + * error_message => NULLABLE_STRING + * sasl_auth_bytes => BYTES + */ - if (part.indexOf('[]=') > -1) { - val = isArray(val) ? [val] : val; - } +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() - if (has.call(obj, key)) { - obj[key] = utils.combine(obj[key], val); - } else { - obj[key] = val; - } - } + failIfVersionNotSupported(errorCode) + const errorMessage = decoder.readString() - return obj; -}; + // This is necessary to make the response compatible with the original + // mechanism protocols. They expect a byte response, which starts with + // the size + const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes()) + const authBytes = authBytesEncoder.buffer -var parseObject = function (chain, val, options, valuesParsed) { - var leaf = valuesParsed ? val : parseArrayValue(val, options); + return { + errorCode, + errorMessage, + authBytes, + } +} - for (var i = chain.length - 1; i >= 0; --i) { - var obj; - var root = chain[i]; +const parse = async data => { + if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) { + throw new KafkaJSProtocolError({ + ...protocolAuthError, + message: data.errorMessage, + }) + } - if (root === '[]' && options.parseArrays) { - obj = [].concat(leaf); - } else { - obj = options.plainObjects ? Object.create(null) : {}; - var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; - var index = parseInt(cleanRoot, 10); - if (!options.parseArrays && cleanRoot === '') { - obj = { 0: leaf }; - } else if ( - !isNaN(index) - && root !== cleanRoot - && String(index) === cleanRoot - && index >= 0 - && (options.parseArrays && index <= options.arrayLimit) - ) { - obj = []; - obj[index] = leaf; - } else if (cleanRoot !== '__proto__') { - obj[cleanRoot] = leaf; - } - } + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } - leaf = obj; - } + return data +} - return leaf; -}; +module.exports = { + decode, + parse, +} -var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { - if (!givenKey) { - return; - } - // Transform dot notation to bracket notation - var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; +/***/ }), - // The regex chunks +/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var brackets = /(\[[^[\]]*])/; - var child = /(\[[^[\]]*])/g; +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js") - // Get the parent +/** + * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes + * sasl_auth_bytes => BYTES + */ - var segment = options.depth > 0 && brackets.exec(key); - var parent = segment ? key.slice(0, segment.index) : key; +/** + * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism + */ +module.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 }) - // Stash the parent if it exists - var keys = []; - if (parent) { - // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties - if (!options.plainObjects && has.call(Object.prototype, parent)) { - if (!options.allowPrototypes) { - return; - } - } +/***/ }), - keys.push(parent); - } +/***/ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js": +/*!************************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js ***! + \************************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 34:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // Loop through children appending to the array until we hit depth +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") - var i = 0; - while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { - i += 1; - if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { - if (!options.allowPrototypes) { - return; - } - } - keys.push(segment[1]); - } +/** + * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes + * error_code => INT16 + * error_message => NULLABLE_STRING + * sasl_auth_bytes => BYTES + * session_lifetime_ms => INT64 + */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() - // If there's a remainder, just add whatever is left + failIfVersionNotSupported(errorCode) + const errorMessage = decoder.readString() - if (segment) { - keys.push('[' + key.slice(segment.index) + ']'); - } + // This is necessary to make the response compatible with the original + // mechanism protocols. They expect a byte response, which starts with + // the size + const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes()) + const authBytes = authBytesEncoder.buffer + const sessionLifetimeMs = decoder.readInt64().toString() - return parseObject(keys, val, options, valuesParsed); -}; + return { + errorCode, + errorMessage, + authBytes, + sessionLifetimeMs, + } +} +module.exports = { + decode, + parse: parseV0, +} -var normalizeParseOptions = function normalizeParseOptions(opts) { - if (!opts) { - return defaults; - } - if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { - throw new TypeError('Decoder has to be a function.'); - } +/***/ }), - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; +/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js": +/*!***************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js ***! + \***************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return { - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, - allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, - arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, - decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, - delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, - // eslint-disable-next-line no-implicit-coercion, no-extra-parens - depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, - ignoreQueryPrefix: opts.ignoreQueryPrefix === true, - interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, - parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, - parseArrays: opts.parseArrays !== false, - plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; +const versions = { + 0: ({ mechanism }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js") + return { request: request({ mechanism }), response } + }, + 1: ({ mechanism }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js") + return { request: request({ mechanism }), response } + }, +} -module.exports = function (str, opts) { - var options = normalizeParseOptions(opts); +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} - if (str === '' || str === null || typeof str === 'undefined') { - return options.plainObjects ? Object.create(null) : {}; - } - var tempObj = typeof str === 'string' ? parseValues(str, options) : str; - var obj = options.plainObjects ? Object.create(null) : {}; +/***/ }), - // Iterate over the keys and setup the new object +/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var keys = Object.keys(tempObj); - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); - obj = utils.merge(obj, newObj, options); - } +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { SaslHandshake: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - if (options.allowSparse === true) { - return obj; - } +/** + * SaslHandshake Request (Version: 0) => mechanism + * mechanism => STRING + */ - return utils.compact(obj); -}; +/** + * @param {string} mechanism - SASL Mechanism chosen by the client + */ +module.exports = ({ mechanism }) => ({ + apiKey, + apiVersion: 0, + apiName: 'SaslHandshake', + encode: async () => new Encoder().writeString(mechanism), +}) /***/ }), -/***/ "./node_modules/qs/lib/stringify.js": -/*!******************************************!*\ - !*** ./node_modules/qs/lib/stringify.js ***! - \******************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js ***! + \*********************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 241:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; - - -var getSideChannel = __webpack_require__(/*! side-channel */ "./node_modules/side-channel/index.js"); -var utils = __webpack_require__(/*! ./utils */ "./node_modules/qs/lib/utils.js"); -var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); -var has = Object.prototype.hasOwnProperty; - -var arrayPrefixGenerators = { - brackets: function brackets(prefix) { - return prefix + '[]'; - }, - comma: 'comma', - indices: function indices(prefix, key) { - return prefix + '[' + key + ']'; - }, - repeat: function repeat(prefix) { - return prefix; - } -}; - -var isArray = Array.isArray; -var split = String.prototype.split; -var push = Array.prototype.push; -var pushToArray = function (arr, valueOrArray) { - push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); -}; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") -var toISO = Date.prototype.toISOString; +/** + * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms] + * error_code => INT16 + * enabled_mechanisms => STRING + */ -var defaultFormat = formats['default']; -var defaults = { - addQueryPrefix: false, - allowDots: false, - charset: 'utf-8', - charsetSentinel: false, - delimiter: '&', - encode: true, - encoder: utils.encode, - encodeValuesOnly: false, - format: defaultFormat, - formatter: formats.formatters[defaultFormat], - // deprecated - indices: false, - serializeDate: function serializeDate(date) { - return toISO.call(date); - }, - skipNulls: false, - strictNullHandling: false -}; +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() -var isNonNullishPrimitive = function isNonNullishPrimitive(v) { - return typeof v === 'string' - || typeof v === 'number' - || typeof v === 'boolean' - || typeof v === 'symbol' - || typeof v === 'bigint'; -}; + failIfVersionNotSupported(errorCode) -var sentinel = {}; - -var stringify = function stringify( - object, - prefix, - generateArrayPrefix, - commaRoundTrip, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - format, - formatter, - encodeValuesOnly, - charset, - sideChannel -) { - var obj = object; - - var tmpSc = sideChannel; - var step = 0; - var findFlag = false; - while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { - // Where object last appeared in the ref tree - var pos = tmpSc.get(object); - step += 1; - if (typeof pos !== 'undefined') { - if (pos === step) { - throw new RangeError('Cyclic object value'); - } else { - findFlag = true; // Break while - } - } - if (typeof tmpSc.get(sentinel) === 'undefined') { - step = 0; - } - } + return { + errorCode, + enabledMechanisms: decoder.readArray(decoder => decoder.readString()), + } +} - if (typeof filter === 'function') { - obj = filter(prefix, obj); - } else if (obj instanceof Date) { - obj = serializeDate(obj); - } else if (generateArrayPrefix === 'comma' && isArray(obj)) { - obj = utils.maybeMap(obj, function (value) { - if (value instanceof Date) { - return serializeDate(value); - } - return value; - }); - } +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } - if (obj === null) { - if (strictNullHandling) { - return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; - } + return data +} - obj = ''; - } +module.exports = { + decode, + parse, +} - if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { - if (encoder) { - var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); - if (generateArrayPrefix === 'comma' && encodeValuesOnly) { - var valuesArray = split.call(String(obj), ','); - var valuesJoined = ''; - for (var i = 0; i < valuesArray.length; ++i) { - valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format)); - } - return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined]; - } - return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; - } - return [formatter(prefix) + '=' + formatter(String(obj))]; - } - var values = []; +/***/ }), - if (typeof obj === 'undefined') { - return values; - } +/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js": +/*!********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js ***! + \********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var objKeys; - if (generateArrayPrefix === 'comma' && isArray(obj)) { - // we need to join elements in - objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; - } else if (isArray(filter)) { - objKeys = filter; - } else { - var keys = Object.keys(obj); - objKeys = sort ? keys.sort(sort) : keys; - } +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js") - var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix; +module.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 }) - for (var j = 0; j < objKeys.length; ++j) { - var key = objKeys[j]; - var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; - if (skipNulls && value === null) { - continue; - } +/***/ }), - var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix - : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']'); - - sideChannel.set(object, step); - var valueSideChannel = getSideChannel(); - valueSideChannel.set(sentinel, sideChannel); - pushToArray(values, stringify( - value, - keyPrefix, - generateArrayPrefix, - commaRoundTrip, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - format, - formatter, - encodeValuesOnly, - charset, - valueSideChannel - )); - } +/***/ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js": +/*!*********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js ***! + \*********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return values; -}; +const { decode: decodeV0, parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js") -var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { - if (!opts) { - return defaults; - } +module.exports = { + decode: decodeV0, + parse: parseV0, +} - if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { - throw new TypeError('Encoder has to be a function.'); - } - var charset = opts.charset || defaults.charset; - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } +/***/ }), - var format = formats['default']; - if (typeof opts.format !== 'undefined') { - if (!has.call(formats.formatters, opts.format)) { - throw new TypeError('Unknown format option provided.'); - } - format = opts.format; - } - var formatter = formats.formatters[format]; +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 36:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - var filter = defaults.filter; - if (typeof opts.filter === 'function' || isArray(opts.filter)) { - filter = opts.filter; +const versions = { + 0: ({ groupId, generationId, memberId, groupAssignment }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js") + return { + request: request({ groupId, generationId, memberId, groupAssignment }), + response, } - + }, + 1: ({ groupId, generationId, memberId, groupAssignment }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js") return { - addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, - encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, - encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, - encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, - filter: filter, - format: format, - formatter: formatter, - serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, - skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, - sort: typeof opts.sort === 'function' ? opts.sort : null, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; - -module.exports = function (object, opts) { - var obj = object; - var options = normalizeStringifyOptions(opts); - - var objKeys; - var filter; - - if (typeof options.filter === 'function') { - filter = options.filter; - obj = filter('', obj); - } else if (isArray(options.filter)) { - filter = options.filter; - objKeys = filter; + request: request({ groupId, generationId, memberId, groupAssignment }), + response, } - - var keys = []; - - if (typeof obj !== 'object' || obj === null) { - return ''; + }, + 2: ({ groupId, generationId, memberId, groupAssignment }) => { + const request = __webpack_require__(/*! ./v2/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js") + const response = __webpack_require__(/*! ./v2/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js") + return { + request: request({ groupId, generationId, memberId, groupAssignment }), + response, } - - var arrayFormat; - if (opts && opts.arrayFormat in arrayPrefixGenerators) { - arrayFormat = opts.arrayFormat; - } else if (opts && 'indices' in opts) { - arrayFormat = opts.indices ? 'indices' : 'repeat'; - } else { - arrayFormat = 'indices'; + }, + 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => { + const request = __webpack_require__(/*! ./v3/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js") + const response = __webpack_require__(/*! ./v3/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js") + return { + request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }), + response, } + }, +} - var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; - if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { - throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); - } - var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip; +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} - if (!objKeys) { - objKeys = Object.keys(obj); - } - if (options.sort) { - objKeys.sort(options.sort); - } +/***/ }), - var sideChannel = getSideChannel(); - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (options.skipNulls && obj[key] === null) { - continue; - } - pushToArray(keys, stringify( - obj[key], - key, - generateArrayPrefix, - commaRoundTrip, - options.strictNullHandling, - options.skipNulls, - options.encode ? options.encoder : null, - options.filter, - options.sort, - options.allowDots, - options.serializeDate, - options.format, - options.formatter, - options.encodeValuesOnly, - options.charset, - sideChannel - )); - } +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { SyncGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") - var joined = keys.join(options.delimiter); - var prefix = options.addQueryPrefix === true ? '?' : ''; +/** + * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * group_assignment => member_id member_assignment + * member_id => STRING + * member_assignment => BYTES + */ - if (options.charsetSentinel) { - if (options.charset === 'iso-8859-1') { - // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark - prefix += 'utf8=%26%2310003%3B&'; - } else { - // encodeURIComponent('✓') - prefix += 'utf8=%E2%9C%93&'; - } - } +module.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({ + apiKey, + apiVersion: 0, + apiName: 'SyncGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(generationId) + .writeString(memberId) + .writeArray(groupAssignment.map(encodeGroupAssignment)) + }, +}) - return joined.length > 0 ? prefix + joined : ''; -}; +const encodeGroupAssignment = ({ memberId, memberAssignment }) => { + return new Encoder().writeString(memberId).writeBytes(memberAssignment) +} /***/ }), -/***/ "./node_modules/qs/lib/utils.js": -/*!**************************************!*\ - !*** ./node_modules/qs/lib/utils.js ***! - \**************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js ***! + \*****************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 241:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 30:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode, failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +/** + * SyncGroup Response (Version: 0) => error_code member_assignment + * error_code => INT16 + * member_assignment => BYTES + */ -var formats = __webpack_require__(/*! ./formats */ "./node_modules/qs/lib/formats.js"); +const decode = async rawData => { + const decoder = new Decoder(rawData) + const errorCode = decoder.readInt16() -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; + failIfVersionNotSupported(errorCode) -var hexTable = (function () { - var array = []; - for (var i = 0; i < 256; ++i) { - array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); - } + return { + errorCode, + memberAssignment: decoder.readBytes(), + } +} - return array; -}()); +const parse = async data => { + if (failure(data.errorCode)) { + throw createErrorFromCode(data.errorCode) + } -var compactQueue = function compactQueue(queue) { - while (queue.length > 1) { - var item = queue.pop(); - var obj = item.obj[item.prop]; + return data +} - if (isArray(obj)) { - var compacted = []; +module.exports = { + decode, + parse, +} - for (var j = 0; j < obj.length; ++j) { - if (typeof obj[j] !== 'undefined') { - compacted.push(obj[j]); - } - } - item.obj[item.prop] = compacted; - } - } -}; +/***/ }), -var arrayToObject = function arrayToObject(source, options) { - var obj = options && options.plainObjects ? Object.create(null) : {}; - for (var i = 0; i < source.length; ++i) { - if (typeof source[i] !== 'undefined') { - obj[i] = source[i]; - } - } +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return obj; -}; +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js") -var merge = function merge(target, source, options) { - /* eslint no-param-reassign: 0 */ - if (!source) { - return target; - } +/** + * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * group_assignment => member_id member_assignment + * member_id => STRING + * member_assignment => BYTES + */ - if (typeof source !== 'object') { - if (isArray(target)) { - target.push(source); - } else if (target && typeof target === 'object') { - if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { - target[source] = true; - } - } else { - return [target, source]; - } +module.exports = ({ groupId, generationId, memberId, groupAssignment }) => + Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 }) - return target; - } - if (!target || typeof target !== 'object') { - return [target].concat(source); - } +/***/ }), - var mergeTarget = target; - if (isArray(target) && !isArray(source)) { - mergeTarget = arrayToObject(target, options); - } +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (isArray(target) && isArray(source)) { - source.forEach(function (item, i) { - if (has.call(target, i)) { - var targetItem = target[i]; - if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { - target[i] = merge(targetItem, item, options); - } else { - target.push(item); - } - } else { - target[i] = item; - } - }); - return target; - } +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failIfVersionNotSupported } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") +const { parse: parseV0 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js") - return Object.keys(source).reduce(function (acc, key) { - var value = source[key]; +/** + * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment + * throttle_time_ms => INT32 + * error_code => INT16 + * member_assignment => BYTES + */ - if (has.call(acc, key)) { - acc[key] = merge(acc[key], value, options); - } else { - acc[key] = value; - } - return acc; - }, mergeTarget); -}; +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const errorCode = decoder.readInt16() -var assign = function assignSingleSource(target, source) { - return Object.keys(source).reduce(function (acc, key) { - acc[key] = source[key]; - return acc; - }, target); -}; + failIfVersionNotSupported(errorCode) -var decode = function (str, decoder, charset) { - var strWithoutPlus = str.replace(/\+/g, ' '); - if (charset === 'iso-8859-1') { - // unescape never throws, no try...catch needed: - return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); - } - // utf-8 - try { - return decodeURIComponent(strWithoutPlus); - } catch (e) { - return strWithoutPlus; - } -}; + return { + throttleTime, + errorCode, + memberAssignment: decoder.readBytes(), + } +} -var encode = function encode(str, defaultEncoder, charset, kind, format) { - // This code was originally written by Brian White (mscdex) for the io.js core querystring library. - // It has been adapted here for stricter adherence to RFC 3986 - if (str.length === 0) { - return str; - } +module.exports = { + decode, + parse: parseV0, +} - var string = str; - if (typeof str === 'symbol') { - string = Symbol.prototype.toString.call(str); - } else if (typeof str !== 'string') { - string = String(str); - } - if (charset === 'iso-8859-1') { - return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { - return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; - }); - } +/***/ }), - var out = ''; - for (var i = 0; i < string.length; ++i) { - var c = string.charCodeAt(i); +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if ( - c === 0x2D // - - || c === 0x2E // . - || c === 0x5F // _ - || c === 0x7E // ~ - || (c >= 0x30 && c <= 0x39) // 0-9 - || (c >= 0x41 && c <= 0x5A) // a-z - || (c >= 0x61 && c <= 0x7A) // A-Z - || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) - ) { - out += string.charAt(i); - continue; - } +const requestV1 = __webpack_require__(/*! ../v1/request */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js") - if (c < 0x80) { - out = out + hexTable[c]; - continue; - } +/** + * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * group_assignment => member_id member_assignment + * member_id => STRING + * member_assignment => BYTES + */ - if (c < 0x800) { - out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } +module.exports = ({ groupId, generationId, memberId, groupAssignment }) => + Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 }) - if (c < 0xD800 || c >= 0xE000) { - out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } - i += 1; - c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); - /* eslint operator-linebreak: [2, "before"] */ - out += hexTable[0xF0 | (c >> 18)] - + hexTable[0x80 | ((c >> 12) & 0x3F)] - + hexTable[0x80 | ((c >> 6) & 0x3F)] - + hexTable[0x80 | (c & 0x3F)]; - } +/***/ }), - return out; -}; +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -var compact = function compact(value) { - var queue = [{ obj: { o: value }, prop: 'o' }]; - var refs = []; - - for (var i = 0; i < queue.length; ++i) { - var item = queue[i]; - var obj = item.obj[item.prop]; - - var keys = Object.keys(obj); - for (var j = 0; j < keys.length; ++j) { - var key = keys[j]; - var val = obj[key]; - if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { - queue.push({ obj: obj, prop: key }); - refs.push(val); - } - } - } +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v1/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js") - compactQueue(queue); +/** + * In version 2, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment + * throttle_time_ms => INT32 + * error_code => INT16 + * member_assignment => BYTES + */ - return value; -}; +const decode = async rawData => { + const decoded = await decodeV1(rawData) -var isRegExp = function isRegExp(obj) { - return Object.prototype.toString.call(obj) === '[object RegExp]'; -}; + return { + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, + } +} -var isBuffer = function isBuffer(obj) { - if (!obj || typeof obj !== 'object') { - return false; - } +module.exports = { + decode, + parse, +} - return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); -}; -var combine = function combine(a, b) { - return [].concat(a, b); -}; +/***/ }), -var maybeMap = function maybeMap(val, fn) { - if (isArray(val)) { - var mapped = []; - for (var i = 0; i < val.length; i += 1) { - mapped.push(fn(val[i])); - } - return mapped; - } - return fn(val); -}; +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js": +/*!****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js ***! + \****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { SyncGroup: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") + +/** + * Version 3 adds group_instance_id to indicate member identity across restarts. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances + * + * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment] + * group_id => STRING + * generation_id => INT32 + * member_id => STRING + * group_instance_id => NULLABLE_STRING + * group_assignment => member_id member_assignment + * member_id => STRING + * member_assignment => BYTES + */ + +module.exports = ({ + groupId, + generationId, + memberId, + groupInstanceId = null, + groupAssignment, +}) => ({ + apiKey, + apiVersion: 3, + apiName: 'SyncGroup', + encode: async () => { + return new Encoder() + .writeString(groupId) + .writeInt32(generationId) + .writeString(memberId) + .writeString(groupInstanceId) + .writeArray(groupAssignment.map(encodeGroupAssignment)) + }, +}) -module.exports = { - arrayToObject: arrayToObject, - assign: assign, - combine: combine, - compact: compact, - decode: decode, - encode: encode, - isBuffer: isBuffer, - isRegExp: isRegExp, - maybeMap: maybeMap, - merge: merge -}; +const encodeGroupAssignment = ({ memberId, memberAssignment }) => { + return new Encoder().writeString(memberId).writeBytes(memberAssignment) +} /***/ }), -/***/ "./node_modules/random-bytes/index.js": -/*!********************************************!*\ - !*** ./node_modules/random-bytes/index.js ***! - \********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js ***! + \*****************************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 28:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * random-bytes - * Copyright(c) 2016 Douglas Christopher Wilson - * MIT Licensed - */ - - +const { decode, parse } = __webpack_require__(/*! ../v2/response */ "./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js") /** - * Module dependencies. - * @private + * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment + * throttle_time_ms => INT32 + * error_code => INT16 + * member_assignment => BYTES */ +module.exports = { + decode, + parse, +} -var crypto = __webpack_require__(/*! crypto */ "crypto") - -/** - * Module variables. - * @private - */ -var generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3 +/***/ }), -/** - * Module exports. - * @public - */ +/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js ***! + \*****************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = randomBytes -module.exports.sync = randomBytesSync +const versions = { + 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => { + const request = __webpack_require__(/*! ./v0/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js") + const response = __webpack_require__(/*! ./v0/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js") + return { + request: request({ transactionalId, groupId, producerId, producerEpoch, topics }), + response, + } + }, + 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => { + const request = __webpack_require__(/*! ./v1/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js") + const response = __webpack_require__(/*! ./v1/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js") + return { + request: request({ transactionalId, groupId, producerId, producerEpoch, topics }), + response, + } + }, +} -/** - * Generates strong pseudo-random bytes. - * - * @param {number} size - * @param {function} [callback] - * @return {Promise} - * @public - */ +module.exports = { + versions: Object.keys(versions), + protocol: ({ version }) => versions[version], +} -function randomBytes(size, callback) { - // validate callback is a function, if provided - if (callback !== undefined && typeof callback !== 'function') { - throw new TypeError('argument callback must be a function') - } - // require the callback without promises - if (!callback && !global.Promise) { - throw new TypeError('argument callback is required') - } +/***/ }), - if (callback) { - // classic callback style - return generateRandomBytes(size, generateAttempts, callback) - } +/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 18:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return new Promise(function executor(resolve, reject) { - generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) { - if (err) return reject(err) - resolve(str) - }) - }) -} +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") +const { TxnOffsetCommit: apiKey } = __webpack_require__(/*! ../../apiKeys */ "./node_modules/kafkajs/src/protocol/requests/apiKeys.js") /** - * Generates strong pseudo-random bytes sync. - * - * @param {number} size - * @return {Buffer} - * @public + * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics] + * transactional_id => STRING + * group_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING */ -function randomBytesSync(size) { - var err = null - - for (var i = 0; i < generateAttempts; i++) { - try { - return crypto.randomBytes(size) - } catch (e) { - err = e - } - } +module.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({ + apiKey, + apiVersion: 0, + apiName: 'TxnOffsetCommit', + encode: async () => { + return new Encoder() + .writeString(transactionalId) + .writeString(groupId) + .writeInt64(producerId) + .writeInt16(producerEpoch) + .writeArray(topics.map(encodeTopic)) + }, +}) - throw err +const encodeTopic = ({ topic, partitions }) => { + return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition)) } -/** - * Generates strong pseudo-random bytes. - * - * @param {number} size - * @param {number} attempts - * @param {function} callback - * @private - */ - -function generateRandomBytes(size, attempts, callback) { - crypto.randomBytes(size, function onRandomBytes(err, buf) { - if (!err) return callback(null, buf) - if (!--attempts) return callback(err) - setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10) - }) +const encodePartition = ({ partition, offset, metadata }) => { + return new Encoder() + .writeInt32(partition) + .writeInt64(offset) + .writeString(metadata) } /***/ }), -/***/ "./node_modules/range-parser/index.js": -/*!********************************************!*\ - !*** ./node_modules/range-parser/index.js ***! - \********************************************/ +/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js ***! + \***********************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 15:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * range-parser - * Copyright(c) 2012-2014 TJ Holowaychuk - * Copyright(c) 2015-2016 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module exports. - * @public - */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -module.exports = rangeParser +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") +const { failure, createErrorFromCode } = __webpack_require__(/*! ../../../error */ "./node_modules/kafkajs/src/protocol/error.js") /** - * Parse "Range" header `str` relative to the given file `size`. - * - * @param {Number} size - * @param {String} str - * @param {Object} [options] - * @return {Array} - * @public + * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics] + * throttle_time_ms => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition error_code + * partition => INT32 + * error_code => INT16 */ +const decode = async rawData => { + const decoder = new Decoder(rawData) + const throttleTime = decoder.readInt32() + const topics = await decoder.readArrayAsync(decodeTopic) -function rangeParser (size, str, options) { - if (typeof str !== 'string') { - throw new TypeError('argument str must be a string') + return { + throttleTime, + topics, } +} - var index = str.indexOf('=') - - if (index === -1) { - return -2 - } +const decodeTopic = async decoder => ({ + topic: decoder.readString(), + partitions: await decoder.readArrayAsync(decodePartition), +}) - // split the range string - var arr = str.slice(index + 1).split(',') - var ranges = [] +const decodePartition = decoder => ({ + partition: decoder.readInt32(), + errorCode: decoder.readInt16(), +}) - // add ranges type - ranges.type = str.slice(0, index) +const parse = async data => { + const topicsWithErrors = data.topics + .map(({ partitions }) => ({ + partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)), + })) + .filter(({ partitionsWithErrors }) => partitionsWithErrors.length) - // parse all ranges - for (var i = 0; i < arr.length; i++) { - var range = arr[i].split('-') - var start = parseInt(range[0], 10) - var end = parseInt(range[1], 10) + if (topicsWithErrors.length > 0) { + throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode) + } - // -nnn - if (isNaN(start)) { - start = size - end - end = size - 1 - // nnn- - } else if (isNaN(end)) { - end = size - 1 - } + return data +} - // limit last-byte-pos to current length - if (end > size - 1) { - end = size - 1 - } +module.exports = { + decode, + parse, +} - // invalid or unsatisifiable - if (isNaN(start) || isNaN(end) || start > end || start < 0) { - continue - } - // add range - ranges.push({ - start: start, - end: end - }) - } +/***/ }), - if (ranges.length < 1) { - // unsatisifiable - return -1 - } +/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js ***! + \**********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 17:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return options && options.combine - ? combineRanges(ranges) - : ranges -} +const requestV0 = __webpack_require__(/*! ../v0/request */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js") /** - * Combine overlapping & adjacent ranges. - * @private + * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics] + * transactional_id => STRING + * group_id => STRING + * producer_id => INT64 + * producer_epoch => INT16 + * topics => topic [partitions] + * topic => STRING + * partitions => partition offset metadata + * partition => INT32 + * offset => INT64 + * metadata => NULLABLE_STRING */ -function combineRanges (ranges) { - var ordered = ranges.map(mapWithIndex).sort(sortByRangeStart) - - for (var j = 0, i = 1; i < ordered.length; i++) { - var range = ordered[i] - var current = ordered[j] - - if (range.start > current.end + 1) { - // next range - ordered[++j] = range - } else if (range.end > current.end) { - // extend range - current.end = range.end - current.index = Math.min(current.index, range.index) - } - } +module.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => + Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), { + apiVersion: 1, + }) - // trim ordered array - ordered.length = j + 1 - // generate combined range - var combined = ordered.sort(sortByRangeIndex).map(mapWithoutIndex) +/***/ }), - // copy ranges type - combined.type = ranges.type +/***/ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js ***! + \***********************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return combined -} +const { parse, decode: decodeV1 } = __webpack_require__(/*! ../v0/response */ "./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js") /** - * Map function to add index value to ranges. - * @private + * In version 1, on quota violation, brokers send out responses before throttling. + * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication + * + * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics] + * throttle_time_ms => INT32 + * topics => topic [partitions] + * topic => STRING + * partitions => partition error_code + * partition => INT32 + * error_code => INT16 */ -function mapWithIndex (range, index) { +const decode = async rawData => { + const decoded = await decodeV1(rawData) + return { - start: range.start, - end: range.end, - index: index + ...decoded, + throttleTime: 0, + clientSideThrottleTime: decoded.throttleTime, } } -/** - * Map function to remove index value from ranges. - * @private - */ - -function mapWithoutIndex (range) { - return { - start: range.start, - end: range.end - } +module.exports = { + decode, + parse, } -/** - * Sort function to sort ranges by index. - * @private - */ -function sortByRangeIndex (a, b) { - return a.index - b.index -} +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/resourcePatternTypes.js": +/*!*******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/resourcePatternTypes.js ***! + \*******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 11:0-14 */ +/***/ ((module) => { + +// From: +// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32 /** - * Sort function to sort ranges by start position. - * @private + * @typedef {number} ACLResourcePatternTypes + * + * Enum for ACL Resource Pattern Type + * @readonly + * @enum {ACLResourcePatternTypes} */ - -function sortByRangeStart (a, b) { - return a.start - b.start +module.exports = { + /** + * Represents any PatternType which this client cannot understand, perhaps because this client is too old. + */ + UNKNOWN: 0, + /** + * In a filter, matches any resource pattern type. + */ + ANY: 1, + /** + * In a filter, will perform pattern matching. + * + * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, "payments.received", MATCH)`}, the filter match + * any {@link ResourcePattern} that matches topic 'payments.received'. This might include: + *
    + *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, "payments.received", LITERAL)}
  • + *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, "*", LITERAL)}
  • + *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, "payments.", PREFIXED)}
  • + *
+ */ + MATCH: 2, + /** + * A literal resource name. + * + * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'. + * + * The special wildcard character {@code *} can be used to represent a resource with any name. + */ + LITERAL: 3, + /** + * A prefixed resource name. + * + * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'. + */ + PREFIXED: 4, } /***/ }), -/***/ "./node_modules/raw-body/index.js": -/*!****************************************!*\ - !*** ./node_modules/raw-body/index.js ***! - \****************************************/ +/***/ "./node_modules/kafkajs/src/protocol/resourceTypes.js": +/*!************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/resourceTypes.js ***! + \************************************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { -"use strict"; -/*! - * raw-body - * Copyright(c) 2013-2014 Jonathan Ong - * Copyright(c) 2014-2022 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var asyncHooks = tryRequireAsyncHooks() -var bytes = __webpack_require__(/*! bytes */ "./node_modules/bytes/index.js") -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var iconv = __webpack_require__(/*! iconv-lite */ "./node_modules/iconv-lite/lib/index.js") -var unpipe = __webpack_require__(/*! unpipe */ "./node_modules/unpipe/index.js") +const ACLResourceTypes = __webpack_require__(/*! ./aclResourceTypes */ "./node_modules/kafkajs/src/protocol/aclResourceTypes.js") /** - * Module exports. - * @public + * @deprecated + * @see https://github.com/tulios/kafkajs/issues/649 + * + * Use ConfigResourceTypes or AclResourceTypes instead. */ +module.exports = ACLResourceTypes -module.exports = getRawBody -/** - * Module variables. - * @private - */ +/***/ }), -var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: / +/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js": +/*!****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js ***! + \****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Get the decoder for a given encoding. - * - * @param {string} encoding - * @private - */ +module.exports = { + request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js"), + response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js"), +} -function getDecoder (encoding) { - if (!encoding) return null - try { - return iconv.getDecoder(encoding) - } catch (e) { - // error getting decoder - if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e +/***/ }), - // the encoding was not found - throw createError(415, 'specified encoding unsupported', { - encoding: encoding, - type: 'encoding.unsupported' - }) - } -} +/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js": +/*!******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js ***! + \******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 5:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Get the raw body of a stream (typically HTTP). - * - * @param {object} stream - * @param {object|string|function} [options] - * @param {function} [callback] - * @public - */ +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") -function getRawBody (stream, options, callback) { - var done = callback - var opts = options || {} +const US_ASCII_NULL_CHAR = '\u0000' - if (options === true || typeof options === 'string') { - // short cut for encoding - opts = { - encoding: options - } - } +module.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({ + encode: async () => { + return new Encoder().writeBytes( + [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR) + ) + }, +}) - if (typeof options === 'function') { - done = options - opts = {} - } - // validate callback is a function, if provided - if (done !== undefined && typeof done !== 'function') { - throw new TypeError('argument callback must be a function') - } +/***/ }), - // require the callback without promises - if (!done && !global.Promise) { - throw new TypeError('argument callback is required') - } +/***/ "./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js": +/*!*******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js ***! + \*******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - // get encoding - var encoding = opts.encoding !== true - ? opts.encoding - : 'utf-8' +module.exports = { + decode: async () => true, + parse: async () => true, +} - // convert the limit to an integer - var limit = bytes.parse(opts.limit) - // convert the expected length to an integer - var length = opts.length != null && !isNaN(opts.length) - ? parseInt(opts.length, 10) - : null +/***/ }), - if (done) { - // classic callback style - return readStream(stream, encoding, length, limit, wrap(done)) - } +/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js": +/*!*********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js ***! + \*********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - return new Promise(function executor (resolve, reject) { - readStream(stream, encoding, length, limit, function onRead (err, buf) { - if (err) return reject(err) - resolve(buf) - }) - }) +module.exports = { + request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js"), + response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js"), } -/** - * Halt a stream. - * - * @param {Object} stream - * @private - */ -function halt (stream) { - // unpipe everything from the stream - unpipe(stream) +/***/ }), - // pause stream - if (typeof stream.pause === 'function') { - stream.pause() - } -} +/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js": +/*!***********************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js ***! + \***********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 48:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** - * Read the data from the stream. + * http://www.ietf.org/rfc/rfc5801.txt * - * @param {object} stream - * @param {string} encoding - * @param {number} length - * @param {number} limit - * @param {function} callback - * @public + * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse + * for official Java client implementation. + * + * The mechanism consists of a message from the client to the server. + * The client sends the "n,"" GS header, followed by the authorizationIdentitty + * prefixed by "a=" (if present), followed by ",", followed by a US-ASCII SOH + * character, followed by "auth=Bearer ", followed by the token value, followed + * by US-ASCII SOH character, followed by SASL extensions in OAuth "friendly" + * format and then closed by two additionals US-ASCII SOH characters. + * + * SASL extensions are optional an must be expressed as key-value pairs in an + * object. Each expression is converted as, the extension entry key, followed + * by "=", followed by extension entry value. Each extension is separated by a + * US-ASCII SOH character. If extensions are not present, their relative part + * in the message, including the US-ASCII SOH character, is omitted. + * + * The client may leave the authorization identity empty to + * indicate that it is the same as the authentication identity. + * + * The server will verify the authentication token and verify that the + * authentication credentials permit the client to login as the authorization + * identity. If both steps succeed, the user is logged in. */ -function readStream (stream, encoding, length, limit, callback) { - var complete = false - var sync = true +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - // check the length and limit options. - // note: we intentionally leave the stream paused, - // so users should handle the stream themselves. - if (limit !== null && length !== null && length > limit) { - return done(createError(413, 'request entity too large', { - expected: length, - length: length, - limit: limit, - type: 'entity.too.large' - })) +const SEPARATOR = '\u0001' // SOH - Start Of Header ASCII + +function formatExtensions(extensions) { + let msg = '' + + if (extensions == null) { + return msg } - // streams1: assert request encoding is buffer. - // streams2+: assert the stream encoding is buffer. - // stream._decoder: streams1 - // state.encoding: streams2 - // state.decoder: streams2, specifically < 0.10.6 - var state = stream._readableState - if (stream._decoder || (state && (state.encoding || state.decoder))) { - // developer error - return done(createError(500, 'stream encoding should not be set', { - type: 'stream.encoding.set' - })) + let prefix = '' + for (const k in extensions) { + msg += `${prefix}${k}=${extensions[k]}` + prefix = SEPARATOR } - if (typeof stream.readable !== 'undefined' && !stream.readable) { - return done(createError(500, 'stream is not readable', { - type: 'stream.not.readable' - })) + return msg +} + +module.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => { + const authzid = authorizationIdentity == null ? '' : `"a=${authorizationIdentity}` + let ext = formatExtensions(oauthBearerToken.extensions) + if (ext.length > 0) { + ext = `${SEPARATOR}${ext}` } - var received = 0 - var decoder + const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}` - try { - decoder = getDecoder(encoding) - } catch (err) { - return done(err) + return { + encode: async () => { + return new Encoder().writeBytes(Buffer.from(oauthMsg)) + }, } +} - var buffer = decoder - ? '' - : [] - // attach listeners - stream.on('aborted', onAborted) - stream.on('close', cleanup) - stream.on('data', onData) - stream.on('end', onEnd) - stream.on('error', onEnd) +/***/ }), - // mark sync section complete - sync = false +/***/ "./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js": +/*!************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js ***! + \************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - function done () { - var args = new Array(arguments.length) +module.exports = { + decode: async () => true, + parse: async () => true, +} - // copy arguments - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i] - } - // mark complete - complete = true +/***/ }), - if (sync) { - process.nextTick(invokeCallback) - } else { - invokeCallback() - } +/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/plain/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - function invokeCallback () { - cleanup() +module.exports = { + request: __webpack_require__(/*! ./request */ "./node_modules/kafkajs/src/protocol/sasl/plain/request.js"), + response: __webpack_require__(/*! ./response */ "./node_modules/kafkajs/src/protocol/sasl/plain/response.js"), +} - if (args[0]) { - // halt the stream on error - halt(stream) - } - callback.apply(null, args) - } - } +/***/ }), - function onAborted () { - if (complete) return +/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/request.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/plain/request.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - done(createError(400, 'request aborted', { - code: 'ECONNABORTED', - expected: length, - length: length, - received: received, - type: 'request.aborted' - })) - } +/** + * http://www.ietf.org/rfc/rfc2595.txt + * + * The mechanism consists of a single message from the client to the + * server. The client sends the authorization identity (identity to + * login as), followed by a US-ASCII NUL character, followed by the + * authentication identity (identity whose password will be used), + * followed by a US-ASCII NUL character, followed by the clear-text + * password. The client may leave the authorization identity empty to + * indicate that it is the same as the authentication identity. + * + * The server will verify the authentication identity and password with + * the system authentication database and verify that the authentication + * credentials permit the client to login as the authorization identity. + * If both steps succeed, the user is logged in. + */ - function onData (chunk) { - if (complete) return +const Encoder = __webpack_require__(/*! ../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - received += chunk.length +const US_ASCII_NULL_CHAR = '\u0000' - if (limit !== null && received > limit) { - done(createError(413, 'request entity too large', { - limit: limit, - received: received, - type: 'entity.too.large' - })) - } else if (decoder) { - buffer += decoder.write(chunk) - } else { - buffer.push(chunk) - } - } +module.exports = ({ authorizationIdentity = null, username, password }) => ({ + encode: async () => { + return new Encoder().writeBytes( + [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR) + ) + }, +}) - function onEnd (err) { - if (complete) return - if (err) return done(err) - if (length !== null && received !== length) { - done(createError(400, 'request size did not match content length', { - expected: length, - length: length, - received: received, - type: 'request.size.invalid' - })) - } else { - var string = decoder - ? buffer + (decoder.end() || '') - : Buffer.concat(buffer) - done(null, string) - } - } +/***/ }), - function cleanup () { - buffer = null +/***/ "./node_modules/kafkajs/src/protocol/sasl/plain/response.js": +/*!******************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/plain/response.js ***! + \******************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - stream.removeListener('aborted', onAborted) - stream.removeListener('data', onData) - stream.removeListener('end', onEnd) - stream.removeListener('error', onEnd) - stream.removeListener('close', cleanup) - } +module.exports = { + decode: async () => true, + parse: async () => true, } -/** - * Try to require async_hooks - * @private - */ -function tryRequireAsyncHooks () { - try { - return __webpack_require__(/*! async_hooks */ "async_hooks") - } catch (e) { - return {} - } -} +/***/ }), -/** - * Wrap function with async resource, if possible. - * AsyncResource.bind static method backported. - * @private - */ +/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js ***! + \******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -function wrap (fn) { - var res +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - // create anonymous resource - if (asyncHooks.AsyncResource) { - res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn') - } +module.exports = ({ finalMessage }) => ({ + encode: async () => new Encoder().writeBytes(finalMessage), +}) - // incompatible node.js - if (!res || !res.runInAsyncScope) { - return fn - } - // return bound function - return res.runInAsyncScope.bind(res, fn, null) -} +/***/ }), + +/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js ***! + \*******************************************************************************/ +/*! dynamic exports */ +/*! exports [maybe provided (runtime-defined)] [no usage info] -> ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js */ +/*! runtime requirements: module, __webpack_require__ */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +module.exports = __webpack_require__(/*! ../firstMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js") /***/ }), -/***/ "./node_modules/regenerator-runtime/runtime.js": -/*!*****************************************************!*\ - !*** ./node_modules/regenerator-runtime/runtime.js ***! - \*****************************************************/ +/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js": +/*!******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js ***! + \******************************************************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 740:31-45 */ -/***/ ((module) => { +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 20:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** - * Copyright (c) 2014-present, Facebook, Inc. + * https://tools.ietf.org/html/rfc5802 * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. + * First, the client sends the "client-first-message" containing: + * + * -> a GS2 header consisting of a flag indicating whether channel + * binding is supported-but-not-used, not supported, or used, and an + * optional SASL authorization identity; + * + * -> SCRAM username and a random, unique nonce attributes. + * + * Note that the client's first message will always start with "n", "y", + * or "p"; otherwise, the message is invalid and authentication MUST + * fail. This is important, as it allows for GS2 extensibility (e.g., + * to add support for security layers). */ -var runtime = (function (exports) { - "use strict"; - - var Op = Object.prototype; - var hasOwn = Op.hasOwnProperty; - var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }; - var undefined; // More compressible than void 0. - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - function define(obj, key, value) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - return obj[key]; - } - try { - // IE 8 has a broken Object.defineProperty that only works on DOM objects. - define({}, ""); - } catch (err) { - define = function(obj, key, value) { - return obj[key] = value; - }; - } - - function wrap(innerFn, outerFn, self, tryLocsList) { - // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; - var generator = Object.create(protoGenerator.prototype); - var context = new Context(tryLocsList || []); - - // The ._invoke method unifies the implementations of the .next, - // .throw, and .return methods. - defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }); +const Encoder = __webpack_require__(/*! ../../../encoder */ "./node_modules/kafkajs/src/protocol/encoder.js") - return generator; - } - exports.wrap = wrap; +module.exports = ({ clientFirstMessage }) => ({ + encode: async () => new Encoder().writeBytes(clientFirstMessage), +}) - // Try/catch helper to minimize deoptimizations. Returns a completion - // record like context.tryEntries[i].completion. This interface could - // have been (and was previously) designed to take a closure to be - // invoked without arguments, but in all the cases we care about we - // already have an existing method we want to call, so there's no need - // to create a new function object. We can even get away with assuming - // the method takes exactly one argument, since that happens to be true - // in every case, so we don't have to touch the arguments object. The - // only additional allocation required is the completion record, which - // has a stable shape and so hopefully should be cheap to allocate. - function tryCatch(fn, obj, arg) { - try { - return { type: "normal", arg: fn.call(obj, arg) }; - } catch (err) { - return { type: "throw", arg: err }; - } - } - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; +/***/ }), - // Returning this object from the innerFn has the same effect as - // breaking out of the dispatch switch statement. - var ContinueSentinel = {}; +/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js ***! + \*******************************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 7:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // Dummy constructor functions that we use as the .constructor and - // .constructor.prototype properties for functions that return Generator - // objects. For full spec compliance, you may wish to configure your - // minifier not to mangle the names of these two functions. - function Generator() {} - function GeneratorFunction() {} - function GeneratorFunctionPrototype() {} +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "_" }] */ - // This is a polyfill for %IteratorPrototype% for environments that - // don't natively support it. - var IteratorPrototype = {}; - define(IteratorPrototype, iteratorSymbol, function () { - return this; - }); +const Decoder = __webpack_require__(/*! ../../../decoder */ "./node_modules/kafkajs/src/protocol/decoder.js") - var getProto = Object.getPrototypeOf; - var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - if (NativeIteratorPrototype && - NativeIteratorPrototype !== Op && - hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { - // This environment has a native %IteratorPrototype%; use it instead - // of the polyfill. - IteratorPrototype = NativeIteratorPrototype; - } +const ENTRY_REGEX = /^([rsiev])=(.*)$/ - var Gp = GeneratorFunctionPrototype.prototype = - Generator.prototype = Object.create(IteratorPrototype); - GeneratorFunction.prototype = GeneratorFunctionPrototype; - defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }); - defineProperty( - GeneratorFunctionPrototype, - "constructor", - { value: GeneratorFunction, configurable: true } - ); - GeneratorFunction.displayName = define( - GeneratorFunctionPrototype, - toStringTagSymbol, - "GeneratorFunction" - ); +module.exports = { + decode: async rawData => { + return new Decoder(rawData).readBytes() + }, + parse: async data => { + const processed = data + .toString() + .split(',') + .map(str => { + const [_, key, value] = str.match(ENTRY_REGEX) + return [key, value] + }) + .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {}) - // Helper for defining the .next, .throw, and .return methods of the - // Iterator interface in terms of a single ._invoke method. - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function(method) { - define(prototype, method, function(arg) { - return this._invoke(method, arg); - }); - }); - } + return { original: data.toString(), ...processed } + }, +} - exports.isGeneratorFunction = function(genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; - return ctor - ? ctor === GeneratorFunction || - // For the native GeneratorFunction constructor, the best we can - // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" - : false; - }; - exports.mark = function(genFun) { - if (Object.setPrototypeOf) { - Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); - } else { - genFun.__proto__ = GeneratorFunctionPrototype; - define(genFun, toStringTagSymbol, "GeneratorFunction"); - } - genFun.prototype = Object.create(Gp); - return genFun; - }; +/***/ }), - // Within the body of any async function, `await x` is transformed to - // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test - // `hasOwn.call(value, "__await")` to determine if the yielded value is - // meant to be awaited. - exports.awrap = function(arg) { - return { __await: arg }; - }; +/***/ "./node_modules/kafkajs/src/protocol/sasl/scram/index.js": +/*!***************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/sasl/scram/index.js ***! + \***************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - if (record.type === "throw") { - reject(record.arg); - } else { - var result = record.arg; - var value = result.value; - if (value && - typeof value === "object" && - hasOwn.call(value, "__await")) { - return PromiseImpl.resolve(value.__await).then(function(value) { - invoke("next", value, resolve, reject); - }, function(err) { - invoke("throw", err, resolve, reject); - }); - } +module.exports = { + firstMessage: { + request: __webpack_require__(/*! ./firstMessage/request */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js"), + response: __webpack_require__(/*! ./firstMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js"), + }, + finalMessage: { + request: __webpack_require__(/*! ./finalMessage/request */ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js"), + response: __webpack_require__(/*! ./finalMessage/response */ "./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js"), + }, +} - return PromiseImpl.resolve(value).then(function(unwrapped) { - // When a yielded Promise is resolved, its final value becomes - // the .value of the Promise<{value,done}> result for the - // current iteration. - result.value = unwrapped; - resolve(result); - }, function(error) { - // If a rejected Promise was yielded, throw the rejection back - // into the async generator function so it can be handled there. - return invoke("throw", error, resolve, reject); - }); - } - } - var previousPromise; +/***/ }), - function enqueue(method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function(resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } +/***/ "./node_modules/kafkajs/src/protocol/timestampTypes.js": +/*!*************************************************************!*\ + !*** ./node_modules/kafkajs/src/protocol/timestampTypes.js ***! + \*************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module) => { - return previousPromise = - // If enqueue has been called before, then we want to wait until - // all previous Promises have been resolved before calling invoke, - // so that results are always delivered in the correct order. If - // enqueue has not been called before, then it is important to - // call invoke immediately, without waiting on a callback to fire, - // so that the async generator function has the opportunity to do - // any necessary setup in a predictable way. This predictability - // is why the Promise constructor synchronously invokes its - // executor callback, and why async functions synchronously - // execute code before the first await. Since we implement simple - // async functions in terms of async generators, it is especially - // important to get this right, even though it requires care. - previousPromise ? previousPromise.then( - callInvokeWithMethodAndArg, - // Avoid propagating failures to Promises returned by later - // invocations of the iterator. - callInvokeWithMethodAndArg - ) : callInvokeWithMethodAndArg(); - } +/** + * Enum for timestamp types + * @readonly + * @enum {TimestampType} + */ +module.exports = { + // Timestamp type is unknown + NO_TIMESTAMP: -1, - // Define the unified helper method that is used to implement .next, - // .throw, and .return (see defineIteratorMethods). - defineProperty(this, "_invoke", { value: enqueue }); - } + // Timestamp relates to message creation time as set by a Kafka client + CREATE_TIME: 0, - defineIteratorMethods(AsyncIterator.prototype); - define(AsyncIterator.prototype, asyncIteratorSymbol, function () { - return this; - }); - exports.AsyncIterator = AsyncIterator; + // Timestamp relates to the time a message was appended to a Kafka log + LOG_APPEND_TIME: 1, +} - // Note that simple async functions are implemented on top of - // AsyncIterator objects; they just return a Promise for the value of - // the final result produced by the iterator. - exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { - if (PromiseImpl === void 0) PromiseImpl = Promise; - var iter = new AsyncIterator( - wrap(innerFn, outerFn, self, tryLocsList), - PromiseImpl - ); +/***/ }), - return exports.isGeneratorFunction(outerFn) - ? iter // If outerFn is a generator, return the full iterator. - : iter.next().then(function(result) { - return result.done ? result.value : iter.next(); - }); - }; +/***/ "./node_modules/kafkajs/src/retry/defaults.js": +/*!****************************************************!*\ + !*** ./node_modules/kafkajs/src/retry/defaults.js ***! + \****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - function makeInvokeMethod(innerFn, self, context) { - var state = GenStateSuspendedStart; +module.exports = { + maxRetryTime: 30 * 1000, + initialRetryTime: 300, + factor: 0.2, // randomization factor + multiplier: 2, // exponential factor + retries: 5, // max retries +} - return function invoke(method, arg) { - if (state === GenStateExecuting) { - throw new Error("Generator is already running"); - } - if (state === GenStateCompleted) { - if (method === "throw") { - throw arg; - } +/***/ }), - // Be forgiving, per 25.3.3.3.3 of the spec: - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume - return doneResult(); - } +/***/ "./node_modules/kafkajs/src/retry/defaults.test.js": +/*!*********************************************************!*\ + !*** ./node_modules/kafkajs/src/retry/defaults.test.js ***! + \*********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - context.method = method; - context.arg = arg; +module.exports = { + maxRetryTime: 1000, + initialRetryTime: 50, + factor: 0.02, // randomization factor + multiplier: 1.5, // exponential factor + retries: 15, // max retries +} - while (true) { - var delegate = context.delegate; - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - if (context.method === "next") { - // Setting context._sent for legacy support of Babel's - // function.sent implementation. - context.sent = context._sent = context.arg; +/***/ }), - } else if (context.method === "throw") { - if (state === GenStateSuspendedStart) { - state = GenStateCompleted; - throw context.arg; - } +/***/ "./node_modules/kafkajs/src/retry/index.js": +/*!*************************************************!*\ + !*** ./node_modules/kafkajs/src/retry/index.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 69:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - context.dispatchException(context.arg); +const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - } else if (context.method === "return") { - context.abrupt("return", context.arg); - } +const isTestMode = "development" === 'test' +const RETRY_DEFAULT = isTestMode ? __webpack_require__(/*! ./defaults.test */ "./node_modules/kafkajs/src/retry/defaults.test.js") : __webpack_require__(/*! ./defaults */ "./node_modules/kafkajs/src/retry/defaults.js") - state = GenStateExecuting; +const random = (min, max) => { + return Math.random() * (max - min) + min +} - var record = tryCatch(innerFn, self, context); - if (record.type === "normal") { - // If an exception is thrown from innerFn, we leave state === - // GenStateExecuting and loop back for another invocation. - state = context.done - ? GenStateCompleted - : GenStateSuspendedYield; +const randomFromRetryTime = (factor, retryTime) => { + const delta = factor * retryTime + return Math.ceil(random(retryTime - delta, retryTime + delta)) +} - if (record.arg === ContinueSentinel) { - continue; - } +const UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError'] +const isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name) +const isErrorRetriable = error => + (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error) - return { - value: record.arg, - done: context.done - }; +const createRetriable = (configs, resolve, reject, fn) => { + let aborted = false + const { factor, multiplier, maxRetryTime, retries } = configs - } else if (record.type === "throw") { - state = GenStateCompleted; - // Dispatch the exception by looping back around to the - // context.dispatchException(context.arg) call above. - context.method = "throw"; - context.arg = record.arg; - } - } - }; + const bail = error => { + aborted = true + reject(error || new Error('Aborted')) } - // Call delegate.iterator[context.method](context.arg) and handle the - // result, either by returning a { value, done } result from the - // delegate iterator, or by modifying context.method and context.arg, - // setting context.delegate to null, and returning the ContinueSentinel. - function maybeInvokeDelegate(delegate, context) { - var methodName = context.method; - var method = delegate.iterator[methodName]; - if (method === undefined) { - // A .throw or .return when the delegate iterator has no .throw - // method, or a missing .next mehtod, always terminate the - // yield* loop. - context.delegate = null; + const calculateExponentialRetryTime = retryTime => { + return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime) + } - // Note: ["return"] must be used for ES3 parsing compatibility. - if (methodName === "throw" && delegate.iterator["return"]) { - // If the delegate iterator has a return method, give it a - // chance to clean up. - context.method = "return"; - context.arg = undefined; - maybeInvokeDelegate(delegate, context); + const retry = (retryTime, retryCount = 0) => { + if (aborted) return - if (context.method === "throw") { - // If maybeInvokeDelegate(context) changed context.method from - // "return" to "throw", let that override the TypeError below. - return ContinueSentinel; - } - } - if (methodName !== "return") { - context.method = "throw"; - context.arg = new TypeError( - "The iterator does not provide a '" + methodName + "' method"); - } + const nextRetryTime = calculateExponentialRetryTime(retryTime) + const shouldRetry = retryCount < retries - return ContinueSentinel; + const scheduleRetry = () => { + setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime) } - var record = tryCatch(method, delegate.iterator, context.arg); + fn(bail, retryCount, retryTime) + .then(resolve) + .catch(e => { + if (isErrorRetriable(e)) { + if (shouldRetry) { + scheduleRetry() + } else { + reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime })) + } + } else { + reject(new KafkaJSNonRetriableError(e)) + } + }) + } - if (record.type === "throw") { - context.method = "throw"; - context.arg = record.arg; - context.delegate = null; - return ContinueSentinel; - } + return retry +} - var info = record.arg; +/** + * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier + */ - if (! info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); - context.delegate = null; - return ContinueSentinel; - } +/** + * @param {import("../../types").RetryOptions} [opts] + * @returns {Retrier} + */ +module.exports = (opts = {}) => fn => { + return new Promise((resolve, reject) => { + const configs = Object.assign({}, RETRY_DEFAULT, opts) + const start = createRetriable(configs, resolve, reject, fn) + start(randomFromRetryTime(configs.factor, configs.initialRetryTime)) + }) +} - if (info.done) { - // Assign the result of the finished delegate to the temporary - // variable specified by delegate.resultName (see delegateYield). - context[delegate.resultName] = info.value; - // Resume execution at the desired location (see delegateYield). - context.next = delegate.nextLoc; +/***/ }), - // If context.method was "throw" but the delegate handled the - // exception, let the outer generator proceed normally. If - // context.method was "next", forget context.arg since it has been - // "consumed" by the delegate iterator. If context.method was - // "return", allow the original .return call to continue in the - // outer generator. - if (context.method !== "return") { - context.method = "next"; - context.arg = undefined; - } +/***/ "./node_modules/kafkajs/src/utils/arrayDiff.js": +/*!*****************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/arrayDiff.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - } else { - // Re-yield the result returned by the delegate method. - return info; - } +module.exports = (a, b) => { + const result = [] + const length = a.length + let i = 0 - // The delegate iterator is finished, so forget it and continue with - // the outer generator. - context.delegate = null; - return ContinueSentinel; + while (i < length) { + if (b.indexOf(a[i]) === -1) { + result.push(a[i]) + } + i += 1 } - // Define Generator.prototype.{next,throw,return} in terms of the - // unified ._invoke helper method. - defineIteratorMethods(Gp); + return result +} - define(Gp, toStringTagSymbol, "Generator"); - // A Generator should always return itself as the iterator object when the - // @@iterator function is called on it. Some browsers' implementations of the - // iterator prototype chain incorrectly implement this, causing the Generator - // object to not be returned from this call. This ensures that doesn't happen. - // See https://github.com/facebook/regenerator/issues/274 for more details. - define(Gp, iteratorSymbol, function() { - return this; - }); +/***/ }), - define(Gp, "toString", function() { - return "[object Generator]"; - }); +/***/ "./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js": +/*!*****************************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js ***! + \*****************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 59:0-14 */ +/***/ ((module) => { - function pushTryEntry(locs) { - var entry = { tryLoc: locs[0] }; +const defaultErrorHandler = e => { + throw e +} - if (1 in locs) { - entry.catchLoc = locs[1]; - } +/** + * Generator that processes the given promises, and yields their result in the order of them resolving. + * + * @template T + * @param {Promise[]} promises promises to process + * @param {(err: Error) => any} [handleError] optional error handler + * @returns {Generator>} + */ +function* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) { + /** Queue of promises in order of resolution */ + const promisesQueue = [] + /** Queue of {resolve, reject} in the same order as `promisesQueue` */ + const resolveRejectQueue = [] - if (2 in locs) { - entry.finallyLoc = locs[2]; - entry.afterLoc = locs[3]; - } + promises.forEach(promise => { + // Create a new promise into the promises queue, and keep the {resolve,reject} + // in the resolveRejectQueue + let resolvePromise + let rejectPromise + promisesQueue.push( + new Promise((resolve, reject) => { + resolvePromise = resolve + rejectPromise = reject + }) + ) + resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise }) - this.tryEntries.push(entry); - } + // When the promise resolves pick the next available {resolve, reject}, and + // through that resolve the next promise in the queue + promise.then( + result => { + const { resolve } = resolveRejectQueue.pop() + resolve(result) + }, + async err => { + const { reject } = resolveRejectQueue.pop() + try { + await handleError(err) + reject(err) + } catch (newError) { + reject(newError) + } + } + ) + }) - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal"; - delete record.arg; - entry.completion = record; + // While there are promises left pick the next one to yield + // The caller will then wait for the value to resolve. + while (promisesQueue.length > 0) { + const nextPromise = promisesQueue.pop() + yield nextPromise } +} - function Context(tryLocsList) { - // The root entry object (effectively a try statement without a catch - // or a finally block) gives us a place to store values thrown from - // locations where there is no enclosing try statement. - this.tryEntries = [{ tryLoc: "root" }]; - tryLocsList.forEach(pushTryEntry, this); - this.reset(true); - } +module.exports = BufferedAsyncIterator - exports.keys = function(val) { - var object = Object(val); - var keys = []; - for (var key in object) { - keys.push(key); - } - keys.reverse(); - // Rather than returning an object with a next method, we keep - // things simple and return the next function itself. - return function next() { - while (keys.length) { - var key = keys.pop(); - if (key in object) { - next.value = key; - next.done = false; - return next; - } - } +/***/ }), - // To avoid creating an additional object, we just hang the .value - // and .done properties off the next function object itself. This - // also ensures that the minifier will not anonymize the function. - next.done = true; - return next; - }; - }; +/***/ "./node_modules/kafkajs/src/utils/concurrency.js": +/*!*******************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/concurrency.js ***! + \*******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 63:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) { - return iteratorMethod.call(iterable); - } +const { KafkaJSNonRetriableError } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - if (typeof iterable.next === "function") { - return iterable; - } +const REJECTED_ERROR = new KafkaJSNonRetriableError( + 'Queued function aborted due to earlier promise rejection' +) +function NOOP() {} - if (!isNaN(iterable.length)) { - var i = -1, next = function next() { - while (++i < iterable.length) { - if (hasOwn.call(iterable, i)) { - next.value = iterable[i]; - next.done = false; - return next; - } - } +const concurrency = ({ limit, onChange = NOOP } = {}) => { + if (isNaN(limit) || typeof limit !== 'number' || limit < 1) { + throw new KafkaJSNonRetriableError(`"limit" cannot be less than 1`) + } - next.value = undefined; - next.done = true; + let waiting = [] + let semaphore = 0 - return next; - }; + const clear = () => { + for (const lazyAction of waiting) { + lazyAction((_1, _2, reject) => reject(REJECTED_ERROR)) + } + waiting = [] + semaphore = 0 + } - return next.next = next; - } + const next = () => { + semaphore-- + onChange(semaphore) + + if (waiting.length > 0) { + const lazyAction = waiting.shift() + lazyAction() } + } - // Return an iterator with no values. - return { next: doneResult }; + const invoke = (action, resolve, reject) => { + semaphore++ + onChange(semaphore) + + action() + .then(result => { + resolve(result) + next() + }) + .catch(error => { + reject(error) + clear() + }) } - exports.values = values; - function doneResult() { - return { value: undefined, done: true }; + const push = (action, resolve, reject) => { + if (semaphore < limit) { + invoke(action, resolve, reject) + } else { + waiting.push(override => { + const execute = override || invoke + execute(action, resolve, reject) + }) + } } - Context.prototype = { - constructor: Context, + return action => new Promise((resolve, reject) => push(action, resolve, reject)) +} - reset: function(skipTempReset) { - this.prev = 0; - this.next = 0; - // Resetting context._sent for legacy support of Babel's - // function.sent implementation. - this.sent = this._sent = undefined; - this.done = false; - this.delegate = null; +module.exports = concurrency - this.method = "next"; - this.arg = undefined; - this.tryEntries.forEach(resetTryEntry); +/***/ }), + +/***/ "./node_modules/kafkajs/src/utils/flatten.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/flatten.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 12:0-14 */ +/***/ ((module) => { + +/** + * Flatten the given arrays into a new array + * + * @param {Array>} arrays + * @returns {Array} + * @template T + */ +function flatten(arrays) { + return [].concat.apply([], arrays) +} + +module.exports = flatten - if (!skipTempReset) { - for (var name in this) { - // Not sure about the optimal order of these conditions: - if (name.charAt(0) === "t" && - hasOwn.call(this, name) && - !isNaN(+name.slice(1))) { - this[name] = undefined; - } - } - } - }, - stop: function() { - this.done = true; +/***/ }), - var rootEntry = this.tryEntries[0]; - var rootRecord = rootEntry.completion; - if (rootRecord.type === "throw") { - throw rootRecord.arg; - } +/***/ "./node_modules/kafkajs/src/utils/groupBy.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/groupBy.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { - return this.rval; - }, +module.exports = async (array, groupFn) => { + const result = new Map() - dispatchException: function(exception) { - if (this.done) { - throw exception; - } + for (const item of array) { + const group = await Promise.resolve(groupFn(item)) + result.set(group, result.has(group) ? [...result.get(group), item] : [item]) + } - var context = this; - function handle(loc, caught) { - record.type = "throw"; - record.arg = exception; - context.next = loc; + return result +} - if (caught) { - // If the dispatched exception was caught by a catch block, - // then let that catch block handle the exception normally. - context.method = "next"; - context.arg = undefined; - } - return !! caught; - } +/***/ }), - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - var record = entry.completion; +/***/ "./node_modules/kafkajs/src/utils/lock.js": +/*!************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/lock.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (entry.tryLoc === "root") { - // Exception thrown outside of any try block that could handle - // it, so set the completion value of the entire function to - // throw the exception. - return handle("end"); - } +const { format } = __webpack_require__(/*! util */ "util") +const { KafkaJSLockTimeout } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); +const PRIVATE = { + LOCKED: Symbol('private:Lock:locked'), + TIMEOUT: Symbol('private:Lock:timeout'), + WAITING: Symbol('private:Lock:waiting'), + TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'), +} - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } else if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } +const TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)' - } else if (hasCatch) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } +module.exports = class Lock { + constructor({ timeout, description = null } = {}) { + if (typeof timeout !== 'number') { + throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`) + } - } else if (hasFinally) { - if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } + this[PRIVATE.LOCKED] = false + this[PRIVATE.TIMEOUT] = timeout + this[PRIVATE.WAITING] = new Set() + this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => { + const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size) + return description ? `${timeoutMessage}: "${description}"` : timeoutMessage + } + } - } else { - throw new Error("try statement without catch or finally"); - } - } + async acquire() { + return new Promise((resolve, reject) => { + if (!this[PRIVATE.LOCKED]) { + this[PRIVATE.LOCKED] = true + return resolve() } - }, - abrupt: function(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc <= this.prev && - hasOwn.call(entry, "finallyLoc") && - this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; + let timeoutId = null + const tryToAcquire = async () => { + if (!this[PRIVATE.LOCKED]) { + this[PRIVATE.LOCKED] = true + clearTimeout(timeoutId) + this[PRIVATE.WAITING].delete(tryToAcquire) + return resolve() } } - if (finallyEntry && - (type === "break" || - type === "continue") && - finallyEntry.tryLoc <= arg && - arg <= finallyEntry.finallyLoc) { - // Ignore the finally entry if control is not jumping to a - // location outside the try/catch block. - finallyEntry = null; - } - - var record = finallyEntry ? finallyEntry.completion : {}; - record.type = type; - record.arg = arg; - - if (finallyEntry) { - this.method = "next"; - this.next = finallyEntry.finallyLoc; - return ContinueSentinel; - } - - return this.complete(record); - }, + this[PRIVATE.WAITING].add(tryToAcquire) + timeoutId = setTimeout(() => { + // The message should contain the number of waiters _including_ this one + const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]()) + this[PRIVATE.WAITING].delete(tryToAcquire) + reject(error) + }, this[PRIVATE.TIMEOUT]) + }) + } - complete: function(record, afterLoc) { - if (record.type === "throw") { - throw record.arg; - } + async release() { + this[PRIVATE.LOCKED] = false + const waitingLock = this[PRIVATE.WAITING].values().next().value - if (record.type === "break" || - record.type === "continue") { - this.next = record.arg; - } else if (record.type === "return") { - this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { - this.next = afterLoc; - } + if (waitingLock) { + return waitingLock() + } + } +} - return ContinueSentinel; - }, - finish: function(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) { - this.complete(entry.completion, entry.afterLoc); - resetTryEntry(entry); - return ContinueSentinel; - } - } - }, +/***/ }), - "catch": function(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - if (record.type === "throw") { - var thrown = record.arg; - resetTryEntry(entry); - } - return thrown; - } - } +/***/ "./node_modules/kafkajs/src/utils/long.js": +/*!************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/long.js ***! + \************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 343:0-14 */ +/***/ ((module) => { - // The context.catch method must only be called with a location - // argument that corresponds to a known catch block. - throw new Error("illegal catch attempt"); - }, +/** + * @exports Long + * @class A Long class for representing a 64 bit int (BigInt) + * @param {bigint} value The value of the 64 bit int + * @constructor + */ +class Long { + constructor(value) { + this.value = value + } - delegateYield: function(iterable, resultName, nextLoc) { - this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }; + /** + * @function isLong + * @param {*} obj Object + * @returns {boolean} + * @inner + */ + static isLong(obj) { + return typeof obj.value === 'bigint' + } - if (this.method === "next") { - // Deliberately forget the last sent value so that we don't - // accidentally pass it on to the delegate. - this.arg = undefined; - } + /** + * @param {number} value + * @returns {!Long} + * @inner + */ + static fromBits(value) { + return new Long(BigInt(value)) + } - return ContinueSentinel; - } - }; + /** + * @param {number} value + * @returns {!Long} + * @inner + */ + static fromInt(value) { + if (isNaN(value)) return Long.ZERO - // Regardless of whether this script is executing as a CommonJS module - // or not, return the runtime object so that we can declare the variable - // regeneratorRuntime in the outer scope, which allows this module to be - // injected easily by `bin/regenerator --include-runtime script.js`. - return exports; + return new Long(BigInt.asIntN(64, BigInt(value))) + } -}( - // If this script is executing as a CommonJS module, use module.exports - // as the regeneratorRuntime namespace. Otherwise create a new empty - // object. Either way, the resulting object will be used to initialize - // the regeneratorRuntime variable at the top of this file. - true ? module.exports : 0 -)); + /** + * @param {number} value + * @returns {!Long} + * @inner + */ + static fromNumber(value) { + if (isNaN(value)) return Long.ZERO -try { - regeneratorRuntime = runtime; -} catch (accidentalStrictMode) { - // This module should not be running in strict mode, so the above - // assignment should always work unless something is misconfigured. Just - // in case runtime.js accidentally runs in strict mode, in modern engines - // we can explicitly access globalThis. In older engines we can escape - // strict mode using a global Function call. This could conceivably fail - // if a Content Security Policy forbids using Function, but in that case - // the proper solution is to fix the accidental strict mode problem. If - // you've misconfigured your bundler to force strict mode and applied a - // CSP to forbid Function, and you're not willing to fix either of those - // problems, please detail your unique predicament in a GitHub issue. - if (typeof globalThis === "object") { - globalThis.regeneratorRuntime = runtime; - } else { - Function("r", "regeneratorRuntime = r")(runtime); + return new Long(BigInt(value)) } -} + /** + * @function + * @param {bigint|number|string|Long} val + * @returns {!Long} + * @inner + */ + static fromValue(val) { + if (typeof val === 'number') return this.fromNumber(val) + if (typeof val === 'string') return this.fromString(val) + if (typeof val === 'bigint') return new Long(val) + if (this.isLong(val)) return new Long(BigInt(val.value)) -/***/ }), + return new Long(BigInt(val)) + } -/***/ "./node_modules/safe-buffer/index.js": -/*!*******************************************!*\ - !*** ./node_modules/safe-buffer/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_exports__, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 13:2-16 */ -/*! CommonJS bailout: exports is used directly at 16:20-27 */ -/***/ ((module, exports, __webpack_require__) => { + /** + * @param {string} str + * @returns {!Long} + * @inner + */ + static fromString(str) { + if (str.length === 0) throw Error('empty string') + if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity') + return Long.ZERO + return new Long(BigInt(str)) + } -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -/* eslint-disable node/no-deprecated-api */ -var buffer = __webpack_require__(/*! buffer */ "buffer") -var Buffer = buffer.Buffer + /** + * Tests if this Long's value equals zero. + * @returns {boolean} + */ + isZero() { + return this.value === BigInt(0) + } -// alternative to using Object.keys for old browsers -function copyProps (src, dst) { - for (var key in src) { - dst[key] = src[key] + /** + * Tests if this Long's value is negative. + * @returns {boolean} + */ + isNegative() { + return this.value < BigInt(0) } -} -if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { - module.exports = buffer -} else { - // Copy properties from require('buffer') - copyProps(buffer, exports) - exports.Buffer = SafeBuffer -} -function SafeBuffer (arg, encodingOrOffset, length) { - return Buffer(arg, encodingOrOffset, length) -} + /** + * Converts the Long to a string. + * @returns {string} + * @override + */ + toString() { + return String(this.value) + } -SafeBuffer.prototype = Object.create(Buffer.prototype) + /** + * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa) + * @returns {number} + * @override + */ + toNumber() { + return Number(this.value) + } -// Copy static methods from Buffer -copyProps(Buffer, SafeBuffer) + /** + * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. + * @returns {number} + */ + toInt() { + return Number(BigInt.asIntN(32, this.value)) + } -SafeBuffer.from = function (arg, encodingOrOffset, length) { - if (typeof arg === 'number') { - throw new TypeError('Argument must not be a number') + /** + * Converts the Long to JSON + * @returns {string} + * @override + */ + toJSON() { + return this.toString() } - return Buffer(arg, encodingOrOffset, length) -} -SafeBuffer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') + /** + * Returns this Long with bits shifted to the left by the given amount. + * @param {number|bigint} numBits Number of bits + * @returns {!Long} Shifted bigint + */ + shiftLeft(numBits) { + return new Long(this.value << BigInt(numBits)) } - var buf = Buffer(size) - if (fill !== undefined) { - if (typeof encoding === 'string') { - buf.fill(fill, encoding) - } else { - buf.fill(fill) - } - } else { - buf.fill(0) + + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. + * @param {number|bigint} numBits Number of bits + * @returns {!Long} Shifted bigint + */ + shiftRight(numBits) { + return new Long(this.value >> BigInt(numBits)) } - return buf -} -SafeBuffer.allocUnsafe = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') + /** + * Returns the bitwise OR of this Long and the specified. + * @param {bigint|number|string} other Other Long + * @returns {!Long} + */ + or(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return Long.fromBits(this.value | other.value) } - return Buffer(size) -} -SafeBuffer.allocUnsafeSlow = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') + /** + * Returns the bitwise XOR of this Long and the given one. + * @param {bigint|number|string} other Other Long + * @returns {!Long} + */ + xor(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return new Long(this.value ^ other.value) } - return buffer.SlowBuffer(size) -} + /** + * Returns the bitwise AND of this Long and the specified. + * @param {bigint|number|string} other Other Long + * @returns {!Long} + */ + and(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return new Long(this.value & other.value) + } -/***/ }), + /** + * Returns the bitwise NOT of this Long. + * @returns {!Long} + */ + not() { + return new Long(~this.value) + } -/***/ "./node_modules/safer-buffer/safer.js": -/*!********************************************!*\ - !*** ./node_modules/safer-buffer/safer.js ***! - \********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 77:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + /** + * Returns this Long with bits logically shifted to the right by the given amount. + * @param {number|bigint} numBits Number of bits + * @returns {!Long} Shifted bigint + */ + shiftRightUnsigned(numBits) { + return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits))) + } -"use strict"; -/* eslint-disable node/no-deprecated-api */ + /** + * Tests if this Long's value equals the specified's. + * @param {bigint|number|string} other Other value + * @returns {boolean} + */ + equals(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return this.value === other.value + } + /** + * Tests if this Long's value is greater than or equal the specified's. + * @param {!Long|number|string} other Other value + * @returns {boolean} + */ + greaterThanOrEqual(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return this.value >= other.value + } + gte(other) { + return this.greaterThanOrEqual(other) + } -var buffer = __webpack_require__(/*! buffer */ "buffer") -var Buffer = buffer.Buffer + notEquals(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return !this.equals(/* validates */ other) + } -var safer = {} + /** + * Returns the sum of this and the specified Long. + * @param {!Long|number|string} addend Addend + * @returns {!Long} Sum + */ + add(addend) { + if (!Long.isLong(addend)) addend = Long.fromValue(addend) + return new Long(this.value + addend.value) + } -var key + /** + * Returns the difference of this and the specified Long. + * @param {!Long|number|string} subtrahend Subtrahend + * @returns {!Long} Difference + */ + subtract(subtrahend) { + if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend) + return this.add(subtrahend.negate()) + } -for (key in buffer) { - if (!buffer.hasOwnProperty(key)) continue - if (key === 'SlowBuffer' || key === 'Buffer') continue - safer[key] = buffer[key] -} + /** + * Returns the product of this and the specified Long. + * @param {!Long|number|string} multiplier Multiplier + * @returns {!Long} Product + */ + multiply(multiplier) { + if (this.isZero()) return Long.ZERO + if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier) + return new Long(this.value * multiplier.value) + } -var Safer = safer.Buffer = {} -for (key in Buffer) { - if (!Buffer.hasOwnProperty(key)) continue - if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue - Safer[key] = Buffer[key] -} + /** + * Returns this Long divided by the specified. The result is signed if this Long is signed or + * unsigned if this Long is unsigned. + * @param {!Long|number|string} divisor Divisor + * @returns {!Long} Quotient + */ + divide(divisor) { + if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor) + if (divisor.isZero()) throw Error('division by zero') + return new Long(this.value / divisor.value) + } -safer.Buffer.prototype = Buffer.prototype + /** + * Compares this Long's value with the specified's. + * @param {!Long|number|string} other Other value + * @returns {number} 0 if they are the same, 1 if the this is greater and -1 + * if the given one is greater + */ + compare(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + if (this.value === other.value) return 0 + if (this.value > other.value) return 1 + if (other.value > this.value) return -1 + } -if (!Safer.from || Safer.from === Uint8Array.from) { - Safer.from = function (value, encodingOrOffset, length) { - if (typeof value === 'number') { - throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value) - } - if (value && typeof value.length === 'undefined') { - throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value) - } - return Buffer(value, encodingOrOffset, length) + /** + * Tests if this Long's value is less than the specified's. + * @param {!Long|number|string} other Other value + * @returns {boolean} + */ + lessThan(other) { + if (!Long.isLong(other)) other = Long.fromValue(other) + return this.value < other.value } -} -if (!Safer.alloc) { - Safer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) - } - if (size < 0 || size >= 2 * (1 << 30)) { - throw new RangeError('The value "' + size + '" is invalid for option "size"') - } - var buf = Buffer(size) - if (!fill || fill.length === 0) { - buf.fill(0) - } else if (typeof encoding === 'string') { - buf.fill(fill, encoding) - } else { - buf.fill(fill) + /** + * Negates this Long's value. + * @returns {!Long} Negated Long + */ + negate() { + if (this.equals(Long.MIN_VALUE)) { + return Long.MIN_VALUE } - return buf + return this.not().add(Long.ONE) } -} -if (!safer.kStringMaxLength) { - try { - safer.kStringMaxLength = process.binding('buffer').kStringMaxLength - } catch (e) { - // we can't determine kStringMaxLength in environments where process.binding - // is unsupported, so let's not set it + /** + * Gets the high 32 bits as a signed integer. + * @returns {number} Signed high bits + */ + getHighBits() { + return Number(BigInt.asIntN(32, this.value >> BigInt(32))) } -} -if (!safer.constants) { - safer.constants = { - MAX_LENGTH: safer.kMaxLength - } - if (safer.kStringMaxLength) { - safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength + /** + * Gets the low 32 bits as a signed integer. + * @returns {number} Signed low bits + */ + getLowBits() { + return Number(BigInt.asIntN(32, this.value)) } } -module.exports = safer - - -/***/ }), - -/***/ "./node_modules/send/index.js": -/*!************************************!*\ - !*** ./node_modules/send/index.js ***! - \************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 70:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * send - * Copyright(c) 2012 TJ Holowaychuk - * Copyright(c) 2014-2022 Douglas Christopher Wilson - * MIT Licensed - */ - - - /** - * Module dependencies. - * @private + * Minimum signed value. + * @type {bigint} */ - -var createError = __webpack_require__(/*! http-errors */ "./node_modules/http-errors/index.js") -var debug = __webpack_require__(/*! debug */ "./node_modules/send/node_modules/debug/src/index.js")('send') -var deprecate = __webpack_require__(/*! depd */ "./node_modules/depd/index.js")('send') -var destroy = __webpack_require__(/*! destroy */ "./node_modules/destroy/index.js") -var encodeUrl = __webpack_require__(/*! encodeurl */ "./node_modules/encodeurl/index.js") -var escapeHtml = __webpack_require__(/*! escape-html */ "./node_modules/escape-html/index.js") -var etag = __webpack_require__(/*! etag */ "./node_modules/etag/index.js") -var fresh = __webpack_require__(/*! fresh */ "./node_modules/fresh/index.js") -var fs = __webpack_require__(/*! fs */ "fs") -var mime = __webpack_require__(/*! mime */ "./node_modules/mime/mime.js") -var ms = __webpack_require__(/*! ms */ "./node_modules/ms/index.js") -var onFinished = __webpack_require__(/*! on-finished */ "./node_modules/on-finished/index.js") -var parseRange = __webpack_require__(/*! range-parser */ "./node_modules/range-parser/index.js") -var path = __webpack_require__(/*! path */ "path") -var statuses = __webpack_require__(/*! statuses */ "./node_modules/statuses/index.js") -var Stream = __webpack_require__(/*! stream */ "stream") -var util = __webpack_require__(/*! util */ "util") +Long.MIN_VALUE = new Long(BigInt('-9223372036854775808')) /** - * Path function references. - * @private + * Maximum signed value. + * @type {bigint} */ - -var extname = path.extname -var join = path.join -var normalize = path.normalize -var resolve = path.resolve -var sep = path.sep +Long.MAX_VALUE = new Long(BigInt('9223372036854775807')) /** - * Regular expression for identifying a bytes Range header. - * @private + * Signed zero. + * @type {Long} */ - -var BYTES_RANGE_REGEXP = /^ *bytes=/ +Long.ZERO = Long.fromInt(0) /** - * Maximum value allowed for the max age. - * @private + * Signed one. + * @type {!Long} */ +Long.ONE = Long.fromInt(1) -var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1000 // 1 year - -/** - * Regular expression to match a path with a directory up component. - * @private - */ +module.exports = Long -var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/ -/** - * Module exports. - * @public - */ +/***/ }), -module.exports = send -module.exports.mime = mime +/***/ "./node_modules/kafkajs/src/utils/sharedPromiseTo.js": +/*!***********************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/sharedPromiseTo.js ***! + \***********************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module) => { /** - * Return a `SendStream` for `req` and `path`. - * - * @param {object} req - * @param {string} path - * @param {object} [options] - * @return {SendStream} - * @public + * @template T + * @param { (...args: any) => Promise } [asyncFunction] + * Promise returning function that will only ever be invoked sequentially. + * @returns { (...args: any) => Promise } + * Function that may invoke asyncFunction if there is not a currently executing invocation. + * Returns promise from the currently executing invocation. */ +module.exports = asyncFunction => { + let promise = null -function send (req, path, options) { - return new SendStream(req, path, options) + return (...args) => { + if (promise == null) { + promise = asyncFunction(...args).finally(() => (promise = null)) + } + return promise + } } -/** - * Initialize a `SendStream` with the given `path`. - * - * @param {Request} req - * @param {String} path - * @param {object} [options] - * @private - */ - -function SendStream (req, path, options) { - Stream.call(this) - - var opts = options || {} - - this.options = opts - this.path = path - this.req = req - - this._acceptRanges = opts.acceptRanges !== undefined - ? Boolean(opts.acceptRanges) - : true - this._cacheControl = opts.cacheControl !== undefined - ? Boolean(opts.cacheControl) - : true - - this._etag = opts.etag !== undefined - ? Boolean(opts.etag) - : true - - this._dotfiles = opts.dotfiles !== undefined - ? opts.dotfiles - : 'ignore' - - if (this._dotfiles !== 'ignore' && this._dotfiles !== 'allow' && this._dotfiles !== 'deny') { - throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"') - } +/***/ }), - this._hidden = Boolean(opts.hidden) +/***/ "./node_modules/kafkajs/src/utils/shuffle.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/shuffle.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 6:0-14 */ +/***/ ((module) => { - if (opts.hidden !== undefined) { - deprecate('hidden: use dotfiles: \'' + (this._hidden ? 'allow' : 'ignore') + '\' instead') +/** + * @param {T[]} array + * @returns T[] + * @template T + */ +module.exports = array => { + if (!Array.isArray(array)) { + throw new TypeError("'array' is not an array") } - // legacy support - if (opts.dotfiles === undefined) { - this._dotfiles = undefined + if (array.length < 2) { + return array } - this._extensions = opts.extensions !== undefined - ? normalizeList(opts.extensions, 'extensions option') - : [] - - this._immutable = opts.immutable !== undefined - ? Boolean(opts.immutable) - : false - - this._index = opts.index !== undefined - ? normalizeList(opts.index, 'index option') - : ['index.html'] - - this._lastModified = opts.lastModified !== undefined - ? Boolean(opts.lastModified) - : true - - this._maxage = opts.maxAge || opts.maxage - this._maxage = typeof this._maxage === 'string' - ? ms(this._maxage) - : Number(this._maxage) - this._maxage = !isNaN(this._maxage) - ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) - : 0 - - this._root = opts.root - ? resolve(opts.root) - : null + const copy = array.slice() - if (!this._root && opts.from) { - this.from(opts.from) + for (let i = copy.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)) + const temp = copy[i] + copy[i] = copy[j] + copy[j] = temp } + + return copy } -/** - * Inherits from `Stream`. - */ -util.inherits(SendStream, Stream) +/***/ }), -/** - * Enable or disable etag generation. - * - * @param {Boolean} val - * @return {SendStream} - * @api public - */ +/***/ "./node_modules/kafkajs/src/utils/sleep.js": +/*!*************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/sleep.js ***! + \*************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 1:0-14 */ +/***/ ((module) => { -SendStream.prototype.etag = deprecate.function(function etag (val) { - this._etag = Boolean(val) - debug('etag %s', this._etag) - return this -}, 'send.etag: pass etag as option') +module.exports = timeInMs => + new Promise(resolve => { + setTimeout(resolve, timeInMs) + }) -/** - * Enable or disable "hidden" (dot) files. - * - * @param {Boolean} path - * @return {SendStream} - * @api public - */ -SendStream.prototype.hidden = deprecate.function(function hidden (val) { - this._hidden = Boolean(val) - this._dotfiles = undefined - debug('hidden %s', this._hidden) - return this -}, 'send.hidden: use dotfiles option') +/***/ }), -/** - * Set index `paths`, set to a falsy - * value to disable index support. - * - * @param {String|Boolean|Array} paths - * @return {SendStream} - * @api public - */ +/***/ "./node_modules/kafkajs/src/utils/swapObject.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/swapObject.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ +/***/ ((module) => { -SendStream.prototype.index = deprecate.function(function index (paths) { - var index = !paths ? [] : normalizeList(paths, 'paths argument') - debug('index %o', paths) - this._index = index - return this -}, 'send.index: pass index as option') +const { keys } = Object +module.exports = object => + keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {}) -/** - * Set root `path`. - * - * @param {String} path - * @return {SendStream} - * @api public - */ -SendStream.prototype.root = function root (path) { - this._root = resolve(String(path)) - debug('root %s', this._root) - return this -} +/***/ }), -SendStream.prototype.from = deprecate.function(SendStream.prototype.root, - 'send.from: pass root as option') +/***/ "./node_modules/kafkajs/src/utils/waitFor.js": +/*!***************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/waitFor.js ***! + \***************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 4:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -SendStream.prototype.root = deprecate.function(SendStream.prototype.root, - 'send.root: pass root as option') +const sleep = __webpack_require__(/*! ./sleep */ "./node_modules/kafkajs/src/utils/sleep.js") +const { KafkaJSTimeout } = __webpack_require__(/*! ../errors */ "./node_modules/kafkajs/src/errors.js") -/** - * Set max-age to `maxAge`. - * - * @param {Number} maxAge - * @return {SendStream} - * @api public - */ +module.exports = ( + fn, + { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {} +) => { + let timeoutId + let totalWait = 0 + let fulfilled = false -SendStream.prototype.maxage = deprecate.function(function maxage (maxAge) { - this._maxage = typeof maxAge === 'string' - ? ms(maxAge) - : Number(maxAge) - this._maxage = !isNaN(this._maxage) - ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) - : 0 - debug('max-age %d', this._maxage) - return this -}, 'send.maxage: pass maxAge as option') + const checkCondition = async (resolve, reject) => { + totalWait += delay + await sleep(delay) -/** - * Emit error with `status`. - * - * @param {number} status - * @param {Error} [err] - * @private - */ + try { + const result = await fn(totalWait) + if (result) { + fulfilled = true + clearTimeout(timeoutId) + return resolve(result) + } -SendStream.prototype.error = function error (status, err) { - // emit if listeners instead of responding - if (hasListeners(this, 'error')) { - return this.emit('error', createHttpError(status, err)) + checkCondition(resolve, reject) + } catch (e) { + fulfilled = true + clearTimeout(timeoutId) + reject(e) + } } - var res = this.res - var msg = statuses.message[status] || String(status) - var doc = createHtmlDocument('Error', escapeHtml(msg)) - - // clear existing headers - clearHeaders(res) + return new Promise((resolve, reject) => { + checkCondition(resolve, reject) - // add error headers - if (err && err.headers) { - setHeaders(res, err.headers) - } + if (ignoreTimeout) { + return + } - // send basic response - res.statusCode = status - res.setHeader('Content-Type', 'text/html; charset=UTF-8') - res.setHeader('Content-Length', Buffer.byteLength(doc)) - res.setHeader('Content-Security-Policy', "default-src 'none'") - res.setHeader('X-Content-Type-Options', 'nosniff') - res.end(doc) + timeoutId = setTimeout(() => { + if (!fulfilled) { + return reject(new KafkaJSTimeout(timeoutMessage)) + } + }, maxWait) + }) } -/** - * Check if the pathname ends with "/". - * - * @return {boolean} - * @private - */ -SendStream.prototype.hasTrailingSlash = function hasTrailingSlash () { - return this.path[this.path.length - 1] === '/' -} +/***/ }), -/** - * Check if this is a conditional GET request. - * - * @return {Boolean} - * @api private - */ +/***/ "./node_modules/kafkajs/src/utils/websiteUrl.js": +/*!******************************************************!*\ + !*** ./node_modules/kafkajs/src/utils/websiteUrl.js ***! + \******************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module) => { -SendStream.prototype.isConditionalGET = function isConditionalGET () { - return this.req.headers['if-match'] || - this.req.headers['if-unmodified-since'] || - this.req.headers['if-none-match'] || - this.req.headers['if-modified-since'] -} +const BASE_URL = 'https://kafka.js.org' -/** - * Check if the request preconditions failed. - * - * @return {boolean} - * @private - */ +module.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}` -SendStream.prototype.isPreconditionFailure = function isPreconditionFailure () { - var req = this.req - var res = this.res - - // if-match - var match = req.headers['if-match'] - if (match) { - var etag = res.getHeader('ETag') - return !etag || (match !== '*' && parseTokenList(match).every(function (match) { - return match !== etag && match !== 'W/' + etag && 'W/' + match !== etag - })) - } - // if-unmodified-since - var unmodifiedSince = parseHttpDate(req.headers['if-unmodified-since']) - if (!isNaN(unmodifiedSince)) { - var lastModified = parseHttpDate(res.getHeader('Last-Modified')) - return isNaN(lastModified) || lastModified > unmodifiedSince - } +/***/ }), - return false -} +/***/ "./node_modules/ms/index.js": +/*!**********************************!*\ + !*** ./node_modules/ms/index.js ***! + \**********************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module) => { /** - * Strip various content header fields for a change in entity. - * - * @private + * Helpers. */ -SendStream.prototype.removeContentHeaderFields = function removeContentHeaderFields () { - var res = this.res - - res.removeHeader('Content-Encoding') - res.removeHeader('Content-Language') - res.removeHeader('Content-Length') - res.removeHeader('Content-Range') - res.removeHeader('Content-Type') -} +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; /** - * Respond with 304 not modified. + * Parse or format the given `val`. * - * @api private - */ - -SendStream.prototype.notModified = function notModified () { - var res = this.res - debug('not modified') - this.removeContentHeaderFields() - res.statusCode = 304 - res.end() -} - -/** - * Raise error that headers already sent. + * Options: * - * @api private - */ - -SendStream.prototype.headersAlreadySent = function headersAlreadySent () { - var err = new Error('Can\'t set headers after they are sent.') - debug('headers already sent') - this.error(500, err) -} - -/** - * Check if the request is cacheable, aka - * responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}). + * - `long` verbose formatting [false] * - * @return {Boolean} - * @api private + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public */ -SendStream.prototype.isCachable = function isCachable () { - var statusCode = this.res.statusCode - return (statusCode >= 200 && statusCode < 300) || - statusCode === 304 -} +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; /** - * Handle stat() error. + * Parse the given `str` and return milliseconds. * - * @param {Error} error - * @private + * @param {String} str + * @return {Number} + * @api private */ -SendStream.prototype.onStatError = function onStatError (error) { - switch (error.code) { - case 'ENAMETOOLONG': - case 'ENOENT': - case 'ENOTDIR': - this.error(404, error) - break +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; default: - this.error(500, error) - break + return undefined; } } /** - * Check if the cache is fresh. + * Short format for `ms`. * - * @return {Boolean} + * @param {Number} ms + * @return {String} * @api private */ -SendStream.prototype.isFresh = function isFresh () { - return fresh(this.req.headers, { - etag: this.res.getHeader('ETag'), - 'last-modified': this.res.getHeader('Last-Modified') - }) +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; } /** - * Check if the range is fresh. + * Long format for `ms`. * - * @return {Boolean} + * @param {Number} ms + * @return {String} * @api private */ -SendStream.prototype.isRangeFresh = function isRangeFresh () { - var ifRange = this.req.headers['if-range'] - - if (!ifRange) { - return true +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); } - - // if-range as etag - if (ifRange.indexOf('"') !== -1) { - var etag = this.res.getHeader('ETag') - return Boolean(etag && ifRange.indexOf(etag) !== -1) + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); } - - // if-range as modified date - var lastModified = this.res.getHeader('Last-Modified') - return parseHttpDate(lastModified) <= parseHttpDate(ifRange) + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; } /** - * Redirect to path. - * - * @param {string} path - * @private + * Pluralization helper. */ -SendStream.prototype.redirect = function redirect (path) { - var res = this.res - - if (hasListeners(this, 'directory')) { - this.emit('directory', res, path) - return - } +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} - if (this.hasTrailingSlash()) { - this.error(403) - return - } - var loc = encodeUrl(collapseLeadingSlashes(this.path + '/')) - var doc = createHtmlDocument('Redirecting', 'Redirecting to ' + - escapeHtml(loc) + '') +/***/ }), - // redirect - res.statusCode = 301 - res.setHeader('Content-Type', 'text/html; charset=UTF-8') - res.setHeader('Content-Length', Buffer.byteLength(doc)) - res.setHeader('Content-Security-Policy', "default-src 'none'") - res.setHeader('X-Content-Type-Options', 'nosniff') - res.setHeader('Location', loc) - res.end(doc) -} +/***/ "./node_modules/multicast-dns/index.js": +/*!*********************************************!*\ + !*** ./node_modules/multicast-dns/index.js ***! + \*********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 9:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Pipe to `res. - * - * @param {Stream} res - * @return {Stream} res - * @api public - */ +var packet = __webpack_require__(/*! dns-packet */ "./node_modules/dns-packet/index.js") +var dgram = __webpack_require__(/*! dgram */ "dgram") +var thunky = __webpack_require__(/*! thunky */ "./node_modules/thunky/index.js") +var events = __webpack_require__(/*! events */ "events") +var os = __webpack_require__(/*! os */ "os") -SendStream.prototype.pipe = function pipe (res) { - // root path - var root = this._root +var noop = function () {} - // references - this.res = res +module.exports = function (opts) { + if (!opts) opts = {} - // decode the path - var path = decode(this.path) - if (path === -1) { - this.error(400) - return res - } + var that = new events.EventEmitter() + var port = typeof opts.port === 'number' ? opts.port : 5353 + var type = opts.type || 'udp4' + var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null) + var me = {address: ip, port: port} + var memberships = {} + var destroyed = false + var interval = null - // null byte(s) - if (~path.indexOf('\0')) { - this.error(400) - return res + if (type === 'udp6' && (!ip || !opts.interface)) { + throw new Error('For IPv6 multicast you must specify `ip` and `interface`') } - var parts - if (root !== null) { - // normalize - if (path) { - path = normalize('.' + sep + path) - } - - // malicious path - if (UP_PATH_REGEXP.test(path)) { - debug('malicious path "%s"', path) - this.error(403) - return res + var socket = opts.socket || dgram.createSocket({ + type: type, + reuseAddr: opts.reuseAddr !== false, + toString: function () { + return type } + }) - // explode path parts - parts = path.split(sep) + socket.on('error', function (err) { + if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err) + else that.emit('warning', err) + }) - // join / normalize from optional root dir - path = normalize(join(root, path)) - } else { - // ".." is malicious without "root" - if (UP_PATH_REGEXP.test(path)) { - debug('malicious path "%s"', path) - this.error(403) - return res + socket.on('message', function (message, rinfo) { + try { + message = packet.decode(message) + } catch (err) { + that.emit('warning', err) + return } - // explode path parts - parts = normalize(path).split(sep) - - // resolve the path - path = resolve(path) - } - - // dotfile handling - if (containsDotFile(parts)) { - var access = this._dotfiles + that.emit('packet', message, rinfo) - // legacy support - if (access === undefined) { - access = parts[parts.length - 1][0] === '.' - ? (this._hidden ? 'allow' : 'ignore') - : 'allow' - } + if (message.type === 'query') that.emit('query', message, rinfo) + if (message.type === 'response') that.emit('response', message, rinfo) + }) - debug('%s dotfile "%s"', access, path) - switch (access) { - case 'allow': - break - case 'deny': - this.error(403) - return res - case 'ignore': - default: - this.error(404) - return res + socket.on('listening', function () { + if (!port) port = me.port = socket.address().port + if (opts.multicast !== false) { + that.update() + interval = setInterval(that.update, 5000) + socket.setMulticastTTL(opts.ttl || 255) + socket.setMulticastLoopback(opts.loopback !== false) } - } + }) - // index file support - if (this._index.length && this.hasTrailingSlash()) { - this.sendIndex(path) - return res - } + var bind = thunky(function (cb) { + if (!port || opts.bind === false) return cb(null) + socket.once('error', cb) + socket.bind(port, opts.bind || opts.interface, function () { + socket.removeListener('error', cb) + cb(null) + }) + }) - this.sendFile(path) - return res -} + bind(function (err) { + if (err) return that.emit('error', err) + that.emit('ready') + }) -/** - * Transfer `path`. - * - * @param {String} path - * @api public - */ + that.send = function (value, rinfo, cb) { + if (typeof rinfo === 'function') return that.send(value, null, rinfo) + if (!cb) cb = noop + if (!rinfo) rinfo = me + else if (!rinfo.host && !rinfo.address) rinfo.address = me.address -SendStream.prototype.send = function send (path, stat) { - var len = stat.size - var options = this.options - var opts = {} - var res = this.res - var req = this.req - var ranges = req.headers.range - var offset = options.start || 0 + bind(onbind) - if (headersSent(res)) { - // impossible to send now - this.headersAlreadySent() - return + function onbind (err) { + if (destroyed) return cb() + if (err) return cb(err) + var message = packet.encode(value) + socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb) + } } - debug('pipe "%s"', path) - - // set header fields - this.setHeader(path, stat) + that.response = + that.respond = function (res, rinfo, cb) { + if (Array.isArray(res)) res = {answers: res} - // set content-type - this.type(path) + res.type = 'response' + res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER + that.send(res, rinfo, cb) + } - // conditional GET support - if (this.isConditionalGET()) { - if (this.isPreconditionFailure()) { - this.error(412) - return - } + that.query = function (q, type, rinfo, cb) { + if (typeof type === 'function') return that.query(q, null, null, type) + if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo) + if (typeof rinfo === 'function') return that.query(q, type, null, rinfo) + if (!cb) cb = noop - if (this.isCachable() && this.isFresh()) { - this.notModified() - return - } - } + if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}] + if (Array.isArray(q)) q = {type: 'query', questions: q} - // adjust len to start/end options - len = Math.max(0, len - offset) - if (options.end !== undefined) { - var bytes = options.end - offset + 1 - if (len > bytes) len = bytes + q.type = 'query' + that.send(q, rinfo, cb) } - // Range support - if (this._acceptRanges && BYTES_RANGE_REGEXP.test(ranges)) { - // parse - ranges = parseRange(len, ranges, { - combine: true - }) + that.destroy = function (cb) { + if (!cb) cb = noop + if (destroyed) return process.nextTick(cb) + destroyed = true + clearInterval(interval) - // If-Range support - if (!this.isRangeFresh()) { - debug('range stale') - ranges = -2 + // Need to drop memberships by hand and ignore errors. + // socket.close() does not cope with errors. + for (var iface in memberships) { + try { + socket.dropMembership(ip, iface) + } catch (e) { + // eat it + } } + memberships = {} + socket.close(cb) + } - // unsatisfiable - if (ranges === -1) { - debug('range unsatisfiable') + that.update = function () { + var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces() + var updated = false - // Content-Range - res.setHeader('Content-Range', contentRange('bytes', len)) + for (var i = 0; i < ifaces.length; i++) { + var addr = ifaces[i] + if (memberships[addr]) continue - // 416 Requested Range Not Satisfiable - return this.error(416, { - headers: { 'Content-Range': res.getHeader('Content-Range') } - }) + try { + socket.addMembership(ip, addr) + memberships[addr] = true + updated = true + } catch (err) { + that.emit('warning', err) + } } - // valid (syntactically invalid/multiple ranges are treated as a regular response) - if (ranges !== -2 && ranges.length === 1) { - debug('range %j', ranges) - - // Content-Range - res.statusCode = 206 - res.setHeader('Content-Range', contentRange('bytes', len, ranges[0])) - - // adjust for requested range - offset += ranges[0].start - len = ranges[0].end - ranges[0].start + 1 + if (updated) { + if (socket.setMulticastInterface) { + try { + socket.setMulticastInterface(opts.interface || defaultInterface()) + } catch (err) { + that.emit('warning', err) + } + } + that.emit('networkInterface') } } - // clone options - for (var prop in options) { - opts[prop] = options[prop] - } - - // set read options - opts.start = offset - opts.end = Math.max(offset, offset + len - 1) - - // content-length - res.setHeader('Content-Length', len) - - // HEAD support - if (req.method === 'HEAD') { - res.end() - return - } - - this.stream(path, opts) + return that } -/** - * Transfer file for `path`. - * - * @param {String} path - * @api private - */ -SendStream.prototype.sendFile = function sendFile (path) { - var i = 0 - var self = this - - debug('stat "%s"', path) - fs.stat(path, function onstat (err, stat) { - if (err && err.code === 'ENOENT' && !extname(path) && path[path.length - 1] !== sep) { - // not found, check extensions - return next(err) - } - if (err) return self.onStatError(err) - if (stat.isDirectory()) return self.redirect(path) - self.emit('file', path, stat) - self.send(path, stat) - }) +function defaultInterface () { + var networks = os.networkInterfaces() + var names = Object.keys(networks) - function next (err) { - if (self._extensions.length <= i) { - return err - ? self.onStatError(err) - : self.error(404) + for (var i = 0; i < names.length; i++) { + var net = networks[names[i]] + for (var j = 0; j < net.length; j++) { + var iface = net[j] + if (isIPv4(iface.family) && !iface.internal) { + if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address + return '0.0.0.0' + } } - - var p = path + '.' + self._extensions[i++] - - debug('stat "%s"', p) - fs.stat(p, function (err, stat) { - if (err) return next(err) - if (stat.isDirectory()) return next() - self.emit('file', p, stat) - self.send(p, stat) - }) } + + return '127.0.0.1' } -/** - * Transfer index for `path`. - * - * @param {String} path - * @api private - */ -SendStream.prototype.sendIndex = function sendIndex (path) { - var i = -1 - var self = this +function allInterfaces () { + var networks = os.networkInterfaces() + var names = Object.keys(networks) + var res = [] - function next (err) { - if (++i >= self._index.length) { - if (err) return self.onStatError(err) - return self.error(404) + for (var i = 0; i < names.length; i++) { + var net = networks[names[i]] + for (var j = 0; j < net.length; j++) { + var iface = net[j] + if (isIPv4(iface.family)) { + res.push(iface.address) + // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface) + break + } } - - var p = join(path, self._index[i]) - - debug('stat "%s"', p) - fs.stat(p, function (err, stat) { - if (err) return next(err) - if (stat.isDirectory()) return next() - self.emit('file', p, stat) - self.send(p, stat) - }) } - next() + return res } -/** - * Stream `path` to the response. - * - * @param {String} path - * @param {Object} options - * @api private - */ - -SendStream.prototype.stream = function stream (path, options) { - var self = this - var res = this.res +function isIPv4 (family) { // for backwards compat + return family === 4 || family === 'IPv4' +} - // pipe - var stream = fs.createReadStream(path, options) - this.emit('stream', stream) - stream.pipe(res) - // cleanup - function cleanup () { - destroy(stream, true) - } +/***/ }), - // response finished, cleanup - onFinished(res, cleanup) +/***/ "./node_modules/nanoid/index.js": +/*!**************************************!*\ + !*** ./node_modules/nanoid/index.js ***! + \**************************************/ +/*! namespace exports */ +/*! export customAlphabet [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export customRandom [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export nanoid [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export random [provided] [no usage info] [missing usage info prevents renaming] */ +/*! export urlAlphabet [provided] [no usage info] [missing usage info prevents renaming] -> ./node_modules/nanoid/url-alphabet/index.js .urlAlphabet */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__, __webpack_require__.n, __webpack_exports__, __webpack_require__.d, __webpack_require__.r, __webpack_require__.* */ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - // error handling - stream.on('error', function onerror (err) { - // clean up stream early - cleanup() +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "nanoid": () => /* binding */ nanoid, +/* harmony export */ "customAlphabet": () => /* binding */ customAlphabet, +/* harmony export */ "customRandom": () => /* binding */ customRandom, +/* harmony export */ "urlAlphabet": () => /* reexport safe */ _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__.urlAlphabet, +/* harmony export */ "random": () => /* binding */ random +/* harmony export */ }); +/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! crypto */ "crypto"); +/* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./url-alphabet/index.js */ "./node_modules/nanoid/url-alphabet/index.js"); - // error - self.onStatError(err) - }) - // end - stream.on('end', function onend () { - self.emit('end') - }) +const POOL_SIZE_MULTIPLIER = 128 +let pool, poolOffset +let fillPool = bytes => { + if (!pool || pool.length < bytes) { + pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER) + crypto__WEBPACK_IMPORTED_MODULE_0___default().randomFillSync(pool) + poolOffset = 0 + } else if (poolOffset + bytes > pool.length) { + crypto__WEBPACK_IMPORTED_MODULE_0___default().randomFillSync(pool) + poolOffset = 0 + } + poolOffset += bytes } - -/** - * Set content-type based on `path` - * if it hasn't been explicitly set. - * - * @param {String} path - * @api private - */ - -SendStream.prototype.type = function type (path) { - var res = this.res - - if (res.getHeader('Content-Type')) return - - var type = mime.lookup(path) - - if (!type) { - debug('no content-type') - return +let random = bytes => { + fillPool((bytes -= 0)) + return pool.subarray(poolOffset - bytes, poolOffset) +} +let customRandom = (alphabet, defaultSize, getRandom) => { + let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1 + let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length) + return (size = defaultSize) => { + let id = '' + while (true) { + let bytes = getRandom(step) + let i = step + while (i--) { + id += alphabet[bytes[i] & mask] || '' + if (id.length === size) return id + } + } + } +} +let customAlphabet = (alphabet, size = 21) => + customRandom(alphabet, size, random) +let nanoid = (size = 21) => { + fillPool((size -= 0)) + let id = '' + for (let i = poolOffset - size; i < poolOffset; i++) { + id += _url_alphabet_index_js__WEBPACK_IMPORTED_MODULE_1__.urlAlphabet[pool[i] & 63] } + return id +} - var charset = mime.charsets.lookup(type) - debug('content-type %s', type) - res.setHeader('Content-Type', type + (charset ? '; charset=' + charset : '')) -} -/** - * Set response header fields, most - * fields may be pre-defined. - * - * @param {String} path - * @param {Object} stat - * @api private - */ +/***/ }), -SendStream.prototype.setHeader = function setHeader (path, stat) { - var res = this.res +/***/ "./node_modules/nanoid/url-alphabet/index.js": +/*!***************************************************!*\ + !*** ./node_modules/nanoid/url-alphabet/index.js ***! + \***************************************************/ +/*! namespace exports */ +/*! export urlAlphabet [provided] [no usage info] [missing usage info prevents renaming] */ +/*! other exports [not provided] [no usage info] */ +/*! runtime requirements: __webpack_require__.r, __webpack_exports__, __webpack_require__.d, __webpack_require__.* */ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - this.emit('headers', res, path, stat) +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "urlAlphabet": () => /* binding */ urlAlphabet +/* harmony export */ }); +let urlAlphabet = + 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict' - if (this._acceptRanges && !res.getHeader('Accept-Ranges')) { - debug('accept ranges') - res.setHeader('Accept-Ranges', 'bytes') - } - if (this._cacheControl && !res.getHeader('Cache-Control')) { - var cacheControl = 'public, max-age=' + Math.floor(this._maxage / 1000) - if (this._immutable) { - cacheControl += ', immutable' - } +/***/ }), - debug('cache-control %s', cacheControl) - res.setHeader('Cache-Control', cacheControl) - } +/***/ "./node_modules/node-gyp-build/index.js": +/*!**********************************************!*\ + !*** ./node_modules/node-gyp-build/index.js ***! + \**********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 19:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - if (this._lastModified && !res.getHeader('Last-Modified')) { - var modified = stat.mtime.toUTCString() - debug('modified %s', modified) - res.setHeader('Last-Modified', modified) - } +var fs = __webpack_require__(/*! fs */ "fs") +var path = __webpack_require__(/*! path */ "path") +var os = __webpack_require__(/*! os */ "os") - if (this._etag && !res.getHeader('ETag')) { - var val = etag(stat) - debug('etag %s', val) - res.setHeader('ETag', val) - } -} +// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression' +var runtimeRequire = true ? require : 0 // eslint-disable-line -/** - * Clear all headers from a response. - * - * @param {object} res - * @private - */ +var vars = (process.config && process.config.variables) || {} +var prebuildsOnly = !!process.env.PREBUILDS_ONLY +var abi = process.versions.modules // TODO: support old node where this is undef +var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node') -function clearHeaders (res) { - var headers = getHeaderNames(res) +var arch = process.env.npm_config_arch || os.arch() +var platform = process.env.npm_config_platform || os.platform() +var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc') +var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || '' +var uv = (process.versions.uv || '').split('.')[0] - for (var i = 0; i < headers.length; i++) { - res.removeHeader(headers[i]) - } +module.exports = load + +function load (dir) { + return runtimeRequire(load.path(dir)) } -/** - * Collapse all leading slashes into a single slash - * - * @param {string} str - * @private - */ -function collapseLeadingSlashes (str) { - for (var i = 0; i < str.length; i++) { - if (str[i] !== '/') { - break - } - } +load.path = function (dir) { + dir = path.resolve(dir || '.') - return i > 1 - ? '/' + str.substr(i) - : str -} + try { + var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_') + if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD'] + } catch (err) {} -/** - * Determine if path parts contain a dotfile. - * - * @api private - */ + if (!prebuildsOnly) { + var release = getFirst(path.join(dir, 'build/Release'), matchBuild) + if (release) return release -function containsDotFile (parts) { - for (var i = 0; i < parts.length; i++) { - var part = parts[i] - if (part.length > 1 && part[0] === '.') { - return true - } + var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild) + if (debug) return debug } - return false -} - -/** - * Create a Content-Range header. - * - * @param {string} type - * @param {number} size - * @param {array} [range] - */ + var prebuild = resolve(dir) + if (prebuild) return prebuild -function contentRange (type, size, range) { - return type + ' ' + (range ? range.start + '-' + range.end : '*') + '/' + size -} + var nearby = resolve(path.dirname(process.execPath)) + if (nearby) return nearby -/** - * Create a minimal HTML document. - * - * @param {string} title - * @param {string} body - * @private - */ + var target = [ + 'platform=' + platform, + 'arch=' + arch, + 'runtime=' + runtime, + 'abi=' + abi, + 'uv=' + uv, + armv ? 'armv=' + armv : '', + 'libc=' + libc, + 'node=' + process.versions.node, + process.versions.electron ? 'electron=' + process.versions.electron : '', + true ? 'webpack=true' : 0 // eslint-disable-line + ].filter(Boolean).join(' ') -function createHtmlDocument (title, body) { - return '\n' + - '\n' + - '\n' + - '\n' + - '' + title + '\n' + - '\n' + - '\n' + - '
' + body + '
\n' + - '\n' + - '\n' -} + throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n') -/** - * Create a HttpError object from simple arguments. - * - * @param {number} status - * @param {Error|object} err - * @private - */ + function resolve (dir) { + // Find matching "prebuilds/-" directory + var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple) + var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0] + if (!tuple) return -function createHttpError (status, err) { - if (!err) { - return createError(status) + // Find most specific flavor first + var prebuilds = path.join(dir, 'prebuilds', tuple.name) + var parsed = readdirSync(prebuilds).map(parseTags) + var candidates = parsed.filter(matchTags(runtime, abi)) + var winner = candidates.sort(compareTags(runtime))[0] + if (winner) return path.join(prebuilds, winner.file) } - - return err instanceof Error - ? createError(status, err, { expose: false }) - : createError(status, err) } -/** - * decodeURIComponent. - * - * Allows V8 to only deoptimize this fn instead of all - * of send(). - * - * @param {String} path - * @api private - */ - -function decode (path) { +function readdirSync (dir) { try { - return decodeURIComponent(path) + return fs.readdirSync(dir) } catch (err) { - return -1 + return [] } } -/** - * Get the header names on a respnse. - * - * @param {object} res - * @returns {array[string]} - * @private - */ +function getFirst (dir, filter) { + var files = readdirSync(dir).filter(filter) + return files[0] && path.join(dir, files[0]) +} -function getHeaderNames (res) { - return typeof res.getHeaderNames !== 'function' - ? Object.keys(res._headers || {}) - : res.getHeaderNames() +function matchBuild (name) { + return /\.node$/.test(name) } -/** - * Determine if emitter has listeners of a given type. - * - * The way to do this check is done three different ways in Node.js >= 0.8 - * so this consolidates them into a minimal set using instance methods. - * - * @param {EventEmitter} emitter - * @param {string} type - * @returns {boolean} - * @private - */ +function parseTuple (name) { + // Example: darwin-x64+arm64 + var arr = name.split('-') + if (arr.length !== 2) return -function hasListeners (emitter, type) { - var count = typeof emitter.listenerCount !== 'function' - ? emitter.listeners(type).length - : emitter.listenerCount(type) + var platform = arr[0] + var architectures = arr[1].split('+') - return count > 0 + if (!platform) return + if (!architectures.length) return + if (!architectures.every(Boolean)) return + + return { name, platform, architectures } } -/** - * Determine if the response headers have been sent. - * - * @param {object} res - * @returns {boolean} - * @private - */ +function matchTuple (platform, arch) { + return function (tuple) { + if (tuple == null) return false + if (tuple.platform !== platform) return false + return tuple.architectures.includes(arch) + } +} -function headersSent (res) { - return typeof res.headersSent !== 'boolean' - ? Boolean(res._header) - : res.headersSent +function compareTuples (a, b) { + // Prefer single-arch prebuilds over multi-arch + return a.architectures.length - b.architectures.length } -/** - * Normalize the index option into an array. - * - * @param {boolean|string|array} val - * @param {string} name - * @private - */ +function parseTags (file) { + var arr = file.split('.') + var extension = arr.pop() + var tags = { file: file, specificity: 0 } -function normalizeList (val, name) { - var list = [].concat(val || []) + if (extension !== 'node') return + + for (var i = 0; i < arr.length; i++) { + var tag = arr[i] - for (var i = 0; i < list.length; i++) { - if (typeof list[i] !== 'string') { - throw new TypeError(name + ' must be array of strings or false') + if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') { + tags.runtime = tag + } else if (tag === 'napi') { + tags.napi = true + } else if (tag.slice(0, 3) === 'abi') { + tags.abi = tag.slice(3) + } else if (tag.slice(0, 2) === 'uv') { + tags.uv = tag.slice(2) + } else if (tag.slice(0, 4) === 'armv') { + tags.armv = tag.slice(4) + } else if (tag === 'glibc' || tag === 'musl') { + tags.libc = tag + } else { + continue } + + tags.specificity++ } - return list + return tags } -/** - * Parse an HTTP Date into a number. - * - * @param {string} date - * @private - */ - -function parseHttpDate (date) { - var timestamp = date && Date.parse(date) +function matchTags (runtime, abi) { + return function (tags) { + if (tags == null) return false + if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false + if (tags.abi !== abi && !tags.napi) return false + if (tags.uv && tags.uv !== uv) return false + if (tags.armv && tags.armv !== armv) return false + if (tags.libc && tags.libc !== libc) return false - return typeof timestamp === 'number' - ? timestamp - : NaN + return true + } } -/** - * Parse a HTTP token list. - * - * @param {string} str - * @private - */ - -function parseTokenList (str) { - var end = 0 - var list = [] - var start = 0 +function runtimeAgnostic (tags) { + return tags.runtime === 'node' && tags.napi +} - // gather tokens - for (var i = 0, len = str.length; i < len; i++) { - switch (str.charCodeAt(i)) { - case 0x20: /* */ - if (start === end) { - start = end = i + 1 - } - break - case 0x2c: /* , */ - if (start !== end) { - list.push(str.substring(start, end)) - } - start = end = i + 1 - break - default: - end = i + 1 - break +function compareTags (runtime) { + // Precedence: non-agnostic runtime, abi over napi, then by specificity. + return function (a, b) { + if (a.runtime !== b.runtime) { + return a.runtime === runtime ? -1 : 1 + } else if (a.abi !== b.abi) { + return a.abi ? -1 : 1 + } else if (a.specificity !== b.specificity) { + return a.specificity > b.specificity ? -1 : 1 + } else { + return 0 } } - - // final token - if (start !== end) { - list.push(str.substring(start, end)) - } - - return list } -/** - * Set an object of headers on a response. - * - * @param {object} res - * @param {object} headers - * @private - */ +function isNwjs () { + return !!(process.versions && process.versions.nw) +} -function setHeaders (res, headers) { - var keys = Object.keys(headers) +function isElectron () { + if (process.versions && process.versions.electron) return true + if (process.env.ELECTRON_RUN_AS_NODE) return true + return typeof window !== 'undefined' && window.process && window.process.type === 'renderer' +} - for (var i = 0; i < keys.length; i++) { - var key = keys[i] - res.setHeader(key, headers[key]) - } +function isAlpine (platform) { + return platform === 'linux' && fs.existsSync('/etc/alpine-release') } +// Exposed for unit tests +// TODO: move to lib +load.parseTags = parseTags +load.matchTags = matchTags +load.compareTags = compareTags +load.parseTuple = parseTuple +load.matchTuple = matchTuple +load.compareTuples = compareTuples + /***/ }), -/***/ "./node_modules/send/node_modules/debug/node_modules/ms/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/send/node_modules/debug/node_modules/ms/index.js ***! - \***********************************************************************/ +/***/ "./node_modules/on-headers/index.js": +/*!******************************************!*\ + !*** ./node_modules/on-headers/index.js ***! + \******************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 25:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ /***/ ((module) => { -/** - * Helpers. +"use strict"; +/*! + * on-headers + * Copyright(c) 2014 Douglas Christopher Wilson + * MIT Licensed */ -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var y = d * 365.25; - -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isNaN(val) === false) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; /** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private + * Module exports. + * @public */ -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} +module.exports = onHeaders /** - * Short format for `ms`. + * Create a replacement writeHead method. * - * @param {Number} ms - * @return {String} - * @api private + * @param {function} prevWriteHead + * @param {function} listener + * @private */ -function fmtShort(ms) { - if (ms >= d) { - return Math.round(ms / d) + 'd'; - } - if (ms >= h) { - return Math.round(ms / h) + 'h'; - } - if (ms >= m) { - return Math.round(ms / m) + 'm'; - } - if (ms >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} +function createWriteHead (prevWriteHead, listener) { + var fired = false -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ + // return function with core name and argument list + return function writeHead (statusCode) { + // set headers from arguments + var args = setWriteHeadHeaders.apply(this, arguments) -function fmtLong(ms) { - return plural(ms, d, 'day') || - plural(ms, h, 'hour') || - plural(ms, m, 'minute') || - plural(ms, s, 'second') || - ms + ' ms'; -} + // fire listener + if (!fired) { + fired = true + listener.call(this) -/** - * Pluralization helper. - */ + // pass-along an updated status code + if (typeof args[0] === 'number' && this.statusCode !== args[0]) { + args[0] = this.statusCode + args.length = 1 + } + } -function plural(ms, n, name) { - if (ms < n) { - return; - } - if (ms < n * 1.5) { - return Math.floor(ms / n) + ' ' + name; + return prevWriteHead.apply(this, args) } - return Math.ceil(ms / n) + ' ' + name + 's'; } - -/***/ }), - -/***/ "./node_modules/send/node_modules/debug/src/browser.js": -/*!*************************************************************!*\ - !*** ./node_modules/send/node_modules/debug/src/browser.js ***! - \*************************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 7:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 86:12-28 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 168:0-14 */ -/***/ ((module, exports, __webpack_require__) => { - /** - * This is the web browser implementation of `debug()`. + * Execute a listener when a response is about to write headers. * - * Expose `debug()` as the module. + * @param {object} res + * @return {function} listener + * @public */ -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/send/node_modules/debug/src/debug.js"); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); +function onHeaders (res, listener) { + if (!res) { + throw new TypeError('argument res is required') + } -/** - * Colors. - */ + if (typeof listener !== 'function') { + throw new TypeError('argument listener must be a function') + } -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; + res.writeHead = createWriteHead(res.writeHead, listener) +} /** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. + * Set headers contained in array on the response object. * - * TODO: add a `localStorage` variable to explicitly enable/disable colors + * @param {object} res + * @param {array} headers + * @private */ -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; +function setHeadersFromArray (res, headers) { + for (var i = 0; i < headers.length; i++) { + res.setHeader(headers[i][0], headers[i][1]) } - - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); } /** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + * Set headers contained in object on the response object. + * + * @param {object} res + * @param {object} headers + * @private */ -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; +function setHeadersFromObject (res, headers) { + var keys = Object.keys(headers) + for (var i = 0; i < keys.length; i++) { + var k = keys[i] + if (k) res.setHeader(k, headers[k]) } -}; - +} /** - * Colorize log arguments if enabled. + * Set headers and other properties on the response object. * - * @api public + * @param {number} statusCode + * @private */ -function formatArgs(args) { - var useColors = this.useColors; +function setWriteHeadHeaders (statusCode) { + var length = arguments.length + var headerIndex = length > 1 && typeof arguments[1] === 'string' + ? 2 + : 1 - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); + var headers = length >= headerIndex + 1 + ? arguments[headerIndex] + : undefined - if (!useColors) return; + this.statusCode = statusCode - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') + if (Array.isArray(headers)) { + // handle array case + setHeadersFromArray(this, headers) + } else if (headers) { + // handle object case + setHeadersFromObject(this, headers) + } - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); + // copy leading arguments + var args = new Array(Math.min(length, headerIndex)) + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i] + } - args.splice(lastC, 0, c); + return args } -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ - -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ +/***/ }), -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; - } - } catch(e) {} -} +/***/ "./node_modules/parseurl/index.js": +/*!****************************************!*\ + !*** ./node_modules/parseurl/index.js ***! + \****************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 24:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private +"use strict"; +/*! + * parseurl + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed */ -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } - return r; -} +/** + * Module dependencies. + * @private + */ + +var url = __webpack_require__(/*! url */ "url") +var parse = url.parse +var Url = url.Url /** - * Enable namespaces listed in `localStorage.debug` initially. + * Module exports. + * @public */ -exports.enable(load()); +module.exports = parseurl +module.exports.original = originalurl /** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. + * Parse the `req` url with memoization. * - * @return {LocalStorage} - * @api private + * @param {ServerRequest} req + * @return {Object} + * @public */ -function localstorage() { - try { - return window.localStorage; - } catch (e) {} -} +function parseurl (req) { + var url = req.url + + if (url === undefined) { + // URL is undefined + return undefined + } + var parsed = req._parsedUrl -/***/ }), + if (fresh(url, parsed)) { + // Return cached URL parse + return parsed + } -/***/ "./node_modules/send/node_modules/debug/src/debug.js": -/*!***********************************************************!*\ - !*** ./node_modules/send/node_modules/debug/src/debug.js ***! - \***********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 9:10-24 */ -/*! CommonJS bailout: exports is used directly at 9:0-7 */ -/*! CommonJS bailout: exports.coerce(...) prevents optimization as exports is passed as call context as 85:14-28 */ -/*! CommonJS bailout: exports.enabled(...) prevents optimization as exports is passed as call context as 118:18-33 */ -/*! CommonJS bailout: exports.useColors(...) prevents optimization as exports is passed as call context as 119:20-37 */ -/*! CommonJS bailout: exports.init(...) prevents optimization as exports is passed as call context as 124:4-16 */ -/*! CommonJS bailout: exports.save(...) prevents optimization as exports is passed as call context as 139:2-14 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 165:2-16 */ -/***/ ((module, exports, __webpack_require__) => { + // Parse the URL + parsed = fastparse(url) + parsed._raw = url + return (req._parsedUrl = parsed) +}; /** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. + * Parse the `req` original url with fallback and memoization. * - * Expose `debug()` as the module. + * @param {ServerRequest} req + * @return {Object} + * @public */ -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = __webpack_require__(/*! ms */ "./node_modules/send/node_modules/debug/node_modules/ms/index.js"); +function originalurl (req) { + var url = req.originalUrl -/** - * The currently active debug mode names, and names to skip. - */ + if (typeof url !== 'string') { + // Fallback + return parseurl(req) + } -exports.names = []; -exports.skips = []; + var parsed = req._parsedOriginalUrl + + if (fresh(url, parsed)) { + // Return cached URL parse + return parsed + } + + // Parse the URL + parsed = fastparse(url) + parsed._raw = url + + return (req._parsedOriginalUrl = parsed) +}; /** - * Map of special "%n" handling functions, for the debug "format" argument. + * Parse the `str` url with fast-path short-cut. * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + * @param {string} str + * @return {Object} + * @private */ -exports.formatters = {}; +function fastparse (str) { + if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) { + return parse(str) + } -/** - * Previous log timestamp. - */ + var pathname = str + var query = null + var search = null -var prevTime; + // This takes the regexp from https://github.com/joyent/node/pull/7878 + // Which is /^(\/[^?#\s]*)(\?[^#\s]*)?$/ + // And unrolls it into a for loop + for (var i = 1; i < str.length; i++) { + switch (str.charCodeAt(i)) { + case 0x3f: /* ? */ + if (search === null) { + pathname = str.substring(0, i) + query = str.substring(i + 1) + search = str.substring(i) + } + break + case 0x09: /* \t */ + case 0x0a: /* \n */ + case 0x0c: /* \f */ + case 0x0d: /* \r */ + case 0x20: /* */ + case 0x23: /* # */ + case 0xa0: + case 0xfeff: + return parse(str) + } + } -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ + var url = Url !== undefined + ? new Url() + : {} -function selectColor(namespace) { - var hash = 0, i; + url.path = str + url.href = str + url.pathname = pathname - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer + if (search !== null) { + url.query = query + url.search = search } - return exports.colors[Math.abs(hash) % exports.colors.length]; + return url } /** - * Create a debugger with the given `namespace`. + * Determine if parsed is still fresh for url. * - * @param {String} namespace - * @return {Function} - * @api public + * @param {string} url + * @param {object} parsedUrl + * @return {boolean} + * @private */ -function createDebug(namespace) { +function fresh (url, parsedUrl) { + return typeof parsedUrl === 'object' && + parsedUrl !== null && + (Url === undefined || parsedUrl instanceof Url) && + parsedUrl._raw === url +} - function debug() { - // disabled? - if (!debug.enabled) return; - var self = debug; +/***/ }), - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; +/***/ "./node_modules/random-bytes/index.js": +/*!********************************************!*\ + !*** ./node_modules/random-bytes/index.js ***! + \********************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 28:0-14 */ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; - } +"use strict"; +/*! + * random-bytes + * Copyright(c) 2016 Douglas Christopher Wilson + * MIT Licensed + */ - args[0] = exports.coerce(args[0]); - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); - } - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); +/** + * Module dependencies. + * @private + */ - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); +var crypto = __webpack_require__(/*! crypto */ "crypto") - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); +/** + * Module variables. + * @private + */ - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); +var generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3 + +/** + * Module exports. + * @public + */ + +module.exports = randomBytes +module.exports.sync = randomBytesSync + +/** + * Generates strong pseudo-random bytes. + * + * @param {number} size + * @param {function} [callback] + * @return {Promise} + * @public + */ + +function randomBytes(size, callback) { + // validate callback is a function, if provided + if (callback !== undefined && typeof callback !== 'function') { + throw new TypeError('argument callback must be a function') } - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); + // require the callback without promises + if (!callback && !global.Promise) { + throw new TypeError('argument callback is required') + } - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); + if (callback) { + // classic callback style + return generateRandomBytes(size, generateAttempts, callback) } - return debug; + return new Promise(function executor(resolve, reject) { + generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) { + if (err) return reject(err) + resolve(str) + }) + }) } /** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. + * Generates strong pseudo-random bytes sync. * - * @param {String} namespaces - * @api public + * @param {number} size + * @return {Buffer} + * @public */ -function enable(namespaces) { - exports.save(namespaces); - - exports.names = []; - exports.skips = []; - - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; +function randomBytesSync(size) { + var err = null - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); + for (var i = 0; i < generateAttempts; i++) { + try { + return crypto.randomBytes(size) + } catch (e) { + err = e } } + + throw err } /** - * Disable debug output. + * Generates strong pseudo-random bytes. * - * @api public + * @param {number} size + * @param {number} attempts + * @param {function} callback + * @private */ -function disable() { - exports.enable(''); +function generateRandomBytes(size, attempts, callback) { + crypto.randomBytes(size, function onRandomBytes(err, buf) { + if (!err) return callback(null, buf) + if (!--attempts) return callback(err) + setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10) + }) } + +/***/ }), + +/***/ "./node_modules/regenerator-runtime/runtime.js": +/*!*****************************************************!*\ + !*** ./node_modules/regenerator-runtime/runtime.js ***! + \*****************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 740:31-45 */ +/***/ ((module) => { + /** - * Returns true if the given mode name is enabled, false otherwise. + * Copyright (c) 2014-present, Facebook, Inc. * - * @param {String} name - * @return {Boolean} - * @api public + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; - } +var runtime = (function (exports) { + "use strict"; + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }; + var undefined; // More compressible than void 0. + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; - } + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function(obj, key, value) { + return obj[key] = value; + }; } - return false; -} -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; -} + // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }); + return generator; + } + exports.wrap = wrap; -/***/ }), + // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + function tryCatch(fn, obj, arg) { + try { + return { type: "normal", arg: fn.call(obj, arg) }; + } catch (err) { + return { type: "throw", arg: err }; + } + } -/***/ "./node_modules/send/node_modules/debug/src/index.js": -/*!***********************************************************!*\ - !*** ./node_modules/send/node_modules/debug/src/index.js ***! - \***********************************************************/ -/*! dynamic exports */ -/*! exports [maybe provided (runtime-defined)] [no usage info] */ -/*! runtime requirements: module, __webpack_require__ */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ + // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + var ContinueSentinel = {}; -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(/*! ./browser.js */ "./node_modules/send/node_modules/debug/src/browser.js"); -} else { - module.exports = __webpack_require__(/*! ./node.js */ "./node_modules/send/node_modules/debug/src/node.js"); -} + // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); -/***/ }), + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + if (NativeIteratorPrototype && + NativeIteratorPrototype !== Op && + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } -/***/ "./node_modules/send/node_modules/debug/src/node.js": -/*!**********************************************************!*\ - !*** ./node_modules/send/node_modules/debug/src/node.js ***! - \**********************************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module, __webpack_require__ */ -/*! CommonJS bailout: exports is used directly at 14:0-7 */ -/*! CommonJS bailout: exports.humanize(...) prevents optimization as exports is passed as call context as 117:38-54 */ -/*! CommonJS bailout: exports.enable(...) prevents optimization as exports is passed as call context as 248:0-14 */ -/***/ ((module, exports, __webpack_require__) => { + var Gp = GeneratorFunctionPrototype.prototype = + Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = GeneratorFunctionPrototype; + defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: true }); + defineProperty( + GeneratorFunctionPrototype, + "constructor", + { value: GeneratorFunction, configurable: true } + ); + GeneratorFunction.displayName = define( + GeneratorFunctionPrototype, + toStringTagSymbol, + "GeneratorFunction" + ); -/** - * Module dependencies. - */ + // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function(method) { + define(prototype, method, function(arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function(genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor + ? ctor === GeneratorFunction || + // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" + : false; + }; -var tty = __webpack_require__(/*! tty */ "tty"); -var util = __webpack_require__(/*! util */ "util"); + exports.mark = function(genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + genFun.prototype = Object.create(Gp); + return genFun; + }; -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ + // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + exports.awrap = function(arg) { + return { __await: arg }; + }; -exports = module.exports = __webpack_require__(/*! ./debug */ "./node_modules/send/node_modules/debug/src/debug.js"); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + if (value && + typeof value === "object" && + hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function(value) { + invoke("next", value, resolve, reject); + }, function(err) { + invoke("throw", err, resolve, reject); + }); + } -/** - * Colors. - */ + return PromiseImpl.resolve(value).then(function(unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function(error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } -exports.colors = [6, 2, 3, 4, 5, 1]; + var previousPromise; -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function(resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); + return previousPromise = + // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then( + callInvokeWithMethodAndArg, + // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg + ) : callInvokeWithMethodAndArg(); + } - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); + // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + defineProperty(this, "_invoke", { value: enqueue }); + } - obj[prop] = val; - return obj; -}, {}); + defineIteratorMethods(AsyncIterator.prototype); + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }); + exports.AsyncIterator = AsyncIterator; -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ + // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; + var iter = new AsyncIterator( + wrap(innerFn, outerFn, self, tryLocsList), + PromiseImpl + ); -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} + return exports.isGeneratorFunction(outerFn) + ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function(result) { + return result.done ? result.value : iter.next(); + }); + }; -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); -} + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } -/** - * Map %o to `util.inspect()`, all on a single line. - */ + // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + return doneResult(); + } -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); -}; + context.method = method; + context.arg = arg; -/** - * Map %o to `util.inspect()`, allowing multiple lines if needed. - */ + while (true) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; + context.dispatchException(context.arg); - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; - } -} + state = GenStateExecuting; -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ + var record = tryCatch(innerFn, self, context); + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done + ? GenStateCompleted + : GenStateSuspendedYield; -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); -} + if (record.arg === ContinueSentinel) { + continue; + } -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ + return { + value: record.arg, + done: context.done + }; -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; + } else if (record.type === "throw") { + state = GenStateCompleted; + // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + context.method = "throw"; + context.arg = record.arg; + } + } + }; } -} -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ + // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + function maybeInvokeDelegate(delegate, context) { + var methodName = context.method; + var method = delegate.iterator[methodName]; + if (method === undefined) { + // A .throw or .return when the delegate iterator has no .throw + // method, or a missing .next mehtod, always terminate the + // yield* loop. + context.delegate = null; -function load() { - return process.env.DEBUG; -} + // Note: ["return"] must be used for ES3 parsing compatibility. + if (methodName === "throw" && delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined; + maybeInvokeDelegate(delegate, context); -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + if (methodName !== "return") { + context.method = "throw"; + context.arg = new TypeError( + "The iterator does not provide a '" + methodName + "' method"); + } -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); + return ContinueSentinel; + } - // Note stream._type is used for test-module-load-list.js + var record = tryCatch(method, delegate.iterator, context.arg); - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; + var info = record.arg; - case 'FILE': - var fs = __webpack_require__(/*! fs */ "fs"); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; + if (! info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } - case 'PIPE': - case 'TCP': - var net = __webpack_require__(/*! net */ "net"); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; + // Resume execution at the desired location (see delegateYield). + context.next = delegate.nextLoc; - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); + // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined; } - break; - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); - } + } else { + // Re-yield the result returned by the delegate method. + return info; + } - // For supporting legacy API we put the FD here. - stream.fd = fd; + // The delegate iterator is finished, so forget it and continue with + // the outer generator. + context.delegate = null; + return ContinueSentinel; + } - stream._isStdio = true; + // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + defineIteratorMethods(Gp); - return stream; -} + define(Gp, toStringTagSymbol, "Generator"); -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ + // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + define(Gp, iteratorSymbol, function() { + return this; + }); -function init (debug) { - debug.inspectOpts = {}; + define(Gp, "toString", function() { + return "[object Generator]"; + }); - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; - } -} + function pushTryEntry(locs) { + var entry = { tryLoc: locs[0] }; -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ + if (1 in locs) { + entry.catchLoc = locs[1]; + } -exports.enable(load()); + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + this.tryEntries.push(entry); + } -/***/ }), + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } -/***/ "./node_modules/serve-static/index.js": -/*!********************************************!*\ - !*** ./node_modules/serve-static/index.js ***! - \********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_require__, module */ -/*! CommonJS bailout: module.exports is used directly at 28:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ tryLoc: "root" }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } -"use strict"; -/*! - * serve-static - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * Copyright(c) 2014-2016 Douglas Christopher Wilson - * MIT Licensed - */ + exports.keys = function(val) { + var object = Object(val); + var keys = []; + for (var key in object) { + keys.push(key); + } + keys.reverse(); + // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + return function next() { + while (keys.length) { + var key = keys.pop(); + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } + // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + next.done = true; + return next; + }; + }; -/** - * Module dependencies. - * @private - */ + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } -var encodeUrl = __webpack_require__(/*! encodeurl */ "./node_modules/encodeurl/index.js") -var escapeHtml = __webpack_require__(/*! escape-html */ "./node_modules/escape-html/index.js") -var parseUrl = __webpack_require__(/*! parseurl */ "./node_modules/parseurl/index.js") -var resolve = __webpack_require__(/*! path */ "path").resolve -var send = __webpack_require__(/*! send */ "./node_modules/send/index.js") -var url = __webpack_require__(/*! url */ "url") + if (typeof iterable.next === "function") { + return iterable; + } -/** - * Module exports. - * @public - */ + if (!isNaN(iterable.length)) { + var i = -1, next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } -module.exports = serveStatic -module.exports.mime = send.mime + next.value = undefined; + next.done = true; -/** - * @param {string} root - * @param {object} [options] - * @return {function} - * @public - */ + return next; + }; -function serveStatic (root, options) { - if (!root) { - throw new TypeError('root path required') - } + return next.next = next; + } + } - if (typeof root !== 'string') { - throw new TypeError('root path must be a string') + // Return an iterator with no values. + return { next: doneResult }; } + exports.values = values; - // copy options object - var opts = Object.create(options || null) + function doneResult() { + return { value: undefined, done: true }; + } - // fall-though - var fallthrough = opts.fallthrough !== false + Context.prototype = { + constructor: Context, - // default redirect - var redirect = opts.redirect !== false + reset: function(skipTempReset) { + this.prev = 0; + this.next = 0; + // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + this.sent = this._sent = undefined; + this.done = false; + this.delegate = null; - // headers listener - var setHeaders = opts.setHeaders + this.method = "next"; + this.arg = undefined; - if (setHeaders && typeof setHeaders !== 'function') { - throw new TypeError('option setHeaders must be function') - } + this.tryEntries.forEach(resetTryEntry); - // setup options for send - opts.maxage = opts.maxage || opts.maxAge || 0 - opts.root = resolve(root) + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && + hasOwn.call(this, name) && + !isNaN(+name.slice(1))) { + this[name] = undefined; + } + } + } + }, - // construct directory listener - var onDirectory = redirect - ? createRedirectDirectoryListener() - : createNotFoundDirectoryListener() + stop: function() { + this.done = true; - return function serveStatic (req, res, next) { - if (req.method !== 'GET' && req.method !== 'HEAD') { - if (fallthrough) { - return next() + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + if (rootRecord.type === "throw") { + throw rootRecord.arg; } - // method not allowed - res.statusCode = 405 - res.setHeader('Allow', 'GET, HEAD') - res.setHeader('Content-Length', '0') - res.end() - return - } + return this.rval; + }, - var forwardError = !fallthrough - var originalUrl = parseUrl.original(req) - var path = parseUrl(req).pathname + dispatchException: function(exception) { + if (this.done) { + throw exception; + } - // make sure redirect occurs at mount - if (path === '/' && originalUrl.pathname.substr(-1) !== '/') { - path = '' - } + var context = this; + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; - // create send stream - var stream = send(req, path, opts) + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined; + } - // add directory handler - stream.on('directory', onDirectory) + return !! caught; + } - // add headers listener - if (setHeaders) { - stream.on('headers', setHeaders) - } + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; - // add file listener for fallthrough - if (fallthrough) { - stream.on('file', function onFile () { - // once file is determined, always forward error - forwardError = true - }) - } + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } - // forward errors - stream.on('error', function error (err) { - if (forwardError || !(err.statusCode < 500)) { - next(err) - return - } + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); - next() - }) + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } - // pipe - stream.pipe(res) - } -} + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } -/** - * Collapse all leading slashes into a single slash - * @private - */ -function collapseLeadingSlashes (str) { - for (var i = 0; i < str.length; i++) { - if (str.charCodeAt(i) !== 0x2f /* / */) { - break - } - } + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } - return i > 1 - ? '/' + str.substr(i) - : str -} + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, -/** - * Create a minimal HTML document. - * - * @param {string} title - * @param {string} body - * @private - */ + abrupt: function(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc <= this.prev && + hasOwn.call(entry, "finallyLoc") && + this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } -function createHtmlDocument (title, body) { - return '\n' + - '\n' + - '\n' + - '\n' + - '' + title + '\n' + - '\n' + - '\n' + - '
' + body + '
\n' + - '\n' + - '\n' -} + if (finallyEntry && + (type === "break" || + type === "continue") && + finallyEntry.tryLoc <= arg && + arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } -/** - * Create a directory listener that just 404s. - * @private - */ + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; -function createNotFoundDirectoryListener () { - return function notFound () { - this.error(404) - } -} + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } -/** - * Create a directory listener that performs a redirect. - * @private - */ + return this.complete(record); + }, -function createRedirectDirectoryListener () { - return function redirect (res) { - if (this.hasTrailingSlash()) { - this.error(404) - return - } + complete: function(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } - // get original URL - var originalUrl = parseUrl.original(this.req) + if (record.type === "break" || + record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } - // append trailing slash - originalUrl.path = null - originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + '/') + return ContinueSentinel; + }, - // reformat the URL - var loc = encodeUrl(url.format(originalUrl)) - var doc = createHtmlDocument('Redirecting', 'Redirecting to ' + - escapeHtml(loc) + '') + finish: function(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, - // send redirect response - res.statusCode = 301 - res.setHeader('Content-Type', 'text/html; charset=UTF-8') - res.setHeader('Content-Length', Buffer.byteLength(doc)) - res.setHeader('Content-Security-Policy', "default-src 'none'") - res.setHeader('X-Content-Type-Options', 'nosniff') - res.setHeader('Location', loc) - res.end(doc) - } -} + "catch": function(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + return thrown; + } + } + // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + throw new Error("illegal catch attempt"); + }, -/***/ }), + delegateYield: function(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; -/***/ "./node_modules/setprototypeof/index.js": -/*!**********************************************!*\ - !*** ./node_modules/setprototypeof/index.js ***! - \**********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ -/***/ ((module) => { + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined; + } -"use strict"; + return ContinueSentinel; + } + }; -/* eslint no-proto: 0 */ -module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties) + // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + return exports; -function setProtoOf (obj, proto) { - obj.__proto__ = proto - return obj -} +}( + // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + true ? module.exports : 0 +)); -function mixinProperties (obj, proto) { - for (var prop in proto) { - if (!Object.prototype.hasOwnProperty.call(obj, prop)) { - obj[prop] = proto[prop] - } +try { + regeneratorRuntime = runtime; +} catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, in modern engines + // we can explicitly access globalThis. In older engines we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + if (typeof globalThis === "object") { + globalThis.regeneratorRuntime = runtime; + } else { + Function("r", "regeneratorRuntime = r")(runtime); } - return obj } /***/ }), -/***/ "./node_modules/side-channel/index.js": -/*!********************************************!*\ - !*** ./node_modules/side-channel/index.js ***! - \********************************************/ +/***/ "./node_modules/safe-buffer/index.js": +/*!*******************************************!*\ + !*** ./node_modules/safe-buffer/index.js ***! + \*******************************************/ /*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 58:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/*! runtime requirements: module, __webpack_exports__, __webpack_require__ */ +/*! CommonJS bailout: module.exports is used directly at 13:2-16 */ +/*! CommonJS bailout: exports is used directly at 16:20-27 */ +/***/ ((module, exports, __webpack_require__) => { -"use strict"; +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ +/* eslint-disable node/no-deprecated-api */ +var buffer = __webpack_require__(/*! buffer */ "buffer") +var Buffer = buffer.Buffer +// alternative to using Object.keys for old browsers +function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key] + } +} +if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer +} else { + // Copy properties from require('buffer') + copyProps(buffer, exports) + exports.Buffer = SafeBuffer +} -var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js"); -var callBound = __webpack_require__(/*! call-bind/callBound */ "./node_modules/call-bind/callBound.js"); -var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/object-inspect/index.js"); +function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) +} -var $TypeError = GetIntrinsic('%TypeError%'); -var $WeakMap = GetIntrinsic('%WeakMap%', true); -var $Map = GetIntrinsic('%Map%', true); +SafeBuffer.prototype = Object.create(Buffer.prototype) -var $weakMapGet = callBound('WeakMap.prototype.get', true); -var $weakMapSet = callBound('WeakMap.prototype.set', true); -var $weakMapHas = callBound('WeakMap.prototype.has', true); -var $mapGet = callBound('Map.prototype.get', true); -var $mapSet = callBound('Map.prototype.set', true); -var $mapHas = callBound('Map.prototype.has', true); +// Copy static methods from Buffer +copyProps(Buffer, SafeBuffer) -/* - * This function traverses the list returning the node corresponding to the - * given key. - * - * That node is also moved to the head of the list, so that if it's accessed - * again we don't need to traverse the whole list. By doing so, all the recently - * used nodes can be accessed relatively quickly. - */ -var listGetNode = function (list, key) { // eslint-disable-line consistent-return - for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { - if (curr.key === key) { - prev.next = curr.next; - curr.next = list.next; - list.next = curr; // eslint-disable-line no-param-reassign - return curr; - } - } -}; +SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) +} -var listGet = function (objects, key) { - var node = listGetNode(objects, key); - return node && node.value; -}; -var listSet = function (objects, key, value) { - var node = listGetNode(objects, key); - if (node) { - node.value = value; - } else { - // Prepend the new node to the beginning of the list - objects.next = { // eslint-disable-line no-param-reassign - key: key, - next: objects.next, - value: value - }; - } -}; -var listHas = function (objects, key) { - return !!listGetNode(objects, key); -}; +SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size) + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding) + } else { + buf.fill(fill) + } + } else { + buf.fill(0) + } + return buf +} -module.exports = function getSideChannel() { - var $wm; - var $m; - var $o; - var channel = { - assert: function (key) { - if (!channel.has(key)) { - throw new $TypeError('Side channel does not contain ' + inspect(key)); - } - }, - get: function (key) { // eslint-disable-line consistent-return - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if ($wm) { - return $weakMapGet($wm, key); - } - } else if ($Map) { - if ($m) { - return $mapGet($m, key); - } - } else { - if ($o) { // eslint-disable-line no-lonely-if - return listGet($o, key); - } - } - }, - has: function (key) { - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if ($wm) { - return $weakMapHas($wm, key); - } - } else if ($Map) { - if ($m) { - return $mapHas($m, key); - } - } else { - if ($o) { // eslint-disable-line no-lonely-if - return listHas($o, key); - } - } - return false; - }, - set: function (key, value) { - if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { - if (!$wm) { - $wm = new $WeakMap(); - } - $weakMapSet($wm, key, value); - } else if ($Map) { - if (!$m) { - $m = new $Map(); - } - $mapSet($m, key, value); - } else { - if (!$o) { - /* - * Initialize the linked list as an empty node, so that we don't have - * to special-case handling of the first node: we can always refer to - * it as (previous node).next, instead of something like (list).head - */ - $o = { key: {}, next: null }; - } - listSet($o, key, value); - } - } - }; - return channel; -}; +SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) +} + +SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) +} /***/ }), @@ -117462,243 +61644,6 @@ module.exports = (batch, sender, Result, keyTranslationFormat) => { }; -/***/ }), - -/***/ "./node_modules/statuses/codes.json": -/*!******************************************!*\ - !*** ./node_modules/statuses/codes.json ***! - \******************************************/ -/*! default exports */ -/*! export 100 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 101 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 102 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 103 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 200 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 201 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 202 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 203 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 204 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 205 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 206 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 207 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 208 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 226 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 300 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 301 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 302 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 303 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 304 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 305 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 307 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 308 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 400 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 401 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 402 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 403 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 404 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 405 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 406 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 407 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 408 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 409 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 410 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 411 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 412 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 413 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 414 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 415 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 416 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 417 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 418 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 421 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 422 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 423 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 424 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 425 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 426 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 428 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 429 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 431 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 451 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 500 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 501 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 502 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 503 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 504 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 505 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 506 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 507 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 508 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 509 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 510 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! export 511 [provided] [no usage info] [missing usage info prevents renaming] */ -/*! other exports [not provided] [no usage info] */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = JSON.parse("{\"100\":\"Continue\",\"101\":\"Switching Protocols\",\"102\":\"Processing\",\"103\":\"Early Hints\",\"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\":\"Too Early\",\"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\"}"); - -/***/ }), - -/***/ "./node_modules/statuses/index.js": -/*!****************************************!*\ - !*** ./node_modules/statuses/index.js ***! - \****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 22:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * statuses - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2016 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var codes = __webpack_require__(/*! ./codes.json */ "./node_modules/statuses/codes.json") - -/** - * Module exports. - * @public - */ - -module.exports = status - -// status code to message map -status.message = codes - -// status message (lower-case) to code map -status.code = createMessageToStatusCodeMap(codes) - -// array of status codes -status.codes = createStatusCodeList(codes) - -// status codes for redirects -status.redirect = { - 300: true, - 301: true, - 302: true, - 303: true, - 305: true, - 307: true, - 308: true -} - -// status codes for empty bodies -status.empty = { - 204: true, - 205: true, - 304: true -} - -// status codes for when you should retry the request -status.retry = { - 502: true, - 503: true, - 504: true -} - -/** - * Create a map of message to status code. - * @private - */ - -function createMessageToStatusCodeMap (codes) { - var map = {} - - Object.keys(codes).forEach(function forEachCode (code) { - var message = codes[code] - var status = Number(code) - - // populate map - map[message.toLowerCase()] = status - }) - - return map -} - -/** - * Create a list of all status codes. - * @private - */ - -function createStatusCodeList (codes) { - return Object.keys(codes).map(function mapCode (code) { - return Number(code) - }) -} - -/** - * Get the status code for given message. - * @private - */ - -function getStatusCode (message) { - var msg = message.toLowerCase() - - if (!Object.prototype.hasOwnProperty.call(status.code, msg)) { - throw new Error('invalid status message: "' + message + '"') - } - - return status.code[msg] -} - -/** - * Get the status message for given code. - * @private - */ - -function getStatusMessage (code) { - if (!Object.prototype.hasOwnProperty.call(status.message, code)) { - throw new Error('invalid status code: ' + code) - } - - return status.message[code] -} - -/** - * Get the status code. - * - * Given a number, this will throw if it is not a known status - * code, otherwise the code will be returned. Given a string, - * the string will be parsed for a number and return the code - * if valid, otherwise will lookup the code assuming this is - * the status message. - * - * @param {string|number} code - * @returns {number} - * @public - */ - -function status (code) { - if (typeof code === 'number') { - return getStatusMessage(code) - } - - if (typeof code !== 'string') { - throw new TypeError('code must be a number or string') - } - - // '403' - var n = parseInt(code, 10) - if (!isNaN(n)) { - return getStatusMessage(n) - } - - return getStatusCode(code) -} - - /***/ }), /***/ "./node_modules/supports-color/index.js": @@ -117707,29 +61652,38 @@ function status (code) { \**********************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 127:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 131:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; const os = __webpack_require__(/*! os */ "os"); -const hasFlag = __webpack_require__(/*! has-flag */ "./node_modules/has-flag/index.js"); +const tty = __webpack_require__(/*! tty */ "tty"); +const hasFlag = __webpack_require__(/*! has-flag */ "./node_modules/supports-color/node_modules/has-flag/index.js"); -const env = process.env; +const {env} = process; let forceColor; if (hasFlag('no-color') || hasFlag('no-colors') || - hasFlag('color=false')) { - forceColor = false; + hasFlag('color=false') || + hasFlag('color=never')) { + forceColor = 0; } else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) { - forceColor = true; + forceColor = 1; } + if ('FORCE_COLOR' in env) { - forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; + if (env.FORCE_COLOR === 'true') { + forceColor = 1; + } else if (env.FORCE_COLOR === 'false') { + forceColor = 0; + } else { + forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); + } } function translateLevel(level) { @@ -117745,8 +61699,8 @@ function translateLevel(level) { }; } -function supportsColor(stream) { - if (forceColor === false) { +function supportsColor(haveStream, streamIsTTY) { + if (forceColor === 0) { return 0; } @@ -117760,22 +61714,21 @@ function supportsColor(stream) { return 2; } - if (stream && !stream.isTTY && forceColor !== true) { + if (haveStream && !streamIsTTY && forceColor === undefined) { return 0; } - const min = forceColor ? 1 : 0; + const min = forceColor || 0; + + if (env.TERM === 'dumb') { + return min; + } if (process.platform === 'win32') { - // Node.js 7.5.0 is the first version of Node.js to include a patch to - // libuv that enables 256 color output on Windows. Anything earlier and it - // won't work. However, here we target Node.js 8 at minimum as it is an LTS - // release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows - // release that supports 256 colors. Windows 10 build 14931 is the first release - // that supports 16m/TrueColor. + // Windows 10 build 10586 is the first Windows release that supports 256 colors. + // Windows 10 build 14931 is the first release that supports 16m/TrueColor. const osRelease = os.release().split('.'); if ( - Number(process.versions.node.split('.')[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ) { @@ -117786,7 +61739,7 @@ function supportsColor(stream) { } if ('CI' in env) { - if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') { return 1; } @@ -117825,22 +61778,40 @@ function supportsColor(stream) { return 1; } - if (env.TERM === 'dumb') { - return min; - } - return min; } function getSupportLevel(stream) { - const level = supportsColor(stream); + const level = supportsColor(stream, stream && stream.isTTY); return translateLevel(level); } module.exports = { supportsColor: getSupportLevel, - stdout: getSupportLevel(process.stdout), - stderr: getSupportLevel(process.stderr) + stdout: translateLevel(supportsColor(true, tty.isatty(1))), + stderr: translateLevel(supportsColor(true, tty.isatty(2))) +}; + + +/***/ }), + +/***/ "./node_modules/supports-color/node_modules/has-flag/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/supports-color/node_modules/has-flag/index.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module) => { + +"use strict"; + + +module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf('--'); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); }; @@ -117913,332 +61884,6 @@ function nextTickArgs (fn, a, b) { } -/***/ }), - -/***/ "./node_modules/toidentifier/index.js": -/*!********************************************!*\ - !*** ./node_modules/toidentifier/index.js ***! - \********************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * toidentifier - * Copyright(c) 2016 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module exports. - * @public - */ - -module.exports = toIdentifier - -/** - * Trasform the given string into a JavaScript identifier - * - * @param {string} str - * @returns {string} - * @public - */ - -function toIdentifier (str) { - return str - .split(' ') - .map(function (token) { - return token.slice(0, 1).toUpperCase() + token.slice(1) - }) - .join('') - .replace(/[^ _0-9a-z]/gi, '') -} - - -/***/ }), - -/***/ "./node_modules/type-is/index.js": -/*!***************************************!*\ - !*** ./node_modules/type-is/index.js ***! - \***************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 23:0-14 */ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -/*! - * type-is - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module dependencies. - * @private - */ - -var typer = __webpack_require__(/*! media-typer */ "./node_modules/media-typer/index.js") -var mime = __webpack_require__(/*! mime-types */ "./node_modules/mime-types/index.js") - -/** - * Module exports. - * @public - */ - -module.exports = typeofrequest -module.exports.is = typeis -module.exports.hasBody = hasbody -module.exports.normalize = normalize -module.exports.match = mimeMatch - -/** - * Compare a `value` content-type with `types`. - * Each `type` can be an extension like `html`, - * a special shortcut like `multipart` or `urlencoded`, - * or a mime type. - * - * If no types match, `false` is returned. - * Otherwise, the first `type` that matches is returned. - * - * @param {String} value - * @param {Array} types - * @public - */ - -function typeis (value, types_) { - var i - var types = types_ - - // remove parameters and normalize - var val = tryNormalizeType(value) - - // no type or invalid - if (!val) { - return false - } - - // support flattened arguments - if (types && !Array.isArray(types)) { - types = new Array(arguments.length - 1) - for (i = 0; i < types.length; i++) { - types[i] = arguments[i + 1] - } - } - - // no types, return the content type - if (!types || !types.length) { - return val - } - - var type - for (i = 0; i < types.length; i++) { - if (mimeMatch(normalize(type = types[i]), val)) { - return type[0] === '+' || type.indexOf('*') !== -1 - ? val - : type - } - } - - // no matches - return false -} - -/** - * Check if a request has a request body. - * A request with a body __must__ either have `transfer-encoding` - * or `content-length` headers set. - * http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3 - * - * @param {Object} request - * @return {Boolean} - * @public - */ - -function hasbody (req) { - return req.headers['transfer-encoding'] !== undefined || - !isNaN(req.headers['content-length']) -} - -/** - * Check if the incoming request contains the "Content-Type" - * header field, and it contains any of the give mime `type`s. - * If there is no request body, `null` is returned. - * If there is no content type, `false` is returned. - * Otherwise, it returns the first `type` that matches. - * - * Examples: - * - * // With Content-Type: text/html; charset=utf-8 - * this.is('html'); // => 'html' - * this.is('text/html'); // => 'text/html' - * this.is('text/*', 'application/json'); // => 'text/html' - * - * // When Content-Type is application/json - * this.is('json', 'urlencoded'); // => 'json' - * this.is('application/json'); // => 'application/json' - * this.is('html', 'application/*'); // => 'application/json' - * - * this.is('html'); // => false - * - * @param {String|Array} types... - * @return {String|false|null} - * @public - */ - -function typeofrequest (req, types_) { - var types = types_ - - // no body - if (!hasbody(req)) { - return null - } - - // support flattened arguments - if (arguments.length > 2) { - types = new Array(arguments.length - 1) - for (var i = 0; i < types.length; i++) { - types[i] = arguments[i + 1] - } - } - - // request content type - var value = req.headers['content-type'] - - return typeis(value, types) -} - -/** - * Normalize a mime type. - * If it's a shorthand, expand it to a valid mime type. - * - * In general, you probably want: - * - * var type = is(req, ['urlencoded', 'json', 'multipart']); - * - * Then use the appropriate body parsers. - * These three are the most common request body types - * and are thus ensured to work. - * - * @param {String} type - * @private - */ - -function normalize (type) { - if (typeof type !== 'string') { - // invalid type - return false - } - - switch (type) { - case 'urlencoded': - return 'application/x-www-form-urlencoded' - case 'multipart': - return 'multipart/*' - } - - if (type[0] === '+') { - // "+json" -> "*/*+json" expando - return '*/*' + type - } - - return type.indexOf('/') === -1 - ? mime.lookup(type) - : type -} - -/** - * Check if `expected` mime type - * matches `actual` mime type with - * wildcard and +suffix support. - * - * @param {String} expected - * @param {String} actual - * @return {Boolean} - * @private - */ - -function mimeMatch (expected, actual) { - // invalid type - if (expected === false) { - return false - } - - // split types - var actualParts = actual.split('/') - var expectedParts = expected.split('/') - - // invalid format - if (actualParts.length !== 2 || expectedParts.length !== 2) { - return false - } - - // validate type - if (expectedParts[0] !== '*' && expectedParts[0] !== actualParts[0]) { - return false - } - - // validate suffix wildcard - if (expectedParts[1].substr(0, 2) === '*+') { - return expectedParts[1].length <= actualParts[1].length + 1 && - expectedParts[1].substr(1) === actualParts[1].substr(1 - expectedParts[1].length) - } - - // validate subtype - if (expectedParts[1] !== '*' && expectedParts[1] !== actualParts[1]) { - return false - } - - return true -} - -/** - * Normalize a type and remove parameters. - * - * @param {string} value - * @return {string} - * @private - */ - -function normalizeType (value) { - // parse the type - var type = typer.parse(value) - - // remove the parameters - type.parameters = undefined - - // reformat it - return typer.format(type) -} - -/** - * Try to normalize a type and remove parameters. - * - * @param {string} value - * @return {string} - * @private - */ - -function tryNormalizeType (value) { - if (!value) { - return null - } - - try { - return normalizeType(value) - } catch (err) { - return null - } -} - - /***/ }), /***/ "./node_modules/uid-safe/index.js": @@ -118360,89 +62005,6 @@ function toString (buf) { } -/***/ }), - -/***/ "./node_modules/unpipe/index.js": -/*!**************************************!*\ - !*** ./node_modules/unpipe/index.js ***! - \**************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 14:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * unpipe - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module exports. - * @public - */ - -module.exports = unpipe - -/** - * Determine if there are Node.js pipe-like data listeners. - * @private - */ - -function hasPipeDataListeners(stream) { - var listeners = stream.listeners('data') - - for (var i = 0; i < listeners.length; i++) { - if (listeners[i].name === 'ondata') { - return true - } - } - - return false -} - -/** - * Unpipe a stream from all destinations. - * - * @param {object} stream - * @public - */ - -function unpipe(stream) { - if (!stream) { - throw new TypeError('argument stream is required') - } - - if (typeof stream.unpipe === 'function') { - // new-style - stream.unpipe() - return - } - - // Node.js 0.8 hack - if (!hasPipeDataListeners(stream)) { - return - } - - var listener - var listeners = stream.listeners('close') - - for (var i = 0; i < listeners.length; i++) { - listener = listeners[i] - - if (listener.name !== 'cleanup' && listener.name !== 'onclose') { - continue - } - - // invoke the listener - listener.call(stream) - } -} - - /***/ }), /***/ "./node_modules/utf-8-validate/fallback.js": @@ -118541,206 +62103,6 @@ try { } -/***/ }), - -/***/ "./node_modules/utils-merge/index.js": -/*!*******************************************!*\ - !*** ./node_modules/utils-merge/index.js ***! - \*******************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: __webpack_exports__, module */ -/*! CommonJS bailout: module.exports is used directly at 16:10-24 */ -/*! CommonJS bailout: exports is used directly at 16:0-7 */ -/***/ ((module, exports) => { - -/** - * Merge object b with object a. - * - * var a = { foo: 'bar' } - * , b = { bar: 'baz' }; - * - * merge(a, b); - * // => { foo: 'bar', bar: 'baz' } - * - * @param {Object} a - * @param {Object} b - * @return {Object} - * @api public - */ - -exports = module.exports = function(a, b){ - if (a && b) { - for (var key in b) { - a[key] = b[key]; - } - } - return a; -}; - - -/***/ }), - -/***/ "./node_modules/vary/index.js": -/*!************************************!*\ - !*** ./node_modules/vary/index.js ***! - \************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 13:0-14 */ -/***/ ((module) => { - -"use strict"; -/*! - * vary - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed - */ - - - -/** - * Module exports. - */ - -module.exports = vary -module.exports.append = append - -/** - * RegExp to match field-name in RFC 7230 sec 3.2 - * - * field-name = token - * token = 1*tchar - * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" - * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" - * / DIGIT / ALPHA - * ; any VCHAR, except delimiters - */ - -var FIELD_NAME_REGEXP = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/ - -/** - * Append a field to a vary header. - * - * @param {String} header - * @param {String|Array} field - * @return {String} - * @public - */ - -function append (header, field) { - if (typeof header !== 'string') { - throw new TypeError('header argument is required') - } - - if (!field) { - throw new TypeError('field argument is required') - } - - // get fields array - var fields = !Array.isArray(field) - ? parse(String(field)) - : field - - // assert on invalid field names - for (var j = 0; j < fields.length; j++) { - if (!FIELD_NAME_REGEXP.test(fields[j])) { - throw new TypeError('field argument contains an invalid header name') - } - } - - // existing, unspecified vary - if (header === '*') { - return header - } - - // enumerate current values - var val = header - var vals = parse(header.toLowerCase()) - - // unspecified vary - if (fields.indexOf('*') !== -1 || vals.indexOf('*') !== -1) { - return '*' - } - - for (var i = 0; i < fields.length; i++) { - var fld = fields[i].toLowerCase() - - // append value (case-preserving) - if (vals.indexOf(fld) === -1) { - vals.push(fld) - val = val - ? val + ', ' + fields[i] - : fields[i] - } - } - - return val -} - -/** - * Parse a vary header into an array. - * - * @param {String} header - * @return {Array} - * @private - */ - -function parse (header) { - var end = 0 - var list = [] - var start = 0 - - // gather tokens - for (var i = 0, len = header.length; i < len; i++) { - switch (header.charCodeAt(i)) { - case 0x20: /* */ - if (start === end) { - start = end = i + 1 - } - break - case 0x2c: /* , */ - list.push(header.substring(start, end)) - start = end = i + 1 - break - default: - end = i + 1 - break - } - } - - // final token - list.push(header.substring(start, end)) - - return list -} - -/** - * Mark that a request is varied on a header field. - * - * @param {Object} res - * @param {String|Array} field - * @public - */ - -function vary (res, field) { - if (!res || !res.getHeader || !res.setHeader) { - // quack quack - throw new TypeError('res argument is required') - } - - // get existing header - var val = res.getHeader('Vary') || '' - var header = Array.isArray(val) - ? val.join(', ') - : String(val) - - // set new header - if ((val = append(header, field))) { - res.setHeader('Vary', val) - } -} - - /***/ }), /***/ "./node_modules/ws/index.js": @@ -123011,19 +66373,6 @@ module.exports = require("assert"); /***/ }), -/***/ "async_hooks": -/*!******************************!*\ - !*** external "async_hooks" ***! - \******************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = require("async_hooks"); - -/***/ }), - /***/ "buffer": /*!*************************!*\ !*** external "buffer" ***! @@ -123167,19 +66516,6 @@ module.exports = require("path"); /***/ }), -/***/ "querystring": -/*!******************************!*\ - !*** external "querystring" ***! - \******************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = require("querystring"); - -/***/ }), - /***/ "stream": /*!*************************!*\ !*** external "stream" ***! @@ -123193,19 +66529,6 @@ module.exports = require("stream"); /***/ }), -/***/ "string_decoder": -/*!*********************************!*\ - !*** external "string_decoder" ***! - \*********************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/***/ ((module) => { - -"use strict"; -module.exports = require("string_decoder"); - -/***/ }), - /***/ "tls": /*!**********************!*\ !*** external "tls" ***! @@ -123284,16 +66607,13 @@ module.exports = require("zlib"); /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { -/******/ id: moduleId, -/******/ loaded: false, +/******/ // no module.id needed +/******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; @@ -123343,15 +66663,6 @@ module.exports = require("zlib"); /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/node module decorator */ -/******/ (() => { -/******/ __webpack_require__.nmd = (module) => { -/******/ module.paths = []; -/******/ if (!module.children) module.children = []; -/******/ return module; -/******/ }; -/******/ })(); -/******/ /******/ /* webpack/runtime/sharing */ /******/ (() => { /******/ __webpack_require__.S = {}; diff --git a/dist/main.js.map b/dist/main.js.map index ae6232d3..443cb5ed 100644 --- a/dist/main.js.map +++ b/dist/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./node_modules/@babel/polyfill/lib/index.js","webpack://aegis-app/./node_modules/@babel/polyfill/lib/noConflict.js","webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/accepts/index.js","webpack://aegis-app/./node_modules/array-flatten/array-flatten.js","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js","webpack://aegis-app/./src/domain/webswitch.js","webpack://aegis-app/./src/event-dispatcher.js","webpack://aegis-app/./src/index.js","webpack://aegis-app/./src/service-registry.js","webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/event-service.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js","webpack://aegis-app/./node_modules/body-parser/index.js","webpack://aegis-app/./node_modules/body-parser/lib/read.js","webpack://aegis-app/./node_modules/body-parser/lib/types/json.js","webpack://aegis-app/./node_modules/body-parser/lib/types/raw.js","webpack://aegis-app/./node_modules/body-parser/lib/types/text.js","webpack://aegis-app/./node_modules/body-parser/lib/types/urlencoded.js","webpack://aegis-app/./node_modules/body-parser/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/body-parser/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/body-parser/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/body-parser/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/body-parser/node_modules/ms/index.js","webpack://aegis-app/./node_modules/bufferutil/fallback.js","webpack://aegis-app/./node_modules/bufferutil/index.js","webpack://aegis-app/./node_modules/bytes/index.js","webpack://aegis-app/./node_modules/call-bind/callBound.js","webpack://aegis-app/./node_modules/call-bind/index.js","webpack://aegis-app/./node_modules/content-disposition/index.js","webpack://aegis-app/./node_modules/content-type/index.js","webpack://aegis-app/./node_modules/cookie-signature/index.js","webpack://aegis-app/./node_modules/cookie/index.js","webpack://aegis-app/./node_modules/core-js/es6/index.js","webpack://aegis-app/./node_modules/core-js/fn/array/flat-map.js","webpack://aegis-app/./node_modules/core-js/fn/array/includes.js","webpack://aegis-app/./node_modules/core-js/fn/object/entries.js","webpack://aegis-app/./node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/fn/object/values.js","webpack://aegis-app/./node_modules/core-js/fn/promise/finally.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-start.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-start.js","webpack://aegis-app/./node_modules/core-js/fn/symbol/async-iterator.js","webpack://aegis-app/./node_modules/core-js/library/fn/global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/library/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_core.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/library/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/library/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/library/modules/_export.js","webpack://aegis-app/./node_modules/core-js/library/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/library/modules/_global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_has.js","webpack://aegis-app/./node_modules/core-js/library/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/library/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/library/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/library/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/library/modules/es7.global.js","webpack://aegis-app/./node_modules/core-js/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/modules/_a-number-value.js","webpack://aegis-app/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://aegis-app/./node_modules/core-js/modules/_advance-string-index.js","webpack://aegis-app/./node_modules/core-js/modules/_an-instance.js","webpack://aegis-app/./node_modules/core-js/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/modules/_array-copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/_array-fill.js","webpack://aegis-app/./node_modules/core-js/modules/_array-includes.js","webpack://aegis-app/./node_modules/core-js/modules/_array-methods.js","webpack://aegis-app/./node_modules/core-js/modules/_array-reduce.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-create.js","webpack://aegis-app/./node_modules/core-js/modules/_bind.js","webpack://aegis-app/./node_modules/core-js/modules/_classof.js","webpack://aegis-app/./node_modules/core-js/modules/_cof.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-strong.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-weak.js","webpack://aegis-app/./node_modules/core-js/modules/_collection.js","webpack://aegis-app/./node_modules/core-js/modules/_core.js","webpack://aegis-app/./node_modules/core-js/modules/_create-property.js","webpack://aegis-app/./node_modules/core-js/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_defined.js","webpack://aegis-app/./node_modules/core-js/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_export.js","webpack://aegis-app/./node_modules/core-js/modules/_fails-is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/modules/_fix-re-wks.js","webpack://aegis-app/./node_modules/core-js/modules/_flags.js","webpack://aegis-app/./node_modules/core-js/modules/_flatten-into-array.js","webpack://aegis-app/./node_modules/core-js/modules/_for-of.js","webpack://aegis-app/./node_modules/core-js/modules/_function-to-string.js","webpack://aegis-app/./node_modules/core-js/modules/_global.js","webpack://aegis-app/./node_modules/core-js/modules/_has.js","webpack://aegis-app/./node_modules/core-js/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/modules/_html.js","webpack://aegis-app/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/modules/_inherit-if-required.js","webpack://aegis-app/./node_modules/core-js/modules/_invoke.js","webpack://aegis-app/./node_modules/core-js/modules/_iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array-iter.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array.js","webpack://aegis-app/./node_modules/core-js/modules/_is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/modules/_is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-call.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-create.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-define.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-detect.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-step.js","webpack://aegis-app/./node_modules/core-js/modules/_iterators.js","webpack://aegis-app/./node_modules/core-js/modules/_library.js","webpack://aegis-app/./node_modules/core-js/modules/_math-expm1.js","webpack://aegis-app/./node_modules/core-js/modules/_math-fround.js","webpack://aegis-app/./node_modules/core-js/modules/_math-log1p.js","webpack://aegis-app/./node_modules/core-js/modules/_math-sign.js","webpack://aegis-app/./node_modules/core-js/modules/_meta.js","webpack://aegis-app/./node_modules/core-js/modules/_microtask.js","webpack://aegis-app/./node_modules/core-js/modules/_new-promise-capability.js","webpack://aegis-app/./node_modules/core-js/modules/_object-assign.js","webpack://aegis-app/./node_modules/core-js/modules/_object-create.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dps.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopd.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gops.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gpo.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys-internal.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_object-pie.js","webpack://aegis-app/./node_modules/core-js/modules/_object-sap.js","webpack://aegis-app/./node_modules/core-js/modules/_object-to-array.js","webpack://aegis-app/./node_modules/core-js/modules/_own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/_perform.js","webpack://aegis-app/./node_modules/core-js/modules/_promise-resolve.js","webpack://aegis-app/./node_modules/core-js/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine-all.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec.js","webpack://aegis-app/./node_modules/core-js/modules/_same-value.js","webpack://aegis-app/./node_modules/core-js/modules/_set-proto.js","webpack://aegis-app/./node_modules/core-js/modules/_set-species.js","webpack://aegis-app/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://aegis-app/./node_modules/core-js/modules/_shared-key.js","webpack://aegis-app/./node_modules/core-js/modules/_shared.js","webpack://aegis-app/./node_modules/core-js/modules/_species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_strict-method.js","webpack://aegis-app/./node_modules/core-js/modules/_string-at.js","webpack://aegis-app/./node_modules/core-js/modules/_string-context.js","webpack://aegis-app/./node_modules/core-js/modules/_string-html.js","webpack://aegis-app/./node_modules/core-js/modules/_string-pad.js","webpack://aegis-app/./node_modules/core-js/modules/_string-repeat.js","webpack://aegis-app/./node_modules/core-js/modules/_string-trim.js","webpack://aegis-app/./node_modules/core-js/modules/_string-ws.js","webpack://aegis-app/./node_modules/core-js/modules/_task.js","webpack://aegis-app/./node_modules/core-js/modules/_to-absolute-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_to-iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_to-length.js","webpack://aegis-app/./node_modules/core-js/modules/_to-object.js","webpack://aegis-app/./node_modules/core-js/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-array.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/_typed.js","webpack://aegis-app/./node_modules/core-js/modules/_uid.js","webpack://aegis-app/./node_modules/core-js/modules/_user-agent.js","webpack://aegis-app/./node_modules/core-js/modules/_validate-collection.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-define.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_wks.js","webpack://aegis-app/./node_modules/core-js/modules/core.get-iterator-method.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.every.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.fill.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.filter.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find-index.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.for-each.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.from.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.is-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.join.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.last-index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce-right.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.slice.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.some.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.sort.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.species.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.now.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-json.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.bind.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.has-instance.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.name.js","webpack://aegis-app/./node_modules/core-js/modules/es6.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.acosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.asinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.atanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cbrt.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.clz32.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.expm1.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.fround.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.hypot.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.imul.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log10.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log1p.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log2.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.tanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.trunc.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.epsilon.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-finite.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-nan.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-precision.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.assign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.create.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-properties.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.freeze.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-frozen.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-sealed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.seal.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.promise.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.apply.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.construct.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.has.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.exec.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.flags.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.match.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.replace.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.search.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.split.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.anchor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.big.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.blink.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.bold.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.code-point-at.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.ends-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontcolor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontsize.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.from-code-point.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.italics.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.link.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.raw.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.repeat.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.small.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.starts-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.strike.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sub.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sup.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.trim.js","webpack://aegis-app/./node_modules/core-js/modules/es6.symbol.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.data-view.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float64-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-set.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.flat-map.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.entries.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.values.js","webpack://aegis-app/./node_modules/core-js/modules/es7.promise.finally.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-end.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-start.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-left.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-right.js","webpack://aegis-app/./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://aegis-app/./node_modules/core-js/modules/web.dom.iterable.js","webpack://aegis-app/./node_modules/core-js/modules/web.immediate.js","webpack://aegis-app/./node_modules/core-js/modules/web.timers.js","webpack://aegis-app/./node_modules/core-js/web/index.js","webpack://aegis-app/./node_modules/debug/node_modules/ms/index.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/depd/index.js","webpack://aegis-app/./node_modules/destroy/index.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/dotenv/lib/main.js","webpack://aegis-app/./node_modules/ee-first/index.js","webpack://aegis-app/./node_modules/encodeurl/index.js","webpack://aegis-app/./node_modules/escape-html/index.js","webpack://aegis-app/./node_modules/etag/index.js","webpack://aegis-app/./node_modules/express-session/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/express-session/node_modules/ms/index.js","webpack://aegis-app/./node_modules/express-session/session/cookie.js","webpack://aegis-app/./node_modules/express-session/session/memory.js","webpack://aegis-app/./node_modules/express-session/session/session.js","webpack://aegis-app/./node_modules/express-session/session/store.js","webpack://aegis-app/./node_modules/express/index.js","webpack://aegis-app/./node_modules/express/lib/application.js","webpack://aegis-app/./node_modules/express/lib/express.js","webpack://aegis-app/./node_modules/express/lib/middleware/init.js","webpack://aegis-app/./node_modules/express/lib/middleware/query.js","webpack://aegis-app/./node_modules/express/lib/request.js","webpack://aegis-app/./node_modules/express/lib/response.js","webpack://aegis-app/./node_modules/express/lib/router/index.js","webpack://aegis-app/./node_modules/express/lib/router/layer.js","webpack://aegis-app/./node_modules/express/lib/router/route.js","webpack://aegis-app/./node_modules/express/lib/utils.js","webpack://aegis-app/./node_modules/express/lib/view.js","webpack://aegis-app/./node_modules/express/lib|sync","webpack://aegis-app/./node_modules/express/node_modules/cookie/index.js","webpack://aegis-app/./node_modules/express/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/express/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/express/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/express/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/express/node_modules/ms/index.js","webpack://aegis-app/./node_modules/finalhandler/index.js","webpack://aegis-app/./node_modules/finalhandler/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/finalhandler/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/finalhandler/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/finalhandler/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/finalhandler/node_modules/ms/index.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/forwarded/index.js","webpack://aegis-app/./node_modules/fresh/index.js","webpack://aegis-app/./node_modules/function-bind/implementation.js","webpack://aegis-app/./node_modules/function-bind/index.js","webpack://aegis-app/./node_modules/get-intrinsic/index.js","webpack://aegis-app/./node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/has-symbols/index.js","webpack://aegis-app/./node_modules/has-symbols/shams.js","webpack://aegis-app/./node_modules/has/src/index.js","webpack://aegis-app/./node_modules/http-errors/index.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/dbcs-codec.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/dbcs-data.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/index.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/internal.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/sbcs-codec.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/sbcs-data-generated.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/sbcs-data.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/utf16.js","webpack://aegis-app/./node_modules/iconv-lite/encodings/utf7.js","webpack://aegis-app/./node_modules/iconv-lite/lib/bom-handling.js","webpack://aegis-app/./node_modules/iconv-lite/lib/extend-node.js","webpack://aegis-app/./node_modules/iconv-lite/lib/index.js","webpack://aegis-app/./node_modules/iconv-lite/lib/streams.js","webpack://aegis-app/./node_modules/inherits/inherits.js","webpack://aegis-app/./node_modules/inherits/inherits_browser.js","webpack://aegis-app/./node_modules/ipaddr.js/lib/ipaddr.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/media-typer/index.js","webpack://aegis-app/./node_modules/merge-descriptors/index.js","webpack://aegis-app/./node_modules/methods/index.js","webpack://aegis-app/./node_modules/mime-db/index.js","webpack://aegis-app/./node_modules/mime-types/index.js","webpack://aegis-app/./node_modules/mime/mime.js","webpack://aegis-app/./node_modules/ms/index.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/negotiator/index.js","webpack://aegis-app/./node_modules/negotiator/lib/charset.js","webpack://aegis-app/./node_modules/negotiator/lib/encoding.js","webpack://aegis-app/./node_modules/negotiator/lib/language.js","webpack://aegis-app/./node_modules/negotiator/lib/mediaType.js","webpack://aegis-app/./node_modules/node-gyp-build/index.js","webpack://aegis-app/./node_modules/object-inspect/index.js","webpack://aegis-app/./node_modules/object-inspect/util.inspect.js","webpack://aegis-app/./node_modules/on-finished/index.js","webpack://aegis-app/./node_modules/on-headers/index.js","webpack://aegis-app/./node_modules/parseurl/index.js","webpack://aegis-app/./node_modules/path-to-regexp/index.js","webpack://aegis-app/./node_modules/proxy-addr/index.js","webpack://aegis-app/./node_modules/qs/lib/formats.js","webpack://aegis-app/./node_modules/qs/lib/index.js","webpack://aegis-app/./node_modules/qs/lib/parse.js","webpack://aegis-app/./node_modules/qs/lib/stringify.js","webpack://aegis-app/./node_modules/qs/lib/utils.js","webpack://aegis-app/./node_modules/random-bytes/index.js","webpack://aegis-app/./node_modules/range-parser/index.js","webpack://aegis-app/./node_modules/raw-body/index.js","webpack://aegis-app/./node_modules/regenerator-runtime/runtime.js","webpack://aegis-app/./node_modules/safe-buffer/index.js","webpack://aegis-app/./node_modules/safer-buffer/safer.js","webpack://aegis-app/./node_modules/send/index.js","webpack://aegis-app/./node_modules/send/node_modules/debug/node_modules/ms/index.js","webpack://aegis-app/./node_modules/send/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/send/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/send/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/send/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/serve-static/index.js","webpack://aegis-app/./node_modules/setprototypeof/index.js","webpack://aegis-app/./node_modules/side-channel/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/statuses/index.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/./node_modules/toidentifier/index.js","webpack://aegis-app/./node_modules/type-is/index.js","webpack://aegis-app/./node_modules/uid-safe/index.js","webpack://aegis-app/./node_modules/unpipe/index.js","webpack://aegis-app/./node_modules/utf-8-validate/fallback.js","webpack://aegis-app/./node_modules/utf-8-validate/index.js","webpack://aegis-app/./node_modules/utils-merge/index.js","webpack://aegis-app/./node_modules/vary/index.js","webpack://aegis-app/./node_modules/ws/index.js","webpack://aegis-app/./node_modules/ws/lib/buffer-util.js","webpack://aegis-app/./node_modules/ws/lib/constants.js","webpack://aegis-app/./node_modules/ws/lib/event-target.js","webpack://aegis-app/./node_modules/ws/lib/extension.js","webpack://aegis-app/./node_modules/ws/lib/limiter.js","webpack://aegis-app/./node_modules/ws/lib/permessage-deflate.js","webpack://aegis-app/./node_modules/ws/lib/receiver.js","webpack://aegis-app/./node_modules/ws/lib/sender.js","webpack://aegis-app/./node_modules/ws/lib/stream.js","webpack://aegis-app/./node_modules/ws/lib/validation.js","webpack://aegis-app/./node_modules/ws/lib/websocket-server.js","webpack://aegis-app/./node_modules/ws/lib/websocket.js","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"async_hooks\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"cluster\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"querystring\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"string_decoder\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/node module decorator","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/startup"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","creds","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","substring","concat","Subscription","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","key","apiKey","fetch","json","fn","wasmGetPublicIpAddress","chunks","res","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","relations","orders","foreignKey","commands","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","timeout","keys","producesEvent","disabled","consumesEvent","undo","cancelPayment","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","returnDelivery","paymentCompleted","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","req","listModels","writable","serialize","addModel","body","ctx","context","OrderError","editModel","params","changes","approve","runFibonacci","start","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","value","enabled","WebSwitch","makeClient","internal","makeAdapters","adapters","services","map","warn","reduce","c","checkPayload","Array","isArray","k","latest","createCustomer","phone","userId","freeze","length","validateSpec","spec","missing","makeModel","GlobalMixins","bindAdapters","models","modelSpecs","category","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity","prevmodel","Symbol","validations","mixinType","pre","mixinSets","premixins","postmixins","processUpdate","updates","compose","updateMixins","o","cb","mixinSet","eventMask","create","onload","handleUpdateEvent","isUpdate","decrypted","isObject","containsUpdates","changeList","util","input","v","sort","a","b","apply","output","enableEvent","onUpdate","onCreate","onLoad","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","parseKeys","propKeys","flat","encryptProperties","encryptProps","obj","encrypt","preventUpdates","mutations","includes","requireProps","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","unknownProps","rejectUnknownProperties","RegEx","ipv4Address","ipv6Address","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","Validator","tests","maxlen","invalid","updaters","updateProps","u","invokePort","execMethod","functionType","createMethod","withValidFormat","checkFormat","encryptPersonalInfo","orderTotal","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","checkItems","items","calcTotal","total","item","itemCount","finalStatus","invalidStatusChange","to","invalidStatusChanges","i","errMsg","emit","shipmentPayload","addressValidated","addressPayload","paymentAuthorized","verifyAddress","verifyPayment","authorizeOrder","paymentDeclined","verifyInventory","insufficient","inv","getCustomerOrder","custInfo","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","trackingUpdate","needsSignature","logMessage","toJSON","createOrder","shippingPriority","requireSignature","estimatedArrival","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","approvedOrder","logStateChange","canceledOrder","checkout","errorCallback","timeoutCallback","adapterFn","logUndo","accountOrder","cancelOrdersTransform","Transform","objectMode","transform","_encoding","done","_id","list","createWriteStream","approveOrdersTransform","encoding","getContext","dur","startTime","metric","requestId","duration","funcs","initVal","reduceRight","composeAsync","f","passwd","ENCRYPTION_PWD","algo","crypto","String","iv","alloc","text","cipher","cipherText","decipher","digest","makeArray","makeObject","async","promise","ok","asObject","asArray","HOSTNAME","SERVICENAME","HBEATTIMEOUT","WSOCKETERROR","SWITCH","BACKUP","heartbeatMs","sslEnabled","SSL_ENABLED","clearPort","PORT","cipherPort","SSL_PORT","activePort","activeProto","activeHost","DOMAIN","os","proto","SWITCH_PROTO","SWITCH_PORT","host","SWITCH_HOST","override","SWITCH_OVERRIDE","apiProto","apiUrl","ServiceMeshClient","mesh","pong","heartbeatTimer","headers","pid","eventName","role","telemetry","memoryUsage","cpuUsage","performance","nodeTiming","listServices","socketState","resolveUrl","agent","heartbeat","sendQueuedMsgs","missingEventName","listeners","listener","connect","clearTimeout","sent","enqueue","queueDepth","dequeue","save","removeAllListeners","EventEmitter","client","sendQueue","sendQueueMax","shift","getClient","publish","subscribe","handler","EventDispatcher","adapter","emitEvent","bind","session","express","cluster","fs","_srv_","app","API_ROOT","init","sessionParser","saveUninitialized","secret","resave","use","request","ws","destroy","ip","originalUrl","date","server","createServer","wss","Server","clientTracking","noServer","clients","each","head","handleUpgrade","startServer","hotReload","RELOAD_URL","auth","AUTH_ENABLED","ssl","startsWith","readFileSync","access_token","https","httpsAgent","Agent","rejectUnauthorized","Registry","eventNames","sendEvent","generateShippingEventData","generateShippingMessage","commandResp","inventoryCallbackFactory","inventoryCallback","warehouseAddress","shippingCallbackFactory","shippingCallback","_message","dispatcher","registerCallback","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","buildClient","Address","lookup","inputId","street","maxCandidates","candidate","lookups","validatedAddress","deliveryLine1","deliveryLine2","lastLine","_notify","_listen","EventBus","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","kafka","Kafka","clientId","split","consumer","producer","fromBeginning","run","eachMessage","messages","disconnect","Payment","amount","source_id","customer_id","autocomplete","currency","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","createEventMessage","eventTarget","getTime","eventUuid","createCommandEvent","Shipping","serviceName","payloads","getProperty"],"mappings":";;;;;;;;;;;;;AAAa;;AAEb,mBAAO,CAAC,sEAAc;;AAEtB,qCAAqC,mBAAO,CAAC,8EAA2B;;AAExE,sCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA,yC;;;;;;;;;;;;;ACZa;;AAEb,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,kFAA6B;;AAErC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,oFAA8B;;AAEtC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,4FAAkC;;AAE1C,mBAAO,CAAC,wHAAgD;;AAExD,mBAAO,CAAC,4EAA0B;;AAElC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,kFAA6B,E;;;;;;;;;;;;AC5BrC;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,IAAI,IAAI,IAAI,GAAG,IAAI;AAC3C;AACA,+BAA+B,IAAI,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,IAAI,EAAE,IAAI;AAClF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,SAAS;AAC9B;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;;AAEA,qBAAqB,eAAe;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,oBAAoB;AACpB,WAAW;AACX,oBAAoB;AACpB,WAAW;AACX,oBAAoB;;AAEpB;AACA,WAAW;;;AAGX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA,mDAAmD,eAAe;AAClE;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA,qBAAqB,YAAY;AACjC;AACA;AACA;;AAEA;AACA;;AAEA,uEAAuE,IAAI;AAC3E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uCAAuC,GAAG;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mDAAmD,QAAQ,aAAa,QAAQ;AAChF;AACA;AACA,CAAC,IAAI;AACL,IAAI,IAA0C,EAAE,iCAAO,EAAE,mCAAE,YAAY,gBAAgB,EAAE;AAAA,kGAAC;AAC1F,KAAK,EAAsF;;;;;;;;;;;;;;;ACzP3F;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,sDAAY;AACrC,WAAW,mBAAO,CAAC,sDAAY;;AAE/B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4CAA4C,aAAa;AACzD;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,qBAAqB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB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;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY,iBAAiB;AAC7B,YAAY;AACZ;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,eAAe,mBAAO,C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AW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5Va;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAAA;cAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAAK,iCAEHF,OAAO,CADTG,IAAI,MAAGC,QAAQ;cAAA;cAAA;cAAA,O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OAAO,CAACC,KAAK,CAAC;cAAEC,IAAI,EAAE8P,UAAU,CAAC7P,IAAI;cAAEF,KAAK;YAAC,CAAC,CAAC;YAAC,iCACzC,IAAI;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EAAA,CAEd;EAAA;AAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;ACnCW;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;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ACC;;;;;;;;;;;;;;ACJvB;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,U;;;;;;;;;;;;;;;;;;;ACVa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AAAA;AAAA,+CAvBA;AAAA;AAAA;AAyBO,IAAM+vB,OAAO,GAAG;EACrB;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQzoB,gBAAgB,4BACpB/F,EAAE,EACFyuB,MAAM,EACNC,SAAS,EACTC,WAAW,EAGX;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAAA;cAFAC,YAAY,0EAAG,KAAK;cACpBC,QAAQ,0EAAG,KAAK;cAEV3kB,OAAO,GAAG;gBACd4kB,eAAe,EAAE9uB,EAAE;gBACnB+uB,YAAY,EAAE;kBACZN,MAAM,EAANA,MAAM;kBACNI,QAAQ,EAARA;gBACF,CAAC;gBACDH,SAAS,EAATA,SAAS;gBACTE,YAAY,EAAZA,YAAY;gBACZD,WAAW,EAAXA,WAAW;gBACXK,WAAW,EAAE,eAAe;gBAC5BC,YAAY,EAAE,QAAQ;gBACtBC,IAAI,EAAE,mBAAmB;gBACzBC,aAAa,EAAE;kBACbV,MAAM,EAAE,EAAE;kBACVI,QAAQ,EAAE;gBACZ;cACF,CAAC;cACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;cArCI,iCA2CO,MAAM;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;;;;;;;;;;;;;;AC5MA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,4CAAO;AAC3B,kBAAkB,mBAAO,CAAC,0DAAc;AACxC,kBAAkB,mBAAO,CAAC,wDAAa;AACvC,YAAY,mBAAO,CAAC,yEAAO;AAC3B,WAAW,mBAAO,CAAC,uDAAS;AAC5B,aAAa,mBAAO,CAAC,gDAAS;;AAE9B;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC;AACnC,mCAAmC;AACnC,mCAAmC;AACnC,mCAAmC;AACnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,sBAAsB;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAwB;AACxB,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,YAAY;AACvB,WAAW,OAAO;AAClB,YAAY;AACZ;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC3OA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,4CAAO;AAC3B,YAAY,mBAAO,CAAC,yEAAO;AAC3B,WAAW,mBAAO,CAAC,uDAAS;AAC5B,aAAa,mBAAO,CAAC,gDAAS;;AAE9B;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,4CAAO;AAC3B,kBAAkB,mBAAO,CAAC,0DAAc;AACxC,YAAY,mBAAO,CAAC,yEAAO;AAC3B,WAAW,mBAAO,CAAC,uDAAS;AAC5B,aAAa,mBAAO,CAAC,gDAAS;;AAE9B;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxHA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,4CAAO;AAC3B,kBAAkB,mBAAO,CAAC,0DAAc;AACxC,kBAAkB,mBAAO,CAAC,wDAAa;AACvC,YAAY,mBAAO,CAAC,yEAAO;AAC3B,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,WAAW,mBAAO,CAAC,uDAAS;AAC5B,aAAa,mBAAO,CAAC,gDAAS;;AAE9B;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,mBAAO,CAAC,0CAAI;AACxB;AACA;AACA,YAAY,mBAAO,CAAC,gCAAa;AACjC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA,8CAA8C,0BAA0B;AACxE;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC3RA;AACA;AACA;AACA;AACA;;AAEA,UAAU,iHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,uGAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,wHAAwC;AAC1C,CAAC;AACD,EAAE,kHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,iHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;;ACjCL;;AAEb;AACA,mBAAmB,mBAAO,CAAC,8DAAgB,EAAE,SAAS;AACtD,CAAC;AACD,EAAE,+FAAsC;AACxC;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;AACA,qBAAqB;AACrB,oBAAoB;;AAEpB;AACA;AACA;AACA;;AAEA,sCAAsC,EAAE;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACzKa;;AAEb,mBAAmB,mBAAO,CAAC,4DAAe;;AAE1C,eAAe,mBAAO,CAAC,6CAAI;;AAE3B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACda;;AAEb,WAAW,mBAAO,CAAC,4DAAe;AAClC,mBAAmB,mBAAO,CAAC,4DAAe;;AAE1C;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,QAAQ,WAAW;AACvC,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2CAA2C,mBAAmB;AAC9D,CAAC;AACD,CAAC,oBAAoB;AACrB;;;;;;;;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;;AAEA,eAAe,gDAAwB;AACvC,aAAa,oFAA6B;;AAE1C;AACA;AACA;AACA;;AAEA,sDAAsD,YAAY;;AAElE;AACA;AACA;AACA;;AAEA,sCAAsC,EAAE;AACxC,+CAA+C,EAAE;;AAEjD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA,qBAAqB,MAAM;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,MAAM;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iDAAiD,iBAAiB,IAAI,aAAa,EAAE,EAAE,IAAI,UAAU,IAAI,oBAAoB,EAAE;;AAE/H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8EAA8E;;AAE9E;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,eAAe;AAC1B,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,eAAe;AAC1B,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,6DAA6D;AAC7D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACzcA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,cAAc;AACd,aAAa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW;AACX,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC7NA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa;AACb,iBAAiB;;AAEjB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C,iBAAiB;AACjB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA,GAA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6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;;;AC/Ia;AACb,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,wBAAwB,mBAAO,CAAC,0EAAkB;AAClD,WAAW,mBAAO,CAAC,sDAAQ;AAC3B,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,qBAAqB;AACrB,0BAA0B;AAC1B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;;;;ACpFa;AACb,aAAa,mBAAO,CAAC,4DAAW;AAChC,cAAc,mBAAO,CAAC,4DAAW;AACjC,eAAe,mBAAO,CAAC,gEAAa;AACpC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,WAAW,mBAAO,CAAC,wDAAS;AAC5B,YAAY,mBAAO,CAAC,4DAAW;AAC/B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,eAAe,mBAAO,CAAC,kEAAc;AACrC,YAAY,mBAAO,CAAC,0DAAU;AAC9B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,qBAAqB,mBAAO,CAAC,kFAAsB;AACnD,wBAAwB,mBAAO,CAAC,sFAAwB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO,mCAAmC,gCAAgC,aAAa;AACvF,8BAA8B,mCAAmC,aAAa;AAC9E;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;;;;ACD1B;A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AACA,kFAAkF,uBAAuB;AACzG,iEAAiE;AACjE,+DAA+D;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,eAAe;AACf,eAAe;AACf,eAAe;AACf,gBAAgB;AAChB;;;;;;;;;;;;;;AC1CA,YAAY,mBAAO,CAAC,sDAAQ;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,YAAY;AACjB,GAAG;AACH;;;;;;;;;;;;;;ACXA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACNa;AACb,mBAAO,CAAC,4EAAmB;AAC3B,eAAe,mBAAO,CAAC,gEAAa;AACpC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,YAAY,mBAAO,CAAC,0DAAU;AAC9B,cAAc,mBAAO,CAAC,8DAAY;AAClC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,iBAAiB,mBAAO,CAAC,sEAAgB;;AAEzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,2BAA2B,mBAAmB,aAAa;AAC3D;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCA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;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA,WAAW,mBAAO,CAAC,sDAAQ;AAC3B,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,yFAAyB;AACvC;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,0DAAU;AAChC,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,aAAa,mBAAO,CAAC,4DAAW;AAChC,gBAAgB,iFAAsB;AACtC;AACA;AACA;AACA,aAAa,mBAAO,CAAC,sDAAQ;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uCAAuC,sBAAsB,EAAE;AAC/D;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;;;ACpEa;AACb;AACA,gBAAgB,mBAAO,CAAC,oEAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;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ACH;;;;;;;;;;;;;;AClBA;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC,aAAa,mBAAO,CAAC,0EAAkB;AACvC,cAAc,mBAAO,CAAC,8DAAY;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACfa;AACb,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,cAAc,mBAAO,CAAC,8DAAY;;AAElC;AACA;AACA;AACA;AACA;AACA,QAAQ,MAAM;AACd;AACA;;;;;;;;;;;;;;ACXA,cAAc,mBAAO,CAAC,4DAAW;AACjC,cAAc,mBAAO,CAAC,8DAAY;AAClC,YAAY,mBAAO,CAAC,0DAAU;AAC9B,aAAa,mBAAO,CAAC,kEAAc;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC7BA;AACA;;;;;;;;;;;;;;ACDA,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,UAAU,mBAAO,CAAC,oEAAe;AACjC,aAAa,mBAAO,CAAC,4DAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,sDAAQ;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA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E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,yBAAyB;AACzB,KAAK;AACL,uBAAuB;AACvB,2BAA2B;AAC3B,0BAA0B;AAC1B,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,aAAa;AACvC,OAAO;AACP;;AAEA;;AAEA;;AAEA;AACA;AACA,KAAK;;AAEL,uDAAuD,6BAA6B,EAAE;AACtF;AACA;AACA,KAAK;;AAEL;;AAEA;;AAEA;;AAEA,uDAAuD,YAAY;;AAEnE;;AAEA;;AAEA;AACA;AACA,KAAK,UAAU,gBAAgB;;AAE/B;AACA;AACA,KAAK;AACL;AACA,KAAK,WAAW,kCAAkC;;AAElD;AACA;AACA;AACA,CAAC,oCAAoC;;;;;;;;;;;;;;;;AC/dxB;AACb,aAAa,mBAAO,CAAC,4DAAW;AAChC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,8DAAY;AAClC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,WAAW,mBAAO,CAAC,wDAAS;AAC5B,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,YAAY,mBAAO,CAAC,0DAAU;AAC9B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,gEAAa;AACnC,WAAW,6FAA2B;AACtC,SAAS,yFAAyB;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,kFAAsB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB,GAAG;AACH,uBAAuB;AACvB,0BAA0B;AAC1B,0BAA0B;AAC1B;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnRA,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,UAAU,mBAAO,CAAC,sDAAQ;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA,aAAa,mBAAO,CAAC,4DAAW;AAChC;;AAEA;;;;;;;;;;;;;;ACHA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,cAAc,mBAAO,CAAC,8DAAY;AAClC,aAAa,mBAAO,CAAC,8DAAY;AACjC,qBAAqB,yFAAyB;A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4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,mBAAmB,mBAAO,CAAC,4EAAmB;AAC9C,aAAa,mBAAO,CAAC,0EAAkB;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,0DAAU;AACxB;AACA,kBAAkB;AAClB,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACjHY;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,mBAAmB,mBAAO,CAAC,4EAAmB;AAC9C;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA,sBAAsB;AACtB,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACjBD;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,0CAA0C,SAAS,mBAAO,CAAC,0EAAkB,GAAG;;;;;;;;;;;;;ACHhF,cAAc,mBAAO,CAAC,4DAAW;AACjC;AACA,8BAA8B,SAAS,mBAAO,CAAC,0EAAkB,GAAG;;;;;;;;;;;;;ACFpE,cAAc,mBAAO,CAAC,4DAAW;AACjC;AACA,iCAAiC,mBAAO,CAAC,sEAAgB,cAAc,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AAoB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,EAAE,mBAAO,CAAC,sDAAQ;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,wEAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,kFAAsB;AAC9B,mBAAO,CAAC,sEAAgB;AACxB,UAAU,mBAAO,CAAC,wDAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,sEAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC7RD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,yFAA4B,MAAM;AAChD;AACA;AACA,iCAAiC,mBAAO,CAAC,0DAAU;AACnD,sBAAsB,cAAc;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACfD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0EAAkB;AACvC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,YAAY,mBAAO,CAAC,0DAAU;AAC9B,WAAW,mBAAO,CAAC,wDAAS;AAC5B,kBAAkB,yFAA4B,MAAM;;AAEpD;AACA;AACA;AACA,gBAAgB;AAChB,mCAAmC,cAAc;AACjD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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACvCY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,eAAe,mBAAO,CAAC,kEAAc;AACrC,qBAAqB,mBAAO,CAAC,wFAAyB;AACtD,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACrIY;AACb,mBAAO,CAAC,8EAAoB;AAC5B,eAAe,mBAAO,CAAC,kEAAc;AACrC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA;;AAEA;AACA,EAAE,mBAAO,CAAC,gEAAa;AACvB;;AAEA;AACA,IAAI,mBAAO,CAAC,0DAAU,eAAe,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;A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,mBAAO,CAAC,kEAAc;AAChC,YAAY,mBAAO,CAAC,sEAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB;AACtB,sBAAsB,uBAAuB,WAAW,IAAI;AAC5D,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,KAAK;AACL;AACA,sBAAsB,mCAAmC;AACzD,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,6FAA2B;AAC7B,EAAE,2FAA0B;AAC5B;;AAEA,sBAAsB,mBAAO,CAAC,8DAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD,6BAA6B;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,eAAe,EAAE;AAC3C,0BAA0B,gBAAgB;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,8CAA8C,YAAY,EA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ChC,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACnBD,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,uFAA6B;AACrC,uGAA4C;;;;;;;;;;;;;;ACH5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjKA;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,yDAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,eAAe,gDAAwB;;AAEvC;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uCAAuC;;AAEvC;AACA,4CAA4C;AAC5C;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,WAAW;AAC5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,kBAAkB;AAC1B;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2BAA2B,iCAAiC;AAC5D,cAAc,oBAAoB;AAClC;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,MAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACzhBA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,mBAAmB,wDAA8B;AACjD,iBAAiB,8CAAwB;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AChNY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA,WAAW,mBAAO,CAAC,cAAI;AACvB,aAAa,mBAAO,CAAC,kBAAM;AAC3B,WAAW,mBAAO,CAAC,cAAI;AACvB,oBAAoB,mBAAO,CAAC,2DAAiB;;AAE7C;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,QAAQ,WAAW,QAAQ;AACpD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE,WAAW;;AAE9E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,IAAI;AACzB,WAAW;AACX,qBAAqB,IAAI;AACzB;AACA;AACA;AACA,KAAK;;AAEL,YAAY;AACZ,GAAG;AACH;AACA,6BAA6B,WAAW,GAAG,UAAU;AACrD;;AAEA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB,oBAAoB;AACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/GA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,iBAAiB,kBAAkB;AACnC;;AAEA;AACA;;AAEA;;AAEA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,qBAAqB;AACxC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;AC9FA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2BAA2B,oBAAoB;AAC/C;AACA;AACA,wBAAwB;AACxB;AACA;AACA,uBAAuB;AACvB;AACA;AACA,uBAAuB;AACvB;AACA;AACA,sBAAsB;AACtB;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,yCAAmB;;AAE/B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,oBAAoB;AAC/B,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,W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AEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa;AACb;AACA;AACA;AACA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;AC5qBA;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,2GAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,4HAAwC;AAC1C,CAAC;AACD,EAAE,sHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,gBAAgB,mBAAO,CAAC,0CAAM;;AAE9B;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,aAAa,KAAK;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gEAAS;AAC7B,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA,sCAAsC,aAAa;AACnD,qCAAqC,uBAAuB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA,6DAA6D;AAC7D;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC9IA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,kEAAU;AAC/B,mBAAmB,wDAA8B;AACjD,cAAc,mBAAO,CAAC,oEAAW;AACjC,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,kGAAyC;;;;;;;;;;;;;;;;ACVzC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,mBAAmB,mBAAO,CAAC,0DAAc;AACzC,aAAa,mBAAO,CAAC,4DAAU;AAC/B,cAAc,mBAAO,CAAC,gDAAS;AAC/B,iBAAiB,mBAAO,CAAC,wEAAmB;AAC5C,YAAY,mBAAO,CAAC,0EAAoB;AACxC,YAAY,mBAAO,CAAC,qEAAO;AAC3B,WAAW,mBAAO,CAAC,kDAAQ;AAC3B,WAAW,mBAAO,CAAC,kBAAM;AACzB,kBAAkB,qFAA8B;AAChD,yBAAyB,4FAAqC;AAC9D,mBAAmB,sFAA+B;AAClD,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,cAAc,mBAAO,CAAC,oEAAe;AACrC,YAAY,mBAAO,CAAC,wDAAa;AACjC,cAAc,+CAAuB;AACrC,qBAAqB,mBAAO,CAAC,8DAAgB;;AAE7C;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,YAAY,aAAoB,IAAI,CAAa;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,EAAE;AACb,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,iBAAiB,oBAAoB;AACrC;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,eAAe;AAC1C;AACA,OAAO;AACP;AACA,WAAW,OAAO;AAClB,WAAW,gBAAgB;AAC3B,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,MAAM;AAChC;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;;;ACppBA;AACA;AACA;A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Ae,mBAAO,CAAC,kDAAU;AACjC,SAAS,mBAAO,CAAC,0CAAI;;AAErB;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA,qBAAqB;AACrB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,cAAc,mBAAO,CAAC,gDAAS;AAC/B,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,WAAW,0CAAmB;AAC9B,aAAa,mBAAO,CAAC,gDAAS;AAC9B,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,4CAAO;AAC3B,iBAAiB,mBAAO,CAAC,0DAAc;AACvC,YAAY,mBAAO,CAAC,kDAAU;AAC9B,gBAAgB,mBAAO,CAAC,sDAAY;;AAEpC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5gBA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa,oFAA6B;AAC1C,yBAAyB,mBAAO,CAAC,wEAAqB;AACtD,kBAAkB,mBAAO,CAAC,wDAAa;AACvC,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,gBAAgB,mBAAO,CAAC,oDAAW;AACnC,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,WAAW,mBAAO,CAAC,kBAAM;AACzB,iBAAiB,oFAA6B;AAC9C,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,WAAW,mBAAO,CAAC,kBAAM;AACzB,eAAe,mBAAO,CAAC,kDAAU;AACjC,YAAY,mBAAO,CAAC,wDAAa;AACjC,WAAW,4FAAgC;AAC3C,oBAAoB,uFAAgC;AACpD,qBAAqB,wFAAiC;AACtD,iBAAiB,oFAA6B;AAC9C,aAAa,mBAAO,CAAC,mEAAQ;AAC7B,WAAW,mBAAO,CAAC,0CAAM;AACzB;AACA;AACA;AACA,WAAW,mBAAO,CAAC,0CAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,sBAAsB;;AAEtB;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,eAAe;AAChC;AACA;AACA,WAAW,oCAAoC;AAC/C;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,aAAa;AAC9B;AACA,WAAW,6BAA6B;AACxC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,aAAa;AAC/B;AACA,WAAW,6BAA6B;AACxC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,4FAA4F;AAC5F;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,oBAAoB,iBAAiB;AACrC;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,oBAAoB,iBAAiB;AACrC;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B,yBAAyB;;AAEnD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,oDAAoD,iBAAiB;AACrE,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,QAAQ;AAChD;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,aAAa;AACxB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD,gCAAgC;AAChC;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA,oBAAoB,kCAAkC;;AAEtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,yDAAyD;AAC9F;AACA;AACA,qCAAqC,iCAAiC;AACtE;AACA,WAAW,OAAO;AAClB,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA,mBAAmB,WAAW;AAC9B;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,YAAY,eAAe;AAC3B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,iBAAiB;AACtC;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,EAAE;AACb,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;;;;;;;;;;;;;;AChpCA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,2DAAS;AAC7B,YAAY,mBAAO,CAAC,2DAAS;AAC7B,cAAc,mBAAO,CAAC,gDAAS;AAC/B,YAAY,mBAAO,CAAC,wDAAa;AACjC,YAAY,mBAAO,CAAC,qEAAO;AAC3B,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,cAAc,mBAAO,CAAC,oEAAe;AACrC,eAAe,mBAAO,CAAC,kDAAU;AACjC,qBAAqB,mBAAO,CAAC,8DAAgB;;AAE7C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY,IAAI;AAChB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,SAAS;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,2CAA2C,SAAS;AACpD;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;AChqBA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,8DAAgB;AACzC,YAAY,mBAAO,CAAC,qEAAO;;AAE3B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,qEAAO;AAC3B,cAAc,mBAAO,CAAC,oEAAe;AACrC,YAAY,mBAAO,CAAC,2DAAS;AAC7B,cAAc,mBAAO,CAAC,gDAAS;;AAE/B;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,WAAW,SAAS;AACpB,YAAY,MAAM;AAClB;AACA;;AAEA;AACA;;AAEA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;AACA;;AAEA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,+BAA+B;AAC/B;;AAEA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AChOD;AACA;AACA;AACA;AACA;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ACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,wBAAwB;AACpC,YAAY;AACZ;AACA;;AAEA,mBAAmB;AACnB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,gBAAgB;AAC5B,YAAY;AACZ;AACA;;AAEA,0BAA0B;AAC1B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,qCAAqC;AACjD,YAAY;AACZ;AACA;;AAEA,oBAAoB;AACpB;;AAEA;AACA;AACA,sBAAsB;AACtB;;AAEA;AACA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA,yBAAyB,kBAAkB;AAC3C;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;AC/SA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,qEAAO;AAC3B,WAAW,mBAAO,CAAC,kBAAM;AACzB,SAAS,mBAAO,CAAC,cAAI;;AAErB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,aAAa,iEAAQ,GAAG,CAAC;;AAEzB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,iBAAiB,2BAA2B;AAC5C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;ACrLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa;AACb,iBAAiB;;AAEjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+BAA+B;;AAE/B;AACA;AACA,KAAK;AACL;AACA,gCAAgC;AAChC;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C,iBAAiB;AACjB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,EAAE;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;;AC7QA;AACA;AACA;AACA;AACA;;AAEA,UAAU,6GAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,mGAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,oHAAwC;AAC1C,CAAC;AACD,EAAE,8GAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,6GAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,0EAAO;AAC3B,gBAAgB,mBAAO,CAAC,oDAAW;AACnC,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,eAAe,mBAAO,CAAC,kDAAU;AACjC,eAAe,mBAAO,CAAC,kDAAU;AACjC,aAAa,mBAAO,CAAC,8CAAQ;;AAE7B;AACA;AACA;AACA;;AAEA,gCAAgC,EAAE;AAClC;;AAEA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,0CAA0C;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA,wBAAwB,aAAoB;;AAE5C;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,6CAA6C;AAC7C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC/UA;AACA;AACA;AACA;AACA;;AAEA,UAAU,kHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,wGAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,yHAAwC;AAC1C,CAAC;AACD,EAAE,mHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,kHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvJA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAuB,2BAA2B;AAClD,mBAAmB;;;;;;;;;;;;;;;AC5mBnB;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACxIa;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA,8EAA8E,qCAAqC,EAAE;;AAErH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnDa;;AAEb,qBAAqB,mBAAO,CAAC,wEAAkB;;AAE/C;;;;;;;;;;;;;;;ACJa;;AAEb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC,+CAA+C;AAChF,EAAE;AACF;;AAEA;AACA;AACA;AACA,UAAU;AACV,EAAE;AACF,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,GAAG;AACH;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,EAAE;AACF;;AAEA,iBAAiB,mBAAO,CAAC,wDAAa;;AAEtC,sDAAsD,oBAAoB,GAAG;;AAE7E;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qDAAqD;AACrD,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sDAAsD;AACtD,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAW,mBAAO,CAAC,4DAAe;AAClC,aAAa,mBAAO,CAAC,4CAAK;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,kBAAkB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC7Ua;AACb;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPa;;AAEb;AACA,oBAAoB,mBAAO,CAAC,oDAAS;;AAErC;AACA,wCAAwC,cAAc;AACtD,oCAAoC,cAAc;AAClD,6CAA6C,cAAc;AAC3D,yCAAyC,cAAc;;AAEvD;AACA;;;;;;;;;;;;;;;ACZa;;AAEb;AACA;AACA,0FAA0F,cAAc;AACxG,2CAA2C,aAAa;;AAExD;AACA;AACA;AACA,+BAA+B,cAAc;;AAE7C,iEAAiE,cAAc;AAC/E,oEAAoE,cAAc;;AAElF;AACA,gCAAgC,cAAc;AAC9C;AACA,sCAAsC,cAAc;;AAEpD,0DAA0D,cAAc;AACxE,8DAA8D,cAAc;;AAE5E;AACA;AACA,mBAAmB,cAAc,EAAE;AACnC,0EAA0E,cAAc;;AAExF,wGAAwG,cAAc;;AAEtH;AACA,4CAA4C,cAAc;;AAE1D,6DAA6D,cAAc;;AAE3E;AACA;AACA,sEAAsE,cAAc;AACpF;;AAEA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,WAAW,mBAAO,CAAC,4DAAe;;AAElC;;;;;;;;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,qBAAqB,mBAAO,CAAC,8DAAgB;AAC7C,eAAe,mBAAO,CAAC,kDAAU;AACjC,eAAe,mBAAO,CAAC,qDAAU;AACjC,mBAAmB,mBAAO,CAAC,0DAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA,wBAAwB;AACxB,0BAA0B;;AAE1B;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,sBAAsB;AACvC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AChSa;AACb,aAAa,sFAA8B;;AAE3C;AACA;AACA;;AAEA,aAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,WAAW;AAC1B;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;;AAEpD;AACA;;AAEA;AACA,mBAAmB,yBAAyB;AAC5C;;AAEA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,wCAAwC;AAC/D;AACA;AACA;AACA;AACA,sCAAsC,aAAa;AACnD;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA,8CAA8C;;AAE9C;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B,WAAW;AACrC;AACA;AACA,8BAA8B,WAAW;AACzC;AACA;AACA,0BAA0B,WAAW;AACrC;AACA,0BAA0B,WAAW;AACrC;AACA,K;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,UAAU,UAAU;AACpB;AACA;AACA;;AAEA;AACA,gCAAgC,OAAO,OAAO;AAC9C;;AAEA,gCAAgC;AAChC;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,kBAAkB;AACrC;AACA,uCAAuC;AACvC,2BAA2B,iBAAiB;AAC5C;AACA,sDAAsD;AACtD;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA,mCAAmC,SAAS;AAC5C,uDAAuD;;AAEvD;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA,S;AACA,4CAA4C;AAC5C;AACA,2BAA2B,UAAU;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;AACA,0DAA0D;AAC1D;AACA;;AAEA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qEAAqE;AACrE;AACA;AACA;;AAEA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,WAAW;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0B;AACA;;AAEA;AACA,gDAAgD;AAChD,iCAAiC;AACjC;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;;AAEA;AACA;AACA,0DAA0D;AAC1D;AACA,8CAA8C;AAC9C;AACA;;AAEA,aAAa,uCAAuC;AACpD;;AAEA,aAAa,iCAAiC;;AAE9C;AACA;AACA;AACA,uCAAuC;AACvC,qCAAqC;;AAErC,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,sEAAsE;AACtE,qEAAqE;AACrE,mEAAmE;AACnE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;;AAEf;;AAEA,sBAAsB;AACtB;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,4CAA4C;AAC5C,8CAA8C;AAC9C;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B,gBAAgB;AAC1C;;AAEA;AACA;;AAEA,yB;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA,sCAAsC;AACtC;AACA,2BAA2B,oBAAoB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,6B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB;AACpB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACziBa;;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,8EAA8E;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,QAAQ,mBAAO,CAAC,wFAAwB,GAAG;AACtE,oBAAoB,+BAA+B;AACnD,0BAA0B,yBAAyB;AACnD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,QAAQ,mBAAO,CAAC,kFAAqB,GAAG;AACnE,oBAAoB,+BAA+B;AACnD,KAAK;;AAEL;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,QAAQ,mBAAO,CAAC,kFAAqB,GAAG;AACnE,KAAK;;AAEL;AACA;AACA;AACA,2BAA2B,QAAQ,8GAAqC,CAAC,mBAAO,CAAC,0FAAyB,IAAI;AAC9G,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,QAAQ,8GAAqC,CAAC,mBAAO,CAAC,0FAAyB,IAAI;AAC9G,6BAA6B,QAAQ,mBAAO,CAAC,oGAA8B,GAAG;AAC9E;AACA,oBAAoB,YAAY;AAChC,KAAK;;AAEL;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,QAAQ,mBAAO,CAAC,kFAAqB,GAAG;AACnE,KAAK;;AAEL;AACA;AACA;A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A;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA,wCAAwC;AACxC,gCAAgC;AAChC;AACA;AACA;;AAEA,iCAAiC;AACjC;AACA,aAAa,2BAA2B;AACxC;AACA,8BAA8B;AAC9B,aAAa,2BAA2B;AACxC;AACA,8BAA8B;AAC9B,aAAa,OAAO;AACpB;AACA;AACA,SAAS,OAAO;AAChB,gCAAgC;AAChC;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,mBAAmB,4BAA4B;AAC/C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;AC3La;AACb,aAAa,sFAA8B;;AAE3C;AACA;;AAEA,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAuB,SAAS;AAChC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA,mBAAmB,+BAA+B;AAClD;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,gBAAgB;AACnC;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC,wBAAwB;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACvEa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,uNAAuN,iEAAiE,EAAE;AAC1R,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,2JAA2J,iEAAiE,EAAE;AAC9N,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,yLAAyL,iEAAiE,EAAE;AAC5P,GAAG;AACH;AACA;AACA,uNAAuN,iEAAiE,EAAE;AAC1R,GAAG;AACH;AACA;AACA,uNAAuN,gEAAgE,EAAE;AACzR,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,C;;;;;;;;;;;;;;AClca;;AAEb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,eAAe;AACf;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;;AAEA;AACA;AACA,mBAAmB,gBAAgB;AACnC,yBAAyB,mBAAmB;AAC5C;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;;AAEA,UAAU,kBAAkB;AAC5B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA,+DAA+D,4BAA4B;;AAE3F;;AAEA,aAAa;AACb;AACA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE;;AAEnE,2BAA2B,UAAU;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;;AC9Ka;AACb,aAAa,sFAA8B;;AAE3C;AACA;;AAEA,YAAY;AACZ,qBAAqB,UAAU;AAC/B;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,SAAS;AACxB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA,mBAAmB,gBAAgB;AACnC,wBAAwB;AACxB;AACA;AACA,uEAAuE;AACvE;AACA;AACA;AACA,SAAS,OAAO;AAChB,uCAAuC;AACvC,wDAAwD;AACxD;AACA,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D;AAC5D,KAAK;AACL;;AAEA,+DAA+D;AAC/D,iDAAiD;AACjD;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gBAAgB;AACnC;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;;AAEA,0CAA0C;AAC1C;AACA;;AAEA;AACA,sCAAsC;;AAEtC;AACA;AACA;;AAEA,SAAS,OAAO;AAChB;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC;AAClC;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,mBAAmB,gBAAgB;AACnC,wBAAwB;AACxB;AACA;AACA,uEAAuE;AACvE;AACA;AACA;AACA,SAAS,OAAO;AAChB,2CAA2C;AAC3C,wDAAwD;AACxD;AACA,iBAAiB;AACjB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D;AAC5D,KAAK;AACL;;AAEA,+DAA+D;AAC/D,iDAAiD;AACjD;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;AC/Ra;;AAEb;;AAEA,kBAAkB;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;AClDa;AACb,aAAa,kDAAwB;AACrC;;AAEA;;AAEA;AACA,6BAA6B;;AAE7B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,yBAAyB,sDAA4B;;AAErD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA,2BAA2B,oDAA0B;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8FAA8F;;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;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,oBAAoB,EAAE;AAC3D;AACA;AACA,KAAK;AACL;AACA;;;AAGA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA,kBAAkB;AAClB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,cAAc,EAAE;AACrD;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;;ACvHA;AACA,aAAa,mBAAO,CAAC,kBAAM;AAC3B;AACA;AACA;AACA,CAAC;AACD;AACA,EAAE,gHAAiD;AACnD;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1BA;AACA;;AAEA;;AAEA;;AAEA,OAAO,KAA6B;AACpC;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,SAAS;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,QAAQ;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;;AAEA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,SAAS;AAC9C;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,SAAS;AACpC;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS;AAChC;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B,GAAG;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,SAAS;AAC9C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,SAAS;AAC9C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,QAAQ;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;;AAEA,GAAG;;AAEH;;AAEA,yBAAyB,GAAG;;AAE5B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA,mFAAmF,EAAE;AACrF;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,CAAC;;;;;;;;;;;;;;;AChqBY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC7DA,cAAc,mBAAO,CAAC,kDAAO;AAC7B,2BAA2B,mBAAO,CAAC,wFAA0B;AAC7D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,qBAAqB,mBAAO,CAAC,8FAA6B;AAC1D,oBAAoB,mBAAO,CAAC,4GAAoC;AAChE,sBAAsB,mBAAO,CAAC,0FAA8B;AAC5D,4BAA4B,mBAAO,CAAC,sGAAoC;AACxE,qBAAqB,mBAAO,CAAC,wFAA6B;AAC1D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ACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA,WAAW,sBAAsB,yBAAyB,eAAe,WAAW,EAAE;AACtF;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,6BAA6B;AACxC,WAAW,4BAA4B;AACvC,WAAW,mCAAmC;AAC9C,WAAW,8BAA8B;AACzC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAmC,oBAAoB;AACvD;AACA;AACA;AACA;AACA,sCAAsC,2BAA2B;AACjE;AACA,SAAS;AACT,OAAO;AACP;AACA;A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AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F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A;AACA;AACA;;AAEA,WAAW,sCAAsC;AACjD;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,6BAA6B;AAC1C,aAAa,OAAO;AACpB,aAAa,kCAAkC;AAC/C;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB,GAAG,qBAAqB;;AAEzE;AACA;AACA,wCAAwC,mBAAmB;AAC3D,KAAK;;AAEL;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OA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pB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,oBAAoB,MAAM;AAC1B;AACA,wDAAwD,iBAAiB;AACzE;;AAEA;AACA;AACA,aAAa,+BAA+B;AAC5C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D;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA,eAAe,mBAAO,CAAC,sBAAQ;AAC/B,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,2DAA2D,GAAG,mBAAO,CAAC,0DAAc;;AAE3F;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB,KAAK,kBAAkB;AAC9D;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qBAAqB,KAAK,OAAO;AACjD;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrUA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,eAAe,mBAAO,CAAC,6DAAW;AAClC,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,OAAO,8CAA8C,GAAG,mBAAO,CAAC,uDAAW;;AAE3E,OAAO,uBAAuB;AAC9B,wCAAwC,mBAAmB;AAC3D;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gDAAgD;AAC7D,aAAa,6BAA6B;AAC1C,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,eAAe,mBAAmB;AAClC;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;;AAEA;AACA,gDAAgD,OAAO;AACvD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,UAAU,iCAAiC,gBAAgB;AACxE,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C,SAAS;AACrD;AACA,+BAA+B,iBAAiB;AAChD,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,4BAA4B;AAChE;;AAEA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX,0EAA0E,wBAAwB;AAClG,6CAA6C,kBAAkB;AAC/D;;AAEA;AACA,8BAA8B,wCAAwC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AG,mBAAO,CAAC,6DAAc;AACjE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;AACvB,0BAA0B,mBAAO,CAAC,6FAA8B;;AAEhE,OAAO,OAAO;;AAEd,2BAA2B,oBAAoB;AAC/C;AACA;AACA,CAAC;;AAED;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,mCAAmC;AAChD,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,IAAI;AACjB,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;AACA,gDAAgD,eAAe;AAC/D;AACA;AACA;AACA,eAAe,8CAA8C;AAC7D;AACA;AACA;AACA;AACA,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,YAAY;AACzB,cAAc;AACd;;AAEA;AACA;AACA,aAAa,kDAAkD;AAC/D;AACA;AACA;AACA;AACA;AACA,oEAAoE,gBAAgB;;AAEpF,oCAAoC;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,4CAA4C,SAAS;AACrD;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA,KAAK;;AAEL;AACA;AACA,wEAAwE;;AAExE;AACA;AACA,kDAAkD,oBAAoB;AACtE;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OA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Q;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AClFD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;;;;;;;;;;;;;ACbA,aAAa,mBAAO,CAAC,+DAAe;AACpC,8BAA8B,mBAAO,CAAC,6FAAyB;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gCAAgC;;AAE3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,kBAAkB;AAC3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;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ACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA;AACA;A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AC,6DAAc;AACjE,wBAAwB,mBAAO,CAAC,yFAA4B;;AAE5D,OAAO,eAAe;AACtB,OAAO,mCAAmC;;AAE1C;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,OAAO;AAClB,WAAW,mCAAmC;AAC9C,WAAW,6BAA6B;AACxC,WAAW,0CAA0C;AACrD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,wEAAqB;AAC7C,wBAAwB,mBAAO,CAAC,+FAAmB;AACnD,kCAAkC,mBAAO,CAAC,mHAA6B;AACvE;AACA,WAAW,iBAAiB;AAC5B,CAAC,GAAG,mBAAO,CAAC,8FAA0B;;AAEtC,OAAO,eAAe;AACtB,yEAAyE,YAAY,EAAE,KAAK;;AAE5F;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,aAAa,gCAAgC;AAC7C,aAAa,2CAA2C;AACxD,aAAa,QAAQ;AACrB,aAAa,cAAc;AAC3B,aAAa,cAAc;AAC3B,cAAc,kBAAkB,2BAA2B;AAC3D,aAAa,wCAAwC;AACrD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,eAAe,mBAAmB;AAClC;AACA;;AAEA;AACA,aAAa,8CAA8C;AAC3D;AACA,iBAAiB,2BAA2B;AAC5C;AACA;AACA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,0BAA0B,mBAAmB;AAC7C,WAAW,kCAAkC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA,YAAY;AACZ;;AAEA,kCAAkC;AAClC,WAAW,kCAAkC;AAC7C,WAAW,4CAA4C;;AA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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACrkBA;AACA;AACA;AACA;;AAEA;AACA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;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,mBAAmB;AACjC;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,0BAA0B,KAAK;AACjD,cAAc,YAAY;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,WAAW;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,wBAAwB;AAC1C;AACA,oBAAoB,UAAU,iBAAiB,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,eAAe,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,aAAa,KAAK;AACpC,cAAc,YAAY,KAAK,GAAG,KAAK,GAAG;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,4DAA4D,KAAK;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBAAgB,QAAQ;AACxB,eAAe,QAAQ;;AAEvB,2CAA2C,YAAY;AACvD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;;AAEA;AACA,oEAAoE,QAAQ;AAC5E,wBAAwB,SAAS,0DAA0D,WAAW;AACtG;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChRA;AACA;AACA,WAAW,OAAO;AAClB,CAAC,GAAG,mBAAO,CAAC,8DAAW;;AAEvB,oCAAoC,mBAAO,CAAC,wFAA2B;AACvE,sBAAsB,mBAAO,CAAC,wEAAmB;AACjD,gBAAgB,mBAAO,CAAC,8DAAW;AACnC,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,oBAAoB,mBAAO,CAAC,0DAAS;AACrC,wBAAwB,mBAAO,CAAC,wFAA2B;AAC3D,6BAA6B,mBAAO,CAAC,oFAAyB;;AAE9D;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,gCAAgC;AAC7C,aAAa,kCAAkC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,yCAAyC,8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS,QAAQ,KAAK;AACtB;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnMA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,6BAA6B,mBAAO,CAAC,oEAAS;AAC9C,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAW;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,yBAAyB;AACtC,eAAe,iEAAiE;AAChF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;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qCAAqC;AAClD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB;AACA,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA,6CAA6C;AAC7C;AACA,sBAAsB,0CAA0C;AAChE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;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ACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,mBAAmB;AACnB;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,6BAA6B;AACjD;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO;AAC3B;AACA,yBAAyB,0BAA0B;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;AACA,uBAAuB,oDAAoD;AAC3E,yBAAyB,4CAA4C;AACrE,mCAAmC,oCAAoC;AACvE,oBAAoB,oCAAoC;AACxD,eA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ACzD,OAAO,+CAA+C,GAAG,mBAAO,CAAC,6FAAyB;AAC1F,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD,OAAO,eAAe;AACtB;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA,OAAO,sBAAsB;;AAE7B;AACA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,6BAA6B;AACxC,WAAW,yCAAyC;AACpD,WAAW,mCAAmC;AAC9C,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,2BAA2B,mBAAO,CAAC,2EAAgB;AACnD,OAAO,yCAAyC,GAAG,mBAAO,CAAC,uDAAW;AACtE,OAAO,oBAAoB,GAAG,mBAAO,CAAC,2FAA6B;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,MAAM;AACtB,+BAA+B,kCAAkC;AACjE;AACA,eAAe,OAAO;AACtB,gBAAgB,qBAAqB;AACrC,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,aAAa;AACb,eAAe;AACf;AACA,4BAA4B,sDAAsD;AAClF,6BAA6B,QAAQ;AACrC;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,kBAAkB;AAClC;AACA;AACA,qCAAqC,SAAS,eAAe,MAAM;AACnE;AACA;;AAEA;AACA;AACA;AACA,sDAAsD,MAAM,KAAK;AACjE;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA,+DAA+D,kBAAkB;AACjF,uCAAuC,qBAAqB;;AAE5D;AACA,qBAAqB,kBAAkB;AACvC,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,eAAe;AAC5B,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,MAAM;AACtB,+BAA+B,kCAAkC;AACjE,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,uBAAuB,8CAA8C;AACrE,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnIA,gBAAgB,mBAAO,CAAC,sFAAW;AACnC,iCAAiC,mBAAO,CAAC,8FAAe;;AAExD;;;;;;;;;;;;;;ACHA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,aAAa;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AClDA,oB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ACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAAiB;;AAE3D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,mBAAO,CAAC,+EAAQ;A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;AACvC,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,uBAAuB,mBAAO,CAAC,kFAAoB;AACnD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAwB;AACpE,OAAO,6BAA6B,GAAG,mBAAO,CAAC,0DAAc;;AAE7D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA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ACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACxBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;;AAEA;AACA;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;;AAEA;AACA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;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACtCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qEAAqE,YAAY;AACjF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;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AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/B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ACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iEAAiE,YAAY;AAC7E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,YAAY;;AAEpE;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB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yE;AACjG;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC1BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACpCD,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAgB;AAC1C,gBAAg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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvEA,kBAAkB,mBAAO,CAAC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AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,YAAY;AAC3D;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,OAAO,0BAA0B,GAAG,mBAAO,CAAC,kGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnCA;AACA,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,wBAAwB,gEAAgE;AACxF;AACA;AACA,GAAG;AACH,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc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AC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;A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AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChFA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,0BAA0B,mBAAO,CAAC,uFAAwB;;AAE1D;AACA,OAAO,UAAU;AACjB,oBAAoB,mBAAO,C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AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtIA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,oEAAgB;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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A;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,+CAA+C;AACzE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAA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;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,qBAAqB;AAChC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACfD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,4FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AACA;;AAEA;AACA,OAAO,kBAAkB;AACzB,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,kBAAkB;AACjD,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,+CAA+C;AAC9E,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,6DAA6D;AACvF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;A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hD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,2BAA2B,sBAAsB;AACjD,iCAAiC,uCAAuC;AACxE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;;AAEA,mBAAmB,2BAA2B;AAC9C,kCAAkC,2BAA2B,IAAI,gBAAgB;AACjF;;;;;;;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;A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AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,mDAAmD;AACtE,2BAA2B,mDAAmD,IAAI,gBAAgB;;;;;;;;;;;;;;ACblG,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,mDAAmD;AACtE,2BAA2B,mDAAmD,IAAI,gBAAgB;;;;;;;;;;;;;;ACblG,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,6BAA6B;AAC7D;AACA;;;;;;;;;;;;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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,gEAAgE;AAC7F,UAAU,sBAAsB;AAChC;AACA,kEAAkE,2DAA2D;AAC7H,0DAA0D,2CAA2C;AACrG,kGAAkG,oDAAoD;AACtJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,yBAAyB,mBAAO,CAAC,mFAAoB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA,WAAW,mBAAO,CAAC,6EAAW;AAC9B,YAAY,mBAAO,CAAC,+EAAY;AAChC;;;;;;;;;;;;;;ACHA,gBAAgB,mBAAO,CAAC,qEAAe;;AAEvC;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACVD;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA,WAAW,mBAAO,CAAC,kFAAW;AAC9B,YAAY,mBAAO,CAAC,oFAAY;AAChC;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IAAI;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,+BAA+B,OAAO;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;;;ACHH,OAAO,OAAO;AACd;AACA,yCAAyC,gCAAgC,KAAK;;;;;;;;;;;;;;ACF9E,cAAc,mBAAO,CAAC,0DAAS;AAC/B,OAAO,iBAAiB,GAAG,mBAAO,CAAC,uDAAW;;AAE9C;AACA;AACA,GAAG,iFAAiF;AACpF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;;;;;;;;;;;;;AC5CA;;AAEA,oCAAoC,SAAS,GAAG,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;;;ACF9E;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA,qBAAqB,MAAM;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AACjC;AACA,yDAAyD,MAAM;AAC/D,qDAAqD,MAAM;AAC3D,oDAAoD,MAAM,oCAAoC,MAAM;;AAEpG;AACA;AACA;;AAEA,cAAc;AACd,aAAa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW;AACX,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AC7QA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3GA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjKA,aAAa,mBAAO,CAAC,sDAAY;AACjC,YAAY,mBAAO,CAAC,oBAAO;AAC3B,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,SAAS,mBAAO,CAAC,cAAI;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB;AACA,GAAG;AACH,IAAI,4DAAqB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD,UAAU,+DAAW;AACrB;AACA;AACA;AACoE;;;;;;;;;;;;;;;;;;;;AC5CpE;AACA;AACsB;;;;;;;;;;;;;;;ACFtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,wBAAwB,mBAAO,CAAC,+DAAe;AAC/C,yBAAyB,mBAAO,CAAC,iEAAgB;AACjD,yBAAyB,mBAAO,CAAC,iEAAgB;AACjD,0BAA0B,mBAAO,CAAC,mEAAiB;;AAEnD;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;;AAEzB;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA;;AAEA,qCAAqC,UAAU;;AAE/C;AACA;AACA;AACA;;AAEA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,kCAAkC;AAClC,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB;;AAElB,iBAAiB,qBAAqB;AACtC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACxKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;;AAEA,sCAAsC,UAAU;;AAEhD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,kCAAkC;AAClC,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB;;AAElB,iBAAiB,qBAAqB;AACtC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;;AAEA,wCAAwC,aAAa,YAAY;;AAEjE;AACA;AACA;AACA;;AAEA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,kCAAkC;AAClC,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB;;AAElB,iBAAiB,qBAAqB;AACtC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;;AAEA,yCAAyC,SAAS,YAAY;;AAE9D;AACA;AACA;AACA;;AAEA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB;;AAElB,iBAAiB,qBAAqB;AACtC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B;;AAE/B,wBAAwB,uBAAuB;AAC/C;AACA;AACA,KAAK;AACL,yBAAyB;AACzB;AACA;;AAEA;AACA;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACrSA,SAAS,mBAAO,CAAC,cAAI;AACrB,WAAW,mBAAO,CAAC,kBAAM;AACzB,SAAS,mBAAO,CAAC,cAAI;;AAErB;AACA,qBAAqB,KAAyC,GAAG,OAAuB,GAAG,CAAO;;AAElG;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAyC,oBAAoB,CAAE;AACnE;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;;AAEd;;AAEA,iBAAiB,gBAAgB;AACjC;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,EAAE;AACvC;AACA,wDAAwD;AACxD;AACA;AACA;AACA,2GAA2G,EAAE;AAC7G;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,qEAAgB;AAC1C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uCAAuC,WAAW;AAClD;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sDAAsD;AACtD;AACA;AACA,iGAAiG,iCAAiC;AAClI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA,sDAAsD,YAAY;AAClE;AACA;AACA;AACA;AACA,+BAA+B,aAAa;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,wGAAwG;AAC7H;AACA,iCAAiC,gCAAgC;AACjE,iBAAiB,wDAAwD;AACzE;AACA;AACA;AACA,qCAAqC,0BAA0B;AAC/D,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,iBAAiB,EAAE;AACjD;AACA,2BAA2B,iCAAiC;AAC5D;AACA,uBAAuB,+BAA+B;AACtD;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iDAAiD;AACjD;;AAEA,uBAAuB,8GAA8G;AACrI,sBAAsB,6GAA6G;AACnI,wBAAwB,+GAA+G;AACvI,uBAAuB,8GAA8G;AACrI,wBAAwB,+GAA+G;AACvI,wBAAwB,+GAA+G;AACvI,yBAAyB,gHAAgH;;AAEzI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA,gEAAgE,oBAAoB;AACpF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iBAAiB,eAAe;AAChC;AACA,YAAY,aAAa;AACzB;AACA;;AAEA;AACA,qBAAqB,sBAAsB;AAC3C,kCAAkC,OAAO;AACzC,0BAA0B,UAAU;AACpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gCAAgC;AAChC,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,oCAAoC;AACpC,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,gCAAgC;AAChC,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,oCAAoC;AACpC,KAAK;AACL;AACA;;AAEA;AACA,sCAAsC,cAAc;AACpD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY,iBAAiB;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,qBAAqB,IAAI;AACzB;;AAEA;AACA;AACA,oCAAoC,sBAAsB;AAC1D;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,WAAW;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,uBAAuB,gBAAgB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;;AAEA,0BAA0B;AAC1B,6BAA6B,UAAU,EAAE;AACzC,uEAAuE,UAAU,EAAE;AACnF;AACA;AACA,qBAAqB;AACrB,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/fA,gEAAwC;;;;;;;;;;;;;;;ACAxC;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;;AAEA;AACA,YAAY,mBAAO,CAAC,kDAAU;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,eAAe;AAC1B,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,mBAAO,CAAC,gCAAa;AAChC,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACzOA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7JA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA,8BAA8B;AAC9B;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AChIA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;AACA,kBAAkB;AAClB,sBAAsB;;AAEtB;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAO,CAAC,oDAAW;AACnC,aAAa,mBAAO,CAAC,yDAAW;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,sBAAsB;AACjC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,aAAa;AACxB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;;AAEA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,sBAAsB;AACjC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACtUa;;AAEb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;;;;ACtBa;;AAEb,gBAAgB,mBAAO,CAAC,uDAAa;AACrC,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+CAAS;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wCAAwC,gCAAgC;;AAExE;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;;AAEA,eAAe,kBAAkB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,kCAAkC,QAAQ;AAC1C;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,uBAAuB;AACvB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACtQa;;AAEb,qBAAqB,mBAAO,CAAC,0DAAc;AAC3C,YAAY,mBAAO,CAAC,+CAAS;AAC7B,cAAc,mBAAO,CAAC,mDAAW;AACjC;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,wBAAwB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,iEAAiE;AACrF,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA,mBAAmB,oBAAoB;AACvC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,oBAAoB;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrUa;;AAEb,cAAc,mBAAO,CAAC,mDAAW;;AAEjC;AACA;;AAEA;AACA;AACA,mBAAmB,SAAS;AAC5B;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA,2BAA2B,gBAAgB;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,iDAAiD,EAAE;AACnD;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,kDAAkD,EAAE;AACpD;AACA,SAAS;AACT;;AAEA;AACA,mBAAmB,mBAAmB;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,kBAAkB,OAAO,WAAW,aAAa;AACjD;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA,4BAA4B,sBAAsB;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,gBAAgB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC3PA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,wBAAwB,oBAAoB;AAC5C;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;ACjKA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;AACA,YAAY,mBAAO,CAAC,4CAAO;AAC3B,kBAAkB,mBAAO,CAAC,wDAAa;AACvC,YAAY,mBAAO,CAAC,0DAAY;AAChC,aAAa,mBAAO,CAAC,8CAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,uBAAuB;AAClC,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,mBAAO,CAAC,gCAAa;AAChC,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACxUA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2EAA2E,uBAAuB;AAClG,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0CAA0C,kDAAkD;;AAE5F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,wDAAwD;AAC7F;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,iBAAiB;AACtD;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,CAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACxvBA;AACA;AACA,aAAa,mBAAO,CAAC,sBAAQ;AAC7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,EAAE,cAAc;AAChB;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChEA;;AAEY;;AAEZ,aAAa,mBAAO,CAAC,sBAAQ;AAC7B;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,wDAAa;AACvC,YAAY,mBAAO,CAAC,kEAAO;AAC3B,gBAAgB,mBAAO,CAAC,0CAAM;AAC9B,cAAc,mBAAO,CAAC,gDAAS;AAC/B,gBAAgB,mBAAO,CAAC,oDAAW;AACnC,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,WAAW,mBAA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C;;AAED;AACA;AACA;AACA;AACA,WAAW,qBAAqB;AAChC,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,IAAI;AAC5D;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,kBAAkB;AAClB,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,oDAAoD;AACpD;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,gBAAgB;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA,oCAAoC;AACpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,qBAAqB;AAChC,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;;;;;;;;;;;;;ACtnCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;;AAEA,UAAU,0GAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,mHAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,iHAAwC;AAC1C,CAAC;AACD,EAAE,2GAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,0GAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACvPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAO,CAAC,oDAAW;AACnC,iBAAiB,mBAAO,CAAC,wDAAa;AACtC,eAAe,mBAAO,CAAC,kDAAU;AACjC,cAAc,+CAAuB;AACrC,WAAW,mBAAO,CAAC,0CAAM;AACzB,UAAU,mBAAO,CAAC,gBAAK;;AAEvB;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjNY;AACZ;AACA,4CAA4C,gBAAgB;;AAE5D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChBa;;AAEb,mBAAmB,mBAAO,CAAC,4DAAe;AAC1C,gBAAgB,mBAAO,CAAC,kEAAqB;AAC7C,cAAc,mBAAO,CAAC,8DAAgB;;AAEtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC;AACxC,4BAA4B,6BAA6B;AACzD;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,uBAAuB;AACvB;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,aAAa;AACb;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,aAAa;AACb;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3HA;AACA;AACA,SAAS,mBAAO,CAAC,6EAAa;AAC9B,iBAAiB,mBAAO,CAAC,6FAAqB;AAC9C,eAAe,mBAAO,CAAC,qGAAyB;AAChD,qBAAqB,mBAAO,CAAC,qGAAyB;AACtD,qBAAqB,mBAAO,CAAC,qGAAyB;AACtD,UAAU,mBAAO,CAAC,+EAAc;AAChC,EAAE;AACF;AACA,UAAU,mBAAO,CAAC,mGAAwB;AAC1C,aAAa,mBAAO,CAAC,yGAA2B;AAChD,EAAE;AACF;AACA,UAAU,mBAAO,CAAC,qGAAyB;AAC3C,UAAU,mBAAO,CAAC,qGAAyB;AAC3C,EAAE;AACF;AACA,UAAU,mBAAO,CAAC,+GAA8B;AAChD,cAAc,mBAAO,CAAC,uHAAkC;AACxD,EAAE;AACF;AACA,UAAU,mBAAO,CAAC,uHAAkC;AACpD,cAAc,mBAAO,CAAC,+HAAsC;AAC5D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ACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnNa;;AAEb,YAAY,mBAAO,CAAC,4FAAS;AAC7B,WAAW,mBAAO,CAAC,0GAAgB;AACnC,YAAY,mBAAO,CAAC,sGAAc;AAClC,kBAAkB,mBAAO,CAAC,kHAAoB;AAC9C,eAAe,mBAAO,CAAC,wGAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,4GAAiB;AACxC,oBAAoB,mBAAO,CAAC,sHAAsB;AAClD,iBAAiB,mBAAO,CAAC,gHAAmB;AAC5C,gBAAgB,+HAA6B;;AAE7C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,8GAAkB;;AAEzC;AACA,qBAAqB,mBAAO,CAAC,0HAAwB;;AAErD;;AAEA;AACA,sBAAsB;;;;;;;;;;;;;;;ACxDT;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,qGAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,eAAe,OAAO;AACtB;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtHa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,mHAAqB;AAC5C,yBAAyB,mBAAO,CAAC,2HAAsB;AACvD,sBAAsB,mBAAO,CAAC,qHAAmB;AACjD,kBAAkB,mBAAO,CAAC,6GAAe;AACzC,gBAAgB,mBAAO,CAAC,qHAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,6HAA0B;AACtD,kBAAkB,mBAAO,CAAC,yHAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,+GAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,oBAAoB,mBAAO,CAAC,iHAAiB;AAC7C,eAAe,mBAAO,CAAC,iHAAoB;AAC3C,eAAe,mBAAO,CAAC,yGAAa;AACpC,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,8GAAkC;AAC3F;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,6B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACjBA,uBAAuB,+GAAkC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uB;;;;;;;;;;;;;AChDA,mBAAmB,mBAAO,CAAC,mFAAc;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,oBAAoB,mBAAO,CAAC,qFAAe;AAC3C,0BAA0B,mBAAO,CAAC,iGAAqB;AACvD,0BAA0B,mBAAO,CAAC,iGAAqB;AACvD,2BAA2B,mBAAO,CAAC,mGAAsB;AACzD,yBAAyB,mBAAO,CAAC,+FAAoB;AACrD,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,4BAA4B,oHAAuC;;AAEnE;AACA,uBAAuB,mBAAO,CAAC,+FAAoB;AACnD,wBAAwB,mBAAO,CAAC,iGAAqB;AACrD,6BAA6B,mBAAO,CAAC,2GAA0B;AAC/D,gCAAgC,mBAAO,CAAC,mHAA8B;AACtE,wBAAwB,mBAAO,CAAC,iGAAqB;AACrD,kCAAkC,mBAAO,CAAC,qHAA+B;AACzE,2BAA2B,mBAAO,CAAC,yGAAyB;AAC5D,+CAA+C,mBAAO,CAAC,iJAA6C;;AAEpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,wDAAc;;AAElC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACjJa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,gBAAgB,mBAAO,CAAC,kDAAU;;AAElC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AClIY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB;AACxB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;;;;;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,wDAAa;AACjC,WAAW,mBAAO,CAAC,sDAAY;;AAE/B;AACA;AACA;AACA;;AAEA;AACA,iBAAiB;AACjB,sBAAsB;AACtB,wBAAwB;AACxB,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe,kBAAkB;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,uBAAuB;AACvB,4BAA4B;AAC5B,6CAA6C;AAC7C;AACA;AACA,qCAAqC;AACrC,mCAAmC;AACnC,wCAAwC;AACxC;AACA,uBAAuB;AACvB;AACA,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACzQA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,0DAAc;;AAExC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1GA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACpEa;;AAEb;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,mCAAmC;AACnC;AACA,KAAK,qCAAqC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK,qCAAqC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK,qCAAqC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;;;AC7Da;;AAEb;AACA,mBAAmB,mBAAO,CAAC,8DAAgB,EAAE,SAAS;AACtD,CAAC;AACD,EAAE,mGAAsC;AACxC;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA,gBAAgB;AAChB,gBAAgB;AAChB;AACA;AACA,cAAc;AACd;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;;AAEA;AACA,qBAAqB;;AAErB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,sCAAsC,SAAS;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACpJa;;AAEb,kBAAkB,mBAAO,CAAC,2DAAiB;;AAE3C,kCAAkC,mBAAO,CAAC,qDAAc;AACxD,mBAAmB,mBAAO,CAAC,yEAAwB;AACnD,qBAAqB,mBAAO,CAAC,yDAAgB;AAC7C,mBAAmB,mBAAO,CAAC,qDAAc;;AAEzC;;;;;;;;;;;;;;;;ACTa;;AAEb,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAa;;AAE9C;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,EAAE;AACb,YAAY,OAAO;AACnB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB,mBAAO,CAAC,sDAAY;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChIa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,qCAAqC;AAClD,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACvLa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,mBAAmB;AAC3B;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO,6BAA6B;AACpC;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAiE,EAAE;AACnE;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,iEAAiE,EAAE;AACnE;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,EAAE,GAAG,EAAE;AAC1D,0BAA0B;AAC1B,eAAe;AACf;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,KAAK;AACL;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;AC9NL;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtDa;;AAEb,aAAa,mBAAO,CAAC,kBAAM;;AAE3B,mBAAmB,mBAAO,CAAC,2DAAe;AAC1C,gBAAgB,mBAAO,CAAC,mDAAW;AACnC,OAAO,oBAAoB,GAAG,mBAAO,CAAC,uDAAa;;AAEnD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,IAAI;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAAgD,IAAI,KAAK,MAAM;AAC/D;AACA;AACA;AACA,WAAW;AACX;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT,gDAAgD,IAAI;AACpD;;AAEA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,kCAAkC,SAAS;AAC3C;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gCAAgC,SAAS;AACzC;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrgBa;;AAEb,OAAO,WAAW,GAAG,mBAAO,CAAC,sBAAQ;;AAErC,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAa;AACzB,OAAO,gCAAgC,GAAG,mBAAO,CAAC,2DAAe;AACjE,OAAO,iCAAiC,GAAG,mBAAO,CAAC,yDAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,0BAA0B,aAAa;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,6BAA6B;AAC3C;AACA;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EA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uBAAuB,wBAAwB;AAC/C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxZa;;AAEb,OAAO,SAAS,GAAG,mBAAO,CAAC,sBAAQ;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACnLa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;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EA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,kDAAkD;AAC3E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;A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AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAa;AACzB,OAAO,wCAAwC,GAAG,mBAAO,CAAC,6DAAgB;AAC1E,OAAO,gBAAgB,GAAG,mBAAO,CAAC,uDAAa;AAC/C,OAAO,WAAW,GAAG,mBAAO,CAAC,2DAAe;;AAE5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B,aAAa,kBAAkB;AAC/B,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,mBAAmB;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,kDAAkD,OAAO;AACzD;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,iBAAiB;AAC5B;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,uCAAuC,qBAAqB;AAC5D,gCAAgC,4BAA4B;AAC5D;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA,0CAA0C,cAAc;;AAExD;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mBAAmB,mBAAmB,GAAG,mBAAmB;AAC5D;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,wBAAwB;;AAEzC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,2CAA2C;AACtD;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,EAAE;AACb,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C,qBAAqB;AAChE,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,qCAAqC;AAChD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW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;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,gCAAgC,YAAY;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,wCAAwC,yCAAyC;WACjF;WACA;WACA,E;;;;;WCPA,sF;;;;;WCAA;WACA;WACA;WACA,sDAAsD,kBAAkB;WACxE;WACA,+CAA+C,cAAc;WAC7D,E;;;;;WCNA;WACA;WACA;WACA;WACA,E;;;;;WCJA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sGAAsG;WACtG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,GAAG,aAAa,kBAAkB;WAClC;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC1CA;WACA;WACA,WAAW,6BAA6B,iBAAiB,GAAG,qEAAqE;WACjI;WACA;WACA;WACA,qCAAqC,aAAa,EAAE,wDAAwD,2BAA2B,4BAA4B,2BAA2B,+CAA+C,mCAAmC;WAChR;WACA;WACA;WACA,+BAA+B,eAAe,oBAAoB,sDAAsD,gBAAgB,eAAe,KAAK,6DAA6D,SAAS,SAAS,QAAQ,eAAe,KAAK,eAAe,qGAAqG,WAAW,aAAa;WACnZ;WACA;WACA;WACA,gBAAgB,8BAA8B,qBAAqB,YAAY,sBAAsB,SAAS,iDAAiD,6FAA6F,WAAW,uBAAuB,2BAA2B,wBAAwB,KAAK,oCAAoC,oBAAoB,wBAAwB,oBAAoB,SAAS,KAAK,yBAAyB,KAAK,gCAAgC,yBAAyB,QAAQ,eAAe,KAAK,eAAe,4DAA4D;WACtoB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD,+B;;;;UC3IA;UACA;UACA;UACA;UACA","file":"main.js","sourcesContent":["\"use strict\";\n\nrequire(\"./noConflict\");\n\nvar _global = _interopRequireDefault(require(\"core-js/library/fn/global\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/array/flat-map\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/string/trim-start\");\n\nrequire(\"core-js/fn/string/trim-end\");\n\nrequire(\"core-js/fn/symbol/async-iterator\");\n\nrequire(\"core-js/fn/object/get-own-property-descriptors\");\n\nrequire(\"core-js/fn/object/values\");\n\nrequire(\"core-js/fn/object/entries\");\n\nrequire(\"core-js/fn/promise/finally\");\n\nrequire(\"core-js/web\");\n\nrequire(\"regenerator-runtime/runtime\");","// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","/*!\n * accepts\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Negotiator = require('negotiator')\nvar mime = require('mime-types')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Accepts\n\n/**\n * Create a new Accepts object for the given req.\n *\n * @param {object} req\n * @public\n */\n\nfunction Accepts (req) {\n if (!(this instanceof Accepts)) {\n return new Accepts(req)\n }\n\n this.headers = req.headers\n this.negotiator = new Negotiator(req)\n}\n\n/**\n * Check if the given `type(s)` is acceptable, returning\n * the best match when true, otherwise `undefined`, in which\n * case you should respond with 406 \"Not Acceptable\".\n *\n * The `type` value may be a single mime type string\n * such as \"application/json\", the extension name\n * such as \"json\" or an array `[\"json\", \"html\", \"text/plain\"]`. When a list\n * or array is given the _best_ match, if any is returned.\n *\n * Examples:\n *\n * // Accept: text/html\n * this.types('html');\n * // => \"html\"\n *\n * // Accept: text/*, application/json\n * this.types('html');\n * // => \"html\"\n * this.types('text/html');\n * // => \"text/html\"\n * this.types('json', 'text');\n * // => \"json\"\n * this.types('application/json');\n * // => \"application/json\"\n *\n * // Accept: text/*, application/json\n * this.types('image/png');\n * this.types('png');\n * // => undefined\n *\n * // Accept: text/*;q=.5, application/json\n * this.types(['html', 'json']);\n * this.types('html', 'json');\n * // => \"json\"\n *\n * @param {String|Array} types...\n * @return {String|Array|Boolean}\n * @public\n */\n\nAccepts.prototype.type =\nAccepts.prototype.types = function (types_) {\n var types = types_\n\n // support flattened arguments\n if (types && !Array.isArray(types)) {\n types = new Array(arguments.length)\n for (var i = 0; i < types.length; i++) {\n types[i] = arguments[i]\n }\n }\n\n // no types, return all requested types\n if (!types || types.length === 0) {\n return this.negotiator.mediaTypes()\n }\n\n // no accept header, return first given type\n if (!this.headers.accept) {\n return types[0]\n }\n\n var mimes = types.map(extToMime)\n var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))\n var first = accepts[0]\n\n return first\n ? types[mimes.indexOf(first)]\n : false\n}\n\n/**\n * Return accepted encodings or best fit based on `encodings`.\n *\n * Given `Accept-Encoding: gzip, deflate`\n * an array sorted by quality is returned:\n *\n * ['gzip', 'deflate']\n *\n * @param {String|Array} encodings...\n * @return {String|Array}\n * @public\n */\n\nAccepts.prototype.encoding =\nAccepts.prototype.encodings = function (encodings_) {\n var encodings = encodings_\n\n // support flattened arguments\n if (encodings && !Array.isArray(encodings)) {\n encodings = new Array(arguments.length)\n for (var i = 0; i < encodings.length; i++) {\n encodings[i] = arguments[i]\n }\n }\n\n // no encodings, return all requested encodings\n if (!encodings || encodings.length === 0) {\n return this.negotiator.encodings()\n }\n\n return this.negotiator.encodings(encodings)[0] || false\n}\n\n/**\n * Return accepted charsets or best fit based on `charsets`.\n *\n * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`\n * an array sorted by quality is returned:\n *\n * ['utf-8', 'utf-7', 'iso-8859-1']\n *\n * @param {String|Array} charsets...\n * @return {String|Array}\n * @public\n */\n\nAccepts.prototype.charset =\nAccepts.prototype.charsets = function (charsets_) {\n var charsets = charsets_\n\n // support flattened arguments\n if (charsets && !Array.isArray(charsets)) {\n charsets = new Array(arguments.length)\n for (var i = 0; i < charsets.length; i++) {\n charsets[i] = arguments[i]\n }\n }\n\n // no charsets, return all requested charsets\n if (!charsets || charsets.length === 0) {\n return this.negotiator.charsets()\n }\n\n return this.negotiator.charsets(charsets)[0] || false\n}\n\n/**\n * Return accepted languages or best fit based on `langs`.\n *\n * Given `Accept-Language: en;q=0.8, es, pt`\n * an array sorted by quality is returned:\n *\n * ['es', 'pt', 'en']\n *\n * @param {String|Array} langs...\n * @return {Array|String}\n * @public\n */\n\nAccepts.prototype.lang =\nAccepts.prototype.langs =\nAccepts.prototype.language =\nAccepts.prototype.languages = function (languages_) {\n var languages = languages_\n\n // support flattened arguments\n if (languages && !Array.isArray(languages)) {\n languages = new Array(arguments.length)\n for (var i = 0; i < languages.length; i++) {\n languages[i] = arguments[i]\n }\n }\n\n // no languages, return all requested languages\n if (!languages || languages.length === 0) {\n return this.negotiator.languages()\n }\n\n return this.negotiator.languages(languages)[0] || false\n}\n\n/**\n * Convert extnames to mime.\n *\n * @param {String} type\n * @return {String}\n * @private\n */\n\nfunction extToMime (type) {\n return type.indexOf('/') === -1\n ? mime.lookup(type)\n : type\n}\n\n/**\n * Check if mime is valid.\n *\n * @param {String} type\n * @return {String}\n * @private\n */\n\nfunction validMime (type) {\n return typeof type === 'string'\n}\n","'use strict'\n\n/**\n * Expose `arrayFlatten`.\n */\nmodule.exports = arrayFlatten\n\n/**\n * Recursive flatten function with depth.\n *\n * @param {Array} array\n * @param {Array} result\n * @param {Number} depth\n * @return {Array}\n */\nfunction flattenWithDepth (array, result, depth) {\n for (var i = 0; i < array.length; i++) {\n var value = array[i]\n\n if (depth > 0 && Array.isArray(value)) {\n flattenWithDepth(value, result, depth - 1)\n } else {\n result.push(value)\n }\n }\n\n return result\n}\n\n/**\n * Recursive flatten function. Omitting depth is slightly faster.\n *\n * @param {Array} array\n * @param {Array} result\n * @return {Array}\n */\nfunction flattenForever (array, result) {\n for (var i = 0; i < array.length; i++) {\n var value = array[i]\n\n if (Array.isArray(value)) {\n flattenForever(value, result)\n } else {\n result.push(value)\n }\n }\n\n return result\n}\n\n/**\n * Flatten an array, with the ability to define a depth.\n *\n * @param {Array} array\n * @param {Number} depth\n * @return {Array}\n */\nfunction arrayFlatten (array, depth) {\n if (depth == null) {\n return flattenForever(array, [])\n }\n\n return flattenWithDepth(array, [], depth)\n}\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","export function tmListEventsOut (service) {\n return async function (data) {\n try {\n const key = data.args[0].apiKey\n const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n return await (await fetch(url)).json()\n } catch (error) {\n console.error({ fn: tmListEventsOut.name, error })\n throw error\n }\n }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n","/**\n * webswitch (c)\n *\n * Websocket clients connect to a common ws server,\n * called a webswitch. When a client sends a message,\n * webswitch broadcasts the message to all other\n * connected clients, including a special webswitch\n * server that acts as an uplink to another network,\n * if one is defined. A Webswitch server can also\n * receive messgages from an uplink and will broadcast\n * those messages to its clients as well.\n */\n\n'use strict'\n\nimport os from 'os'\nimport EventEmitter from 'events'\nimport { nanoid } from 'nanoid'\n\nconst HOSTNAME = 'webswitch.local'\nconst SERVICENAME = 'webswitch'\nconst HBEATTIMEOUT = 'heartBeatTimeout'\nconst WSOCKETERROR = 'webSocketError'\n\nconst isPrimary = /true/i.test(process.env.SWITCH)\nconst isBackup = /true/i.test(process.env.BACKUP)\nconst debug = /true/i.test(process.env.DEBUG)\nconst heartbeatMs = 10000\nconst sslEnabled = /true/i.test(process.env.SSL_ENABLED)\nconst clearPort = process.env.PORT || 80\nconst cipherPort = process.env.SSL_PORT || 443\nconst activePort = sslEnabled ? cipherPort : clearPort\nconst activeProto = sslEnabled ? 'wss' : 'ws'\nconst activeHost = process.env.DOMAIN || os.hostname()\nconst proto = isPrimary ? activeProto : process.env.SWITCH_PROTO\nconst port = isPrimary ? activePort : process.env.SWITCH_PORT\nconst host = isPrimary ? activeHost : process.env.SWITCH_HOST\nconst override = /true/i.test(process.env.SWITCH_OVERRIDE)\nconst apiProto = sslEnabled ? 'https' : 'http'\nconst apiUrl = `${apiProto}://${activeHost}:${activePort}`\n\nfunction serviceUrl () {\n const url = `${proto}://${host}:${port}`\n if (proto && host && port) return url\n if (isPrimary) throw new Error(`invalid url ${url}`)\n return null\n}\n\n/**\n * Service mesh client impl. Uses websocket and service-locator\n * adapters through ports injected into the {@link mesh} model.\n * Cf. modelSpec by the same name, i.e. `webswitch`.\n */\nexport class ServiceMeshClient extends EventEmitter {\n constructor (mesh) {\n super('webswitch')\n this.url\n this.mesh = mesh\n this.name = SERVICENAME\n this.isPrimary = isPrimary\n this.isBackup = isBackup\n this.pong = true\n this.heartbeatTimer = 3000\n this.headers = {\n 'x-webswitch-host': os.hostname(),\n 'x-webswitch-role': 'node',\n 'x-webswitch-pid': process.pid\n }\n }\n\n /**\n *\n * @param {number} asyncId id's instance to kill\n * @returns {{telemetry:{mem:number,cpu:number}}}\n */\n telemetry () {\n return {\n eventName: 'telemetry',\n proto: this.name,\n apiUrl,\n heartbeatMs,\n hostname: os.hostname(),\n role: 'node',\n pid: process.pid,\n telemetry: {\n ...process.memoryUsage(),\n ...process.cpuUsage(),\n ...performance.nodeTiming\n },\n services: this.mesh.listServices(),\n socketState: this.mesh.websocketStatus() || 'undefined'\n }\n }\n\n /**\n * Zero-config, self-forming mesh network:\n * Discover URL of broker to connect to, or\n * if this is the broker, cast the local url\n * @returns {Promise} url\n */\n async resolveUrl () {\n await this.mesh.serviceLocatorInit({\n serviceUrl: serviceUrl(),\n name: this.name,\n primary: this.isPrimary,\n backup: this.isBackup\n })\n if (this.isPrimary) {\n await this.mesh.serviceLocatorAnswer()\n return serviceUrl()\n }\n return override ? serviceUrl() : this.mesh.serviceLocatorAsk()\n }\n\n /**\n * Use multicast dns to resolve broker url. Connect to\n * service mesh broker. Allow listeners to subscribe to\n * indivdual or all events. Send binary messages with\n * protocol and idempotentency headers. Periodically send\n * telemetry data.\n *\n * @param {*} options\n * @returns\n */\n async connect (options = { binary: true }) {\n this.options = options\n this.url = await this.resolveUrl()\n\n this.mesh.websocketConnect(this.url, {\n agent: false,\n headers: this.headers,\n protocol: SERVICENAME,\n useBinary: options.binary\n })\n\n this.mesh.websocketOnOpen(() => {\n console.log('connection open')\n this.send(this.telemetry())\n this.heartbeat()\n setTimeout(() => this.sendQueuedMsgs(), 3000)\n })\n\n this.mesh.websocketOnMessage(message => {\n if (!message.eventName) {\n debug && console.debug({ missingEventName: message })\n this.emit('missingEventName', message)\n return\n }\n try {\n this.emit(message.eventName, message)\n this.listeners('*').forEach(listener => listener(message))\n } catch (error) {\n console.error({ fn: this.connect.name, error })\n }\n })\n\n this.mesh.websocketOnError(error => {\n this.emit(WSOCKETERROR, error)\n console.error({ fn: this.connect.name, error })\n })\n\n this.mesh.websocketOnClose((code, reason) => {\n console.log({\n msg: 'received close frame',\n code,\n reason: reason?.toString()\n })\n clearTimeout(this.heartbeatTimer)\n setTimeout(() => {\n console.debug('reconnect due to socket close')\n this.connect()\n }, 5000)\n })\n\n this.mesh.websocketOnPong(() => (this.pong = true))\n this.once('timeout', this.timeout)\n }\n\n timeout () {\n console.warn('timeout')\n this.emit(HBEATTIMEOUT, this.telemetry())\n this.mesh.websocketTerminate()\n setTimeout(() => {\n console.debug('reconnect due to timeout')\n this.connect()\n }, 5000)\n }\n\n heartbeat () {\n if (this.pong) {\n this.pong = false\n this.mesh.websocketPing()\n this.heartbeatTimer = setTimeout(() => this.heartbeat(), heartbeatMs)\n } else {\n clearTimeout(this.heartbeatTimer)\n this.emit('timeout')\n }\n }\n\n /**\n * Convert message to binary and send with protocol and idempotency headers.\n * If message cannot be sent because of connection state or buffering queue\n * message in domain object for retry later. Using a domain object ensures\n * persistence of the queue across boots.\n *\n * @param {object} msg\n * @returns {Promise} true if sent, false if not\n */\n send (msg) {\n const sent = this.mesh.websocketSend(msg, {\n headers: {\n ...this.headers,\n 'idempotency-key': nanoid()\n }\n })\n if (sent) return true\n this.mesh.enqueue(msg)\n return false\n }\n\n /**\n * Send any messages buffered in `sendQueue`.\n */\n sendQueuedMsgs () {\n let sent = true\n while (this.mesh.queueDepth() > 0 && sent)\n sent = this.send(this.mesh.dequeue())\n }\n\n /**\n * Connects if needed then sends message to mesh broker service.\n * @param {*} msg\n */\n publish (msg) {\n return this.send(msg)\n }\n\n /**\n * Register handler to fire on event\n * @param {string} eventName\n * @param {function()} callback\n */\n subscribe (eventName, callback) {\n this.on(eventName, callback)\n }\n\n /**\n * A new object will be created on system reload.\n * Dispose of the old one. Run in context to\n * distinguish between the new and old instance.\n *\n * @param {*} code\n * @param {*} reason\n */\n async close (code, reason) {\n console.debug('closing socket')\n await this.mesh.save() // save queued messages\n this.removeAllListeners()\n this.mesh.websocketClose(code, reason)\n }\n}\n\n/**\n * Domain model factory function. This model is\n * used internally by the Aegis framework as a\n * pluggable service mesh client. Implement the\n * the methods below to create a new plugin.\n *\n * @param {*} dependencies injected depedencies\n * @returns\n */\nexport function makeClient (dependencies) {\n let client\n return function ({ listServices }) {\n return {\n listServices,\n sendQueue: [],\n sendQueueMax: 1000,\n\n queueDepth () {\n return this.sendQueue.length\n },\n\n enqueue (msg) {\n this.sendQueue.push(msg)\n },\n\n dequeue () {\n return this.sendQueue.shift()\n },\n\n getClient () {\n if (client) return client\n client = new ServiceMeshClient(this)\n return client\n },\n\n async connect (options) {\n this.getClient().connect(options)\n },\n\n async publish (event) {\n this.getClient().publish(event)\n },\n\n subscribe (eventName, handler) {\n this.getClient().subscribe(eventName, handler)\n },\n\n async close (code, reason) {\n this.getClient().close(code, reason)\n }\n }\n }\n}\n","'use strict'\n\nimport { Event } from './services/event-service'\n\nexport class EventDispatcher {\n constructor (adapter = Event) {\n this.adapter = adapter\n this.subscriptions = new Map()\n }\n\n registerCallback (topic, callback) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions.get(topic).push(callback)\n return\n }\n this.subscriptions.set(topic, [callback])\n }\n\n async emitEvent (topic, message, method = 'notify') {\n await this.adapter[method](topic, message)\n }\n\n async init (method = 'listen') {\n function emitEvent (topic, message) {\n this.emitEvent(topic, message)\n }\n\n await this.adapter[method](\n /Channel/,\n function ({ topic, message }) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions\n .get(topic)\n .forEach(callback =>\n callback({ message, emitEvent: emitEvent.bind(this) })\n )\n }\n }.bind(this)\n )\n }\n}\n","'use strict'\n\nconst session = require('express-session')\nconst express = require('express')\nconst http = require('http')\nconst WebSocket = require('ws')\nconst { uuid } = require('./domain/utils')\nrequire('dotenv').config()\nconst services = require('./service-registry').default\nconst cluster = require('cluster')\nconst fs = require('fs')\nconst _srv_ = require('./services')\n\nconst app = express()\nconst map = new Map()\nconst API_ROOT = '/api'\nconst PORT = 8060\n\nimport axios from 'axios'\n// list the models we expose to host through module federation\nimport { models } from './domain'\nconsole.log(models)\n\n// Run test service endpoints\nservices.init()\n\n// We need the same instance of the session parser in express and\n// WebSocket server.\nconst sessionParser = session({\n saveUninitialized: false,\n secret: '$eCuRiTy',\n resave: false\n})\n\n// Serve static files from the 'public' folder.\napp.use(express.static('public'))\napp.use(express.static('dist')) // remoteEntry.js\napp.use(sessionParser)\napp.use(express.json())\n\napp.post('/login', function (req, res) {\n // \"Log in\" user and set userId to session.\n const id = uuid()\n console.log(`Updating session for user ${id}`)\n req.session.userId = id\n res.send({ result: 'OK', message: 'Session updated' })\n})\n\napp.delete('/logout', function (request, response) {\n const ws = map.get(request.session.userId)\n console.log('Destroying session')\n request.session.destroy(function () {\n if (ws) ws.close()\n response.send({ result: 'OK', message: 'Session destroyed' })\n })\n})\n\napp.get(`${API_ROOT}/fedmonserv`, (req, res) =>\n res.send('Federated Monolith Service')\n)\n\napp.get(`${API_ROOT}/service1`, (req, res) => {\n console.log({ from: req.ip, url: req.originalUrl })\n res.status(200).send({\n from: 'fedmonserv',\n ip: req.ip,\n port: PORT,\n url: req.originalUrl,\n date: new Date().toISOString()\n })\n})\n\n// Create HTTP server\nconst server = http.createServer(app)\nconst wss = new WebSocket.Server({ clientTracking: true, noServer: true })\n\n// Send events emitted from host to any WS clients\napp.post(`${API_ROOT}/publish`, (req, res) => {\n console.log({ event: req.body })\n //handleEvents(req, res);\n wss.clients.forEach(function each (client) {\n if (client.url === req.url) return\n if (client.readyState === WebSocket.OPEN) {\n client.send(JSON.stringify({ event: req.body }))\n }\n })\n})\n\n// Handle request to upgrade to websocket protocol\nserver.on('upgrade', function (request, socket, head) {\n console.log('Parsing session from request...')\n\n sessionParser(request, {}, () => {\n if (!request.session.userId) {\n socket.destroy()\n return\n }\n console.log('Session is parsed')\n wss.handleUpgrade(request, socket, head, function (ws) {\n wss.emit('connection', ws, request)\n })\n })\n})\n\nwss.on('connection', function (ws, request) {\n const userId = request.session.userId\n map.set(userId, ws)\n\n ws.on('message', function (message) {\n console.log(`Received message ${message} from user ${userId}`)\n })\n\n ws.on('close', function () {\n map.delete(userId)\n })\n})\n\nfunction startServer () {\n server.listen(PORT, function () {\n console.log(`Listening on http://localhost:${PORT}\\n`)\n })\n}\n\nfunction hotReload () {\n const url = process.env.RELOAD_URL || 'http://localhost:8070'\n const auth = /true/i.test(process.env.AUTH_ENABLED)\n const ssl = url.startsWith('https')\n if (auth) {\n const text = fs.readFileSync('./public/token.json', 'utf-8')\n const token = JSON.parse(text)\n axios.defaults.headers.common[\n 'Authorization'\n ] = `bearer ${token.access_token}`\n }\n // setTimeout(() => {\n try {\n if (ssl) {\n const https = require('https')\n const httpsAgent = new https.Agent({\n rejectUnauthorized: false\n })\n axios\n .get(url, { httpsAgent })\n .then(response => console.log(response.data))\n } else {\n axios.get(url).then(response => console.log(response.data))\n }\n } catch (e) {\n console.log(e.message)\n }\n //}, 10000);\n}\n\nstartServer()\n\n// function startHotLoadWorker() {\n// const worker = cluster.fork();\n// const timerId = setTimeout(function (params) {\n// startHotLoadWorker();\n// }, 10000);\n// worker.on(\"message\", msg => {\n// if (msg?.status === \"done\") {\n// clearTimeout(timerId);\n// }\n// });\n//\n\n// if (cluster.isMaster) {\n// cluster.fork();\n// startServer();\n// } else {\n// hotReload();\n// }\n\n// let reloaded = false;\n// let serverRunning = false;\n\n// (async () => {\n// while (!reloaded) {\n// const worker = cluster.fork();\n\n// if (cluster.master) {\n// if (!serverRunning) {\n// startServer();\n// serverRunning = true;\n// }\n// function waitOnHotLoad() {\n// return new Promise(function (resolve) {\n// worker.on(\"message\", msg => {\n// if (msg === \"all good\") {\n// reloading = true;\n// resolve(true);\n// }\n// });\n// });\n// }\n// await waitOnHotLoad();\n\n// await new Promise(r => setTimeout(r, 2000));\n// }\n// }\n// })();\n\n// if (cluster.worker) {\n// hotReload();\n// process.send(\"all good\");\n// }\n","'use strict'\n\nimport { EventDispatcher } from './event-dispatcher'\nimport { uuid } from './domain/utils'\n\nexport const Registry = {\n eventNames: {\n shipOrder: 'orderShipped',\n trackShipment: 'outForDelivery',\n verifyDelivery: 'deliveryVerified'\n },\n\n sendEvent ({ emitEvent, topic, eventData, eventSource, eventName }) {\n console.log('Sending event...')\n console.log({ emitEvent, topic, eventData, eventSource, eventName })\n setTimeout(async () => {\n await emitEvent(\n topic,\n JSON.stringify({\n eventData,\n eventName,\n eventTime: new Date().toISOString(),\n eventType: 'commandResponse',\n eventSource: eventSource\n })\n )\n }, 5000)\n },\n\n generateShippingEventData (event, externalId) {\n const trackingId = uuid()\n const shipmentId = trackingId\n const proofOfDelivery = `http://shipping.service.com?proof=${trackingId}`\n const eventData = { externalId }\n if (event.eventName === 'shipOrder') {\n return { ...eventData, shipmentId }\n }\n if (event.eventName === 'trackShipment') {\n return { ...eventData, trackingId, trackingStatus: 'outForDelivery' }\n }\n if (event.eventName === 'verifyDelivery') {\n return { ...eventData, proofOfDelivery }\n }\n },\n\n generateShippingMessage (emitEvent, event, externalId) {\n return {\n emitEvent,\n topic: event.eventData.commandResp,\n eventData: this.generateShippingEventData(event, externalId),\n eventName: this.eventNames[event.eventName],\n eventSource: 'shippingService'\n }\n },\n\n inventoryCallbackFactory () {\n function inventoryCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const warehouseAddress = /*null;*/ '1234 warehouse dr, dock 2'\n const externalId = event.eventData.commandArgs.externalId\n const eventName = /*'outOfStock';*/ 'orderPicked'\n this.sendEvent({\n emitEvent,\n topic: event.eventData.respChannel,\n eventName,\n eventData: { warehouse_addr: warehouseAddress, externalId },\n eventSource: 'inventoryService'\n })\n }\n return inventoryCallback.bind(this)\n },\n\n shippingCallbackFactory () {\n function shippingCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const externalId = event.eventData.commandArgs.externalId\n const _message = this.generateShippingMessage(\n emitEvent,\n event,\n externalId\n )\n this.sendEvent(_message)\n\n if (event.eventName === 'trackShipment') {\n const eventData = {\n ..._message.eventData,\n trackingStatus: 'orderDelivered'\n }\n setTimeout(\n () =>\n this.sendEvent({\n ..._message,\n eventData,\n eventName: 'orderDelivered'\n }),\n 7000\n )\n }\n }\n return shippingCallback.bind(this)\n }\n}\n\nconst dispatcher = new EventDispatcher()\n\ndispatcher.registerCallback(\n 'inventoryChannel',\n Registry.inventoryCallbackFactory()\n)\n\ndispatcher.registerCallback(\n 'shippingChannel',\n Registry.shippingCallbackFactory()\n)\n\nexport default dispatcher\n","'use strict'\n\nconst uuid = require('../domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n","/*!\n * body-parser\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar deprecate = require('depd')('body-parser')\n\n/**\n * Cache of loaded parsers.\n * @private\n */\n\nvar parsers = Object.create(null)\n\n/**\n * @typedef Parsers\n * @type {function}\n * @property {function} json\n * @property {function} raw\n * @property {function} text\n * @property {function} urlencoded\n */\n\n/**\n * Module exports.\n * @type {Parsers}\n */\n\nexports = module.exports = deprecate.function(bodyParser,\n 'bodyParser: use individual json/urlencoded middlewares')\n\n/**\n * JSON parser.\n * @public\n */\n\nObject.defineProperty(exports, 'json', {\n configurable: true,\n enumerable: true,\n get: createParserGetter('json')\n})\n\n/**\n * Raw parser.\n * @public\n */\n\nObject.defineProperty(exports, 'raw', {\n configurable: true,\n enumerable: true,\n get: createParserGetter('raw')\n})\n\n/**\n * Text parser.\n * @public\n */\n\nObject.defineProperty(exports, 'text', {\n configurable: true,\n enumerable: true,\n get: createParserGetter('text')\n})\n\n/**\n * URL-encoded parser.\n * @public\n */\n\nObject.defineProperty(exports, 'urlencoded', {\n configurable: true,\n enumerable: true,\n get: createParserGetter('urlencoded')\n})\n\n/**\n * Create a middleware to parse json and urlencoded bodies.\n *\n * @param {object} [options]\n * @return {function}\n * @deprecated\n * @public\n */\n\nfunction bodyParser (options) {\n // use default type for parsers\n var opts = Object.create(options || null, {\n type: {\n configurable: true,\n enumerable: true,\n value: undefined,\n writable: true\n }\n })\n\n var _urlencoded = exports.urlencoded(opts)\n var _json = exports.json(opts)\n\n return function bodyParser (req, res, next) {\n _json(req, res, function (err) {\n if (err) return next(err)\n _urlencoded(req, res, next)\n })\n }\n}\n\n/**\n * Create a getter for loading a parser.\n * @private\n */\n\nfunction createParserGetter (name) {\n return function get () {\n return loadParser(name)\n }\n}\n\n/**\n * Load a parser module.\n * @private\n */\n\nfunction loadParser (parserName) {\n var parser = parsers[parserName]\n\n if (parser !== undefined) {\n return parser\n }\n\n // this uses a switch for static require analysis\n switch (parserName) {\n case 'json':\n parser = require('./lib/types/json')\n break\n case 'raw':\n parser = require('./lib/types/raw')\n break\n case 'text':\n parser = require('./lib/types/text')\n break\n case 'urlencoded':\n parser = require('./lib/types/urlencoded')\n break\n }\n\n // store to prevent invoking require()\n return (parsers[parserName] = parser)\n}\n","/*!\n * body-parser\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar createError = require('http-errors')\nvar destroy = require('destroy')\nvar getBody = require('raw-body')\nvar iconv = require('iconv-lite')\nvar onFinished = require('on-finished')\nvar unpipe = require('unpipe')\nvar zlib = require('zlib')\n\n/**\n * Module exports.\n */\n\nmodule.exports = read\n\n/**\n * Read a request into a buffer and parse.\n *\n * @param {object} req\n * @param {object} res\n * @param {function} next\n * @param {function} parse\n * @param {function} debug\n * @param {object} options\n * @private\n */\n\nfunction read (req, res, next, parse, debug, options) {\n var length\n var opts = options\n var stream\n\n // flag as parsed\n req._body = true\n\n // read options\n var encoding = opts.encoding !== null\n ? opts.encoding\n : null\n var verify = opts.verify\n\n try {\n // get the content stream\n stream = contentstream(req, debug, opts.inflate)\n length = stream.length\n stream.length = undefined\n } catch (err) {\n return next(err)\n }\n\n // set raw-body options\n opts.length = length\n opts.encoding = verify\n ? null\n : encoding\n\n // assert charset is supported\n if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) {\n return next(createError(415, 'unsupported charset \"' + encoding.toUpperCase() + '\"', {\n charset: encoding.toLowerCase(),\n type: 'charset.unsupported'\n }))\n }\n\n // read body\n debug('read body')\n getBody(stream, opts, function (error, body) {\n if (error) {\n var _error\n\n if (error.type === 'encoding.unsupported') {\n // echo back charset\n _error = createError(415, 'unsupported charset \"' + encoding.toUpperCase() + '\"', {\n charset: encoding.toLowerCase(),\n type: 'charset.unsupported'\n })\n } else {\n // set status code on error\n _error = createError(400, error)\n }\n\n // unpipe from stream and destroy\n if (stream !== req) {\n unpipe(req)\n destroy(stream, true)\n }\n\n // read off entire request\n dump(req, function onfinished () {\n next(createError(400, _error))\n })\n return\n }\n\n // verify\n if (verify) {\n try {\n debug('verify body')\n verify(req, res, body, encoding)\n } catch (err) {\n next(createError(403, err, {\n body: body,\n type: err.type || 'entity.verify.failed'\n }))\n return\n }\n }\n\n // parse\n var str = body\n try {\n debug('parse body')\n str = typeof body !== 'string' && encoding !== null\n ? iconv.decode(body, encoding)\n : body\n req.body = parse(str)\n } catch (err) {\n next(createError(400, err, {\n body: str,\n type: err.type || 'entity.parse.failed'\n }))\n return\n }\n\n next()\n })\n}\n\n/**\n * Get the content stream of the request.\n *\n * @param {object} req\n * @param {function} debug\n * @param {boolean} [inflate=true]\n * @return {object}\n * @api private\n */\n\nfunction contentstream (req, debug, inflate) {\n var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase()\n var length = req.headers['content-length']\n var stream\n\n debug('content-encoding \"%s\"', encoding)\n\n if (inflate === false && encoding !== 'identity') {\n throw createError(415, 'content encoding unsupported', {\n encoding: encoding,\n type: 'encoding.unsupported'\n })\n }\n\n switch (encoding) {\n case 'deflate':\n stream = zlib.createInflate()\n debug('inflate body')\n req.pipe(stream)\n break\n case 'gzip':\n stream = zlib.createGunzip()\n debug('gunzip body')\n req.pipe(stream)\n break\n case 'identity':\n stream = req\n stream.length = length\n break\n default:\n throw createError(415, 'unsupported content encoding \"' + encoding + '\"', {\n encoding: encoding,\n type: 'encoding.unsupported'\n })\n }\n\n return stream\n}\n\n/**\n * Dump the contents of a request.\n *\n * @param {object} req\n * @param {function} callback\n * @api private\n */\n\nfunction dump (req, callback) {\n if (onFinished.isFinished(req)) {\n callback(null)\n } else {\n onFinished(req, callback)\n req.resume()\n }\n}\n","/*!\n * body-parser\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar bytes = require('bytes')\nvar contentType = require('content-type')\nvar createError = require('http-errors')\nvar debug = require('debug')('body-parser:json')\nvar read = require('../read')\nvar typeis = require('type-is')\n\n/**\n * Module exports.\n */\n\nmodule.exports = json\n\n/**\n * RegExp to match the first non-space in a string.\n *\n * Allowed whitespace is defined in RFC 7159:\n *\n * ws = *(\n * %x20 / ; Space\n * %x09 / ; Horizontal tab\n * %x0A / ; Line feed or New line\n * %x0D ) ; Carriage return\n */\n\nvar FIRST_CHAR_REGEXP = /^[\\x20\\x09\\x0a\\x0d]*([^\\x20\\x09\\x0a\\x0d])/ // eslint-disable-line no-control-regex\n\n/**\n * Create a middleware to parse JSON bodies.\n *\n * @param {object} [options]\n * @return {function}\n * @public\n */\n\nfunction json (options) {\n var opts = options || {}\n\n var limit = typeof opts.limit !== 'number'\n ? bytes.parse(opts.limit || '100kb')\n : opts.limit\n var inflate = opts.inflate !== false\n var reviver = opts.reviver\n var strict = opts.strict !== false\n var type = opts.type || 'application/json'\n var verify = opts.verify || false\n\n if (verify !== false && typeof verify !== 'function') {\n throw new TypeError('option verify must be function')\n }\n\n // create the appropriate type checking function\n var shouldParse = typeof type !== 'function'\n ? typeChecker(type)\n : type\n\n function parse (body) {\n if (body.length === 0) {\n // special-case empty json body, as it's a common client-side mistake\n // TODO: maybe make this configurable or part of \"strict\" option\n return {}\n }\n\n if (strict) {\n var first = firstchar(body)\n\n if (first !== '{' && first !== '[') {\n debug('strict violation')\n throw createStrictSyntaxError(body, first)\n }\n }\n\n try {\n debug('parse json')\n return JSON.parse(body, reviver)\n } catch (e) {\n throw normalizeJsonSyntaxError(e, {\n message: e.message,\n stack: e.stack\n })\n }\n }\n\n return function jsonParser (req, res, next) {\n if (req._body) {\n debug('body already parsed')\n next()\n return\n }\n\n req.body = req.body || {}\n\n // skip requests without bodies\n if (!typeis.hasBody(req)) {\n debug('skip empty body')\n next()\n return\n }\n\n debug('content-type %j', req.headers['content-type'])\n\n // determine if request should be parsed\n if (!shouldParse(req)) {\n debug('skip parsing')\n next()\n return\n }\n\n // assert charset per RFC 7159 sec 8.1\n var charset = getCharset(req) || 'utf-8'\n if (charset.slice(0, 4) !== 'utf-') {\n debug('invalid charset')\n next(createError(415, 'unsupported charset \"' + charset.toUpperCase() + '\"', {\n charset: charset,\n type: 'charset.unsupported'\n }))\n return\n }\n\n // read\n read(req, res, next, parse, debug, {\n encoding: charset,\n inflate: inflate,\n limit: limit,\n verify: verify\n })\n }\n}\n\n/**\n * Create strict violation syntax error matching native error.\n *\n * @param {string} str\n * @param {string} char\n * @return {Error}\n * @private\n */\n\nfunction createStrictSyntaxError (str, char) {\n var index = str.indexOf(char)\n var partial = index !== -1\n ? str.substring(0, index) + '#'\n : ''\n\n try {\n JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation')\n } catch (e) {\n return normalizeJsonSyntaxError(e, {\n message: e.message.replace('#', char),\n stack: e.stack\n })\n }\n}\n\n/**\n * Get the first non-whitespace character in a string.\n *\n * @param {string} str\n * @return {function}\n * @private\n */\n\nfunction firstchar (str) {\n var match = FIRST_CHAR_REGEXP.exec(str)\n\n return match\n ? match[1]\n : undefined\n}\n\n/**\n * Get the charset of a request.\n *\n * @param {object} req\n * @api private\n */\n\nfunction getCharset (req) {\n try {\n return (contentType.parse(req).parameters.charset || '').toLowerCase()\n } catch (e) {\n return undefined\n }\n}\n\n/**\n * Normalize a SyntaxError for JSON.parse.\n *\n * @param {SyntaxError} error\n * @param {object} obj\n * @return {SyntaxError}\n */\n\nfunction normalizeJsonSyntaxError (error, obj) {\n var keys = Object.getOwnPropertyNames(error)\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]\n if (key !== 'stack' && key !== 'message') {\n delete error[key]\n }\n }\n\n // replace stack before message for Node.js 0.10 and below\n error.stack = obj.stack.replace(error.message, obj.message)\n error.message = obj.message\n\n return error\n}\n\n/**\n * Get the simple type checker.\n *\n * @param {string} type\n * @return {function}\n */\n\nfunction typeChecker (type) {\n return function checkType (req) {\n return Boolean(typeis(req, type))\n }\n}\n","/*!\n * body-parser\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n */\n\nvar bytes = require('bytes')\nvar debug = require('debug')('body-parser:raw')\nvar read = require('../read')\nvar typeis = require('type-is')\n\n/**\n * Module exports.\n */\n\nmodule.exports = raw\n\n/**\n * Create a middleware to parse raw bodies.\n *\n * @param {object} [options]\n * @return {function}\n * @api public\n */\n\nfunction raw (options) {\n var opts = options || {}\n\n var inflate = opts.inflate !== false\n var limit = typeof opts.limit !== 'number'\n ? bytes.parse(opts.limit || '100kb')\n : opts.limit\n var type = opts.type || 'application/octet-stream'\n var verify = opts.verify || false\n\n if (verify !== false && typeof verify !== 'function') {\n throw new TypeError('option verify must be function')\n }\n\n // create the appropriate type checking function\n var shouldParse = typeof type !== 'function'\n ? typeChecker(type)\n : type\n\n function parse (buf) {\n return buf\n }\n\n return function rawParser (req, res, next) {\n if (req._body) {\n debug('body already parsed')\n next()\n return\n }\n\n req.body = req.body || {}\n\n // skip requests without bodies\n if (!typeis.hasBody(req)) {\n debug('skip empty body')\n next()\n return\n }\n\n debug('content-type %j', req.headers['content-type'])\n\n // determine if request should be parsed\n if (!shouldParse(req)) {\n debug('skip parsing')\n next()\n return\n }\n\n // read\n read(req, res, next, parse, debug, {\n encoding: null,\n inflate: inflate,\n limit: limit,\n verify: verify\n })\n }\n}\n\n/**\n * Get the simple type checker.\n *\n * @param {string} type\n * @return {function}\n */\n\nfunction typeChecker (type) {\n return function checkType (req) {\n return Boolean(typeis(req, type))\n }\n}\n","/*!\n * body-parser\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n */\n\nvar bytes = require('bytes')\nvar contentType = require('content-type')\nvar debug = require('debug')('body-parser:text')\nvar read = require('../read')\nvar typeis = require('type-is')\n\n/**\n * Module exports.\n */\n\nmodule.exports = text\n\n/**\n * Create a middleware to parse text bodies.\n *\n * @param {object} [options]\n * @return {function}\n * @api public\n */\n\nfunction text (options) {\n var opts = options || {}\n\n var defaultCharset = opts.defaultCharset || 'utf-8'\n var inflate = opts.inflate !== false\n var limit = typeof opts.limit !== 'number'\n ? bytes.parse(opts.limit || '100kb')\n : opts.limit\n var type = opts.type || 'text/plain'\n var verify = opts.verify || false\n\n if (verify !== false && typeof verify !== 'function') {\n throw new TypeError('option verify must be function')\n }\n\n // create the appropriate type checking function\n var shouldParse = typeof type !== 'function'\n ? typeChecker(type)\n : type\n\n function parse (buf) {\n return buf\n }\n\n return function textParser (req, res, next) {\n if (req._body) {\n debug('body already parsed')\n next()\n return\n }\n\n req.body = req.body || {}\n\n // skip requests without bodies\n if (!typeis.hasBody(req)) {\n debug('skip empty body')\n next()\n return\n }\n\n debug('content-type %j', req.headers['content-type'])\n\n // determine if request should be parsed\n if (!shouldParse(req)) {\n debug('skip parsing')\n next()\n return\n }\n\n // get charset\n var charset = getCharset(req) || defaultCharset\n\n // read\n read(req, res, next, parse, debug, {\n encoding: charset,\n inflate: inflate,\n limit: limit,\n verify: verify\n })\n }\n}\n\n/**\n * Get the charset of a request.\n *\n * @param {object} req\n * @api private\n */\n\nfunction getCharset (req) {\n try {\n return (contentType.parse(req).parameters.charset || '').toLowerCase()\n } catch (e) {\n return undefined\n }\n}\n\n/**\n * Get the simple type checker.\n *\n * @param {string} type\n * @return {function}\n */\n\nfunction typeChecker (type) {\n return function checkType (req) {\n return Boolean(typeis(req, type))\n }\n}\n","/*!\n * body-parser\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar bytes = require('bytes')\nvar contentType = require('content-type')\nvar createError = require('http-errors')\nvar debug = require('debug')('body-parser:urlencoded')\nvar deprecate = require('depd')('body-parser')\nvar read = require('../read')\nvar typeis = require('type-is')\n\n/**\n * Module exports.\n */\n\nmodule.exports = urlencoded\n\n/**\n * Cache of parser modules.\n */\n\nvar parsers = Object.create(null)\n\n/**\n * Create a middleware to parse urlencoded bodies.\n *\n * @param {object} [options]\n * @return {function}\n * @public\n */\n\nfunction urlencoded (options) {\n var opts = options || {}\n\n // notice because option default will flip in next major\n if (opts.extended === undefined) {\n deprecate('undefined extended: provide extended option')\n }\n\n var extended = opts.extended !== false\n var inflate = opts.inflate !== false\n var limit = typeof opts.limit !== 'number'\n ? bytes.parse(opts.limit || '100kb')\n : opts.limit\n var type = opts.type || 'application/x-www-form-urlencoded'\n var verify = opts.verify || false\n\n if (verify !== false && typeof verify !== 'function') {\n throw new TypeError('option verify must be function')\n }\n\n // create the appropriate query parser\n var queryparse = extended\n ? extendedparser(opts)\n : simpleparser(opts)\n\n // create the appropriate type checking function\n var shouldParse = typeof type !== 'function'\n ? typeChecker(type)\n : type\n\n function parse (body) {\n return body.length\n ? queryparse(body)\n : {}\n }\n\n return function urlencodedParser (req, res, next) {\n if (req._body) {\n debug('body already parsed')\n next()\n return\n }\n\n req.body = req.body || {}\n\n // skip requests without bodies\n if (!typeis.hasBody(req)) {\n debug('skip empty body')\n next()\n return\n }\n\n debug('content-type %j', req.headers['content-type'])\n\n // determine if request should be parsed\n if (!shouldParse(req)) {\n debug('skip parsing')\n next()\n return\n }\n\n // assert charset\n var charset = getCharset(req) || 'utf-8'\n if (charset !== 'utf-8') {\n debug('invalid charset')\n next(createError(415, 'unsupported charset \"' + charset.toUpperCase() + '\"', {\n charset: charset,\n type: 'charset.unsupported'\n }))\n return\n }\n\n // read\n read(req, res, next, parse, debug, {\n debug: debug,\n encoding: charset,\n inflate: inflate,\n limit: limit,\n verify: verify\n })\n }\n}\n\n/**\n * Get the extended query parser.\n *\n * @param {object} options\n */\n\nfunction extendedparser (options) {\n var parameterLimit = options.parameterLimit !== undefined\n ? options.parameterLimit\n : 1000\n var parse = parser('qs')\n\n if (isNaN(parameterLimit) || parameterLimit < 1) {\n throw new TypeError('option parameterLimit must be a positive number')\n }\n\n if (isFinite(parameterLimit)) {\n parameterLimit = parameterLimit | 0\n }\n\n return function queryparse (body) {\n var paramCount = parameterCount(body, parameterLimit)\n\n if (paramCount === undefined) {\n debug('too many parameters')\n throw createError(413, 'too many parameters', {\n type: 'parameters.too.many'\n })\n }\n\n var arrayLimit = Math.max(100, paramCount)\n\n debug('parse extended urlencoding')\n return parse(body, {\n allowPrototypes: true,\n arrayLimit: arrayLimit,\n depth: Infinity,\n parameterLimit: parameterLimit\n })\n }\n}\n\n/**\n * Get the charset of a request.\n *\n * @param {object} req\n * @api private\n */\n\nfunction getCharset (req) {\n try {\n return (contentType.parse(req).parameters.charset || '').toLowerCase()\n } catch (e) {\n return undefined\n }\n}\n\n/**\n * Count the number of parameters, stopping once limit reached\n *\n * @param {string} body\n * @param {number} limit\n * @api private\n */\n\nfunction parameterCount (body, limit) {\n var count = 0\n var index = 0\n\n while ((index = body.indexOf('&', index)) !== -1) {\n count++\n index++\n\n if (count === limit) {\n return undefined\n }\n }\n\n return count\n}\n\n/**\n * Get parser for module name dynamically.\n *\n * @param {string} name\n * @return {function}\n * @api private\n */\n\nfunction parser (name) {\n var mod = parsers[name]\n\n if (mod !== undefined) {\n return mod.parse\n }\n\n // this uses a switch for static require analysis\n switch (name) {\n case 'qs':\n mod = require('qs')\n break\n case 'querystring':\n mod = require('querystring')\n break\n }\n\n // store to prevent invoking require()\n parsers[name] = mod\n\n return mod.parse\n}\n\n/**\n * Get the simple query parser.\n *\n * @param {object} options\n */\n\nfunction simpleparser (options) {\n var parameterLimit = options.parameterLimit !== undefined\n ? options.parameterLimit\n : 1000\n var parse = parser('querystring')\n\n if (isNaN(parameterLimit) || parameterLimit < 1) {\n throw new TypeError('option parameterLimit must be a positive number')\n }\n\n if (isFinite(parameterLimit)) {\n parameterLimit = parameterLimit | 0\n }\n\n return function queryparse (body) {\n var paramCount = parameterCount(body, parameterLimit)\n\n if (paramCount === undefined) {\n debug('too many parameters')\n throw createError(413, 'too many parameters', {\n type: 'parameters.too.many'\n })\n }\n\n debug('parse urlencoding')\n return parse(body, undefined, undefined, { maxKeys: parameterLimit })\n }\n}\n\n/**\n * Get the simple type checker.\n *\n * @param {string} type\n * @return {function}\n */\n\nfunction typeChecker (type) {\n return function checkType (req) {\n return Boolean(typeis(req, type))\n }\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","'use strict';\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nconst mask = (source, mask, output, offset, length) => {\n for (var i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n};\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nconst unmask = (buffer, mask) => {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (var i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n};\n\nmodule.exports = { mask, unmask };\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","/*!\n * bytes\n * Copyright(c) 2012-2014 TJ Holowaychuk\n * Copyright(c) 2015 Jed Watson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = bytes;\nmodule.exports.format = format;\nmodule.exports.parse = parse;\n\n/**\n * Module variables.\n * @private\n */\n\nvar formatThousandsRegExp = /\\B(?=(\\d{3})+(?!\\d))/g;\n\nvar formatDecimalsRegExp = /(?:\\.0*|(\\.[^0]+)0+)$/;\n\nvar map = {\n b: 1,\n kb: 1 << 10,\n mb: 1 << 20,\n gb: 1 << 30,\n tb: Math.pow(1024, 4),\n pb: Math.pow(1024, 5),\n};\n\nvar parseRegExp = /^((-|\\+)?(\\d+(?:\\.\\d+)?)) *(kb|mb|gb|tb|pb)$/i;\n\n/**\n * Convert the given value in bytes into a string or parse to string to an integer in bytes.\n *\n * @param {string|number} value\n * @param {{\n * case: [string],\n * decimalPlaces: [number]\n * fixedDecimals: [boolean]\n * thousandsSeparator: [string]\n * unitSeparator: [string]\n * }} [options] bytes options.\n *\n * @returns {string|number|null}\n */\n\nfunction bytes(value, options) {\n if (typeof value === 'string') {\n return parse(value);\n }\n\n if (typeof value === 'number') {\n return format(value, options);\n }\n\n return null;\n}\n\n/**\n * Format the given value in bytes into a string.\n *\n * If the value is negative, it is kept as such. If it is a float,\n * it is rounded.\n *\n * @param {number} value\n * @param {object} [options]\n * @param {number} [options.decimalPlaces=2]\n * @param {number} [options.fixedDecimals=false]\n * @param {string} [options.thousandsSeparator=]\n * @param {string} [options.unit=]\n * @param {string} [options.unitSeparator=]\n *\n * @returns {string|null}\n * @public\n */\n\nfunction format(value, options) {\n if (!Number.isFinite(value)) {\n return null;\n }\n\n var mag = Math.abs(value);\n var thousandsSeparator = (options && options.thousandsSeparator) || '';\n var unitSeparator = (options && options.unitSeparator) || '';\n var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;\n var fixedDecimals = Boolean(options && options.fixedDecimals);\n var unit = (options && options.unit) || '';\n\n if (!unit || !map[unit.toLowerCase()]) {\n if (mag >= map.pb) {\n unit = 'PB';\n } else if (mag >= map.tb) {\n unit = 'TB';\n } else if (mag >= map.gb) {\n unit = 'GB';\n } else if (mag >= map.mb) {\n unit = 'MB';\n } else if (mag >= map.kb) {\n unit = 'KB';\n } else {\n unit = 'B';\n }\n }\n\n var val = value / map[unit.toLowerCase()];\n var str = val.toFixed(decimalPlaces);\n\n if (!fixedDecimals) {\n str = str.replace(formatDecimalsRegExp, '$1');\n }\n\n if (thousandsSeparator) {\n str = str.split('.').map(function (s, i) {\n return i === 0\n ? s.replace(formatThousandsRegExp, thousandsSeparator)\n : s\n }).join('.');\n }\n\n return str + unitSeparator + unit;\n}\n\n/**\n * Parse the string value into an integer in bytes.\n *\n * If no unit is given, it is assumed the value is in bytes.\n *\n * @param {number|string} val\n *\n * @returns {number|null}\n * @public\n */\n\nfunction parse(val) {\n if (typeof val === 'number' && !isNaN(val)) {\n return val;\n }\n\n if (typeof val !== 'string') {\n return null;\n }\n\n // Test if the string passed is valid\n var results = parseRegExp.exec(val);\n var floatValue;\n var unit = 'b';\n\n if (!results) {\n // Nothing could be extracted from the given string\n floatValue = parseInt(val, 10);\n unit = 'b'\n } else {\n // Retrieve the value and the unit\n floatValue = parseFloat(results[1]);\n unit = results[4].toLowerCase();\n }\n\n if (isNaN(floatValue)) {\n return null;\n }\n\n return Math.floor(map[unit] * floatValue);\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/*!\n * content-disposition\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = contentDisposition\nmodule.exports.parse = parse\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar basename = require('path').basename\nvar Buffer = require('safe-buffer').Buffer\n\n/**\n * RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including \"%\")\n * @private\n */\n\nvar ENCODE_URL_ATTR_CHAR_REGEXP = /[\\x00-\\x20\"'()*,/:;<=>?@[\\\\\\]{}\\x7f]/g // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match percent encoding escape.\n * @private\n */\n\nvar HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/\nvar HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g\n\n/**\n * RegExp to match non-latin1 characters.\n * @private\n */\n\nvar NON_LATIN1_REGEXP = /[^\\x20-\\x7e\\xa0-\\xff]/g\n\n/**\n * RegExp to match quoted-pair in RFC 2616\n *\n * quoted-pair = \"\\\" CHAR\n * CHAR = \n * @private\n */\n\nvar QESC_REGEXP = /\\\\([\\u0000-\\u007f])/g // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 2616\n * @private\n */\n\nvar QUOTE_REGEXP = /([\\\\\"])/g\n\n/**\n * RegExp for various RFC 2616 grammar\n *\n * parameter = token \"=\" ( token | quoted-string )\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n * quoted-string = ( <\"> *(qdtext | quoted-pair ) <\"> )\n * qdtext = >\n * quoted-pair = \"\\\" CHAR\n * CHAR = \n * TEXT = \n * LWS = [CRLF] 1*( SP | HT )\n * CRLF = CR LF\n * CR = \n * LF = \n * SP = \n * HT = \n * CTL = \n * OCTET = \n * @private\n */\n\nvar PARAM_REGEXP = /;[\\x09\\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*=[\\x09\\x20]*(\"(?:[\\x20!\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*/g // eslint-disable-line no-control-regex\nvar TEXT_REGEXP = /^[\\x20-\\x7e\\x80-\\xff]+$/\nvar TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/\n\n/**\n * RegExp for various RFC 5987 grammar\n *\n * ext-value = charset \"'\" [ language ] \"'\" value-chars\n * charset = \"UTF-8\" / \"ISO-8859-1\" / mime-charset\n * mime-charset = 1*mime-charsetc\n * mime-charsetc = ALPHA / DIGIT\n * / \"!\" / \"#\" / \"$\" / \"%\" / \"&\"\n * / \"+\" / \"-\" / \"^\" / \"_\" / \"`\"\n * / \"{\" / \"}\" / \"~\"\n * language = ( 2*3ALPHA [ extlang ] )\n * / 4ALPHA\n * / 5*8ALPHA\n * extlang = *3( \"-\" 3ALPHA )\n * value-chars = *( pct-encoded / attr-char )\n * pct-encoded = \"%\" HEXDIG HEXDIG\n * attr-char = ALPHA / DIGIT\n * / \"!\" / \"#\" / \"$\" / \"&\" / \"+\" / \"-\" / \".\"\n * / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * @private\n */\n\nvar EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/\n\n/**\n * RegExp for various RFC 6266 grammar\n *\n * disposition-type = \"inline\" | \"attachment\" | disp-ext-type\n * disp-ext-type = token\n * disposition-parm = filename-parm | disp-ext-parm\n * filename-parm = \"filename\" \"=\" value\n * | \"filename*\" \"=\" ext-value\n * disp-ext-parm = token \"=\" value\n * | ext-token \"=\" ext-value\n * ext-token = \n * @private\n */\n\nvar DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*(?:$|;)/ // eslint-disable-line no-control-regex\n\n/**\n * Create an attachment Content-Disposition header.\n *\n * @param {string} [filename]\n * @param {object} [options]\n * @param {string} [options.type=attachment]\n * @param {string|boolean} [options.fallback=true]\n * @return {string}\n * @public\n */\n\nfunction contentDisposition (filename, options) {\n var opts = options || {}\n\n // get type\n var type = opts.type || 'attachment'\n\n // get parameters\n var params = createparams(filename, opts.fallback)\n\n // format into string\n return format(new ContentDisposition(type, params))\n}\n\n/**\n * Create parameters object from filename and fallback.\n *\n * @param {string} [filename]\n * @param {string|boolean} [fallback=true]\n * @return {object}\n * @private\n */\n\nfunction createparams (filename, fallback) {\n if (filename === undefined) {\n return\n }\n\n var params = {}\n\n if (typeof filename !== 'string') {\n throw new TypeError('filename must be a string')\n }\n\n // fallback defaults to true\n if (fallback === undefined) {\n fallback = true\n }\n\n if (typeof fallback !== 'string' && typeof fallback !== 'boolean') {\n throw new TypeError('fallback must be a string or boolean')\n }\n\n if (typeof fallback === 'string' && NON_LATIN1_REGEXP.test(fallback)) {\n throw new TypeError('fallback must be ISO-8859-1 string')\n }\n\n // restrict to file base name\n var name = basename(filename)\n\n // determine if name is suitable for quoted string\n var isQuotedString = TEXT_REGEXP.test(name)\n\n // generate fallback name\n var fallbackName = typeof fallback !== 'string'\n ? fallback && getlatin1(name)\n : basename(fallback)\n var hasFallback = typeof fallbackName === 'string' && fallbackName !== name\n\n // set extended filename parameter\n if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name)) {\n params['filename*'] = name\n }\n\n // set filename parameter\n if (isQuotedString || hasFallback) {\n params.filename = hasFallback\n ? fallbackName\n : name\n }\n\n return params\n}\n\n/**\n * Format object to Content-Disposition header.\n *\n * @param {object} obj\n * @param {string} obj.type\n * @param {object} [obj.parameters]\n * @return {string}\n * @private\n */\n\nfunction format (obj) {\n var parameters = obj.parameters\n var type = obj.type\n\n if (!type || typeof type !== 'string' || !TOKEN_REGEXP.test(type)) {\n throw new TypeError('invalid type')\n }\n\n // start with normalized type\n var string = String(type).toLowerCase()\n\n // append parameters\n if (parameters && typeof parameters === 'object') {\n var param\n var params = Object.keys(parameters).sort()\n\n for (var i = 0; i < params.length; i++) {\n param = params[i]\n\n var val = param.substr(-1) === '*'\n ? ustring(parameters[param])\n : qstring(parameters[param])\n\n string += '; ' + param + '=' + val\n }\n }\n\n return string\n}\n\n/**\n * Decode a RFC 5987 field value (gracefully).\n *\n * @param {string} str\n * @return {string}\n * @private\n */\n\nfunction decodefield (str) {\n var match = EXT_VALUE_REGEXP.exec(str)\n\n if (!match) {\n throw new TypeError('invalid extended field value')\n }\n\n var charset = match[1].toLowerCase()\n var encoded = match[2]\n var value\n\n // to binary string\n var binary = encoded.replace(HEX_ESCAPE_REPLACE_REGEXP, pdecode)\n\n switch (charset) {\n case 'iso-8859-1':\n value = getlatin1(binary)\n break\n case 'utf-8':\n value = Buffer.from(binary, 'binary').toString('utf8')\n break\n default:\n throw new TypeError('unsupported charset in extended field')\n }\n\n return value\n}\n\n/**\n * Get ISO-8859-1 version of string.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction getlatin1 (val) {\n // simple Unicode -> ISO-8859-1 transformation\n return String(val).replace(NON_LATIN1_REGEXP, '?')\n}\n\n/**\n * Parse Content-Disposition header string.\n *\n * @param {string} string\n * @return {object}\n * @public\n */\n\nfunction parse (string) {\n if (!string || typeof string !== 'string') {\n throw new TypeError('argument string is required')\n }\n\n var match = DISPOSITION_TYPE_REGEXP.exec(string)\n\n if (!match) {\n throw new TypeError('invalid type format')\n }\n\n // normalize type\n var index = match[0].length\n var type = match[1].toLowerCase()\n\n var key\n var names = []\n var params = {}\n var value\n\n // calculate index to start at\n index = PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';'\n ? index - 1\n : index\n\n // match parameters\n while ((match = PARAM_REGEXP.exec(string))) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format')\n }\n\n index += match[0].length\n key = match[1].toLowerCase()\n value = match[2]\n\n if (names.indexOf(key) !== -1) {\n throw new TypeError('invalid duplicate parameter')\n }\n\n names.push(key)\n\n if (key.indexOf('*') + 1 === key.length) {\n // decode extended value\n key = key.slice(0, -1)\n value = decodefield(value)\n\n // overwrite existing value\n params[key] = value\n continue\n }\n\n if (typeof params[key] === 'string') {\n continue\n }\n\n if (value[0] === '\"') {\n // remove quotes and escapes\n value = value\n .substr(1, value.length - 2)\n .replace(QESC_REGEXP, '$1')\n }\n\n params[key] = value\n }\n\n if (index !== -1 && index !== string.length) {\n throw new TypeError('invalid parameter format')\n }\n\n return new ContentDisposition(type, params)\n}\n\n/**\n * Percent decode a single character.\n *\n * @param {string} str\n * @param {string} hex\n * @return {string}\n * @private\n */\n\nfunction pdecode (str, hex) {\n return String.fromCharCode(parseInt(hex, 16))\n}\n\n/**\n * Percent encode a single character.\n *\n * @param {string} char\n * @return {string}\n * @private\n */\n\nfunction pencode (char) {\n return '%' + String(char)\n .charCodeAt(0)\n .toString(16)\n .toUpperCase()\n}\n\n/**\n * Quote a string for HTTP.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction qstring (val) {\n var str = String(val)\n\n return '\"' + str.replace(QUOTE_REGEXP, '\\\\$1') + '\"'\n}\n\n/**\n * Encode a Unicode string for HTTP (RFC 5987).\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction ustring (val) {\n var str = String(val)\n\n // percent encode as UTF-8\n var encoded = encodeURIComponent(str)\n .replace(ENCODE_URL_ATTR_CHAR_REGEXP, pencode)\n\n return 'UTF-8\\'\\'' + encoded\n}\n\n/**\n * Class for parsed Content-Disposition header for v8 optimization\n *\n * @public\n * @param {string} type\n * @param {object} parameters\n * @constructor\n */\n\nfunction ContentDisposition (type, parameters) {\n this.type = type\n this.parameters = parameters\n}\n","/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * RegExp to match *( \";\" parameter ) in RFC 7231 sec 3.1.1.1\n *\n * parameter = token \"=\" ( token / quoted-string )\n * token = 1*tchar\n * tchar = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" / \"*\"\n * / \"+\" / \"-\" / \".\" / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * / DIGIT / ALPHA\n * ; any VCHAR, except delimiters\n * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE\n * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text\n * obs-text = %x80-FF\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n */\nvar PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g\nvar TEXT_REGEXP = /^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/\nvar TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * RegExp to match quoted-pair in RFC 7230 sec 3.2.6\n *\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n * obs-text = %x80-FF\n */\nvar QESC_REGEXP = /\\\\([\\u000b\\u0020-\\u00ff])/g\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6\n */\nvar QUOTE_REGEXP = /([\\\\\"])/g\n\n/**\n * RegExp to match type in RFC 7231 sec 3.1.1.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nvar TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * Module exports.\n * @public\n */\n\nexports.format = format\nexports.parse = parse\n\n/**\n * Format object to media type.\n *\n * @param {object} obj\n * @return {string}\n * @public\n */\n\nfunction format (obj) {\n if (!obj || typeof obj !== 'object') {\n throw new TypeError('argument obj is required')\n }\n\n var parameters = obj.parameters\n var type = obj.type\n\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid type')\n }\n\n var string = type\n\n // append parameters\n if (parameters && typeof parameters === 'object') {\n var param\n var params = Object.keys(parameters).sort()\n\n for (var i = 0; i < params.length; i++) {\n param = params[i]\n\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError('invalid parameter name')\n }\n\n string += '; ' + param + '=' + qstring(parameters[param])\n }\n }\n\n return string\n}\n\n/**\n * Parse media type to object.\n *\n * @param {string|object} string\n * @return {Object}\n * @public\n */\n\nfunction parse (string) {\n if (!string) {\n throw new TypeError('argument string is required')\n }\n\n // support req/res-like objects as argument\n var header = typeof string === 'object'\n ? getcontenttype(string)\n : string\n\n if (typeof header !== 'string') {\n throw new TypeError('argument string is required to be a string')\n }\n\n var index = header.indexOf(';')\n var type = index !== -1\n ? header.substr(0, index).trim()\n : header.trim()\n\n if (!TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid media type')\n }\n\n var obj = new ContentType(type.toLowerCase())\n\n // parse parameters\n if (index !== -1) {\n var key\n var match\n var value\n\n PARAM_REGEXP.lastIndex = index\n\n while ((match = PARAM_REGEXP.exec(header))) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format')\n }\n\n index += match[0].length\n key = match[1].toLowerCase()\n value = match[2]\n\n if (value[0] === '\"') {\n // remove quotes and escapes\n value = value\n .substr(1, value.length - 2)\n .replace(QESC_REGEXP, '$1')\n }\n\n obj.parameters[key] = value\n }\n\n if (index !== header.length) {\n throw new TypeError('invalid parameter format')\n }\n }\n\n return obj\n}\n\n/**\n * Get content-type from req/res objects.\n *\n * @param {object}\n * @return {Object}\n * @private\n */\n\nfunction getcontenttype (obj) {\n var header\n\n if (typeof obj.getHeader === 'function') {\n // res-like\n header = obj.getHeader('content-type')\n } else if (typeof obj.headers === 'object') {\n // req-like\n header = obj.headers && obj.headers['content-type']\n }\n\n if (typeof header !== 'string') {\n throw new TypeError('content-type header is missing from object')\n }\n\n return header\n}\n\n/**\n * Quote a string if necessary.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction qstring (val) {\n var str = String(val)\n\n // no need to quote tokens\n if (TOKEN_REGEXP.test(str)) {\n return str\n }\n\n if (str.length > 0 && !TEXT_REGEXP.test(str)) {\n throw new TypeError('invalid parameter value')\n }\n\n return '\"' + str.replace(QUOTE_REGEXP, '\\\\$1') + '\"'\n}\n\n/**\n * Class to represent a content type.\n * @private\n */\nfunction ContentType (type) {\n this.parameters = Object.create(null)\n this.type = type\n}\n","/**\n * Module dependencies.\n */\n\nvar crypto = require('crypto');\n\n/**\n * Sign the given `val` with `secret`.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String}\n * @api private\n */\n\nexports.sign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Cookie value must be provided as a string.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n return val + '.' + crypto\n .createHmac('sha256', secret)\n .update(val)\n .digest('base64')\n .replace(/\\=+$/, '');\n};\n\n/**\n * Unsign and decode the given `val` with `secret`,\n * returning `false` if the signature is invalid.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String|Boolean}\n * @api private\n */\n\nexports.unsign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Signed cookie string must be provided.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n var str = val.slice(0, val.lastIndexOf('.'))\n , mac = exports.sign(str, secret);\n \n return sha1(mac) == sha1(val) ? str : false;\n};\n\n/**\n * Private\n */\n\nfunction sha1(str){\n return crypto.createHash('sha1').update(str).digest('hex');\n}\n","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var pairs = str.split(';')\n var dec = opt.decode || decode;\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var index = pair.indexOf('=')\n\n // skip things that don't look like key=value\n if (index < 0) {\n continue;\n }\n\n var key = pair.substring(0, index).trim()\n\n // only assign once\n if (undefined == obj[key]) {\n var val = pair.substring(index + 1, pair.length).trim()\n\n // quoted values\n if (val[0] === '\"') {\n val = val.slice(1, -1)\n }\n\n obj[key] = tryDecode(val, dec);\n }\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.exec');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n","require('../../modules/es7.array.flat-map');\nmodule.exports = require('../../modules/_core').Array.flatMap;\n","require('../../modules/es7.array.includes');\nmodule.exports = require('../../modules/_core').Array.includes;\n","require('../../modules/es7.object.entries');\nmodule.exports = require('../../modules/_core').Object.entries;\n","require('../../modules/es7.object.get-own-property-descriptors');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;\n","require('../../modules/es7.object.values');\nmodule.exports = require('../../modules/_core').Object.values;\n","'use strict';\nrequire('../../modules/es6.promise');\nrequire('../../modules/es7.promise.finally');\nmodule.exports = require('../../modules/_core').Promise['finally'];\n","require('../../modules/es7.string.pad-end');\nmodule.exports = require('../../modules/_core').String.padEnd;\n","require('../../modules/es7.string.pad-start');\nmodule.exports = require('../../modules/_core').String.padStart;\n","require('../../modules/es7.string.trim-right');\nmodule.exports = require('../../modules/_core').String.trimRight;\n","require('../../modules/es7.string.trim-left');\nmodule.exports = require('../../modules/_core').String.trimLeft;\n","require('../../modules/es7.symbol.async-iterator');\nmodule.exports = require('../../modules/_wks-ext').f('asyncIterator');\n","require('../modules/es7.global');\nmodule.exports = require('../modules/_core').global;\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/tc39/proposal-global\nvar $export = require('./_export');\n\n$export($export.G, { global: require('./_global') });\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = require('./_is-array');\nvar isObject = require('./_is-object');\nvar toLength = require('./_to-length');\nvar ctx = require('./_ctx');\nvar IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toInteger(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length!');\n return length;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nif (require('./_descriptors')) {\n var LIBRARY = require('./_library');\n var global = require('./_global');\n var fails = require('./_fails');\n var $export = require('./_export');\n var $typed = require('./_typed');\n var $buffer = require('./_typed-buffer');\n var ctx = require('./_ctx');\n var anInstance = require('./_an-instance');\n var propertyDesc = require('./_property-desc');\n var hide = require('./_hide');\n var redefineAll = require('./_redefine-all');\n var toInteger = require('./_to-integer');\n var toLength = require('./_to-length');\n var toIndex = require('./_to-index');\n var toAbsoluteIndex = require('./_to-absolute-index');\n var toPrimitive = require('./_to-primitive');\n var has = require('./_has');\n var classof = require('./_classof');\n var isObject = require('./_is-object');\n var toObject = require('./_to-object');\n var isArrayIter = require('./_is-array-iter');\n var create = require('./_object-create');\n var getPrototypeOf = require('./_object-gpo');\n var gOPN = require('./_object-gopn').f;\n var getIterFn = require('./core.get-iterator-method');\n var uid = require('./_uid');\n var wks = require('./_wks');\n var createArrayMethod = require('./_array-methods');\n var createArrayIncludes = require('./_array-includes');\n var speciesConstructor = require('./_species-constructor');\n var ArrayIterators = require('./es6.array.iterator');\n var Iterators = require('./_iterators');\n var $iterDetect = require('./_iter-detect');\n var setSpecies = require('./_set-species');\n var arrayFill = require('./_array-fill');\n var arrayCopyWithin = require('./_array-copy-within');\n var $DP = require('./_object-dp');\n var $GOPD = require('./_object-gopd');\n var dP = $DP.f;\n var gOPD = $GOPD.f;\n var RangeError = global.RangeError;\n var TypeError = global.TypeError;\n var Uint8Array = global.Uint8Array;\n var ARRAY_BUFFER = 'ArrayBuffer';\n var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n var PROTOTYPE = 'prototype';\n var ArrayProto = Array[PROTOTYPE];\n var $ArrayBuffer = $buffer.ArrayBuffer;\n var $DataView = $buffer.DataView;\n var arrayForEach = createArrayMethod(0);\n var arrayFilter = createArrayMethod(2);\n var arraySome = createArrayMethod(3);\n var arrayEvery = createArrayMethod(4);\n var arrayFind = createArrayMethod(5);\n var arrayFindIndex = createArrayMethod(6);\n var arrayIncludes = createArrayIncludes(true);\n var arrayIndexOf = createArrayIncludes(false);\n var arrayValues = ArrayIterators.values;\n var arrayKeys = ArrayIterators.keys;\n var arrayEntries = ArrayIterators.entries;\n var arrayLastIndexOf = ArrayProto.lastIndexOf;\n var arrayReduce = ArrayProto.reduce;\n var arrayReduceRight = ArrayProto.reduceRight;\n var arrayJoin = ArrayProto.join;\n var arraySort = ArrayProto.sort;\n var arraySlice = ArrayProto.slice;\n var arrayToString = ArrayProto.toString;\n var arrayToLocaleString = ArrayProto.toLocaleString;\n var ITERATOR = wks('iterator');\n var TAG = wks('toStringTag');\n var TYPED_CONSTRUCTOR = uid('typed_constructor');\n var DEF_CONSTRUCTOR = uid('def_constructor');\n var ALL_CONSTRUCTORS = $typed.CONSTR;\n var TYPED_ARRAY = $typed.TYPED;\n var VIEW = $typed.VIEW;\n var WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function (O, length) {\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function () {\n // eslint-disable-next-line no-undef\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n new Uint8Array(1).set({});\n });\n\n var toOffset = function (it, BYTES) {\n var offset = toInteger(it);\n if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function (it) {\n if (isObject(it) && TYPED_ARRAY in it) return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function (C, length) {\n if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function (O, list) {\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function (C, list) {\n var index = 0;\n var length = list.length;\n var result = allocate(C, length);\n while (length > index) result[index] = list[index++];\n return result;\n };\n\n var addGetter = function (it, key, internal) {\n dP(it, key, { get: function () { return this._d[internal]; } });\n };\n\n var $from = function from(source /* , mapfn, thisArg */) {\n var O = toObject(source);\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iterFn = getIterFn(O);\n var i, length, values, result, step, iterator;\n if (iterFn != undefined && !isArrayIter(iterFn)) {\n for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n values.push(step.value);\n } O = values;\n }\n if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = allocate(this, length);\n while (length > index) result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /* , end */) {\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /* , thisArg */) {\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /* , thisArg */) {\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /* , thisArg */) {\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /* , thisArg */) {\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /* , thisArg */) {\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /* , fromIndex */) {\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /* , fromIndex */) {\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator) { // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /* , thisArg */) {\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse() {\n var that = this;\n var length = validate(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /* , thisArg */) {\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn) {\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end) {\n var O = validate(this);\n var length = O.length;\n var $begin = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end) {\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /* , offset */) {\n validate(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError(WRONG_LENGTH);\n while (index < len) this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries() {\n return arrayEntries.call(validate(this));\n },\n keys: function keys() {\n return arrayKeys.call(validate(this));\n },\n values: function values() {\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function (target, key) {\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key) {\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc) {\n if (isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ) {\n target[key] = desc.value;\n return target;\n } return dP(target, key, desc);\n };\n\n if (!ALL_CONSTRUCTORS) {\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if (fails(function () { arrayToString.call({}); })) {\n arrayToString = arrayToLocaleString = function toString() {\n return arrayJoin.call(this);\n };\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function () { /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function () { return this[TYPED_ARRAY]; }\n });\n\n // eslint-disable-next-line max-statements\n module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + KEY;\n var SETTER = 'set' + KEY;\n var TypedArray = global[NAME];\n var Base = TypedArray || {};\n var TAC = TypedArray && getPrototypeOf(TypedArray);\n var FORCED = !TypedArray || !$typed.ABV;\n var O = {};\n var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function (that, index) {\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function (that, index, value) {\n var data = that._d;\n if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function (that, index) {\n dP(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (FORCED) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0;\n var offset = 0;\n var buffer, byteLength, length, klass;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (TYPED_ARRAY in data) {\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if (!fails(function () {\n TypedArray(1);\n }) || !fails(function () {\n new TypedArray(-1); // eslint-disable-line no-new\n }) || !$iterDetect(function (iter) {\n new TypedArray(); // eslint-disable-line no-new\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(1.5); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if (!isObject(data)) return new Base(toIndex(data));\n if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR];\n var CORRECT_ITER_NAME = !!$nativeIterator\n && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n var $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n dP(TypedArrayPrototype, TAG, {\n get: function () { return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES\n });\n\n $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n from: $from,\n of: $of\n });\n\n if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n $export($export.P + $export.F * fails(function () {\n new TypedArray(1).slice();\n }), NAME, { slice: $slice });\n\n $export($export.P + $export.F * (fails(function () {\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n }) || !fails(function () {\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, { toLocaleString: $toLocaleString });\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\nvar global = require('./_global');\nvar DESCRIPTORS = require('./_descriptors');\nvar LIBRARY = require('./_library');\nvar $typed = require('./_typed');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar fails = require('./_fails');\nvar anInstance = require('./_an-instance');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar toIndex = require('./_to-index');\nvar gOPN = require('./_object-gopn').f;\nvar dP = require('./_object-dp').f;\nvar arrayFill = require('./_array-fill');\nvar setToStringTag = require('./_set-to-string-tag');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n var buffer = new Array(nBytes);\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var i = 0;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n var e, m, c;\n value = abs(value);\n // eslint-disable-next-line no-self-compare\n if (value != value || value === Infinity) {\n // eslint-disable-next-line no-self-compare\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if (value * (c = pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = eLen - 7;\n var i = nBytes - 1;\n var s = buffer[i--];\n var e = s & 127;\n var m;\n s >>= 7;\n for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n return [it & 0xff];\n}\nfunction packI16(it) {\n return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = conversion(+value);\n for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n var byteLength = toIndex(length);\n this._b = arrayFill.call(new Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH];\n var offset = toInteger(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if (!fails(function () {\n $ArrayBuffer(1);\n }) || !fails(function () {\n new $ArrayBuffer(-1); // eslint-disable-line no-new\n }) || fails(function () {\n new $ArrayBuffer(); // eslint-disable-line no-new\n new $ArrayBuffer(1.5); // eslint-disable-line no-new\n new $ArrayBuffer(NaN); // eslint-disable-line no-new\n return $ArrayBuffer.name != ARRAY_BUFFER;\n })) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer);\n return new BaseBuffer(toIndex(length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n }\n if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar uid = require('./_uid');\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n if (Typed = global[TypedArrayConstructors[i++]]) {\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","require('./_set-species')('Array');\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar $typed = require('./_typed');\nvar buffer = require('./_typed-buffer');\nvar anObject = require('./_an-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar isObject = require('./_is-object');\nvar ArrayBuffer = require('./_global').ArrayBuffer;\nvar speciesConstructor = require('./_species-constructor');\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it) {\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function () {\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end) {\n if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, len);\n var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n var viewS = new $DataView(this);\n var viewT = new $DataView(result);\n var index = 0;\n while (first < fin) {\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n","require('./_typed-array')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar weak = require('./_collection-weak');\nvar validate = require('./_validate-collection');\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\nrequire('./_collection')(WEAK_SET, function (get) {\n return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return weak.def(validate(this, WEAK_SET), value, true);\n }\n}, weak, false, true);\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = require('./_export');\nvar flattenIntoArray = require('./_flatten-into-array');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar aFunction = require('./_a-function');\nvar arraySpeciesCreate = require('./_array-species-create');\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\nrequire('./_add-to-unscopables')('flatMap');\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function ($trim) {\n return function trimLeft() {\n return $trim(this, 1);\n };\n}, 'trimStart');\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function ($trim) {\n return function trimRight() {\n return $trim(this, 2);\n };\n}, 'trimEnd');\n","require('./_wks-define')('asyncIterator');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var $export = require('./_export');\nvar $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global');\nvar $export = require('./_export');\nvar userAgent = require('./_user-agent');\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n return function (fn, time /* , ...args */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : false;\n return set(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n } : fn, time);\n };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n","require('../modules/web.timers');\nrequire('../modules/web.immediate');\nrequire('../modules/web.dom.iterable');\nmodule.exports = require('../modules/_core');\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","/*!\n * depd\n * Copyright(c) 2014-2018 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\n\nvar relative = require('path').relative\n\n/**\n * Module exports.\n */\n\nmodule.exports = depd\n\n/**\n * Get the path to base files on.\n */\n\nvar basePath = process.cwd()\n\n/**\n * Determine if namespace is contained in the string.\n */\n\nfunction containsNamespace (str, namespace) {\n var vals = str.split(/[ ,]+/)\n var ns = String(namespace).toLowerCase()\n\n for (var i = 0; i < vals.length; i++) {\n var val = vals[i]\n\n // namespace contained\n if (val && (val === '*' || val.toLowerCase() === ns)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Convert a data descriptor to accessor descriptor.\n */\n\nfunction convertDataDescriptorToAccessor (obj, prop, message) {\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n var value = descriptor.value\n\n descriptor.get = function getter () { return value }\n\n if (descriptor.writable) {\n descriptor.set = function setter (val) { return (value = val) }\n }\n\n delete descriptor.value\n delete descriptor.writable\n\n Object.defineProperty(obj, prop, descriptor)\n\n return descriptor\n}\n\n/**\n * Create arguments string to keep arity.\n */\n\nfunction createArgumentsString (arity) {\n var str = ''\n\n for (var i = 0; i < arity; i++) {\n str += ', arg' + i\n }\n\n return str.substr(2)\n}\n\n/**\n * Create stack string from stack.\n */\n\nfunction createStackString (stack) {\n var str = this.name + ': ' + this.namespace\n\n if (this.message) {\n str += ' deprecated ' + this.message\n }\n\n for (var i = 0; i < stack.length; i++) {\n str += '\\n at ' + stack[i].toString()\n }\n\n return str\n}\n\n/**\n * Create deprecate for namespace in caller.\n */\n\nfunction depd (namespace) {\n if (!namespace) {\n throw new TypeError('argument namespace is required')\n }\n\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n var file = site[0]\n\n function deprecate (message) {\n // call to self as log\n log.call(deprecate, message)\n }\n\n deprecate._file = file\n deprecate._ignored = isignored(namespace)\n deprecate._namespace = namespace\n deprecate._traced = istraced(namespace)\n deprecate._warned = Object.create(null)\n\n deprecate.function = wrapfunction\n deprecate.property = wrapproperty\n\n return deprecate\n}\n\n/**\n * Determine if event emitter has listeners of a given type.\n *\n * The way to do this check is done three different ways in Node.js >= 0.8\n * so this consolidates them into a minimal set using instance methods.\n *\n * @param {EventEmitter} emitter\n * @param {string} type\n * @returns {boolean}\n * @private\n */\n\nfunction eehaslisteners (emitter, type) {\n var count = typeof emitter.listenerCount !== 'function'\n ? emitter.listeners(type).length\n : emitter.listenerCount(type)\n\n return count > 0\n}\n\n/**\n * Determine if namespace is ignored.\n */\n\nfunction isignored (namespace) {\n if (process.noDeprecation) {\n // --no-deprecation support\n return true\n }\n\n var str = process.env.NO_DEPRECATION || ''\n\n // namespace ignored\n return containsNamespace(str, namespace)\n}\n\n/**\n * Determine if namespace is traced.\n */\n\nfunction istraced (namespace) {\n if (process.traceDeprecation) {\n // --trace-deprecation support\n return true\n }\n\n var str = process.env.TRACE_DEPRECATION || ''\n\n // namespace traced\n return containsNamespace(str, namespace)\n}\n\n/**\n * Display deprecation message.\n */\n\nfunction log (message, site) {\n var haslisteners = eehaslisteners(process, 'deprecation')\n\n // abort early if no destination\n if (!haslisteners && this._ignored) {\n return\n }\n\n var caller\n var callFile\n var callSite\n var depSite\n var i = 0\n var seen = false\n var stack = getStack()\n var file = this._file\n\n if (site) {\n // provided site\n depSite = site\n callSite = callSiteLocation(stack[1])\n callSite.name = depSite.name\n file = callSite[0]\n } else {\n // get call site\n i = 2\n depSite = callSiteLocation(stack[i])\n callSite = depSite\n }\n\n // get caller of deprecated thing in relation to file\n for (; i < stack.length; i++) {\n caller = callSiteLocation(stack[i])\n callFile = caller[0]\n\n if (callFile === file) {\n seen = true\n } else if (callFile === this._file) {\n file = this._file\n } else if (seen) {\n break\n }\n }\n\n var key = caller\n ? depSite.join(':') + '__' + caller.join(':')\n : undefined\n\n if (key !== undefined && key in this._warned) {\n // already warned\n return\n }\n\n this._warned[key] = true\n\n // generate automatic message from call site\n var msg = message\n if (!msg) {\n msg = callSite === depSite || !callSite.name\n ? defaultMessage(depSite)\n : defaultMessage(callSite)\n }\n\n // emit deprecation if listeners exist\n if (haslisteners) {\n var err = DeprecationError(this._namespace, msg, stack.slice(i))\n process.emit('deprecation', err)\n return\n }\n\n // format and write message\n var format = process.stderr.isTTY\n ? formatColor\n : formatPlain\n var output = format.call(this, msg, caller, stack.slice(i))\n process.stderr.write(output + '\\n', 'utf8')\n}\n\n/**\n * Get call site location as array.\n */\n\nfunction callSiteLocation (callSite) {\n var file = callSite.getFileName() || ''\n var line = callSite.getLineNumber()\n var colm = callSite.getColumnNumber()\n\n if (callSite.isEval()) {\n file = callSite.getEvalOrigin() + ', ' + file\n }\n\n var site = [file, line, colm]\n\n site.callSite = callSite\n site.name = callSite.getFunctionName()\n\n return site\n}\n\n/**\n * Generate a default message from the site.\n */\n\nfunction defaultMessage (site) {\n var callSite = site.callSite\n var funcName = site.name\n\n // make useful anonymous name\n if (!funcName) {\n funcName = ''\n }\n\n var context = callSite.getThis()\n var typeName = context && callSite.getTypeName()\n\n // ignore useless type name\n if (typeName === 'Object') {\n typeName = undefined\n }\n\n // make useful type name\n if (typeName === 'Function') {\n typeName = context.name || typeName\n }\n\n return typeName && callSite.getMethodName()\n ? typeName + '.' + funcName\n : funcName\n}\n\n/**\n * Format deprecation message without color.\n */\n\nfunction formatPlain (msg, caller, stack) {\n var timestamp = new Date().toUTCString()\n\n var formatted = timestamp +\n ' ' + this._namespace +\n ' deprecated ' + msg\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n at ' + stack[i].toString()\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' at ' + formatLocation(caller)\n }\n\n return formatted\n}\n\n/**\n * Format deprecation message with color.\n */\n\nfunction formatColor (msg, caller, stack) {\n var formatted = '\\x1b[36;1m' + this._namespace + '\\x1b[22;39m' + // bold cyan\n ' \\x1b[33;1mdeprecated\\x1b[22;39m' + // bold yellow\n ' \\x1b[0m' + msg + '\\x1b[39m' // reset\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n \\x1b[36mat ' + stack[i].toString() + '\\x1b[39m' // cyan\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' \\x1b[36m' + formatLocation(caller) + '\\x1b[39m' // cyan\n }\n\n return formatted\n}\n\n/**\n * Format call site location.\n */\n\nfunction formatLocation (callSite) {\n return relative(basePath, callSite[0]) +\n ':' + callSite[1] +\n ':' + callSite[2]\n}\n\n/**\n * Get the stack as array of call sites.\n */\n\nfunction getStack () {\n var limit = Error.stackTraceLimit\n var obj = {}\n var prep = Error.prepareStackTrace\n\n Error.prepareStackTrace = prepareObjectStackTrace\n Error.stackTraceLimit = Math.max(10, limit)\n\n // capture the stack\n Error.captureStackTrace(obj)\n\n // slice this function off the top\n var stack = obj.stack.slice(1)\n\n Error.prepareStackTrace = prep\n Error.stackTraceLimit = limit\n\n return stack\n}\n\n/**\n * Capture call site stack from v8.\n */\n\nfunction prepareObjectStackTrace (obj, stack) {\n return stack\n}\n\n/**\n * Return a wrapped function in a deprecation message.\n */\n\nfunction wrapfunction (fn, message) {\n if (typeof fn !== 'function') {\n throw new TypeError('argument fn must be a function')\n }\n\n var args = createArgumentsString(fn.length)\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n site.name = fn.name\n\n // eslint-disable-next-line no-new-func\n var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site',\n '\"use strict\"\\n' +\n 'return function (' + args + ') {' +\n 'log.call(deprecate, message, site)\\n' +\n 'return fn.apply(this, arguments)\\n' +\n '}')(fn, log, this, message, site)\n\n return deprecatedfn\n}\n\n/**\n * Wrap property in a deprecation message.\n */\n\nfunction wrapproperty (obj, prop, message) {\n if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n throw new TypeError('argument obj must be object')\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n\n if (!descriptor) {\n throw new TypeError('must call property on owner object')\n }\n\n if (!descriptor.configurable) {\n throw new TypeError('property must be configurable')\n }\n\n var deprecate = this\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n // set site name\n site.name = prop\n\n // convert data descriptor\n if ('value' in descriptor) {\n descriptor = convertDataDescriptorToAccessor(obj, prop, message)\n }\n\n var get = descriptor.get\n var set = descriptor.set\n\n // wrap getter\n if (typeof get === 'function') {\n descriptor.get = function getter () {\n log.call(deprecate, message, site)\n return get.apply(this, arguments)\n }\n }\n\n // wrap setter\n if (typeof set === 'function') {\n descriptor.set = function setter () {\n log.call(deprecate, message, site)\n return set.apply(this, arguments)\n }\n }\n\n Object.defineProperty(obj, prop, descriptor)\n}\n\n/**\n * Create DeprecationError for deprecation\n */\n\nfunction DeprecationError (namespace, message, stack) {\n var error = new Error()\n var stackString\n\n Object.defineProperty(error, 'constructor', {\n value: DeprecationError\n })\n\n Object.defineProperty(error, 'message', {\n configurable: true,\n enumerable: false,\n value: message,\n writable: true\n })\n\n Object.defineProperty(error, 'name', {\n enumerable: false,\n configurable: true,\n value: 'DeprecationError',\n writable: true\n })\n\n Object.defineProperty(error, 'namespace', {\n configurable: true,\n enumerable: false,\n value: namespace,\n writable: true\n })\n\n Object.defineProperty(error, 'stack', {\n configurable: true,\n enumerable: false,\n get: function () {\n if (stackString !== undefined) {\n return stackString\n }\n\n // prepare stack trace\n return (stackString = createStackString.call(this, stack))\n },\n set: function setter (val) {\n stackString = val\n }\n })\n\n return error\n}\n","/*!\n * destroy\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar EventEmitter = require('events').EventEmitter\nvar ReadStream = require('fs').ReadStream\nvar Stream = require('stream')\nvar Zlib = require('zlib')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = destroy\n\n/**\n * Destroy the given stream, and optionally suppress any future `error` events.\n *\n * @param {object} stream\n * @param {boolean} suppress\n * @public\n */\n\nfunction destroy (stream, suppress) {\n if (isFsReadStream(stream)) {\n destroyReadStream(stream)\n } else if (isZlibStream(stream)) {\n destroyZlibStream(stream)\n } else if (hasDestroy(stream)) {\n stream.destroy()\n }\n\n if (isEventEmitter(stream) && suppress) {\n stream.removeAllListeners('error')\n stream.addListener('error', noop)\n }\n\n return stream\n}\n\n/**\n * Destroy a ReadStream.\n *\n * @param {object} stream\n * @private\n */\n\nfunction destroyReadStream (stream) {\n stream.destroy()\n\n if (typeof stream.close === 'function') {\n // node.js core bug work-around\n stream.on('open', onOpenClose)\n }\n}\n\n/**\n * Close a Zlib stream.\n *\n * Zlib streams below Node.js 4.5.5 have a buggy implementation\n * of .close() when zlib encountered an error.\n *\n * @param {object} stream\n * @private\n */\n\nfunction closeZlibStream (stream) {\n if (stream._hadError === true) {\n var prop = stream._binding === null\n ? '_binding'\n : '_handle'\n\n stream[prop] = {\n close: function () { this[prop] = null }\n }\n }\n\n stream.close()\n}\n\n/**\n * Destroy a Zlib stream.\n *\n * Zlib streams don't have a destroy function in Node.js 6. On top of that\n * simply calling destroy on a zlib stream in Node.js 8+ will result in a\n * memory leak. So until that is fixed, we need to call both close AND destroy.\n *\n * PR to fix memory leak: https://github.com/nodejs/node/pull/23734\n *\n * In Node.js 6+8, it's important that destroy is called before close as the\n * stream would otherwise emit the error 'zlib binding closed'.\n *\n * @param {object} stream\n * @private\n */\n\nfunction destroyZlibStream (stream) {\n if (typeof stream.destroy === 'function') {\n // node.js core bug work-around\n // istanbul ignore if: node.js 0.8\n if (stream._binding) {\n // node.js < 0.10.0\n stream.destroy()\n if (stream._processing) {\n stream._needDrain = true\n stream.once('drain', onDrainClearBinding)\n } else {\n stream._binding.clear()\n }\n } else if (stream._destroy && stream._destroy !== Stream.Transform.prototype._destroy) {\n // node.js >= 12, ^11.1.0, ^10.15.1\n stream.destroy()\n } else if (stream._destroy && typeof stream.close === 'function') {\n // node.js 7, 8\n stream.destroyed = true\n stream.close()\n } else {\n // fallback\n // istanbul ignore next\n stream.destroy()\n }\n } else if (typeof stream.close === 'function') {\n // node.js < 8 fallback\n closeZlibStream(stream)\n }\n}\n\n/**\n * Determine if stream has destroy.\n * @private\n */\n\nfunction hasDestroy (stream) {\n return stream instanceof Stream &&\n typeof stream.destroy === 'function'\n}\n\n/**\n * Determine if val is EventEmitter.\n * @private\n */\n\nfunction isEventEmitter (val) {\n return val instanceof EventEmitter\n}\n\n/**\n * Determine if stream is fs.ReadStream stream.\n * @private\n */\n\nfunction isFsReadStream (stream) {\n return stream instanceof ReadStream\n}\n\n/**\n * Determine if stream is Zlib stream.\n * @private\n */\n\nfunction isZlibStream (stream) {\n return stream instanceof Zlib.Gzip ||\n stream instanceof Zlib.Gunzip ||\n stream instanceof Zlib.Deflate ||\n stream instanceof Zlib.DeflateRaw ||\n stream instanceof Zlib.Inflate ||\n stream instanceof Zlib.InflateRaw ||\n stream instanceof Zlib.Unzip\n}\n\n/**\n * No-op function.\n * @private\n */\n\nfunction noop () {}\n\n/**\n * On drain handler to clear binding.\n * @private\n */\n\n// istanbul ignore next: node.js 0.8\nfunction onDrainClearBinding () {\n this._binding.clear()\n}\n\n/**\n * On open handler to close stream.\n * @private\n */\n\nfunction onOpenClose () {\n if (typeof this.fd === 'number') {\n // actually close down the fd\n this.close()\n }\n}\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","const fs = require('fs')\nconst path = require('path')\nconst os = require('os')\nconst packageJson = require('../package.json')\n\nconst version = packageJson.version\n\nconst LINE = /(?:^|^)\\s*(?:export\\s+)?([\\w.-]+)(?:\\s*=\\s*?|:\\s+?)(\\s*'(?:\\\\'|[^'])*'|\\s*\"(?:\\\\\"|[^\"])*\"|\\s*`(?:\\\\`|[^`])*`|[^#\\r\\n]+)?\\s*(?:#.*)?(?:$|$)/mg\n\n// Parser src into an Object\nfunction parse (src) {\n const obj = {}\n\n // Convert buffer to string\n let lines = src.toString()\n\n // Convert line breaks to same format\n lines = lines.replace(/\\r\\n?/mg, '\\n')\n\n let match\n while ((match = LINE.exec(lines)) != null) {\n const key = match[1]\n\n // Default undefined or null to empty string\n let value = (match[2] || '')\n\n // Remove whitespace\n value = value.trim()\n\n // Check if double quoted\n const maybeQuote = value[0]\n\n // Remove surrounding quotes\n value = value.replace(/^(['\"`])([\\s\\S]*)\\1$/mg, '$2')\n\n // Expand newlines if double quoted\n if (maybeQuote === '\"') {\n value = value.replace(/\\\\n/g, '\\n')\n value = value.replace(/\\\\r/g, '\\r')\n }\n\n // Add to object\n obj[key] = value\n }\n\n return obj\n}\n\nfunction _log (message) {\n console.log(`[dotenv@${version}][DEBUG] ${message}`)\n}\n\nfunction _resolveHome (envPath) {\n return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath\n}\n\n// Populates process.env from .env file\nfunction config (options) {\n let dotenvPath = path.resolve(process.cwd(), '.env')\n let encoding = 'utf8'\n const debug = Boolean(options && options.debug)\n const override = Boolean(options && options.override)\n\n if (options) {\n if (options.path != null) {\n dotenvPath = _resolveHome(options.path)\n }\n if (options.encoding != null) {\n encoding = options.encoding\n }\n }\n\n try {\n // Specifying an encoding returns a string instead of a buffer\n const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding }))\n\n Object.keys(parsed).forEach(function (key) {\n if (!Object.prototype.hasOwnProperty.call(process.env, key)) {\n process.env[key] = parsed[key]\n } else {\n if (override === true) {\n process.env[key] = parsed[key]\n }\n\n if (debug) {\n if (override === true) {\n _log(`\"${key}\" is already defined in \\`process.env\\` and WAS overwritten`)\n } else {\n _log(`\"${key}\" is already defined in \\`process.env\\` and was NOT overwritten`)\n }\n }\n }\n })\n\n return { parsed }\n } catch (e) {\n if (debug) {\n _log(`Failed to load ${dotenvPath} ${e.message}`)\n }\n\n return { error: e }\n }\n}\n\nconst DotenvModule = {\n config,\n parse\n}\n\nmodule.exports.config = DotenvModule.config\nmodule.exports.parse = DotenvModule.parse\nmodule.exports = DotenvModule\n","/*!\n * ee-first\n * Copyright(c) 2014 Jonathan Ong\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = first\n\n/**\n * Get the first event in a set of event emitters and event pairs.\n *\n * @param {array} stuff\n * @param {function} done\n * @public\n */\n\nfunction first(stuff, done) {\n if (!Array.isArray(stuff))\n throw new TypeError('arg must be an array of [ee, events...] arrays')\n\n var cleanups = []\n\n for (var i = 0; i < stuff.length; i++) {\n var arr = stuff[i]\n\n if (!Array.isArray(arr) || arr.length < 2)\n throw new TypeError('each array member must be [ee, events...]')\n\n var ee = arr[0]\n\n for (var j = 1; j < arr.length; j++) {\n var event = arr[j]\n var fn = listener(event, callback)\n\n // listen to the event\n ee.on(event, fn)\n // push this listener to the list of cleanups\n cleanups.push({\n ee: ee,\n event: event,\n fn: fn,\n })\n }\n }\n\n function callback() {\n cleanup()\n done.apply(null, arguments)\n }\n\n function cleanup() {\n var x\n for (var i = 0; i < cleanups.length; i++) {\n x = cleanups[i]\n x.ee.removeListener(x.event, x.fn)\n }\n }\n\n function thunk(fn) {\n done = fn\n }\n\n thunk.cancel = cleanup\n\n return thunk\n}\n\n/**\n * Create the event listener.\n * @private\n */\n\nfunction listener(event, done) {\n return function onevent(arg1) {\n var args = new Array(arguments.length)\n var ee = this\n var err = event === 'error'\n ? arg1\n : null\n\n // copy args to prevent arguments escaping scope\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n done(err, ee, event, args)\n }\n}\n","/*!\n * encodeurl\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = encodeUrl\n\n/**\n * RegExp to match non-URL code points, *after* encoding (i.e. not including \"%\")\n * and including invalid escape sequences.\n * @private\n */\n\nvar ENCODE_CHARS_REGEXP = /(?:[^\\x21\\x25\\x26-\\x3B\\x3D\\x3F-\\x5B\\x5D\\x5F\\x61-\\x7A\\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g\n\n/**\n * RegExp to match unmatched surrogate pair.\n * @private\n */\n\nvar UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\\uD800-\\uDBFF])[\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF]([^\\uDC00-\\uDFFF]|$)/g\n\n/**\n * String to replace unmatched surrogate pair with.\n * @private\n */\n\nvar UNMATCHED_SURROGATE_PAIR_REPLACE = '$1\\uFFFD$2'\n\n/**\n * Encode a URL to a percent-encoded form, excluding already-encoded sequences.\n *\n * This function will take an already-encoded URL and encode all the non-URL\n * code points. This function will not encode the \"%\" character unless it is\n * not part of a valid sequence (`%20` will be left as-is, but `%foo` will\n * be encoded as `%25foo`).\n *\n * This encode is meant to be \"safe\" and does not throw errors. It will try as\n * hard as it can to properly encode the given URL, including replacing any raw,\n * unpaired surrogate pairs with the Unicode replacement character prior to\n * encoding.\n *\n * @param {string} url\n * @return {string}\n * @public\n */\n\nfunction encodeUrl (url) {\n return String(url)\n .replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE)\n .replace(ENCODE_CHARS_REGEXP, encodeURI)\n}\n","/*!\n * escape-html\n * Copyright(c) 2012-2013 TJ Holowaychuk\n * Copyright(c) 2015 Andreas Lubbe\n * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = escapeHtml;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34: // \"\n escape = '"';\n break;\n case 38: // &\n escape = '&';\n break;\n case 39: // '\n escape = ''';\n break;\n case 60: // <\n escape = '<';\n break;\n case 62: // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index\n ? html + str.substring(lastIndex, index)\n : html;\n}\n","/*!\n * etag\n * Copyright(c) 2014-2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = etag\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar crypto = require('crypto')\nvar Stats = require('fs').Stats\n\n/**\n * Module variables.\n * @private\n */\n\nvar toString = Object.prototype.toString\n\n/**\n * Generate an entity tag.\n *\n * @param {Buffer|string} entity\n * @return {string}\n * @private\n */\n\nfunction entitytag (entity) {\n if (entity.length === 0) {\n // fast-path empty\n return '\"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk\"'\n }\n\n // compute hash of entity\n var hash = crypto\n .createHash('sha1')\n .update(entity, 'utf8')\n .digest('base64')\n .substring(0, 27)\n\n // compute length of entity\n var len = typeof entity === 'string'\n ? Buffer.byteLength(entity, 'utf8')\n : entity.length\n\n return '\"' + len.toString(16) + '-' + hash + '\"'\n}\n\n/**\n * Create a simple ETag.\n *\n * @param {string|Buffer|Stats} entity\n * @param {object} [options]\n * @param {boolean} [options.weak]\n * @return {String}\n * @public\n */\n\nfunction etag (entity, options) {\n if (entity == null) {\n throw new TypeError('argument entity is required')\n }\n\n // support fs.Stats object\n var isStats = isstats(entity)\n var weak = options && typeof options.weak === 'boolean'\n ? options.weak\n : isStats\n\n // validate argument\n if (!isStats && typeof entity !== 'string' && !Buffer.isBuffer(entity)) {\n throw new TypeError('argument entity must be string, Buffer, or fs.Stats')\n }\n\n // generate entity tag\n var tag = isStats\n ? stattag(entity)\n : entitytag(entity)\n\n return weak\n ? 'W/' + tag\n : tag\n}\n\n/**\n * Determine if object is a Stats object.\n *\n * @param {object} obj\n * @return {boolean}\n * @api private\n */\n\nfunction isstats (obj) {\n // genuine fs.Stats\n if (typeof Stats === 'function' && obj instanceof Stats) {\n return true\n }\n\n // quack quack\n return obj && typeof obj === 'object' &&\n 'ctime' in obj && toString.call(obj.ctime) === '[object Date]' &&\n 'mtime' in obj && toString.call(obj.mtime) === '[object Date]' &&\n 'ino' in obj && typeof obj.ino === 'number' &&\n 'size' in obj && typeof obj.size === 'number'\n}\n\n/**\n * Generate a tag for a stat.\n *\n * @param {object} stat\n * @return {string}\n * @private\n */\n\nfunction stattag (stat) {\n var mtime = stat.mtime.getTime().toString(16)\n var size = stat.size.toString(16)\n\n return '\"' + size + '-' + mtime + '\"'\n}\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar cookie = require('cookie');\nvar crypto = require('crypto')\nvar debug = require('debug')('express-session');\nvar deprecate = require('depd')('express-session');\nvar onHeaders = require('on-headers')\nvar parseUrl = require('parseurl');\nvar signature = require('cookie-signature')\nvar uid = require('uid-safe').sync\n\nvar Cookie = require('./session/cookie')\nvar MemoryStore = require('./session/memory')\nvar Session = require('./session/session')\nvar Store = require('./session/store')\n\n// environment\n\nvar env = process.env.NODE_ENV;\n\n/**\n * Expose the middleware.\n */\n\nexports = module.exports = session;\n\n/**\n * Expose constructors.\n */\n\nexports.Store = Store;\nexports.Cookie = Cookie;\nexports.Session = Session;\nexports.MemoryStore = MemoryStore;\n\n/**\n * Warning message for `MemoryStore` usage in production.\n * @private\n */\n\nvar warning = 'Warning: connect.session() MemoryStore is not\\n'\n + 'designed for a production environment, as it will leak\\n'\n + 'memory, and will not scale past a single process.';\n\n/**\n * Node.js 0.8+ async implementation.\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Setup session store with the given `options`.\n *\n * @param {Object} [options]\n * @param {Object} [options.cookie] Options for cookie\n * @param {Function} [options.genid]\n * @param {String} [options.name=connect.sid] Session ID cookie name\n * @param {Boolean} [options.proxy]\n * @param {Boolean} [options.resave] Resave unmodified sessions back to the store\n * @param {Boolean} [options.rolling] Enable/disable rolling session expiration\n * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store\n * @param {String|Array} [options.secret] Secret for signing session ID\n * @param {Object} [options.store=MemoryStore] Session store\n * @param {String} [options.unset]\n * @return {Function} middleware\n * @public\n */\n\nfunction session(options) {\n var opts = options || {}\n\n // get the cookie options\n var cookieOptions = opts.cookie || {}\n\n // get the session id generate function\n var generateId = opts.genid || generateSessionId\n\n // get the session cookie name\n var name = opts.name || opts.key || 'connect.sid'\n\n // get the session store\n var store = opts.store || new MemoryStore()\n\n // get the trust proxy setting\n var trustProxy = opts.proxy\n\n // get the resave session option\n var resaveSession = opts.resave;\n\n // get the rolling session option\n var rollingSessions = Boolean(opts.rolling)\n\n // get the save uninitialized session option\n var saveUninitializedSession = opts.saveUninitialized\n\n // get the cookie signing secret\n var secret = opts.secret\n\n if (typeof generateId !== 'function') {\n throw new TypeError('genid option must be a function');\n }\n\n if (resaveSession === undefined) {\n deprecate('undefined resave option; provide resave option');\n resaveSession = true;\n }\n\n if (saveUninitializedSession === undefined) {\n deprecate('undefined saveUninitialized option; provide saveUninitialized option');\n saveUninitializedSession = true;\n }\n\n if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') {\n throw new TypeError('unset option must be \"destroy\" or \"keep\"');\n }\n\n // TODO: switch to \"destroy\" on next major\n var unsetDestroy = opts.unset === 'destroy'\n\n if (Array.isArray(secret) && secret.length === 0) {\n throw new TypeError('secret option array must contain one or more strings');\n }\n\n if (secret && !Array.isArray(secret)) {\n secret = [secret];\n }\n\n if (!secret) {\n deprecate('req.secret; provide secret option');\n }\n\n // notify user that this store is not\n // meant for a production environment\n /* istanbul ignore next: not tested */\n if (env === 'production' && store instanceof MemoryStore) {\n console.warn(warning);\n }\n\n // generates the new session\n store.generate = function(req){\n req.sessionID = generateId(req);\n req.session = new Session(req);\n req.session.cookie = new Cookie(cookieOptions);\n\n if (cookieOptions.secure === 'auto') {\n req.session.cookie.secure = issecure(req, trustProxy);\n }\n };\n\n var storeImplementsTouch = typeof store.touch === 'function';\n\n // register event listeners for the store to track readiness\n var storeReady = true\n store.on('disconnect', function ondisconnect() {\n storeReady = false\n })\n store.on('connect', function onconnect() {\n storeReady = true\n })\n\n return function session(req, res, next) {\n // self-awareness\n if (req.session) {\n next()\n return\n }\n\n // Handle connection as if there is no session if\n // the store has temporarily disconnected etc\n if (!storeReady) {\n debug('store is disconnected')\n next()\n return\n }\n\n // pathname mismatch\n var originalPath = parseUrl.original(req).pathname || '/'\n if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next();\n\n // ensure a secret is available or bail\n if (!secret && !req.secret) {\n next(new Error('secret option required for sessions'));\n return;\n }\n\n // backwards compatibility for signed cookies\n // req.secret is passed from the cookie parser middleware\n var secrets = secret || [req.secret];\n\n var originalHash;\n var originalId;\n var savedHash;\n var touched = false\n\n // expose store\n req.sessionStore = store;\n\n // get the session ID from the cookie\n var cookieId = req.sessionID = getcookie(req, name, secrets);\n\n // set-cookie\n onHeaders(res, function(){\n if (!req.session) {\n debug('no session');\n return;\n }\n\n if (!shouldSetCookie(req)) {\n return;\n }\n\n // only send secure cookies via https\n if (req.session.cookie.secure && !issecure(req, trustProxy)) {\n debug('not secured');\n return;\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n // set cookie\n setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data);\n });\n\n // proxy end() to commit the session\n var _end = res.end;\n var _write = res.write;\n var ended = false;\n res.end = function end(chunk, encoding) {\n if (ended) {\n return false;\n }\n\n ended = true;\n\n var ret;\n var sync = true;\n\n function writeend() {\n if (sync) {\n ret = _end.call(res, chunk, encoding);\n sync = false;\n return;\n }\n\n _end.call(res);\n }\n\n function writetop() {\n if (!sync) {\n return ret;\n }\n\n if (!res._header) {\n res._implicitHeader()\n }\n\n if (chunk == null) {\n ret = true;\n return ret;\n }\n\n var contentLength = Number(res.getHeader('Content-Length'));\n\n if (!isNaN(contentLength) && contentLength > 0) {\n // measure chunk\n chunk = !Buffer.isBuffer(chunk)\n ? Buffer.from(chunk, encoding)\n : chunk;\n encoding = undefined;\n\n if (chunk.length !== 0) {\n debug('split response');\n ret = _write.call(res, chunk.slice(0, chunk.length - 1));\n chunk = chunk.slice(chunk.length - 1, chunk.length);\n return ret;\n }\n }\n\n ret = _write.call(res, chunk, encoding);\n sync = false;\n\n return ret;\n }\n\n if (shouldDestroy(req)) {\n // destroy session\n debug('destroying');\n store.destroy(req.sessionID, function ondestroy(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('destroyed');\n writeend();\n });\n\n return writetop();\n }\n\n // no session to save\n if (!req.session) {\n debug('no session');\n return _end.call(res, chunk, encoding);\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n if (shouldSave(req)) {\n req.session.save(function onsave(err) {\n if (err) {\n defer(next, err);\n }\n\n writeend();\n });\n\n return writetop();\n } else if (storeImplementsTouch && shouldTouch(req)) {\n // store implements touch method\n debug('touching');\n store.touch(req.sessionID, req.session, function ontouch(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('touched');\n writeend();\n });\n\n return writetop();\n }\n\n return _end.call(res, chunk, encoding);\n };\n\n // generate the session\n function generate() {\n store.generate(req);\n originalId = req.sessionID;\n originalHash = hash(req.session);\n wrapmethods(req.session);\n }\n\n // inflate the session\n function inflate (req, sess) {\n store.createSession(req, sess)\n originalId = req.sessionID\n originalHash = hash(sess)\n\n if (!resaveSession) {\n savedHash = originalHash\n }\n\n wrapmethods(req.session)\n }\n\n function rewrapmethods (sess, callback) {\n return function () {\n if (req.session !== sess) {\n wrapmethods(req.session)\n }\n\n callback.apply(this, arguments)\n }\n }\n\n // wrap session methods\n function wrapmethods(sess) {\n var _reload = sess.reload\n var _save = sess.save;\n\n function reload(callback) {\n debug('reloading %s', this.id)\n _reload.call(this, rewrapmethods(this, callback))\n }\n\n function save() {\n debug('saving %s', this.id);\n savedHash = hash(this);\n _save.apply(this, arguments);\n }\n\n Object.defineProperty(sess, 'reload', {\n configurable: true,\n enumerable: false,\n value: reload,\n writable: true\n })\n\n Object.defineProperty(sess, 'save', {\n configurable: true,\n enumerable: false,\n value: save,\n writable: true\n });\n }\n\n // check if session has been modified\n function isModified(sess) {\n return originalId !== sess.id || originalHash !== hash(sess);\n }\n\n // check if session has been saved\n function isSaved(sess) {\n return originalId === sess.id && savedHash === hash(sess);\n }\n\n // determine if session should be destroyed\n function shouldDestroy(req) {\n return req.sessionID && unsetDestroy && req.session == null;\n }\n\n // determine if session should be saved to store\n function shouldSave(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID\n ? isModified(req.session)\n : !isSaved(req.session)\n }\n\n // determine if session should be touched\n function shouldTouch(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return cookieId === req.sessionID && !shouldSave(req);\n }\n\n // determine if cookie should be set on response\n function shouldSetCookie(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n return false;\n }\n\n return cookieId !== req.sessionID\n ? saveUninitializedSession || isModified(req.session)\n : rollingSessions || req.session.cookie.expires != null && isModified(req.session);\n }\n\n // generate a session if the browser doesn't send a sessionID\n if (!req.sessionID) {\n debug('no SID sent, generating session');\n generate();\n next();\n return;\n }\n\n // generate the session object\n debug('fetching %s', req.sessionID);\n store.get(req.sessionID, function(err, sess){\n // error handling\n if (err && err.code !== 'ENOENT') {\n debug('error %j', err);\n next(err)\n return\n }\n\n try {\n if (err || !sess) {\n debug('no session found')\n generate()\n } else {\n debug('session found')\n inflate(req, sess)\n }\n } catch (e) {\n next(e)\n return\n }\n\n next()\n });\n };\n};\n\n/**\n * Generate a session ID for a new session.\n *\n * @return {String}\n * @private\n */\n\nfunction generateSessionId(sess) {\n return uid(24);\n}\n\n/**\n * Get the session ID cookie from request.\n *\n * @return {string}\n * @private\n */\n\nfunction getcookie(req, name, secrets) {\n var header = req.headers.cookie;\n var raw;\n var val;\n\n // read from cookie header\n if (header) {\n var cookies = cookie.parse(header);\n\n raw = cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n // back-compat read from cookieParser() signedCookies data\n if (!val && req.signedCookies) {\n val = req.signedCookies[name];\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n }\n\n // back-compat read from cookieParser() cookies data\n if (!val && req.cookies) {\n raw = req.cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n return val;\n}\n\n/**\n * Hash the given `sess` object omitting changes to `.cookie`.\n *\n * @param {Object} sess\n * @return {String}\n * @private\n */\n\nfunction hash(sess) {\n // serialize\n var str = JSON.stringify(sess, function (key, val) {\n // ignore sess.cookie property\n if (this === sess && key === 'cookie') {\n return\n }\n\n return val\n })\n\n // hash\n return crypto\n .createHash('sha1')\n .update(str, 'utf8')\n .digest('hex')\n}\n\n/**\n * Determine if request is secure.\n *\n * @param {Object} req\n * @param {Boolean} [trustProxy]\n * @return {Boolean}\n * @private\n */\n\nfunction issecure(req, trustProxy) {\n // socket is https server\n if (req.connection && req.connection.encrypted) {\n return true;\n }\n\n // do not trust proxy\n if (trustProxy === false) {\n return false;\n }\n\n // no explicit trust; try req.secure from express\n if (trustProxy !== true) {\n return req.secure === true\n }\n\n // read the proto from x-forwarded-proto header\n var header = req.headers['x-forwarded-proto'] || '';\n var index = header.indexOf(',');\n var proto = index !== -1\n ? header.substr(0, index).toLowerCase().trim()\n : header.toLowerCase().trim()\n\n return proto === 'https';\n}\n\n/**\n * Set cookie on response.\n *\n * @private\n */\n\nfunction setcookie(res, name, val, secret, options) {\n var signed = 's:' + signature.sign(val, secret);\n var data = cookie.serialize(name, signed, options);\n\n debug('set-cookie %s', data);\n\n var prev = res.getHeader('Set-Cookie') || []\n var header = Array.isArray(prev) ? prev.concat(data) : [prev, data];\n\n res.setHeader('Set-Cookie', header)\n}\n\n/**\n * Verify and decode the given `val` with `secrets`.\n *\n * @param {String} val\n * @param {Array} secrets\n * @returns {String|Boolean}\n * @private\n */\nfunction unsigncookie(val, secrets) {\n for (var i = 0; i < secrets.length; i++) {\n var result = signature.unsign(val, secrets[i]);\n\n if (result !== false) {\n return result;\n }\n }\n\n return false;\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/*!\n * Connect - session - Cookie\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar cookie = require('cookie')\nvar deprecate = require('depd')('express-session')\n\n/**\n * Initialize a new `Cookie` with the given `options`.\n *\n * @param {IncomingMessage} req\n * @param {Object} options\n * @api private\n */\n\nvar Cookie = module.exports = function Cookie(options) {\n this.path = '/';\n this.maxAge = null;\n this.httpOnly = true;\n\n if (options) {\n if (typeof options !== 'object') {\n throw new TypeError('argument options must be a object')\n }\n\n for (var key in options) {\n if (key !== 'data') {\n this[key] = options[key]\n }\n }\n }\n\n if (this.originalMaxAge === undefined || this.originalMaxAge === null) {\n this.originalMaxAge = this.maxAge\n }\n};\n\n/*!\n * Prototype.\n */\n\nCookie.prototype = {\n\n /**\n * Set expires `date`.\n *\n * @param {Date} date\n * @api public\n */\n\n set expires(date) {\n this._expires = date;\n this.originalMaxAge = this.maxAge;\n },\n\n /**\n * Get expires `date`.\n *\n * @return {Date}\n * @api public\n */\n\n get expires() {\n return this._expires;\n },\n\n /**\n * Set expires via max-age in `ms`.\n *\n * @param {Number} ms\n * @api public\n */\n\n set maxAge(ms) {\n if (ms && typeof ms !== 'number' && !(ms instanceof Date)) {\n throw new TypeError('maxAge must be a number or Date')\n }\n\n if (ms instanceof Date) {\n deprecate('maxAge as Date; pass number of milliseconds instead')\n }\n\n this.expires = typeof ms === 'number'\n ? new Date(Date.now() + ms)\n : ms;\n },\n\n /**\n * Get expires max-age in `ms`.\n *\n * @return {Number}\n * @api public\n */\n\n get maxAge() {\n return this.expires instanceof Date\n ? this.expires.valueOf() - Date.now()\n : this.expires;\n },\n\n /**\n * Return cookie data object.\n *\n * @return {Object}\n * @api private\n */\n\n get data() {\n return {\n originalMaxAge: this.originalMaxAge\n , expires: this._expires\n , secure: this.secure\n , httpOnly: this.httpOnly\n , domain: this.domain\n , path: this.path\n , sameSite: this.sameSite\n }\n },\n\n /**\n * Return a serialized cookie string.\n *\n * @return {String}\n * @api public\n */\n\n serialize: function(name, val){\n return cookie.serialize(name, val, this.data);\n },\n\n /**\n * Return JSON representation of this cookie.\n *\n * @return {Object}\n * @api private\n */\n\n toJSON: function(){\n return this.data;\n }\n};\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Store = require('./store')\nvar util = require('util')\n\n/**\n * Shim setImmediate for node.js < 0.10\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Module exports.\n */\n\nmodule.exports = MemoryStore\n\n/**\n * A session store in memory.\n * @public\n */\n\nfunction MemoryStore() {\n Store.call(this)\n this.sessions = Object.create(null)\n}\n\n/**\n * Inherit from Store.\n */\n\nutil.inherits(MemoryStore, Store)\n\n/**\n * Get all active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.all = function all(callback) {\n var sessionIds = Object.keys(this.sessions)\n var sessions = Object.create(null)\n\n for (var i = 0; i < sessionIds.length; i++) {\n var sessionId = sessionIds[i]\n var session = getSession.call(this, sessionId)\n\n if (session) {\n sessions[sessionId] = session;\n }\n }\n\n callback && defer(callback, null, sessions)\n}\n\n/**\n * Clear all sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.clear = function clear(callback) {\n this.sessions = Object.create(null)\n callback && defer(callback)\n}\n\n/**\n * Destroy the session associated with the given session ID.\n *\n * @param {string} sessionId\n * @public\n */\n\nMemoryStore.prototype.destroy = function destroy(sessionId, callback) {\n delete this.sessions[sessionId]\n callback && defer(callback)\n}\n\n/**\n * Fetch session by the given session ID.\n *\n * @param {string} sessionId\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.get = function get(sessionId, callback) {\n defer(callback, null, getSession.call(this, sessionId))\n}\n\n/**\n * Commit the given session associated with the given sessionId to the store.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.set = function set(sessionId, session, callback) {\n this.sessions[sessionId] = JSON.stringify(session)\n callback && defer(callback)\n}\n\n/**\n * Get number of active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.length = function length(callback) {\n this.all(function (err, sessions) {\n if (err) return callback(err)\n callback(null, Object.keys(sessions).length)\n })\n}\n\n/**\n * Touch the given session object associated with the given session ID.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.touch = function touch(sessionId, session, callback) {\n var currentSession = getSession.call(this, sessionId)\n\n if (currentSession) {\n // update expiration\n currentSession.cookie = session.cookie\n this.sessions[sessionId] = JSON.stringify(currentSession)\n }\n\n callback && defer(callback)\n}\n\n/**\n * Get session from the store.\n * @private\n */\n\nfunction getSession(sessionId) {\n var sess = this.sessions[sessionId]\n\n if (!sess) {\n return\n }\n\n // parse\n sess = JSON.parse(sess)\n\n if (sess.cookie) {\n var expires = typeof sess.cookie.expires === 'string'\n ? new Date(sess.cookie.expires)\n : sess.cookie.expires\n\n // destroy expired session\n if (expires && expires <= Date.now()) {\n delete this.sessions[sessionId]\n return\n }\n }\n\n return sess\n}\n","/*!\n * Connect - session - Session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Expose Session.\n */\n\nmodule.exports = Session;\n\n/**\n * Create a new `Session` with the given request and `data`.\n *\n * @param {IncomingRequest} req\n * @param {Object} data\n * @api private\n */\n\nfunction Session(req, data) {\n Object.defineProperty(this, 'req', { value: req });\n Object.defineProperty(this, 'id', { value: req.sessionID });\n\n if (typeof data === 'object' && data !== null) {\n // merge data into this, ignoring prototype properties\n for (var prop in data) {\n if (!(prop in this)) {\n this[prop] = data[prop]\n }\n }\n }\n}\n\n/**\n * Update reset `.cookie.maxAge` to prevent\n * the cookie from expiring when the\n * session is still active.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'touch', function touch() {\n return this.resetMaxAge();\n});\n\n/**\n * Reset `.maxAge` to `.originalMaxAge`.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() {\n this.cookie.maxAge = this.cookie.originalMaxAge;\n return this;\n});\n\n/**\n * Save the session data with optional callback `fn(err)`.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'save', function save(fn) {\n this.req.sessionStore.set(this.id, this, fn || function(){});\n return this;\n});\n\n/**\n * Re-loads the session data _without_ altering\n * the maxAge properties. Invokes the callback `fn(err)`,\n * after which time if no exception has occurred the\n * `req.session` property will be a new `Session` object,\n * although representing the same session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'reload', function reload(fn) {\n var req = this.req\n var store = this.req.sessionStore\n\n store.get(this.id, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn(new Error('failed to load session'));\n store.createSession(req, sess);\n fn();\n });\n return this;\n});\n\n/**\n * Destroy `this` session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'destroy', function destroy(fn) {\n delete this.req.session;\n this.req.sessionStore.destroy(this.id, fn);\n return this;\n});\n\n/**\n * Regenerate this request's session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'regenerate', function regenerate(fn) {\n this.req.sessionStore.regenerate(this.req, fn);\n return this;\n});\n\n/**\n * Helper function for creating a method on a prototype.\n *\n * @param {Object} obj\n * @param {String} name\n * @param {Function} fn\n * @private\n */\nfunction defineMethod(obj, name, fn) {\n Object.defineProperty(obj, name, {\n configurable: true,\n enumerable: false,\n value: fn,\n writable: true\n });\n};\n","/*!\n * Connect - session - Store\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Cookie = require('./cookie')\nvar EventEmitter = require('events').EventEmitter\nvar Session = require('./session')\nvar util = require('util')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Store\n\n/**\n * Abstract base class for session stores.\n * @public\n */\n\nfunction Store () {\n EventEmitter.call(this)\n}\n\n/**\n * Inherit from EventEmitter.\n */\n\nutil.inherits(Store, EventEmitter)\n\n/**\n * Re-generate the given requests's session.\n *\n * @param {IncomingRequest} req\n * @return {Function} fn\n * @api public\n */\n\nStore.prototype.regenerate = function(req, fn){\n var self = this;\n this.destroy(req.sessionID, function(err){\n self.generate(req);\n fn(err);\n });\n};\n\n/**\n * Load a `Session` instance via the given `sid`\n * and invoke the callback `fn(err, sess)`.\n *\n * @param {String} sid\n * @param {Function} fn\n * @api public\n */\n\nStore.prototype.load = function(sid, fn){\n var self = this;\n this.get(sid, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn();\n var req = { sessionID: sid, sessionStore: self };\n fn(null, self.createSession(req, sess))\n });\n};\n\n/**\n * Create session from JSON `sess` data.\n *\n * @param {IncomingRequest} req\n * @param {Object} sess\n * @return {Session}\n * @api private\n */\n\nStore.prototype.createSession = function(req, sess){\n var expires = sess.cookie.expires\n var originalMaxAge = sess.cookie.originalMaxAge\n\n sess.cookie = new Cookie(sess.cookie);\n\n if (typeof expires === 'string') {\n // convert expires to a Date object\n sess.cookie.expires = new Date(expires)\n }\n\n // keep originalMaxAge intact\n sess.cookie.originalMaxAge = originalMaxAge\n\n req.session = new Session(req, sess);\n return req.session;\n};\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\nmodule.exports = require('./lib/express');\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar finalhandler = require('finalhandler');\nvar Router = require('./router');\nvar methods = require('methods');\nvar middleware = require('./middleware/init');\nvar query = require('./middleware/query');\nvar debug = require('debug')('express:application');\nvar View = require('./view');\nvar http = require('http');\nvar compileETag = require('./utils').compileETag;\nvar compileQueryParser = require('./utils').compileQueryParser;\nvar compileTrust = require('./utils').compileTrust;\nvar deprecate = require('depd')('express');\nvar flatten = require('array-flatten');\nvar merge = require('utils-merge');\nvar resolve = require('path').resolve;\nvar setPrototypeOf = require('setprototypeof')\n\n/**\n * Module variables.\n * @private\n */\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty\nvar slice = Array.prototype.slice;\n\n/**\n * Application prototype.\n */\n\nvar app = exports = module.exports = {};\n\n/**\n * Variable for trust proxy inheritance back-compat\n * @private\n */\n\nvar trustProxyDefaultSymbol = '@@symbol:trust_proxy_default';\n\n/**\n * Initialize the server.\n *\n * - setup default configuration\n * - setup default middleware\n * - setup route reflection methods\n *\n * @private\n */\n\napp.init = function init() {\n this.cache = {};\n this.engines = {};\n this.settings = {};\n\n this.defaultConfiguration();\n};\n\n/**\n * Initialize application configuration.\n * @private\n */\n\napp.defaultConfiguration = function defaultConfiguration() {\n var env = process.env.NODE_ENV || 'development';\n\n // default settings\n this.enable('x-powered-by');\n this.set('etag', 'weak');\n this.set('env', env);\n this.set('query parser', 'extended');\n this.set('subdomain offset', 2);\n this.set('trust proxy', false);\n\n // trust proxy inherit back-compat\n Object.defineProperty(this.settings, trustProxyDefaultSymbol, {\n configurable: true,\n value: true\n });\n\n debug('booting in %s mode', env);\n\n this.on('mount', function onmount(parent) {\n // inherit trust proxy\n if (this.settings[trustProxyDefaultSymbol] === true\n && typeof parent.settings['trust proxy fn'] === 'function') {\n delete this.settings['trust proxy'];\n delete this.settings['trust proxy fn'];\n }\n\n // inherit protos\n setPrototypeOf(this.request, parent.request)\n setPrototypeOf(this.response, parent.response)\n setPrototypeOf(this.engines, parent.engines)\n setPrototypeOf(this.settings, parent.settings)\n });\n\n // setup locals\n this.locals = Object.create(null);\n\n // top-most app is mounted at /\n this.mountpath = '/';\n\n // default locals\n this.locals.settings = this.settings;\n\n // default configuration\n this.set('view', View);\n this.set('views', resolve('views'));\n this.set('jsonp callback name', 'callback');\n\n if (env === 'production') {\n this.enable('view cache');\n }\n\n Object.defineProperty(this, 'router', {\n get: function() {\n throw new Error('\\'app.router\\' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.');\n }\n });\n};\n\n/**\n * lazily adds the base router if it has not yet been added.\n *\n * We cannot add the base router in the defaultConfiguration because\n * it reads app settings which might be set after that has run.\n *\n * @private\n */\napp.lazyrouter = function lazyrouter() {\n if (!this._router) {\n this._router = new Router({\n caseSensitive: this.enabled('case sensitive routing'),\n strict: this.enabled('strict routing')\n });\n\n this._router.use(query(this.get('query parser fn')));\n this._router.use(middleware.init(this));\n }\n};\n\n/**\n * Dispatch a req, res pair into the application. Starts pipeline processing.\n *\n * If no callback is provided, then default error handlers will respond\n * in the event of an error bubbling through the stack.\n *\n * @private\n */\n\napp.handle = function handle(req, res, callback) {\n var router = this._router;\n\n // final handler\n var done = callback || finalhandler(req, res, {\n env: this.get('env'),\n onerror: logerror.bind(this)\n });\n\n // no routes\n if (!router) {\n debug('no routes defined on app');\n done();\n return;\n }\n\n router.handle(req, res, done);\n};\n\n/**\n * Proxy `Router#use()` to add middleware to the app router.\n * See Router#use() documentation for details.\n *\n * If the _fn_ parameter is an express app, then it will be\n * mounted at the _route_ specified.\n *\n * @public\n */\n\napp.use = function use(fn) {\n var offset = 0;\n var path = '/';\n\n // default path to '/'\n // disambiguate app.use([fn])\n if (typeof fn !== 'function') {\n var arg = fn;\n\n while (Array.isArray(arg) && arg.length !== 0) {\n arg = arg[0];\n }\n\n // first arg is the path\n if (typeof arg !== 'function') {\n offset = 1;\n path = fn;\n }\n }\n\n var fns = flatten(slice.call(arguments, offset));\n\n if (fns.length === 0) {\n throw new TypeError('app.use() requires a middleware function')\n }\n\n // setup router\n this.lazyrouter();\n var router = this._router;\n\n fns.forEach(function (fn) {\n // non-express app\n if (!fn || !fn.handle || !fn.set) {\n return router.use(path, fn);\n }\n\n debug('.use app under %s', path);\n fn.mountpath = path;\n fn.parent = this;\n\n // restore .app property on req and res\n router.use(path, function mounted_app(req, res, next) {\n var orig = req.app;\n fn.handle(req, res, function (err) {\n setPrototypeOf(req, orig.request)\n setPrototypeOf(res, orig.response)\n next(err);\n });\n });\n\n // mounted an app\n fn.emit('mount', this);\n }, this);\n\n return this;\n};\n\n/**\n * Proxy to the app `Router#route()`\n * Returns a new `Route` instance for the _path_.\n *\n * Routes are isolated middleware stacks for specific paths.\n * See the Route api docs for details.\n *\n * @public\n */\n\napp.route = function route(path) {\n this.lazyrouter();\n return this._router.route(path);\n};\n\n/**\n * Register the given template engine callback `fn`\n * as `ext`.\n *\n * By default will `require()` the engine based on the\n * file extension. For example if you try to render\n * a \"foo.ejs\" file Express will invoke the following internally:\n *\n * app.engine('ejs', require('ejs').__express);\n *\n * For engines that do not provide `.__express` out of the box,\n * or if you wish to \"map\" a different extension to the template engine\n * you may use this method. For example mapping the EJS template engine to\n * \".html\" files:\n *\n * app.engine('html', require('ejs').renderFile);\n *\n * In this case EJS provides a `.renderFile()` method with\n * the same signature that Express expects: `(path, options, callback)`,\n * though note that it aliases this method as `ejs.__express` internally\n * so if you're using \".ejs\" extensions you don't need to do anything.\n *\n * Some template engines do not follow this convention, the\n * [Consolidate.js](https://github.com/tj/consolidate.js)\n * library was created to map all of node's popular template\n * engines to follow this convention, thus allowing them to\n * work seamlessly within Express.\n *\n * @param {String} ext\n * @param {Function} fn\n * @return {app} for chaining\n * @public\n */\n\napp.engine = function engine(ext, fn) {\n if (typeof fn !== 'function') {\n throw new Error('callback function required');\n }\n\n // get file extension\n var extension = ext[0] !== '.'\n ? '.' + ext\n : ext;\n\n // store engine\n this.engines[extension] = fn;\n\n return this;\n};\n\n/**\n * Proxy to `Router#param()` with one added api feature. The _name_ parameter\n * can be an array of names.\n *\n * See the Router#param() docs for more details.\n *\n * @param {String|Array} name\n * @param {Function} fn\n * @return {app} for chaining\n * @public\n */\n\napp.param = function param(name, fn) {\n this.lazyrouter();\n\n if (Array.isArray(name)) {\n for (var i = 0; i < name.length; i++) {\n this.param(name[i], fn);\n }\n\n return this;\n }\n\n this._router.param(name, fn);\n\n return this;\n};\n\n/**\n * Assign `setting` to `val`, or return `setting`'s value.\n *\n * app.set('foo', 'bar');\n * app.set('foo');\n * // => \"bar\"\n *\n * Mounted servers inherit their parent server's settings.\n *\n * @param {String} setting\n * @param {*} [val]\n * @return {Server} for chaining\n * @public\n */\n\napp.set = function set(setting, val) {\n if (arguments.length === 1) {\n // app.get(setting)\n var settings = this.settings\n\n while (settings && settings !== Object.prototype) {\n if (hasOwnProperty.call(settings, setting)) {\n return settings[setting]\n }\n\n settings = Object.getPrototypeOf(settings)\n }\n\n return undefined\n }\n\n debug('set \"%s\" to %o', setting, val);\n\n // set value\n this.settings[setting] = val;\n\n // trigger matched settings\n switch (setting) {\n case 'etag':\n this.set('etag fn', compileETag(val));\n break;\n case 'query parser':\n this.set('query parser fn', compileQueryParser(val));\n break;\n case 'trust proxy':\n this.set('trust proxy fn', compileTrust(val));\n\n // trust proxy inherit back-compat\n Object.defineProperty(this.settings, trustProxyDefaultSymbol, {\n configurable: true,\n value: false\n });\n\n break;\n }\n\n return this;\n};\n\n/**\n * Return the app's absolute pathname\n * based on the parent(s) that have\n * mounted it.\n *\n * For example if the application was\n * mounted as \"/admin\", which itself\n * was mounted as \"/blog\" then the\n * return value would be \"/blog/admin\".\n *\n * @return {String}\n * @private\n */\n\napp.path = function path() {\n return this.parent\n ? this.parent.path() + this.mountpath\n : '';\n};\n\n/**\n * Check if `setting` is enabled (truthy).\n *\n * app.enabled('foo')\n * // => false\n *\n * app.enable('foo')\n * app.enabled('foo')\n * // => true\n *\n * @param {String} setting\n * @return {Boolean}\n * @public\n */\n\napp.enabled = function enabled(setting) {\n return Boolean(this.set(setting));\n};\n\n/**\n * Check if `setting` is disabled.\n *\n * app.disabled('foo')\n * // => true\n *\n * app.enable('foo')\n * app.disabled('foo')\n * // => false\n *\n * @param {String} setting\n * @return {Boolean}\n * @public\n */\n\napp.disabled = function disabled(setting) {\n return !this.set(setting);\n};\n\n/**\n * Enable `setting`.\n *\n * @param {String} setting\n * @return {app} for chaining\n * @public\n */\n\napp.enable = function enable(setting) {\n return this.set(setting, true);\n};\n\n/**\n * Disable `setting`.\n *\n * @param {String} setting\n * @return {app} for chaining\n * @public\n */\n\napp.disable = function disable(setting) {\n return this.set(setting, false);\n};\n\n/**\n * Delegate `.VERB(...)` calls to `router.VERB(...)`.\n */\n\nmethods.forEach(function(method){\n app[method] = function(path){\n if (method === 'get' && arguments.length === 1) {\n // app.get(setting)\n return this.set(path);\n }\n\n this.lazyrouter();\n\n var route = this._router.route(path);\n route[method].apply(route, slice.call(arguments, 1));\n return this;\n };\n});\n\n/**\n * Special-cased \"all\" method, applying the given route `path`,\n * middleware, and callback to _every_ HTTP method.\n *\n * @param {String} path\n * @param {Function} ...\n * @return {app} for chaining\n * @public\n */\n\napp.all = function all(path) {\n this.lazyrouter();\n\n var route = this._router.route(path);\n var args = slice.call(arguments, 1);\n\n for (var i = 0; i < methods.length; i++) {\n route[methods[i]].apply(route, args);\n }\n\n return this;\n};\n\n// del -> delete alias\n\napp.del = deprecate.function(app.delete, 'app.del: Use app.delete instead');\n\n/**\n * Render the given view `name` name with `options`\n * and a callback accepting an error and the\n * rendered template string.\n *\n * Example:\n *\n * app.render('email', { name: 'Tobi' }, function(err, html){\n * // ...\n * })\n *\n * @param {String} name\n * @param {Object|Function} options or fn\n * @param {Function} callback\n * @public\n */\n\napp.render = function render(name, options, callback) {\n var cache = this.cache;\n var done = callback;\n var engines = this.engines;\n var opts = options;\n var renderOptions = {};\n var view;\n\n // support callback function as second arg\n if (typeof options === 'function') {\n done = options;\n opts = {};\n }\n\n // merge app.locals\n merge(renderOptions, this.locals);\n\n // merge options._locals\n if (opts._locals) {\n merge(renderOptions, opts._locals);\n }\n\n // merge options\n merge(renderOptions, opts);\n\n // set .cache unless explicitly provided\n if (renderOptions.cache == null) {\n renderOptions.cache = this.enabled('view cache');\n }\n\n // primed cache\n if (renderOptions.cache) {\n view = cache[name];\n }\n\n // view\n if (!view) {\n var View = this.get('view');\n\n view = new View(name, {\n defaultEngine: this.get('view engine'),\n root: this.get('views'),\n engines: engines\n });\n\n if (!view.path) {\n var dirs = Array.isArray(view.root) && view.root.length > 1\n ? 'directories \"' + view.root.slice(0, -1).join('\", \"') + '\" or \"' + view.root[view.root.length - 1] + '\"'\n : 'directory \"' + view.root + '\"'\n var err = new Error('Failed to lookup view \"' + name + '\" in views ' + dirs);\n err.view = view;\n return done(err);\n }\n\n // prime the cache\n if (renderOptions.cache) {\n cache[name] = view;\n }\n }\n\n // render\n tryRender(view, renderOptions, done);\n};\n\n/**\n * Listen for connections.\n *\n * A node `http.Server` is returned, with this\n * application (which is a `Function`) as its\n * callback. If you wish to create both an HTTP\n * and HTTPS server you may do so with the \"http\"\n * and \"https\" modules as shown here:\n *\n * var http = require('http')\n * , https = require('https')\n * , express = require('express')\n * , app = express();\n *\n * http.createServer(app).listen(80);\n * https.createServer({ ... }, app).listen(443);\n *\n * @return {http.Server}\n * @public\n */\n\napp.listen = function listen() {\n var server = http.createServer(this);\n return server.listen.apply(server, arguments);\n};\n\n/**\n * Log error using console.error.\n *\n * @param {Error} err\n * @private\n */\n\nfunction logerror(err) {\n /* istanbul ignore next */\n if (this.get('env') !== 'test') console.error(err.stack || err.toString());\n}\n\n/**\n * Try rendering a view.\n * @private\n */\n\nfunction tryRender(view, options, callback) {\n try {\n view.render(options, callback);\n } catch (err) {\n callback(err);\n }\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar bodyParser = require('body-parser')\nvar EventEmitter = require('events').EventEmitter;\nvar mixin = require('merge-descriptors');\nvar proto = require('./application');\nvar Route = require('./router/route');\nvar Router = require('./router');\nvar req = require('./request');\nvar res = require('./response');\n\n/**\n * Expose `createApplication()`.\n */\n\nexports = module.exports = createApplication;\n\n/**\n * Create an express application.\n *\n * @return {Function}\n * @api public\n */\n\nfunction createApplication() {\n var app = function(req, res, next) {\n app.handle(req, res, next);\n };\n\n mixin(app, EventEmitter.prototype, false);\n mixin(app, proto, false);\n\n // expose the prototype that will get set on requests\n app.request = Object.create(req, {\n app: { configurable: true, enumerable: true, writable: true, value: app }\n })\n\n // expose the prototype that will get set on responses\n app.response = Object.create(res, {\n app: { configurable: true, enumerable: true, writable: true, value: app }\n })\n\n app.init();\n return app;\n}\n\n/**\n * Expose the prototypes.\n */\n\nexports.application = proto;\nexports.request = req;\nexports.response = res;\n\n/**\n * Expose constructors.\n */\n\nexports.Route = Route;\nexports.Router = Router;\n\n/**\n * Expose middleware\n */\n\nexports.json = bodyParser.json\nexports.query = require('./middleware/query');\nexports.raw = bodyParser.raw\nexports.static = require('serve-static');\nexports.text = bodyParser.text\nexports.urlencoded = bodyParser.urlencoded\n\n/**\n * Replace removed middleware with an appropriate error message.\n */\n\nvar removedMiddlewares = [\n 'bodyParser',\n 'compress',\n 'cookieSession',\n 'session',\n 'logger',\n 'cookieParser',\n 'favicon',\n 'responseTime',\n 'errorHandler',\n 'timeout',\n 'methodOverride',\n 'vhost',\n 'csrf',\n 'directory',\n 'limit',\n 'multipart',\n 'staticCache'\n]\n\nremovedMiddlewares.forEach(function (name) {\n Object.defineProperty(exports, name, {\n get: function () {\n throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.');\n },\n configurable: true\n });\n});\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar setPrototypeOf = require('setprototypeof')\n\n/**\n * Initialization middleware, exposing the\n * request and response to each other, as well\n * as defaulting the X-Powered-By header field.\n *\n * @param {Function} app\n * @return {Function}\n * @api private\n */\n\nexports.init = function(app){\n return function expressInit(req, res, next){\n if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express');\n req.res = res;\n res.req = req;\n req.next = next;\n\n setPrototypeOf(req, app.request)\n setPrototypeOf(res, app.response)\n\n res.locals = res.locals || Object.create(null);\n\n next();\n };\n};\n\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar merge = require('utils-merge')\nvar parseUrl = require('parseurl');\nvar qs = require('qs');\n\n/**\n * @param {Object} options\n * @return {Function}\n * @api public\n */\n\nmodule.exports = function query(options) {\n var opts = merge({}, options)\n var queryparse = qs.parse;\n\n if (typeof options === 'function') {\n queryparse = options;\n opts = undefined;\n }\n\n if (opts !== undefined && opts.allowPrototypes === undefined) {\n // back-compat for qs module\n opts.allowPrototypes = true;\n }\n\n return function query(req, res, next){\n if (!req.query) {\n var val = parseUrl(req).query;\n req.query = queryparse(val, opts);\n }\n\n next();\n };\n};\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar accepts = require('accepts');\nvar deprecate = require('depd')('express');\nvar isIP = require('net').isIP;\nvar typeis = require('type-is');\nvar http = require('http');\nvar fresh = require('fresh');\nvar parseRange = require('range-parser');\nvar parse = require('parseurl');\nvar proxyaddr = require('proxy-addr');\n\n/**\n * Request prototype.\n * @public\n */\n\nvar req = Object.create(http.IncomingMessage.prototype)\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = req\n\n/**\n * Return request header.\n *\n * The `Referrer` header field is special-cased,\n * both `Referrer` and `Referer` are interchangeable.\n *\n * Examples:\n *\n * req.get('Content-Type');\n * // => \"text/plain\"\n *\n * req.get('content-type');\n * // => \"text/plain\"\n *\n * req.get('Something');\n * // => undefined\n *\n * Aliased as `req.header()`.\n *\n * @param {String} name\n * @return {String}\n * @public\n */\n\nreq.get =\nreq.header = function header(name) {\n if (!name) {\n throw new TypeError('name argument is required to req.get');\n }\n\n if (typeof name !== 'string') {\n throw new TypeError('name must be a string to req.get');\n }\n\n var lc = name.toLowerCase();\n\n switch (lc) {\n case 'referer':\n case 'referrer':\n return this.headers.referrer\n || this.headers.referer;\n default:\n return this.headers[lc];\n }\n};\n\n/**\n * To do: update docs.\n *\n * Check if the given `type(s)` is acceptable, returning\n * the best match when true, otherwise `undefined`, in which\n * case you should respond with 406 \"Not Acceptable\".\n *\n * The `type` value may be a single MIME type string\n * such as \"application/json\", an extension name\n * such as \"json\", a comma-delimited list such as \"json, html, text/plain\",\n * an argument list such as `\"json\", \"html\", \"text/plain\"`,\n * or an array `[\"json\", \"html\", \"text/plain\"]`. When a list\n * or array is given, the _best_ match, if any is returned.\n *\n * Examples:\n *\n * // Accept: text/html\n * req.accepts('html');\n * // => \"html\"\n *\n * // Accept: text/*, application/json\n * req.accepts('html');\n * // => \"html\"\n * req.accepts('text/html');\n * // => \"text/html\"\n * req.accepts('json, text');\n * // => \"json\"\n * req.accepts('application/json');\n * // => \"application/json\"\n *\n * // Accept: text/*, application/json\n * req.accepts('image/png');\n * req.accepts('png');\n * // => undefined\n *\n * // Accept: text/*;q=.5, application/json\n * req.accepts(['html', 'json']);\n * req.accepts('html', 'json');\n * req.accepts('html, json');\n * // => \"json\"\n *\n * @param {String|Array} type(s)\n * @return {String|Array|Boolean}\n * @public\n */\n\nreq.accepts = function(){\n var accept = accepts(this);\n return accept.types.apply(accept, arguments);\n};\n\n/**\n * Check if the given `encoding`s are accepted.\n *\n * @param {String} ...encoding\n * @return {String|Array}\n * @public\n */\n\nreq.acceptsEncodings = function(){\n var accept = accepts(this);\n return accept.encodings.apply(accept, arguments);\n};\n\nreq.acceptsEncoding = deprecate.function(req.acceptsEncodings,\n 'req.acceptsEncoding: Use acceptsEncodings instead');\n\n/**\n * Check if the given `charset`s are acceptable,\n * otherwise you should respond with 406 \"Not Acceptable\".\n *\n * @param {String} ...charset\n * @return {String|Array}\n * @public\n */\n\nreq.acceptsCharsets = function(){\n var accept = accepts(this);\n return accept.charsets.apply(accept, arguments);\n};\n\nreq.acceptsCharset = deprecate.function(req.acceptsCharsets,\n 'req.acceptsCharset: Use acceptsCharsets instead');\n\n/**\n * Check if the given `lang`s are acceptable,\n * otherwise you should respond with 406 \"Not Acceptable\".\n *\n * @param {String} ...lang\n * @return {String|Array}\n * @public\n */\n\nreq.acceptsLanguages = function(){\n var accept = accepts(this);\n return accept.languages.apply(accept, arguments);\n};\n\nreq.acceptsLanguage = deprecate.function(req.acceptsLanguages,\n 'req.acceptsLanguage: Use acceptsLanguages instead');\n\n/**\n * Parse Range header field, capping to the given `size`.\n *\n * Unspecified ranges such as \"0-\" require knowledge of your resource length. In\n * the case of a byte range this is of course the total number of bytes. If the\n * Range header field is not given `undefined` is returned, `-1` when unsatisfiable,\n * and `-2` when syntactically invalid.\n *\n * When ranges are returned, the array has a \"type\" property which is the type of\n * range that is required (most commonly, \"bytes\"). Each array element is an object\n * with a \"start\" and \"end\" property for the portion of the range.\n *\n * The \"combine\" option can be set to `true` and overlapping & adjacent ranges\n * will be combined into a single range.\n *\n * NOTE: remember that ranges are inclusive, so for example \"Range: users=0-3\"\n * should respond with 4 users when available, not 3.\n *\n * @param {number} size\n * @param {object} [options]\n * @param {boolean} [options.combine=false]\n * @return {number|array}\n * @public\n */\n\nreq.range = function range(size, options) {\n var range = this.get('Range');\n if (!range) return;\n return parseRange(size, range, options);\n};\n\n/**\n * Return the value of param `name` when present or `defaultValue`.\n *\n * - Checks route placeholders, ex: _/user/:id_\n * - Checks body params, ex: id=12, {\"id\":12}\n * - Checks query string params, ex: ?id=12\n *\n * To utilize request bodies, `req.body`\n * should be an object. This can be done by using\n * the `bodyParser()` middleware.\n *\n * @param {String} name\n * @param {Mixed} [defaultValue]\n * @return {String}\n * @public\n */\n\nreq.param = function param(name, defaultValue) {\n var params = this.params || {};\n var body = this.body || {};\n var query = this.query || {};\n\n var args = arguments.length === 1\n ? 'name'\n : 'name, default';\n deprecate('req.param(' + args + '): Use req.params, req.body, or req.query instead');\n\n if (null != params[name] && params.hasOwnProperty(name)) return params[name];\n if (null != body[name]) return body[name];\n if (null != query[name]) return query[name];\n\n return defaultValue;\n};\n\n/**\n * Check if the incoming request contains the \"Content-Type\"\n * header field, and it contains the given mime `type`.\n *\n * Examples:\n *\n * // With Content-Type: text/html; charset=utf-8\n * req.is('html');\n * req.is('text/html');\n * req.is('text/*');\n * // => true\n *\n * // When Content-Type is application/json\n * req.is('json');\n * req.is('application/json');\n * req.is('application/*');\n * // => true\n *\n * req.is('html');\n * // => false\n *\n * @param {String|Array} types...\n * @return {String|false|null}\n * @public\n */\n\nreq.is = function is(types) {\n var arr = types;\n\n // support flattened arguments\n if (!Array.isArray(types)) {\n arr = new Array(arguments.length);\n for (var i = 0; i < arr.length; i++) {\n arr[i] = arguments[i];\n }\n }\n\n return typeis(this, arr);\n};\n\n/**\n * Return the protocol string \"http\" or \"https\"\n * when requested with TLS. When the \"trust proxy\"\n * setting trusts the socket address, the\n * \"X-Forwarded-Proto\" header field will be trusted\n * and used if present.\n *\n * If you're running behind a reverse proxy that\n * supplies https for you this may be enabled.\n *\n * @return {String}\n * @public\n */\n\ndefineGetter(req, 'protocol', function protocol(){\n var proto = this.connection.encrypted\n ? 'https'\n : 'http';\n var trust = this.app.get('trust proxy fn');\n\n if (!trust(this.connection.remoteAddress, 0)) {\n return proto;\n }\n\n // Note: X-Forwarded-Proto is normally only ever a\n // single value, but this is to be safe.\n var header = this.get('X-Forwarded-Proto') || proto\n var index = header.indexOf(',')\n\n return index !== -1\n ? header.substring(0, index).trim()\n : header.trim()\n});\n\n/**\n * Short-hand for:\n *\n * req.protocol === 'https'\n *\n * @return {Boolean}\n * @public\n */\n\ndefineGetter(req, 'secure', function secure(){\n return this.protocol === 'https';\n});\n\n/**\n * Return the remote address from the trusted proxy.\n *\n * The is the remote address on the socket unless\n * \"trust proxy\" is set.\n *\n * @return {String}\n * @public\n */\n\ndefineGetter(req, 'ip', function ip(){\n var trust = this.app.get('trust proxy fn');\n return proxyaddr(this, trust);\n});\n\n/**\n * When \"trust proxy\" is set, trusted proxy addresses + client.\n *\n * For example if the value were \"client, proxy1, proxy2\"\n * you would receive the array `[\"client\", \"proxy1\", \"proxy2\"]`\n * where \"proxy2\" is the furthest down-stream and \"proxy1\" and\n * \"proxy2\" were trusted.\n *\n * @return {Array}\n * @public\n */\n\ndefineGetter(req, 'ips', function ips() {\n var trust = this.app.get('trust proxy fn');\n var addrs = proxyaddr.all(this, trust);\n\n // reverse the order (to farthest -> closest)\n // and remove socket address\n addrs.reverse().pop()\n\n return addrs\n});\n\n/**\n * Return subdomains as an array.\n *\n * Subdomains are the dot-separated parts of the host before the main domain of\n * the app. By default, the domain of the app is assumed to be the last two\n * parts of the host. This can be changed by setting \"subdomain offset\".\n *\n * For example, if the domain is \"tobi.ferrets.example.com\":\n * If \"subdomain offset\" is not set, req.subdomains is `[\"ferrets\", \"tobi\"]`.\n * If \"subdomain offset\" is 3, req.subdomains is `[\"tobi\"]`.\n *\n * @return {Array}\n * @public\n */\n\ndefineGetter(req, 'subdomains', function subdomains() {\n var hostname = this.hostname;\n\n if (!hostname) return [];\n\n var offset = this.app.get('subdomain offset');\n var subdomains = !isIP(hostname)\n ? hostname.split('.').reverse()\n : [hostname];\n\n return subdomains.slice(offset);\n});\n\n/**\n * Short-hand for `url.parse(req.url).pathname`.\n *\n * @return {String}\n * @public\n */\n\ndefineGetter(req, 'path', function path() {\n return parse(this).pathname;\n});\n\n/**\n * Parse the \"Host\" header field to a hostname.\n *\n * When the \"trust proxy\" setting trusts the socket\n * address, the \"X-Forwarded-Host\" header field will\n * be trusted.\n *\n * @return {String}\n * @public\n */\n\ndefineGetter(req, 'hostname', function hostname(){\n var trust = this.app.get('trust proxy fn');\n var host = this.get('X-Forwarded-Host');\n\n if (!host || !trust(this.connection.remoteAddress, 0)) {\n host = this.get('Host');\n } else if (host.indexOf(',') !== -1) {\n // Note: X-Forwarded-Host is normally only ever a\n // single value, but this is to be safe.\n host = host.substring(0, host.indexOf(',')).trimRight()\n }\n\n if (!host) return;\n\n // IPv6 literal support\n var offset = host[0] === '['\n ? host.indexOf(']') + 1\n : 0;\n var index = host.indexOf(':', offset);\n\n return index !== -1\n ? host.substring(0, index)\n : host;\n});\n\n// TODO: change req.host to return host in next major\n\ndefineGetter(req, 'host', deprecate.function(function host(){\n return this.hostname;\n}, 'req.host: Use req.hostname instead'));\n\n/**\n * Check if the request is fresh, aka\n * Last-Modified and/or the ETag\n * still match.\n *\n * @return {Boolean}\n * @public\n */\n\ndefineGetter(req, 'fresh', function(){\n var method = this.method;\n var res = this.res\n var status = res.statusCode\n\n // GET or HEAD for weak freshness validation only\n if ('GET' !== method && 'HEAD' !== method) return false;\n\n // 2xx or 304 as per rfc2616 14.26\n if ((status >= 200 && status < 300) || 304 === status) {\n return fresh(this.headers, {\n 'etag': res.get('ETag'),\n 'last-modified': res.get('Last-Modified')\n })\n }\n\n return false;\n});\n\n/**\n * Check if the request is stale, aka\n * \"Last-Modified\" and / or the \"ETag\" for the\n * resource has changed.\n *\n * @return {Boolean}\n * @public\n */\n\ndefineGetter(req, 'stale', function stale(){\n return !this.fresh;\n});\n\n/**\n * Check if the request was an _XMLHttpRequest_.\n *\n * @return {Boolean}\n * @public\n */\n\ndefineGetter(req, 'xhr', function xhr(){\n var val = this.get('X-Requested-With') || '';\n return val.toLowerCase() === 'xmlhttprequest';\n});\n\n/**\n * Helper function for creating a getter on an object.\n *\n * @param {Object} obj\n * @param {String} name\n * @param {Function} getter\n * @private\n */\nfunction defineGetter(obj, name, getter) {\n Object.defineProperty(obj, name, {\n configurable: true,\n enumerable: true,\n get: getter\n });\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar contentDisposition = require('content-disposition');\nvar createError = require('http-errors')\nvar deprecate = require('depd')('express');\nvar encodeUrl = require('encodeurl');\nvar escapeHtml = require('escape-html');\nvar http = require('http');\nvar isAbsolute = require('./utils').isAbsolute;\nvar onFinished = require('on-finished');\nvar path = require('path');\nvar statuses = require('statuses')\nvar merge = require('utils-merge');\nvar sign = require('cookie-signature').sign;\nvar normalizeType = require('./utils').normalizeType;\nvar normalizeTypes = require('./utils').normalizeTypes;\nvar setCharset = require('./utils').setCharset;\nvar cookie = require('cookie');\nvar send = require('send');\nvar extname = path.extname;\nvar mime = send.mime;\nvar resolve = path.resolve;\nvar vary = require('vary');\n\n/**\n * Response prototype.\n * @public\n */\n\nvar res = Object.create(http.ServerResponse.prototype)\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = res\n\n/**\n * Module variables.\n * @private\n */\n\nvar charsetRegExp = /;\\s*charset\\s*=/;\n\n/**\n * Set status `code`.\n *\n * @param {Number} code\n * @return {ServerResponse}\n * @public\n */\n\nres.status = function status(code) {\n if ((typeof code === 'string' || Math.floor(code) !== code) && code > 99 && code < 1000) {\n deprecate('res.status(' + JSON.stringify(code) + '): use res.status(' + Math.floor(code) + ') instead')\n }\n this.statusCode = code;\n return this;\n};\n\n/**\n * Set Link header field with the given `links`.\n *\n * Examples:\n *\n * res.links({\n * next: 'http://api.example.com/users?page=2',\n * last: 'http://api.example.com/users?page=5'\n * });\n *\n * @param {Object} links\n * @return {ServerResponse}\n * @public\n */\n\nres.links = function(links){\n var link = this.get('Link') || '';\n if (link) link += ', ';\n return this.set('Link', link + Object.keys(links).map(function(rel){\n return '<' + links[rel] + '>; rel=\"' + rel + '\"';\n }).join(', '));\n};\n\n/**\n * Send a response.\n *\n * Examples:\n *\n * res.send(Buffer.from('wahoo'));\n * res.send({ some: 'json' });\n * res.send('

some html

');\n *\n * @param {string|number|boolean|object|Buffer} body\n * @public\n */\n\nres.send = function send(body) {\n var chunk = body;\n var encoding;\n var req = this.req;\n var type;\n\n // settings\n var app = this.app;\n\n // allow status / body\n if (arguments.length === 2) {\n // res.send(body, status) backwards compat\n if (typeof arguments[0] !== 'number' && typeof arguments[1] === 'number') {\n deprecate('res.send(body, status): Use res.status(status).send(body) instead');\n this.statusCode = arguments[1];\n } else {\n deprecate('res.send(status, body): Use res.status(status).send(body) instead');\n this.statusCode = arguments[0];\n chunk = arguments[1];\n }\n }\n\n // disambiguate res.send(status) and res.send(status, num)\n if (typeof chunk === 'number' && arguments.length === 1) {\n // res.send(status) will set status message as text string\n if (!this.get('Content-Type')) {\n this.type('txt');\n }\n\n deprecate('res.send(status): Use res.sendStatus(status) instead');\n this.statusCode = chunk;\n chunk = statuses.message[chunk]\n }\n\n switch (typeof chunk) {\n // string defaulting to html\n case 'string':\n if (!this.get('Content-Type')) {\n this.type('html');\n }\n break;\n case 'boolean':\n case 'number':\n case 'object':\n if (chunk === null) {\n chunk = '';\n } else if (Buffer.isBuffer(chunk)) {\n if (!this.get('Content-Type')) {\n this.type('bin');\n }\n } else {\n return this.json(chunk);\n }\n break;\n }\n\n // write strings in utf-8\n if (typeof chunk === 'string') {\n encoding = 'utf8';\n type = this.get('Content-Type');\n\n // reflect this in content-type\n if (typeof type === 'string') {\n this.set('Content-Type', setCharset(type, 'utf-8'));\n }\n }\n\n // determine if ETag should be generated\n var etagFn = app.get('etag fn')\n var generateETag = !this.get('ETag') && typeof etagFn === 'function'\n\n // populate Content-Length\n var len\n if (chunk !== undefined) {\n if (Buffer.isBuffer(chunk)) {\n // get length of Buffer\n len = chunk.length\n } else if (!generateETag && chunk.length < 1000) {\n // just calculate length when no ETag + small chunk\n len = Buffer.byteLength(chunk, encoding)\n } else {\n // convert chunk to Buffer and calculate\n chunk = Buffer.from(chunk, encoding)\n encoding = undefined;\n len = chunk.length\n }\n\n this.set('Content-Length', len);\n }\n\n // populate ETag\n var etag;\n if (generateETag && len !== undefined) {\n if ((etag = etagFn(chunk, encoding))) {\n this.set('ETag', etag);\n }\n }\n\n // freshness\n if (req.fresh) this.statusCode = 304;\n\n // strip irrelevant headers\n if (204 === this.statusCode || 304 === this.statusCode) {\n this.removeHeader('Content-Type');\n this.removeHeader('Content-Length');\n this.removeHeader('Transfer-Encoding');\n chunk = '';\n }\n\n // alter headers for 205\n if (this.statusCode === 205) {\n this.set('Content-Length', '0')\n this.removeHeader('Transfer-Encoding')\n chunk = ''\n }\n\n if (req.method === 'HEAD') {\n // skip body for HEAD\n this.end();\n } else {\n // respond\n this.end(chunk, encoding);\n }\n\n return this;\n};\n\n/**\n * Send JSON response.\n *\n * Examples:\n *\n * res.json(null);\n * res.json({ user: 'tj' });\n *\n * @param {string|number|boolean|object} obj\n * @public\n */\n\nres.json = function json(obj) {\n var val = obj;\n\n // allow status / body\n if (arguments.length === 2) {\n // res.json(body, status) backwards compat\n if (typeof arguments[1] === 'number') {\n deprecate('res.json(obj, status): Use res.status(status).json(obj) instead');\n this.statusCode = arguments[1];\n } else {\n deprecate('res.json(status, obj): Use res.status(status).json(obj) instead');\n this.statusCode = arguments[0];\n val = arguments[1];\n }\n }\n\n // settings\n var app = this.app;\n var escape = app.get('json escape')\n var replacer = app.get('json replacer');\n var spaces = app.get('json spaces');\n var body = stringify(val, replacer, spaces, escape)\n\n // content-type\n if (!this.get('Content-Type')) {\n this.set('Content-Type', 'application/json');\n }\n\n return this.send(body);\n};\n\n/**\n * Send JSON response with JSONP callback support.\n *\n * Examples:\n *\n * res.jsonp(null);\n * res.jsonp({ user: 'tj' });\n *\n * @param {string|number|boolean|object} obj\n * @public\n */\n\nres.jsonp = function jsonp(obj) {\n var val = obj;\n\n // allow status / body\n if (arguments.length === 2) {\n // res.jsonp(body, status) backwards compat\n if (typeof arguments[1] === 'number') {\n deprecate('res.jsonp(obj, status): Use res.status(status).jsonp(obj) instead');\n this.statusCode = arguments[1];\n } else {\n deprecate('res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead');\n this.statusCode = arguments[0];\n val = arguments[1];\n }\n }\n\n // settings\n var app = this.app;\n var escape = app.get('json escape')\n var replacer = app.get('json replacer');\n var spaces = app.get('json spaces');\n var body = stringify(val, replacer, spaces, escape)\n var callback = this.req.query[app.get('jsonp callback name')];\n\n // content-type\n if (!this.get('Content-Type')) {\n this.set('X-Content-Type-Options', 'nosniff');\n this.set('Content-Type', 'application/json');\n }\n\n // fixup callback\n if (Array.isArray(callback)) {\n callback = callback[0];\n }\n\n // jsonp\n if (typeof callback === 'string' && callback.length !== 0) {\n this.set('X-Content-Type-Options', 'nosniff');\n this.set('Content-Type', 'text/javascript');\n\n // restrict callback charset\n callback = callback.replace(/[^\\[\\]\\w$.]/g, '');\n\n if (body === undefined) {\n // empty argument\n body = ''\n } else if (typeof body === 'string') {\n // replace chars not allowed in JavaScript that are in JSON\n body = body\n .replace(/\\u2028/g, '\\\\u2028')\n .replace(/\\u2029/g, '\\\\u2029')\n }\n\n // the /**/ is a specific security mitigation for \"Rosetta Flash JSONP abuse\"\n // the typeof check is just to reduce client error noise\n body = '/**/ typeof ' + callback + ' === \\'function\\' && ' + callback + '(' + body + ');';\n }\n\n return this.send(body);\n};\n\n/**\n * Send given HTTP status code.\n *\n * Sets the response status to `statusCode` and the body of the\n * response to the standard description from node's http.STATUS_CODES\n * or the statusCode number if no description.\n *\n * Examples:\n *\n * res.sendStatus(200);\n *\n * @param {number} statusCode\n * @public\n */\n\nres.sendStatus = function sendStatus(statusCode) {\n var body = statuses.message[statusCode] || String(statusCode)\n\n this.statusCode = statusCode;\n this.type('txt');\n\n return this.send(body);\n};\n\n/**\n * Transfer the file at the given `path`.\n *\n * Automatically sets the _Content-Type_ response header field.\n * The callback `callback(err)` is invoked when the transfer is complete\n * or when an error occurs. Be sure to check `res.headersSent`\n * if you wish to attempt responding, as the header and some data\n * may have already been transferred.\n *\n * Options:\n *\n * - `maxAge` defaulting to 0 (can be string converted by `ms`)\n * - `root` root directory for relative filenames\n * - `headers` object of headers to serve with file\n * - `dotfiles` serve dotfiles, defaulting to false; can be `\"allow\"` to send them\n *\n * Other options are passed along to `send`.\n *\n * Examples:\n *\n * The following example illustrates how `res.sendFile()` may\n * be used as an alternative for the `static()` middleware for\n * dynamic situations. The code backing `res.sendFile()` is actually\n * the same code, so HTTP cache support etc is identical.\n *\n * app.get('/user/:uid/photos/:file', function(req, res){\n * var uid = req.params.uid\n * , file = req.params.file;\n *\n * req.user.mayViewFilesFrom(uid, function(yes){\n * if (yes) {\n * res.sendFile('/uploads/' + uid + '/' + file);\n * } else {\n * res.send(403, 'Sorry! you cant see that.');\n * }\n * });\n * });\n *\n * @public\n */\n\nres.sendFile = function sendFile(path, options, callback) {\n var done = callback;\n var req = this.req;\n var res = this;\n var next = req.next;\n var opts = options || {};\n\n if (!path) {\n throw new TypeError('path argument is required to res.sendFile');\n }\n\n if (typeof path !== 'string') {\n throw new TypeError('path must be a string to res.sendFile')\n }\n\n // support function as second arg\n if (typeof options === 'function') {\n done = options;\n opts = {};\n }\n\n if (!opts.root && !isAbsolute(path)) {\n throw new TypeError('path must be absolute or specify root to res.sendFile');\n }\n\n // create file stream\n var pathname = encodeURI(path);\n var file = send(req, pathname, opts);\n\n // transfer\n sendfile(res, file, opts, function (err) {\n if (done) return done(err);\n if (err && err.code === 'EISDIR') return next();\n\n // next() all but write errors\n if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {\n next(err);\n }\n });\n};\n\n/**\n * Transfer the file at the given `path`.\n *\n * Automatically sets the _Content-Type_ response header field.\n * The callback `callback(err)` is invoked when the transfer is complete\n * or when an error occurs. Be sure to check `res.headersSent`\n * if you wish to attempt responding, as the header and some data\n * may have already been transferred.\n *\n * Options:\n *\n * - `maxAge` defaulting to 0 (can be string converted by `ms`)\n * - `root` root directory for relative filenames\n * - `headers` object of headers to serve with file\n * - `dotfiles` serve dotfiles, defaulting to false; can be `\"allow\"` to send them\n *\n * Other options are passed along to `send`.\n *\n * Examples:\n *\n * The following example illustrates how `res.sendfile()` may\n * be used as an alternative for the `static()` middleware for\n * dynamic situations. The code backing `res.sendfile()` is actually\n * the same code, so HTTP cache support etc is identical.\n *\n * app.get('/user/:uid/photos/:file', function(req, res){\n * var uid = req.params.uid\n * , file = req.params.file;\n *\n * req.user.mayViewFilesFrom(uid, function(yes){\n * if (yes) {\n * res.sendfile('/uploads/' + uid + '/' + file);\n * } else {\n * res.send(403, 'Sorry! you cant see that.');\n * }\n * });\n * });\n *\n * @public\n */\n\nres.sendfile = function (path, options, callback) {\n var done = callback;\n var req = this.req;\n var res = this;\n var next = req.next;\n var opts = options || {};\n\n // support function as second arg\n if (typeof options === 'function') {\n done = options;\n opts = {};\n }\n\n // create file stream\n var file = send(req, path, opts);\n\n // transfer\n sendfile(res, file, opts, function (err) {\n if (done) return done(err);\n if (err && err.code === 'EISDIR') return next();\n\n // next() all but write errors\n if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {\n next(err);\n }\n });\n};\n\nres.sendfile = deprecate.function(res.sendfile,\n 'res.sendfile: Use res.sendFile instead');\n\n/**\n * Transfer the file at the given `path` as an attachment.\n *\n * Optionally providing an alternate attachment `filename`,\n * and optional callback `callback(err)`. The callback is invoked\n * when the data transfer is complete, or when an error has\n * occurred. Be sure to check `res.headersSent` if you plan to respond.\n *\n * Optionally providing an `options` object to use with `res.sendFile()`.\n * This function will set the `Content-Disposition` header, overriding\n * any `Content-Disposition` header passed as header options in order\n * to set the attachment and filename.\n *\n * This method uses `res.sendFile()`.\n *\n * @public\n */\n\nres.download = function download (path, filename, options, callback) {\n var done = callback;\n var name = filename;\n var opts = options || null\n\n // support function as second or third arg\n if (typeof filename === 'function') {\n done = filename;\n name = null;\n opts = null\n } else if (typeof options === 'function') {\n done = options\n opts = null\n }\n\n // support optional filename, where options may be in it's place\n if (typeof filename === 'object' &&\n (typeof options === 'function' || options === undefined)) {\n name = null\n opts = filename\n }\n\n // set Content-Disposition when file is sent\n var headers = {\n 'Content-Disposition': contentDisposition(name || path)\n };\n\n // merge user-provided headers\n if (opts && opts.headers) {\n var keys = Object.keys(opts.headers)\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]\n if (key.toLowerCase() !== 'content-disposition') {\n headers[key] = opts.headers[key]\n }\n }\n }\n\n // merge user-provided options\n opts = Object.create(opts)\n opts.headers = headers\n\n // Resolve the full path for sendFile\n var fullPath = !opts.root\n ? resolve(path)\n : path\n\n // send file\n return this.sendFile(fullPath, opts, done)\n};\n\n/**\n * Set _Content-Type_ response header with `type` through `mime.lookup()`\n * when it does not contain \"/\", or set the Content-Type to `type` otherwise.\n *\n * Examples:\n *\n * res.type('.html');\n * res.type('html');\n * res.type('json');\n * res.type('application/json');\n * res.type('png');\n *\n * @param {String} type\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.contentType =\nres.type = function contentType(type) {\n var ct = type.indexOf('/') === -1\n ? mime.lookup(type)\n : type;\n\n return this.set('Content-Type', ct);\n};\n\n/**\n * Respond to the Acceptable formats using an `obj`\n * of mime-type callbacks.\n *\n * This method uses `req.accepted`, an array of\n * acceptable types ordered by their quality values.\n * When \"Accept\" is not present the _first_ callback\n * is invoked, otherwise the first match is used. When\n * no match is performed the server responds with\n * 406 \"Not Acceptable\".\n *\n * Content-Type is set for you, however if you choose\n * you may alter this within the callback using `res.type()`\n * or `res.set('Content-Type', ...)`.\n *\n * res.format({\n * 'text/plain': function(){\n * res.send('hey');\n * },\n *\n * 'text/html': function(){\n * res.send('

hey

');\n * },\n *\n * 'application/json': function () {\n * res.send({ message: 'hey' });\n * }\n * });\n *\n * In addition to canonicalized MIME types you may\n * also use extnames mapped to these types:\n *\n * res.format({\n * text: function(){\n * res.send('hey');\n * },\n *\n * html: function(){\n * res.send('

hey

');\n * },\n *\n * json: function(){\n * res.send({ message: 'hey' });\n * }\n * });\n *\n * By default Express passes an `Error`\n * with a `.status` of 406 to `next(err)`\n * if a match is not made. If you provide\n * a `.default` callback it will be invoked\n * instead.\n *\n * @param {Object} obj\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.format = function(obj){\n var req = this.req;\n var next = req.next;\n\n var keys = Object.keys(obj)\n .filter(function (v) { return v !== 'default' })\n\n var key = keys.length > 0\n ? req.accepts(keys)\n : false;\n\n this.vary(\"Accept\");\n\n if (key) {\n this.set('Content-Type', normalizeType(key).value);\n obj[key](req, this, next);\n } else if (obj.default) {\n obj.default(req, this, next)\n } else {\n next(createError(406, {\n types: normalizeTypes(keys).map(function (o) { return o.value })\n }))\n }\n\n return this;\n};\n\n/**\n * Set _Content-Disposition_ header to _attachment_ with optional `filename`.\n *\n * @param {String} filename\n * @return {ServerResponse}\n * @public\n */\n\nres.attachment = function attachment(filename) {\n if (filename) {\n this.type(extname(filename));\n }\n\n this.set('Content-Disposition', contentDisposition(filename));\n\n return this;\n};\n\n/**\n * Append additional header `field` with value `val`.\n *\n * Example:\n *\n * res.append('Link', ['', '']);\n * res.append('Set-Cookie', 'foo=bar; Path=/; HttpOnly');\n * res.append('Warning', '199 Miscellaneous warning');\n *\n * @param {String} field\n * @param {String|Array} val\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.append = function append(field, val) {\n var prev = this.get(field);\n var value = val;\n\n if (prev) {\n // concat the new and prev vals\n value = Array.isArray(prev) ? prev.concat(val)\n : Array.isArray(val) ? [prev].concat(val)\n : [prev, val]\n }\n\n return this.set(field, value);\n};\n\n/**\n * Set header `field` to `val`, or pass\n * an object of header fields.\n *\n * Examples:\n *\n * res.set('Foo', ['bar', 'baz']);\n * res.set('Accept', 'application/json');\n * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' });\n *\n * Aliased as `res.header()`.\n *\n * @param {String|Object} field\n * @param {String|Array} val\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.set =\nres.header = function header(field, val) {\n if (arguments.length === 2) {\n var value = Array.isArray(val)\n ? val.map(String)\n : String(val);\n\n // add charset to content-type\n if (field.toLowerCase() === 'content-type') {\n if (Array.isArray(value)) {\n throw new TypeError('Content-Type cannot be set to an Array');\n }\n if (!charsetRegExp.test(value)) {\n var charset = mime.charsets.lookup(value.split(';')[0]);\n if (charset) value += '; charset=' + charset.toLowerCase();\n }\n }\n\n this.setHeader(field, value);\n } else {\n for (var key in field) {\n this.set(key, field[key]);\n }\n }\n return this;\n};\n\n/**\n * Get value for header `field`.\n *\n * @param {String} field\n * @return {String}\n * @public\n */\n\nres.get = function(field){\n return this.getHeader(field);\n};\n\n/**\n * Clear cookie `name`.\n *\n * @param {String} name\n * @param {Object} [options]\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.clearCookie = function clearCookie(name, options) {\n var opts = merge({ expires: new Date(1), path: '/' }, options);\n\n return this.cookie(name, '', opts);\n};\n\n/**\n * Set cookie `name` to `value`, with the given `options`.\n *\n * Options:\n *\n * - `maxAge` max-age in milliseconds, converted to `expires`\n * - `signed` sign the cookie\n * - `path` defaults to \"/\"\n *\n * Examples:\n *\n * // \"Remember Me\" for 15 minutes\n * res.cookie('rememberme', '1', { expires: new Date(Date.now() + 900000), httpOnly: true });\n *\n * // same as above\n * res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true })\n *\n * @param {String} name\n * @param {String|Object} value\n * @param {Object} [options]\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.cookie = function (name, value, options) {\n var opts = merge({}, options);\n var secret = this.req.secret;\n var signed = opts.signed;\n\n if (signed && !secret) {\n throw new Error('cookieParser(\"secret\") required for signed cookies');\n }\n\n var val = typeof value === 'object'\n ? 'j:' + JSON.stringify(value)\n : String(value);\n\n if (signed) {\n val = 's:' + sign(val, secret);\n }\n\n if (opts.maxAge != null) {\n var maxAge = opts.maxAge - 0\n\n if (!isNaN(maxAge)) {\n opts.expires = new Date(Date.now() + maxAge)\n opts.maxAge = Math.floor(maxAge / 1000)\n }\n }\n\n if (opts.path == null) {\n opts.path = '/';\n }\n\n this.append('Set-Cookie', cookie.serialize(name, String(val), opts));\n\n return this;\n};\n\n/**\n * Set the location header to `url`.\n *\n * The given `url` can also be \"back\", which redirects\n * to the _Referrer_ or _Referer_ headers or \"/\".\n *\n * Examples:\n *\n * res.location('/foo/bar').;\n * res.location('http://example.com');\n * res.location('../login');\n *\n * @param {String} url\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.location = function location(url) {\n var loc = url;\n\n // \"back\" is an alias for the referrer\n if (url === 'back') {\n loc = this.req.get('Referrer') || '/';\n }\n\n // set location\n return this.set('Location', encodeUrl(loc));\n};\n\n/**\n * Redirect to the given `url` with optional response `status`\n * defaulting to 302.\n *\n * The resulting `url` is determined by `res.location()`, so\n * it will play nicely with mounted apps, relative paths,\n * `\"back\"` etc.\n *\n * Examples:\n *\n * res.redirect('/foo/bar');\n * res.redirect('http://example.com');\n * res.redirect(301, 'http://example.com');\n * res.redirect('../login'); // /blog/post/1 -> /blog/login\n *\n * @public\n */\n\nres.redirect = function redirect(url) {\n var address = url;\n var body;\n var status = 302;\n\n // allow status / url\n if (arguments.length === 2) {\n if (typeof arguments[0] === 'number') {\n status = arguments[0];\n address = arguments[1];\n } else {\n deprecate('res.redirect(url, status): Use res.redirect(status, url) instead');\n status = arguments[1];\n }\n }\n\n // Set location header\n address = this.location(address).get('Location');\n\n // Support text/{plain,html} by default\n this.format({\n text: function(){\n body = statuses.message[status] + '. Redirecting to ' + address\n },\n\n html: function(){\n var u = escapeHtml(address);\n body = '

' + statuses.message[status] + '. Redirecting to ' + u + '

'\n },\n\n default: function(){\n body = '';\n }\n });\n\n // Respond\n this.statusCode = status;\n this.set('Content-Length', Buffer.byteLength(body));\n\n if (this.req.method === 'HEAD') {\n this.end();\n } else {\n this.end(body);\n }\n};\n\n/**\n * Add `field` to Vary. If already present in the Vary set, then\n * this call is simply ignored.\n *\n * @param {Array|String} field\n * @return {ServerResponse} for chaining\n * @public\n */\n\nres.vary = function(field){\n // checks for back-compat\n if (!field || (Array.isArray(field) && !field.length)) {\n deprecate('res.vary(): Provide a field name');\n return this;\n }\n\n vary(this, field);\n\n return this;\n};\n\n/**\n * Render `view` with the given `options` and optional callback `fn`.\n * When a callback function is given a response will _not_ be made\n * automatically, otherwise a response of _200_ and _text/html_ is given.\n *\n * Options:\n *\n * - `cache` boolean hinting to the engine it should cache\n * - `filename` filename of the view being rendered\n *\n * @public\n */\n\nres.render = function render(view, options, callback) {\n var app = this.req.app;\n var done = callback;\n var opts = options || {};\n var req = this.req;\n var self = this;\n\n // support callback function as second arg\n if (typeof options === 'function') {\n done = options;\n opts = {};\n }\n\n // merge res.locals\n opts._locals = self.locals;\n\n // default callback to respond\n done = done || function (err, str) {\n if (err) return req.next(err);\n self.send(str);\n };\n\n // render\n app.render(view, opts, done);\n};\n\n// pipe the send file stream\nfunction sendfile(res, file, options, callback) {\n var done = false;\n var streaming;\n\n // request aborted\n function onaborted() {\n if (done) return;\n done = true;\n\n var err = new Error('Request aborted');\n err.code = 'ECONNABORTED';\n callback(err);\n }\n\n // directory\n function ondirectory() {\n if (done) return;\n done = true;\n\n var err = new Error('EISDIR, read');\n err.code = 'EISDIR';\n callback(err);\n }\n\n // errors\n function onerror(err) {\n if (done) return;\n done = true;\n callback(err);\n }\n\n // ended\n function onend() {\n if (done) return;\n done = true;\n callback();\n }\n\n // file\n function onfile() {\n streaming = false;\n }\n\n // finished\n function onfinish(err) {\n if (err && err.code === 'ECONNRESET') return onaborted();\n if (err) return onerror(err);\n if (done) return;\n\n setImmediate(function () {\n if (streaming !== false && !done) {\n onaborted();\n return;\n }\n\n if (done) return;\n done = true;\n callback();\n });\n }\n\n // streaming\n function onstream() {\n streaming = true;\n }\n\n file.on('directory', ondirectory);\n file.on('end', onend);\n file.on('error', onerror);\n file.on('file', onfile);\n file.on('stream', onstream);\n onFinished(res, onfinish);\n\n if (options.headers) {\n // set headers on successful transfer\n file.on('headers', function headers(res) {\n var obj = options.headers;\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var k = keys[i];\n res.setHeader(k, obj[k]);\n }\n });\n }\n\n // pipe\n file.pipe(res);\n}\n\n/**\n * Stringify JSON, like JSON.stringify, but v8 optimized, with the\n * ability to escape characters that can trigger HTML sniffing.\n *\n * @param {*} value\n * @param {function} replacer\n * @param {number} spaces\n * @param {boolean} escape\n * @returns {string}\n * @private\n */\n\nfunction stringify (value, replacer, spaces, escape) {\n // v8 checks arguments.length for optimizing simple call\n // https://bugs.chromium.org/p/v8/issues/detail?id=4730\n var json = replacer || spaces\n ? JSON.stringify(value, replacer, spaces)\n : JSON.stringify(value);\n\n if (escape && typeof json === 'string') {\n json = json.replace(/[<>&]/g, function (c) {\n switch (c.charCodeAt(0)) {\n case 0x3c:\n return '\\\\u003c'\n case 0x3e:\n return '\\\\u003e'\n case 0x26:\n return '\\\\u0026'\n /* istanbul ignore next: unreachable default */\n default:\n return c\n }\n })\n }\n\n return json\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Route = require('./route');\nvar Layer = require('./layer');\nvar methods = require('methods');\nvar mixin = require('utils-merge');\nvar debug = require('debug')('express:router');\nvar deprecate = require('depd')('express');\nvar flatten = require('array-flatten');\nvar parseUrl = require('parseurl');\nvar setPrototypeOf = require('setprototypeof')\n\n/**\n * Module variables.\n * @private\n */\n\nvar objectRegExp = /^\\[object (\\S+)\\]$/;\nvar slice = Array.prototype.slice;\nvar toString = Object.prototype.toString;\n\n/**\n * Initialize a new `Router` with the given `options`.\n *\n * @param {Object} [options]\n * @return {Router} which is an callable function\n * @public\n */\n\nvar proto = module.exports = function(options) {\n var opts = options || {};\n\n function router(req, res, next) {\n router.handle(req, res, next);\n }\n\n // mixin Router class functions\n setPrototypeOf(router, proto)\n\n router.params = {};\n router._params = [];\n router.caseSensitive = opts.caseSensitive;\n router.mergeParams = opts.mergeParams;\n router.strict = opts.strict;\n router.stack = [];\n\n return router;\n};\n\n/**\n * Map the given param placeholder `name`(s) to the given callback.\n *\n * Parameter mapping is used to provide pre-conditions to routes\n * which use normalized placeholders. For example a _:user_id_ parameter\n * could automatically load a user's information from the database without\n * any additional code,\n *\n * The callback uses the same signature as middleware, the only difference\n * being that the value of the placeholder is passed, in this case the _id_\n * of the user. Once the `next()` function is invoked, just like middleware\n * it will continue on to execute the route, or subsequent parameter functions.\n *\n * Just like in middleware, you must either respond to the request or call next\n * to avoid stalling the request.\n *\n * app.param('user_id', function(req, res, next, id){\n * User.find(id, function(err, user){\n * if (err) {\n * return next(err);\n * } else if (!user) {\n * return next(new Error('failed to load user'));\n * }\n * req.user = user;\n * next();\n * });\n * });\n *\n * @param {String} name\n * @param {Function} fn\n * @return {app} for chaining\n * @public\n */\n\nproto.param = function param(name, fn) {\n // param logic\n if (typeof name === 'function') {\n deprecate('router.param(fn): Refactor to use path params');\n this._params.push(name);\n return;\n }\n\n // apply param functions\n var params = this._params;\n var len = params.length;\n var ret;\n\n if (name[0] === ':') {\n deprecate('router.param(' + JSON.stringify(name) + ', fn): Use router.param(' + JSON.stringify(name.slice(1)) + ', fn) instead')\n name = name.slice(1)\n }\n\n for (var i = 0; i < len; ++i) {\n if (ret = params[i](name, fn)) {\n fn = ret;\n }\n }\n\n // ensure we end up with a\n // middleware function\n if ('function' !== typeof fn) {\n throw new Error('invalid param() call for ' + name + ', got ' + fn);\n }\n\n (this.params[name] = this.params[name] || []).push(fn);\n return this;\n};\n\n/**\n * Dispatch a req, res into the router.\n * @private\n */\n\nproto.handle = function handle(req, res, out) {\n var self = this;\n\n debug('dispatching %s %s', req.method, req.url);\n\n var idx = 0;\n var protohost = getProtohost(req.url) || ''\n var removed = '';\n var slashAdded = false;\n var sync = 0\n var paramcalled = {};\n\n // store options for OPTIONS request\n // only used if OPTIONS request\n var options = [];\n\n // middleware and routes\n var stack = self.stack;\n\n // manage inter-router variables\n var parentParams = req.params;\n var parentUrl = req.baseUrl || '';\n var done = restore(out, req, 'baseUrl', 'next', 'params');\n\n // setup next layer\n req.next = next;\n\n // for options requests, respond with a default if nothing else responds\n if (req.method === 'OPTIONS') {\n done = wrap(done, function(old, err) {\n if (err || options.length === 0) return old(err);\n sendOptionsResponse(res, options, old);\n });\n }\n\n // setup basic req values\n req.baseUrl = parentUrl;\n req.originalUrl = req.originalUrl || req.url;\n\n next();\n\n function next(err) {\n var layerError = err === 'route'\n ? null\n : err;\n\n // remove added slash\n if (slashAdded) {\n req.url = req.url.slice(1)\n slashAdded = false;\n }\n\n // restore altered req.url\n if (removed.length !== 0) {\n req.baseUrl = parentUrl;\n req.url = protohost + removed + req.url.slice(protohost.length)\n removed = '';\n }\n\n // signal to exit router\n if (layerError === 'router') {\n setImmediate(done, null)\n return\n }\n\n // no more matching layers\n if (idx >= stack.length) {\n setImmediate(done, layerError);\n return;\n }\n\n // max sync stack\n if (++sync > 100) {\n return setImmediate(next, err)\n }\n\n // get pathname of request\n var path = getPathname(req);\n\n if (path == null) {\n return done(layerError);\n }\n\n // find next matching layer\n var layer;\n var match;\n var route;\n\n while (match !== true && idx < stack.length) {\n layer = stack[idx++];\n match = matchLayer(layer, path);\n route = layer.route;\n\n if (typeof match !== 'boolean') {\n // hold on to layerError\n layerError = layerError || match;\n }\n\n if (match !== true) {\n continue;\n }\n\n if (!route) {\n // process non-route handlers normally\n continue;\n }\n\n if (layerError) {\n // routes do not match with a pending error\n match = false;\n continue;\n }\n\n var method = req.method;\n var has_method = route._handles_method(method);\n\n // build up automatic options response\n if (!has_method && method === 'OPTIONS') {\n appendMethods(options, route._options());\n }\n\n // don't even bother matching route\n if (!has_method && method !== 'HEAD') {\n match = false;\n }\n }\n\n // no match\n if (match !== true) {\n return done(layerError);\n }\n\n // store route for dispatch on change\n if (route) {\n req.route = route;\n }\n\n // Capture one-time layer values\n req.params = self.mergeParams\n ? mergeParams(layer.params, parentParams)\n : layer.params;\n var layerPath = layer.path;\n\n // this should be done for the layer\n self.process_params(layer, paramcalled, req, res, function (err) {\n if (err) {\n next(layerError || err)\n } else if (route) {\n layer.handle_request(req, res, next)\n } else {\n trim_prefix(layer, layerError, layerPath, path)\n }\n\n sync = 0\n });\n }\n\n function trim_prefix(layer, layerError, layerPath, path) {\n if (layerPath.length !== 0) {\n // Validate path is a prefix match\n if (layerPath !== path.slice(0, layerPath.length)) {\n next(layerError)\n return\n }\n\n // Validate path breaks on a path separator\n var c = path[layerPath.length]\n if (c && c !== '/' && c !== '.') return next(layerError)\n\n // Trim off the part of the url that matches the route\n // middleware (.use stuff) needs to have the path stripped\n debug('trim prefix (%s) from url %s', layerPath, req.url);\n removed = layerPath;\n req.url = protohost + req.url.slice(protohost.length + removed.length)\n\n // Ensure leading slash\n if (!protohost && req.url[0] !== '/') {\n req.url = '/' + req.url;\n slashAdded = true;\n }\n\n // Setup base URL (no trailing slash)\n req.baseUrl = parentUrl + (removed[removed.length - 1] === '/'\n ? removed.substring(0, removed.length - 1)\n : removed);\n }\n\n debug('%s %s : %s', layer.name, layerPath, req.originalUrl);\n\n if (layerError) {\n layer.handle_error(layerError, req, res, next);\n } else {\n layer.handle_request(req, res, next);\n }\n }\n};\n\n/**\n * Process any parameters for the layer.\n * @private\n */\n\nproto.process_params = function process_params(layer, called, req, res, done) {\n var params = this.params;\n\n // captured parameters from the layer, keys and values\n var keys = layer.keys;\n\n // fast track\n if (!keys || keys.length === 0) {\n return done();\n }\n\n var i = 0;\n var name;\n var paramIndex = 0;\n var key;\n var paramVal;\n var paramCallbacks;\n var paramCalled;\n\n // process params in order\n // param callbacks can be async\n function param(err) {\n if (err) {\n return done(err);\n }\n\n if (i >= keys.length ) {\n return done();\n }\n\n paramIndex = 0;\n key = keys[i++];\n name = key.name;\n paramVal = req.params[name];\n paramCallbacks = params[name];\n paramCalled = called[name];\n\n if (paramVal === undefined || !paramCallbacks) {\n return param();\n }\n\n // param previously called with same value or error occurred\n if (paramCalled && (paramCalled.match === paramVal\n || (paramCalled.error && paramCalled.error !== 'route'))) {\n // restore value\n req.params[name] = paramCalled.value;\n\n // next param\n return param(paramCalled.error);\n }\n\n called[name] = paramCalled = {\n error: null,\n match: paramVal,\n value: paramVal\n };\n\n paramCallback();\n }\n\n // single param callbacks\n function paramCallback(err) {\n var fn = paramCallbacks[paramIndex++];\n\n // store updated value\n paramCalled.value = req.params[key.name];\n\n if (err) {\n // store error\n paramCalled.error = err;\n param(err);\n return;\n }\n\n if (!fn) return param();\n\n try {\n fn(req, res, paramCallback, paramVal, key.name);\n } catch (e) {\n paramCallback(e);\n }\n }\n\n param();\n};\n\n/**\n * Use the given middleware function, with optional path, defaulting to \"/\".\n *\n * Use (like `.all`) will run for any http METHOD, but it will not add\n * handlers for those methods so OPTIONS requests will not consider `.use`\n * functions even if they could respond.\n *\n * The other difference is that _route_ path is stripped and not visible\n * to the handler function. The main effect of this feature is that mounted\n * handlers can operate without any code changes regardless of the \"prefix\"\n * pathname.\n *\n * @public\n */\n\nproto.use = function use(fn) {\n var offset = 0;\n var path = '/';\n\n // default path to '/'\n // disambiguate router.use([fn])\n if (typeof fn !== 'function') {\n var arg = fn;\n\n while (Array.isArray(arg) && arg.length !== 0) {\n arg = arg[0];\n }\n\n // first arg is the path\n if (typeof arg !== 'function') {\n offset = 1;\n path = fn;\n }\n }\n\n var callbacks = flatten(slice.call(arguments, offset));\n\n if (callbacks.length === 0) {\n throw new TypeError('Router.use() requires a middleware function')\n }\n\n for (var i = 0; i < callbacks.length; i++) {\n var fn = callbacks[i];\n\n if (typeof fn !== 'function') {\n throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))\n }\n\n // add the middleware\n debug('use %o %s', path, fn.name || '')\n\n var layer = new Layer(path, {\n sensitive: this.caseSensitive,\n strict: false,\n end: false\n }, fn);\n\n layer.route = undefined;\n\n this.stack.push(layer);\n }\n\n return this;\n};\n\n/**\n * Create a new Route for the given path.\n *\n * Each route contains a separate middleware stack and VERB handlers.\n *\n * See the Route api documentation for details on adding handlers\n * and middleware to routes.\n *\n * @param {String} path\n * @return {Route}\n * @public\n */\n\nproto.route = function route(path) {\n var route = new Route(path);\n\n var layer = new Layer(path, {\n sensitive: this.caseSensitive,\n strict: this.strict,\n end: true\n }, route.dispatch.bind(route));\n\n layer.route = route;\n\n this.stack.push(layer);\n return route;\n};\n\n// create Router#VERB functions\nmethods.concat('all').forEach(function(method){\n proto[method] = function(path){\n var route = this.route(path)\n route[method].apply(route, slice.call(arguments, 1));\n return this;\n };\n});\n\n// append methods to a list of methods\nfunction appendMethods(list, addition) {\n for (var i = 0; i < addition.length; i++) {\n var method = addition[i];\n if (list.indexOf(method) === -1) {\n list.push(method);\n }\n }\n}\n\n// get pathname of request\nfunction getPathname(req) {\n try {\n return parseUrl(req).pathname;\n } catch (err) {\n return undefined;\n }\n}\n\n// Get get protocol + host for a URL\nfunction getProtohost(url) {\n if (typeof url !== 'string' || url.length === 0 || url[0] === '/') {\n return undefined\n }\n\n var searchIndex = url.indexOf('?')\n var pathLength = searchIndex !== -1\n ? searchIndex\n : url.length\n var fqdnIndex = url.slice(0, pathLength).indexOf('://')\n\n return fqdnIndex !== -1\n ? url.substring(0, url.indexOf('/', 3 + fqdnIndex))\n : undefined\n}\n\n// get type for error message\nfunction gettype(obj) {\n var type = typeof obj;\n\n if (type !== 'object') {\n return type;\n }\n\n // inspect [[Class]] for objects\n return toString.call(obj)\n .replace(objectRegExp, '$1');\n}\n\n/**\n * Match path to a layer.\n *\n * @param {Layer} layer\n * @param {string} path\n * @private\n */\n\nfunction matchLayer(layer, path) {\n try {\n return layer.match(path);\n } catch (err) {\n return err;\n }\n}\n\n// merge params with parent params\nfunction mergeParams(params, parent) {\n if (typeof parent !== 'object' || !parent) {\n return params;\n }\n\n // make copy of parent for base\n var obj = mixin({}, parent);\n\n // simple non-numeric merging\n if (!(0 in params) || !(0 in parent)) {\n return mixin(obj, params);\n }\n\n var i = 0;\n var o = 0;\n\n // determine numeric gaps\n while (i in params) {\n i++;\n }\n\n while (o in parent) {\n o++;\n }\n\n // offset numeric indices in params before merge\n for (i--; i >= 0; i--) {\n params[i + o] = params[i];\n\n // create holes for the merge when necessary\n if (i < o) {\n delete params[i];\n }\n }\n\n return mixin(obj, params);\n}\n\n// restore obj props after function\nfunction restore(fn, obj) {\n var props = new Array(arguments.length - 2);\n var vals = new Array(arguments.length - 2);\n\n for (var i = 0; i < props.length; i++) {\n props[i] = arguments[i + 2];\n vals[i] = obj[props[i]];\n }\n\n return function () {\n // restore vals\n for (var i = 0; i < props.length; i++) {\n obj[props[i]] = vals[i];\n }\n\n return fn.apply(this, arguments);\n };\n}\n\n// send an OPTIONS response\nfunction sendOptionsResponse(res, options, next) {\n try {\n var body = options.join(',');\n res.set('Allow', body);\n res.send(body);\n } catch (err) {\n next(err);\n }\n}\n\n// wrap a function\nfunction wrap(old, fn) {\n return function proxy() {\n var args = new Array(arguments.length + 1);\n\n args[0] = old;\n for (var i = 0, len = arguments.length; i < len; i++) {\n args[i + 1] = arguments[i];\n }\n\n fn.apply(this, args);\n };\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar pathRegexp = require('path-to-regexp');\nvar debug = require('debug')('express:router:layer');\n\n/**\n * Module variables.\n * @private\n */\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Layer;\n\nfunction Layer(path, options, fn) {\n if (!(this instanceof Layer)) {\n return new Layer(path, options, fn);\n }\n\n debug('new %o', path)\n var opts = options || {};\n\n this.handle = fn;\n this.name = fn.name || '';\n this.params = undefined;\n this.path = undefined;\n this.regexp = pathRegexp(path, this.keys = [], opts);\n\n // set fast path flags\n this.regexp.fast_star = path === '*'\n this.regexp.fast_slash = path === '/' && opts.end === false\n}\n\n/**\n * Handle the error for the layer.\n *\n * @param {Error} error\n * @param {Request} req\n * @param {Response} res\n * @param {function} next\n * @api private\n */\n\nLayer.prototype.handle_error = function handle_error(error, req, res, next) {\n var fn = this.handle;\n\n if (fn.length !== 4) {\n // not a standard error handler\n return next(error);\n }\n\n try {\n fn(error, req, res, next);\n } catch (err) {\n next(err);\n }\n};\n\n/**\n * Handle the request for the layer.\n *\n * @param {Request} req\n * @param {Response} res\n * @param {function} next\n * @api private\n */\n\nLayer.prototype.handle_request = function handle(req, res, next) {\n var fn = this.handle;\n\n if (fn.length > 3) {\n // not a standard request handler\n return next();\n }\n\n try {\n fn(req, res, next);\n } catch (err) {\n next(err);\n }\n};\n\n/**\n * Check if this route matches `path`, if so\n * populate `.params`.\n *\n * @param {String} path\n * @return {Boolean}\n * @api private\n */\n\nLayer.prototype.match = function match(path) {\n var match\n\n if (path != null) {\n // fast path non-ending match for / (any path matches)\n if (this.regexp.fast_slash) {\n this.params = {}\n this.path = ''\n return true\n }\n\n // fast path for * (everything matched in a param)\n if (this.regexp.fast_star) {\n this.params = {'0': decode_param(path)}\n this.path = path\n return true\n }\n\n // match the path\n match = this.regexp.exec(path)\n }\n\n if (!match) {\n this.params = undefined;\n this.path = undefined;\n return false;\n }\n\n // store values\n this.params = {};\n this.path = match[0]\n\n var keys = this.keys;\n var params = this.params;\n\n for (var i = 1; i < match.length; i++) {\n var key = keys[i - 1];\n var prop = key.name;\n var val = decode_param(match[i])\n\n if (val !== undefined || !(hasOwnProperty.call(params, prop))) {\n params[prop] = val;\n }\n }\n\n return true;\n};\n\n/**\n * Decode param value.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction decode_param(val) {\n if (typeof val !== 'string' || val.length === 0) {\n return val;\n }\n\n try {\n return decodeURIComponent(val);\n } catch (err) {\n if (err instanceof URIError) {\n err.message = 'Failed to decode param \\'' + val + '\\'';\n err.status = err.statusCode = 400;\n }\n\n throw err;\n }\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar debug = require('debug')('express:router:route');\nvar flatten = require('array-flatten');\nvar Layer = require('./layer');\nvar methods = require('methods');\n\n/**\n * Module variables.\n * @private\n */\n\nvar slice = Array.prototype.slice;\nvar toString = Object.prototype.toString;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Route;\n\n/**\n * Initialize `Route` with the given `path`,\n *\n * @param {String} path\n * @public\n */\n\nfunction Route(path) {\n this.path = path;\n this.stack = [];\n\n debug('new %o', path)\n\n // route handlers for various http methods\n this.methods = {};\n}\n\n/**\n * Determine if the route handles a given method.\n * @private\n */\n\nRoute.prototype._handles_method = function _handles_method(method) {\n if (this.methods._all) {\n return true;\n }\n\n var name = method.toLowerCase();\n\n if (name === 'head' && !this.methods['head']) {\n name = 'get';\n }\n\n return Boolean(this.methods[name]);\n};\n\n/**\n * @return {Array} supported HTTP methods\n * @private\n */\n\nRoute.prototype._options = function _options() {\n var methods = Object.keys(this.methods);\n\n // append automatic head\n if (this.methods.get && !this.methods.head) {\n methods.push('head');\n }\n\n for (var i = 0; i < methods.length; i++) {\n // make upper case\n methods[i] = methods[i].toUpperCase();\n }\n\n return methods;\n};\n\n/**\n * dispatch req, res into this route\n * @private\n */\n\nRoute.prototype.dispatch = function dispatch(req, res, done) {\n var idx = 0;\n var stack = this.stack;\n var sync = 0\n\n if (stack.length === 0) {\n return done();\n }\n\n var method = req.method.toLowerCase();\n if (method === 'head' && !this.methods['head']) {\n method = 'get';\n }\n\n req.route = this;\n\n next();\n\n function next(err) {\n // signal to exit route\n if (err && err === 'route') {\n return done();\n }\n\n // signal to exit router\n if (err && err === 'router') {\n return done(err)\n }\n\n // max sync stack\n if (++sync > 100) {\n return setImmediate(next, err)\n }\n\n var layer = stack[idx++]\n\n // end of layers\n if (!layer) {\n return done(err)\n }\n\n if (layer.method && layer.method !== method) {\n next(err)\n } else if (err) {\n layer.handle_error(err, req, res, next);\n } else {\n layer.handle_request(req, res, next);\n }\n\n sync = 0\n }\n};\n\n/**\n * Add a handler for all HTTP verbs to this route.\n *\n * Behaves just like middleware and can respond or call `next`\n * to continue processing.\n *\n * You can use multiple `.all` call to add multiple handlers.\n *\n * function check_something(req, res, next){\n * next();\n * };\n *\n * function validate_user(req, res, next){\n * next();\n * };\n *\n * route\n * .all(validate_user)\n * .all(check_something)\n * .get(function(req, res, next){\n * res.send('hello world');\n * });\n *\n * @param {function} handler\n * @return {Route} for chaining\n * @api public\n */\n\nRoute.prototype.all = function all() {\n var handles = flatten(slice.call(arguments));\n\n for (var i = 0; i < handles.length; i++) {\n var handle = handles[i];\n\n if (typeof handle !== 'function') {\n var type = toString.call(handle);\n var msg = 'Route.all() requires a callback function but got a ' + type\n throw new TypeError(msg);\n }\n\n var layer = Layer('/', {}, handle);\n layer.method = undefined;\n\n this.methods._all = true;\n this.stack.push(layer);\n }\n\n return this;\n};\n\nmethods.forEach(function(method){\n Route.prototype[method] = function(){\n var handles = flatten(slice.call(arguments));\n\n for (var i = 0; i < handles.length; i++) {\n var handle = handles[i];\n\n if (typeof handle !== 'function') {\n var type = toString.call(handle);\n var msg = 'Route.' + method + '() requires a callback function but got a ' + type\n throw new Error(msg);\n }\n\n debug('%s %o', method, this.path)\n\n var layer = Layer('/', {}, handle);\n layer.method = method;\n\n this.methods[method] = true;\n this.stack.push(layer);\n }\n\n return this;\n };\n});\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @api private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar contentDisposition = require('content-disposition');\nvar contentType = require('content-type');\nvar deprecate = require('depd')('express');\nvar flatten = require('array-flatten');\nvar mime = require('send').mime;\nvar etag = require('etag');\nvar proxyaddr = require('proxy-addr');\nvar qs = require('qs');\nvar querystring = require('querystring');\n\n/**\n * Return strong ETag for `body`.\n *\n * @param {String|Buffer} body\n * @param {String} [encoding]\n * @return {String}\n * @api private\n */\n\nexports.etag = createETagGenerator({ weak: false })\n\n/**\n * Return weak ETag for `body`.\n *\n * @param {String|Buffer} body\n * @param {String} [encoding]\n * @return {String}\n * @api private\n */\n\nexports.wetag = createETagGenerator({ weak: true })\n\n/**\n * Check if `path` looks absolute.\n *\n * @param {String} path\n * @return {Boolean}\n * @api private\n */\n\nexports.isAbsolute = function(path){\n if ('/' === path[0]) return true;\n if (':' === path[1] && ('\\\\' === path[2] || '/' === path[2])) return true; // Windows device path\n if ('\\\\\\\\' === path.substring(0, 2)) return true; // Microsoft Azure absolute path\n};\n\n/**\n * Flatten the given `arr`.\n *\n * @param {Array} arr\n * @return {Array}\n * @api private\n */\n\nexports.flatten = deprecate.function(flatten,\n 'utils.flatten: use array-flatten npm module instead');\n\n/**\n * Normalize the given `type`, for example \"html\" becomes \"text/html\".\n *\n * @param {String} type\n * @return {Object}\n * @api private\n */\n\nexports.normalizeType = function(type){\n return ~type.indexOf('/')\n ? acceptParams(type)\n : { value: mime.lookup(type), params: {} };\n};\n\n/**\n * Normalize `types`, for example \"html\" becomes \"text/html\".\n *\n * @param {Array} types\n * @return {Array}\n * @api private\n */\n\nexports.normalizeTypes = function(types){\n var ret = [];\n\n for (var i = 0; i < types.length; ++i) {\n ret.push(exports.normalizeType(types[i]));\n }\n\n return ret;\n};\n\n/**\n * Generate Content-Disposition header appropriate for the filename.\n * non-ascii filenames are urlencoded and a filename* parameter is added\n *\n * @param {String} filename\n * @return {String}\n * @api private\n */\n\nexports.contentDisposition = deprecate.function(contentDisposition,\n 'utils.contentDisposition: use content-disposition npm module instead');\n\n/**\n * Parse accept params `str` returning an\n * object with `.value`, `.quality` and `.params`.\n * also includes `.originalIndex` for stable sorting\n *\n * @param {String} str\n * @param {Number} index\n * @return {Object}\n * @api private\n */\n\nfunction acceptParams(str, index) {\n var parts = str.split(/ *; */);\n var ret = { value: parts[0], quality: 1, params: {}, originalIndex: index };\n\n for (var i = 1; i < parts.length; ++i) {\n var pms = parts[i].split(/ *= */);\n if ('q' === pms[0]) {\n ret.quality = parseFloat(pms[1]);\n } else {\n ret.params[pms[0]] = pms[1];\n }\n }\n\n return ret;\n}\n\n/**\n * Compile \"etag\" value to function.\n *\n * @param {Boolean|String|Function} val\n * @return {Function}\n * @api private\n */\n\nexports.compileETag = function(val) {\n var fn;\n\n if (typeof val === 'function') {\n return val;\n }\n\n switch (val) {\n case true:\n case 'weak':\n fn = exports.wetag;\n break;\n case false:\n break;\n case 'strong':\n fn = exports.etag;\n break;\n default:\n throw new TypeError('unknown value for etag function: ' + val);\n }\n\n return fn;\n}\n\n/**\n * Compile \"query parser\" value to function.\n *\n * @param {String|Function} val\n * @return {Function}\n * @api private\n */\n\nexports.compileQueryParser = function compileQueryParser(val) {\n var fn;\n\n if (typeof val === 'function') {\n return val;\n }\n\n switch (val) {\n case true:\n case 'simple':\n fn = querystring.parse;\n break;\n case false:\n fn = newObject;\n break;\n case 'extended':\n fn = parseExtendedQueryString;\n break;\n default:\n throw new TypeError('unknown value for query parser function: ' + val);\n }\n\n return fn;\n}\n\n/**\n * Compile \"proxy trust\" value to function.\n *\n * @param {Boolean|String|Number|Array|Function} val\n * @return {Function}\n * @api private\n */\n\nexports.compileTrust = function(val) {\n if (typeof val === 'function') return val;\n\n if (val === true) {\n // Support plain true/false\n return function(){ return true };\n }\n\n if (typeof val === 'number') {\n // Support trusting hop count\n return function(a, i){ return i < val };\n }\n\n if (typeof val === 'string') {\n // Support comma-separated values\n val = val.split(',')\n .map(function (v) { return v.trim() })\n }\n\n return proxyaddr.compile(val || []);\n}\n\n/**\n * Set the charset in a given Content-Type string.\n *\n * @param {String} type\n * @param {String} charset\n * @return {String}\n * @api private\n */\n\nexports.setCharset = function setCharset(type, charset) {\n if (!type || !charset) {\n return type;\n }\n\n // parse type\n var parsed = contentType.parse(type);\n\n // set charset\n parsed.parameters.charset = charset;\n\n // format type\n return contentType.format(parsed);\n};\n\n/**\n * Create an ETag generator function, generating ETags with\n * the given options.\n *\n * @param {object} options\n * @return {function}\n * @private\n */\n\nfunction createETagGenerator (options) {\n return function generateETag (body, encoding) {\n var buf = !Buffer.isBuffer(body)\n ? Buffer.from(body, encoding)\n : body\n\n return etag(buf, options)\n }\n}\n\n/**\n * Parse an extended query string with qs.\n *\n * @return {Object}\n * @private\n */\n\nfunction parseExtendedQueryString(str) {\n return qs.parse(str, {\n allowPrototypes: true\n });\n}\n\n/**\n * Return new empty object.\n *\n * @return {Object}\n * @api private\n */\n\nfunction newObject() {\n return {};\n}\n","/*!\n * express\n * Copyright(c) 2009-2013 TJ Holowaychuk\n * Copyright(c) 2013 Roman Shtylman\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar debug = require('debug')('express:view');\nvar path = require('path');\nvar fs = require('fs');\n\n/**\n * Module variables.\n * @private\n */\n\nvar dirname = path.dirname;\nvar basename = path.basename;\nvar extname = path.extname;\nvar join = path.join;\nvar resolve = path.resolve;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = View;\n\n/**\n * Initialize a new `View` with the given `name`.\n *\n * Options:\n *\n * - `defaultEngine` the default template engine name\n * - `engines` template engine require() cache\n * - `root` root path for view lookup\n *\n * @param {string} name\n * @param {object} options\n * @public\n */\n\nfunction View(name, options) {\n var opts = options || {};\n\n this.defaultEngine = opts.defaultEngine;\n this.ext = extname(name);\n this.name = name;\n this.root = opts.root;\n\n if (!this.ext && !this.defaultEngine) {\n throw new Error('No default engine was specified and no extension was provided.');\n }\n\n var fileName = name;\n\n if (!this.ext) {\n // get extension from default engine name\n this.ext = this.defaultEngine[0] !== '.'\n ? '.' + this.defaultEngine\n : this.defaultEngine;\n\n fileName += this.ext;\n }\n\n if (!opts.engines[this.ext]) {\n // load engine\n var mod = this.ext.slice(1)\n debug('require \"%s\"', mod)\n\n // default engine export\n var fn = require(mod).__express\n\n if (typeof fn !== 'function') {\n throw new Error('Module \"' + mod + '\" does not provide a view engine.')\n }\n\n opts.engines[this.ext] = fn\n }\n\n // store loaded engine\n this.engine = opts.engines[this.ext];\n\n // lookup path\n this.path = this.lookup(fileName);\n}\n\n/**\n * Lookup view by the given `name`\n *\n * @param {string} name\n * @private\n */\n\nView.prototype.lookup = function lookup(name) {\n var path;\n var roots = [].concat(this.root);\n\n debug('lookup \"%s\"', name);\n\n for (var i = 0; i < roots.length && !path; i++) {\n var root = roots[i];\n\n // resolve the path\n var loc = resolve(root, name);\n var dir = dirname(loc);\n var file = basename(loc);\n\n // resolve the file\n path = this.resolve(dir, file);\n }\n\n return path;\n};\n\n/**\n * Render with the given options.\n *\n * @param {object} options\n * @param {function} callback\n * @private\n */\n\nView.prototype.render = function render(options, callback) {\n debug('render \"%s\"', this.path);\n this.engine(this.path, options, callback);\n};\n\n/**\n * Resolve the file within the given directory.\n *\n * @param {string} dir\n * @param {string} file\n * @private\n */\n\nView.prototype.resolve = function resolve(dir, file) {\n var ext = this.ext;\n\n // .\n var path = join(dir, file);\n var stat = tryStat(path);\n\n if (stat && stat.isFile()) {\n return path;\n }\n\n // /index.\n path = join(dir, basename(file, ext), 'index' + ext);\n stat = tryStat(path);\n\n if (stat && stat.isFile()) {\n return path;\n }\n};\n\n/**\n * Return a stat, maybe.\n *\n * @param {string} path\n * @return {fs.Stats}\n * @private\n */\n\nfunction tryStat(path) {\n debug('stat \"%s\"', path);\n\n try {\n return fs.statSync(path);\n } catch (e) {\n return undefined;\n }\n}\n","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => [];\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"./node_modules/express/lib sync recursive\";\nmodule.exports = webpackEmptyContext;","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar __toString = Object.prototype.toString\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var dec = opt.decode || decode;\n\n var index = 0\n while (index < str.length) {\n var eqIdx = str.indexOf('=', index)\n\n // no more cookie pairs\n if (eqIdx === -1) {\n break\n }\n\n var endIdx = str.indexOf(';', index)\n\n if (endIdx === -1) {\n endIdx = str.length\n } else if (endIdx < eqIdx) {\n // backtrack on prior semicolon\n index = str.lastIndexOf(';', eqIdx - 1) + 1\n continue\n }\n\n var key = str.slice(index, eqIdx).trim()\n\n // only assign once\n if (undefined === obj[key]) {\n var val = str.slice(eqIdx + 1, endIdx).trim()\n\n // quoted values\n if (val.charCodeAt(0) === 0x22) {\n val = val.slice(1, -1)\n }\n\n obj[key] = tryDecode(val, dec);\n }\n\n index = endIdx + 1\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n var expires = opt.expires\n\n if (!isDate(expires) || isNaN(expires.valueOf())) {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + expires.toUTCString()\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.priority) {\n var priority = typeof opt.priority === 'string'\n ? opt.priority.toLowerCase()\n : opt.priority\n\n switch (priority) {\n case 'low':\n str += '; Priority=Low'\n break\n case 'medium':\n str += '; Priority=Medium'\n break\n case 'high':\n str += '; Priority=High'\n break\n default:\n throw new TypeError('option priority is invalid')\n }\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * URL-decode string value. Optimized to skip native call when no %.\n *\n * @param {string} str\n * @returns {string}\n */\n\nfunction decode (str) {\n return str.indexOf('%') !== -1\n ? decodeURIComponent(str)\n : str\n}\n\n/**\n * URL-encode value.\n *\n * @param {string} str\n * @returns {string}\n */\n\nfunction encode (val) {\n return encodeURIComponent(val)\n}\n\n/**\n * Determine if value is a Date.\n *\n * @param {*} val\n * @private\n */\n\nfunction isDate (val) {\n return __toString.call(val) === '[object Date]' ||\n val instanceof Date\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/*!\n * finalhandler\n * Copyright(c) 2014-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar debug = require('debug')('finalhandler')\nvar encodeUrl = require('encodeurl')\nvar escapeHtml = require('escape-html')\nvar onFinished = require('on-finished')\nvar parseUrl = require('parseurl')\nvar statuses = require('statuses')\nvar unpipe = require('unpipe')\n\n/**\n * Module variables.\n * @private\n */\n\nvar DOUBLE_SPACE_REGEXP = /\\x20{2}/g\nvar NEWLINE_REGEXP = /\\n/g\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) }\nvar isFinished = onFinished.isFinished\n\n/**\n * Create a minimal HTML document.\n *\n * @param {string} message\n * @private\n */\n\nfunction createHtmlDocument (message) {\n var body = escapeHtml(message)\n .replace(NEWLINE_REGEXP, '
')\n .replace(DOUBLE_SPACE_REGEXP, '  ')\n\n return '\\n' +\n '\\n' +\n '\\n' +\n '\\n' +\n 'Error\\n' +\n '\\n' +\n '\\n' +\n '
' + body + '
\\n' +\n '\\n' +\n '\\n'\n}\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = finalhandler\n\n/**\n * Create a function to handle the final response.\n *\n * @param {Request} req\n * @param {Response} res\n * @param {Object} [options]\n * @return {Function}\n * @public\n */\n\nfunction finalhandler (req, res, options) {\n var opts = options || {}\n\n // get environment\n var env = opts.env || process.env.NODE_ENV || 'development'\n\n // get error callback\n var onerror = opts.onerror\n\n return function (err) {\n var headers\n var msg\n var status\n\n // ignore 404 on in-flight response\n if (!err && headersSent(res)) {\n debug('cannot 404 after headers sent')\n return\n }\n\n // unhandled error\n if (err) {\n // respect status code from error\n status = getErrorStatusCode(err)\n\n if (status === undefined) {\n // fallback to status code on response\n status = getResponseStatusCode(res)\n } else {\n // respect headers from error\n headers = getErrorHeaders(err)\n }\n\n // get error message\n msg = getErrorMessage(err, status, env)\n } else {\n // not found\n status = 404\n msg = 'Cannot ' + req.method + ' ' + encodeUrl(getResourceName(req))\n }\n\n debug('default %s', status)\n\n // schedule onerror callback\n if (err && onerror) {\n defer(onerror, err, req, res)\n }\n\n // cannot actually respond\n if (headersSent(res)) {\n debug('cannot %d after headers sent', status)\n req.socket.destroy()\n return\n }\n\n // send response\n send(req, res, status, headers, msg)\n }\n}\n\n/**\n * Get headers from Error object.\n *\n * @param {Error} err\n * @return {object}\n * @private\n */\n\nfunction getErrorHeaders (err) {\n if (!err.headers || typeof err.headers !== 'object') {\n return undefined\n }\n\n var headers = Object.create(null)\n var keys = Object.keys(err.headers)\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]\n headers[key] = err.headers[key]\n }\n\n return headers\n}\n\n/**\n * Get message from Error object, fallback to status message.\n *\n * @param {Error} err\n * @param {number} status\n * @param {string} env\n * @return {string}\n * @private\n */\n\nfunction getErrorMessage (err, status, env) {\n var msg\n\n if (env !== 'production') {\n // use err.stack, which typically includes err.message\n msg = err.stack\n\n // fallback to err.toString() when possible\n if (!msg && typeof err.toString === 'function') {\n msg = err.toString()\n }\n }\n\n return msg || statuses.message[status]\n}\n\n/**\n * Get status code from Error object.\n *\n * @param {Error} err\n * @return {number}\n * @private\n */\n\nfunction getErrorStatusCode (err) {\n // check err.status\n if (typeof err.status === 'number' && err.status >= 400 && err.status < 600) {\n return err.status\n }\n\n // check err.statusCode\n if (typeof err.statusCode === 'number' && err.statusCode >= 400 && err.statusCode < 600) {\n return err.statusCode\n }\n\n return undefined\n}\n\n/**\n * Get resource name for the request.\n *\n * This is typically just the original pathname of the request\n * but will fallback to \"resource\" is that cannot be determined.\n *\n * @param {IncomingMessage} req\n * @return {string}\n * @private\n */\n\nfunction getResourceName (req) {\n try {\n return parseUrl.original(req).pathname\n } catch (e) {\n return 'resource'\n }\n}\n\n/**\n * Get status code from response.\n *\n * @param {OutgoingMessage} res\n * @return {number}\n * @private\n */\n\nfunction getResponseStatusCode (res) {\n var status = res.statusCode\n\n // default status code to 500 if outside valid range\n if (typeof status !== 'number' || status < 400 || status > 599) {\n status = 500\n }\n\n return status\n}\n\n/**\n * Determine if the response headers have been sent.\n *\n * @param {object} res\n * @returns {boolean}\n * @private\n */\n\nfunction headersSent (res) {\n return typeof res.headersSent !== 'boolean'\n ? Boolean(res._header)\n : res.headersSent\n}\n\n/**\n * Send response.\n *\n * @param {IncomingMessage} req\n * @param {OutgoingMessage} res\n * @param {number} status\n * @param {object} headers\n * @param {string} message\n * @private\n */\n\nfunction send (req, res, status, headers, message) {\n function write () {\n // response body\n var body = createHtmlDocument(message)\n\n // response status\n res.statusCode = status\n res.statusMessage = statuses.message[status]\n\n // remove any content headers\n res.removeHeader('Content-Encoding')\n res.removeHeader('Content-Language')\n res.removeHeader('Content-Range')\n\n // response headers\n setHeaders(res, headers)\n\n // security headers\n res.setHeader('Content-Security-Policy', \"default-src 'none'\")\n res.setHeader('X-Content-Type-Options', 'nosniff')\n\n // standard headers\n res.setHeader('Content-Type', 'text/html; charset=utf-8')\n res.setHeader('Content-Length', Buffer.byteLength(body, 'utf8'))\n\n if (req.method === 'HEAD') {\n res.end()\n return\n }\n\n res.end(body, 'utf8')\n }\n\n if (isFinished(req)) {\n write()\n return\n }\n\n // unpipe everything from the request\n unpipe(req)\n\n // flush the request\n onFinished(req, write)\n req.resume()\n}\n\n/**\n * Set response headers from an object.\n *\n * @param {OutgoingMessage} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeaders (res, headers) {\n if (!headers) {\n return\n }\n\n var keys = Object.keys(headers)\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]\n res.setHeader(key, headers[key])\n }\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","/*!\n * forwarded\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = forwarded\n\n/**\n * Get all addresses in the request, using the `X-Forwarded-For` header.\n *\n * @param {object} req\n * @return {array}\n * @public\n */\n\nfunction forwarded (req) {\n if (!req) {\n throw new TypeError('argument req is required')\n }\n\n // simple header parsing\n var proxyAddrs = parse(req.headers['x-forwarded-for'] || '')\n var socketAddr = getSocketAddr(req)\n var addrs = [socketAddr].concat(proxyAddrs)\n\n // return all addresses\n return addrs\n}\n\n/**\n * Get the socket address for a request.\n *\n * @param {object} req\n * @return {string}\n * @private\n */\n\nfunction getSocketAddr (req) {\n return req.socket\n ? req.socket.remoteAddress\n : req.connection.remoteAddress\n}\n\n/**\n * Parse the X-Forwarded-For header.\n *\n * @param {string} header\n * @private\n */\n\nfunction parse (header) {\n var end = header.length\n var list = []\n var start = header.length\n\n // gather addresses, backwards\n for (var i = header.length - 1; i >= 0; i--) {\n switch (header.charCodeAt(i)) {\n case 0x20: /* */\n if (start === end) {\n start = end = i\n }\n break\n case 0x2c: /* , */\n if (start !== end) {\n list.push(header.substring(start, end))\n }\n start = end = i\n break\n default:\n start = i\n break\n }\n }\n\n // final address\n if (start !== end) {\n list.push(header.substring(start, end))\n }\n\n return list\n}\n","/*!\n * fresh\n * Copyright(c) 2012 TJ Holowaychuk\n * Copyright(c) 2016-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * RegExp to check for no-cache token in Cache-Control.\n * @private\n */\n\nvar CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\\s*?no-cache\\s*?(?:,|$)/\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = fresh\n\n/**\n * Check freshness of the response using request and response headers.\n *\n * @param {Object} reqHeaders\n * @param {Object} resHeaders\n * @return {Boolean}\n * @public\n */\n\nfunction fresh (reqHeaders, resHeaders) {\n // fields\n var modifiedSince = reqHeaders['if-modified-since']\n var noneMatch = reqHeaders['if-none-match']\n\n // unconditional request\n if (!modifiedSince && !noneMatch) {\n return false\n }\n\n // Always return stale when Cache-Control: no-cache\n // to support end-to-end reload requests\n // https://tools.ietf.org/html/rfc2616#section-14.9.4\n var cacheControl = reqHeaders['cache-control']\n if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) {\n return false\n }\n\n // if-none-match\n if (noneMatch && noneMatch !== '*') {\n var etag = resHeaders['etag']\n\n if (!etag) {\n return false\n }\n\n var etagStale = true\n var matches = parseTokenList(noneMatch)\n for (var i = 0; i < matches.length; i++) {\n var match = matches[i]\n if (match === etag || match === 'W/' + etag || 'W/' + match === etag) {\n etagStale = false\n break\n }\n }\n\n if (etagStale) {\n return false\n }\n }\n\n // if-modified-since\n if (modifiedSince) {\n var lastModified = resHeaders['last-modified']\n var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince))\n\n if (modifiedStale) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * Parse an HTTP Date into a number.\n *\n * @param {string} date\n * @private\n */\n\nfunction parseHttpDate (date) {\n var timestamp = date && Date.parse(date)\n\n // istanbul ignore next: guard against date.js Date.parse patching\n return typeof timestamp === 'number'\n ? timestamp\n : NaN\n}\n\n/**\n * Parse a HTTP token list.\n *\n * @param {string} str\n * @private\n */\n\nfunction parseTokenList (str) {\n var end = 0\n var list = []\n var start = 0\n\n // gather tokens\n for (var i = 0, len = str.length; i < len; i++) {\n switch (str.charCodeAt(i)) {\n case 0x20: /* */\n if (start === end) {\n start = end = i + 1\n }\n break\n case 0x2c: /* , */\n list.push(str.substring(start, end))\n start = end = i + 1\n break\n default:\n end = i + 1\n break\n }\n }\n\n // final token\n list.push(str.substring(start, end))\n\n return list\n}\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\nmodule.exports = (flag, argv) => {\n\targv = argv || process.argv;\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst pos = argv.indexOf(prefix + flag);\n\tconst terminatorPos = argv.indexOf('--');\n\treturn pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","/*!\n * http-errors\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar deprecate = require('depd')('http-errors')\nvar setPrototypeOf = require('setprototypeof')\nvar statuses = require('statuses')\nvar inherits = require('inherits')\nvar toIdentifier = require('toidentifier')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = createError\nmodule.exports.HttpError = createHttpErrorConstructor()\nmodule.exports.isHttpError = createIsHttpErrorFunction(module.exports.HttpError)\n\n// Populate exports for all constructors\npopulateConstructorExports(module.exports, statuses.codes, module.exports.HttpError)\n\n/**\n * Get the code class of a status code.\n * @private\n */\n\nfunction codeClass (status) {\n return Number(String(status).charAt(0) + '00')\n}\n\n/**\n * Create a new HTTP Error.\n *\n * @returns {Error}\n * @public\n */\n\nfunction createError () {\n // so much arity going on ~_~\n var err\n var msg\n var status = 500\n var props = {}\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i]\n var type = typeof arg\n if (type === 'object' && arg instanceof Error) {\n err = arg\n status = err.status || err.statusCode || status\n } else if (type === 'number' && i === 0) {\n status = arg\n } else if (type === 'string') {\n msg = arg\n } else if (type === 'object') {\n props = arg\n } else {\n throw new TypeError('argument #' + (i + 1) + ' unsupported type ' + type)\n }\n }\n\n if (typeof status === 'number' && (status < 400 || status >= 600)) {\n deprecate('non-error status code; use only 4xx or 5xx status codes')\n }\n\n if (typeof status !== 'number' ||\n (!statuses.message[status] && (status < 400 || status >= 600))) {\n status = 500\n }\n\n // constructor\n var HttpError = createError[status] || createError[codeClass(status)]\n\n if (!err) {\n // create error\n err = HttpError\n ? new HttpError(msg)\n : new Error(msg || statuses.message[status])\n Error.captureStackTrace(err, createError)\n }\n\n if (!HttpError || !(err instanceof HttpError) || err.status !== status) {\n // add properties to generic error\n err.expose = status < 500\n err.status = err.statusCode = status\n }\n\n for (var key in props) {\n if (key !== 'status' && key !== 'statusCode') {\n err[key] = props[key]\n }\n }\n\n return err\n}\n\n/**\n * Create HTTP error abstract base class.\n * @private\n */\n\nfunction createHttpErrorConstructor () {\n function HttpError () {\n throw new TypeError('cannot construct abstract class')\n }\n\n inherits(HttpError, Error)\n\n return HttpError\n}\n\n/**\n * Create a constructor for a client error.\n * @private\n */\n\nfunction createClientErrorConstructor (HttpError, name, code) {\n var className = toClassName(name)\n\n function ClientError (message) {\n // create the error object\n var msg = message != null ? message : statuses.message[code]\n var err = new Error(msg)\n\n // capture a stack trace to the construction point\n Error.captureStackTrace(err, ClientError)\n\n // adjust the [[Prototype]]\n setPrototypeOf(err, ClientError.prototype)\n\n // redefine the error message\n Object.defineProperty(err, 'message', {\n enumerable: true,\n configurable: true,\n value: msg,\n writable: true\n })\n\n // redefine the error name\n Object.defineProperty(err, 'name', {\n enumerable: false,\n configurable: true,\n value: className,\n writable: true\n })\n\n return err\n }\n\n inherits(ClientError, HttpError)\n nameFunc(ClientError, className)\n\n ClientError.prototype.status = code\n ClientError.prototype.statusCode = code\n ClientError.prototype.expose = true\n\n return ClientError\n}\n\n/**\n * Create function to test is a value is a HttpError.\n * @private\n */\n\nfunction createIsHttpErrorFunction (HttpError) {\n return function isHttpError (val) {\n if (!val || typeof val !== 'object') {\n return false\n }\n\n if (val instanceof HttpError) {\n return true\n }\n\n return val instanceof Error &&\n typeof val.expose === 'boolean' &&\n typeof val.statusCode === 'number' && val.status === val.statusCode\n }\n}\n\n/**\n * Create a constructor for a server error.\n * @private\n */\n\nfunction createServerErrorConstructor (HttpError, name, code) {\n var className = toClassName(name)\n\n function ServerError (message) {\n // create the error object\n var msg = message != null ? message : statuses.message[code]\n var err = new Error(msg)\n\n // capture a stack trace to the construction point\n Error.captureStackTrace(err, ServerError)\n\n // adjust the [[Prototype]]\n setPrototypeOf(err, ServerError.prototype)\n\n // redefine the error message\n Object.defineProperty(err, 'message', {\n enumerable: true,\n configurable: true,\n value: msg,\n writable: true\n })\n\n // redefine the error name\n Object.defineProperty(err, 'name', {\n enumerable: false,\n configurable: true,\n value: className,\n writable: true\n })\n\n return err\n }\n\n inherits(ServerError, HttpError)\n nameFunc(ServerError, className)\n\n ServerError.prototype.status = code\n ServerError.prototype.statusCode = code\n ServerError.prototype.expose = false\n\n return ServerError\n}\n\n/**\n * Set the name of a function, if possible.\n * @private\n */\n\nfunction nameFunc (func, name) {\n var desc = Object.getOwnPropertyDescriptor(func, 'name')\n\n if (desc && desc.configurable) {\n desc.value = name\n Object.defineProperty(func, 'name', desc)\n }\n}\n\n/**\n * Populate the exports object with constructors for every error class.\n * @private\n */\n\nfunction populateConstructorExports (exports, codes, HttpError) {\n codes.forEach(function forEachCode (code) {\n var CodeError\n var name = toIdentifier(statuses.message[code])\n\n switch (codeClass(code)) {\n case 400:\n CodeError = createClientErrorConstructor(HttpError, name, code)\n break\n case 500:\n CodeError = createServerErrorConstructor(HttpError, name, code)\n break\n }\n\n if (CodeError) {\n // export the constructor\n exports[code] = CodeError\n exports[name] = CodeError\n }\n })\n}\n\n/**\n * Get a class name from a name identifier.\n * @private\n */\n\nfunction toClassName (name) {\n return name.substr(-5) !== 'Error'\n ? name + 'Error'\n : name\n}\n","\"use strict\";\nvar Buffer = require(\"safer-buffer\").Buffer;\n\n// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.\n// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.\n// To save memory and loading time, we read table files only when requested.\n\nexports._dbcs = DBCSCodec;\n\nvar UNASSIGNED = -1,\n GB18030_CODE = -2,\n SEQ_START = -10,\n NODE_START = -1000,\n UNASSIGNED_NODE = new Array(0x100),\n DEF_CHAR = -1;\n\nfor (var i = 0; i < 0x100; i++)\n UNASSIGNED_NODE[i] = UNASSIGNED;\n\n\n// Class DBCSCodec reads and initializes mapping tables.\nfunction DBCSCodec(codecOptions, iconv) {\n this.encodingName = codecOptions.encodingName;\n if (!codecOptions)\n throw new Error(\"DBCS codec is called without the data.\")\n if (!codecOptions.table)\n throw new Error(\"Encoding '\" + this.encodingName + \"' has no data.\");\n\n // Load tables.\n var mappingTable = codecOptions.table();\n\n\n // Decode tables: MBCS -> Unicode.\n\n // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256.\n // Trie root is decodeTables[0].\n // Values: >= 0 -> unicode character code. can be > 0xFFFF\n // == UNASSIGNED -> unknown/unassigned sequence.\n // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence.\n // <= NODE_START -> index of the next node in our trie to process next byte.\n // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq.\n this.decodeTables = [];\n this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node.\n\n // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. \n this.decodeTableSeq = [];\n\n // Actual mapping tables consist of chunks. Use them to fill up decode tables.\n for (var i = 0; i < mappingTable.length; i++)\n this._addDecodeChunk(mappingTable[i]);\n\n this.defaultCharUnicode = iconv.defaultCharUnicode;\n\n \n // Encode tables: Unicode -> DBCS.\n\n // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance.\n // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null.\n // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.).\n // == UNASSIGNED -> no conversion found. Output a default char.\n // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence.\n this.encodeTable = [];\n \n // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of\n // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key\n // means end of sequence (needed when one sequence is a strict subsequence of another).\n // Objects are kept separately from encodeTable to increase performance.\n this.encodeTableSeq = [];\n\n // Some chars can be decoded, but need not be encoded.\n var skipEncodeChars = {};\n if (codecOptions.encodeSkipVals)\n for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {\n var val = codecOptions.encodeSkipVals[i];\n if (typeof val === 'number')\n skipEncodeChars[val] = true;\n else\n for (var j = val.from; j <= val.to; j++)\n skipEncodeChars[j] = true;\n }\n \n // Use decode trie to recursively fill out encode tables.\n this._fillEncodeTable(0, 0, skipEncodeChars);\n\n // Add more encoding pairs when needed.\n if (codecOptions.encodeAdd) {\n for (var uChar in codecOptions.encodeAdd)\n if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))\n this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]);\n }\n\n this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)];\n if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?'];\n if (this.defCharSB === UNASSIGNED) this.defCharSB = \"?\".charCodeAt(0);\n\n\n // Load & create GB18030 tables when needed.\n if (typeof codecOptions.gb18030 === 'function') {\n this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges.\n\n // Add GB18030 decode tables.\n var thirdByteNodeIdx = this.decodeTables.length;\n var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0);\n\n var fourthByteNodeIdx = this.decodeTables.length;\n var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0);\n\n for (var i = 0x81; i <= 0xFE; i++) {\n var secondByteNodeIdx = NODE_START - this.decodeTables[0][i];\n var secondByteNode = this.decodeTables[secondByteNodeIdx];\n for (var j = 0x30; j <= 0x39; j++)\n secondByteNode[j] = NODE_START - thirdByteNodeIdx;\n }\n for (var i = 0x81; i <= 0xFE; i++)\n thirdByteNode[i] = NODE_START - fourthByteNodeIdx;\n for (var i = 0x30; i <= 0x39; i++)\n fourthByteNode[i] = GB18030_CODE\n } \n}\n\nDBCSCodec.prototype.encoder = DBCSEncoder;\nDBCSCodec.prototype.decoder = DBCSDecoder;\n\n// Decoder helpers\nDBCSCodec.prototype._getDecodeTrieNode = function(addr) {\n var bytes = [];\n for (; addr > 0; addr >>= 8)\n bytes.push(addr & 0xFF);\n if (bytes.length == 0)\n bytes.push(0);\n\n var node = this.decodeTables[0];\n for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie.\n var val = node[bytes[i]];\n\n if (val == UNASSIGNED) { // Create new node.\n node[bytes[i]] = NODE_START - this.decodeTables.length;\n this.decodeTables.push(node = UNASSIGNED_NODE.slice(0));\n }\n else if (val <= NODE_START) { // Existing node.\n node = this.decodeTables[NODE_START - val];\n }\n else\n throw new Error(\"Overwrite byte in \" + this.encodingName + \", addr: \" + addr.toString(16));\n }\n return node;\n}\n\n\nDBCSCodec.prototype._addDecodeChunk = function(chunk) {\n // First element of chunk is the hex mbcs code where we start.\n var curAddr = parseInt(chunk[0], 16);\n\n // Choose the decoding node where we'll write our chars.\n var writeTable = this._getDecodeTrieNode(curAddr);\n curAddr = curAddr & 0xFF;\n\n // Write all other elements of the chunk to the table.\n for (var k = 1; k < chunk.length; k++) {\n var part = chunk[k];\n if (typeof part === \"string\") { // String, write as-is.\n for (var l = 0; l < part.length;) {\n var code = part.charCodeAt(l++);\n if (0xD800 <= code && code < 0xDC00) { // Decode surrogate\n var codeTrail = part.charCodeAt(l++);\n if (0xDC00 <= codeTrail && codeTrail < 0xE000)\n writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00);\n else\n throw new Error(\"Incorrect surrogate pair in \" + this.encodingName + \" at chunk \" + chunk[0]);\n }\n else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used)\n var len = 0xFFF - code + 2;\n var seq = [];\n for (var m = 0; m < len; m++)\n seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq.\n\n writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length;\n this.decodeTableSeq.push(seq);\n }\n else\n writeTable[curAddr++] = code; // Basic char\n }\n } \n else if (typeof part === \"number\") { // Integer, meaning increasing sequence starting with prev character.\n var charCode = writeTable[curAddr - 1] + 1;\n for (var l = 0; l < part; l++)\n writeTable[curAddr++] = charCode++;\n }\n else\n throw new Error(\"Incorrect type '\" + typeof part + \"' given in \" + this.encodingName + \" at chunk \" + chunk[0]);\n }\n if (curAddr > 0xFF)\n throw new Error(\"Incorrect chunk in \" + this.encodingName + \" at addr \" + chunk[0] + \": too long\" + curAddr);\n}\n\n// Encoder helpers\nDBCSCodec.prototype._getEncodeBucket = function(uCode) {\n var high = uCode >> 8; // This could be > 0xFF because of astral characters.\n if (this.encodeTable[high] === undefined)\n this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand.\n return this.encodeTable[high];\n}\n\nDBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) {\n var bucket = this._getEncodeBucket(uCode);\n var low = uCode & 0xFF;\n if (bucket[low] <= SEQ_START)\n this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it.\n else if (bucket[low] == UNASSIGNED)\n bucket[low] = dbcsCode;\n}\n\nDBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) {\n \n // Get the root of character tree according to first character of the sequence.\n var uCode = seq[0];\n var bucket = this._getEncodeBucket(uCode);\n var low = uCode & 0xFF;\n\n var node;\n if (bucket[low] <= SEQ_START) {\n // There's already a sequence with - use it.\n node = this.encodeTableSeq[SEQ_START-bucket[low]];\n }\n else {\n // There was no sequence object - allocate a new one.\n node = {};\n if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence.\n bucket[low] = SEQ_START - this.encodeTableSeq.length;\n this.encodeTableSeq.push(node);\n }\n\n // Traverse the character tree, allocating new nodes as needed.\n for (var j = 1; j < seq.length-1; j++) {\n var oldVal = node[uCode];\n if (typeof oldVal === 'object')\n node = oldVal;\n else {\n node = node[uCode] = {}\n if (oldVal !== undefined)\n node[DEF_CHAR] = oldVal\n }\n }\n\n // Set the leaf to given dbcsCode.\n uCode = seq[seq.length-1];\n node[uCode] = dbcsCode;\n}\n\nDBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) {\n var node = this.decodeTables[nodeIdx];\n for (var i = 0; i < 0x100; i++) {\n var uCode = node[i];\n var mbCode = prefix + i;\n if (skipEncodeChars[mbCode])\n continue;\n\n if (uCode >= 0)\n this._setEncodeChar(uCode, mbCode);\n else if (uCode <= NODE_START)\n this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars);\n else if (uCode <= SEQ_START)\n this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode);\n }\n}\n\n\n\n// == Encoder ==================================================================\n\nfunction DBCSEncoder(options, codec) {\n // Encoder state\n this.leadSurrogate = -1;\n this.seqObj = undefined;\n \n // Static data\n this.encodeTable = codec.encodeTable;\n this.encodeTableSeq = codec.encodeTableSeq;\n this.defaultCharSingleByte = codec.defCharSB;\n this.gb18030 = codec.gb18030;\n}\n\nDBCSEncoder.prototype.write = function(str) {\n var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)),\n leadSurrogate = this.leadSurrogate,\n seqObj = this.seqObj, nextChar = -1,\n i = 0, j = 0;\n\n while (true) {\n // 0. Get next character.\n if (nextChar === -1) {\n if (i == str.length) break;\n var uCode = str.charCodeAt(i++);\n }\n else {\n var uCode = nextChar;\n nextChar = -1; \n }\n\n // 1. Handle surrogates.\n if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates.\n if (uCode < 0xDC00) { // We've got lead surrogate.\n if (leadSurrogate === -1) {\n leadSurrogate = uCode;\n continue;\n } else {\n leadSurrogate = uCode;\n // Double lead surrogate found.\n uCode = UNASSIGNED;\n }\n } else { // We've got trail surrogate.\n if (leadSurrogate !== -1) {\n uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00);\n leadSurrogate = -1;\n } else {\n // Incomplete surrogate pair - only trail surrogate found.\n uCode = UNASSIGNED;\n }\n \n }\n }\n else if (leadSurrogate !== -1) {\n // Incomplete surrogate pair - only lead surrogate found.\n nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char.\n leadSurrogate = -1;\n }\n\n // 2. Convert uCode character.\n var dbcsCode = UNASSIGNED;\n if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence\n var resCode = seqObj[uCode];\n if (typeof resCode === 'object') { // Sequence continues.\n seqObj = resCode;\n continue;\n\n } else if (typeof resCode == 'number') { // Sequence finished. Write it.\n dbcsCode = resCode;\n\n } else if (resCode == undefined) { // Current character is not part of the sequence.\n\n // Try default character for this sequence\n resCode = seqObj[DEF_CHAR];\n if (resCode !== undefined) {\n dbcsCode = resCode; // Found. Write it.\n nextChar = uCode; // Current character will be written too in the next iteration.\n\n } else {\n // TODO: What if we have no default? (resCode == undefined)\n // Then, we should write first char of the sequence as-is and try the rest recursively.\n // Didn't do it for now because no encoding has this situation yet.\n // Currently, just skip the sequence and write current char.\n }\n }\n seqObj = undefined;\n }\n else if (uCode >= 0) { // Regular character\n var subtable = this.encodeTable[uCode >> 8];\n if (subtable !== undefined)\n dbcsCode = subtable[uCode & 0xFF];\n \n if (dbcsCode <= SEQ_START) { // Sequence start\n seqObj = this.encodeTableSeq[SEQ_START-dbcsCode];\n continue;\n }\n\n if (dbcsCode == UNASSIGNED && this.gb18030) {\n // Use GB18030 algorithm to find character(s) to write.\n var idx = findIdx(this.gb18030.uChars, uCode);\n if (idx != -1) {\n var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]);\n newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600;\n newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260;\n newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10;\n newBuf[j++] = 0x30 + dbcsCode;\n continue;\n }\n }\n }\n\n // 3. Write dbcsCode character.\n if (dbcsCode === UNASSIGNED)\n dbcsCode = this.defaultCharSingleByte;\n \n if (dbcsCode < 0x100) {\n newBuf[j++] = dbcsCode;\n }\n else if (dbcsCode < 0x10000) {\n newBuf[j++] = dbcsCode >> 8; // high byte\n newBuf[j++] = dbcsCode & 0xFF; // low byte\n }\n else {\n newBuf[j++] = dbcsCode >> 16;\n newBuf[j++] = (dbcsCode >> 8) & 0xFF;\n newBuf[j++] = dbcsCode & 0xFF;\n }\n }\n\n this.seqObj = seqObj;\n this.leadSurrogate = leadSurrogate;\n return newBuf.slice(0, j);\n}\n\nDBCSEncoder.prototype.end = function() {\n if (this.leadSurrogate === -1 && this.seqObj === undefined)\n return; // All clean. Most often case.\n\n var newBuf = Buffer.alloc(10), j = 0;\n\n if (this.seqObj) { // We're in the sequence.\n var dbcsCode = this.seqObj[DEF_CHAR];\n if (dbcsCode !== undefined) { // Write beginning of the sequence.\n if (dbcsCode < 0x100) {\n newBuf[j++] = dbcsCode;\n }\n else {\n newBuf[j++] = dbcsCode >> 8; // high byte\n newBuf[j++] = dbcsCode & 0xFF; // low byte\n }\n } else {\n // See todo above.\n }\n this.seqObj = undefined;\n }\n\n if (this.leadSurrogate !== -1) {\n // Incomplete surrogate pair - only lead surrogate found.\n newBuf[j++] = this.defaultCharSingleByte;\n this.leadSurrogate = -1;\n }\n \n return newBuf.slice(0, j);\n}\n\n// Export for testing\nDBCSEncoder.prototype.findIdx = findIdx;\n\n\n// == Decoder ==================================================================\n\nfunction DBCSDecoder(options, codec) {\n // Decoder state\n this.nodeIdx = 0;\n this.prevBuf = Buffer.alloc(0);\n\n // Static data\n this.decodeTables = codec.decodeTables;\n this.decodeTableSeq = codec.decodeTableSeq;\n this.defaultCharUnicode = codec.defaultCharUnicode;\n this.gb18030 = codec.gb18030;\n}\n\nDBCSDecoder.prototype.write = function(buf) {\n var newBuf = Buffer.alloc(buf.length*2),\n nodeIdx = this.nodeIdx, \n prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length,\n seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence.\n uCode;\n\n if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later.\n prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]);\n \n for (var i = 0, j = 0; i < buf.length; i++) {\n var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset];\n\n // Lookup in current trie node.\n var uCode = this.decodeTables[nodeIdx][curByte];\n\n if (uCode >= 0) { \n // Normal character, just use it.\n }\n else if (uCode === UNASSIGNED) { // Unknown char.\n // TODO: Callback with seq.\n //var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);\n i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle).\n uCode = this.defaultCharUnicode.charCodeAt(0);\n }\n else if (uCode === GB18030_CODE) {\n var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);\n var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30);\n var idx = findIdx(this.gb18030.gbChars, ptr);\n uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx];\n }\n else if (uCode <= NODE_START) { // Go to next trie node.\n nodeIdx = NODE_START - uCode;\n continue;\n }\n else if (uCode <= SEQ_START) { // Output a sequence of chars.\n var seq = this.decodeTableSeq[SEQ_START - uCode];\n for (var k = 0; k < seq.length - 1; k++) {\n uCode = seq[k];\n newBuf[j++] = uCode & 0xFF;\n newBuf[j++] = uCode >> 8;\n }\n uCode = seq[seq.length-1];\n }\n else\n throw new Error(\"iconv-lite internal error: invalid decoding table value \" + uCode + \" at \" + nodeIdx + \"/\" + curByte);\n\n // Write the character to buffer, handling higher planes using surrogate pair.\n if (uCode > 0xFFFF) { \n uCode -= 0x10000;\n var uCodeLead = 0xD800 + Math.floor(uCode / 0x400);\n newBuf[j++] = uCodeLead & 0xFF;\n newBuf[j++] = uCodeLead >> 8;\n\n uCode = 0xDC00 + uCode % 0x400;\n }\n newBuf[j++] = uCode & 0xFF;\n newBuf[j++] = uCode >> 8;\n\n // Reset trie node.\n nodeIdx = 0; seqStart = i+1;\n }\n\n this.nodeIdx = nodeIdx;\n this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset);\n return newBuf.slice(0, j).toString('ucs2');\n}\n\nDBCSDecoder.prototype.end = function() {\n var ret = '';\n\n // Try to parse all remaining chars.\n while (this.prevBuf.length > 0) {\n // Skip 1 character in the buffer.\n ret += this.defaultCharUnicode;\n var buf = this.prevBuf.slice(1);\n\n // Parse remaining as usual.\n this.prevBuf = Buffer.alloc(0);\n this.nodeIdx = 0;\n if (buf.length > 0)\n ret += this.write(buf);\n }\n\n this.nodeIdx = 0;\n return ret;\n}\n\n// Binary search for GB18030. Returns largest i such that table[i] <= val.\nfunction findIdx(table, val) {\n if (table[0] > val)\n return -1;\n\n var l = 0, r = table.length;\n while (l < r-1) { // always table[l] <= val < table[r]\n var mid = l + Math.floor((r-l+1)/2);\n if (table[mid] <= val)\n l = mid;\n else\n r = mid;\n }\n return l;\n}\n\n","\"use strict\";\n\n// Description of supported double byte encodings and aliases.\n// Tables are not require()-d until they are needed to speed up library load.\n// require()-s are direct to support Browserify.\n\nmodule.exports = {\n \n // == Japanese/ShiftJIS ====================================================\n // All japanese encodings are based on JIS X set of standards:\n // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.\n // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. \n // Has several variations in 1978, 1983, 1990 and 1997.\n // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead.\n // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233.\n // 2 planes, first is superset of 0208, second - revised 0212.\n // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)\n\n // Byte encodings are:\n // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte\n // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC.\n // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI.\n // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes.\n // 0x00-0x7F - lower part of 0201\n // 0x8E, 0xA1-0xDF - upper part of 0201\n // (0xA1-0xFE)x2 - 0208 plane (94x94).\n // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94).\n // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon.\n // Used as-is in ISO2022 family.\n // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, \n // 0201-1976 Roman, 0208-1978, 0208-1983.\n // * ISO2022-JP-1: Adds esc seq for 0212-1990.\n // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7.\n // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2.\n // * ISO2022-JP-2004: Adds 0213-2004 Plane 1.\n //\n // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes.\n //\n // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html\n\n 'shiftjis': {\n type: '_dbcs',\n table: function() { return require('./tables/shiftjis.json') },\n encodeAdd: {'\\u00a5': 0x5C, '\\u203E': 0x7E},\n encodeSkipVals: [{from: 0xED40, to: 0xF940}],\n },\n 'csshiftjis': 'shiftjis',\n 'mskanji': 'shiftjis',\n 'sjis': 'shiftjis',\n 'windows31j': 'shiftjis',\n 'ms31j': 'shiftjis',\n 'xsjis': 'shiftjis',\n 'windows932': 'shiftjis',\n 'ms932': 'shiftjis',\n '932': 'shiftjis',\n 'cp932': 'shiftjis',\n\n 'eucjp': {\n type: '_dbcs',\n table: function() { return require('./tables/eucjp.json') },\n encodeAdd: {'\\u00a5': 0x5C, '\\u203E': 0x7E},\n },\n\n // TODO: KDDI extension to Shift_JIS\n // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes.\n // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars.\n\n\n // == Chinese/GBK ==========================================================\n // http://en.wikipedia.org/wiki/GBK\n // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder\n\n // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936\n 'gb2312': 'cp936',\n 'gb231280': 'cp936',\n 'gb23121980': 'cp936',\n 'csgb2312': 'cp936',\n 'csiso58gb231280': 'cp936',\n 'euccn': 'cp936',\n\n // Microsoft's CP936 is a subset and approximation of GBK.\n 'windows936': 'cp936',\n 'ms936': 'cp936',\n '936': 'cp936',\n 'cp936': {\n type: '_dbcs',\n table: function() { return require('./tables/cp936.json') },\n },\n\n // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other.\n 'gbk': {\n type: '_dbcs',\n table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },\n },\n 'xgbk': 'gbk',\n 'isoir58': 'gbk',\n\n // GB18030 is an algorithmic extension of GBK.\n // Main source: https://www.w3.org/TR/encoding/#gbk-encoder\n // http://icu-project.org/docs/papers/gb18030.html\n // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml\n // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0\n 'gb18030': {\n type: '_dbcs',\n table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },\n gb18030: function() { return require('./tables/gb18030-ranges.json') },\n encodeSkipVals: [0x80],\n encodeAdd: {'€': 0xA2E3},\n },\n\n 'chinese': 'gb18030',\n\n\n // == Korean ===============================================================\n // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same.\n 'windows949': 'cp949',\n 'ms949': 'cp949',\n '949': 'cp949',\n 'cp949': {\n type: '_dbcs',\n table: function() { return require('./tables/cp949.json') },\n },\n\n 'cseuckr': 'cp949',\n 'csksc56011987': 'cp949',\n 'euckr': 'cp949',\n 'isoir149': 'cp949',\n 'korean': 'cp949',\n 'ksc56011987': 'cp949',\n 'ksc56011989': 'cp949',\n 'ksc5601': 'cp949',\n\n\n // == Big5/Taiwan/Hong Kong ================================================\n // There are lots of tables for Big5 and cp950. Please see the following links for history:\n // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html\n // Variations, in roughly number of defined chars:\n // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT\n // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/\n // * Big5-2003 (Taiwan standard) almost superset of cp950.\n // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers.\n // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. \n // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years.\n // Plus, it has 4 combining sequences.\n // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299\n // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way.\n // Implementations are not consistent within browsers; sometimes labeled as just big5.\n // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied.\n // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31\n // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s.\n // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt\n // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt\n // \n // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder\n // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong.\n\n 'windows950': 'cp950',\n 'ms950': 'cp950',\n '950': 'cp950',\n 'cp950': {\n type: '_dbcs',\n table: function() { return require('./tables/cp950.json') },\n },\n\n // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus.\n 'big5': 'big5hkscs',\n 'big5hkscs': {\n type: '_dbcs',\n table: function() { return require('./tables/cp950.json').concat(require('./tables/big5-added.json')) },\n encodeSkipVals: [0xa2cc],\n },\n\n 'cnbig5': 'big5hkscs',\n 'csbig5': 'big5hkscs',\n 'xxbig5': 'big5hkscs',\n};\n","\"use strict\";\n\n// Update this array if you add/rename/remove files in this directory.\n// We support Browserify by skipping automatic module discovery and requiring modules directly.\nvar modules = [\n require(\"./internal\"),\n require(\"./utf16\"),\n require(\"./utf7\"),\n require(\"./sbcs-codec\"),\n require(\"./sbcs-data\"),\n require(\"./sbcs-data-generated\"),\n require(\"./dbcs-codec\"),\n require(\"./dbcs-data\"),\n];\n\n// Put all encoding/alias/codec definitions to single object and export it. \nfor (var i = 0; i < modules.length; i++) {\n var module = modules[i];\n for (var enc in module)\n if (Object.prototype.hasOwnProperty.call(module, enc))\n exports[enc] = module[enc];\n}\n","\"use strict\";\nvar Buffer = require(\"safer-buffer\").Buffer;\n\n// Export Node.js internal encodings.\n\nmodule.exports = {\n // Encodings\n utf8: { type: \"_internal\", bomAware: true},\n cesu8: { type: \"_internal\", bomAware: true},\n unicode11utf8: \"utf8\",\n\n ucs2: { type: \"_internal\", bomAware: true},\n utf16le: \"ucs2\",\n\n binary: { type: \"_internal\" },\n base64: { type: \"_internal\" },\n hex: { type: \"_internal\" },\n\n // Codec.\n _internal: InternalCodec,\n};\n\n//------------------------------------------------------------------------------\n\nfunction InternalCodec(codecOptions, iconv) {\n this.enc = codecOptions.encodingName;\n this.bomAware = codecOptions.bomAware;\n\n if (this.enc === \"base64\")\n this.encoder = InternalEncoderBase64;\n else if (this.enc === \"cesu8\") {\n this.enc = \"utf8\"; // Use utf8 for decoding.\n this.encoder = InternalEncoderCesu8;\n\n // Add decoder for versions of Node not supporting CESU-8\n if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') {\n this.decoder = InternalDecoderCesu8;\n this.defaultCharUnicode = iconv.defaultCharUnicode;\n }\n }\n}\n\nInternalCodec.prototype.encoder = InternalEncoder;\nInternalCodec.prototype.decoder = InternalDecoder;\n\n//------------------------------------------------------------------------------\n\n// We use node.js internal decoder. Its signature is the same as ours.\nvar StringDecoder = require('string_decoder').StringDecoder;\n\nif (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method.\n StringDecoder.prototype.end = function() {};\n\n\nfunction InternalDecoder(options, codec) {\n StringDecoder.call(this, codec.enc);\n}\n\nInternalDecoder.prototype = StringDecoder.prototype;\n\n\n//------------------------------------------------------------------------------\n// Encoder is mostly trivial\n\nfunction InternalEncoder(options, codec) {\n this.enc = codec.enc;\n}\n\nInternalEncoder.prototype.write = function(str) {\n return Buffer.from(str, this.enc);\n}\n\nInternalEncoder.prototype.end = function() {\n}\n\n\n//------------------------------------------------------------------------------\n// Except base64 encoder, which must keep its state.\n\nfunction InternalEncoderBase64(options, codec) {\n this.prevStr = '';\n}\n\nInternalEncoderBase64.prototype.write = function(str) {\n str = this.prevStr + str;\n var completeQuads = str.length - (str.length % 4);\n this.prevStr = str.slice(completeQuads);\n str = str.slice(0, completeQuads);\n\n return Buffer.from(str, \"base64\");\n}\n\nInternalEncoderBase64.prototype.end = function() {\n return Buffer.from(this.prevStr, \"base64\");\n}\n\n\n//------------------------------------------------------------------------------\n// CESU-8 encoder is also special.\n\nfunction InternalEncoderCesu8(options, codec) {\n}\n\nInternalEncoderCesu8.prototype.write = function(str) {\n var buf = Buffer.alloc(str.length * 3), bufIdx = 0;\n for (var i = 0; i < str.length; i++) {\n var charCode = str.charCodeAt(i);\n // Naive implementation, but it works because CESU-8 is especially easy\n // to convert from UTF-16 (which all JS strings are encoded in).\n if (charCode < 0x80)\n buf[bufIdx++] = charCode;\n else if (charCode < 0x800) {\n buf[bufIdx++] = 0xC0 + (charCode >>> 6);\n buf[bufIdx++] = 0x80 + (charCode & 0x3f);\n }\n else { // charCode will always be < 0x10000 in javascript.\n buf[bufIdx++] = 0xE0 + (charCode >>> 12);\n buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f);\n buf[bufIdx++] = 0x80 + (charCode & 0x3f);\n }\n }\n return buf.slice(0, bufIdx);\n}\n\nInternalEncoderCesu8.prototype.end = function() {\n}\n\n//------------------------------------------------------------------------------\n// CESU-8 decoder is not implemented in Node v4.0+\n\nfunction InternalDecoderCesu8(options, codec) {\n this.acc = 0;\n this.contBytes = 0;\n this.accBytes = 0;\n this.defaultCharUnicode = codec.defaultCharUnicode;\n}\n\nInternalDecoderCesu8.prototype.write = function(buf) {\n var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, \n res = '';\n for (var i = 0; i < buf.length; i++) {\n var curByte = buf[i];\n if ((curByte & 0xC0) !== 0x80) { // Leading byte\n if (contBytes > 0) { // Previous code is invalid\n res += this.defaultCharUnicode;\n contBytes = 0;\n }\n\n if (curByte < 0x80) { // Single-byte code\n res += String.fromCharCode(curByte);\n } else if (curByte < 0xE0) { // Two-byte code\n acc = curByte & 0x1F;\n contBytes = 1; accBytes = 1;\n } else if (curByte < 0xF0) { // Three-byte code\n acc = curByte & 0x0F;\n contBytes = 2; accBytes = 1;\n } else { // Four or more are not supported for CESU-8.\n res += this.defaultCharUnicode;\n }\n } else { // Continuation byte\n if (contBytes > 0) { // We're waiting for it.\n acc = (acc << 6) | (curByte & 0x3f);\n contBytes--; accBytes++;\n if (contBytes === 0) {\n // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80)\n if (accBytes === 2 && acc < 0x80 && acc > 0)\n res += this.defaultCharUnicode;\n else if (accBytes === 3 && acc < 0x800)\n res += this.defaultCharUnicode;\n else\n // Actually add character.\n res += String.fromCharCode(acc);\n }\n } else { // Unexpected continuation byte\n res += this.defaultCharUnicode;\n }\n }\n }\n this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes;\n return res;\n}\n\nInternalDecoderCesu8.prototype.end = function() {\n var res = 0;\n if (this.contBytes > 0)\n res += this.defaultCharUnicode;\n return res;\n}\n","\"use strict\";\nvar Buffer = require(\"safer-buffer\").Buffer;\n\n// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that\n// correspond to encoded bytes (if 128 - then lower half is ASCII). \n\nexports._sbcs = SBCSCodec;\nfunction SBCSCodec(codecOptions, iconv) {\n if (!codecOptions)\n throw new Error(\"SBCS codec is called without the data.\")\n \n // Prepare char buffer for decoding.\n if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256))\n throw new Error(\"Encoding '\"+codecOptions.type+\"' has incorrect 'chars' (must be of len 128 or 256)\");\n \n if (codecOptions.chars.length === 128) {\n var asciiString = \"\";\n for (var i = 0; i < 128; i++)\n asciiString += String.fromCharCode(i);\n codecOptions.chars = asciiString + codecOptions.chars;\n }\n\n this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2');\n \n // Encoding buffer.\n var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0));\n\n for (var i = 0; i < codecOptions.chars.length; i++)\n encodeBuf[codecOptions.chars.charCodeAt(i)] = i;\n\n this.encodeBuf = encodeBuf;\n}\n\nSBCSCodec.prototype.encoder = SBCSEncoder;\nSBCSCodec.prototype.decoder = SBCSDecoder;\n\n\nfunction SBCSEncoder(options, codec) {\n this.encodeBuf = codec.encodeBuf;\n}\n\nSBCSEncoder.prototype.write = function(str) {\n var buf = Buffer.alloc(str.length);\n for (var i = 0; i < str.length; i++)\n buf[i] = this.encodeBuf[str.charCodeAt(i)];\n \n return buf;\n}\n\nSBCSEncoder.prototype.end = function() {\n}\n\n\nfunction SBCSDecoder(options, codec) {\n this.decodeBuf = codec.decodeBuf;\n}\n\nSBCSDecoder.prototype.write = function(buf) {\n // Strings are immutable in JS -> we use ucs2 buffer to speed up computations.\n var decodeBuf = this.decodeBuf;\n var newBuf = Buffer.alloc(buf.length*2);\n var idx1 = 0, idx2 = 0;\n for (var i = 0; i < buf.length; i++) {\n idx1 = buf[i]*2; idx2 = i*2;\n newBuf[idx2] = decodeBuf[idx1];\n newBuf[idx2+1] = decodeBuf[idx1+1];\n }\n return newBuf.toString('ucs2');\n}\n\nSBCSDecoder.prototype.end = function() {\n}\n","\"use strict\";\n\n// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script.\nmodule.exports = {\n \"437\": \"cp437\",\n \"737\": \"cp737\",\n \"775\": \"cp775\",\n \"850\": \"cp850\",\n \"852\": \"cp852\",\n \"855\": \"cp855\",\n \"856\": \"cp856\",\n \"857\": \"cp857\",\n \"858\": \"cp858\",\n \"860\": \"cp860\",\n \"861\": \"cp861\",\n \"862\": \"cp862\",\n \"863\": \"cp863\",\n \"864\": \"cp864\",\n \"865\": \"cp865\",\n \"866\": \"cp866\",\n \"869\": \"cp869\",\n \"874\": \"windows874\",\n \"922\": \"cp922\",\n \"1046\": \"cp1046\",\n \"1124\": \"cp1124\",\n \"1125\": \"cp1125\",\n \"1129\": \"cp1129\",\n \"1133\": \"cp1133\",\n \"1161\": \"cp1161\",\n \"1162\": \"cp1162\",\n \"1163\": \"cp1163\",\n \"1250\": \"windows1250\",\n \"1251\": \"windows1251\",\n \"1252\": \"windows1252\",\n \"1253\": \"windows1253\",\n \"1254\": \"windows1254\",\n \"1255\": \"windows1255\",\n \"1256\": \"windows1256\",\n \"1257\": \"windows1257\",\n \"1258\": \"windows1258\",\n \"28591\": \"iso88591\",\n \"28592\": \"iso88592\",\n \"28593\": \"iso88593\",\n \"28594\": \"iso88594\",\n \"28595\": \"iso88595\",\n \"28596\": \"iso88596\",\n \"28597\": \"iso88597\",\n \"28598\": \"iso88598\",\n \"28599\": \"iso88599\",\n \"28600\": \"iso885910\",\n \"28601\": \"iso885911\",\n \"28603\": \"iso885913\",\n \"28604\": \"iso885914\",\n \"28605\": \"iso885915\",\n \"28606\": \"iso885916\",\n \"windows874\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����\"\n },\n \"win874\": \"windows874\",\n \"cp874\": \"windows874\",\n \"windows1250\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙\"\n },\n \"win1250\": \"windows1250\",\n \"cp1250\": \"windows1250\",\n \"windows1251\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя\"\n },\n \"win1251\": \"windows1251\",\n \"cp1251\": \"windows1251\",\n \"windows1252\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\"\n },\n \"win1252\": \"windows1252\",\n \"cp1252\": \"windows1252\",\n \"windows1253\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�\"\n },\n \"win1253\": \"windows1253\",\n \"cp1253\": \"windows1253\",\n \"windows1254\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ\"\n },\n \"win1254\": \"windows1254\",\n \"cp1254\": \"windows1254\",\n \"windows1255\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�\"\n },\n \"win1255\": \"windows1255\",\n \"cp1255\": \"windows1255\",\n \"windows1256\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے\"\n },\n \"win1256\": \"windows1256\",\n \"cp1256\": \"windows1256\",\n \"windows1257\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙\"\n },\n \"win1257\": \"windows1257\",\n \"cp1257\": \"windows1257\",\n \"windows1258\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ\"\n },\n \"win1258\": \"windows1258\",\n \"cp1258\": \"windows1258\",\n \"iso88591\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\"\n },\n \"cp28591\": \"iso88591\",\n \"iso88592\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙\"\n },\n \"cp28592\": \"iso88592\",\n \"iso88593\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙\"\n },\n \"cp28593\": \"iso88593\",\n \"iso88594\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙\"\n },\n \"cp28594\": \"iso88594\",\n \"iso88595\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ\"\n },\n \"cp28595\": \"iso88595\",\n \"iso88596\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������\"\n },\n \"cp28596\": \"iso88596\",\n \"iso88597\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�\"\n },\n \"cp28597\": \"iso88597\",\n \"iso88598\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�\"\n },\n \"cp28598\": \"iso88598\",\n \"iso88599\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ\"\n },\n \"cp28599\": \"iso88599\",\n \"iso885910\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ\"\n },\n \"cp28600\": \"iso885910\",\n \"iso885911\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����\"\n },\n \"cp28601\": \"iso885911\",\n \"iso885913\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’\"\n },\n \"cp28603\": \"iso885913\",\n \"iso885914\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ\"\n },\n \"cp28604\": \"iso885914\",\n \"iso885915\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\"\n },\n \"cp28605\": \"iso885915\",\n \"iso885916\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ\"\n },\n \"cp28606\": \"iso885916\",\n \"cp437\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm437\": \"cp437\",\n \"csibm437\": \"cp437\",\n \"cp737\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ \"\n },\n \"ibm737\": \"cp737\",\n \"csibm737\": \"cp737\",\n \"cp775\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ \"\n },\n \"ibm775\": \"cp775\",\n \"csibm775\": \"cp775\",\n \"cp850\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ \"\n },\n \"ibm850\": \"cp850\",\n \"csibm850\": \"cp850\",\n \"cp852\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ \"\n },\n \"ibm852\": \"cp852\",\n \"csibm852\": \"cp852\",\n \"cp855\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ \"\n },\n \"ibm855\": \"cp855\",\n \"csibm855\": \"cp855\",\n \"cp856\": {\n \"type\": \"_sbcs\",\n \"chars\": \"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ \"\n },\n \"ibm856\": \"cp856\",\n \"csibm856\": \"cp856\",\n \"cp857\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ \"\n },\n \"ibm857\": \"cp857\",\n \"csibm857\": \"cp857\",\n \"cp858\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ \"\n },\n \"ibm858\": \"cp858\",\n \"csibm858\": \"cp858\",\n \"cp860\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm860\": \"cp860\",\n \"csibm860\": \"cp860\",\n \"cp861\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm861\": \"cp861\",\n \"csibm861\": \"cp861\",\n \"cp862\": {\n \"type\": \"_sbcs\",\n \"chars\": \"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm862\": \"cp862\",\n \"csibm862\": \"cp862\",\n \"cp863\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm863\": \"cp863\",\n \"csibm863\": \"cp863\",\n \"cp864\": {\n \"type\": \"_sbcs\",\n \"chars\": \"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�\"\n },\n \"ibm864\": \"cp864\",\n \"csibm864\": \"cp864\",\n \"cp865\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n \"ibm865\": \"cp865\",\n \"csibm865\": \"cp865\",\n \"cp866\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ \"\n },\n \"ibm866\": \"cp866\",\n \"csibm866\": \"cp866\",\n \"cp869\": {\n \"type\": \"_sbcs\",\n \"chars\": \"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ \"\n },\n \"ibm869\": \"cp869\",\n \"csibm869\": \"cp869\",\n \"cp922\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ\"\n },\n \"ibm922\": \"cp922\",\n \"csibm922\": \"cp922\",\n \"cp1046\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�\"\n },\n \"ibm1046\": \"cp1046\",\n \"csibm1046\": \"cp1046\",\n \"cp1124\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ\"\n },\n \"ibm1124\": \"cp1124\",\n \"csibm1124\": \"cp1124\",\n \"cp1125\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ \"\n },\n \"ibm1125\": \"cp1125\",\n \"csibm1125\": \"cp1125\",\n \"cp1129\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ\"\n },\n \"ibm1129\": \"cp1129\",\n \"csibm1129\": \"cp1129\",\n \"cp1133\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�\"\n },\n \"ibm1133\": \"cp1133\",\n \"csibm1133\": \"cp1133\",\n \"cp1161\": {\n \"type\": \"_sbcs\",\n \"chars\": \"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ \"\n },\n \"ibm1161\": \"cp1161\",\n \"csibm1161\": \"cp1161\",\n \"cp1162\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����\"\n },\n \"ibm1162\": \"cp1162\",\n \"csibm1162\": \"cp1162\",\n \"cp1163\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ\"\n },\n \"ibm1163\": \"cp1163\",\n \"csibm1163\": \"cp1163\",\n \"maccroatian\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ\"\n },\n \"maccyrillic\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤\"\n },\n \"macgreek\": {\n \"type\": \"_sbcs\",\n \"chars\": \"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�\"\n },\n \"maciceland\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\"\n },\n \"macroman\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\"\n },\n \"macromania\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\"\n },\n \"macthai\": {\n \"type\": \"_sbcs\",\n \"chars\": \"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����\"\n },\n \"macturkish\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ\"\n },\n \"macukraine\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤\"\n },\n \"koi8r\": {\n \"type\": \"_sbcs\",\n \"chars\": \"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ\"\n },\n \"koi8u\": {\n \"type\": \"_sbcs\",\n \"chars\": \"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ\"\n },\n \"koi8ru\": {\n \"type\": \"_sbcs\",\n \"chars\": \"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ\"\n },\n \"koi8t\": {\n \"type\": \"_sbcs\",\n \"chars\": \"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ\"\n },\n \"armscii8\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�\"\n },\n \"rk1048\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя\"\n },\n \"tcvn\": {\n \"type\": \"_sbcs\",\n \"chars\": \"\\u0000ÚỤ\\u0003ỪỬỮ\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010ỨỰỲỶỸÝỴ\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ\"\n },\n \"georgianacademy\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ\"\n },\n \"georgianps\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\"\n },\n \"pt154\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя\"\n },\n \"viscii\": {\n \"type\": \"_sbcs\",\n \"chars\": \"\\u0000\\u0001Ẳ\\u0003\\u0004ẴẪ\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013Ỷ\\u0015\\u0016\\u0017\\u0018Ỹ\\u001a\\u001b\\u001c\\u001dỴ\\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ\"\n },\n \"iso646cn\": {\n \"type\": \"_sbcs\",\n \"chars\": \"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������\"\n },\n \"iso646jp\": {\n \"type\": \"_sbcs\",\n \"chars\": \"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������\"\n },\n \"hproman8\": {\n \"type\": \"_sbcs\",\n \"chars\": \"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�\"\n },\n \"macintosh\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\"\n },\n \"ascii\": {\n \"type\": \"_sbcs\",\n \"chars\": \"��������������������������������������������������������������������������������������������������������������������������������\"\n },\n \"tis620\": {\n \"type\": \"_sbcs\",\n \"chars\": \"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����\"\n }\n}","\"use strict\";\n\n// Manually added data to be used by sbcs codec in addition to generated one.\n\nmodule.exports = {\n // Not supported by iconv, not sure why.\n \"10029\": \"maccenteuro\",\n \"maccenteuro\": {\n \"type\": \"_sbcs\",\n \"chars\": \"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ\"\n },\n\n \"808\": \"cp808\",\n \"ibm808\": \"cp808\",\n \"cp808\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ \"\n },\n\n \"mik\": {\n \"type\": \"_sbcs\",\n \"chars\": \"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \"\n },\n\n // Aliases of generated encodings.\n \"ascii8bit\": \"ascii\",\n \"usascii\": \"ascii\",\n \"ansix34\": \"ascii\",\n \"ansix341968\": \"ascii\",\n \"ansix341986\": \"ascii\",\n \"csascii\": \"ascii\",\n \"cp367\": \"ascii\",\n \"ibm367\": \"ascii\",\n \"isoir6\": \"ascii\",\n \"iso646us\": \"ascii\",\n \"iso646irv\": \"ascii\",\n \"us\": \"ascii\",\n\n \"latin1\": \"iso88591\",\n \"latin2\": \"iso88592\",\n \"latin3\": \"iso88593\",\n \"latin4\": \"iso88594\",\n \"latin5\": \"iso88599\",\n \"latin6\": \"iso885910\",\n \"latin7\": \"iso885913\",\n \"latin8\": \"iso885914\",\n \"latin9\": \"iso885915\",\n \"latin10\": \"iso885916\",\n\n \"csisolatin1\": \"iso88591\",\n \"csisolatin2\": \"iso88592\",\n \"csisolatin3\": \"iso88593\",\n \"csisolatin4\": \"iso88594\",\n \"csisolatincyrillic\": \"iso88595\",\n \"csisolatinarabic\": \"iso88596\",\n \"csisolatingreek\" : \"iso88597\",\n \"csisolatinhebrew\": \"iso88598\",\n \"csisolatin5\": \"iso88599\",\n \"csisolatin6\": \"iso885910\",\n\n \"l1\": \"iso88591\",\n \"l2\": \"iso88592\",\n \"l3\": \"iso88593\",\n \"l4\": \"iso88594\",\n \"l5\": \"iso88599\",\n \"l6\": \"iso885910\",\n \"l7\": \"iso885913\",\n \"l8\": \"iso885914\",\n \"l9\": \"iso885915\",\n \"l10\": \"iso885916\",\n\n \"isoir14\": \"iso646jp\",\n \"isoir57\": \"iso646cn\",\n \"isoir100\": \"iso88591\",\n \"isoir101\": \"iso88592\",\n \"isoir109\": \"iso88593\",\n \"isoir110\": \"iso88594\",\n \"isoir144\": \"iso88595\",\n \"isoir127\": \"iso88596\",\n \"isoir126\": \"iso88597\",\n \"isoir138\": \"iso88598\",\n \"isoir148\": \"iso88599\",\n \"isoir157\": \"iso885910\",\n \"isoir166\": \"tis620\",\n \"isoir179\": \"iso885913\",\n \"isoir199\": \"iso885914\",\n \"isoir203\": \"iso885915\",\n \"isoir226\": \"iso885916\",\n\n \"cp819\": \"iso88591\",\n \"ibm819\": \"iso88591\",\n\n \"cyrillic\": \"iso88595\",\n\n \"arabic\": \"iso88596\",\n \"arabic8\": \"iso88596\",\n \"ecma114\": \"iso88596\",\n \"asmo708\": \"iso88596\",\n\n \"greek\" : \"iso88597\",\n \"greek8\" : \"iso88597\",\n \"ecma118\" : \"iso88597\",\n \"elot928\" : \"iso88597\",\n\n \"hebrew\": \"iso88598\",\n \"hebrew8\": \"iso88598\",\n\n \"turkish\": \"iso88599\",\n \"turkish8\": \"iso88599\",\n\n \"thai\": \"iso885911\",\n \"thai8\": \"iso885911\",\n\n \"celtic\": \"iso885914\",\n \"celtic8\": \"iso885914\",\n \"isoceltic\": \"iso885914\",\n\n \"tis6200\": \"tis620\",\n \"tis62025291\": \"tis620\",\n \"tis62025330\": \"tis620\",\n\n \"10000\": \"macroman\",\n \"10006\": \"macgreek\",\n \"10007\": \"maccyrillic\",\n \"10079\": \"maciceland\",\n \"10081\": \"macturkish\",\n\n \"cspc8codepage437\": \"cp437\",\n \"cspc775baltic\": \"cp775\",\n \"cspc850multilingual\": \"cp850\",\n \"cspcp852\": \"cp852\",\n \"cspc862latinhebrew\": \"cp862\",\n \"cpgr\": \"cp869\",\n\n \"msee\": \"cp1250\",\n \"mscyrl\": \"cp1251\",\n \"msansi\": \"cp1252\",\n \"msgreek\": \"cp1253\",\n \"msturk\": \"cp1254\",\n \"mshebr\": \"cp1255\",\n \"msarab\": \"cp1256\",\n \"winbaltrim\": \"cp1257\",\n\n \"cp20866\": \"koi8r\",\n \"20866\": \"koi8r\",\n \"ibm878\": \"koi8r\",\n \"cskoi8r\": \"koi8r\",\n\n \"cp21866\": \"koi8u\",\n \"21866\": \"koi8u\",\n \"ibm1168\": \"koi8u\",\n\n \"strk10482002\": \"rk1048\",\n\n \"tcvn5712\": \"tcvn\",\n \"tcvn57121\": \"tcvn\",\n\n \"gb198880\": \"iso646cn\",\n \"cn\": \"iso646cn\",\n\n \"csiso14jisc6220ro\": \"iso646jp\",\n \"jisc62201969ro\": \"iso646jp\",\n \"jp\": \"iso646jp\",\n\n \"cshproman8\": \"hproman8\",\n \"r8\": \"hproman8\",\n \"roman8\": \"hproman8\",\n \"xroman8\": \"hproman8\",\n \"ibm1051\": \"hproman8\",\n\n \"mac\": \"macintosh\",\n \"csmacintosh\": \"macintosh\",\n};\n\n","\"use strict\";\nvar Buffer = require(\"safer-buffer\").Buffer;\n\n// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js\n\n// == UTF16-BE codec. ==========================================================\n\nexports.utf16be = Utf16BECodec;\nfunction Utf16BECodec() {\n}\n\nUtf16BECodec.prototype.encoder = Utf16BEEncoder;\nUtf16BECodec.prototype.decoder = Utf16BEDecoder;\nUtf16BECodec.prototype.bomAware = true;\n\n\n// -- Encoding\n\nfunction Utf16BEEncoder() {\n}\n\nUtf16BEEncoder.prototype.write = function(str) {\n var buf = Buffer.from(str, 'ucs2');\n for (var i = 0; i < buf.length; i += 2) {\n var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp;\n }\n return buf;\n}\n\nUtf16BEEncoder.prototype.end = function() {\n}\n\n\n// -- Decoding\n\nfunction Utf16BEDecoder() {\n this.overflowByte = -1;\n}\n\nUtf16BEDecoder.prototype.write = function(buf) {\n if (buf.length == 0)\n return '';\n\n var buf2 = Buffer.alloc(buf.length + 1),\n i = 0, j = 0;\n\n if (this.overflowByte !== -1) {\n buf2[0] = buf[0];\n buf2[1] = this.overflowByte;\n i = 1; j = 2;\n }\n\n for (; i < buf.length-1; i += 2, j+= 2) {\n buf2[j] = buf[i+1];\n buf2[j+1] = buf[i];\n }\n\n this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1;\n\n return buf2.slice(0, j).toString('ucs2');\n}\n\nUtf16BEDecoder.prototype.end = function() {\n}\n\n\n// == UTF-16 codec =============================================================\n// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic.\n// Defaults to UTF-16LE, as it's prevalent and default in Node.\n// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le\n// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'});\n\n// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false).\n\nexports.utf16 = Utf16Codec;\nfunction Utf16Codec(codecOptions, iconv) {\n this.iconv = iconv;\n}\n\nUtf16Codec.prototype.encoder = Utf16Encoder;\nUtf16Codec.prototype.decoder = Utf16Decoder;\n\n\n// -- Encoding (pass-through)\n\nfunction Utf16Encoder(options, codec) {\n options = options || {};\n if (options.addBOM === undefined)\n options.addBOM = true;\n this.encoder = codec.iconv.getEncoder('utf-16le', options);\n}\n\nUtf16Encoder.prototype.write = function(str) {\n return this.encoder.write(str);\n}\n\nUtf16Encoder.prototype.end = function() {\n return this.encoder.end();\n}\n\n\n// -- Decoding\n\nfunction Utf16Decoder(options, codec) {\n this.decoder = null;\n this.initialBytes = [];\n this.initialBytesLen = 0;\n\n this.options = options || {};\n this.iconv = codec.iconv;\n}\n\nUtf16Decoder.prototype.write = function(buf) {\n if (!this.decoder) {\n // Codec is not chosen yet. Accumulate initial bytes.\n this.initialBytes.push(buf);\n this.initialBytesLen += buf.length;\n \n if (this.initialBytesLen < 16) // We need more bytes to use space heuristic (see below)\n return '';\n\n // We have enough bytes -> detect endianness.\n var buf = Buffer.concat(this.initialBytes),\n encoding = detectEncoding(buf, this.options.defaultEncoding);\n this.decoder = this.iconv.getDecoder(encoding, this.options);\n this.initialBytes.length = this.initialBytesLen = 0;\n }\n\n return this.decoder.write(buf);\n}\n\nUtf16Decoder.prototype.end = function() {\n if (!this.decoder) {\n var buf = Buffer.concat(this.initialBytes),\n encoding = detectEncoding(buf, this.options.defaultEncoding);\n this.decoder = this.iconv.getDecoder(encoding, this.options);\n\n var res = this.decoder.write(buf),\n trail = this.decoder.end();\n\n return trail ? (res + trail) : res;\n }\n return this.decoder.end();\n}\n\nfunction detectEncoding(buf, defaultEncoding) {\n var enc = defaultEncoding || 'utf-16le';\n\n if (buf.length >= 2) {\n // Check BOM.\n if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM\n enc = 'utf-16be';\n else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM\n enc = 'utf-16le';\n else {\n // No BOM found. Try to deduce encoding from initial content.\n // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon.\n // So, we count ASCII as if it was LE or BE, and decide from that.\n var asciiCharsLE = 0, asciiCharsBE = 0, // Counts of chars in both positions\n _len = Math.min(buf.length - (buf.length % 2), 64); // Len is always even.\n\n for (var i = 0; i < _len; i += 2) {\n if (buf[i] === 0 && buf[i+1] !== 0) asciiCharsBE++;\n if (buf[i] !== 0 && buf[i+1] === 0) asciiCharsLE++;\n }\n\n if (asciiCharsBE > asciiCharsLE)\n enc = 'utf-16be';\n else if (asciiCharsBE < asciiCharsLE)\n enc = 'utf-16le';\n }\n }\n\n return enc;\n}\n\n\n","\"use strict\";\nvar Buffer = require(\"safer-buffer\").Buffer;\n\n// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152\n// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3\n\nexports.utf7 = Utf7Codec;\nexports.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7\nfunction Utf7Codec(codecOptions, iconv) {\n this.iconv = iconv;\n};\n\nUtf7Codec.prototype.encoder = Utf7Encoder;\nUtf7Codec.prototype.decoder = Utf7Decoder;\nUtf7Codec.prototype.bomAware = true;\n\n\n// -- Encoding\n\nvar nonDirectChars = /[^A-Za-z0-9'\\(\\),-\\.\\/:\\? \\n\\r\\t]+/g;\n\nfunction Utf7Encoder(options, codec) {\n this.iconv = codec.iconv;\n}\n\nUtf7Encoder.prototype.write = function(str) {\n // Naive implementation.\n // Non-direct chars are encoded as \"+-\"; single \"+\" char is encoded as \"+-\".\n return Buffer.from(str.replace(nonDirectChars, function(chunk) {\n return \"+\" + (chunk === '+' ? '' : \n this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) \n + \"-\";\n }.bind(this)));\n}\n\nUtf7Encoder.prototype.end = function() {\n}\n\n\n// -- Decoding\n\nfunction Utf7Decoder(options, codec) {\n this.iconv = codec.iconv;\n this.inBase64 = false;\n this.base64Accum = '';\n}\n\nvar base64Regex = /[A-Za-z0-9\\/+]/;\nvar base64Chars = [];\nfor (var i = 0; i < 256; i++)\n base64Chars[i] = base64Regex.test(String.fromCharCode(i));\n\nvar plusChar = '+'.charCodeAt(0), \n minusChar = '-'.charCodeAt(0),\n andChar = '&'.charCodeAt(0);\n\nUtf7Decoder.prototype.write = function(buf) {\n var res = \"\", lastI = 0,\n inBase64 = this.inBase64,\n base64Accum = this.base64Accum;\n\n // The decoder is more involved as we must handle chunks in stream.\n\n for (var i = 0; i < buf.length; i++) {\n if (!inBase64) { // We're in direct mode.\n // Write direct chars until '+'\n if (buf[i] == plusChar) {\n res += this.iconv.decode(buf.slice(lastI, i), \"ascii\"); // Write direct chars.\n lastI = i+1;\n inBase64 = true;\n }\n } else { // We decode base64.\n if (!base64Chars[buf[i]]) { // Base64 ended.\n if (i == lastI && buf[i] == minusChar) {// \"+-\" -> \"+\"\n res += \"+\";\n } else {\n var b64str = base64Accum + buf.slice(lastI, i).toString();\n res += this.iconv.decode(Buffer.from(b64str, 'base64'), \"utf16-be\");\n }\n\n if (buf[i] != minusChar) // Minus is absorbed after base64.\n i--;\n\n lastI = i+1;\n inBase64 = false;\n base64Accum = '';\n }\n }\n }\n\n if (!inBase64) {\n res += this.iconv.decode(buf.slice(lastI), \"ascii\"); // Write direct chars.\n } else {\n var b64str = base64Accum + buf.slice(lastI).toString();\n\n var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars.\n base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future.\n b64str = b64str.slice(0, canBeDecoded);\n\n res += this.iconv.decode(Buffer.from(b64str, 'base64'), \"utf16-be\");\n }\n\n this.inBase64 = inBase64;\n this.base64Accum = base64Accum;\n\n return res;\n}\n\nUtf7Decoder.prototype.end = function() {\n var res = \"\";\n if (this.inBase64 && this.base64Accum.length > 0)\n res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), \"utf16-be\");\n\n this.inBase64 = false;\n this.base64Accum = '';\n return res;\n}\n\n\n// UTF-7-IMAP codec.\n// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3)\n// Differences:\n// * Base64 part is started by \"&\" instead of \"+\"\n// * Direct characters are 0x20-0x7E, except \"&\" (0x26)\n// * In Base64, \",\" is used instead of \"/\"\n// * Base64 must not be used to represent direct characters.\n// * No implicit shift back from Base64 (should always end with '-')\n// * String must end in non-shifted position.\n// * \"-&\" while in base64 is not allowed.\n\n\nexports.utf7imap = Utf7IMAPCodec;\nfunction Utf7IMAPCodec(codecOptions, iconv) {\n this.iconv = iconv;\n};\n\nUtf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder;\nUtf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder;\nUtf7IMAPCodec.prototype.bomAware = true;\n\n\n// -- Encoding\n\nfunction Utf7IMAPEncoder(options, codec) {\n this.iconv = codec.iconv;\n this.inBase64 = false;\n this.base64Accum = Buffer.alloc(6);\n this.base64AccumIdx = 0;\n}\n\nUtf7IMAPEncoder.prototype.write = function(str) {\n var inBase64 = this.inBase64,\n base64Accum = this.base64Accum,\n base64AccumIdx = this.base64AccumIdx,\n buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0;\n\n for (var i = 0; i < str.length; i++) {\n var uChar = str.charCodeAt(i);\n if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'.\n if (inBase64) {\n if (base64AccumIdx > 0) {\n bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\\//g, ',').replace(/=+$/, ''), bufIdx);\n base64AccumIdx = 0;\n }\n\n buf[bufIdx++] = minusChar; // Write '-', then go to direct mode.\n inBase64 = false;\n }\n\n if (!inBase64) {\n buf[bufIdx++] = uChar; // Write direct character\n\n if (uChar === andChar) // Ampersand -> '&-'\n buf[bufIdx++] = minusChar;\n }\n\n } else { // Non-direct character\n if (!inBase64) {\n buf[bufIdx++] = andChar; // Write '&', then go to base64 mode.\n inBase64 = true;\n }\n if (inBase64) {\n base64Accum[base64AccumIdx++] = uChar >> 8;\n base64Accum[base64AccumIdx++] = uChar & 0xFF;\n\n if (base64AccumIdx == base64Accum.length) {\n bufIdx += buf.write(base64Accum.toString('base64').replace(/\\//g, ','), bufIdx);\n base64AccumIdx = 0;\n }\n }\n }\n }\n\n this.inBase64 = inBase64;\n this.base64AccumIdx = base64AccumIdx;\n\n return buf.slice(0, bufIdx);\n}\n\nUtf7IMAPEncoder.prototype.end = function() {\n var buf = Buffer.alloc(10), bufIdx = 0;\n if (this.inBase64) {\n if (this.base64AccumIdx > 0) {\n bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\\//g, ',').replace(/=+$/, ''), bufIdx);\n this.base64AccumIdx = 0;\n }\n\n buf[bufIdx++] = minusChar; // Write '-', then go to direct mode.\n this.inBase64 = false;\n }\n\n return buf.slice(0, bufIdx);\n}\n\n\n// -- Decoding\n\nfunction Utf7IMAPDecoder(options, codec) {\n this.iconv = codec.iconv;\n this.inBase64 = false;\n this.base64Accum = '';\n}\n\nvar base64IMAPChars = base64Chars.slice();\nbase64IMAPChars[','.charCodeAt(0)] = true;\n\nUtf7IMAPDecoder.prototype.write = function(buf) {\n var res = \"\", lastI = 0,\n inBase64 = this.inBase64,\n base64Accum = this.base64Accum;\n\n // The decoder is more involved as we must handle chunks in stream.\n // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end).\n\n for (var i = 0; i < buf.length; i++) {\n if (!inBase64) { // We're in direct mode.\n // Write direct chars until '&'\n if (buf[i] == andChar) {\n res += this.iconv.decode(buf.slice(lastI, i), \"ascii\"); // Write direct chars.\n lastI = i+1;\n inBase64 = true;\n }\n } else { // We decode base64.\n if (!base64IMAPChars[buf[i]]) { // Base64 ended.\n if (i == lastI && buf[i] == minusChar) { // \"&-\" -> \"&\"\n res += \"&\";\n } else {\n var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/');\n res += this.iconv.decode(Buffer.from(b64str, 'base64'), \"utf16-be\");\n }\n\n if (buf[i] != minusChar) // Minus may be absorbed after base64.\n i--;\n\n lastI = i+1;\n inBase64 = false;\n base64Accum = '';\n }\n }\n }\n\n if (!inBase64) {\n res += this.iconv.decode(buf.slice(lastI), \"ascii\"); // Write direct chars.\n } else {\n var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/');\n\n var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars.\n base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future.\n b64str = b64str.slice(0, canBeDecoded);\n\n res += this.iconv.decode(Buffer.from(b64str, 'base64'), \"utf16-be\");\n }\n\n this.inBase64 = inBase64;\n this.base64Accum = base64Accum;\n\n return res;\n}\n\nUtf7IMAPDecoder.prototype.end = function() {\n var res = \"\";\n if (this.inBase64 && this.base64Accum.length > 0)\n res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), \"utf16-be\");\n\n this.inBase64 = false;\n this.base64Accum = '';\n return res;\n}\n\n\n","\"use strict\";\n\nvar BOMChar = '\\uFEFF';\n\nexports.PrependBOM = PrependBOMWrapper\nfunction PrependBOMWrapper(encoder, options) {\n this.encoder = encoder;\n this.addBOM = true;\n}\n\nPrependBOMWrapper.prototype.write = function(str) {\n if (this.addBOM) {\n str = BOMChar + str;\n this.addBOM = false;\n }\n\n return this.encoder.write(str);\n}\n\nPrependBOMWrapper.prototype.end = function() {\n return this.encoder.end();\n}\n\n\n//------------------------------------------------------------------------------\n\nexports.StripBOM = StripBOMWrapper;\nfunction StripBOMWrapper(decoder, options) {\n this.decoder = decoder;\n this.pass = false;\n this.options = options || {};\n}\n\nStripBOMWrapper.prototype.write = function(buf) {\n var res = this.decoder.write(buf);\n if (this.pass || !res)\n return res;\n\n if (res[0] === BOMChar) {\n res = res.slice(1);\n if (typeof this.options.stripBOM === 'function')\n this.options.stripBOM();\n }\n\n this.pass = true;\n return res;\n}\n\nStripBOMWrapper.prototype.end = function() {\n return this.decoder.end();\n}\n\n","\"use strict\";\nvar Buffer = require(\"buffer\").Buffer;\n// Note: not polyfilled with safer-buffer on a purpose, as overrides Buffer\n\n// == Extend Node primitives to use iconv-lite =================================\n\nmodule.exports = function (iconv) {\n var original = undefined; // Place to keep original methods.\n\n // Node authors rewrote Buffer internals to make it compatible with\n // Uint8Array and we cannot patch key functions since then.\n // Note: this does use older Buffer API on a purpose\n iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array);\n\n iconv.extendNodeEncodings = function extendNodeEncodings() {\n if (original) return;\n original = {};\n\n if (!iconv.supportsNodeEncodingsExtension) {\n console.error(\"ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node\");\n console.error(\"See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility\");\n return;\n }\n\n var nodeNativeEncodings = {\n 'hex': true, 'utf8': true, 'utf-8': true, 'ascii': true, 'binary': true, \n 'base64': true, 'ucs2': true, 'ucs-2': true, 'utf16le': true, 'utf-16le': true,\n };\n\n Buffer.isNativeEncoding = function(enc) {\n return enc && nodeNativeEncodings[enc.toLowerCase()];\n }\n\n // -- SlowBuffer -----------------------------------------------------------\n var SlowBuffer = require('buffer').SlowBuffer;\n\n original.SlowBufferToString = SlowBuffer.prototype.toString;\n SlowBuffer.prototype.toString = function(encoding, start, end) {\n encoding = String(encoding || 'utf8').toLowerCase();\n\n // Use native conversion when possible\n if (Buffer.isNativeEncoding(encoding))\n return original.SlowBufferToString.call(this, encoding, start, end);\n\n // Otherwise, use our decoding method.\n if (typeof start == 'undefined') start = 0;\n if (typeof end == 'undefined') end = this.length;\n return iconv.decode(this.slice(start, end), encoding);\n }\n\n original.SlowBufferWrite = SlowBuffer.prototype.write;\n SlowBuffer.prototype.write = function(string, offset, length, encoding) {\n // Support both (string, offset, length, encoding)\n // and the legacy (string, encoding, offset, length)\n if (isFinite(offset)) {\n if (!isFinite(length)) {\n encoding = length;\n length = undefined;\n }\n } else { // legacy\n var swap = encoding;\n encoding = offset;\n offset = length;\n length = swap;\n }\n\n offset = +offset || 0;\n var remaining = this.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = +length;\n if (length > remaining) {\n length = remaining;\n }\n }\n encoding = String(encoding || 'utf8').toLowerCase();\n\n // Use native conversion when possible\n if (Buffer.isNativeEncoding(encoding))\n return original.SlowBufferWrite.call(this, string, offset, length, encoding);\n\n if (string.length > 0 && (length < 0 || offset < 0))\n throw new RangeError('attempt to write beyond buffer bounds');\n\n // Otherwise, use our encoding method.\n var buf = iconv.encode(string, encoding);\n if (buf.length < length) length = buf.length;\n buf.copy(this, offset, 0, length);\n return length;\n }\n\n // -- Buffer ---------------------------------------------------------------\n\n original.BufferIsEncoding = Buffer.isEncoding;\n Buffer.isEncoding = function(encoding) {\n return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding);\n }\n\n original.BufferByteLength = Buffer.byteLength;\n Buffer.byteLength = SlowBuffer.byteLength = function(str, encoding) {\n encoding = String(encoding || 'utf8').toLowerCase();\n\n // Use native conversion when possible\n if (Buffer.isNativeEncoding(encoding))\n return original.BufferByteLength.call(this, str, encoding);\n\n // Slow, I know, but we don't have a better way yet.\n return iconv.encode(str, encoding).length;\n }\n\n original.BufferToString = Buffer.prototype.toString;\n Buffer.prototype.toString = function(encoding, start, end) {\n encoding = String(encoding || 'utf8').toLowerCase();\n\n // Use native conversion when possible\n if (Buffer.isNativeEncoding(encoding))\n return original.BufferToString.call(this, encoding, start, end);\n\n // Otherwise, use our decoding method.\n if (typeof start == 'undefined') start = 0;\n if (typeof end == 'undefined') end = this.length;\n return iconv.decode(this.slice(start, end), encoding);\n }\n\n original.BufferWrite = Buffer.prototype.write;\n Buffer.prototype.write = function(string, offset, length, encoding) {\n var _offset = offset, _length = length, _encoding = encoding;\n // Support both (string, offset, length, encoding)\n // and the legacy (string, encoding, offset, length)\n if (isFinite(offset)) {\n if (!isFinite(length)) {\n encoding = length;\n length = undefined;\n }\n } else { // legacy\n var swap = encoding;\n encoding = offset;\n offset = length;\n length = swap;\n }\n\n encoding = String(encoding || 'utf8').toLowerCase();\n\n // Use native conversion when possible\n if (Buffer.isNativeEncoding(encoding))\n return original.BufferWrite.call(this, string, _offset, _length, _encoding);\n\n offset = +offset || 0;\n var remaining = this.length - offset;\n if (!length) {\n length = remaining;\n } else {\n length = +length;\n if (length > remaining) {\n length = remaining;\n }\n }\n\n if (string.length > 0 && (length < 0 || offset < 0))\n throw new RangeError('attempt to write beyond buffer bounds');\n\n // Otherwise, use our encoding method.\n var buf = iconv.encode(string, encoding);\n if (buf.length < length) length = buf.length;\n buf.copy(this, offset, 0, length);\n return length;\n\n // TODO: Set _charsWritten.\n }\n\n\n // -- Readable -------------------------------------------------------------\n if (iconv.supportsStreams) {\n var Readable = require('stream').Readable;\n\n original.ReadableSetEncoding = Readable.prototype.setEncoding;\n Readable.prototype.setEncoding = function setEncoding(enc, options) {\n // Use our own decoder, it has the same interface.\n // We cannot use original function as it doesn't handle BOM-s.\n this._readableState.decoder = iconv.getDecoder(enc, options);\n this._readableState.encoding = enc;\n }\n\n Readable.prototype.collect = iconv._collect;\n }\n }\n\n // Remove iconv-lite Node primitive extensions.\n iconv.undoExtendNodeEncodings = function undoExtendNodeEncodings() {\n if (!iconv.supportsNodeEncodingsExtension)\n return;\n if (!original)\n throw new Error(\"require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.\")\n\n delete Buffer.isNativeEncoding;\n\n var SlowBuffer = require('buffer').SlowBuffer;\n\n SlowBuffer.prototype.toString = original.SlowBufferToString;\n SlowBuffer.prototype.write = original.SlowBufferWrite;\n\n Buffer.isEncoding = original.BufferIsEncoding;\n Buffer.byteLength = original.BufferByteLength;\n Buffer.prototype.toString = original.BufferToString;\n Buffer.prototype.write = original.BufferWrite;\n\n if (iconv.supportsStreams) {\n var Readable = require('stream').Readable;\n\n Readable.prototype.setEncoding = original.ReadableSetEncoding;\n delete Readable.prototype.collect;\n }\n\n original = undefined;\n }\n}\n","\"use strict\";\n\n// Some environments don't have global Buffer (e.g. React Native).\n// Solution would be installing npm modules \"buffer\" and \"stream\" explicitly.\nvar Buffer = require(\"safer-buffer\").Buffer;\n\nvar bomHandling = require(\"./bom-handling\"),\n iconv = module.exports;\n\n// All codecs and aliases are kept here, keyed by encoding name/alias.\n// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`.\niconv.encodings = null;\n\n// Characters emitted in case of error.\niconv.defaultCharUnicode = '�';\niconv.defaultCharSingleByte = '?';\n\n// Public API.\niconv.encode = function encode(str, encoding, options) {\n str = \"\" + (str || \"\"); // Ensure string.\n\n var encoder = iconv.getEncoder(encoding, options);\n\n var res = encoder.write(str);\n var trail = encoder.end();\n \n return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res;\n}\n\niconv.decode = function decode(buf, encoding, options) {\n if (typeof buf === 'string') {\n if (!iconv.skipDecodeWarning) {\n console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding');\n iconv.skipDecodeWarning = true;\n }\n\n buf = Buffer.from(\"\" + (buf || \"\"), \"binary\"); // Ensure buffer.\n }\n\n var decoder = iconv.getDecoder(encoding, options);\n\n var res = decoder.write(buf);\n var trail = decoder.end();\n\n return trail ? (res + trail) : res;\n}\n\niconv.encodingExists = function encodingExists(enc) {\n try {\n iconv.getCodec(enc);\n return true;\n } catch (e) {\n return false;\n }\n}\n\n// Legacy aliases to convert functions\niconv.toEncoding = iconv.encode;\niconv.fromEncoding = iconv.decode;\n\n// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache.\niconv._codecDataCache = {};\niconv.getCodec = function getCodec(encoding) {\n if (!iconv.encodings)\n iconv.encodings = require(\"../encodings\"); // Lazy load all encoding definitions.\n \n // Canonicalize encoding name: strip all non-alphanumeric chars and appended year.\n var enc = iconv._canonicalizeEncoding(encoding);\n\n // Traverse iconv.encodings to find actual codec.\n var codecOptions = {};\n while (true) {\n var codec = iconv._codecDataCache[enc];\n if (codec)\n return codec;\n\n var codecDef = iconv.encodings[enc];\n\n switch (typeof codecDef) {\n case \"string\": // Direct alias to other encoding.\n enc = codecDef;\n break;\n\n case \"object\": // Alias with options. Can be layered.\n for (var key in codecDef)\n codecOptions[key] = codecDef[key];\n\n if (!codecOptions.encodingName)\n codecOptions.encodingName = enc;\n \n enc = codecDef.type;\n break;\n\n case \"function\": // Codec itself.\n if (!codecOptions.encodingName)\n codecOptions.encodingName = enc;\n\n // The codec function must load all tables and return object with .encoder and .decoder methods.\n // It'll be called only once (for each different options object).\n codec = new codecDef(codecOptions, iconv);\n\n iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later.\n return codec;\n\n default:\n throw new Error(\"Encoding not recognized: '\" + encoding + \"' (searched as: '\"+enc+\"')\");\n }\n }\n}\n\niconv._canonicalizeEncoding = function(encoding) {\n // Canonicalize encoding name: strip all non-alphanumeric chars and appended year.\n return (''+encoding).toLowerCase().replace(/:\\d{4}$|[^0-9a-z]/g, \"\");\n}\n\niconv.getEncoder = function getEncoder(encoding, options) {\n var codec = iconv.getCodec(encoding),\n encoder = new codec.encoder(options, codec);\n\n if (codec.bomAware && options && options.addBOM)\n encoder = new bomHandling.PrependBOM(encoder, options);\n\n return encoder;\n}\n\niconv.getDecoder = function getDecoder(encoding, options) {\n var codec = iconv.getCodec(encoding),\n decoder = new codec.decoder(options, codec);\n\n if (codec.bomAware && !(options && options.stripBOM === false))\n decoder = new bomHandling.StripBOM(decoder, options);\n\n return decoder;\n}\n\n\n// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json.\nvar nodeVer = typeof process !== 'undefined' && process.versions && process.versions.node;\nif (nodeVer) {\n\n // Load streaming support in Node v0.10+\n var nodeVerArr = nodeVer.split(\".\").map(Number);\n if (nodeVerArr[0] > 0 || nodeVerArr[1] >= 10) {\n require(\"./streams\")(iconv);\n }\n\n // Load Node primitive extensions.\n require(\"./extend-node\")(iconv);\n}\n\nif (\"Ā\" != \"\\u0100\") {\n console.error(\"iconv-lite warning: javascript files use encoding different from utf-8. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info.\");\n}\n","\"use strict\";\n\nvar Buffer = require(\"buffer\").Buffer,\n Transform = require(\"stream\").Transform;\n\n\n// == Exports ==================================================================\nmodule.exports = function(iconv) {\n \n // Additional Public API.\n iconv.encodeStream = function encodeStream(encoding, options) {\n return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);\n }\n\n iconv.decodeStream = function decodeStream(encoding, options) {\n return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options);\n }\n\n iconv.supportsStreams = true;\n\n\n // Not published yet.\n iconv.IconvLiteEncoderStream = IconvLiteEncoderStream;\n iconv.IconvLiteDecoderStream = IconvLiteDecoderStream;\n iconv._collect = IconvLiteDecoderStream.prototype.collect;\n};\n\n\n// == Encoder stream =======================================================\nfunction IconvLiteEncoderStream(conv, options) {\n this.conv = conv;\n options = options || {};\n options.decodeStrings = false; // We accept only strings, so we don't need to decode them.\n Transform.call(this, options);\n}\n\nIconvLiteEncoderStream.prototype = Object.create(Transform.prototype, {\n constructor: { value: IconvLiteEncoderStream }\n});\n\nIconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) {\n if (typeof chunk != 'string')\n return done(new Error(\"Iconv encoding stream needs strings as its input.\"));\n try {\n var res = this.conv.write(chunk);\n if (res && res.length) this.push(res);\n done();\n }\n catch (e) {\n done(e);\n }\n}\n\nIconvLiteEncoderStream.prototype._flush = function(done) {\n try {\n var res = this.conv.end();\n if (res && res.length) this.push(res);\n done();\n }\n catch (e) {\n done(e);\n }\n}\n\nIconvLiteEncoderStream.prototype.collect = function(cb) {\n var chunks = [];\n this.on('error', cb);\n this.on('data', function(chunk) { chunks.push(chunk); });\n this.on('end', function() {\n cb(null, Buffer.concat(chunks));\n });\n return this;\n}\n\n\n// == Decoder stream =======================================================\nfunction IconvLiteDecoderStream(conv, options) {\n this.conv = conv;\n options = options || {};\n options.encoding = this.encoding = 'utf8'; // We output strings.\n Transform.call(this, options);\n}\n\nIconvLiteDecoderStream.prototype = Object.create(Transform.prototype, {\n constructor: { value: IconvLiteDecoderStream }\n});\n\nIconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) {\n if (!Buffer.isBuffer(chunk))\n return done(new Error(\"Iconv decoding stream needs buffers as its input.\"));\n try {\n var res = this.conv.write(chunk);\n if (res && res.length) this.push(res, this.encoding);\n done();\n }\n catch (e) {\n done(e);\n }\n}\n\nIconvLiteDecoderStream.prototype._flush = function(done) {\n try {\n var res = this.conv.end();\n if (res && res.length) this.push(res, this.encoding); \n done();\n }\n catch (e) {\n done(e);\n }\n}\n\nIconvLiteDecoderStream.prototype.collect = function(cb) {\n var res = '';\n this.on('error', cb);\n this.on('data', function(chunk) { res += chunk; });\n this.on('end', function() {\n cb(null, res);\n });\n return this;\n}\n\n","try {\n var util = require('util');\n /* istanbul ignore next */\n if (typeof util.inherits !== 'function') throw '';\n module.exports = util.inherits;\n} catch (e) {\n /* istanbul ignore next */\n module.exports = require('./inherits_browser.js');\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","(function() {\n var expandIPv6, ipaddr, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root, zoneIndex;\n\n ipaddr = {};\n\n root = this;\n\n if ((typeof module !== \"undefined\" && module !== null) && module.exports) {\n module.exports = ipaddr;\n } else {\n root['ipaddr'] = ipaddr;\n }\n\n matchCIDR = function(first, second, partSize, cidrBits) {\n var part, shift;\n if (first.length !== second.length) {\n throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");\n }\n part = 0;\n while (cidrBits > 0) {\n shift = partSize - cidrBits;\n if (shift < 0) {\n shift = 0;\n }\n if (first[part] >> shift !== second[part] >> shift) {\n return false;\n }\n cidrBits -= partSize;\n part += 1;\n }\n return true;\n };\n\n ipaddr.subnetMatch = function(address, rangeList, defaultName) {\n var k, len, rangeName, rangeSubnets, subnet;\n if (defaultName == null) {\n defaultName = 'unicast';\n }\n for (rangeName in rangeList) {\n rangeSubnets = rangeList[rangeName];\n if (rangeSubnets[0] && !(rangeSubnets[0] instanceof Array)) {\n rangeSubnets = [rangeSubnets];\n }\n for (k = 0, len = rangeSubnets.length; k < len; k++) {\n subnet = rangeSubnets[k];\n if (address.kind() === subnet[0].kind()) {\n if (address.match.apply(address, subnet)) {\n return rangeName;\n }\n }\n }\n }\n return defaultName;\n };\n\n ipaddr.IPv4 = (function() {\n function IPv4(octets) {\n var k, len, octet;\n if (octets.length !== 4) {\n throw new Error(\"ipaddr: ipv4 octet count should be 4\");\n }\n for (k = 0, len = octets.length; k < len; k++) {\n octet = octets[k];\n if (!((0 <= octet && octet <= 255))) {\n throw new Error(\"ipaddr: ipv4 octet should fit in 8 bits\");\n }\n }\n this.octets = octets;\n }\n\n IPv4.prototype.kind = function() {\n return 'ipv4';\n };\n\n IPv4.prototype.toString = function() {\n return this.octets.join(\".\");\n };\n\n IPv4.prototype.toNormalizedString = function() {\n return this.toString();\n };\n\n IPv4.prototype.toByteArray = function() {\n return this.octets.slice(0);\n };\n\n IPv4.prototype.match = function(other, cidrRange) {\n var ref;\n if (cidrRange === void 0) {\n ref = other, other = ref[0], cidrRange = ref[1];\n }\n if (other.kind() !== 'ipv4') {\n throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");\n }\n return matchCIDR(this.octets, other.octets, 8, cidrRange);\n };\n\n IPv4.prototype.SpecialRanges = {\n unspecified: [[new IPv4([0, 0, 0, 0]), 8]],\n broadcast: [[new IPv4([255, 255, 255, 255]), 32]],\n multicast: [[new IPv4([224, 0, 0, 0]), 4]],\n linkLocal: [[new IPv4([169, 254, 0, 0]), 16]],\n loopback: [[new IPv4([127, 0, 0, 0]), 8]],\n carrierGradeNat: [[new IPv4([100, 64, 0, 0]), 10]],\n \"private\": [[new IPv4([10, 0, 0, 0]), 8], [new IPv4([172, 16, 0, 0]), 12], [new IPv4([192, 168, 0, 0]), 16]],\n reserved: [[new IPv4([192, 0, 0, 0]), 24], [new IPv4([192, 0, 2, 0]), 24], [new IPv4([192, 88, 99, 0]), 24], [new IPv4([198, 51, 100, 0]), 24], [new IPv4([203, 0, 113, 0]), 24], [new IPv4([240, 0, 0, 0]), 4]]\n };\n\n IPv4.prototype.range = function() {\n return ipaddr.subnetMatch(this, this.SpecialRanges);\n };\n\n IPv4.prototype.toIPv4MappedAddress = function() {\n return ipaddr.IPv6.parse(\"::ffff:\" + (this.toString()));\n };\n\n IPv4.prototype.prefixLengthFromSubnetMask = function() {\n var cidr, i, k, octet, stop, zeros, zerotable;\n zerotable = {\n 0: 8,\n 128: 7,\n 192: 6,\n 224: 5,\n 240: 4,\n 248: 3,\n 252: 2,\n 254: 1,\n 255: 0\n };\n cidr = 0;\n stop = false;\n for (i = k = 3; k >= 0; i = k += -1) {\n octet = this.octets[i];\n if (octet in zerotable) {\n zeros = zerotable[octet];\n if (stop && zeros !== 0) {\n return null;\n }\n if (zeros !== 8) {\n stop = true;\n }\n cidr += zeros;\n } else {\n return null;\n }\n }\n return 32 - cidr;\n };\n\n return IPv4;\n\n })();\n\n ipv4Part = \"(0?\\\\d+|0x[a-f0-9]+)\";\n\n ipv4Regexes = {\n fourOctet: new RegExp(\"^\" + ipv4Part + \"\\\\.\" + ipv4Part + \"\\\\.\" + ipv4Part + \"\\\\.\" + ipv4Part + \"$\", 'i'),\n longValue: new RegExp(\"^\" + ipv4Part + \"$\", 'i')\n };\n\n ipaddr.IPv4.parser = function(string) {\n var match, parseIntAuto, part, shift, value;\n parseIntAuto = function(string) {\n if (string[0] === \"0\" && string[1] !== \"x\") {\n return parseInt(string, 8);\n } else {\n return parseInt(string);\n }\n };\n if (match = string.match(ipv4Regexes.fourOctet)) {\n return (function() {\n var k, len, ref, results;\n ref = match.slice(1, 6);\n results = [];\n for (k = 0, len = ref.length; k < len; k++) {\n part = ref[k];\n results.push(parseIntAuto(part));\n }\n return results;\n })();\n } else if (match = string.match(ipv4Regexes.longValue)) {\n value = parseIntAuto(match[1]);\n if (value > 0xffffffff || value < 0) {\n throw new Error(\"ipaddr: address outside defined range\");\n }\n return ((function() {\n var k, results;\n results = [];\n for (shift = k = 0; k <= 24; shift = k += 8) {\n results.push((value >> shift) & 0xff);\n }\n return results;\n })()).reverse();\n } else {\n return null;\n }\n };\n\n ipaddr.IPv6 = (function() {\n function IPv6(parts, zoneId) {\n var i, k, l, len, part, ref;\n if (parts.length === 16) {\n this.parts = [];\n for (i = k = 0; k <= 14; i = k += 2) {\n this.parts.push((parts[i] << 8) | parts[i + 1]);\n }\n } else if (parts.length === 8) {\n this.parts = parts;\n } else {\n throw new Error(\"ipaddr: ipv6 part count should be 8 or 16\");\n }\n ref = this.parts;\n for (l = 0, len = ref.length; l < len; l++) {\n part = ref[l];\n if (!((0 <= part && part <= 0xffff))) {\n throw new Error(\"ipaddr: ipv6 part should fit in 16 bits\");\n }\n }\n if (zoneId) {\n this.zoneId = zoneId;\n }\n }\n\n IPv6.prototype.kind = function() {\n return 'ipv6';\n };\n\n IPv6.prototype.toString = function() {\n return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');\n };\n\n IPv6.prototype.toRFC5952String = function() {\n var bestMatchIndex, bestMatchLength, match, regex, string;\n regex = /((^|:)(0(:|$)){2,})/g;\n string = this.toNormalizedString();\n bestMatchIndex = 0;\n bestMatchLength = -1;\n while ((match = regex.exec(string))) {\n if (match[0].length > bestMatchLength) {\n bestMatchIndex = match.index;\n bestMatchLength = match[0].length;\n }\n }\n if (bestMatchLength < 0) {\n return string;\n }\n return string.substring(0, bestMatchIndex) + '::' + string.substring(bestMatchIndex + bestMatchLength);\n };\n\n IPv6.prototype.toByteArray = function() {\n var bytes, k, len, part, ref;\n bytes = [];\n ref = this.parts;\n for (k = 0, len = ref.length; k < len; k++) {\n part = ref[k];\n bytes.push(part >> 8);\n bytes.push(part & 0xff);\n }\n return bytes;\n };\n\n IPv6.prototype.toNormalizedString = function() {\n var addr, part, suffix;\n addr = ((function() {\n var k, len, ref, results;\n ref = this.parts;\n results = [];\n for (k = 0, len = ref.length; k < len; k++) {\n part = ref[k];\n results.push(part.toString(16));\n }\n return results;\n }).call(this)).join(\":\");\n suffix = '';\n if (this.zoneId) {\n suffix = '%' + this.zoneId;\n }\n return addr + suffix;\n };\n\n IPv6.prototype.toFixedLengthString = function() {\n var addr, part, suffix;\n addr = ((function() {\n var k, len, ref, results;\n ref = this.parts;\n results = [];\n for (k = 0, len = ref.length; k < len; k++) {\n part = ref[k];\n results.push(part.toString(16).padStart(4, '0'));\n }\n return results;\n }).call(this)).join(\":\");\n suffix = '';\n if (this.zoneId) {\n suffix = '%' + this.zoneId;\n }\n return addr + suffix;\n };\n\n IPv6.prototype.match = function(other, cidrRange) {\n var ref;\n if (cidrRange === void 0) {\n ref = other, other = ref[0], cidrRange = ref[1];\n }\n if (other.kind() !== 'ipv6') {\n throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");\n }\n return matchCIDR(this.parts, other.parts, 16, cidrRange);\n };\n\n IPv6.prototype.SpecialRanges = {\n unspecified: [new IPv6([0, 0, 0, 0, 0, 0, 0, 0]), 128],\n linkLocal: [new IPv6([0xfe80, 0, 0, 0, 0, 0, 0, 0]), 10],\n multicast: [new IPv6([0xff00, 0, 0, 0, 0, 0, 0, 0]), 8],\n loopback: [new IPv6([0, 0, 0, 0, 0, 0, 0, 1]), 128],\n uniqueLocal: [new IPv6([0xfc00, 0, 0, 0, 0, 0, 0, 0]), 7],\n ipv4Mapped: [new IPv6([0, 0, 0, 0, 0, 0xffff, 0, 0]), 96],\n rfc6145: [new IPv6([0, 0, 0, 0, 0xffff, 0, 0, 0]), 96],\n rfc6052: [new IPv6([0x64, 0xff9b, 0, 0, 0, 0, 0, 0]), 96],\n '6to4': [new IPv6([0x2002, 0, 0, 0, 0, 0, 0, 0]), 16],\n teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],\n reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]\n };\n\n IPv6.prototype.range = function() {\n return ipaddr.subnetMatch(this, this.SpecialRanges);\n };\n\n IPv6.prototype.isIPv4MappedAddress = function() {\n return this.range() === 'ipv4Mapped';\n };\n\n IPv6.prototype.toIPv4Address = function() {\n var high, low, ref;\n if (!this.isIPv4MappedAddress()) {\n throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");\n }\n ref = this.parts.slice(-2), high = ref[0], low = ref[1];\n return new ipaddr.IPv4([high >> 8, high & 0xff, low >> 8, low & 0xff]);\n };\n\n IPv6.prototype.prefixLengthFromSubnetMask = function() {\n var cidr, i, k, part, stop, zeros, zerotable;\n zerotable = {\n 0: 16,\n 32768: 15,\n 49152: 14,\n 57344: 13,\n 61440: 12,\n 63488: 11,\n 64512: 10,\n 65024: 9,\n 65280: 8,\n 65408: 7,\n 65472: 6,\n 65504: 5,\n 65520: 4,\n 65528: 3,\n 65532: 2,\n 65534: 1,\n 65535: 0\n };\n cidr = 0;\n stop = false;\n for (i = k = 7; k >= 0; i = k += -1) {\n part = this.parts[i];\n if (part in zerotable) {\n zeros = zerotable[part];\n if (stop && zeros !== 0) {\n return null;\n }\n if (zeros !== 16) {\n stop = true;\n }\n cidr += zeros;\n } else {\n return null;\n }\n }\n return 128 - cidr;\n };\n\n return IPv6;\n\n })();\n\n ipv6Part = \"(?:[0-9a-f]+::?)+\";\n\n zoneIndex = \"%[0-9a-z]{1,}\";\n\n ipv6Regexes = {\n zoneIndex: new RegExp(zoneIndex, 'i'),\n \"native\": new RegExp(\"^(::)?(\" + ipv6Part + \")?([0-9a-f]+)?(::)?(\" + zoneIndex + \")?$\", 'i'),\n transitional: new RegExp((\"^((?:\" + ipv6Part + \")|(?:::)(?:\" + ipv6Part + \")?)\") + (ipv4Part + \"\\\\.\" + ipv4Part + \"\\\\.\" + ipv4Part + \"\\\\.\" + ipv4Part) + (\"(\" + zoneIndex + \")?$\"), 'i')\n };\n\n expandIPv6 = function(string, parts) {\n var colonCount, lastColon, part, replacement, replacementCount, zoneId;\n if (string.indexOf('::') !== string.lastIndexOf('::')) {\n return null;\n }\n zoneId = (string.match(ipv6Regexes['zoneIndex']) || [])[0];\n if (zoneId) {\n zoneId = zoneId.substring(1);\n string = string.replace(/%.+$/, '');\n }\n colonCount = 0;\n lastColon = -1;\n while ((lastColon = string.indexOf(':', lastColon + 1)) >= 0) {\n colonCount++;\n }\n if (string.substr(0, 2) === '::') {\n colonCount--;\n }\n if (string.substr(-2, 2) === '::') {\n colonCount--;\n }\n if (colonCount > parts) {\n return null;\n }\n replacementCount = parts - colonCount;\n replacement = ':';\n while (replacementCount--) {\n replacement += '0:';\n }\n string = string.replace('::', replacement);\n if (string[0] === ':') {\n string = string.slice(1);\n }\n if (string[string.length - 1] === ':') {\n string = string.slice(0, -1);\n }\n parts = (function() {\n var k, len, ref, results;\n ref = string.split(\":\");\n results = [];\n for (k = 0, len = ref.length; k < len; k++) {\n part = ref[k];\n results.push(parseInt(part, 16));\n }\n return results;\n })();\n return {\n parts: parts,\n zoneId: zoneId\n };\n };\n\n ipaddr.IPv6.parser = function(string) {\n var addr, k, len, match, octet, octets, zoneId;\n if (ipv6Regexes['native'].test(string)) {\n return expandIPv6(string, 8);\n } else if (match = string.match(ipv6Regexes['transitional'])) {\n zoneId = match[6] || '';\n addr = expandIPv6(match[1].slice(0, -1) + zoneId, 6);\n if (addr.parts) {\n octets = [parseInt(match[2]), parseInt(match[3]), parseInt(match[4]), parseInt(match[5])];\n for (k = 0, len = octets.length; k < len; k++) {\n octet = octets[k];\n if (!((0 <= octet && octet <= 255))) {\n return null;\n }\n }\n addr.parts.push(octets[0] << 8 | octets[1]);\n addr.parts.push(octets[2] << 8 | octets[3]);\n return {\n parts: addr.parts,\n zoneId: addr.zoneId\n };\n }\n }\n return null;\n };\n\n ipaddr.IPv4.isIPv4 = ipaddr.IPv6.isIPv6 = function(string) {\n return this.parser(string) !== null;\n };\n\n ipaddr.IPv4.isValid = function(string) {\n var e;\n try {\n new this(this.parser(string));\n return true;\n } catch (error1) {\n e = error1;\n return false;\n }\n };\n\n ipaddr.IPv4.isValidFourPartDecimal = function(string) {\n if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*)){3}$/)) {\n return true;\n } else {\n return false;\n }\n };\n\n ipaddr.IPv6.isValid = function(string) {\n var addr, e;\n if (typeof string === \"string\" && string.indexOf(\":\") === -1) {\n return false;\n }\n try {\n addr = this.parser(string);\n new this(addr.parts, addr.zoneId);\n return true;\n } catch (error1) {\n e = error1;\n return false;\n }\n };\n\n ipaddr.IPv4.parse = function(string) {\n var parts;\n parts = this.parser(string);\n if (parts === null) {\n throw new Error(\"ipaddr: string is not formatted like ip address\");\n }\n return new this(parts);\n };\n\n ipaddr.IPv6.parse = function(string) {\n var addr;\n addr = this.parser(string);\n if (addr.parts === null) {\n throw new Error(\"ipaddr: string is not formatted like ip address\");\n }\n return new this(addr.parts, addr.zoneId);\n };\n\n ipaddr.IPv4.parseCIDR = function(string) {\n var maskLength, match, parsed;\n if (match = string.match(/^(.+)\\/(\\d+)$/)) {\n maskLength = parseInt(match[2]);\n if (maskLength >= 0 && maskLength <= 32) {\n parsed = [this.parse(match[1]), maskLength];\n Object.defineProperty(parsed, 'toString', {\n value: function() {\n return this.join('/');\n }\n });\n return parsed;\n }\n }\n throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\");\n };\n\n ipaddr.IPv4.subnetMaskFromPrefixLength = function(prefix) {\n var filledOctetCount, j, octets;\n prefix = parseInt(prefix);\n if (prefix < 0 || prefix > 32) {\n throw new Error('ipaddr: invalid IPv4 prefix length');\n }\n octets = [0, 0, 0, 0];\n j = 0;\n filledOctetCount = Math.floor(prefix / 8);\n while (j < filledOctetCount) {\n octets[j] = 255;\n j++;\n }\n if (filledOctetCount < 4) {\n octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - (prefix % 8);\n }\n return new this(octets);\n };\n\n ipaddr.IPv4.broadcastAddressFromCIDR = function(string) {\n var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets;\n try {\n cidr = this.parseCIDR(string);\n ipInterfaceOctets = cidr[0].toByteArray();\n subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();\n octets = [];\n i = 0;\n while (i < 4) {\n octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255);\n i++;\n }\n return new this(octets);\n } catch (error1) {\n error = error1;\n throw new Error('ipaddr: the address does not have IPv4 CIDR format');\n }\n };\n\n ipaddr.IPv4.networkAddressFromCIDR = function(string) {\n var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets;\n try {\n cidr = this.parseCIDR(string);\n ipInterfaceOctets = cidr[0].toByteArray();\n subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();\n octets = [];\n i = 0;\n while (i < 4) {\n octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));\n i++;\n }\n return new this(octets);\n } catch (error1) {\n error = error1;\n throw new Error('ipaddr: the address does not have IPv4 CIDR format');\n }\n };\n\n ipaddr.IPv6.parseCIDR = function(string) {\n var maskLength, match, parsed;\n if (match = string.match(/^(.+)\\/(\\d+)$/)) {\n maskLength = parseInt(match[2]);\n if (maskLength >= 0 && maskLength <= 128) {\n parsed = [this.parse(match[1]), maskLength];\n Object.defineProperty(parsed, 'toString', {\n value: function() {\n return this.join('/');\n }\n });\n return parsed;\n }\n }\n throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\");\n };\n\n ipaddr.isValid = function(string) {\n return ipaddr.IPv6.isValid(string) || ipaddr.IPv4.isValid(string);\n };\n\n ipaddr.parse = function(string) {\n if (ipaddr.IPv6.isValid(string)) {\n return ipaddr.IPv6.parse(string);\n } else if (ipaddr.IPv4.isValid(string)) {\n return ipaddr.IPv4.parse(string);\n } else {\n throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\");\n }\n };\n\n ipaddr.parseCIDR = function(string) {\n var e;\n try {\n return ipaddr.IPv6.parseCIDR(string);\n } catch (error1) {\n e = error1;\n try {\n return ipaddr.IPv4.parseCIDR(string);\n } catch (error1) {\n e = error1;\n throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\");\n }\n }\n };\n\n ipaddr.fromByteArray = function(bytes) {\n var length;\n length = bytes.length;\n if (length === 4) {\n return new ipaddr.IPv4(bytes);\n } else if (length === 16) {\n return new ipaddr.IPv6(bytes);\n } else {\n throw new Error(\"ipaddr: the binary input is neither an IPv6 nor IPv4 address\");\n }\n };\n\n ipaddr.process = function(string) {\n var addr;\n addr = this.parse(string);\n if (addr.kind() === 'ipv6' && addr.isIPv4MappedAddress()) {\n return addr.toIPv4Address();\n } else {\n return addr;\n }\n };\n\n}).call(this);\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","/*!\n * media-typer\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * RegExp to match *( \";\" parameter ) in RFC 2616 sec 3.7\n *\n * parameter = token \"=\" ( token | quoted-string )\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n * quoted-string = ( <\"> *(qdtext | quoted-pair ) <\"> )\n * qdtext = >\n * quoted-pair = \"\\\" CHAR\n * CHAR = \n * TEXT = \n * LWS = [CRLF] 1*( SP | HT )\n * CRLF = CR LF\n * CR = \n * LF = \n * SP = \n * SHT = \n * CTL = \n * OCTET = \n */\nvar paramRegExp = /; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g;\nvar textRegExp = /^[\\u0020-\\u007e\\u0080-\\u00ff]+$/\nvar tokenRegExp = /^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/\n\n/**\n * RegExp to match quoted-pair in RFC 2616\n *\n * quoted-pair = \"\\\" CHAR\n * CHAR = \n */\nvar qescRegExp = /\\\\([\\u0000-\\u007f])/g;\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 2616\n */\nvar quoteRegExp = /([\\\\\"])/g;\n\n/**\n * RegExp to match type in RFC 6838\n *\n * type-name = restricted-name\n * subtype-name = restricted-name\n * restricted-name = restricted-name-first *126restricted-name-chars\n * restricted-name-first = ALPHA / DIGIT\n * restricted-name-chars = ALPHA / DIGIT / \"!\" / \"#\" /\n * \"$\" / \"&\" / \"-\" / \"^\" / \"_\"\n * restricted-name-chars =/ \".\" ; Characters before first dot always\n * ; specify a facet name\n * restricted-name-chars =/ \"+\" ; Characters after last plus always\n * ; specify a structured syntax suffix\n * ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n * DIGIT = %x30-39 ; 0-9\n */\nvar subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/\nvar typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/\nvar typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;\n\n/**\n * Module exports.\n */\n\nexports.format = format\nexports.parse = parse\n\n/**\n * Format object to media type.\n *\n * @param {object} obj\n * @return {string}\n * @api public\n */\n\nfunction format(obj) {\n if (!obj || typeof obj !== 'object') {\n throw new TypeError('argument obj is required')\n }\n\n var parameters = obj.parameters\n var subtype = obj.subtype\n var suffix = obj.suffix\n var type = obj.type\n\n if (!type || !typeNameRegExp.test(type)) {\n throw new TypeError('invalid type')\n }\n\n if (!subtype || !subtypeNameRegExp.test(subtype)) {\n throw new TypeError('invalid subtype')\n }\n\n // format as type/subtype\n var string = type + '/' + subtype\n\n // append +suffix\n if (suffix) {\n if (!typeNameRegExp.test(suffix)) {\n throw new TypeError('invalid suffix')\n }\n\n string += '+' + suffix\n }\n\n // append parameters\n if (parameters && typeof parameters === 'object') {\n var param\n var params = Object.keys(parameters).sort()\n\n for (var i = 0; i < params.length; i++) {\n param = params[i]\n\n if (!tokenRegExp.test(param)) {\n throw new TypeError('invalid parameter name')\n }\n\n string += '; ' + param + '=' + qstring(parameters[param])\n }\n }\n\n return string\n}\n\n/**\n * Parse media type to object.\n *\n * @param {string|object} string\n * @return {Object}\n * @api public\n */\n\nfunction parse(string) {\n if (!string) {\n throw new TypeError('argument string is required')\n }\n\n // support req/res-like objects as argument\n if (typeof string === 'object') {\n string = getcontenttype(string)\n }\n\n if (typeof string !== 'string') {\n throw new TypeError('argument string is required to be a string')\n }\n\n var index = string.indexOf(';')\n var type = index !== -1\n ? string.substr(0, index)\n : string\n\n var key\n var match\n var obj = splitType(type)\n var params = {}\n var value\n\n paramRegExp.lastIndex = index\n\n while (match = paramRegExp.exec(string)) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format')\n }\n\n index += match[0].length\n key = match[1].toLowerCase()\n value = match[2]\n\n if (value[0] === '\"') {\n // remove quotes and escapes\n value = value\n .substr(1, value.length - 2)\n .replace(qescRegExp, '$1')\n }\n\n params[key] = value\n }\n\n if (index !== -1 && index !== string.length) {\n throw new TypeError('invalid parameter format')\n }\n\n obj.parameters = params\n\n return obj\n}\n\n/**\n * Get content-type from req/res objects.\n *\n * @param {object}\n * @return {Object}\n * @api private\n */\n\nfunction getcontenttype(obj) {\n if (typeof obj.getHeader === 'function') {\n // res-like\n return obj.getHeader('content-type')\n }\n\n if (typeof obj.headers === 'object') {\n // req-like\n return obj.headers && obj.headers['content-type']\n }\n}\n\n/**\n * Quote a string if necessary.\n *\n * @param {string} val\n * @return {string}\n * @api private\n */\n\nfunction qstring(val) {\n var str = String(val)\n\n // no need to quote tokens\n if (tokenRegExp.test(str)) {\n return str\n }\n\n if (str.length > 0 && !textRegExp.test(str)) {\n throw new TypeError('invalid parameter value')\n }\n\n return '\"' + str.replace(quoteRegExp, '\\\\$1') + '\"'\n}\n\n/**\n * Simply \"type/subtype+siffx\" into parts.\n *\n * @param {string} string\n * @return {Object}\n * @api private\n */\n\nfunction splitType(string) {\n var match = typeRegExp.exec(string.toLowerCase())\n\n if (!match) {\n throw new TypeError('invalid media type')\n }\n\n var type = match[1]\n var subtype = match[2]\n var suffix\n\n // suffix after last +\n var index = subtype.lastIndexOf('+')\n if (index !== -1) {\n suffix = subtype.substr(index + 1)\n subtype = subtype.substr(0, index)\n }\n\n var obj = {\n type: type,\n subtype: subtype,\n suffix: suffix\n }\n\n return obj\n}\n","/*!\n * merge-descriptors\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = merge\n\n/**\n * Module variables.\n * @private\n */\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty\n\n/**\n * Merge the property descriptors of `src` into `dest`\n *\n * @param {object} dest Object to add descriptors to\n * @param {object} src Object to clone descriptors from\n * @param {boolean} [redefine=true] Redefine `dest` properties with `src` properties\n * @returns {object} Reference to dest\n * @public\n */\n\nfunction merge(dest, src, redefine) {\n if (!dest) {\n throw new TypeError('argument dest is required')\n }\n\n if (!src) {\n throw new TypeError('argument src is required')\n }\n\n if (redefine === undefined) {\n // Default to true\n redefine = true\n }\n\n Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName(name) {\n if (!redefine && hasOwnProperty.call(dest, name)) {\n // Skip desriptor\n return\n }\n\n // Copy descriptor\n var descriptor = Object.getOwnPropertyDescriptor(src, name)\n Object.defineProperty(dest, name, descriptor)\n })\n\n return dest\n}\n","/*!\n * methods\n * Copyright(c) 2013-2014 TJ Holowaychuk\n * Copyright(c) 2015-2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar http = require('http');\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = getCurrentNodeMethods() || getBasicNodeMethods();\n\n/**\n * Get the current Node.js methods.\n * @private\n */\n\nfunction getCurrentNodeMethods() {\n return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) {\n return method.toLowerCase();\n });\n}\n\n/**\n * Get the \"basic\" Node.js methods, a snapshot from Node.js 0.10.\n * @private\n */\n\nfunction getBasicNodeMethods() {\n return [\n 'get',\n 'post',\n 'put',\n 'head',\n 'delete',\n 'options',\n 'trace',\n 'copy',\n 'lock',\n 'mkcol',\n 'move',\n 'purge',\n 'propfind',\n 'proppatch',\n 'unlock',\n 'report',\n 'mkactivity',\n 'checkout',\n 'merge',\n 'm-search',\n 'notify',\n 'subscribe',\n 'unsubscribe',\n 'patch',\n 'search',\n 'connect'\n ];\n}\n","/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module exports.\n */\n\nmodule.exports = require('./db.json')\n","/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = require('mime-db')\nvar extname = require('path').extname\n\n/**\n * Module variables.\n * @private\n */\n\nvar EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/\nvar TEXT_TYPE_REGEXP = /^text\\//i\n\n/**\n * Module exports.\n * @public\n */\n\nexports.charset = charset\nexports.charsets = { lookup: charset }\nexports.contentType = contentType\nexports.extension = extension\nexports.extensions = Object.create(null)\nexports.lookup = lookup\nexports.types = Object.create(null)\n\n// Populate the extensions/types maps\npopulateMaps(exports.extensions, exports.types)\n\n/**\n * Get the default charset for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction charset (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n var mime = match && db[match[1].toLowerCase()]\n\n if (mime && mime.charset) {\n return mime.charset\n }\n\n // default text/* to utf-8\n if (match && TEXT_TYPE_REGEXP.test(match[1])) {\n return 'UTF-8'\n }\n\n return false\n}\n\n/**\n * Create a full Content-Type header given a MIME type or extension.\n *\n * @param {string} str\n * @return {boolean|string}\n */\n\nfunction contentType (str) {\n // TODO: should this even be in this module?\n if (!str || typeof str !== 'string') {\n return false\n }\n\n var mime = str.indexOf('/') === -1\n ? exports.lookup(str)\n : str\n\n if (!mime) {\n return false\n }\n\n // TODO: use content-type or other module\n if (mime.indexOf('charset') === -1) {\n var charset = exports.charset(mime)\n if (charset) mime += '; charset=' + charset.toLowerCase()\n }\n\n return mime\n}\n\n/**\n * Get the default extension for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction extension (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n\n // get extensions\n var exts = match && exports.extensions[match[1].toLowerCase()]\n\n if (!exts || !exts.length) {\n return false\n }\n\n return exts[0]\n}\n\n/**\n * Lookup the MIME type for a file path/extension.\n *\n * @param {string} path\n * @return {boolean|string}\n */\n\nfunction lookup (path) {\n if (!path || typeof path !== 'string') {\n return false\n }\n\n // get the extension (\"ext\" or \".ext\" or full path)\n var extension = extname('x.' + path)\n .toLowerCase()\n .substr(1)\n\n if (!extension) {\n return false\n }\n\n return exports.types[extension] || false\n}\n\n/**\n * Populate the extensions and types maps.\n * @private\n */\n\nfunction populateMaps (extensions, types) {\n // source preference (least -> most)\n var preference = ['nginx', 'apache', undefined, 'iana']\n\n Object.keys(db).forEach(function forEachMimeType (type) {\n var mime = db[type]\n var exts = mime.extensions\n\n if (!exts || !exts.length) {\n return\n }\n\n // mime -> extensions\n extensions[type] = exts\n\n // extension -> mime\n for (var i = 0; i < exts.length; i++) {\n var extension = exts[i]\n\n if (types[extension]) {\n var from = preference.indexOf(db[types[extension]].source)\n var to = preference.indexOf(mime.source)\n\n if (types[extension] !== 'application/octet-stream' &&\n (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {\n // skip the remapping\n continue\n }\n }\n\n // set the extension -> mime\n types[extension] = type\n }\n })\n}\n","var path = require('path');\nvar fs = require('fs');\n\nfunction Mime() {\n // Map of extension -> mime type\n this.types = Object.create(null);\n\n // Map of mime type -> extension\n this.extensions = Object.create(null);\n}\n\n/**\n * Define mimetype -> extension mappings. Each key is a mime-type that maps\n * to an array of extensions associated with the type. The first extension is\n * used as the default extension for the type.\n *\n * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});\n *\n * @param map (Object) type definitions\n */\nMime.prototype.define = function (map) {\n for (var type in map) {\n var exts = map[type];\n for (var i = 0; i < exts.length; i++) {\n if (process.env.DEBUG_MIME && this.types[exts[i]]) {\n console.warn((this._loading || \"define()\").replace(/.*\\//, ''), 'changes \"' + exts[i] + '\" extension type from ' +\n this.types[exts[i]] + ' to ' + type);\n }\n\n this.types[exts[i]] = type;\n }\n\n // Default extension is the first one we encounter\n if (!this.extensions[type]) {\n this.extensions[type] = exts[0];\n }\n }\n};\n\n/**\n * Load an Apache2-style \".types\" file\n *\n * This may be called multiple times (it's expected). Where files declare\n * overlapping types/extensions, the last file wins.\n *\n * @param file (String) path of file to load.\n */\nMime.prototype.load = function(file) {\n this._loading = file;\n // Read file and split into lines\n var map = {},\n content = fs.readFileSync(file, 'ascii'),\n lines = content.split(/[\\r\\n]+/);\n\n lines.forEach(function(line) {\n // Clean up whitespace/comments, and split into fields\n var fields = line.replace(/\\s*#.*|^\\s*|\\s*$/g, '').split(/\\s+/);\n map[fields.shift()] = fields;\n });\n\n this.define(map);\n\n this._loading = null;\n};\n\n/**\n * Lookup a mime type based on extension\n */\nMime.prototype.lookup = function(path, fallback) {\n var ext = path.replace(/^.*[\\.\\/\\\\]/, '').toLowerCase();\n\n return this.types[ext] || fallback || this.default_type;\n};\n\n/**\n * Return file extension associated with a mime type\n */\nMime.prototype.extension = function(mimeType) {\n var type = mimeType.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();\n return this.extensions[type];\n};\n\n// Default instance\nvar mime = new Mime();\n\n// Define built-in types\nmime.define(require('./types.json'));\n\n// Default type\nmime.default_type = mime.lookup('bin');\n\n//\n// Additional API specific to the default instance\n//\n\nmime.Mime = Mime;\n\n/**\n * Lookup a charset based on mime type.\n */\nmime.charsets = {\n lookup: function(mimeType, fallback) {\n // Assume text types are utf8\n return (/^text\\/|^application\\/(javascript|json)/).test(mimeType) ? 'UTF-8' : fallback;\n }\n};\n\nmodule.exports = mime;\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","/*!\n * negotiator\n * Copyright(c) 2012 Federico Romero\n * Copyright(c) 2012-2014 Isaac Z. Schlueter\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\nvar preferredCharsets = require('./lib/charset')\nvar preferredEncodings = require('./lib/encoding')\nvar preferredLanguages = require('./lib/language')\nvar preferredMediaTypes = require('./lib/mediaType')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Negotiator;\nmodule.exports.Negotiator = Negotiator;\n\n/**\n * Create a Negotiator instance from a request.\n * @param {object} request\n * @public\n */\n\nfunction Negotiator(request) {\n if (!(this instanceof Negotiator)) {\n return new Negotiator(request);\n }\n\n this.request = request;\n}\n\nNegotiator.prototype.charset = function charset(available) {\n var set = this.charsets(available);\n return set && set[0];\n};\n\nNegotiator.prototype.charsets = function charsets(available) {\n return preferredCharsets(this.request.headers['accept-charset'], available);\n};\n\nNegotiator.prototype.encoding = function encoding(available) {\n var set = this.encodings(available);\n return set && set[0];\n};\n\nNegotiator.prototype.encodings = function encodings(available) {\n return preferredEncodings(this.request.headers['accept-encoding'], available);\n};\n\nNegotiator.prototype.language = function language(available) {\n var set = this.languages(available);\n return set && set[0];\n};\n\nNegotiator.prototype.languages = function languages(available) {\n return preferredLanguages(this.request.headers['accept-language'], available);\n};\n\nNegotiator.prototype.mediaType = function mediaType(available) {\n var set = this.mediaTypes(available);\n return set && set[0];\n};\n\nNegotiator.prototype.mediaTypes = function mediaTypes(available) {\n return preferredMediaTypes(this.request.headers.accept, available);\n};\n\n// Backwards compatibility\nNegotiator.prototype.preferredCharset = Negotiator.prototype.charset;\nNegotiator.prototype.preferredCharsets = Negotiator.prototype.charsets;\nNegotiator.prototype.preferredEncoding = Negotiator.prototype.encoding;\nNegotiator.prototype.preferredEncodings = Negotiator.prototype.encodings;\nNegotiator.prototype.preferredLanguage = Negotiator.prototype.language;\nNegotiator.prototype.preferredLanguages = Negotiator.prototype.languages;\nNegotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType;\nNegotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes;\n","/**\n * negotiator\n * Copyright(c) 2012 Isaac Z. Schlueter\n * Copyright(c) 2014 Federico Romero\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = preferredCharsets;\nmodule.exports.preferredCharsets = preferredCharsets;\n\n/**\n * Module variables.\n * @private\n */\n\nvar simpleCharsetRegExp = /^\\s*([^\\s;]+)\\s*(?:;(.*))?$/;\n\n/**\n * Parse the Accept-Charset header.\n * @private\n */\n\nfunction parseAcceptCharset(accept) {\n var accepts = accept.split(',');\n\n for (var i = 0, j = 0; i < accepts.length; i++) {\n var charset = parseCharset(accepts[i].trim(), i);\n\n if (charset) {\n accepts[j++] = charset;\n }\n }\n\n // trim accepts\n accepts.length = j;\n\n return accepts;\n}\n\n/**\n * Parse a charset from the Accept-Charset header.\n * @private\n */\n\nfunction parseCharset(str, i) {\n var match = simpleCharsetRegExp.exec(str);\n if (!match) return null;\n\n var charset = match[1];\n var q = 1;\n if (match[2]) {\n var params = match[2].split(';')\n for (var j = 0; j < params.length; j++) {\n var p = params[j].trim().split('=');\n if (p[0] === 'q') {\n q = parseFloat(p[1]);\n break;\n }\n }\n }\n\n return {\n charset: charset,\n q: q,\n i: i\n };\n}\n\n/**\n * Get the priority of a charset.\n * @private\n */\n\nfunction getCharsetPriority(charset, accepted, index) {\n var priority = {o: -1, q: 0, s: 0};\n\n for (var i = 0; i < accepted.length; i++) {\n var spec = specify(charset, accepted[i], index);\n\n if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {\n priority = spec;\n }\n }\n\n return priority;\n}\n\n/**\n * Get the specificity of the charset.\n * @private\n */\n\nfunction specify(charset, spec, index) {\n var s = 0;\n if(spec.charset.toLowerCase() === charset.toLowerCase()){\n s |= 1;\n } else if (spec.charset !== '*' ) {\n return null\n }\n\n return {\n i: index,\n o: spec.i,\n q: spec.q,\n s: s\n }\n}\n\n/**\n * Get the preferred charsets from an Accept-Charset header.\n * @public\n */\n\nfunction preferredCharsets(accept, provided) {\n // RFC 2616 sec 14.2: no header = *\n var accepts = parseAcceptCharset(accept === undefined ? '*' : accept || '');\n\n if (!provided) {\n // sorted list of all charsets\n return accepts\n .filter(isQuality)\n .sort(compareSpecs)\n .map(getFullCharset);\n }\n\n var priorities = provided.map(function getPriority(type, index) {\n return getCharsetPriority(type, accepts, index);\n });\n\n // sorted list of accepted charsets\n return priorities.filter(isQuality).sort(compareSpecs).map(function getCharset(priority) {\n return provided[priorities.indexOf(priority)];\n });\n}\n\n/**\n * Compare two specs.\n * @private\n */\n\nfunction compareSpecs(a, b) {\n return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;\n}\n\n/**\n * Get full charset string.\n * @private\n */\n\nfunction getFullCharset(spec) {\n return spec.charset;\n}\n\n/**\n * Check if a spec has any quality.\n * @private\n */\n\nfunction isQuality(spec) {\n return spec.q > 0;\n}\n","/**\n * negotiator\n * Copyright(c) 2012 Isaac Z. Schlueter\n * Copyright(c) 2014 Federico Romero\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = preferredEncodings;\nmodule.exports.preferredEncodings = preferredEncodings;\n\n/**\n * Module variables.\n * @private\n */\n\nvar simpleEncodingRegExp = /^\\s*([^\\s;]+)\\s*(?:;(.*))?$/;\n\n/**\n * Parse the Accept-Encoding header.\n * @private\n */\n\nfunction parseAcceptEncoding(accept) {\n var accepts = accept.split(',');\n var hasIdentity = false;\n var minQuality = 1;\n\n for (var i = 0, j = 0; i < accepts.length; i++) {\n var encoding = parseEncoding(accepts[i].trim(), i);\n\n if (encoding) {\n accepts[j++] = encoding;\n hasIdentity = hasIdentity || specify('identity', encoding);\n minQuality = Math.min(minQuality, encoding.q || 1);\n }\n }\n\n if (!hasIdentity) {\n /*\n * If identity doesn't explicitly appear in the accept-encoding header,\n * it's added to the list of acceptable encoding with the lowest q\n */\n accepts[j++] = {\n encoding: 'identity',\n q: minQuality,\n i: i\n };\n }\n\n // trim accepts\n accepts.length = j;\n\n return accepts;\n}\n\n/**\n * Parse an encoding from the Accept-Encoding header.\n * @private\n */\n\nfunction parseEncoding(str, i) {\n var match = simpleEncodingRegExp.exec(str);\n if (!match) return null;\n\n var encoding = match[1];\n var q = 1;\n if (match[2]) {\n var params = match[2].split(';');\n for (var j = 0; j < params.length; j++) {\n var p = params[j].trim().split('=');\n if (p[0] === 'q') {\n q = parseFloat(p[1]);\n break;\n }\n }\n }\n\n return {\n encoding: encoding,\n q: q,\n i: i\n };\n}\n\n/**\n * Get the priority of an encoding.\n * @private\n */\n\nfunction getEncodingPriority(encoding, accepted, index) {\n var priority = {o: -1, q: 0, s: 0};\n\n for (var i = 0; i < accepted.length; i++) {\n var spec = specify(encoding, accepted[i], index);\n\n if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {\n priority = spec;\n }\n }\n\n return priority;\n}\n\n/**\n * Get the specificity of the encoding.\n * @private\n */\n\nfunction specify(encoding, spec, index) {\n var s = 0;\n if(spec.encoding.toLowerCase() === encoding.toLowerCase()){\n s |= 1;\n } else if (spec.encoding !== '*' ) {\n return null\n }\n\n return {\n i: index,\n o: spec.i,\n q: spec.q,\n s: s\n }\n};\n\n/**\n * Get the preferred encodings from an Accept-Encoding header.\n * @public\n */\n\nfunction preferredEncodings(accept, provided) {\n var accepts = parseAcceptEncoding(accept || '');\n\n if (!provided) {\n // sorted list of all encodings\n return accepts\n .filter(isQuality)\n .sort(compareSpecs)\n .map(getFullEncoding);\n }\n\n var priorities = provided.map(function getPriority(type, index) {\n return getEncodingPriority(type, accepts, index);\n });\n\n // sorted list of accepted encodings\n return priorities.filter(isQuality).sort(compareSpecs).map(function getEncoding(priority) {\n return provided[priorities.indexOf(priority)];\n });\n}\n\n/**\n * Compare two specs.\n * @private\n */\n\nfunction compareSpecs(a, b) {\n return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;\n}\n\n/**\n * Get full encoding string.\n * @private\n */\n\nfunction getFullEncoding(spec) {\n return spec.encoding;\n}\n\n/**\n * Check if a spec has any quality.\n * @private\n */\n\nfunction isQuality(spec) {\n return spec.q > 0;\n}\n","/**\n * negotiator\n * Copyright(c) 2012 Isaac Z. Schlueter\n * Copyright(c) 2014 Federico Romero\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = preferredLanguages;\nmodule.exports.preferredLanguages = preferredLanguages;\n\n/**\n * Module variables.\n * @private\n */\n\nvar simpleLanguageRegExp = /^\\s*([^\\s\\-;]+)(?:-([^\\s;]+))?\\s*(?:;(.*))?$/;\n\n/**\n * Parse the Accept-Language header.\n * @private\n */\n\nfunction parseAcceptLanguage(accept) {\n var accepts = accept.split(',');\n\n for (var i = 0, j = 0; i < accepts.length; i++) {\n var language = parseLanguage(accepts[i].trim(), i);\n\n if (language) {\n accepts[j++] = language;\n }\n }\n\n // trim accepts\n accepts.length = j;\n\n return accepts;\n}\n\n/**\n * Parse a language from the Accept-Language header.\n * @private\n */\n\nfunction parseLanguage(str, i) {\n var match = simpleLanguageRegExp.exec(str);\n if (!match) return null;\n\n var prefix = match[1]\n var suffix = match[2]\n var full = prefix\n\n if (suffix) full += \"-\" + suffix;\n\n var q = 1;\n if (match[3]) {\n var params = match[3].split(';')\n for (var j = 0; j < params.length; j++) {\n var p = params[j].split('=');\n if (p[0] === 'q') q = parseFloat(p[1]);\n }\n }\n\n return {\n prefix: prefix,\n suffix: suffix,\n q: q,\n i: i,\n full: full\n };\n}\n\n/**\n * Get the priority of a language.\n * @private\n */\n\nfunction getLanguagePriority(language, accepted, index) {\n var priority = {o: -1, q: 0, s: 0};\n\n for (var i = 0; i < accepted.length; i++) {\n var spec = specify(language, accepted[i], index);\n\n if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {\n priority = spec;\n }\n }\n\n return priority;\n}\n\n/**\n * Get the specificity of the language.\n * @private\n */\n\nfunction specify(language, spec, index) {\n var p = parseLanguage(language)\n if (!p) return null;\n var s = 0;\n if(spec.full.toLowerCase() === p.full.toLowerCase()){\n s |= 4;\n } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) {\n s |= 2;\n } else if (spec.full.toLowerCase() === p.prefix.toLowerCase()) {\n s |= 1;\n } else if (spec.full !== '*' ) {\n return null\n }\n\n return {\n i: index,\n o: spec.i,\n q: spec.q,\n s: s\n }\n};\n\n/**\n * Get the preferred languages from an Accept-Language header.\n * @public\n */\n\nfunction preferredLanguages(accept, provided) {\n // RFC 2616 sec 14.4: no header = *\n var accepts = parseAcceptLanguage(accept === undefined ? '*' : accept || '');\n\n if (!provided) {\n // sorted list of all languages\n return accepts\n .filter(isQuality)\n .sort(compareSpecs)\n .map(getFullLanguage);\n }\n\n var priorities = provided.map(function getPriority(type, index) {\n return getLanguagePriority(type, accepts, index);\n });\n\n // sorted list of accepted languages\n return priorities.filter(isQuality).sort(compareSpecs).map(function getLanguage(priority) {\n return provided[priorities.indexOf(priority)];\n });\n}\n\n/**\n * Compare two specs.\n * @private\n */\n\nfunction compareSpecs(a, b) {\n return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;\n}\n\n/**\n * Get full language string.\n * @private\n */\n\nfunction getFullLanguage(spec) {\n return spec.full;\n}\n\n/**\n * Check if a spec has any quality.\n * @private\n */\n\nfunction isQuality(spec) {\n return spec.q > 0;\n}\n","/**\n * negotiator\n * Copyright(c) 2012 Isaac Z. Schlueter\n * Copyright(c) 2014 Federico Romero\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = preferredMediaTypes;\nmodule.exports.preferredMediaTypes = preferredMediaTypes;\n\n/**\n * Module variables.\n * @private\n */\n\nvar simpleMediaTypeRegExp = /^\\s*([^\\s\\/;]+)\\/([^;\\s]+)\\s*(?:;(.*))?$/;\n\n/**\n * Parse the Accept header.\n * @private\n */\n\nfunction parseAccept(accept) {\n var accepts = splitMediaTypes(accept);\n\n for (var i = 0, j = 0; i < accepts.length; i++) {\n var mediaType = parseMediaType(accepts[i].trim(), i);\n\n if (mediaType) {\n accepts[j++] = mediaType;\n }\n }\n\n // trim accepts\n accepts.length = j;\n\n return accepts;\n}\n\n/**\n * Parse a media type from the Accept header.\n * @private\n */\n\nfunction parseMediaType(str, i) {\n var match = simpleMediaTypeRegExp.exec(str);\n if (!match) return null;\n\n var params = Object.create(null);\n var q = 1;\n var subtype = match[2];\n var type = match[1];\n\n if (match[3]) {\n var kvps = splitParameters(match[3]).map(splitKeyValuePair);\n\n for (var j = 0; j < kvps.length; j++) {\n var pair = kvps[j];\n var key = pair[0].toLowerCase();\n var val = pair[1];\n\n // get the value, unwrapping quotes\n var value = val && val[0] === '\"' && val[val.length - 1] === '\"'\n ? val.substr(1, val.length - 2)\n : val;\n\n if (key === 'q') {\n q = parseFloat(value);\n break;\n }\n\n // store parameter\n params[key] = value;\n }\n }\n\n return {\n type: type,\n subtype: subtype,\n params: params,\n q: q,\n i: i\n };\n}\n\n/**\n * Get the priority of a media type.\n * @private\n */\n\nfunction getMediaTypePriority(type, accepted, index) {\n var priority = {o: -1, q: 0, s: 0};\n\n for (var i = 0; i < accepted.length; i++) {\n var spec = specify(type, accepted[i], index);\n\n if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {\n priority = spec;\n }\n }\n\n return priority;\n}\n\n/**\n * Get the specificity of the media type.\n * @private\n */\n\nfunction specify(type, spec, index) {\n var p = parseMediaType(type);\n var s = 0;\n\n if (!p) {\n return null;\n }\n\n if(spec.type.toLowerCase() == p.type.toLowerCase()) {\n s |= 4\n } else if(spec.type != '*') {\n return null;\n }\n\n if(spec.subtype.toLowerCase() == p.subtype.toLowerCase()) {\n s |= 2\n } else if(spec.subtype != '*') {\n return null;\n }\n\n var keys = Object.keys(spec.params);\n if (keys.length > 0) {\n if (keys.every(function (k) {\n return spec.params[k] == '*' || (spec.params[k] || '').toLowerCase() == (p.params[k] || '').toLowerCase();\n })) {\n s |= 1\n } else {\n return null\n }\n }\n\n return {\n i: index,\n o: spec.i,\n q: spec.q,\n s: s,\n }\n}\n\n/**\n * Get the preferred media types from an Accept header.\n * @public\n */\n\nfunction preferredMediaTypes(accept, provided) {\n // RFC 2616 sec 14.2: no header = */*\n var accepts = parseAccept(accept === undefined ? '*/*' : accept || '');\n\n if (!provided) {\n // sorted list of all types\n return accepts\n .filter(isQuality)\n .sort(compareSpecs)\n .map(getFullType);\n }\n\n var priorities = provided.map(function getPriority(type, index) {\n return getMediaTypePriority(type, accepts, index);\n });\n\n // sorted list of accepted types\n return priorities.filter(isQuality).sort(compareSpecs).map(function getType(priority) {\n return provided[priorities.indexOf(priority)];\n });\n}\n\n/**\n * Compare two specs.\n * @private\n */\n\nfunction compareSpecs(a, b) {\n return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;\n}\n\n/**\n * Get full type string.\n * @private\n */\n\nfunction getFullType(spec) {\n return spec.type + '/' + spec.subtype;\n}\n\n/**\n * Check if a spec has any quality.\n * @private\n */\n\nfunction isQuality(spec) {\n return spec.q > 0;\n}\n\n/**\n * Count the number of quotes in a string.\n * @private\n */\n\nfunction quoteCount(string) {\n var count = 0;\n var index = 0;\n\n while ((index = string.indexOf('\"', index)) !== -1) {\n count++;\n index++;\n }\n\n return count;\n}\n\n/**\n * Split a key value pair.\n * @private\n */\n\nfunction splitKeyValuePair(str) {\n var index = str.indexOf('=');\n var key;\n var val;\n\n if (index === -1) {\n key = str;\n } else {\n key = str.substr(0, index);\n val = str.substr(index + 1);\n }\n\n return [key, val];\n}\n\n/**\n * Split an Accept header into media types.\n * @private\n */\n\nfunction splitMediaTypes(accept) {\n var accepts = accept.split(',');\n\n for (var i = 1, j = 0; i < accepts.length; i++) {\n if (quoteCount(accepts[j]) % 2 == 0) {\n accepts[++j] = accepts[i];\n } else {\n accepts[j] += ',' + accepts[i];\n }\n }\n\n // trim accepts\n accepts.length = j + 1;\n\n return accepts;\n}\n\n/**\n * Split a string of parameters.\n * @private\n */\n\nfunction splitParameters(str) {\n var parameters = str.split(';');\n\n for (var i = 1, j = 0; i < parameters.length; i++) {\n if (quoteCount(parameters[j]) % 2 == 0) {\n parameters[++j] = parameters[i];\n } else {\n parameters[j] += ';' + parameters[i];\n }\n }\n\n // trim parameters\n parameters.length = j + 1;\n\n for (var i = 0; i < parameters.length; i++) {\n parameters[i] = parameters[i].trim();\n }\n\n return parameters;\n}\n","var fs = require('fs')\nvar path = require('path')\nvar os = require('os')\n\n// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'\nvar runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line\n\nvar vars = (process.config && process.config.variables) || {}\nvar prebuildsOnly = !!process.env.PREBUILDS_ONLY\nvar abi = process.versions.modules // TODO: support old node where this is undef\nvar runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')\n\nvar arch = process.env.npm_config_arch || os.arch()\nvar platform = process.env.npm_config_platform || os.platform()\nvar libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')\nvar armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''\nvar uv = (process.versions.uv || '').split('.')[0]\n\nmodule.exports = load\n\nfunction load (dir) {\n return runtimeRequire(load.path(dir))\n}\n\nload.path = function (dir) {\n dir = path.resolve(dir || '.')\n\n try {\n var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')\n if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']\n } catch (err) {}\n\n if (!prebuildsOnly) {\n var release = getFirst(path.join(dir, 'build/Release'), matchBuild)\n if (release) return release\n\n var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)\n if (debug) return debug\n }\n\n var prebuild = resolve(dir)\n if (prebuild) return prebuild\n\n var nearby = resolve(path.dirname(process.execPath))\n if (nearby) return nearby\n\n var target = [\n 'platform=' + platform,\n 'arch=' + arch,\n 'runtime=' + runtime,\n 'abi=' + abi,\n 'uv=' + uv,\n armv ? 'armv=' + armv : '',\n 'libc=' + libc,\n 'node=' + process.versions.node,\n process.versions.electron ? 'electron=' + process.versions.electron : '',\n typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line\n ].filter(Boolean).join(' ')\n\n throw new Error('No native build was found for ' + target + '\\n loaded from: ' + dir + '\\n')\n\n function resolve (dir) {\n // Find matching \"prebuilds/-\" directory\n var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)\n var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]\n if (!tuple) return\n\n // Find most specific flavor first\n var prebuilds = path.join(dir, 'prebuilds', tuple.name)\n var parsed = readdirSync(prebuilds).map(parseTags)\n var candidates = parsed.filter(matchTags(runtime, abi))\n var winner = candidates.sort(compareTags(runtime))[0]\n if (winner) return path.join(prebuilds, winner.file)\n }\n}\n\nfunction readdirSync (dir) {\n try {\n return fs.readdirSync(dir)\n } catch (err) {\n return []\n }\n}\n\nfunction getFirst (dir, filter) {\n var files = readdirSync(dir).filter(filter)\n return files[0] && path.join(dir, files[0])\n}\n\nfunction matchBuild (name) {\n return /\\.node$/.test(name)\n}\n\nfunction parseTuple (name) {\n // Example: darwin-x64+arm64\n var arr = name.split('-')\n if (arr.length !== 2) return\n\n var platform = arr[0]\n var architectures = arr[1].split('+')\n\n if (!platform) return\n if (!architectures.length) return\n if (!architectures.every(Boolean)) return\n\n return { name, platform, architectures }\n}\n\nfunction matchTuple (platform, arch) {\n return function (tuple) {\n if (tuple == null) return false\n if (tuple.platform !== platform) return false\n return tuple.architectures.includes(arch)\n }\n}\n\nfunction compareTuples (a, b) {\n // Prefer single-arch prebuilds over multi-arch\n return a.architectures.length - b.architectures.length\n}\n\nfunction parseTags (file) {\n var arr = file.split('.')\n var extension = arr.pop()\n var tags = { file: file, specificity: 0 }\n\n if (extension !== 'node') return\n\n for (var i = 0; i < arr.length; i++) {\n var tag = arr[i]\n\n if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {\n tags.runtime = tag\n } else if (tag === 'napi') {\n tags.napi = true\n } else if (tag.slice(0, 3) === 'abi') {\n tags.abi = tag.slice(3)\n } else if (tag.slice(0, 2) === 'uv') {\n tags.uv = tag.slice(2)\n } else if (tag.slice(0, 4) === 'armv') {\n tags.armv = tag.slice(4)\n } else if (tag === 'glibc' || tag === 'musl') {\n tags.libc = tag\n } else {\n continue\n }\n\n tags.specificity++\n }\n\n return tags\n}\n\nfunction matchTags (runtime, abi) {\n return function (tags) {\n if (tags == null) return false\n if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false\n if (tags.abi !== abi && !tags.napi) return false\n if (tags.uv && tags.uv !== uv) return false\n if (tags.armv && tags.armv !== armv) return false\n if (tags.libc && tags.libc !== libc) return false\n\n return true\n }\n}\n\nfunction runtimeAgnostic (tags) {\n return tags.runtime === 'node' && tags.napi\n}\n\nfunction compareTags (runtime) {\n // Precedence: non-agnostic runtime, abi over napi, then by specificity.\n return function (a, b) {\n if (a.runtime !== b.runtime) {\n return a.runtime === runtime ? -1 : 1\n } else if (a.abi !== b.abi) {\n return a.abi ? -1 : 1\n } else if (a.specificity !== b.specificity) {\n return a.specificity > b.specificity ? -1 : 1\n } else {\n return 0\n }\n }\n}\n\nfunction isNwjs () {\n return !!(process.versions && process.versions.nw)\n}\n\nfunction isElectron () {\n if (process.versions && process.versions.electron) return true\n if (process.env.ELECTRON_RUN_AS_NODE) return true\n return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'\n}\n\nfunction isAlpine (platform) {\n return platform === 'linux' && fs.existsSync('/etc/alpine-release')\n}\n\n// Exposed for unit tests\n// TODO: move to lib\nload.parseTags = parseTags\nload.matchTags = matchTags\nload.compareTags = compareTags\nload.parseTuple = parseTuple\nload.matchTuple = matchTuple\nload.compareTuples = compareTuples\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","module.exports = require('util').inspect;\n","/*!\n * on-finished\n * Copyright(c) 2013 Jonathan Ong\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = onFinished\nmodule.exports.isFinished = isFinished\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar asyncHooks = tryRequireAsyncHooks()\nvar first = require('ee-first')\n\n/**\n * Variables.\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Invoke callback when the response has finished, useful for\n * cleaning up resources afterwards.\n *\n * @param {object} msg\n * @param {function} listener\n * @return {object}\n * @public\n */\n\nfunction onFinished (msg, listener) {\n if (isFinished(msg) !== false) {\n defer(listener, null, msg)\n return msg\n }\n\n // attach the listener to the message\n attachListener(msg, wrap(listener))\n\n return msg\n}\n\n/**\n * Determine if message is already finished.\n *\n * @param {object} msg\n * @return {boolean}\n * @public\n */\n\nfunction isFinished (msg) {\n var socket = msg.socket\n\n if (typeof msg.finished === 'boolean') {\n // OutgoingMessage\n return Boolean(msg.finished || (socket && !socket.writable))\n }\n\n if (typeof msg.complete === 'boolean') {\n // IncomingMessage\n return Boolean(msg.upgrade || !socket || !socket.readable || (msg.complete && !msg.readable))\n }\n\n // don't know\n return undefined\n}\n\n/**\n * Attach a finished listener to the message.\n *\n * @param {object} msg\n * @param {function} callback\n * @private\n */\n\nfunction attachFinishedListener (msg, callback) {\n var eeMsg\n var eeSocket\n var finished = false\n\n function onFinish (error) {\n eeMsg.cancel()\n eeSocket.cancel()\n\n finished = true\n callback(error)\n }\n\n // finished on first message event\n eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish)\n\n function onSocket (socket) {\n // remove listener\n msg.removeListener('socket', onSocket)\n\n if (finished) return\n if (eeMsg !== eeSocket) return\n\n // finished on first socket event\n eeSocket = first([[socket, 'error', 'close']], onFinish)\n }\n\n if (msg.socket) {\n // socket already assigned\n onSocket(msg.socket)\n return\n }\n\n // wait for socket to be assigned\n msg.on('socket', onSocket)\n\n if (msg.socket === undefined) {\n // istanbul ignore next: node.js 0.8 patch\n patchAssignSocket(msg, onSocket)\n }\n}\n\n/**\n * Attach the listener to the message.\n *\n * @param {object} msg\n * @return {function}\n * @private\n */\n\nfunction attachListener (msg, listener) {\n var attached = msg.__onFinished\n\n // create a private single listener with queue\n if (!attached || !attached.queue) {\n attached = msg.__onFinished = createListener(msg)\n attachFinishedListener(msg, attached)\n }\n\n attached.queue.push(listener)\n}\n\n/**\n * Create listener on message.\n *\n * @param {object} msg\n * @return {function}\n * @private\n */\n\nfunction createListener (msg) {\n function listener (err) {\n if (msg.__onFinished === listener) msg.__onFinished = null\n if (!listener.queue) return\n\n var queue = listener.queue\n listener.queue = null\n\n for (var i = 0; i < queue.length; i++) {\n queue[i](err, msg)\n }\n }\n\n listener.queue = []\n\n return listener\n}\n\n/**\n * Patch ServerResponse.prototype.assignSocket for node.js 0.8.\n *\n * @param {ServerResponse} res\n * @param {function} callback\n * @private\n */\n\n// istanbul ignore next: node.js 0.8 patch\nfunction patchAssignSocket (res, callback) {\n var assignSocket = res.assignSocket\n\n if (typeof assignSocket !== 'function') return\n\n // res.on('socket', callback) is broken in 0.8\n res.assignSocket = function _assignSocket (socket) {\n assignSocket.call(this, socket)\n callback(socket)\n }\n}\n\n/**\n * Try to require async_hooks\n * @private\n */\n\nfunction tryRequireAsyncHooks () {\n try {\n return require('async_hooks')\n } catch (e) {\n return {}\n }\n}\n\n/**\n * Wrap function with async resource, if possible.\n * AsyncResource.bind static method backported.\n * @private\n */\n\nfunction wrap (fn) {\n var res\n\n // create anonymous resource\n if (asyncHooks.AsyncResource) {\n res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')\n }\n\n // incompatible node.js\n if (!res || !res.runInAsyncScope) {\n return fn\n }\n\n // return bound function\n return res.runInAsyncScope.bind(res, fn, null)\n}\n","/*!\n * on-headers\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = onHeaders\n\n/**\n * Create a replacement writeHead method.\n *\n * @param {function} prevWriteHead\n * @param {function} listener\n * @private\n */\n\nfunction createWriteHead (prevWriteHead, listener) {\n var fired = false\n\n // return function with core name and argument list\n return function writeHead (statusCode) {\n // set headers from arguments\n var args = setWriteHeadHeaders.apply(this, arguments)\n\n // fire listener\n if (!fired) {\n fired = true\n listener.call(this)\n\n // pass-along an updated status code\n if (typeof args[0] === 'number' && this.statusCode !== args[0]) {\n args[0] = this.statusCode\n args.length = 1\n }\n }\n\n return prevWriteHead.apply(this, args)\n }\n}\n\n/**\n * Execute a listener when a response is about to write headers.\n *\n * @param {object} res\n * @return {function} listener\n * @public\n */\n\nfunction onHeaders (res, listener) {\n if (!res) {\n throw new TypeError('argument res is required')\n }\n\n if (typeof listener !== 'function') {\n throw new TypeError('argument listener must be a function')\n }\n\n res.writeHead = createWriteHead(res.writeHead, listener)\n}\n\n/**\n * Set headers contained in array on the response object.\n *\n * @param {object} res\n * @param {array} headers\n * @private\n */\n\nfunction setHeadersFromArray (res, headers) {\n for (var i = 0; i < headers.length; i++) {\n res.setHeader(headers[i][0], headers[i][1])\n }\n}\n\n/**\n * Set headers contained in object on the response object.\n *\n * @param {object} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeadersFromObject (res, headers) {\n var keys = Object.keys(headers)\n for (var i = 0; i < keys.length; i++) {\n var k = keys[i]\n if (k) res.setHeader(k, headers[k])\n }\n}\n\n/**\n * Set headers and other properties on the response object.\n *\n * @param {number} statusCode\n * @private\n */\n\nfunction setWriteHeadHeaders (statusCode) {\n var length = arguments.length\n var headerIndex = length > 1 && typeof arguments[1] === 'string'\n ? 2\n : 1\n\n var headers = length >= headerIndex + 1\n ? arguments[headerIndex]\n : undefined\n\n this.statusCode = statusCode\n\n if (Array.isArray(headers)) {\n // handle array case\n setHeadersFromArray(this, headers)\n } else if (headers) {\n // handle object case\n setHeadersFromObject(this, headers)\n }\n\n // copy leading arguments\n var args = new Array(Math.min(length, headerIndex))\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n return args\n}\n","/*!\n * parseurl\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar url = require('url')\nvar parse = url.parse\nvar Url = url.Url\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = parseurl\nmodule.exports.original = originalurl\n\n/**\n * Parse the `req` url with memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction parseurl (req) {\n var url = req.url\n\n if (url === undefined) {\n // URL is undefined\n return undefined\n }\n\n var parsed = req._parsedUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedUrl = parsed)\n};\n\n/**\n * Parse the `req` original url with fallback and memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction originalurl (req) {\n var url = req.originalUrl\n\n if (typeof url !== 'string') {\n // Fallback\n return parseurl(req)\n }\n\n var parsed = req._parsedOriginalUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedOriginalUrl = parsed)\n};\n\n/**\n * Parse the `str` url with fast-path short-cut.\n *\n * @param {string} str\n * @return {Object}\n * @private\n */\n\nfunction fastparse (str) {\n if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) {\n return parse(str)\n }\n\n var pathname = str\n var query = null\n var search = null\n\n // This takes the regexp from https://github.com/joyent/node/pull/7878\n // Which is /^(\\/[^?#\\s]*)(\\?[^#\\s]*)?$/\n // And unrolls it into a for loop\n for (var i = 1; i < str.length; i++) {\n switch (str.charCodeAt(i)) {\n case 0x3f: /* ? */\n if (search === null) {\n pathname = str.substring(0, i)\n query = str.substring(i + 1)\n search = str.substring(i)\n }\n break\n case 0x09: /* \\t */\n case 0x0a: /* \\n */\n case 0x0c: /* \\f */\n case 0x0d: /* \\r */\n case 0x20: /* */\n case 0x23: /* # */\n case 0xa0:\n case 0xfeff:\n return parse(str)\n }\n }\n\n var url = Url !== undefined\n ? new Url()\n : {}\n\n url.path = str\n url.href = str\n url.pathname = pathname\n\n if (search !== null) {\n url.query = query\n url.search = search\n }\n\n return url\n}\n\n/**\n * Determine if parsed is still fresh for url.\n *\n * @param {string} url\n * @param {object} parsedUrl\n * @return {boolean}\n * @private\n */\n\nfunction fresh (url, parsedUrl) {\n return typeof parsedUrl === 'object' &&\n parsedUrl !== null &&\n (Url === undefined || parsedUrl instanceof Url) &&\n parsedUrl._raw === url\n}\n","/**\n * Expose `pathtoRegexp`.\n */\n\nmodule.exports = pathtoRegexp;\n\n/**\n * Match matching groups in a regular expression.\n */\nvar MATCHING_GROUP_REGEXP = /\\((?!\\?)/g;\n\n/**\n * Normalize the given path string,\n * returning a regular expression.\n *\n * An empty array should be passed,\n * which will contain the placeholder\n * key names. For example \"/user/:id\" will\n * then contain [\"id\"].\n *\n * @param {String|RegExp|Array} path\n * @param {Array} keys\n * @param {Object} options\n * @return {RegExp}\n * @api private\n */\n\nfunction pathtoRegexp(path, keys, options) {\n options = options || {};\n keys = keys || [];\n var strict = options.strict;\n var end = options.end !== false;\n var flags = options.sensitive ? '' : 'i';\n var extraOffset = 0;\n var keysOffset = keys.length;\n var i = 0;\n var name = 0;\n var m;\n\n if (path instanceof RegExp) {\n while (m = MATCHING_GROUP_REGEXP.exec(path.source)) {\n keys.push({\n name: name++,\n optional: false,\n offset: m.index\n });\n }\n\n return path;\n }\n\n if (Array.isArray(path)) {\n // Map array parts into regexps and return their source. We also pass\n // the same keys and options instance into every generation to get\n // consistent matching groups before we join the sources together.\n path = path.map(function (value) {\n return pathtoRegexp(value, keys, options).source;\n });\n\n return new RegExp('(?:' + path.join('|') + ')', flags);\n }\n\n path = ('^' + path + (strict ? '' : path[path.length - 1] === '/' ? '?' : '/?'))\n .replace(/\\/\\(/g, '/(?:')\n .replace(/([\\/\\.])/g, '\\\\$1')\n .replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g, function (match, slash, format, key, capture, star, optional, offset) {\n slash = slash || '';\n format = format || '';\n capture = capture || '([^\\\\/' + format + ']+?)';\n optional = optional || '';\n\n keys.push({\n name: key,\n optional: !!optional,\n offset: offset + extraOffset\n });\n\n var result = ''\n + (optional ? '' : slash)\n + '(?:'\n + format + (optional ? slash : '') + capture\n + (star ? '((?:[\\\\/' + format + '].+?)?)' : '')\n + ')'\n + optional;\n\n extraOffset += result.length - match.length;\n\n return result;\n })\n .replace(/\\*/g, function (star, index) {\n var len = keys.length\n\n while (len-- > keysOffset && keys[len].offset > index) {\n keys[len].offset += 3; // Replacement length minus asterisk length.\n }\n\n return '(.*)';\n });\n\n // This is a workaround for handling unnamed matching groups.\n while (m = MATCHING_GROUP_REGEXP.exec(path)) {\n var escapeCount = 0;\n var index = m.index;\n\n while (path.charAt(--index) === '\\\\') {\n escapeCount++;\n }\n\n // It's possible to escape the bracket.\n if (escapeCount % 2 === 1) {\n continue;\n }\n\n if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {\n keys.splice(keysOffset + i, 0, {\n name: name++, // Unnamed matching groups must be consistently linear.\n optional: false,\n offset: m.index\n });\n }\n\n i++;\n }\n\n // If the path is non-ending, match until the end or a slash.\n path += (end ? '$' : (path[path.length - 1] === '/' ? '' : '(?=\\\\/|$)'));\n\n return new RegExp(path, flags);\n};\n","/*!\n * proxy-addr\n * Copyright(c) 2014-2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = proxyaddr\nmodule.exports.all = alladdrs\nmodule.exports.compile = compile\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar forwarded = require('forwarded')\nvar ipaddr = require('ipaddr.js')\n\n/**\n * Variables.\n * @private\n */\n\nvar DIGIT_REGEXP = /^[0-9]+$/\nvar isip = ipaddr.isValid\nvar parseip = ipaddr.parse\n\n/**\n * Pre-defined IP ranges.\n * @private\n */\n\nvar IP_RANGES = {\n linklocal: ['169.254.0.0/16', 'fe80::/10'],\n loopback: ['127.0.0.1/8', '::1/128'],\n uniquelocal: ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', 'fc00::/7']\n}\n\n/**\n * Get all addresses in the request, optionally stopping\n * at the first untrusted.\n *\n * @param {Object} request\n * @param {Function|Array|String} [trust]\n * @public\n */\n\nfunction alladdrs (req, trust) {\n // get addresses\n var addrs = forwarded(req)\n\n if (!trust) {\n // Return all addresses\n return addrs\n }\n\n if (typeof trust !== 'function') {\n trust = compile(trust)\n }\n\n for (var i = 0; i < addrs.length - 1; i++) {\n if (trust(addrs[i], i)) continue\n\n addrs.length = i + 1\n }\n\n return addrs\n}\n\n/**\n * Compile argument into trust function.\n *\n * @param {Array|String} val\n * @private\n */\n\nfunction compile (val) {\n if (!val) {\n throw new TypeError('argument is required')\n }\n\n var trust\n\n if (typeof val === 'string') {\n trust = [val]\n } else if (Array.isArray(val)) {\n trust = val.slice()\n } else {\n throw new TypeError('unsupported trust argument')\n }\n\n for (var i = 0; i < trust.length; i++) {\n val = trust[i]\n\n if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) {\n continue\n }\n\n // Splice in pre-defined range\n val = IP_RANGES[val]\n trust.splice.apply(trust, [i, 1].concat(val))\n i += val.length - 1\n }\n\n return compileTrust(compileRangeSubnets(trust))\n}\n\n/**\n * Compile `arr` elements into range subnets.\n *\n * @param {Array} arr\n * @private\n */\n\nfunction compileRangeSubnets (arr) {\n var rangeSubnets = new Array(arr.length)\n\n for (var i = 0; i < arr.length; i++) {\n rangeSubnets[i] = parseipNotation(arr[i])\n }\n\n return rangeSubnets\n}\n\n/**\n * Compile range subnet array into trust function.\n *\n * @param {Array} rangeSubnets\n * @private\n */\n\nfunction compileTrust (rangeSubnets) {\n // Return optimized function based on length\n var len = rangeSubnets.length\n return len === 0\n ? trustNone\n : len === 1\n ? trustSingle(rangeSubnets[0])\n : trustMulti(rangeSubnets)\n}\n\n/**\n * Parse IP notation string into range subnet.\n *\n * @param {String} note\n * @private\n */\n\nfunction parseipNotation (note) {\n var pos = note.lastIndexOf('/')\n var str = pos !== -1\n ? note.substring(0, pos)\n : note\n\n if (!isip(str)) {\n throw new TypeError('invalid IP address: ' + str)\n }\n\n var ip = parseip(str)\n\n if (pos === -1 && ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) {\n // Store as IPv4\n ip = ip.toIPv4Address()\n }\n\n var max = ip.kind() === 'ipv6'\n ? 128\n : 32\n\n var range = pos !== -1\n ? note.substring(pos + 1, note.length)\n : null\n\n if (range === null) {\n range = max\n } else if (DIGIT_REGEXP.test(range)) {\n range = parseInt(range, 10)\n } else if (ip.kind() === 'ipv4' && isip(range)) {\n range = parseNetmask(range)\n } else {\n range = null\n }\n\n if (range <= 0 || range > max) {\n throw new TypeError('invalid range on address: ' + note)\n }\n\n return [ip, range]\n}\n\n/**\n * Parse netmask string into CIDR range.\n *\n * @param {String} netmask\n * @private\n */\n\nfunction parseNetmask (netmask) {\n var ip = parseip(netmask)\n var kind = ip.kind()\n\n return kind === 'ipv4'\n ? ip.prefixLengthFromSubnetMask()\n : null\n}\n\n/**\n * Determine address of proxied request.\n *\n * @param {Object} request\n * @param {Function|Array|String} trust\n * @public\n */\n\nfunction proxyaddr (req, trust) {\n if (!req) {\n throw new TypeError('req argument is required')\n }\n\n if (!trust) {\n throw new TypeError('trust argument is required')\n }\n\n var addrs = alladdrs(req, trust)\n var addr = addrs[addrs.length - 1]\n\n return addr\n}\n\n/**\n * Static trust function to trust nothing.\n *\n * @private\n */\n\nfunction trustNone () {\n return false\n}\n\n/**\n * Compile trust function for multiple subnets.\n *\n * @param {Array} subnets\n * @private\n */\n\nfunction trustMulti (subnets) {\n return function trust (addr) {\n if (!isip(addr)) return false\n\n var ip = parseip(addr)\n var ipconv\n var kind = ip.kind()\n\n for (var i = 0; i < subnets.length; i++) {\n var subnet = subnets[i]\n var subnetip = subnet[0]\n var subnetkind = subnetip.kind()\n var subnetrange = subnet[1]\n var trusted = ip\n\n if (kind !== subnetkind) {\n if (subnetkind === 'ipv4' && !ip.isIPv4MappedAddress()) {\n // Incompatible IP addresses\n continue\n }\n\n if (!ipconv) {\n // Convert IP to match subnet IP kind\n ipconv = subnetkind === 'ipv4'\n ? ip.toIPv4Address()\n : ip.toIPv4MappedAddress()\n }\n\n trusted = ipconv\n }\n\n if (trusted.match(subnetip, subnetrange)) {\n return true\n }\n }\n\n return false\n }\n}\n\n/**\n * Compile trust function for single subnet.\n *\n * @param {Object} subnet\n * @private\n */\n\nfunction trustSingle (subnet) {\n var subnetip = subnet[0]\n var subnetkind = subnetip.kind()\n var subnetisipv4 = subnetkind === 'ipv4'\n var subnetrange = subnet[1]\n\n return function trust (addr) {\n if (!isip(addr)) return false\n\n var ip = parseip(addr)\n var kind = ip.kind()\n\n if (kind !== subnetkind) {\n if (subnetisipv4 && !ip.isIPv4MappedAddress()) {\n // Incompatible IP addresses\n return false\n }\n\n // Convert IP to match subnet IP kind\n ip = subnetisipv4\n ? ip.toIPv4Address()\n : ip.toIPv4MappedAddress()\n }\n\n return ip.match(subnetip, subnetrange)\n }\n}\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar split = String.prototype.split;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n if (generateArrayPrefix === 'comma' && encodeValuesOnly) {\n var valuesArray = split.call(String(obj), ',');\n var valuesJoined = '';\n for (var i = 0; i < valuesArray.length; ++i) {\n valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));\n }\n return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];\n }\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","/*!\n * random-bytes\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar crypto = require('crypto')\n\n/**\n * Module variables.\n * @private\n */\n\nvar generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = randomBytes\nmodule.exports.sync = randomBytesSync\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction randomBytes(size, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateRandomBytes(size, generateAttempts, callback)\n }\n\n return new Promise(function executor(resolve, reject) {\n generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Generates strong pseudo-random bytes sync.\n *\n * @param {number} size\n * @return {Buffer}\n * @public\n */\n\nfunction randomBytesSync(size) {\n var err = null\n\n for (var i = 0; i < generateAttempts; i++) {\n try {\n return crypto.randomBytes(size)\n } catch (e) {\n err = e\n }\n }\n\n throw err\n}\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {number} attempts\n * @param {function} callback\n * @private\n */\n\nfunction generateRandomBytes(size, attempts, callback) {\n crypto.randomBytes(size, function onRandomBytes(err, buf) {\n if (!err) return callback(null, buf)\n if (!--attempts) return callback(err)\n setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10)\n })\n}\n","/*!\n * range-parser\n * Copyright(c) 2012-2014 TJ Holowaychuk\n * Copyright(c) 2015-2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = rangeParser\n\n/**\n * Parse \"Range\" header `str` relative to the given file `size`.\n *\n * @param {Number} size\n * @param {String} str\n * @param {Object} [options]\n * @return {Array}\n * @public\n */\n\nfunction rangeParser (size, str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string')\n }\n\n var index = str.indexOf('=')\n\n if (index === -1) {\n return -2\n }\n\n // split the range string\n var arr = str.slice(index + 1).split(',')\n var ranges = []\n\n // add ranges type\n ranges.type = str.slice(0, index)\n\n // parse all ranges\n for (var i = 0; i < arr.length; i++) {\n var range = arr[i].split('-')\n var start = parseInt(range[0], 10)\n var end = parseInt(range[1], 10)\n\n // -nnn\n if (isNaN(start)) {\n start = size - end\n end = size - 1\n // nnn-\n } else if (isNaN(end)) {\n end = size - 1\n }\n\n // limit last-byte-pos to current length\n if (end > size - 1) {\n end = size - 1\n }\n\n // invalid or unsatisifiable\n if (isNaN(start) || isNaN(end) || start > end || start < 0) {\n continue\n }\n\n // add range\n ranges.push({\n start: start,\n end: end\n })\n }\n\n if (ranges.length < 1) {\n // unsatisifiable\n return -1\n }\n\n return options && options.combine\n ? combineRanges(ranges)\n : ranges\n}\n\n/**\n * Combine overlapping & adjacent ranges.\n * @private\n */\n\nfunction combineRanges (ranges) {\n var ordered = ranges.map(mapWithIndex).sort(sortByRangeStart)\n\n for (var j = 0, i = 1; i < ordered.length; i++) {\n var range = ordered[i]\n var current = ordered[j]\n\n if (range.start > current.end + 1) {\n // next range\n ordered[++j] = range\n } else if (range.end > current.end) {\n // extend range\n current.end = range.end\n current.index = Math.min(current.index, range.index)\n }\n }\n\n // trim ordered array\n ordered.length = j + 1\n\n // generate combined range\n var combined = ordered.sort(sortByRangeIndex).map(mapWithoutIndex)\n\n // copy ranges type\n combined.type = ranges.type\n\n return combined\n}\n\n/**\n * Map function to add index value to ranges.\n * @private\n */\n\nfunction mapWithIndex (range, index) {\n return {\n start: range.start,\n end: range.end,\n index: index\n }\n}\n\n/**\n * Map function to remove index value from ranges.\n * @private\n */\n\nfunction mapWithoutIndex (range) {\n return {\n start: range.start,\n end: range.end\n }\n}\n\n/**\n * Sort function to sort ranges by index.\n * @private\n */\n\nfunction sortByRangeIndex (a, b) {\n return a.index - b.index\n}\n\n/**\n * Sort function to sort ranges by start position.\n * @private\n */\n\nfunction sortByRangeStart (a, b) {\n return a.start - b.start\n}\n","/*!\n * raw-body\n * Copyright(c) 2013-2014 Jonathan Ong\n * Copyright(c) 2014-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar asyncHooks = tryRequireAsyncHooks()\nvar bytes = require('bytes')\nvar createError = require('http-errors')\nvar iconv = require('iconv-lite')\nvar unpipe = require('unpipe')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = getRawBody\n\n/**\n * Module variables.\n * @private\n */\n\nvar ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: /\n\n/**\n * Get the decoder for a given encoding.\n *\n * @param {string} encoding\n * @private\n */\n\nfunction getDecoder (encoding) {\n if (!encoding) return null\n\n try {\n return iconv.getDecoder(encoding)\n } catch (e) {\n // error getting decoder\n if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e\n\n // the encoding was not found\n throw createError(415, 'specified encoding unsupported', {\n encoding: encoding,\n type: 'encoding.unsupported'\n })\n }\n}\n\n/**\n * Get the raw body of a stream (typically HTTP).\n *\n * @param {object} stream\n * @param {object|string|function} [options]\n * @param {function} [callback]\n * @public\n */\n\nfunction getRawBody (stream, options, callback) {\n var done = callback\n var opts = options || {}\n\n if (options === true || typeof options === 'string') {\n // short cut for encoding\n opts = {\n encoding: options\n }\n }\n\n if (typeof options === 'function') {\n done = options\n opts = {}\n }\n\n // validate callback is a function, if provided\n if (done !== undefined && typeof done !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!done && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n // get encoding\n var encoding = opts.encoding !== true\n ? opts.encoding\n : 'utf-8'\n\n // convert the limit to an integer\n var limit = bytes.parse(opts.limit)\n\n // convert the expected length to an integer\n var length = opts.length != null && !isNaN(opts.length)\n ? parseInt(opts.length, 10)\n : null\n\n if (done) {\n // classic callback style\n return readStream(stream, encoding, length, limit, wrap(done))\n }\n\n return new Promise(function executor (resolve, reject) {\n readStream(stream, encoding, length, limit, function onRead (err, buf) {\n if (err) return reject(err)\n resolve(buf)\n })\n })\n}\n\n/**\n * Halt a stream.\n *\n * @param {Object} stream\n * @private\n */\n\nfunction halt (stream) {\n // unpipe everything from the stream\n unpipe(stream)\n\n // pause stream\n if (typeof stream.pause === 'function') {\n stream.pause()\n }\n}\n\n/**\n * Read the data from the stream.\n *\n * @param {object} stream\n * @param {string} encoding\n * @param {number} length\n * @param {number} limit\n * @param {function} callback\n * @public\n */\n\nfunction readStream (stream, encoding, length, limit, callback) {\n var complete = false\n var sync = true\n\n // check the length and limit options.\n // note: we intentionally leave the stream paused,\n // so users should handle the stream themselves.\n if (limit !== null && length !== null && length > limit) {\n return done(createError(413, 'request entity too large', {\n expected: length,\n length: length,\n limit: limit,\n type: 'entity.too.large'\n }))\n }\n\n // streams1: assert request encoding is buffer.\n // streams2+: assert the stream encoding is buffer.\n // stream._decoder: streams1\n // state.encoding: streams2\n // state.decoder: streams2, specifically < 0.10.6\n var state = stream._readableState\n if (stream._decoder || (state && (state.encoding || state.decoder))) {\n // developer error\n return done(createError(500, 'stream encoding should not be set', {\n type: 'stream.encoding.set'\n }))\n }\n\n if (typeof stream.readable !== 'undefined' && !stream.readable) {\n return done(createError(500, 'stream is not readable', {\n type: 'stream.not.readable'\n }))\n }\n\n var received = 0\n var decoder\n\n try {\n decoder = getDecoder(encoding)\n } catch (err) {\n return done(err)\n }\n\n var buffer = decoder\n ? ''\n : []\n\n // attach listeners\n stream.on('aborted', onAborted)\n stream.on('close', cleanup)\n stream.on('data', onData)\n stream.on('end', onEnd)\n stream.on('error', onEnd)\n\n // mark sync section complete\n sync = false\n\n function done () {\n var args = new Array(arguments.length)\n\n // copy arguments\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n // mark complete\n complete = true\n\n if (sync) {\n process.nextTick(invokeCallback)\n } else {\n invokeCallback()\n }\n\n function invokeCallback () {\n cleanup()\n\n if (args[0]) {\n // halt the stream on error\n halt(stream)\n }\n\n callback.apply(null, args)\n }\n }\n\n function onAborted () {\n if (complete) return\n\n done(createError(400, 'request aborted', {\n code: 'ECONNABORTED',\n expected: length,\n length: length,\n received: received,\n type: 'request.aborted'\n }))\n }\n\n function onData (chunk) {\n if (complete) return\n\n received += chunk.length\n\n if (limit !== null && received > limit) {\n done(createError(413, 'request entity too large', {\n limit: limit,\n received: received,\n type: 'entity.too.large'\n }))\n } else if (decoder) {\n buffer += decoder.write(chunk)\n } else {\n buffer.push(chunk)\n }\n }\n\n function onEnd (err) {\n if (complete) return\n if (err) return done(err)\n\n if (length !== null && received !== length) {\n done(createError(400, 'request size did not match content length', {\n expected: length,\n length: length,\n received: received,\n type: 'request.size.invalid'\n }))\n } else {\n var string = decoder\n ? buffer + (decoder.end() || '')\n : Buffer.concat(buffer)\n done(null, string)\n }\n }\n\n function cleanup () {\n buffer = null\n\n stream.removeListener('aborted', onAborted)\n stream.removeListener('data', onData)\n stream.removeListener('end', onEnd)\n stream.removeListener('error', onEnd)\n stream.removeListener('close', cleanup)\n }\n}\n\n/**\n * Try to require async_hooks\n * @private\n */\n\nfunction tryRequireAsyncHooks () {\n try {\n return require('async_hooks')\n } catch (e) {\n return {}\n }\n}\n\n/**\n * Wrap function with async resource, if possible.\n * AsyncResource.bind static method backported.\n * @private\n */\n\nfunction wrap (fn) {\n var res\n\n // create anonymous resource\n if (asyncHooks.AsyncResource) {\n res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')\n }\n\n // incompatible node.js\n if (!res || !res.runInAsyncScope) {\n return fn\n }\n\n // return bound function\n return res.runInAsyncScope.bind(res, fn, null)\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","/* eslint-disable node/no-deprecated-api */\n\n'use strict'\n\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\nvar safer = {}\n\nvar key\n\nfor (key in buffer) {\n if (!buffer.hasOwnProperty(key)) continue\n if (key === 'SlowBuffer' || key === 'Buffer') continue\n safer[key] = buffer[key]\n}\n\nvar Safer = safer.Buffer = {}\nfor (key in Buffer) {\n if (!Buffer.hasOwnProperty(key)) continue\n if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue\n Safer[key] = Buffer[key]\n}\n\nsafer.Buffer.prototype = Buffer.prototype\n\nif (!Safer.from || Safer.from === Uint8Array.from) {\n Safer.from = function (value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('The \"value\" argument must not be of type number. Received type ' + typeof value)\n }\n if (value && typeof value.length === 'undefined') {\n throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)\n }\n return Buffer(value, encodingOrOffset, length)\n }\n}\n\nif (!Safer.alloc) {\n Safer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('The \"size\" argument must be of type number. Received type ' + typeof size)\n }\n if (size < 0 || size >= 2 * (1 << 30)) {\n throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n }\n var buf = Buffer(size)\n if (!fill || fill.length === 0) {\n buf.fill(0)\n } else if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n return buf\n }\n}\n\nif (!safer.kStringMaxLength) {\n try {\n safer.kStringMaxLength = process.binding('buffer').kStringMaxLength\n } catch (e) {\n // we can't determine kStringMaxLength in environments where process.binding\n // is unsupported, so let's not set it\n }\n}\n\nif (!safer.constants) {\n safer.constants = {\n MAX_LENGTH: safer.kMaxLength\n }\n if (safer.kStringMaxLength) {\n safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength\n }\n}\n\nmodule.exports = safer\n","/*!\n * send\n * Copyright(c) 2012 TJ Holowaychuk\n * Copyright(c) 2014-2022 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar createError = require('http-errors')\nvar debug = require('debug')('send')\nvar deprecate = require('depd')('send')\nvar destroy = require('destroy')\nvar encodeUrl = require('encodeurl')\nvar escapeHtml = require('escape-html')\nvar etag = require('etag')\nvar fresh = require('fresh')\nvar fs = require('fs')\nvar mime = require('mime')\nvar ms = require('ms')\nvar onFinished = require('on-finished')\nvar parseRange = require('range-parser')\nvar path = require('path')\nvar statuses = require('statuses')\nvar Stream = require('stream')\nvar util = require('util')\n\n/**\n * Path function references.\n * @private\n */\n\nvar extname = path.extname\nvar join = path.join\nvar normalize = path.normalize\nvar resolve = path.resolve\nvar sep = path.sep\n\n/**\n * Regular expression for identifying a bytes Range header.\n * @private\n */\n\nvar BYTES_RANGE_REGEXP = /^ *bytes=/\n\n/**\n * Maximum value allowed for the max age.\n * @private\n */\n\nvar MAX_MAXAGE = 60 * 60 * 24 * 365 * 1000 // 1 year\n\n/**\n * Regular expression to match a path with a directory up component.\n * @private\n */\n\nvar UP_PATH_REGEXP = /(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)/\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = send\nmodule.exports.mime = mime\n\n/**\n * Return a `SendStream` for `req` and `path`.\n *\n * @param {object} req\n * @param {string} path\n * @param {object} [options]\n * @return {SendStream}\n * @public\n */\n\nfunction send (req, path, options) {\n return new SendStream(req, path, options)\n}\n\n/**\n * Initialize a `SendStream` with the given `path`.\n *\n * @param {Request} req\n * @param {String} path\n * @param {object} [options]\n * @private\n */\n\nfunction SendStream (req, path, options) {\n Stream.call(this)\n\n var opts = options || {}\n\n this.options = opts\n this.path = path\n this.req = req\n\n this._acceptRanges = opts.acceptRanges !== undefined\n ? Boolean(opts.acceptRanges)\n : true\n\n this._cacheControl = opts.cacheControl !== undefined\n ? Boolean(opts.cacheControl)\n : true\n\n this._etag = opts.etag !== undefined\n ? Boolean(opts.etag)\n : true\n\n this._dotfiles = opts.dotfiles !== undefined\n ? opts.dotfiles\n : 'ignore'\n\n if (this._dotfiles !== 'ignore' && this._dotfiles !== 'allow' && this._dotfiles !== 'deny') {\n throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"')\n }\n\n this._hidden = Boolean(opts.hidden)\n\n if (opts.hidden !== undefined) {\n deprecate('hidden: use dotfiles: \\'' + (this._hidden ? 'allow' : 'ignore') + '\\' instead')\n }\n\n // legacy support\n if (opts.dotfiles === undefined) {\n this._dotfiles = undefined\n }\n\n this._extensions = opts.extensions !== undefined\n ? normalizeList(opts.extensions, 'extensions option')\n : []\n\n this._immutable = opts.immutable !== undefined\n ? Boolean(opts.immutable)\n : false\n\n this._index = opts.index !== undefined\n ? normalizeList(opts.index, 'index option')\n : ['index.html']\n\n this._lastModified = opts.lastModified !== undefined\n ? Boolean(opts.lastModified)\n : true\n\n this._maxage = opts.maxAge || opts.maxage\n this._maxage = typeof this._maxage === 'string'\n ? ms(this._maxage)\n : Number(this._maxage)\n this._maxage = !isNaN(this._maxage)\n ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE)\n : 0\n\n this._root = opts.root\n ? resolve(opts.root)\n : null\n\n if (!this._root && opts.from) {\n this.from(opts.from)\n }\n}\n\n/**\n * Inherits from `Stream`.\n */\n\nutil.inherits(SendStream, Stream)\n\n/**\n * Enable or disable etag generation.\n *\n * @param {Boolean} val\n * @return {SendStream}\n * @api public\n */\n\nSendStream.prototype.etag = deprecate.function(function etag (val) {\n this._etag = Boolean(val)\n debug('etag %s', this._etag)\n return this\n}, 'send.etag: pass etag as option')\n\n/**\n * Enable or disable \"hidden\" (dot) files.\n *\n * @param {Boolean} path\n * @return {SendStream}\n * @api public\n */\n\nSendStream.prototype.hidden = deprecate.function(function hidden (val) {\n this._hidden = Boolean(val)\n this._dotfiles = undefined\n debug('hidden %s', this._hidden)\n return this\n}, 'send.hidden: use dotfiles option')\n\n/**\n * Set index `paths`, set to a falsy\n * value to disable index support.\n *\n * @param {String|Boolean|Array} paths\n * @return {SendStream}\n * @api public\n */\n\nSendStream.prototype.index = deprecate.function(function index (paths) {\n var index = !paths ? [] : normalizeList(paths, 'paths argument')\n debug('index %o', paths)\n this._index = index\n return this\n}, 'send.index: pass index as option')\n\n/**\n * Set root `path`.\n *\n * @param {String} path\n * @return {SendStream}\n * @api public\n */\n\nSendStream.prototype.root = function root (path) {\n this._root = resolve(String(path))\n debug('root %s', this._root)\n return this\n}\n\nSendStream.prototype.from = deprecate.function(SendStream.prototype.root,\n 'send.from: pass root as option')\n\nSendStream.prototype.root = deprecate.function(SendStream.prototype.root,\n 'send.root: pass root as option')\n\n/**\n * Set max-age to `maxAge`.\n *\n * @param {Number} maxAge\n * @return {SendStream}\n * @api public\n */\n\nSendStream.prototype.maxage = deprecate.function(function maxage (maxAge) {\n this._maxage = typeof maxAge === 'string'\n ? ms(maxAge)\n : Number(maxAge)\n this._maxage = !isNaN(this._maxage)\n ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE)\n : 0\n debug('max-age %d', this._maxage)\n return this\n}, 'send.maxage: pass maxAge as option')\n\n/**\n * Emit error with `status`.\n *\n * @param {number} status\n * @param {Error} [err]\n * @private\n */\n\nSendStream.prototype.error = function error (status, err) {\n // emit if listeners instead of responding\n if (hasListeners(this, 'error')) {\n return this.emit('error', createHttpError(status, err))\n }\n\n var res = this.res\n var msg = statuses.message[status] || String(status)\n var doc = createHtmlDocument('Error', escapeHtml(msg))\n\n // clear existing headers\n clearHeaders(res)\n\n // add error headers\n if (err && err.headers) {\n setHeaders(res, err.headers)\n }\n\n // send basic response\n res.statusCode = status\n res.setHeader('Content-Type', 'text/html; charset=UTF-8')\n res.setHeader('Content-Length', Buffer.byteLength(doc))\n res.setHeader('Content-Security-Policy', \"default-src 'none'\")\n res.setHeader('X-Content-Type-Options', 'nosniff')\n res.end(doc)\n}\n\n/**\n * Check if the pathname ends with \"/\".\n *\n * @return {boolean}\n * @private\n */\n\nSendStream.prototype.hasTrailingSlash = function hasTrailingSlash () {\n return this.path[this.path.length - 1] === '/'\n}\n\n/**\n * Check if this is a conditional GET request.\n *\n * @return {Boolean}\n * @api private\n */\n\nSendStream.prototype.isConditionalGET = function isConditionalGET () {\n return this.req.headers['if-match'] ||\n this.req.headers['if-unmodified-since'] ||\n this.req.headers['if-none-match'] ||\n this.req.headers['if-modified-since']\n}\n\n/**\n * Check if the request preconditions failed.\n *\n * @return {boolean}\n * @private\n */\n\nSendStream.prototype.isPreconditionFailure = function isPreconditionFailure () {\n var req = this.req\n var res = this.res\n\n // if-match\n var match = req.headers['if-match']\n if (match) {\n var etag = res.getHeader('ETag')\n return !etag || (match !== '*' && parseTokenList(match).every(function (match) {\n return match !== etag && match !== 'W/' + etag && 'W/' + match !== etag\n }))\n }\n\n // if-unmodified-since\n var unmodifiedSince = parseHttpDate(req.headers['if-unmodified-since'])\n if (!isNaN(unmodifiedSince)) {\n var lastModified = parseHttpDate(res.getHeader('Last-Modified'))\n return isNaN(lastModified) || lastModified > unmodifiedSince\n }\n\n return false\n}\n\n/**\n * Strip various content header fields for a change in entity.\n *\n * @private\n */\n\nSendStream.prototype.removeContentHeaderFields = function removeContentHeaderFields () {\n var res = this.res\n\n res.removeHeader('Content-Encoding')\n res.removeHeader('Content-Language')\n res.removeHeader('Content-Length')\n res.removeHeader('Content-Range')\n res.removeHeader('Content-Type')\n}\n\n/**\n * Respond with 304 not modified.\n *\n * @api private\n */\n\nSendStream.prototype.notModified = function notModified () {\n var res = this.res\n debug('not modified')\n this.removeContentHeaderFields()\n res.statusCode = 304\n res.end()\n}\n\n/**\n * Raise error that headers already sent.\n *\n * @api private\n */\n\nSendStream.prototype.headersAlreadySent = function headersAlreadySent () {\n var err = new Error('Can\\'t set headers after they are sent.')\n debug('headers already sent')\n this.error(500, err)\n}\n\n/**\n * Check if the request is cacheable, aka\n * responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}).\n *\n * @return {Boolean}\n * @api private\n */\n\nSendStream.prototype.isCachable = function isCachable () {\n var statusCode = this.res.statusCode\n return (statusCode >= 200 && statusCode < 300) ||\n statusCode === 304\n}\n\n/**\n * Handle stat() error.\n *\n * @param {Error} error\n * @private\n */\n\nSendStream.prototype.onStatError = function onStatError (error) {\n switch (error.code) {\n case 'ENAMETOOLONG':\n case 'ENOENT':\n case 'ENOTDIR':\n this.error(404, error)\n break\n default:\n this.error(500, error)\n break\n }\n}\n\n/**\n * Check if the cache is fresh.\n *\n * @return {Boolean}\n * @api private\n */\n\nSendStream.prototype.isFresh = function isFresh () {\n return fresh(this.req.headers, {\n etag: this.res.getHeader('ETag'),\n 'last-modified': this.res.getHeader('Last-Modified')\n })\n}\n\n/**\n * Check if the range is fresh.\n *\n * @return {Boolean}\n * @api private\n */\n\nSendStream.prototype.isRangeFresh = function isRangeFresh () {\n var ifRange = this.req.headers['if-range']\n\n if (!ifRange) {\n return true\n }\n\n // if-range as etag\n if (ifRange.indexOf('\"') !== -1) {\n var etag = this.res.getHeader('ETag')\n return Boolean(etag && ifRange.indexOf(etag) !== -1)\n }\n\n // if-range as modified date\n var lastModified = this.res.getHeader('Last-Modified')\n return parseHttpDate(lastModified) <= parseHttpDate(ifRange)\n}\n\n/**\n * Redirect to path.\n *\n * @param {string} path\n * @private\n */\n\nSendStream.prototype.redirect = function redirect (path) {\n var res = this.res\n\n if (hasListeners(this, 'directory')) {\n this.emit('directory', res, path)\n return\n }\n\n if (this.hasTrailingSlash()) {\n this.error(403)\n return\n }\n\n var loc = encodeUrl(collapseLeadingSlashes(this.path + '/'))\n var doc = createHtmlDocument('Redirecting', 'Redirecting to ' +\n escapeHtml(loc) + '')\n\n // redirect\n res.statusCode = 301\n res.setHeader('Content-Type', 'text/html; charset=UTF-8')\n res.setHeader('Content-Length', Buffer.byteLength(doc))\n res.setHeader('Content-Security-Policy', \"default-src 'none'\")\n res.setHeader('X-Content-Type-Options', 'nosniff')\n res.setHeader('Location', loc)\n res.end(doc)\n}\n\n/**\n * Pipe to `res.\n *\n * @param {Stream} res\n * @return {Stream} res\n * @api public\n */\n\nSendStream.prototype.pipe = function pipe (res) {\n // root path\n var root = this._root\n\n // references\n this.res = res\n\n // decode the path\n var path = decode(this.path)\n if (path === -1) {\n this.error(400)\n return res\n }\n\n // null byte(s)\n if (~path.indexOf('\\0')) {\n this.error(400)\n return res\n }\n\n var parts\n if (root !== null) {\n // normalize\n if (path) {\n path = normalize('.' + sep + path)\n }\n\n // malicious path\n if (UP_PATH_REGEXP.test(path)) {\n debug('malicious path \"%s\"', path)\n this.error(403)\n return res\n }\n\n // explode path parts\n parts = path.split(sep)\n\n // join / normalize from optional root dir\n path = normalize(join(root, path))\n } else {\n // \"..\" is malicious without \"root\"\n if (UP_PATH_REGEXP.test(path)) {\n debug('malicious path \"%s\"', path)\n this.error(403)\n return res\n }\n\n // explode path parts\n parts = normalize(path).split(sep)\n\n // resolve the path\n path = resolve(path)\n }\n\n // dotfile handling\n if (containsDotFile(parts)) {\n var access = this._dotfiles\n\n // legacy support\n if (access === undefined) {\n access = parts[parts.length - 1][0] === '.'\n ? (this._hidden ? 'allow' : 'ignore')\n : 'allow'\n }\n\n debug('%s dotfile \"%s\"', access, path)\n switch (access) {\n case 'allow':\n break\n case 'deny':\n this.error(403)\n return res\n case 'ignore':\n default:\n this.error(404)\n return res\n }\n }\n\n // index file support\n if (this._index.length && this.hasTrailingSlash()) {\n this.sendIndex(path)\n return res\n }\n\n this.sendFile(path)\n return res\n}\n\n/**\n * Transfer `path`.\n *\n * @param {String} path\n * @api public\n */\n\nSendStream.prototype.send = function send (path, stat) {\n var len = stat.size\n var options = this.options\n var opts = {}\n var res = this.res\n var req = this.req\n var ranges = req.headers.range\n var offset = options.start || 0\n\n if (headersSent(res)) {\n // impossible to send now\n this.headersAlreadySent()\n return\n }\n\n debug('pipe \"%s\"', path)\n\n // set header fields\n this.setHeader(path, stat)\n\n // set content-type\n this.type(path)\n\n // conditional GET support\n if (this.isConditionalGET()) {\n if (this.isPreconditionFailure()) {\n this.error(412)\n return\n }\n\n if (this.isCachable() && this.isFresh()) {\n this.notModified()\n return\n }\n }\n\n // adjust len to start/end options\n len = Math.max(0, len - offset)\n if (options.end !== undefined) {\n var bytes = options.end - offset + 1\n if (len > bytes) len = bytes\n }\n\n // Range support\n if (this._acceptRanges && BYTES_RANGE_REGEXP.test(ranges)) {\n // parse\n ranges = parseRange(len, ranges, {\n combine: true\n })\n\n // If-Range support\n if (!this.isRangeFresh()) {\n debug('range stale')\n ranges = -2\n }\n\n // unsatisfiable\n if (ranges === -1) {\n debug('range unsatisfiable')\n\n // Content-Range\n res.setHeader('Content-Range', contentRange('bytes', len))\n\n // 416 Requested Range Not Satisfiable\n return this.error(416, {\n headers: { 'Content-Range': res.getHeader('Content-Range') }\n })\n }\n\n // valid (syntactically invalid/multiple ranges are treated as a regular response)\n if (ranges !== -2 && ranges.length === 1) {\n debug('range %j', ranges)\n\n // Content-Range\n res.statusCode = 206\n res.setHeader('Content-Range', contentRange('bytes', len, ranges[0]))\n\n // adjust for requested range\n offset += ranges[0].start\n len = ranges[0].end - ranges[0].start + 1\n }\n }\n\n // clone options\n for (var prop in options) {\n opts[prop] = options[prop]\n }\n\n // set read options\n opts.start = offset\n opts.end = Math.max(offset, offset + len - 1)\n\n // content-length\n res.setHeader('Content-Length', len)\n\n // HEAD support\n if (req.method === 'HEAD') {\n res.end()\n return\n }\n\n this.stream(path, opts)\n}\n\n/**\n * Transfer file for `path`.\n *\n * @param {String} path\n * @api private\n */\nSendStream.prototype.sendFile = function sendFile (path) {\n var i = 0\n var self = this\n\n debug('stat \"%s\"', path)\n fs.stat(path, function onstat (err, stat) {\n if (err && err.code === 'ENOENT' && !extname(path) && path[path.length - 1] !== sep) {\n // not found, check extensions\n return next(err)\n }\n if (err) return self.onStatError(err)\n if (stat.isDirectory()) return self.redirect(path)\n self.emit('file', path, stat)\n self.send(path, stat)\n })\n\n function next (err) {\n if (self._extensions.length <= i) {\n return err\n ? self.onStatError(err)\n : self.error(404)\n }\n\n var p = path + '.' + self._extensions[i++]\n\n debug('stat \"%s\"', p)\n fs.stat(p, function (err, stat) {\n if (err) return next(err)\n if (stat.isDirectory()) return next()\n self.emit('file', p, stat)\n self.send(p, stat)\n })\n }\n}\n\n/**\n * Transfer index for `path`.\n *\n * @param {String} path\n * @api private\n */\nSendStream.prototype.sendIndex = function sendIndex (path) {\n var i = -1\n var self = this\n\n function next (err) {\n if (++i >= self._index.length) {\n if (err) return self.onStatError(err)\n return self.error(404)\n }\n\n var p = join(path, self._index[i])\n\n debug('stat \"%s\"', p)\n fs.stat(p, function (err, stat) {\n if (err) return next(err)\n if (stat.isDirectory()) return next()\n self.emit('file', p, stat)\n self.send(p, stat)\n })\n }\n\n next()\n}\n\n/**\n * Stream `path` to the response.\n *\n * @param {String} path\n * @param {Object} options\n * @api private\n */\n\nSendStream.prototype.stream = function stream (path, options) {\n var self = this\n var res = this.res\n\n // pipe\n var stream = fs.createReadStream(path, options)\n this.emit('stream', stream)\n stream.pipe(res)\n\n // cleanup\n function cleanup () {\n destroy(stream, true)\n }\n\n // response finished, cleanup\n onFinished(res, cleanup)\n\n // error handling\n stream.on('error', function onerror (err) {\n // clean up stream early\n cleanup()\n\n // error\n self.onStatError(err)\n })\n\n // end\n stream.on('end', function onend () {\n self.emit('end')\n })\n}\n\n/**\n * Set content-type based on `path`\n * if it hasn't been explicitly set.\n *\n * @param {String} path\n * @api private\n */\n\nSendStream.prototype.type = function type (path) {\n var res = this.res\n\n if (res.getHeader('Content-Type')) return\n\n var type = mime.lookup(path)\n\n if (!type) {\n debug('no content-type')\n return\n }\n\n var charset = mime.charsets.lookup(type)\n\n debug('content-type %s', type)\n res.setHeader('Content-Type', type + (charset ? '; charset=' + charset : ''))\n}\n\n/**\n * Set response header fields, most\n * fields may be pre-defined.\n *\n * @param {String} path\n * @param {Object} stat\n * @api private\n */\n\nSendStream.prototype.setHeader = function setHeader (path, stat) {\n var res = this.res\n\n this.emit('headers', res, path, stat)\n\n if (this._acceptRanges && !res.getHeader('Accept-Ranges')) {\n debug('accept ranges')\n res.setHeader('Accept-Ranges', 'bytes')\n }\n\n if (this._cacheControl && !res.getHeader('Cache-Control')) {\n var cacheControl = 'public, max-age=' + Math.floor(this._maxage / 1000)\n\n if (this._immutable) {\n cacheControl += ', immutable'\n }\n\n debug('cache-control %s', cacheControl)\n res.setHeader('Cache-Control', cacheControl)\n }\n\n if (this._lastModified && !res.getHeader('Last-Modified')) {\n var modified = stat.mtime.toUTCString()\n debug('modified %s', modified)\n res.setHeader('Last-Modified', modified)\n }\n\n if (this._etag && !res.getHeader('ETag')) {\n var val = etag(stat)\n debug('etag %s', val)\n res.setHeader('ETag', val)\n }\n}\n\n/**\n * Clear all headers from a response.\n *\n * @param {object} res\n * @private\n */\n\nfunction clearHeaders (res) {\n var headers = getHeaderNames(res)\n\n for (var i = 0; i < headers.length; i++) {\n res.removeHeader(headers[i])\n }\n}\n\n/**\n * Collapse all leading slashes into a single slash\n *\n * @param {string} str\n * @private\n */\nfunction collapseLeadingSlashes (str) {\n for (var i = 0; i < str.length; i++) {\n if (str[i] !== '/') {\n break\n }\n }\n\n return i > 1\n ? '/' + str.substr(i)\n : str\n}\n\n/**\n * Determine if path parts contain a dotfile.\n *\n * @api private\n */\n\nfunction containsDotFile (parts) {\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i]\n if (part.length > 1 && part[0] === '.') {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Create a Content-Range header.\n *\n * @param {string} type\n * @param {number} size\n * @param {array} [range]\n */\n\nfunction contentRange (type, size, range) {\n return type + ' ' + (range ? range.start + '-' + range.end : '*') + '/' + size\n}\n\n/**\n * Create a minimal HTML document.\n *\n * @param {string} title\n * @param {string} body\n * @private\n */\n\nfunction createHtmlDocument (title, body) {\n return '\\n' +\n '\\n' +\n '\\n' +\n '\\n' +\n '' + title + '\\n' +\n '\\n' +\n '\\n' +\n '
' + body + '
\\n' +\n '\\n' +\n '\\n'\n}\n\n/**\n * Create a HttpError object from simple arguments.\n *\n * @param {number} status\n * @param {Error|object} err\n * @private\n */\n\nfunction createHttpError (status, err) {\n if (!err) {\n return createError(status)\n }\n\n return err instanceof Error\n ? createError(status, err, { expose: false })\n : createError(status, err)\n}\n\n/**\n * decodeURIComponent.\n *\n * Allows V8 to only deoptimize this fn instead of all\n * of send().\n *\n * @param {String} path\n * @api private\n */\n\nfunction decode (path) {\n try {\n return decodeURIComponent(path)\n } catch (err) {\n return -1\n }\n}\n\n/**\n * Get the header names on a respnse.\n *\n * @param {object} res\n * @returns {array[string]}\n * @private\n */\n\nfunction getHeaderNames (res) {\n return typeof res.getHeaderNames !== 'function'\n ? Object.keys(res._headers || {})\n : res.getHeaderNames()\n}\n\n/**\n * Determine if emitter has listeners of a given type.\n *\n * The way to do this check is done three different ways in Node.js >= 0.8\n * so this consolidates them into a minimal set using instance methods.\n *\n * @param {EventEmitter} emitter\n * @param {string} type\n * @returns {boolean}\n * @private\n */\n\nfunction hasListeners (emitter, type) {\n var count = typeof emitter.listenerCount !== 'function'\n ? emitter.listeners(type).length\n : emitter.listenerCount(type)\n\n return count > 0\n}\n\n/**\n * Determine if the response headers have been sent.\n *\n * @param {object} res\n * @returns {boolean}\n * @private\n */\n\nfunction headersSent (res) {\n return typeof res.headersSent !== 'boolean'\n ? Boolean(res._header)\n : res.headersSent\n}\n\n/**\n * Normalize the index option into an array.\n *\n * @param {boolean|string|array} val\n * @param {string} name\n * @private\n */\n\nfunction normalizeList (val, name) {\n var list = [].concat(val || [])\n\n for (var i = 0; i < list.length; i++) {\n if (typeof list[i] !== 'string') {\n throw new TypeError(name + ' must be array of strings or false')\n }\n }\n\n return list\n}\n\n/**\n * Parse an HTTP Date into a number.\n *\n * @param {string} date\n * @private\n */\n\nfunction parseHttpDate (date) {\n var timestamp = date && Date.parse(date)\n\n return typeof timestamp === 'number'\n ? timestamp\n : NaN\n}\n\n/**\n * Parse a HTTP token list.\n *\n * @param {string} str\n * @private\n */\n\nfunction parseTokenList (str) {\n var end = 0\n var list = []\n var start = 0\n\n // gather tokens\n for (var i = 0, len = str.length; i < len; i++) {\n switch (str.charCodeAt(i)) {\n case 0x20: /* */\n if (start === end) {\n start = end = i + 1\n }\n break\n case 0x2c: /* , */\n if (start !== end) {\n list.push(str.substring(start, end))\n }\n start = end = i + 1\n break\n default:\n end = i + 1\n break\n }\n }\n\n // final token\n if (start !== end) {\n list.push(str.substring(start, end))\n }\n\n return list\n}\n\n/**\n * Set an object of headers on a response.\n *\n * @param {object} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeaders (res, headers) {\n var keys = Object.keys(headers)\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]\n res.setHeader(key, headers[key])\n }\n}\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/*!\n * serve-static\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2014-2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar encodeUrl = require('encodeurl')\nvar escapeHtml = require('escape-html')\nvar parseUrl = require('parseurl')\nvar resolve = require('path').resolve\nvar send = require('send')\nvar url = require('url')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = serveStatic\nmodule.exports.mime = send.mime\n\n/**\n * @param {string} root\n * @param {object} [options]\n * @return {function}\n * @public\n */\n\nfunction serveStatic (root, options) {\n if (!root) {\n throw new TypeError('root path required')\n }\n\n if (typeof root !== 'string') {\n throw new TypeError('root path must be a string')\n }\n\n // copy options object\n var opts = Object.create(options || null)\n\n // fall-though\n var fallthrough = opts.fallthrough !== false\n\n // default redirect\n var redirect = opts.redirect !== false\n\n // headers listener\n var setHeaders = opts.setHeaders\n\n if (setHeaders && typeof setHeaders !== 'function') {\n throw new TypeError('option setHeaders must be function')\n }\n\n // setup options for send\n opts.maxage = opts.maxage || opts.maxAge || 0\n opts.root = resolve(root)\n\n // construct directory listener\n var onDirectory = redirect\n ? createRedirectDirectoryListener()\n : createNotFoundDirectoryListener()\n\n return function serveStatic (req, res, next) {\n if (req.method !== 'GET' && req.method !== 'HEAD') {\n if (fallthrough) {\n return next()\n }\n\n // method not allowed\n res.statusCode = 405\n res.setHeader('Allow', 'GET, HEAD')\n res.setHeader('Content-Length', '0')\n res.end()\n return\n }\n\n var forwardError = !fallthrough\n var originalUrl = parseUrl.original(req)\n var path = parseUrl(req).pathname\n\n // make sure redirect occurs at mount\n if (path === '/' && originalUrl.pathname.substr(-1) !== '/') {\n path = ''\n }\n\n // create send stream\n var stream = send(req, path, opts)\n\n // add directory handler\n stream.on('directory', onDirectory)\n\n // add headers listener\n if (setHeaders) {\n stream.on('headers', setHeaders)\n }\n\n // add file listener for fallthrough\n if (fallthrough) {\n stream.on('file', function onFile () {\n // once file is determined, always forward error\n forwardError = true\n })\n }\n\n // forward errors\n stream.on('error', function error (err) {\n if (forwardError || !(err.statusCode < 500)) {\n next(err)\n return\n }\n\n next()\n })\n\n // pipe\n stream.pipe(res)\n }\n}\n\n/**\n * Collapse all leading slashes into a single slash\n * @private\n */\nfunction collapseLeadingSlashes (str) {\n for (var i = 0; i < str.length; i++) {\n if (str.charCodeAt(i) !== 0x2f /* / */) {\n break\n }\n }\n\n return i > 1\n ? '/' + str.substr(i)\n : str\n}\n\n/**\n * Create a minimal HTML document.\n *\n * @param {string} title\n * @param {string} body\n * @private\n */\n\nfunction createHtmlDocument (title, body) {\n return '\\n' +\n '\\n' +\n '\\n' +\n '\\n' +\n '' + title + '\\n' +\n '\\n' +\n '\\n' +\n '
' + body + '
\\n' +\n '\\n' +\n '\\n'\n}\n\n/**\n * Create a directory listener that just 404s.\n * @private\n */\n\nfunction createNotFoundDirectoryListener () {\n return function notFound () {\n this.error(404)\n }\n}\n\n/**\n * Create a directory listener that performs a redirect.\n * @private\n */\n\nfunction createRedirectDirectoryListener () {\n return function redirect (res) {\n if (this.hasTrailingSlash()) {\n this.error(404)\n return\n }\n\n // get original URL\n var originalUrl = parseUrl.original(this.req)\n\n // append trailing slash\n originalUrl.path = null\n originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + '/')\n\n // reformat the URL\n var loc = encodeUrl(url.format(originalUrl))\n var doc = createHtmlDocument('Redirecting', 'Redirecting to ' +\n escapeHtml(loc) + '')\n\n // send redirect response\n res.statusCode = 301\n res.setHeader('Content-Type', 'text/html; charset=UTF-8')\n res.setHeader('Content-Length', Buffer.byteLength(doc))\n res.setHeader('Content-Security-Policy', \"default-src 'none'\")\n res.setHeader('X-Content-Type-Options', 'nosniff')\n res.setHeader('Location', loc)\n res.end(doc)\n }\n}\n","'use strict'\n/* eslint no-proto: 0 */\nmodule.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)\n\nfunction setProtoOf (obj, proto) {\n obj.__proto__ = proto\n return obj\n}\n\nfunction mixinProperties (obj, proto) {\n for (var prop in proto) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n obj[prop] = proto[prop]\n }\n }\n return obj\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","/*!\n * statuses\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar codes = require('./codes.json')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = status\n\n// status code to message map\nstatus.message = codes\n\n// status message (lower-case) to code map\nstatus.code = createMessageToStatusCodeMap(codes)\n\n// array of status codes\nstatus.codes = createStatusCodeList(codes)\n\n// status codes for redirects\nstatus.redirect = {\n 300: true,\n 301: true,\n 302: true,\n 303: true,\n 305: true,\n 307: true,\n 308: true\n}\n\n// status codes for empty bodies\nstatus.empty = {\n 204: true,\n 205: true,\n 304: true\n}\n\n// status codes for when you should retry the request\nstatus.retry = {\n 502: true,\n 503: true,\n 504: true\n}\n\n/**\n * Create a map of message to status code.\n * @private\n */\n\nfunction createMessageToStatusCodeMap (codes) {\n var map = {}\n\n Object.keys(codes).forEach(function forEachCode (code) {\n var message = codes[code]\n var status = Number(code)\n\n // populate map\n map[message.toLowerCase()] = status\n })\n\n return map\n}\n\n/**\n * Create a list of all status codes.\n * @private\n */\n\nfunction createStatusCodeList (codes) {\n return Object.keys(codes).map(function mapCode (code) {\n return Number(code)\n })\n}\n\n/**\n * Get the status code for given message.\n * @private\n */\n\nfunction getStatusCode (message) {\n var msg = message.toLowerCase()\n\n if (!Object.prototype.hasOwnProperty.call(status.code, msg)) {\n throw new Error('invalid status message: \"' + message + '\"')\n }\n\n return status.code[msg]\n}\n\n/**\n * Get the status message for given code.\n * @private\n */\n\nfunction getStatusMessage (code) {\n if (!Object.prototype.hasOwnProperty.call(status.message, code)) {\n throw new Error('invalid status code: ' + code)\n }\n\n return status.message[code]\n}\n\n/**\n * Get the status code.\n *\n * Given a number, this will throw if it is not a known status\n * code, otherwise the code will be returned. Given a string,\n * the string will be parsed for a number and return the code\n * if valid, otherwise will lookup the code assuming this is\n * the status message.\n *\n * @param {string|number} code\n * @returns {number}\n * @public\n */\n\nfunction status (code) {\n if (typeof code === 'number') {\n return getStatusMessage(code)\n }\n\n if (typeof code !== 'string') {\n throw new TypeError('code must be a number or string')\n }\n\n // '403'\n var n = parseInt(code, 10)\n if (!isNaN(n)) {\n return getStatusMessage(n)\n }\n\n return getStatusCode(code)\n}\n","'use strict';\nconst os = require('os');\nconst hasFlag = require('has-flag');\n\nconst env = process.env;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false')) {\n\tforceColor = false;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = true;\n}\nif ('FORCE_COLOR' in env) {\n\tforceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(stream) {\n\tif (forceColor === false) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (stream && !stream.isTTY && forceColor !== true) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor ? 1 : 0;\n\n\tif (process.platform === 'win32') {\n\t\t// Node.js 7.5.0 is the first version of Node.js to include a patch to\n\t\t// libuv that enables 256 color output on Windows. Anything earlier and it\n\t\t// won't work. However, here we target Node.js 8 at minimum as it is an LTS\n\t\t// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows\n\t\t// release that supports 256 colors. Windows 10 build 14931 is the first release\n\t\t// that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(process.versions.node.split('.')[0]) >= 8 &&\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: getSupportLevel(process.stdout),\n\tstderr: getSupportLevel(process.stderr)\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","/*!\n * toidentifier\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = toIdentifier\n\n/**\n * Trasform the given string into a JavaScript identifier\n *\n * @param {string} str\n * @returns {string}\n * @public\n */\n\nfunction toIdentifier (str) {\n return str\n .split(' ')\n .map(function (token) {\n return token.slice(0, 1).toUpperCase() + token.slice(1)\n })\n .join('')\n .replace(/[^ _0-9a-z]/gi, '')\n}\n","/*!\n * type-is\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar typer = require('media-typer')\nvar mime = require('mime-types')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = typeofrequest\nmodule.exports.is = typeis\nmodule.exports.hasBody = hasbody\nmodule.exports.normalize = normalize\nmodule.exports.match = mimeMatch\n\n/**\n * Compare a `value` content-type with `types`.\n * Each `type` can be an extension like `html`,\n * a special shortcut like `multipart` or `urlencoded`,\n * or a mime type.\n *\n * If no types match, `false` is returned.\n * Otherwise, the first `type` that matches is returned.\n *\n * @param {String} value\n * @param {Array} types\n * @public\n */\n\nfunction typeis (value, types_) {\n var i\n var types = types_\n\n // remove parameters and normalize\n var val = tryNormalizeType(value)\n\n // no type or invalid\n if (!val) {\n return false\n }\n\n // support flattened arguments\n if (types && !Array.isArray(types)) {\n types = new Array(arguments.length - 1)\n for (i = 0; i < types.length; i++) {\n types[i] = arguments[i + 1]\n }\n }\n\n // no types, return the content type\n if (!types || !types.length) {\n return val\n }\n\n var type\n for (i = 0; i < types.length; i++) {\n if (mimeMatch(normalize(type = types[i]), val)) {\n return type[0] === '+' || type.indexOf('*') !== -1\n ? val\n : type\n }\n }\n\n // no matches\n return false\n}\n\n/**\n * Check if a request has a request body.\n * A request with a body __must__ either have `transfer-encoding`\n * or `content-length` headers set.\n * http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3\n *\n * @param {Object} request\n * @return {Boolean}\n * @public\n */\n\nfunction hasbody (req) {\n return req.headers['transfer-encoding'] !== undefined ||\n !isNaN(req.headers['content-length'])\n}\n\n/**\n * Check if the incoming request contains the \"Content-Type\"\n * header field, and it contains any of the give mime `type`s.\n * If there is no request body, `null` is returned.\n * If there is no content type, `false` is returned.\n * Otherwise, it returns the first `type` that matches.\n *\n * Examples:\n *\n * // With Content-Type: text/html; charset=utf-8\n * this.is('html'); // => 'html'\n * this.is('text/html'); // => 'text/html'\n * this.is('text/*', 'application/json'); // => 'text/html'\n *\n * // When Content-Type is application/json\n * this.is('json', 'urlencoded'); // => 'json'\n * this.is('application/json'); // => 'application/json'\n * this.is('html', 'application/*'); // => 'application/json'\n *\n * this.is('html'); // => false\n *\n * @param {String|Array} types...\n * @return {String|false|null}\n * @public\n */\n\nfunction typeofrequest (req, types_) {\n var types = types_\n\n // no body\n if (!hasbody(req)) {\n return null\n }\n\n // support flattened arguments\n if (arguments.length > 2) {\n types = new Array(arguments.length - 1)\n for (var i = 0; i < types.length; i++) {\n types[i] = arguments[i + 1]\n }\n }\n\n // request content type\n var value = req.headers['content-type']\n\n return typeis(value, types)\n}\n\n/**\n * Normalize a mime type.\n * If it's a shorthand, expand it to a valid mime type.\n *\n * In general, you probably want:\n *\n * var type = is(req, ['urlencoded', 'json', 'multipart']);\n *\n * Then use the appropriate body parsers.\n * These three are the most common request body types\n * and are thus ensured to work.\n *\n * @param {String} type\n * @private\n */\n\nfunction normalize (type) {\n if (typeof type !== 'string') {\n // invalid type\n return false\n }\n\n switch (type) {\n case 'urlencoded':\n return 'application/x-www-form-urlencoded'\n case 'multipart':\n return 'multipart/*'\n }\n\n if (type[0] === '+') {\n // \"+json\" -> \"*/*+json\" expando\n return '*/*' + type\n }\n\n return type.indexOf('/') === -1\n ? mime.lookup(type)\n : type\n}\n\n/**\n * Check if `expected` mime type\n * matches `actual` mime type with\n * wildcard and +suffix support.\n *\n * @param {String} expected\n * @param {String} actual\n * @return {Boolean}\n * @private\n */\n\nfunction mimeMatch (expected, actual) {\n // invalid type\n if (expected === false) {\n return false\n }\n\n // split types\n var actualParts = actual.split('/')\n var expectedParts = expected.split('/')\n\n // invalid format\n if (actualParts.length !== 2 || expectedParts.length !== 2) {\n return false\n }\n\n // validate type\n if (expectedParts[0] !== '*' && expectedParts[0] !== actualParts[0]) {\n return false\n }\n\n // validate suffix wildcard\n if (expectedParts[1].substr(0, 2) === '*+') {\n return expectedParts[1].length <= actualParts[1].length + 1 &&\n expectedParts[1].substr(1) === actualParts[1].substr(1 - expectedParts[1].length)\n }\n\n // validate subtype\n if (expectedParts[1] !== '*' && expectedParts[1] !== actualParts[1]) {\n return false\n }\n\n return true\n}\n\n/**\n * Normalize a type and remove parameters.\n *\n * @param {string} value\n * @return {string}\n * @private\n */\n\nfunction normalizeType (value) {\n // parse the type\n var type = typer.parse(value)\n\n // remove the parameters\n type.parameters = undefined\n\n // reformat it\n return typer.format(type)\n}\n\n/**\n * Try to normalize a type and remove parameters.\n *\n * @param {string} value\n * @return {string}\n * @private\n */\n\nfunction tryNormalizeType (value) {\n if (!value) {\n return null\n }\n\n try {\n return normalizeType(value)\n } catch (err) {\n return null\n }\n}\n","/*!\n * uid-safe\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar randomBytes = require('random-bytes')\n\n/**\n * Module variables.\n * @private\n */\n\nvar EQUAL_END_REGEXP = /=+$/\nvar PLUS_GLOBAL_REGEXP = /\\+/g\nvar SLASH_GLOBAL_REGEXP = /\\//g\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = uid\nmodule.exports.sync = uidSync\n\n/**\n * Create a unique ID.\n *\n * @param {number} length\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction uid (length, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateUid(length, callback)\n }\n\n return new Promise(function executor (resolve, reject) {\n generateUid(length, function onUid (err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Create a unique ID sync.\n *\n * @param {number} length\n * @return {string}\n * @public\n */\n\nfunction uidSync (length) {\n return toString(randomBytes.sync(length))\n}\n\n/**\n * Generate a unique ID string.\n *\n * @param {number} length\n * @param {function} callback\n * @private\n */\n\nfunction generateUid (length, callback) {\n randomBytes(length, function (err, buf) {\n if (err) return callback(err)\n callback(null, toString(buf))\n })\n}\n\n/**\n * Change a Buffer into a string.\n *\n * @param {Buffer} buf\n * @return {string}\n * @private\n */\n\nfunction toString (buf) {\n return buf.toString('base64')\n .replace(EQUAL_END_REGEXP, '')\n .replace(PLUS_GLOBAL_REGEXP, '-')\n .replace(SLASH_GLOBAL_REGEXP, '_')\n}\n","/*!\n * unpipe\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = unpipe\n\n/**\n * Determine if there are Node.js pipe-like data listeners.\n * @private\n */\n\nfunction hasPipeDataListeners(stream) {\n var listeners = stream.listeners('data')\n\n for (var i = 0; i < listeners.length; i++) {\n if (listeners[i].name === 'ondata') {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Unpipe a stream from all destinations.\n *\n * @param {object} stream\n * @public\n */\n\nfunction unpipe(stream) {\n if (!stream) {\n throw new TypeError('argument stream is required')\n }\n\n if (typeof stream.unpipe === 'function') {\n // new-style\n stream.unpipe()\n return\n }\n\n // Node.js 0.8 hack\n if (!hasPipeDataListeners(stream)) {\n return\n }\n\n var listener\n var listeners = stream.listeners('close')\n\n for (var i = 0; i < listeners.length; i++) {\n listener = listeners[i]\n\n if (listener.name !== 'cleanup' && listener.name !== 'onclose') {\n continue\n }\n\n // invoke the listener\n listener.call(stream)\n }\n}\n","'use strict';\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0x00) { // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) { // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) { // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80 || // overlong\n buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0 // surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) { // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80 || // overlong\n buf[i] === 0xf4 && buf[i + 1] > 0x8f || buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isValidUTF8;\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","/**\n * Merge object b with object a.\n *\n * var a = { foo: 'bar' }\n * , b = { bar: 'baz' };\n *\n * merge(a, b);\n * // => { foo: 'bar', bar: 'baz' }\n *\n * @param {Object} a\n * @param {Object} b\n * @return {Object}\n * @api public\n */\n\nexports = module.exports = function(a, b){\n if (a && b) {\n for (var key in b) {\n a[key] = b[key];\n }\n }\n return a;\n};\n","/*!\n * vary\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n */\n\nmodule.exports = vary\nmodule.exports.append = append\n\n/**\n * RegExp to match field-name in RFC 7230 sec 3.2\n *\n * field-name = token\n * token = 1*tchar\n * tchar = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" / \"*\"\n * / \"+\" / \"-\" / \".\" / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * / DIGIT / ALPHA\n * ; any VCHAR, except delimiters\n */\n\nvar FIELD_NAME_REGEXP = /^[!#$%&'*+\\-.^_`|~0-9A-Za-z]+$/\n\n/**\n * Append a field to a vary header.\n *\n * @param {String} header\n * @param {String|Array} field\n * @return {String}\n * @public\n */\n\nfunction append (header, field) {\n if (typeof header !== 'string') {\n throw new TypeError('header argument is required')\n }\n\n if (!field) {\n throw new TypeError('field argument is required')\n }\n\n // get fields array\n var fields = !Array.isArray(field)\n ? parse(String(field))\n : field\n\n // assert on invalid field names\n for (var j = 0; j < fields.length; j++) {\n if (!FIELD_NAME_REGEXP.test(fields[j])) {\n throw new TypeError('field argument contains an invalid header name')\n }\n }\n\n // existing, unspecified vary\n if (header === '*') {\n return header\n }\n\n // enumerate current values\n var val = header\n var vals = parse(header.toLowerCase())\n\n // unspecified vary\n if (fields.indexOf('*') !== -1 || vals.indexOf('*') !== -1) {\n return '*'\n }\n\n for (var i = 0; i < fields.length; i++) {\n var fld = fields[i].toLowerCase()\n\n // append value (case-preserving)\n if (vals.indexOf(fld) === -1) {\n vals.push(fld)\n val = val\n ? val + ', ' + fields[i]\n : fields[i]\n }\n }\n\n return val\n}\n\n/**\n * Parse a vary header into an array.\n *\n * @param {String} header\n * @return {Array}\n * @private\n */\n\nfunction parse (header) {\n var end = 0\n var list = []\n var start = 0\n\n // gather tokens\n for (var i = 0, len = header.length; i < len; i++) {\n switch (header.charCodeAt(i)) {\n case 0x20: /* */\n if (start === end) {\n start = end = i + 1\n }\n break\n case 0x2c: /* , */\n list.push(header.substring(start, end))\n start = end = i + 1\n break\n default:\n end = i + 1\n break\n }\n }\n\n // final token\n list.push(header.substring(start, end))\n\n return list\n}\n\n/**\n * Mark that a request is varied on a header field.\n *\n * @param {Object} res\n * @param {String|Array} field\n * @public\n */\n\nfunction vary (res, field) {\n if (!res || !res.getHeader || !res.setHeader) {\n // quack quack\n throw new TypeError('res argument is required')\n }\n\n // get existing header\n var val = res.getHeader('Vary') || ''\n var header = Array.isArray(val)\n ? val.join(', ')\n : String(val)\n\n // set new header\n if ((val = append(header, field))) {\n res.setHeader('Vary', val)\n }\n}\n","'use strict';\n\nconst WebSocket = require('./lib/websocket');\n\nWebSocket.createWebSocketStream = require('./lib/stream');\nWebSocket.Server = require('./lib/websocket-server');\nWebSocket.Receiver = require('./lib/receiver');\nWebSocket.Sender = require('./lib/sender');\n\nmodule.exports = WebSocket;\n","'use strict';\n\nconst { EMPTY_BUFFER } = require('./constants');\n\n/**\n * Merges an array of buffers into a new buffer.\n *\n * @param {Buffer[]} list The array of buffers to concat\n * @param {Number} totalLength The total length of buffers in the list\n * @return {Buffer} The resulting buffer\n * @public\n */\nfunction concat(list, totalLength) {\n if (list.length === 0) return EMPTY_BUFFER;\n if (list.length === 1) return list[0];\n\n const target = Buffer.allocUnsafe(totalLength);\n let offset = 0;\n\n for (let i = 0; i < list.length; i++) {\n const buf = list[i];\n target.set(buf, offset);\n offset += buf.length;\n }\n\n if (offset < totalLength) return target.slice(0, offset);\n\n return target;\n}\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nfunction _mask(source, mask, output, offset, length) {\n for (let i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n}\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nfunction _unmask(buffer, mask) {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (let i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n}\n\n/**\n * Converts a buffer to an `ArrayBuffer`.\n *\n * @param {Buffer} buf The buffer to convert\n * @return {ArrayBuffer} Converted buffer\n * @public\n */\nfunction toArrayBuffer(buf) {\n if (buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n }\n\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n}\n\n/**\n * Converts `data` to a `Buffer`.\n *\n * @param {*} data The data to convert\n * @return {Buffer} The buffer\n * @throws {TypeError}\n * @public\n */\nfunction toBuffer(data) {\n toBuffer.readOnly = true;\n\n if (Buffer.isBuffer(data)) return data;\n\n let buf;\n\n if (data instanceof ArrayBuffer) {\n buf = Buffer.from(data);\n } else if (ArrayBuffer.isView(data)) {\n buf = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n } else {\n buf = Buffer.from(data);\n toBuffer.readOnly = false;\n }\n\n return buf;\n}\n\ntry {\n const bufferUtil = require('bufferutil');\n const bu = bufferUtil.BufferUtil || bufferUtil;\n\n module.exports = {\n concat,\n mask(source, mask, output, offset, length) {\n if (length < 48) _mask(source, mask, output, offset, length);\n else bu.mask(source, mask, output, offset, length);\n },\n toArrayBuffer,\n toBuffer,\n unmask(buffer, mask) {\n if (buffer.length < 32) _unmask(buffer, mask);\n else bu.unmask(buffer, mask);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n concat,\n mask: _mask,\n toArrayBuffer,\n toBuffer,\n unmask: _unmask\n };\n}\n","'use strict';\n\nmodule.exports = {\n BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],\n GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',\n kStatusCode: Symbol('status-code'),\n kWebSocket: Symbol('websocket'),\n EMPTY_BUFFER: Buffer.alloc(0),\n NOOP: () => {}\n};\n","'use strict';\n\n/**\n * Class representing an event.\n *\n * @private\n */\nclass Event {\n /**\n * Create a new `Event`.\n *\n * @param {String} type The name of the event\n * @param {Object} target A reference to the target to which the event was\n * dispatched\n */\n constructor(type, target) {\n this.target = target;\n this.type = type;\n }\n}\n\n/**\n * Class representing a message event.\n *\n * @extends Event\n * @private\n */\nclass MessageEvent extends Event {\n /**\n * Create a new `MessageEvent`.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(data, target) {\n super('message', target);\n\n this.data = data;\n }\n}\n\n/**\n * Class representing a close event.\n *\n * @extends Event\n * @private\n */\nclass CloseEvent extends Event {\n /**\n * Create a new `CloseEvent`.\n *\n * @param {Number} code The status code explaining why the connection is being\n * closed\n * @param {String} reason A human-readable string explaining why the\n * connection is closing\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(code, reason, target) {\n super('close', target);\n\n this.wasClean = target._closeFrameReceived && target._closeFrameSent;\n this.reason = reason;\n this.code = code;\n }\n}\n\n/**\n * Class representing an open event.\n *\n * @extends Event\n * @private\n */\nclass OpenEvent extends Event {\n /**\n * Create a new `OpenEvent`.\n *\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(target) {\n super('open', target);\n }\n}\n\n/**\n * Class representing an error event.\n *\n * @extends Event\n * @private\n */\nclass ErrorEvent extends Event {\n /**\n * Create a new `ErrorEvent`.\n *\n * @param {Object} error The error that generated this event\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(error, target) {\n super('error', target);\n\n this.message = error.message;\n this.error = error;\n }\n}\n\n/**\n * This provides methods for emulating the `EventTarget` interface. It's not\n * meant to be used directly.\n *\n * @mixin\n */\nconst EventTarget = {\n /**\n * Register an event listener.\n *\n * @param {String} type A string representing the event type to listen for\n * @param {Function} listener The listener to add\n * @param {Object} [options] An options object specifies characteristics about\n * the event listener\n * @param {Boolean} [options.once=false] A `Boolean`` indicating that the\n * listener should be invoked at most once after being added. If `true`,\n * the listener would be automatically removed when invoked.\n * @public\n */\n addEventListener(type, listener, options) {\n if (typeof listener !== 'function') return;\n\n function onMessage(data) {\n listener.call(this, new MessageEvent(data, this));\n }\n\n function onClose(code, message) {\n listener.call(this, new CloseEvent(code, message, this));\n }\n\n function onError(error) {\n listener.call(this, new ErrorEvent(error, this));\n }\n\n function onOpen() {\n listener.call(this, new OpenEvent(this));\n }\n\n const method = options && options.once ? 'once' : 'on';\n\n if (type === 'message') {\n onMessage._listener = listener;\n this[method](type, onMessage);\n } else if (type === 'close') {\n onClose._listener = listener;\n this[method](type, onClose);\n } else if (type === 'error') {\n onError._listener = listener;\n this[method](type, onError);\n } else if (type === 'open') {\n onOpen._listener = listener;\n this[method](type, onOpen);\n } else {\n this[method](type, listener);\n }\n },\n\n /**\n * Remove an event listener.\n *\n * @param {String} type A string representing the event type to remove\n * @param {Function} listener The listener to remove\n * @public\n */\n removeEventListener(type, listener) {\n const listeners = this.listeners(type);\n\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i] === listener || listeners[i]._listener === listener) {\n this.removeListener(type, listeners[i]);\n }\n }\n }\n};\n\nmodule.exports = EventTarget;\n","'use strict';\n\n//\n// Allowed token characters:\n//\n// '!', '#', '$', '%', '&', ''', '*', '+', '-',\n// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~'\n//\n// tokenChars[32] === 0 // ' '\n// tokenChars[33] === 1 // '!'\n// tokenChars[34] === 0 // '\"'\n// ...\n//\n// prettier-ignore\nconst tokenChars = [\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31\n 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63\n 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127\n];\n\n/**\n * Adds an offer to the map of extension offers or a parameter to the map of\n * parameters.\n *\n * @param {Object} dest The map of extension offers or parameters\n * @param {String} name The extension or parameter name\n * @param {(Object|Boolean|String)} elem The extension parameters or the\n * parameter value\n * @private\n */\nfunction push(dest, name, elem) {\n if (dest[name] === undefined) dest[name] = [elem];\n else dest[name].push(elem);\n}\n\n/**\n * Parses the `Sec-WebSocket-Extensions` header into an object.\n *\n * @param {String} header The field value of the header\n * @return {Object} The parsed object\n * @public\n */\nfunction parse(header) {\n const offers = Object.create(null);\n\n if (header === undefined || header === '') return offers;\n\n let params = Object.create(null);\n let mustUnescape = false;\n let isEscaping = false;\n let inQuotes = false;\n let extensionName;\n let paramName;\n let start = -1;\n let end = -1;\n let i = 0;\n\n for (; i < header.length; i++) {\n const code = header.charCodeAt(i);\n\n if (extensionName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\\t' */) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n const name = header.slice(start, end);\n if (code === 0x2c) {\n push(offers, name, params);\n params = Object.create(null);\n } else {\n extensionName = name;\n }\n\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (paramName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 || code === 0x09) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n push(params, header.slice(start, end), true);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n start = end = -1;\n } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) {\n paramName = header.slice(start, i);\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else {\n //\n // The value of a quoted-string after unescaping must conform to the\n // token ABNF, so only token characters are valid.\n // Ref: https://tools.ietf.org/html/rfc6455#section-9.1\n //\n if (isEscaping) {\n if (tokenChars[code] !== 1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n if (start === -1) start = i;\n else if (!mustUnescape) mustUnescape = true;\n isEscaping = false;\n } else if (inQuotes) {\n if (tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x22 /* '\"' */ && start !== -1) {\n inQuotes = false;\n end = i;\n } else if (code === 0x5c /* '\\' */) {\n isEscaping = true;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) {\n inQuotes = true;\n } else if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (start !== -1 && (code === 0x20 || code === 0x09)) {\n if (end === -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n let value = header.slice(start, end);\n if (mustUnescape) {\n value = value.replace(/\\\\/g, '');\n mustUnescape = false;\n }\n push(params, paramName, value);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n paramName = undefined;\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n }\n }\n\n if (start === -1 || inQuotes) {\n throw new SyntaxError('Unexpected end of input');\n }\n\n if (end === -1) end = i;\n const token = header.slice(start, end);\n if (extensionName === undefined) {\n push(offers, token, params);\n } else {\n if (paramName === undefined) {\n push(params, token, true);\n } else if (mustUnescape) {\n push(params, paramName, token.replace(/\\\\/g, ''));\n } else {\n push(params, paramName, token);\n }\n push(offers, extensionName, params);\n }\n\n return offers;\n}\n\n/**\n * Builds the `Sec-WebSocket-Extensions` header field value.\n *\n * @param {Object} extensions The map of extensions and parameters to format\n * @return {String} A string representing the given object\n * @public\n */\nfunction format(extensions) {\n return Object.keys(extensions)\n .map((extension) => {\n let configurations = extensions[extension];\n if (!Array.isArray(configurations)) configurations = [configurations];\n return configurations\n .map((params) => {\n return [extension]\n .concat(\n Object.keys(params).map((k) => {\n let values = params[k];\n if (!Array.isArray(values)) values = [values];\n return values\n .map((v) => (v === true ? k : `${k}=${v}`))\n .join('; ');\n })\n )\n .join('; ');\n })\n .join(', ');\n })\n .join(', ');\n}\n\nmodule.exports = { format, parse };\n","'use strict';\n\nconst kDone = Symbol('kDone');\nconst kRun = Symbol('kRun');\n\n/**\n * A very simple job queue with adjustable concurrency. Adapted from\n * https://github.com/STRML/async-limiter\n */\nclass Limiter {\n /**\n * Creates a new `Limiter`.\n *\n * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed\n * to run concurrently\n */\n constructor(concurrency) {\n this[kDone] = () => {\n this.pending--;\n this[kRun]();\n };\n this.concurrency = concurrency || Infinity;\n this.jobs = [];\n this.pending = 0;\n }\n\n /**\n * Adds a job to the queue.\n *\n * @param {Function} job The job to run\n * @public\n */\n add(job) {\n this.jobs.push(job);\n this[kRun]();\n }\n\n /**\n * Removes a job from the queue and runs it if possible.\n *\n * @private\n */\n [kRun]() {\n if (this.pending === this.concurrency) return;\n\n if (this.jobs.length) {\n const job = this.jobs.shift();\n\n this.pending++;\n job(this[kDone]);\n }\n }\n}\n\nmodule.exports = Limiter;\n","'use strict';\n\nconst zlib = require('zlib');\n\nconst bufferUtil = require('./buffer-util');\nconst Limiter = require('./limiter');\nconst { kStatusCode, NOOP } = require('./constants');\n\nconst TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]);\nconst kPerMessageDeflate = Symbol('permessage-deflate');\nconst kTotalLength = Symbol('total-length');\nconst kCallback = Symbol('callback');\nconst kBuffers = Symbol('buffers');\nconst kError = Symbol('error');\n\n//\n// We limit zlib concurrency, which prevents severe memory fragmentation\n// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913\n// and https://github.com/websockets/ws/issues/1202\n//\n// Intentionally global; it's the global thread pool that's an issue.\n//\nlet zlibLimiter;\n\n/**\n * permessage-deflate implementation.\n */\nclass PerMessageDeflate {\n /**\n * Creates a PerMessageDeflate instance.\n *\n * @param {Object} [options] Configuration options\n * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept\n * disabling of server context takeover\n * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/\n * acknowledge disabling of client context takeover\n * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the\n * use of a custom server window size\n * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support\n * for, or request, a custom client window size\n * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on\n * deflate\n * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on\n * inflate\n * @param {Number} [options.threshold=1024] Size (in bytes) below which\n * messages should not be compressed\n * @param {Number} [options.concurrencyLimit=10] The number of concurrent\n * calls to zlib\n * @param {Boolean} [isServer=false] Create the instance in either server or\n * client mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(options, isServer, maxPayload) {\n this._maxPayload = maxPayload | 0;\n this._options = options || {};\n this._threshold =\n this._options.threshold !== undefined ? this._options.threshold : 1024;\n this._isServer = !!isServer;\n this._deflate = null;\n this._inflate = null;\n\n this.params = null;\n\n if (!zlibLimiter) {\n const concurrency =\n this._options.concurrencyLimit !== undefined\n ? this._options.concurrencyLimit\n : 10;\n zlibLimiter = new Limiter(concurrency);\n }\n }\n\n /**\n * @type {String}\n */\n static get extensionName() {\n return 'permessage-deflate';\n }\n\n /**\n * Create an extension negotiation offer.\n *\n * @return {Object} Extension parameters\n * @public\n */\n offer() {\n const params = {};\n\n if (this._options.serverNoContextTakeover) {\n params.server_no_context_takeover = true;\n }\n if (this._options.clientNoContextTakeover) {\n params.client_no_context_takeover = true;\n }\n if (this._options.serverMaxWindowBits) {\n params.server_max_window_bits = this._options.serverMaxWindowBits;\n }\n if (this._options.clientMaxWindowBits) {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n } else if (this._options.clientMaxWindowBits == null) {\n params.client_max_window_bits = true;\n }\n\n return params;\n }\n\n /**\n * Accept an extension negotiation offer/response.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Object} Accepted configuration\n * @public\n */\n accept(configurations) {\n configurations = this.normalizeParams(configurations);\n\n this.params = this._isServer\n ? this.acceptAsServer(configurations)\n : this.acceptAsClient(configurations);\n\n return this.params;\n }\n\n /**\n * Releases all resources used by the extension.\n *\n * @public\n */\n cleanup() {\n if (this._inflate) {\n this._inflate.close();\n this._inflate = null;\n }\n\n if (this._deflate) {\n const callback = this._deflate[kCallback];\n\n this._deflate.close();\n this._deflate = null;\n\n if (callback) {\n callback(\n new Error(\n 'The deflate stream was closed while data was being processed'\n )\n );\n }\n }\n }\n\n /**\n * Accept an extension negotiation offer.\n *\n * @param {Array} offers The extension negotiation offers\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsServer(offers) {\n const opts = this._options;\n const accepted = offers.find((params) => {\n if (\n (opts.serverNoContextTakeover === false &&\n params.server_no_context_takeover) ||\n (params.server_max_window_bits &&\n (opts.serverMaxWindowBits === false ||\n (typeof opts.serverMaxWindowBits === 'number' &&\n opts.serverMaxWindowBits > params.server_max_window_bits))) ||\n (typeof opts.clientMaxWindowBits === 'number' &&\n !params.client_max_window_bits)\n ) {\n return false;\n }\n\n return true;\n });\n\n if (!accepted) {\n throw new Error('None of the extension offers can be accepted');\n }\n\n if (opts.serverNoContextTakeover) {\n accepted.server_no_context_takeover = true;\n }\n if (opts.clientNoContextTakeover) {\n accepted.client_no_context_takeover = true;\n }\n if (typeof opts.serverMaxWindowBits === 'number') {\n accepted.server_max_window_bits = opts.serverMaxWindowBits;\n }\n if (typeof opts.clientMaxWindowBits === 'number') {\n accepted.client_max_window_bits = opts.clientMaxWindowBits;\n } else if (\n accepted.client_max_window_bits === true ||\n opts.clientMaxWindowBits === false\n ) {\n delete accepted.client_max_window_bits;\n }\n\n return accepted;\n }\n\n /**\n * Accept the extension negotiation response.\n *\n * @param {Array} response The extension negotiation response\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsClient(response) {\n const params = response[0];\n\n if (\n this._options.clientNoContextTakeover === false &&\n params.client_no_context_takeover\n ) {\n throw new Error('Unexpected parameter \"client_no_context_takeover\"');\n }\n\n if (!params.client_max_window_bits) {\n if (typeof this._options.clientMaxWindowBits === 'number') {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n }\n } else if (\n this._options.clientMaxWindowBits === false ||\n (typeof this._options.clientMaxWindowBits === 'number' &&\n params.client_max_window_bits > this._options.clientMaxWindowBits)\n ) {\n throw new Error(\n 'Unexpected or invalid parameter \"client_max_window_bits\"'\n );\n }\n\n return params;\n }\n\n /**\n * Normalize parameters.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Array} The offers/response with normalized parameters\n * @private\n */\n normalizeParams(configurations) {\n configurations.forEach((params) => {\n Object.keys(params).forEach((key) => {\n let value = params[key];\n\n if (value.length > 1) {\n throw new Error(`Parameter \"${key}\" must have only a single value`);\n }\n\n value = value[0];\n\n if (key === 'client_max_window_bits') {\n if (value !== true) {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (!this._isServer) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else if (key === 'server_max_window_bits') {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (\n key === 'client_no_context_takeover' ||\n key === 'server_no_context_takeover'\n ) {\n if (value !== true) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else {\n throw new Error(`Unknown parameter \"${key}\"`);\n }\n\n params[key] = value;\n });\n });\n\n return configurations;\n }\n\n /**\n * Decompress data. Concurrency limited.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n decompress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._decompress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Compress data. Concurrency limited.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n compress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._compress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Decompress data.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _decompress(data, fin, callback) {\n const endpoint = this._isServer ? 'client' : 'server';\n\n if (!this._inflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._inflate = zlib.createInflateRaw({\n ...this._options.zlibInflateOptions,\n windowBits\n });\n this._inflate[kPerMessageDeflate] = this;\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n this._inflate.on('error', inflateOnError);\n this._inflate.on('data', inflateOnData);\n }\n\n this._inflate[kCallback] = callback;\n\n this._inflate.write(data);\n if (fin) this._inflate.write(TRAILER);\n\n this._inflate.flush(() => {\n const err = this._inflate[kError];\n\n if (err) {\n this._inflate.close();\n this._inflate = null;\n callback(err);\n return;\n }\n\n const data = bufferUtil.concat(\n this._inflate[kBuffers],\n this._inflate[kTotalLength]\n );\n\n if (this._inflate._readableState.endEmitted) {\n this._inflate.close();\n this._inflate = null;\n } else {\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._inflate.reset();\n }\n }\n\n callback(null, data);\n });\n }\n\n /**\n * Compress data.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _compress(data, fin, callback) {\n const endpoint = this._isServer ? 'server' : 'client';\n\n if (!this._deflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._deflate = zlib.createDeflateRaw({\n ...this._options.zlibDeflateOptions,\n windowBits\n });\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n //\n // An `'error'` event is emitted, only on Node.js < 10.0.0, if the\n // `zlib.DeflateRaw` instance is closed while data is being processed.\n // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong\n // time due to an abnormal WebSocket closure.\n //\n this._deflate.on('error', NOOP);\n this._deflate.on('data', deflateOnData);\n }\n\n this._deflate[kCallback] = callback;\n\n this._deflate.write(data);\n this._deflate.flush(zlib.Z_SYNC_FLUSH, () => {\n if (!this._deflate) {\n //\n // The deflate stream was closed while data was being processed.\n //\n return;\n }\n\n let data = bufferUtil.concat(\n this._deflate[kBuffers],\n this._deflate[kTotalLength]\n );\n\n if (fin) data = data.slice(0, data.length - 4);\n\n //\n // Ensure that the callback will not be called again in\n // `PerMessageDeflate#cleanup()`.\n //\n this._deflate[kCallback] = null;\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._deflate.reset();\n }\n\n callback(null, data);\n });\n }\n}\n\nmodule.exports = PerMessageDeflate;\n\n/**\n * The listener of the `zlib.DeflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction deflateOnData(chunk) {\n this[kBuffers].push(chunk);\n this[kTotalLength] += chunk.length;\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction inflateOnData(chunk) {\n this[kTotalLength] += chunk.length;\n\n if (\n this[kPerMessageDeflate]._maxPayload < 1 ||\n this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload\n ) {\n this[kBuffers].push(chunk);\n return;\n }\n\n this[kError] = new RangeError('Max payload size exceeded');\n this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH';\n this[kError][kStatusCode] = 1009;\n this.removeListener('data', inflateOnData);\n this.reset();\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'error'` event.\n *\n * @param {Error} err The emitted error\n * @private\n */\nfunction inflateOnError(err) {\n //\n // There is no need to call `Zlib#close()` as the handle is automatically\n // closed when an error is emitted.\n //\n this[kPerMessageDeflate]._inflate = null;\n err[kStatusCode] = 1007;\n this[kCallback](err);\n}\n","'use strict';\n\nconst { Writable } = require('stream');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n kStatusCode,\n kWebSocket\n} = require('./constants');\nconst { concat, toArrayBuffer, unmask } = require('./buffer-util');\nconst { isValidStatusCode, isValidUTF8 } = require('./validation');\n\nconst GET_INFO = 0;\nconst GET_PAYLOAD_LENGTH_16 = 1;\nconst GET_PAYLOAD_LENGTH_64 = 2;\nconst GET_MASK = 3;\nconst GET_DATA = 4;\nconst INFLATING = 5;\n\n/**\n * HyBi Receiver implementation.\n *\n * @extends Writable\n */\nclass Receiver extends Writable {\n /**\n * Creates a Receiver instance.\n *\n * @param {String} [binaryType=nodebuffer] The type for binary data\n * @param {Object} [extensions] An object containing the negotiated extensions\n * @param {Boolean} [isServer=false] Specifies whether to operate in client or\n * server mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(binaryType, extensions, isServer, maxPayload) {\n super();\n\n this._binaryType = binaryType || BINARY_TYPES[0];\n this[kWebSocket] = undefined;\n this._extensions = extensions || {};\n this._isServer = !!isServer;\n this._maxPayload = maxPayload | 0;\n\n this._bufferedBytes = 0;\n this._buffers = [];\n\n this._compressed = false;\n this._payloadLength = 0;\n this._mask = undefined;\n this._fragmented = 0;\n this._masked = false;\n this._fin = false;\n this._opcode = 0;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragments = [];\n\n this._state = GET_INFO;\n this._loop = false;\n }\n\n /**\n * Implements `Writable.prototype._write()`.\n *\n * @param {Buffer} chunk The chunk of data to write\n * @param {String} encoding The character encoding of `chunk`\n * @param {Function} cb Callback\n * @private\n */\n _write(chunk, encoding, cb) {\n if (this._opcode === 0x08 && this._state == GET_INFO) return cb();\n\n this._bufferedBytes += chunk.length;\n this._buffers.push(chunk);\n this.startLoop(cb);\n }\n\n /**\n * Consumes `n` bytes from the buffered data.\n *\n * @param {Number} n The number of bytes to consume\n * @return {Buffer} The consumed bytes\n * @private\n */\n consume(n) {\n this._bufferedBytes -= n;\n\n if (n === this._buffers[0].length) return this._buffers.shift();\n\n if (n < this._buffers[0].length) {\n const buf = this._buffers[0];\n this._buffers[0] = buf.slice(n);\n return buf.slice(0, n);\n }\n\n const dst = Buffer.allocUnsafe(n);\n\n do {\n const buf = this._buffers[0];\n const offset = dst.length - n;\n\n if (n >= buf.length) {\n dst.set(this._buffers.shift(), offset);\n } else {\n dst.set(new Uint8Array(buf.buffer, buf.byteOffset, n), offset);\n this._buffers[0] = buf.slice(n);\n }\n\n n -= buf.length;\n } while (n > 0);\n\n return dst;\n }\n\n /**\n * Starts the parsing loop.\n *\n * @param {Function} cb Callback\n * @private\n */\n startLoop(cb) {\n let err;\n this._loop = true;\n\n do {\n switch (this._state) {\n case GET_INFO:\n err = this.getInfo();\n break;\n case GET_PAYLOAD_LENGTH_16:\n err = this.getPayloadLength16();\n break;\n case GET_PAYLOAD_LENGTH_64:\n err = this.getPayloadLength64();\n break;\n case GET_MASK:\n this.getMask();\n break;\n case GET_DATA:\n err = this.getData(cb);\n break;\n default:\n // `INFLATING`\n this._loop = false;\n return;\n }\n } while (this._loop);\n\n cb(err);\n }\n\n /**\n * Reads the first two bytes of a frame.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getInfo() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(2);\n\n if ((buf[0] & 0x30) !== 0x00) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV2 and RSV3 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_2_3'\n );\n }\n\n const compressed = (buf[0] & 0x40) === 0x40;\n\n if (compressed && !this._extensions[PerMessageDeflate.extensionName]) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n this._fin = (buf[0] & 0x80) === 0x80;\n this._opcode = buf[0] & 0x0f;\n this._payloadLength = buf[1] & 0x7f;\n\n if (this._opcode === 0x00) {\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (!this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n 'invalid opcode 0',\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._opcode = this._fragmented;\n } else if (this._opcode === 0x01 || this._opcode === 0x02) {\n if (this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._compressed = compressed;\n } else if (this._opcode > 0x07 && this._opcode < 0x0b) {\n if (!this._fin) {\n this._loop = false;\n return error(\n RangeError,\n 'FIN must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_FIN'\n );\n }\n\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (this._payloadLength > 0x7d) {\n this._loop = false;\n return error(\n RangeError,\n `invalid payload length ${this._payloadLength}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n }\n } else {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n if (!this._fin && !this._fragmented) this._fragmented = this._opcode;\n this._masked = (buf[1] & 0x80) === 0x80;\n\n if (this._isServer) {\n if (!this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_MASK'\n );\n }\n } else if (this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_MASK'\n );\n }\n\n if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16;\n else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64;\n else return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+16).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength16() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n this._payloadLength = this.consume(2).readUInt16BE(0);\n return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+64).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength64() {\n if (this._bufferedBytes < 8) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(8);\n const num = buf.readUInt32BE(0);\n\n //\n // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned\n // if payload length is greater than this number.\n //\n if (num > Math.pow(2, 53 - 32) - 1) {\n this._loop = false;\n return error(\n RangeError,\n 'Unsupported WebSocket frame: payload length > 2^53 - 1',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH'\n );\n }\n\n this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4);\n return this.haveLength();\n }\n\n /**\n * Payload length has been read.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n haveLength() {\n if (this._payloadLength && this._opcode < 0x08) {\n this._totalPayloadLength += this._payloadLength;\n if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) {\n this._loop = false;\n return error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n );\n }\n }\n\n if (this._masked) this._state = GET_MASK;\n else this._state = GET_DATA;\n }\n\n /**\n * Reads mask bytes.\n *\n * @private\n */\n getMask() {\n if (this._bufferedBytes < 4) {\n this._loop = false;\n return;\n }\n\n this._mask = this.consume(4);\n this._state = GET_DATA;\n }\n\n /**\n * Reads data bytes.\n *\n * @param {Function} cb Callback\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n getData(cb) {\n let data = EMPTY_BUFFER;\n\n if (this._payloadLength) {\n if (this._bufferedBytes < this._payloadLength) {\n this._loop = false;\n return;\n }\n\n data = this.consume(this._payloadLength);\n if (this._masked) unmask(data, this._mask);\n }\n\n if (this._opcode > 0x07) return this.controlMessage(data);\n\n if (this._compressed) {\n this._state = INFLATING;\n this.decompress(data, cb);\n return;\n }\n\n if (data.length) {\n //\n // This message is not compressed so its lenght is the sum of the payload\n // length of all fragments.\n //\n this._messageLength = this._totalPayloadLength;\n this._fragments.push(data);\n }\n\n return this.dataMessage();\n }\n\n /**\n * Decompresses data.\n *\n * @param {Buffer} data Compressed data\n * @param {Function} cb Callback\n * @private\n */\n decompress(data, cb) {\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n perMessageDeflate.decompress(data, this._fin, (err, buf) => {\n if (err) return cb(err);\n\n if (buf.length) {\n this._messageLength += buf.length;\n if (this._messageLength > this._maxPayload && this._maxPayload > 0) {\n return cb(\n error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n )\n );\n }\n\n this._fragments.push(buf);\n }\n\n const er = this.dataMessage();\n if (er) return cb(er);\n\n this.startLoop(cb);\n });\n }\n\n /**\n * Handles a data message.\n *\n * @return {(Error|undefined)} A possible error\n * @private\n */\n dataMessage() {\n if (this._fin) {\n const messageLength = this._messageLength;\n const fragments = this._fragments;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragmented = 0;\n this._fragments = [];\n\n if (this._opcode === 2) {\n let data;\n\n if (this._binaryType === 'nodebuffer') {\n data = concat(fragments, messageLength);\n } else if (this._binaryType === 'arraybuffer') {\n data = toArrayBuffer(concat(fragments, messageLength));\n } else {\n data = fragments;\n }\n\n this.emit('message', data);\n } else {\n const buf = concat(fragments, messageLength);\n\n if (!isValidUTF8(buf)) {\n this._loop = false;\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('message', buf.toString());\n }\n }\n\n this._state = GET_INFO;\n }\n\n /**\n * Handles a control message.\n *\n * @param {Buffer} data Data to handle\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n controlMessage(data) {\n if (this._opcode === 0x08) {\n this._loop = false;\n\n if (data.length === 0) {\n this.emit('conclude', 1005, '');\n this.end();\n } else if (data.length === 1) {\n return error(\n RangeError,\n 'invalid payload length 1',\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n } else {\n const code = data.readUInt16BE(0);\n\n if (!isValidStatusCode(code)) {\n return error(\n RangeError,\n `invalid status code ${code}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CLOSE_CODE'\n );\n }\n\n const buf = data.slice(2);\n\n if (!isValidUTF8(buf)) {\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('conclude', code, buf.toString());\n this.end();\n }\n } else if (this._opcode === 0x09) {\n this.emit('ping', data);\n } else {\n this.emit('pong', data);\n }\n\n this._state = GET_INFO;\n }\n}\n\nmodule.exports = Receiver;\n\n/**\n * Builds an error object.\n *\n * @param {function(new:Error|RangeError)} ErrorCtor The error constructor\n * @param {String} message The error message\n * @param {Boolean} prefix Specifies whether or not to add a default prefix to\n * `message`\n * @param {Number} statusCode The status code\n * @param {String} errorCode The exposed error code\n * @return {(Error|RangeError)} The error\n * @private\n */\nfunction error(ErrorCtor, message, prefix, statusCode, errorCode) {\n const err = new ErrorCtor(\n prefix ? `Invalid WebSocket frame: ${message}` : message\n );\n\n Error.captureStackTrace(err, error);\n err.code = errorCode;\n err[kStatusCode] = statusCode;\n return err;\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls$\" }] */\n\n'use strict';\n\nconst net = require('net');\nconst tls = require('tls');\nconst { randomFillSync } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst { EMPTY_BUFFER } = require('./constants');\nconst { isValidStatusCode } = require('./validation');\nconst { mask: applyMask, toBuffer } = require('./buffer-util');\n\nconst mask = Buffer.alloc(4);\n\n/**\n * HyBi Sender implementation.\n */\nclass Sender {\n /**\n * Creates a Sender instance.\n *\n * @param {(net.Socket|tls.Socket)} socket The connection socket\n * @param {Object} [extensions] An object containing the negotiated extensions\n */\n constructor(socket, extensions) {\n this._extensions = extensions || {};\n this._socket = socket;\n\n this._firstFragment = true;\n this._compress = false;\n\n this._bufferedBytes = 0;\n this._deflating = false;\n this._queue = [];\n }\n\n /**\n * Frames a piece of data according to the HyBi WebSocket protocol.\n *\n * @param {Buffer} data The data to frame\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @return {Buffer[]} The framed data as a list of `Buffer` instances\n * @public\n */\n static frame(data, options) {\n const merge = options.mask && options.readOnly;\n let offset = options.mask ? 6 : 2;\n let payloadLength = data.length;\n\n if (data.length >= 65536) {\n offset += 8;\n payloadLength = 127;\n } else if (data.length > 125) {\n offset += 2;\n payloadLength = 126;\n }\n\n const target = Buffer.allocUnsafe(merge ? data.length + offset : offset);\n\n target[0] = options.fin ? options.opcode | 0x80 : options.opcode;\n if (options.rsv1) target[0] |= 0x40;\n\n target[1] = payloadLength;\n\n if (payloadLength === 126) {\n target.writeUInt16BE(data.length, 2);\n } else if (payloadLength === 127) {\n target.writeUInt32BE(0, 2);\n target.writeUInt32BE(data.length, 6);\n }\n\n if (!options.mask) return [target, data];\n\n randomFillSync(mask, 0, 4);\n\n target[1] |= 0x80;\n target[offset - 4] = mask[0];\n target[offset - 3] = mask[1];\n target[offset - 2] = mask[2];\n target[offset - 1] = mask[3];\n\n if (merge) {\n applyMask(data, mask, target, offset, data.length);\n return [target];\n }\n\n applyMask(data, mask, data, 0, data.length);\n return [target, data];\n }\n\n /**\n * Sends a close message to the other peer.\n *\n * @param {Number} [code] The status code component of the body\n * @param {String} [data] The message component of the body\n * @param {Boolean} [mask=false] Specifies whether or not to mask the message\n * @param {Function} [cb] Callback\n * @public\n */\n close(code, data, mask, cb) {\n let buf;\n\n if (code === undefined) {\n buf = EMPTY_BUFFER;\n } else if (typeof code !== 'number' || !isValidStatusCode(code)) {\n throw new TypeError('First argument must be a valid error code number');\n } else if (data === undefined || data === '') {\n buf = Buffer.allocUnsafe(2);\n buf.writeUInt16BE(code, 0);\n } else {\n const length = Buffer.byteLength(data);\n\n if (length > 123) {\n throw new RangeError('The message must not be greater than 123 bytes');\n }\n\n buf = Buffer.allocUnsafe(2 + length);\n buf.writeUInt16BE(code, 0);\n buf.write(data, 2);\n }\n\n if (this._deflating) {\n this.enqueue([this.doClose, buf, mask, cb]);\n } else {\n this.doClose(buf, mask, cb);\n }\n }\n\n /**\n * Frames and sends a close message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @private\n */\n doClose(data, mask, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x08,\n mask,\n readOnly: false\n }),\n cb\n );\n }\n\n /**\n * Sends a ping message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n ping(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPing(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a ping message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPing(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x09,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a pong message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n pong(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPong(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a pong message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPong(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x0a,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a data message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Object} options Options object\n * @param {Boolean} [options.compress=false] Specifies whether or not to\n * compress `data`\n * @param {Boolean} [options.binary=false] Specifies whether `data` is binary\n * or text\n * @param {Boolean} [options.fin=false] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Function} [cb] Callback\n * @public\n */\n send(data, options, cb) {\n const buf = toBuffer(data);\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n let opcode = options.binary ? 2 : 1;\n let rsv1 = options.compress;\n\n if (this._firstFragment) {\n this._firstFragment = false;\n if (rsv1 && perMessageDeflate) {\n rsv1 = buf.length >= perMessageDeflate._threshold;\n }\n this._compress = rsv1;\n } else {\n rsv1 = false;\n opcode = 0;\n }\n\n if (options.fin) this._firstFragment = true;\n\n if (perMessageDeflate) {\n const opts = {\n fin: options.fin,\n rsv1,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n };\n\n if (this._deflating) {\n this.enqueue([this.dispatch, buf, this._compress, opts, cb]);\n } else {\n this.dispatch(buf, this._compress, opts, cb);\n }\n } else {\n this.sendFrame(\n Sender.frame(buf, {\n fin: options.fin,\n rsv1: false,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n }),\n cb\n );\n }\n }\n\n /**\n * Dispatches a data message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [compress=false] Specifies whether or not to compress\n * `data`\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @param {Function} [cb] Callback\n * @private\n */\n dispatch(data, compress, options, cb) {\n if (!compress) {\n this.sendFrame(Sender.frame(data, options), cb);\n return;\n }\n\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n this._bufferedBytes += data.length;\n this._deflating = true;\n perMessageDeflate.compress(data, options.fin, (_, buf) => {\n if (this._socket.destroyed) {\n const err = new Error(\n 'The socket was closed while data was being compressed'\n );\n\n if (typeof cb === 'function') cb(err);\n\n for (let i = 0; i < this._queue.length; i++) {\n const callback = this._queue[i][4];\n\n if (typeof callback === 'function') callback(err);\n }\n\n return;\n }\n\n this._bufferedBytes -= data.length;\n this._deflating = false;\n options.readOnly = false;\n this.sendFrame(Sender.frame(buf, options), cb);\n this.dequeue();\n });\n }\n\n /**\n * Executes queued send operations.\n *\n * @private\n */\n dequeue() {\n while (!this._deflating && this._queue.length) {\n const params = this._queue.shift();\n\n this._bufferedBytes -= params[1].length;\n Reflect.apply(params[0], this, params.slice(1));\n }\n }\n\n /**\n * Enqueues a send operation.\n *\n * @param {Array} params Send operation parameters.\n * @private\n */\n enqueue(params) {\n this._bufferedBytes += params[1].length;\n this._queue.push(params);\n }\n\n /**\n * Sends a frame.\n *\n * @param {Buffer[]} list The frame to send\n * @param {Function} [cb] Callback\n * @private\n */\n sendFrame(list, cb) {\n if (list.length === 2) {\n this._socket.cork();\n this._socket.write(list[0]);\n this._socket.write(list[1], cb);\n this._socket.uncork();\n } else {\n this._socket.write(list[0], cb);\n }\n }\n}\n\nmodule.exports = Sender;\n","'use strict';\n\nconst { Duplex } = require('stream');\n\n/**\n * Emits the `'close'` event on a stream.\n *\n * @param {Duplex} stream The stream.\n * @private\n */\nfunction emitClose(stream) {\n stream.emit('close');\n}\n\n/**\n * The listener of the `'end'` event.\n *\n * @private\n */\nfunction duplexOnEnd() {\n if (!this.destroyed && this._writableState.finished) {\n this.destroy();\n }\n}\n\n/**\n * The listener of the `'error'` event.\n *\n * @param {Error} err The error\n * @private\n */\nfunction duplexOnError(err) {\n this.removeListener('error', duplexOnError);\n this.destroy();\n if (this.listenerCount('error') === 0) {\n // Do not suppress the throwing behavior.\n this.emit('error', err);\n }\n}\n\n/**\n * Wraps a `WebSocket` in a duplex stream.\n *\n * @param {WebSocket} ws The `WebSocket` to wrap\n * @param {Object} [options] The options for the `Duplex` constructor\n * @return {Duplex} The duplex stream\n * @public\n */\nfunction createWebSocketStream(ws, options) {\n let resumeOnReceiverDrain = true;\n let terminateOnDestroy = true;\n\n function receiverOnDrain() {\n if (resumeOnReceiverDrain) ws._socket.resume();\n }\n\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n });\n } else {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n }\n\n const duplex = new Duplex({\n ...options,\n autoDestroy: false,\n emitClose: false,\n objectMode: false,\n writableObjectMode: false\n });\n\n ws.on('message', function message(msg) {\n if (!duplex.push(msg)) {\n resumeOnReceiverDrain = false;\n ws._socket.pause();\n }\n });\n\n ws.once('error', function error(err) {\n if (duplex.destroyed) return;\n\n // Prevent `ws.terminate()` from being called by `duplex._destroy()`.\n //\n // - If the `'error'` event is emitted before the `'open'` event, then\n // `ws.terminate()` is a noop as no socket is assigned.\n // - Otherwise, the error is re-emitted by the listener of the `'error'`\n // event of the `Receiver` object. The listener already closes the\n // connection by calling `ws.close()`. This allows a close frame to be\n // sent to the other peer. If `ws.terminate()` is called right after this,\n // then the close frame might not be sent.\n terminateOnDestroy = false;\n duplex.destroy(err);\n });\n\n ws.once('close', function close() {\n if (duplex.destroyed) return;\n\n duplex.push(null);\n });\n\n duplex._destroy = function (err, callback) {\n if (ws.readyState === ws.CLOSED) {\n callback(err);\n process.nextTick(emitClose, duplex);\n return;\n }\n\n let called = false;\n\n ws.once('error', function error(err) {\n called = true;\n callback(err);\n });\n\n ws.once('close', function close() {\n if (!called) callback(err);\n process.nextTick(emitClose, duplex);\n });\n\n if (terminateOnDestroy) ws.terminate();\n };\n\n duplex._final = function (callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._final(callback);\n });\n return;\n }\n\n // If the value of the `_socket` property is `null` it means that `ws` is a\n // client websocket and the handshake failed. In fact, when this happens, a\n // socket is never assigned to the websocket. Wait for the `'error'` event\n // that will be emitted by the websocket.\n if (ws._socket === null) return;\n\n if (ws._socket._writableState.finished) {\n callback();\n if (duplex._readableState.endEmitted) duplex.destroy();\n } else {\n ws._socket.once('finish', function finish() {\n // `duplex` is not destroyed here because the `'end'` event will be\n // emitted on `duplex` after this `'finish'` event. The EOF signaling\n // `null` chunk is, in fact, pushed when the websocket emits `'close'`.\n callback();\n });\n ws.close();\n }\n };\n\n duplex._read = function () {\n if (\n (ws.readyState === ws.OPEN || ws.readyState === ws.CLOSING) &&\n !resumeOnReceiverDrain\n ) {\n resumeOnReceiverDrain = true;\n if (!ws._receiver._writableState.needDrain) ws._socket.resume();\n }\n };\n\n duplex._write = function (chunk, encoding, callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._write(chunk, encoding, callback);\n });\n return;\n }\n\n ws.send(chunk, callback);\n };\n\n duplex.on('end', duplexOnEnd);\n duplex.on('error', duplexOnError);\n return duplex;\n}\n\nmodule.exports = createWebSocketStream;\n","'use strict';\n\n/**\n * Checks if a status code is allowed in a close frame.\n *\n * @param {Number} code The status code\n * @return {Boolean} `true` if the status code is valid, else `false`\n * @public\n */\nfunction isValidStatusCode(code) {\n return (\n (code >= 1000 &&\n code <= 1014 &&\n code !== 1004 &&\n code !== 1005 &&\n code !== 1006) ||\n (code >= 3000 && code <= 4999)\n );\n}\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction _isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0) {\n // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) {\n // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // Overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80) || // Overlong\n (buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0) // Surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) {\n // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n (buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80) || // Overlong\n (buf[i] === 0xf4 && buf[i + 1] > 0x8f) ||\n buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\ntry {\n let isValidUTF8 = require('utf-8-validate');\n\n /* istanbul ignore if */\n if (typeof isValidUTF8 === 'object') {\n isValidUTF8 = isValidUTF8.Validation.isValidUTF8; // utf-8-validate@<3.0.0\n }\n\n module.exports = {\n isValidStatusCode,\n isValidUTF8(buf) {\n return buf.length < 150 ? _isValidUTF8(buf) : isValidUTF8(buf);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n isValidStatusCode,\n isValidUTF8: _isValidUTF8\n };\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls|https$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst http = require('http');\nconst https = require('https');\nconst net = require('net');\nconst tls = require('tls');\nconst { createHash } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst WebSocket = require('./websocket');\nconst { format, parse } = require('./extension');\nconst { GUID, kWebSocket } = require('./constants');\n\nconst keyRegex = /^[+/0-9A-Za-z]{22}==$/;\n\nconst RUNNING = 0;\nconst CLOSING = 1;\nconst CLOSED = 2;\n\n/**\n * Class representing a WebSocket server.\n *\n * @extends EventEmitter\n */\nclass WebSocketServer extends EventEmitter {\n /**\n * Create a `WebSocketServer` instance.\n *\n * @param {Object} options Configuration options\n * @param {Number} [options.backlog=511] The maximum length of the queue of\n * pending connections\n * @param {Boolean} [options.clientTracking=true] Specifies whether or not to\n * track clients\n * @param {Function} [options.handleProtocols] A hook to handle protocols\n * @param {String} [options.host] The hostname where to bind the server\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.noServer=false] Enable no server mode\n * @param {String} [options.path] Accept only connections matching this path\n * @param {(Boolean|Object)} [options.perMessageDeflate=false] Enable/disable\n * permessage-deflate\n * @param {Number} [options.port] The port where to bind the server\n * @param {(http.Server|https.Server)} [options.server] A pre-created HTTP/S\n * server to use\n * @param {Function} [options.verifyClient] A hook to reject connections\n * @param {Function} [callback] A listener for the `listening` event\n */\n constructor(options, callback) {\n super();\n\n options = {\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: false,\n handleProtocols: null,\n clientTracking: true,\n verifyClient: null,\n noServer: false,\n backlog: null, // use default (511 as implemented in net.js)\n server: null,\n host: null,\n path: null,\n port: null,\n ...options\n };\n\n if (\n (options.port == null && !options.server && !options.noServer) ||\n (options.port != null && (options.server || options.noServer)) ||\n (options.server && options.noServer)\n ) {\n throw new TypeError(\n 'One and only one of the \"port\", \"server\", or \"noServer\" options ' +\n 'must be specified'\n );\n }\n\n if (options.port != null) {\n this._server = http.createServer((req, res) => {\n const body = http.STATUS_CODES[426];\n\n res.writeHead(426, {\n 'Content-Length': body.length,\n 'Content-Type': 'text/plain'\n });\n res.end(body);\n });\n this._server.listen(\n options.port,\n options.host,\n options.backlog,\n callback\n );\n } else if (options.server) {\n this._server = options.server;\n }\n\n if (this._server) {\n const emitConnection = this.emit.bind(this, 'connection');\n\n this._removeListeners = addListeners(this._server, {\n listening: this.emit.bind(this, 'listening'),\n error: this.emit.bind(this, 'error'),\n upgrade: (req, socket, head) => {\n this.handleUpgrade(req, socket, head, emitConnection);\n }\n });\n }\n\n if (options.perMessageDeflate === true) options.perMessageDeflate = {};\n if (options.clientTracking) this.clients = new Set();\n this.options = options;\n this._state = RUNNING;\n }\n\n /**\n * Returns the bound address, the address family name, and port of the server\n * as reported by the operating system if listening on an IP socket.\n * If the server is listening on a pipe or UNIX domain socket, the name is\n * returned as a string.\n *\n * @return {(Object|String|null)} The address of the server\n * @public\n */\n address() {\n if (this.options.noServer) {\n throw new Error('The server is operating in \"noServer\" mode');\n }\n\n if (!this._server) return null;\n return this._server.address();\n }\n\n /**\n * Close the server.\n *\n * @param {Function} [cb] Callback\n * @public\n */\n close(cb) {\n if (cb) this.once('close', cb);\n\n if (this._state === CLOSED) {\n process.nextTick(emitClose, this);\n return;\n }\n\n if (this._state === CLOSING) return;\n this._state = CLOSING;\n\n //\n // Terminate all associated clients.\n //\n if (this.clients) {\n for (const client of this.clients) client.terminate();\n }\n\n const server = this._server;\n\n if (server) {\n this._removeListeners();\n this._removeListeners = this._server = null;\n\n //\n // Close the http server if it was internally created.\n //\n if (this.options.port != null) {\n server.close(emitClose.bind(undefined, this));\n return;\n }\n }\n\n process.nextTick(emitClose, this);\n }\n\n /**\n * See if a given request should be handled by this server instance.\n *\n * @param {http.IncomingMessage} req Request object to inspect\n * @return {Boolean} `true` if the request is valid, else `false`\n * @public\n */\n shouldHandle(req) {\n if (this.options.path) {\n const index = req.url.indexOf('?');\n const pathname = index !== -1 ? req.url.slice(0, index) : req.url;\n\n if (pathname !== this.options.path) return false;\n }\n\n return true;\n }\n\n /**\n * Handle a HTTP Upgrade request.\n *\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @public\n */\n handleUpgrade(req, socket, head, cb) {\n socket.on('error', socketOnError);\n\n const key =\n req.headers['sec-websocket-key'] !== undefined\n ? req.headers['sec-websocket-key'].trim()\n : false;\n const version = +req.headers['sec-websocket-version'];\n const extensions = {};\n\n if (\n req.method !== 'GET' ||\n req.headers.upgrade.toLowerCase() !== 'websocket' ||\n !key ||\n !keyRegex.test(key) ||\n (version !== 8 && version !== 13) ||\n !this.shouldHandle(req)\n ) {\n return abortHandshake(socket, 400);\n }\n\n if (this.options.perMessageDeflate) {\n const perMessageDeflate = new PerMessageDeflate(\n this.options.perMessageDeflate,\n true,\n this.options.maxPayload\n );\n\n try {\n const offers = parse(req.headers['sec-websocket-extensions']);\n\n if (offers[PerMessageDeflate.extensionName]) {\n perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]);\n extensions[PerMessageDeflate.extensionName] = perMessageDeflate;\n }\n } catch (err) {\n return abortHandshake(socket, 400);\n }\n }\n\n //\n // Optionally call external client verification handler.\n //\n if (this.options.verifyClient) {\n const info = {\n origin:\n req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`],\n secure: !!(req.socket.authorized || req.socket.encrypted),\n req\n };\n\n if (this.options.verifyClient.length === 2) {\n this.options.verifyClient(info, (verified, code, message, headers) => {\n if (!verified) {\n return abortHandshake(socket, code || 401, message, headers);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n });\n return;\n }\n\n if (!this.options.verifyClient(info)) return abortHandshake(socket, 401);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n }\n\n /**\n * Upgrade the connection to WebSocket.\n *\n * @param {String} key The value of the `Sec-WebSocket-Key` header\n * @param {Object} extensions The accepted extensions\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @throws {Error} If called more than once with the same socket\n * @private\n */\n completeUpgrade(key, extensions, req, socket, head, cb) {\n //\n // Destroy the socket if the client has already sent a FIN packet.\n //\n if (!socket.readable || !socket.writable) return socket.destroy();\n\n if (socket[kWebSocket]) {\n throw new Error(\n 'server.handleUpgrade() was called more than once with the same ' +\n 'socket, possibly due to a misconfiguration'\n );\n }\n\n if (this._state > RUNNING) return abortHandshake(socket, 503);\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n const headers = [\n 'HTTP/1.1 101 Switching Protocols',\n 'Upgrade: websocket',\n 'Connection: Upgrade',\n `Sec-WebSocket-Accept: ${digest}`\n ];\n\n const ws = new WebSocket(null);\n let protocol = req.headers['sec-websocket-protocol'];\n\n if (protocol) {\n protocol = protocol.split(',').map(trim);\n\n //\n // Optionally call external protocol selection handler.\n //\n if (this.options.handleProtocols) {\n protocol = this.options.handleProtocols(protocol, req);\n } else {\n protocol = protocol[0];\n }\n\n if (protocol) {\n headers.push(`Sec-WebSocket-Protocol: ${protocol}`);\n ws._protocol = protocol;\n }\n }\n\n if (extensions[PerMessageDeflate.extensionName]) {\n const params = extensions[PerMessageDeflate.extensionName].params;\n const value = format({\n [PerMessageDeflate.extensionName]: [params]\n });\n headers.push(`Sec-WebSocket-Extensions: ${value}`);\n ws._extensions = extensions;\n }\n\n //\n // Allow external modification/inspection of handshake headers.\n //\n this.emit('headers', headers, req);\n\n socket.write(headers.concat('\\r\\n').join('\\r\\n'));\n socket.removeListener('error', socketOnError);\n\n ws.setSocket(socket, head, this.options.maxPayload);\n\n if (this.clients) {\n this.clients.add(ws);\n ws.on('close', () => this.clients.delete(ws));\n }\n\n cb(ws, req);\n }\n}\n\nmodule.exports = WebSocketServer;\n\n/**\n * Add event listeners on an `EventEmitter` using a map of \n * pairs.\n *\n * @param {EventEmitter} server The event emitter\n * @param {Object.} map The listeners to add\n * @return {Function} A function that will remove the added listeners when\n * called\n * @private\n */\nfunction addListeners(server, map) {\n for (const event of Object.keys(map)) server.on(event, map[event]);\n\n return function removeListeners() {\n for (const event of Object.keys(map)) {\n server.removeListener(event, map[event]);\n }\n };\n}\n\n/**\n * Emit a `'close'` event on an `EventEmitter`.\n *\n * @param {EventEmitter} server The event emitter\n * @private\n */\nfunction emitClose(server) {\n server._state = CLOSED;\n server.emit('close');\n}\n\n/**\n * Handle premature socket errors.\n *\n * @private\n */\nfunction socketOnError() {\n this.destroy();\n}\n\n/**\n * Close the connection when preconditions are not fulfilled.\n *\n * @param {(net.Socket|tls.Socket)} socket The socket of the upgrade request\n * @param {Number} code The HTTP response status code\n * @param {String} [message] The HTTP response body\n * @param {Object} [headers] Additional HTTP response headers\n * @private\n */\nfunction abortHandshake(socket, code, message, headers) {\n if (socket.writable) {\n message = message || http.STATUS_CODES[code];\n headers = {\n Connection: 'close',\n 'Content-Type': 'text/html',\n 'Content-Length': Buffer.byteLength(message),\n ...headers\n };\n\n socket.write(\n `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\\r\\n` +\n Object.keys(headers)\n .map((h) => `${h}: ${headers[h]}`)\n .join('\\r\\n') +\n '\\r\\n\\r\\n' +\n message\n );\n }\n\n socket.removeListener('error', socketOnError);\n socket.destroy();\n}\n\n/**\n * Remove whitespace characters from both ends of a string.\n *\n * @param {String} str The string\n * @return {String} A new string representing `str` stripped of whitespace\n * characters from both its beginning and end\n * @private\n */\nfunction trim(str) {\n return str.trim();\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^Readable$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst https = require('https');\nconst http = require('http');\nconst net = require('net');\nconst tls = require('tls');\nconst { randomBytes, createHash } = require('crypto');\nconst { Readable } = require('stream');\nconst { URL } = require('url');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst Receiver = require('./receiver');\nconst Sender = require('./sender');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n GUID,\n kStatusCode,\n kWebSocket,\n NOOP\n} = require('./constants');\nconst { addEventListener, removeEventListener } = require('./event-target');\nconst { format, parse } = require('./extension');\nconst { toBuffer } = require('./buffer-util');\n\nconst readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];\nconst protocolVersions = [8, 13];\nconst closeTimeout = 30 * 1000;\n\n/**\n * Class representing a WebSocket.\n *\n * @extends EventEmitter\n */\nclass WebSocket extends EventEmitter {\n /**\n * Create a new `WebSocket`.\n *\n * @param {(String|URL)} address The URL to which to connect\n * @param {(String|String[])} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n */\n constructor(address, protocols, options) {\n super();\n\n this._binaryType = BINARY_TYPES[0];\n this._closeCode = 1006;\n this._closeFrameReceived = false;\n this._closeFrameSent = false;\n this._closeMessage = '';\n this._closeTimer = null;\n this._extensions = {};\n this._protocol = '';\n this._readyState = WebSocket.CONNECTING;\n this._receiver = null;\n this._sender = null;\n this._socket = null;\n\n if (address !== null) {\n this._bufferedAmount = 0;\n this._isServer = false;\n this._redirects = 0;\n\n if (Array.isArray(protocols)) {\n protocols = protocols.join(', ');\n } else if (typeof protocols === 'object' && protocols !== null) {\n options = protocols;\n protocols = undefined;\n }\n\n initAsClient(this, address, protocols, options);\n } else {\n this._isServer = true;\n }\n }\n\n /**\n * This deviates from the WHATWG interface since ws doesn't support the\n * required default \"blob\" type (instead we define a custom \"nodebuffer\"\n * type).\n *\n * @type {String}\n */\n get binaryType() {\n return this._binaryType;\n }\n\n set binaryType(type) {\n if (!BINARY_TYPES.includes(type)) return;\n\n this._binaryType = type;\n\n //\n // Allow to change `binaryType` on the fly.\n //\n if (this._receiver) this._receiver._binaryType = type;\n }\n\n /**\n * @type {Number}\n */\n get bufferedAmount() {\n if (!this._socket) return this._bufferedAmount;\n\n return this._socket._writableState.length + this._sender._bufferedBytes;\n }\n\n /**\n * @type {String}\n */\n get extensions() {\n return Object.keys(this._extensions).join();\n }\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onclose() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onclose(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onerror() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onerror(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onopen() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onopen(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onmessage() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onmessage(listener) {}\n\n /**\n * @type {String}\n */\n get protocol() {\n return this._protocol;\n }\n\n /**\n * @type {Number}\n */\n get readyState() {\n return this._readyState;\n }\n\n /**\n * @type {String}\n */\n get url() {\n return this._url;\n }\n\n /**\n * Set up the socket and the internal resources.\n *\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Number} [maxPayload=0] The maximum allowed message size\n * @private\n */\n setSocket(socket, head, maxPayload) {\n const receiver = new Receiver(\n this.binaryType,\n this._extensions,\n this._isServer,\n maxPayload\n );\n\n this._sender = new Sender(socket, this._extensions);\n this._receiver = receiver;\n this._socket = socket;\n\n receiver[kWebSocket] = this;\n socket[kWebSocket] = this;\n\n receiver.on('conclude', receiverOnConclude);\n receiver.on('drain', receiverOnDrain);\n receiver.on('error', receiverOnError);\n receiver.on('message', receiverOnMessage);\n receiver.on('ping', receiverOnPing);\n receiver.on('pong', receiverOnPong);\n\n socket.setTimeout(0);\n socket.setNoDelay();\n\n if (head.length > 0) socket.unshift(head);\n\n socket.on('close', socketOnClose);\n socket.on('data', socketOnData);\n socket.on('end', socketOnEnd);\n socket.on('error', socketOnError);\n\n this._readyState = WebSocket.OPEN;\n this.emit('open');\n }\n\n /**\n * Emit the `'close'` event.\n *\n * @private\n */\n emitClose() {\n if (!this._socket) {\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n return;\n }\n\n if (this._extensions[PerMessageDeflate.extensionName]) {\n this._extensions[PerMessageDeflate.extensionName].cleanup();\n }\n\n this._receiver.removeAllListeners();\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n }\n\n /**\n * Start a closing handshake.\n *\n * +----------+ +-----------+ +----------+\n * - - -|ws.close()|-->|close frame|-->|ws.close()|- - -\n * | +----------+ +-----------+ +----------+ |\n * +----------+ +-----------+ |\n * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING\n * +----------+ +-----------+ |\n * | | | +---+ |\n * +------------------------+-->|fin| - - - -\n * | +---+ | +---+\n * - - - - -|fin|<---------------------+\n * +---+\n *\n * @param {Number} [code] Status code explaining why the connection is closing\n * @param {String} [data] A string explaining why the connection is closing\n * @public\n */\n close(code, data) {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this.readyState === WebSocket.CLOSING) {\n if (\n this._closeFrameSent &&\n (this._closeFrameReceived || this._receiver._writableState.errorEmitted)\n ) {\n this._socket.end();\n }\n\n return;\n }\n\n this._readyState = WebSocket.CLOSING;\n this._sender.close(code, data, !this._isServer, (err) => {\n //\n // This error is handled by the `'error'` listener on the socket. We only\n // want to know if the close frame has been sent here.\n //\n if (err) return;\n\n this._closeFrameSent = true;\n\n if (\n this._closeFrameReceived ||\n this._receiver._writableState.errorEmitted\n ) {\n this._socket.end();\n }\n });\n\n //\n // Specify a timeout for the closing handshake to complete.\n //\n this._closeTimer = setTimeout(\n this._socket.destroy.bind(this._socket),\n closeTimeout\n );\n }\n\n /**\n * Send a ping.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the ping is sent\n * @public\n */\n ping(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.ping(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a pong.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the pong is sent\n * @public\n */\n pong(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.pong(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a data message.\n *\n * @param {*} data The message to send\n * @param {Object} [options] Options object\n * @param {Boolean} [options.compress] Specifies whether or not to compress\n * `data`\n * @param {Boolean} [options.binary] Specifies whether `data` is binary or\n * text\n * @param {Boolean} [options.fin=true] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when data is written out\n * @public\n */\n send(data, options, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof options === 'function') {\n cb = options;\n options = {};\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n const opts = {\n binary: typeof data !== 'string',\n mask: !this._isServer,\n compress: true,\n fin: true,\n ...options\n };\n\n if (!this._extensions[PerMessageDeflate.extensionName]) {\n opts.compress = false;\n }\n\n this._sender.send(data || EMPTY_BUFFER, opts, cb);\n }\n\n /**\n * Forcibly close the connection.\n *\n * @public\n */\n terminate() {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this._socket) {\n this._readyState = WebSocket.CLOSING;\n this._socket.destroy();\n }\n }\n}\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n[\n 'binaryType',\n 'bufferedAmount',\n 'extensions',\n 'protocol',\n 'readyState',\n 'url'\n].forEach((property) => {\n Object.defineProperty(WebSocket.prototype, property, { enumerable: true });\n});\n\n//\n// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.\n// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface\n//\n['open', 'error', 'close', 'message'].forEach((method) => {\n Object.defineProperty(WebSocket.prototype, `on${method}`, {\n enumerable: true,\n get() {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i]._listener) return listeners[i]._listener;\n }\n\n return undefined;\n },\n set(listener) {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n //\n // Remove only the listeners added via `addEventListener`.\n //\n if (listeners[i]._listener) this.removeListener(method, listeners[i]);\n }\n this.addEventListener(method, listener);\n }\n });\n});\n\nWebSocket.prototype.addEventListener = addEventListener;\nWebSocket.prototype.removeEventListener = removeEventListener;\n\nmodule.exports = WebSocket;\n\n/**\n * Initialize a WebSocket client.\n *\n * @param {WebSocket} websocket The client to initialize\n * @param {(String|URL)} address The URL to which to connect\n * @param {String} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable\n * permessage-deflate\n * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the\n * handshake request\n * @param {Number} [options.protocolVersion=13] Value of the\n * `Sec-WebSocket-Version` header\n * @param {String} [options.origin] Value of the `Origin` or\n * `Sec-WebSocket-Origin` header\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.followRedirects=false] Whether or not to follow\n * redirects\n * @param {Number} [options.maxRedirects=10] The maximum number of redirects\n * allowed\n * @private\n */\nfunction initAsClient(websocket, address, protocols, options) {\n const opts = {\n protocolVersion: protocolVersions[1],\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: true,\n followRedirects: false,\n maxRedirects: 10,\n ...options,\n createConnection: undefined,\n socketPath: undefined,\n hostname: undefined,\n protocol: undefined,\n timeout: undefined,\n method: undefined,\n host: undefined,\n path: undefined,\n port: undefined\n };\n\n if (!protocolVersions.includes(opts.protocolVersion)) {\n throw new RangeError(\n `Unsupported protocol version: ${opts.protocolVersion} ` +\n `(supported versions: ${protocolVersions.join(', ')})`\n );\n }\n\n let parsedUrl;\n\n if (address instanceof URL) {\n parsedUrl = address;\n websocket._url = address.href;\n } else {\n parsedUrl = new URL(address);\n websocket._url = address;\n }\n\n const isUnixSocket = parsedUrl.protocol === 'ws+unix:';\n\n if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) {\n const err = new Error(`Invalid URL: ${websocket.url}`);\n\n if (websocket._redirects === 0) {\n throw err;\n } else {\n emitErrorAndClose(websocket, err);\n return;\n }\n }\n\n const isSecure =\n parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:';\n const defaultPort = isSecure ? 443 : 80;\n const key = randomBytes(16).toString('base64');\n const get = isSecure ? https.get : http.get;\n let perMessageDeflate;\n\n opts.createConnection = isSecure ? tlsConnect : netConnect;\n opts.defaultPort = opts.defaultPort || defaultPort;\n opts.port = parsedUrl.port || defaultPort;\n opts.host = parsedUrl.hostname.startsWith('[')\n ? parsedUrl.hostname.slice(1, -1)\n : parsedUrl.hostname;\n opts.headers = {\n 'Sec-WebSocket-Version': opts.protocolVersion,\n 'Sec-WebSocket-Key': key,\n Connection: 'Upgrade',\n Upgrade: 'websocket',\n ...opts.headers\n };\n opts.path = parsedUrl.pathname + parsedUrl.search;\n opts.timeout = opts.handshakeTimeout;\n\n if (opts.perMessageDeflate) {\n perMessageDeflate = new PerMessageDeflate(\n opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},\n false,\n opts.maxPayload\n );\n opts.headers['Sec-WebSocket-Extensions'] = format({\n [PerMessageDeflate.extensionName]: perMessageDeflate.offer()\n });\n }\n if (protocols) {\n opts.headers['Sec-WebSocket-Protocol'] = protocols;\n }\n if (opts.origin) {\n if (opts.protocolVersion < 13) {\n opts.headers['Sec-WebSocket-Origin'] = opts.origin;\n } else {\n opts.headers.Origin = opts.origin;\n }\n }\n if (parsedUrl.username || parsedUrl.password) {\n opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;\n }\n\n if (isUnixSocket) {\n const parts = opts.path.split(':');\n\n opts.socketPath = parts[0];\n opts.path = parts[1];\n }\n\n if (opts.followRedirects) {\n if (websocket._redirects === 0) {\n websocket._originalUnixSocket = isUnixSocket;\n websocket._originalSecure = isSecure;\n websocket._originalHostOrSocketPath = isUnixSocket\n ? opts.socketPath\n : parsedUrl.host;\n\n const headers = options && options.headers;\n\n //\n // Shallow copy the user provided options so that headers can be changed\n // without mutating the original object.\n //\n options = { ...options, headers: {} };\n\n if (headers) {\n for (const [key, value] of Object.entries(headers)) {\n options.headers[key.toLowerCase()] = value;\n }\n }\n } else {\n const isSameHost = isUnixSocket\n ? websocket._originalUnixSocket\n ? opts.socketPath === websocket._originalHostOrSocketPath\n : false\n : websocket._originalUnixSocket\n ? false\n : parsedUrl.host === websocket._originalHostOrSocketPath;\n\n if (!isSameHost || (websocket._originalSecure && !isSecure)) {\n //\n // Match curl 7.77.0 behavior and drop the following headers. These\n // headers are also dropped when following a redirect to a subdomain.\n //\n delete opts.headers.authorization;\n delete opts.headers.cookie;\n\n if (!isSameHost) delete opts.headers.host;\n\n opts.auth = undefined;\n }\n }\n\n //\n // Match curl 7.77.0 behavior and make the first `Authorization` header win.\n // If the `Authorization` header is set, then there is nothing to do as it\n // will take precedence.\n //\n if (opts.auth && !options.headers.authorization) {\n options.headers.authorization =\n 'Basic ' + Buffer.from(opts.auth).toString('base64');\n }\n }\n\n let req = (websocket._req = get(opts));\n\n if (opts.timeout) {\n req.on('timeout', () => {\n abortHandshake(websocket, req, 'Opening handshake has timed out');\n });\n }\n\n req.on('error', (err) => {\n if (req === null || req.aborted) return;\n\n req = websocket._req = null;\n emitErrorAndClose(websocket, err);\n });\n\n req.on('response', (res) => {\n const location = res.headers.location;\n const statusCode = res.statusCode;\n\n if (\n location &&\n opts.followRedirects &&\n statusCode >= 300 &&\n statusCode < 400\n ) {\n if (++websocket._redirects > opts.maxRedirects) {\n abortHandshake(websocket, req, 'Maximum redirects exceeded');\n return;\n }\n\n req.abort();\n\n let addr;\n\n try {\n addr = new URL(location, address);\n } catch (err) {\n emitErrorAndClose(websocket, err);\n return;\n }\n\n initAsClient(websocket, addr, protocols, options);\n } else if (!websocket.emit('unexpected-response', req, res)) {\n abortHandshake(\n websocket,\n req,\n `Unexpected server response: ${res.statusCode}`\n );\n }\n });\n\n req.on('upgrade', (res, socket, head) => {\n websocket.emit('upgrade', res);\n\n //\n // The user may have closed the connection from a listener of the `upgrade`\n // event.\n //\n if (websocket.readyState !== WebSocket.CONNECTING) return;\n\n req = websocket._req = null;\n\n if (res.headers.upgrade.toLowerCase() !== 'websocket') {\n abortHandshake(websocket, socket, 'Invalid Upgrade header');\n return;\n }\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n if (res.headers['sec-websocket-accept'] !== digest) {\n abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');\n return;\n }\n\n const serverProt = res.headers['sec-websocket-protocol'];\n const protList = (protocols || '').split(/, */);\n let protError;\n\n if (!protocols && serverProt) {\n protError = 'Server sent a subprotocol but none was requested';\n } else if (protocols && !serverProt) {\n protError = 'Server sent no subprotocol';\n } else if (serverProt && !protList.includes(serverProt)) {\n protError = 'Server sent an invalid subprotocol';\n }\n\n if (protError) {\n abortHandshake(websocket, socket, protError);\n return;\n }\n\n if (serverProt) websocket._protocol = serverProt;\n\n const secWebSocketExtensions = res.headers['sec-websocket-extensions'];\n\n if (secWebSocketExtensions !== undefined) {\n if (!perMessageDeflate) {\n const message =\n 'Server sent a Sec-WebSocket-Extensions header but no extension ' +\n 'was requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n let extensions;\n\n try {\n extensions = parse(secWebSocketExtensions);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n const extensionNames = Object.keys(extensions);\n\n if (extensionNames.length) {\n if (\n extensionNames.length !== 1 ||\n extensionNames[0] !== PerMessageDeflate.extensionName\n ) {\n const message =\n 'Server indicated an extension that was not requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n try {\n perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n websocket._extensions[PerMessageDeflate.extensionName] =\n perMessageDeflate;\n }\n }\n\n websocket.setSocket(socket, head, opts.maxPayload);\n });\n}\n\n/**\n * Emit the `'error'` and `'close'` event.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {Error} The error to emit\n * @private\n */\nfunction emitErrorAndClose(websocket, err) {\n websocket._readyState = WebSocket.CLOSING;\n websocket.emit('error', err);\n websocket.emitClose();\n}\n\n/**\n * Create a `net.Socket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {net.Socket} The newly created socket used to start the connection\n * @private\n */\nfunction netConnect(options) {\n options.path = options.socketPath;\n return net.connect(options);\n}\n\n/**\n * Create a `tls.TLSSocket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {tls.TLSSocket} The newly created socket used to start the connection\n * @private\n */\nfunction tlsConnect(options) {\n options.path = undefined;\n\n if (!options.servername && options.servername !== '') {\n options.servername = net.isIP(options.host) ? '' : options.host;\n }\n\n return tls.connect(options);\n}\n\n/**\n * Abort the handshake and emit an error.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to\n * abort or the socket to destroy\n * @param {String} message The error message\n * @private\n */\nfunction abortHandshake(websocket, stream, message) {\n websocket._readyState = WebSocket.CLOSING;\n\n const err = new Error(message);\n Error.captureStackTrace(err, abortHandshake);\n\n if (stream.setHeader) {\n stream.abort();\n\n if (stream.socket && !stream.socket.destroyed) {\n //\n // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if\n // called after the request completed. See\n // https://github.com/websockets/ws/issues/1869.\n //\n stream.socket.destroy();\n }\n\n stream.once('abort', websocket.emitClose.bind(websocket));\n websocket.emit('error', err);\n } else {\n stream.destroy(err);\n stream.once('error', websocket.emit.bind(websocket, 'error'));\n stream.once('close', websocket.emitClose.bind(websocket));\n }\n}\n\n/**\n * Handle cases where the `ping()`, `pong()`, or `send()` methods are called\n * when the `readyState` attribute is `CLOSING` or `CLOSED`.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {*} [data] The data to send\n * @param {Function} [cb] Callback\n * @private\n */\nfunction sendAfterClose(websocket, data, cb) {\n if (data) {\n const length = toBuffer(data).length;\n\n //\n // The `_bufferedAmount` property is used only when the peer is a client and\n // the opening handshake fails. Under these circumstances, in fact, the\n // `setSocket()` method is not called, so the `_socket` and `_sender`\n // properties are set to `null`.\n //\n if (websocket._socket) websocket._sender._bufferedBytes += length;\n else websocket._bufferedAmount += length;\n }\n\n if (cb) {\n const err = new Error(\n `WebSocket is not open: readyState ${websocket.readyState} ` +\n `(${readyStates[websocket.readyState]})`\n );\n cb(err);\n }\n}\n\n/**\n * The listener of the `Receiver` `'conclude'` event.\n *\n * @param {Number} code The status code\n * @param {String} reason The reason for closing\n * @private\n */\nfunction receiverOnConclude(code, reason) {\n const websocket = this[kWebSocket];\n\n websocket._closeFrameReceived = true;\n websocket._closeMessage = reason;\n websocket._closeCode = code;\n\n if (websocket._socket[kWebSocket] === undefined) return;\n\n websocket._socket.removeListener('data', socketOnData);\n process.nextTick(resume, websocket._socket);\n\n if (code === 1005) websocket.close();\n else websocket.close(code, reason);\n}\n\n/**\n * The listener of the `Receiver` `'drain'` event.\n *\n * @private\n */\nfunction receiverOnDrain() {\n this[kWebSocket]._socket.resume();\n}\n\n/**\n * The listener of the `Receiver` `'error'` event.\n *\n * @param {(RangeError|Error)} err The emitted error\n * @private\n */\nfunction receiverOnError(err) {\n const websocket = this[kWebSocket];\n\n if (websocket._socket[kWebSocket] !== undefined) {\n websocket._socket.removeListener('data', socketOnData);\n\n //\n // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See\n // https://github.com/websockets/ws/issues/1940.\n //\n process.nextTick(resume, websocket._socket);\n\n websocket.close(err[kStatusCode]);\n }\n\n websocket.emit('error', err);\n}\n\n/**\n * The listener of the `Receiver` `'finish'` event.\n *\n * @private\n */\nfunction receiverOnFinish() {\n this[kWebSocket].emitClose();\n}\n\n/**\n * The listener of the `Receiver` `'message'` event.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message\n * @private\n */\nfunction receiverOnMessage(data) {\n this[kWebSocket].emit('message', data);\n}\n\n/**\n * The listener of the `Receiver` `'ping'` event.\n *\n * @param {Buffer} data The data included in the ping frame\n * @private\n */\nfunction receiverOnPing(data) {\n const websocket = this[kWebSocket];\n\n websocket.pong(data, !websocket._isServer, NOOP);\n websocket.emit('ping', data);\n}\n\n/**\n * The listener of the `Receiver` `'pong'` event.\n *\n * @param {Buffer} data The data included in the pong frame\n * @private\n */\nfunction receiverOnPong(data) {\n this[kWebSocket].emit('pong', data);\n}\n\n/**\n * Resume a readable stream\n *\n * @param {Readable} stream The readable stream\n * @private\n */\nfunction resume(stream) {\n stream.resume();\n}\n\n/**\n * The listener of the `net.Socket` `'close'` event.\n *\n * @private\n */\nfunction socketOnClose() {\n const websocket = this[kWebSocket];\n\n this.removeListener('close', socketOnClose);\n this.removeListener('data', socketOnData);\n this.removeListener('end', socketOnEnd);\n\n websocket._readyState = WebSocket.CLOSING;\n\n let chunk;\n\n //\n // The close frame might not have been received or the `'end'` event emitted,\n // for example, if the socket was destroyed due to an error. Ensure that the\n // `receiver` stream is closed after writing any remaining buffered data to\n // it. If the readable side of the socket is in flowing mode then there is no\n // buffered data as everything has been already written and `readable.read()`\n // will return `null`. If instead, the socket is paused, any possible buffered\n // data will be read as a single chunk.\n //\n if (\n !this._readableState.endEmitted &&\n !websocket._closeFrameReceived &&\n !websocket._receiver._writableState.errorEmitted &&\n (chunk = websocket._socket.read()) !== null\n ) {\n websocket._receiver.write(chunk);\n }\n\n websocket._receiver.end();\n\n this[kWebSocket] = undefined;\n\n clearTimeout(websocket._closeTimer);\n\n if (\n websocket._receiver._writableState.finished ||\n websocket._receiver._writableState.errorEmitted\n ) {\n websocket.emitClose();\n } else {\n websocket._receiver.on('error', receiverOnFinish);\n websocket._receiver.on('finish', receiverOnFinish);\n }\n}\n\n/**\n * The listener of the `net.Socket` `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction socketOnData(chunk) {\n if (!this[kWebSocket]._receiver.write(chunk)) {\n this.pause();\n }\n}\n\n/**\n * The listener of the `net.Socket` `'end'` event.\n *\n * @private\n */\nfunction socketOnEnd() {\n const websocket = this[kWebSocket];\n\n websocket._readyState = WebSocket.CLOSING;\n websocket._receiver.end();\n this.end();\n}\n\n/**\n * The listener of the `net.Socket` `'error'` event.\n *\n * @private\n */\nfunction socketOnError() {\n const websocket = this[kWebSocket];\n\n this.removeListener('error', socketOnError);\n this.on('error', NOOP);\n\n if (websocket) {\n websocket._readyState = WebSocket.CLOSING;\n this.destroy();\n }\n}\n","module.exports = require(\"assert\");","module.exports = require(\"async_hooks\");","module.exports = require(\"buffer\");","module.exports = require(\"cluster\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"querystring\");","module.exports = require(\"stream\");","module.exports = require(\"string_decoder\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/nanoid/nanoid\",\"webpack/sharing/consume/default/kafkajs/kafkajs\",\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\",\"webpack/sharing/consume/default/axios/axios?5c0e\",\"webpack/sharing/consume/default/multicast-dns/multicast-dns\",\"webpack/sharing/consume/default/axios/axios?5326\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\n// no chunk loading of consumes","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(\"./node_modules/@babel/polyfill/lib/index.js\");\nreturn __webpack_require__(\"./src/index.js\");\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./node_modules/@babel/polyfill/lib/index.js","webpack://aegis-app/./node_modules/@babel/polyfill/lib/noConflict.js","webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js","webpack://aegis-app/./src/event-dispatcher.js","webpack://aegis-app/./src/index.js","webpack://aegis-app/./src/service-registry.js","webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/event-service.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js","webpack://aegis-app/./node_modules/bufferutil/fallback.js","webpack://aegis-app/./node_modules/bufferutil/index.js","webpack://aegis-app/./node_modules/cookie-signature/index.js","webpack://aegis-app/./node_modules/cookie/index.js","webpack://aegis-app/./node_modules/core-js/es6/index.js","webpack://aegis-app/./node_modules/core-js/fn/array/flat-map.js","webpack://aegis-app/./node_modules/core-js/fn/array/includes.js","webpack://aegis-app/./node_modules/core-js/fn/object/entries.js","webpack://aegis-app/./node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/fn/object/values.js","webpack://aegis-app/./node_modules/core-js/fn/promise/finally.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-start.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-start.js","webpack://aegis-app/./node_modules/core-js/fn/symbol/async-iterator.js","webpack://aegis-app/./node_modules/core-js/library/fn/global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/library/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_core.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/library/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/library/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/library/modules/_export.js","webpack://aegis-app/./node_modules/core-js/library/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/library/modules/_global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_has.js","webpack://aegis-app/./node_modules/core-js/library/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/library/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/library/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/library/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/library/modules/es7.global.js","webpack://aegis-app/./node_modules/core-js/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/modules/_a-number-value.js","webpack://aegis-app/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://aegis-app/./node_modules/core-js/modules/_advance-string-index.js","webpack://aegis-app/./node_modules/core-js/modules/_an-instance.js","webpack://aegis-app/./node_modules/core-js/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/modules/_array-copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/_array-fill.js","webpack://aegis-app/./node_modules/core-js/modules/_array-includes.js","webpack://aegis-app/./node_modules/core-js/modules/_array-methods.js","webpack://aegis-app/./node_modules/core-js/modules/_array-reduce.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-create.js","webpack://aegis-app/./node_modules/core-js/modules/_bind.js","webpack://aegis-app/./node_modules/core-js/modules/_classof.js","webpack://aegis-app/./node_modules/core-js/modules/_cof.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-strong.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-weak.js","webpack://aegis-app/./node_modules/core-js/modules/_collection.js","webpack://aegis-app/./node_modules/core-js/modules/_core.js","webpack://aegis-app/./node_modules/core-js/modules/_create-property.js","webpack://aegis-app/./node_modules/core-js/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_defined.js","webpack://aegis-app/./node_modules/core-js/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_export.js","webpack://aegis-app/./node_modules/core-js/modules/_fails-is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/modules/_fix-re-wks.js","webpack://aegis-app/./node_modules/core-js/modules/_flags.js","webpack://aegis-app/./node_modules/core-js/modules/_flatten-into-array.js","webpack://aegis-app/./node_modules/core-js/modules/_for-of.js","webpack://aegis-app/./node_modules/core-js/modules/_function-to-string.js","webpack://aegis-app/./node_modules/core-js/modules/_global.js","webpack://aegis-app/./node_modules/core-js/modules/_has.js","webpack://aegis-app/./node_modules/core-js/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/modules/_html.js","webpack://aegis-app/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/modules/_inherit-if-required.js","webpack://aegis-app/./node_modules/core-js/modules/_invoke.js","webpack://aegis-app/./node_modules/core-js/modules/_iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array-iter.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array.js","webpack://aegis-app/./node_modules/core-js/modules/_is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/modules/_is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-call.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-create.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-define.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-detect.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-step.js","webpack://aegis-app/./node_modules/core-js/modules/_iterators.js","webpack://aegis-app/./node_modules/core-js/modules/_library.js","webpack://aegis-app/./node_modules/core-js/modules/_math-expm1.js","webpack://aegis-app/./node_modules/core-js/modules/_math-fround.js","webpack://aegis-app/./node_modules/core-js/modules/_math-log1p.js","webpack://aegis-app/./node_modules/core-js/modules/_math-sign.js","webpack://aegis-app/./node_modules/core-js/modules/_meta.js","webpack://aegis-app/./node_modules/core-js/modules/_microtask.js","webpack://aegis-app/./node_modules/core-js/modules/_new-promise-capability.js","webpack://aegis-app/./node_modules/core-js/modules/_object-assign.js","webpack://aegis-app/./node_modules/core-js/modules/_object-create.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dps.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopd.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gops.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gpo.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys-internal.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_object-pie.js","webpack://aegis-app/./node_modules/core-js/modules/_object-sap.js","webpack://aegis-app/./node_modules/core-js/modules/_object-to-array.js","webpack://aegis-app/./node_modules/core-js/modules/_own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/_perform.js","webpack://aegis-app/./node_modules/core-js/modules/_promise-resolve.js","webpack://aegis-app/./node_modules/core-js/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine-all.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec.js","webpack://aegis-app/./node_modules/core-js/modules/_same-value.js","webpack://aegis-app/./node_modules/core-js/modules/_set-proto.js","webpack://aegis-app/./node_modules/core-js/modules/_set-species.js","webpack://aegis-app/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://aegis-app/./node_modules/core-js/modules/_shared-key.js","webpack://aegis-app/./node_modules/core-js/modules/_shared.js","webpack://aegis-app/./node_modules/core-js/modules/_species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_strict-method.js","webpack://aegis-app/./node_modules/core-js/modules/_string-at.js","webpack://aegis-app/./node_modules/core-js/modules/_string-context.js","webpack://aegis-app/./node_modules/core-js/modules/_string-html.js","webpack://aegis-app/./node_modules/core-js/modules/_string-pad.js","webpack://aegis-app/./node_modules/core-js/modules/_string-repeat.js","webpack://aegis-app/./node_modules/core-js/modules/_string-trim.js","webpack://aegis-app/./node_modules/core-js/modules/_string-ws.js","webpack://aegis-app/./node_modules/core-js/modules/_task.js","webpack://aegis-app/./node_modules/core-js/modules/_to-absolute-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_to-iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_to-length.js","webpack://aegis-app/./node_modules/core-js/modules/_to-object.js","webpack://aegis-app/./node_modules/core-js/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-array.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/_typed.js","webpack://aegis-app/./node_modules/core-js/modules/_uid.js","webpack://aegis-app/./node_modules/core-js/modules/_user-agent.js","webpack://aegis-app/./node_modules/core-js/modules/_validate-collection.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-define.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_wks.js","webpack://aegis-app/./node_modules/core-js/modules/core.get-iterator-method.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.every.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.fill.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.filter.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find-index.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.for-each.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.from.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.is-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.join.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.last-index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce-right.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.slice.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.some.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.sort.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.species.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.now.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-json.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.bind.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.has-instance.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.name.js","webpack://aegis-app/./node_modules/core-js/modules/es6.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.acosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.asinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.atanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cbrt.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.clz32.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.expm1.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.fround.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.hypot.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.imul.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log10.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log1p.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log2.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.tanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.trunc.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.epsilon.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-finite.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-nan.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-precision.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.assign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.create.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-properties.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.freeze.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-frozen.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-sealed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.seal.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.promise.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.apply.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.construct.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.has.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.exec.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.flags.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.match.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.replace.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.search.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.split.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.anchor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.big.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.blink.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.bold.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.code-point-at.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.ends-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontcolor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontsize.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.from-code-point.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.italics.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.link.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.raw.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.repeat.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.small.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.starts-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.strike.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sub.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sup.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.trim.js","webpack://aegis-app/./node_modules/core-js/modules/es6.symbol.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.data-view.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float64-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-set.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.flat-map.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.entries.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.values.js","webpack://aegis-app/./node_modules/core-js/modules/es7.promise.finally.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-end.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-start.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-left.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-right.js","webpack://aegis-app/./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://aegis-app/./node_modules/core-js/modules/web.dom.iterable.js","webpack://aegis-app/./node_modules/core-js/modules/web.immediate.js","webpack://aegis-app/./node_modules/core-js/modules/web.timers.js","webpack://aegis-app/./node_modules/core-js/web/index.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/depd/index.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/dotenv/lib/main.js","webpack://aegis-app/./node_modules/express-session/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/express-session/node_modules/ms/index.js","webpack://aegis-app/./node_modules/express-session/session/cookie.js","webpack://aegis-app/./node_modules/express-session/session/memory.js","webpack://aegis-app/./node_modules/express-session/session/session.js","webpack://aegis-app/./node_modules/express-session/session/store.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/ms/index.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/node-gyp-build/index.js","webpack://aegis-app/./node_modules/on-headers/index.js","webpack://aegis-app/./node_modules/parseurl/index.js","webpack://aegis-app/./node_modules/random-bytes/index.js","webpack://aegis-app/./node_modules/regenerator-runtime/runtime.js","webpack://aegis-app/./node_modules/safe-buffer/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/supports-color/node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/./node_modules/uid-safe/index.js","webpack://aegis-app/./node_modules/utf-8-validate/fallback.js","webpack://aegis-app/./node_modules/utf-8-validate/index.js","webpack://aegis-app/./node_modules/ws/index.js","webpack://aegis-app/./node_modules/ws/lib/buffer-util.js","webpack://aegis-app/./node_modules/ws/lib/constants.js","webpack://aegis-app/./node_modules/ws/lib/event-target.js","webpack://aegis-app/./node_modules/ws/lib/extension.js","webpack://aegis-app/./node_modules/ws/lib/limiter.js","webpack://aegis-app/./node_modules/ws/lib/permessage-deflate.js","webpack://aegis-app/./node_modules/ws/lib/receiver.js","webpack://aegis-app/./node_modules/ws/lib/sender.js","webpack://aegis-app/./node_modules/ws/lib/stream.js","webpack://aegis-app/./node_modules/ws/lib/validation.js","webpack://aegis-app/./node_modules/ws/lib/websocket-server.js","webpack://aegis-app/./node_modules/ws/lib/websocket.js","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"cluster\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/startup"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","creds","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","substring","concat","Subscription","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","relations","orders","foreignKey","commands","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","timeout","keys","producesEvent","disabled","consumesEvent","undo","cancelPayment","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","returnDelivery","paymentCompleted","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","req","listModels","writable","serialize","addModel","body","json","ctx","context","OrderError","editModel","params","changes","approve","runFibonacci","start","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","key","value","enabled","WebSwitch","makeClient","internal","makeAdapters","adapters","services","map","warn","reduce","c","checkPayload","Array","isArray","k","latest","createCustomer","phone","userId","freeze","length","validateSpec","spec","missing","makeModel","GlobalMixins","bindAdapters","models","modelSpecs","category","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity","prevmodel","Symbol","validations","mixinType","pre","mixinSets","premixins","postmixins","processUpdate","updates","compose","updateMixins","o","cb","mixinSet","eventMask","create","onload","handleUpdateEvent","isUpdate","decrypted","isObject","containsUpdates","changeList","util","fn","input","v","sort","a","b","apply","output","enableEvent","onUpdate","onCreate","onLoad","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","parseKeys","propKeys","flat","encryptProperties","encryptProps","obj","encrypt","preventUpdates","mutations","includes","requireProps","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","unknownProps","rejectUnknownProperties","RegEx","ipv4Address","ipv6Address","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","Validator","tests","maxlen","invalid","updaters","updateProps","u","invokePort","execMethod","functionType","createMethod","withValidFormat","checkFormat","encryptPersonalInfo","orderTotal","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","checkItems","items","calcTotal","total","item","itemCount","finalStatus","invalidStatusChange","to","invalidStatusChanges","i","errMsg","emit","shipmentPayload","addressValidated","addressPayload","paymentAuthorized","verifyAddress","verifyPayment","authorizeOrder","paymentDeclined","verifyInventory","insufficient","inv","getCustomerOrder","custInfo","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","trackingUpdate","needsSignature","logMessage","toJSON","createOrder","shippingPriority","requireSignature","estimatedArrival","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","approvedOrder","logStateChange","canceledOrder","checkout","errorCallback","timeoutCallback","adapterFn","logUndo","accountOrder","cancelOrdersTransform","Transform","objectMode","transform","_encoding","done","_id","list","createWriteStream","approveOrdersTransform","encoding","getContext","dur","startTime","metric","requestId","duration","funcs","initVal","reduceRight","composeAsync","f","passwd","ENCRYPTION_PWD","algo","crypto","String","iv","alloc","text","cipher","cipherText","decipher","digest","makeArray","makeObject","async","promise","ok","asObject","asArray","EventDispatcher","adapter","emitEvent","bind","session","express","cluster","fs","_srv_","app","API_ROOT","PORT","init","sessionParser","saveUninitialized","secret","resave","use","request","ws","destroy","ip","originalUrl","date","server","createServer","wss","Server","clientTracking","noServer","clients","each","client","head","handleUpgrade","startServer","hotReload","RELOAD_URL","auth","AUTH_ENABLED","ssl","startsWith","readFileSync","access_token","httpsAgent","Agent","rejectUnauthorized","Registry","eventNames","sendEvent","eventName","generateShippingEventData","generateShippingMessage","commandResp","inventoryCallbackFactory","inventoryCallback","warehouseAddress","shippingCallbackFactory","shippingCallback","_message","dispatcher","registerCallback","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","buildClient","Address","lookup","inputId","street","maxCandidates","candidate","lookups","validatedAddress","deliveryLine1","deliveryLine2","lastLine","_notify","_listen","EventBus","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","messages","disconnect","Payment","amount","source_id","customer_id","autocomplete","currency","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","createEventMessage","eventTarget","getTime","eventUuid","createCommandEvent","Shipping","serviceName","payloads","getProperty"],"mappings":";;;;;;;;;;;;;AAAa;;AAEb,mBAAO,CAAC,sEAAc;;AAEtB,qCAAqC,mBAAO,CAAC,8EAA2B;;AAExE,sCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA,yC;;;;;;;;;;;;;ACZa;;AAEb,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,kFAA6B;;AAErC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,oFAA8B;;AAEtC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,4FAAkC;;AAE1C,mBAAO,CAAC,wHAAgD;;AAExD,mBAAO,CAAC,4EAA0B;;AAElC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,kFAA6B,E;;;;;;;;;;;;AC5BrC;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,IAAI,IAAI,IAAI,GAAG,IAAI;AAC3C;AACA,+BAA+B,IAAI,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,IAAI,EAAE,IAAI;AAClF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,SAAS;AAC9B;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;;AAEA,qBAAqB,eAAe;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,oBAAoB;AACpB,WAAW;AACX,oBAAoB;AACpB,WAAW;AACX,oBAAoB;;AAEpB;AACA,WAAW;;;AAGX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA,mDAAmD,eAAe;AAClE;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA,qBAAqB,YAAY;AACjC;AACA;AACA;;AAEA;AACA;;AAEA,uEAAuE,IAAI;AAC3E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uCAAuC,GAAG;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mDAAmD,QAAQ,aAAa,QA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;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,eAAe,mBAAO,CAAC,wDAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,kEAAiB;AACxC,oBAAoB,mBAAO,CAAC,4EAAsB;AAClD,iBAAiB,mBAAO,CAAC,sEAAmB;;AAE5C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAkB;;AAEzC;AACA,qBAAqB,mBAAO,CAAC,gFAAwB;;AAErD;;AAEA;AACA,sBAAsB;;;;;;;;;;;;;;;ACvDT;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,2DAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxDa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,yEAAqB;AAC5C,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;AACjD,kBAAkB,mBAAO,CAAC,mEAAe;AACzC,gBAAgB,mBAAO,CAAC,2EAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;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,EAAdA,cAAc;MACd0R,KAAK,EAALA,KAAK;MACLvR,KAAK,EAALA,KAAK;MACLwR,MAAM,EAANA;IACF,CAAC,CAAC;EACJ,CAAC;AACH;AAEO,SAAe/H,UAAU;EAAA;AAAA;AAQ/B;EAAA,yEARM,iBAA0Ba,QAAQ;IAAA;IAAA;MAAA;QAAA;UAAA;UAAA;UAAA,OAEhBA,QAAQ,CAACN,MAAM,EAAE;QAAA;UAAhCA,MAAM;UAAA,iCACLA,MAAM,CAAC0H,MAAM,GAAG,CAAC;QAAA;UAAA;UAAA;UAExB9X,OAAO,CAACC,KAAK,CAAC;YAAEC,IAAI,EAAE2P,UAAU,CAAC1P,IAAI;YAAEF,KAAK;UAAC,CAAC,CAAC;UAAC,iCACzC,IAAI;QAAA;QAAA;UAAA;MAAA;IAAA;EAAA,CAEd;EAAA;AAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;ACnCW;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWmC;AACO;;AAE1C;AACuC;AACA;AACC;AACxC;AACuC;;AAEvC;AACA;AACA;AACA;AACA,SAAS8X,YAAY,CAAEC,IAAI,EAAE;EAC3B,IAAMC,OAAO,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC3V,MAAM,CAAC,UAAAkU,GAAG;IAAA,OAAI,CAACwB,IAAI,CAACxB,GAAG,CAAC;EAAA,EAAC;EAC9E,IAAI,CAAAyB,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAEH,MAAM,IAAG,CAAC,EAAE;IACvB,MAAM,IAAInS,KAAK,+BACUsS,OAAO,qBAAW7F,MAAM,CAAC9O,OAAO,CAAC0U,IAAI,CAAC,EAC9D;EACH;AACF;;AAEA;AACA;AACA;AACA;AACA,SAASE,SAAS,CAAEF,IAAI,EAAE;EACxBD,YAAY,CAACC,IAAI,CAAC;EAClB,IAAMlI,MAAM,GAAGkI,IAAI,CAAClI,MAAM,IAAI,EAAE;EAChC,IAAMR,YAAY,GAAG0I,IAAI,CAAC1I,YAAY,IAAI,CAAC,CAAC;EAC5C,uCACK0I,IAAI;IACPlI,MAAM,EAAEA,MAAM,CAAClN,MAAM,CAACuV,4CAAY,CAAC;IACnC7I,YAAY,kCACPA,YAA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;;;;;;;;;;;;;;;;;;;;;;;;;ACnEiC;AACF;AACI;AACF;AACC;;;;;;;;;;;;;;ACJvB;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,U;;;;;;;;;;;;;;;;;;;ACVa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AAAA;AAAA,+CAvBA;AAAA;AAAA;AAyBO,IAAMksB,OAAO,GAAG;EACrB;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ5kB,gBAAgB,4BACpB/F,EAAE,EACF4qB,MAAM,EACNC,SAAS,EACTC,WAAW,EAGX;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAFAC,YAAY,0EAAG,KAAK;YACpBC,QAAQ,0EAAG,KAAK;YAEV9gB,OAAO,GAAG;cACd+gB,eAAe,EAAEjrB,EAAE;cACnBkrB,YAAY,EAAE;gBACZN,MAAM,EAANA,MAAM;gBACNI,QAAQ,EAARA;cACF,CAAC;cACDH,SAAS,EAATA,SAAS;cACTE,YAAY,EAAZA,YAAY;cACZD,WAAW,EAAXA,WAAW;cACXK,WAAW,EAAE,eAAe;cAC5BC,YAAY,EAAE,QAAQ;cACtBC,IAAI,EAAE,mBAAmB;cACzBC,aAAa,EAAE;gBACbV,MAAM,EAAE,EAAE;gBACVI,QAAQ,EAAE;cACZ;YACF,CAAC;YACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;YArCI,iCA2CO,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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YAAY;AAC7B;AACA;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;;ACjCL;;AAEb;AACA,mBAAmB,mBAAO,CAAC,8DAAgB,EAAE,SAAS;AACtD,CAAC;AACD,EAAE,+FAAsC;AACxC;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa;AACb,iBAAiB;;AAEjB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C,iBAAiB;AACjB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;A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;;;ACNa;AACb,SAAS,mBAAO,CAAC,kEAAc;;AAE/B;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACJA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;;;;;;;;;;;;;;;ACJA;AACa;AACb,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACzBA;AACa;AACb,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AACA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,mBAAO,CAAC,8DAAY;AAClC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,wFAAyB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC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3C,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,WAAW,mBAAO,CAAC,kEAAc;AACjC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;;;AC/Ia;AACb,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,kEAAc;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AiC,qBAAqB;AACtD;AACA,iCAAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;;;;;;;ACFA;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACTD;AACA,WAAW,mBAAO,CAAC,kEAAc;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA,WAAW,mBAAO,CAAC,sDAAQ;AAC3B,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,yFAAyB;AACvC;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,0DAAU;AAChC,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,aAAa,mBAAO,CAAC,4DAAW;AAChC,gBAAgB,iFAAsB;AACtC;AACA;AACA;AACA,aAAa,mBAAO,CAAC,sDAAQ;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uCAAuC,sBAAsB,EAAE;AAC/D;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;;;ACpEa;AACb;AACA,gBAAgB,mBAAO,CAAC,oEAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;;;;;;;;;;;;;;;ACjBa;AACb;AACA,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,sEAAgB;AACtC,WAAW,mBAAO,CAAC,sEAAgB;AACnC,UAAU,mBAAO,CAAC,oEAAe;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,8DAAY;AAClC;;AAEA;AACA,6BAA6B,mBAAO,CAAC,0DAAU;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,UAAU,EAAE;AAChD,mBAAmB,sCAAsC;AACzD,CAAC,qCAAqC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACrCD;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,oEAAe;AACjC,kBAAkB,mBAAO,CAAC,0EAAkB;AAC5C,eAAe,mBAAO,CAAC,oEAAe;AACtC,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAe;AACtC;AACA;AACA;AACA;AACA;AACA,EAAE,yFAA8B;AAChC,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,sDAAQ;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;;;ACLA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;;;ACJA;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACXa;AACb,IAAI,mBAAO,CAAC,sEAAgB;AAC5B,gBAAgB,mBAAO,CAAC,8DAAY;AACpC,eAAe,mBAAO,CAAC,4DAAW;AAClC,cAAc,mBAAO,CAAC,0DAAU;AAChC,gBAAgB,mBAAO,CAAC,4DAAW;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AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA,4BAA4B;AAC5B,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB,0BAA0B,EAAE,EAAE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,yBAAyB;AACzB,KAAK;AACL,uBAAuB;AACvB,2BAA2B;AAC3B,0BAA0B;AAC1B,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,aAAa;AACvC,OAAO;AACP;;AAEA;;AAEA;;AAEA;AACA;AACA,KAAK;;AAEL,uDAAuD,6BAA6B,EAAE;AACtF;AACA;AACA,KAAK;;AAEL;;AAEA;;AAEA;;AAEA,uDAAuD,YAAY;;AAEnE;;AAEA;;AAEA;AACA;AACA,KAAK,UAAU,gBAAgB;;AAE/B;AACA;AACA,KAAK;AACL;AACA,KAAK,WAAW,kCAAkC;;AAElD;AACA;AACA;AACA,CAAC,oCAAoC;;;;;;;;;;;;;;;;AC/dxB;AACb,aAAa,mBAAO,CAAC,4DAAW;AAChC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,8DAAY;AAClC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,WAAW,mBAAO,CAAC,wDAAS;AAC5B,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,YAAY,mBAAO,CAAC,0DAAU;AAC9B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,gEAAa;AACnC,WAAW,6FAA2B;AACtC,SAAS,yFAAyB;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,kFAAsB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB,GAAG;AACH,uBAAuB;AACvB,0BAA0B;AAC1B,0BAA0B;AAC1B;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnRA,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,UAAU,mBAAO,CAAC,sDAAQ;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;A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;;;;;;;ACTD;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,8BAA8B,qCAAqC;;;;;;;;;;;;;ACHnE;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,8BAA8B,sCAAsC;;;;;;;;;;;;;ACHpE,cAAc,mBAAO,CAAC,4DAAW;AACjC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA,+EAA+E,0BAA0B;;;;;;;;;;;;;ACHzG,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC;AACA,2EAA2E,sBAAsB;;;;;;;;;;;;;;ACHpF;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,mBAAmB,mBAAO,CAAC,4EAAmB;AAC9C,aAAa,mBAAO,CAAC,0EAAkB;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,0DAAU;AACxB;AACA,kBAAkB;AAClB,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACjHY;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,mBAA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AAc,mBAAO,CAAC,8DAAY;AAClC,cAAc,mBAAO,CAAC,4DAAW;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,WAAW,iFAAsB;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC,iCAAiC,mBAAO,CAAC,4FAA2B;AACpE,cAAc,mBAAO,CAAC,8DAAY;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,8EAAoB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,EAAE,mBAAO,CAAC,sDAAQ;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,wEAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,kFAAsB;AAC9B,mBAAO,CAAC,sEAAgB;AACxB,UAAU,mBAAO,CAAC,wDAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,sEAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC7RD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,yFAA4B,MAAM;AAChD;AACA;AACA,iCAAiC,mBAAO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;;;;;;;;;;;;ACRD;AACA,IAAI,mBAAO,CAAC,sEAAgB,wBAAwB,yFAAyB;AAC7E;AACA,OAAO,mBAAO,CAAC,0DAAU;AACzB,CAAC;;;;;;;;;;;;;;ACJY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACvCY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,eAAe,mBAAO,CAAC,kEAAc;AACrC,qBAAqB,mBAAO,CAAC,wFAAyB;AACtD,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,gEAAa;AACnC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,iBAAiB,mBAAO,CAAC,0EAAkB;AAC3C,cAAc,mBAAO,CAAC,0EAAkB;AACxC,cAAc,mBAAO,CAAC,8EAAoB;AAC1C,YAAY,mBAAO,CAAC,sEAAgB;AACpC,YAAY,mBAAO,CAAC,sEAAgB;AACpC,UAAU,mBAAO,CAAC,kEAAc;AAChC,YAAY,mBAAO,CAAC,sEAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB;AACtB,sBAAsB,uBAAuB,WAAW,IAAI;AAC5D,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,KAAK;AACL;AACA,sBAAsB,mCAAmC;AACzD,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,6FAA2B;AAC7B,EAAE,2FAA0B;AAC5B;;AAEA,sBAAsB,mBAAO,CAAC,8DAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD,6BAA6B;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,eAAe,EAAE;AAC3C,0BAA0B,gBAAgB;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,8CAA8C,YAAY,EAAE;;AAE5D;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,OAAO,QAAQ,iCAAiC;AACpG,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,oCAAoC,mBAAO,CAAC,wDAAS;AACrD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPa;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,aAAa,mBAAO,CAAC,wEAAiB;AACtC,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,kBAAkB,6FAAgC;AAClD,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD;AACA;AACA;AACA;AACA;AACA;;AAEA,6EAA6E,4BAA4B;;AAEzG;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,4CAA4C,mBAAO,CAAC,0DAAU;AAC9D;AACA,CAAC;AACD;AACA;AACA,6FAA6F;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;A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B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzDA,cAAc,mBAAO,CAAC,4DAAW;AACjC,YAAY,mBAAO,CAAC,wDAAS;AAC7B;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACLD;AACA,aAAa,mBAAO,CAAC,4DAAW;AAChC,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACnBD,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,uFAA6B;AACrC,uGAA4C;;;;;;;;;;;;;;;;;ACH5C;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,sCAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,eAAe,gDAAwB;;AAEvC;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uCAAuC;;AAEvC;AACA,4CAA4C;AAC5C;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,WAAW;AAC5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,kBAAkB;AAC1B;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2BAA2B,iCAAiC;AAC5D,cAAc,oBAAoB;AAClC;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,MAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;;;ACzhBY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA,WAAW,mBAAO,CAAC,cAAI;AACvB,aAAa,mBAAO,CAAC,kBAAM;AAC3B,WAAW,mBAAO,CAAC,cAAI;AACvB,oBAAoB,mBAAO,CAAC,2DAAiB;;AAE7C;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,QAAQ,WAAW,QAAQ;AACpD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE,WAAW;;AAE9E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,IAAI;AACzB,WAAW;AACX,qBAAqB,IAAI;AACzB;AACA;AACA;AACA,KAAK;;AAEL,YAAY;AACZ,GAAG;AACH;AACA,6BAA6B,WAAW,GAAG,UAAU;AACrD;;AAEA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB,oBAAoB;AAC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A;AACA,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa;AACb;AACA;AACA;AACA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;AC5qBA;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,2GAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,4HAAwC;AAC1C,CAAC;AACD,EAAE,sHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,gBAAgB,mBAAO,CAAC,0CAAM;;AAE9B;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,aAAa,KAAK;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gEAAS;AAC7B,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA,sCAAsC,aAAa;AACnD,qCAAqC,uBAAuB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA,6DAA6D;AAC7D;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC9IA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,kEAAU;AAC/B,mBAAmB,wDAA8B;AACjD,cAAc,mBAAO,CAAC,oEAAW;AACjC,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACrGA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAuB,2BAA2B;AAClD,mBAAmB;;;;;;;;;;;;;;;AC5mBN;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC7DA,cAAc,mBAAO,CAAC,kDAAO;AAC7B,2BAA2B,mBAAO,CAAC,wFAA0B;AAC7D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,qBAAqB,mBAAO,CAAC,8FAA6B;AAC1D,oBAAoB,mBAAO,CAAC,4GAAoC;AAChE,sBAAsB,mBAAO,CA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;;AAE7B;;AAEA,OAAO,wBAAwB;AAC/B;AACA;AACA,8BAA8B,IAAI;AAClC;;AAEA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA,WAAW,sBAAsB,yBAAyB,eAAe,WAAW,EAAE;AACtF;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,6BAA6B;AACxC,WAAW,4BAA4B;AACvC,WAAW,mCAAmC;AAC9C,WAAW,8BAA8B;AACzC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAm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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,gDAAgD,0CAA0C;AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;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AO,iCAAiC,GAAG,mBAAO,CAAC,6FAA8B;AACjF,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D;AACA;AACA;AACA;AACA;;AAEA,WAAW,sCAAsC;AACjD;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,6BAA6B;AAC1C,aAAa,OAAO;AACpB,aAAa,kCAAkC;AAC/C;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB,GAAG,qBAAqB;;AAEzE;AACA;AACA,wCAAwC,mBAAmB;AAC3D,KAAK;;AAEL;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA;AACA,eAAe;AACf;AACA,sBAAsB,yBAAyB;AAC/C;AACA,0DAA0D,kBAAkB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,4CAA4C;AACzD;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,yBAAyB,qCAAqC;AAC9D;AACA,6DAA6D,6BAA6B;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,sBAAsB,kCAAkC;AACxD;AACA,0DAA0D,0BAA0B;AACpF;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,wBAAwB,sCAAsC;AAC9D;AACA,4DAA4D,sCAAsC;AAClG;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,4BAA4B,qDAAqD;AACjF;AACA;AACA;AACA;AACA;AACA,0BAA0B,qDAAqD;AAC/E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,yBAAyB,sDAAsD;AAC/E;AACA;AACA,uBAAuB,sDAAsD;AAC7E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;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,SAAS;AAClE,mCAAmC,oBAAoB;AACvD,iEAAiE,SAAS;AAC1E,KAAK;AACL;AACA,6CAA6C,UAAU;AACvD;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA,eAAe,mBAAO,CAAC,sBAAQ;AAC/B,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,2DAA2D,GAAG,mBAAO,CAAC,0DAAc;;AAE3F;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB,KAAK,kBAAkB;AAC9D;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qBAAqB,KAAK,OAAO;AACjD;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrUA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,eAAe,mBAAO,CAAC,6DAAW;AAClC,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,OAAO,8CAA8C,GAAG,mBAAO,CAAC,uDAAW;;AAE3E,OAAO,uBAAuB;AAC9B,wCAAwC,mBAAmB;AAC3D;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gDAAgD;AAC7D,aAAa,6BAA6B;AAC1C,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,eAAe,mBAAmB;AAClC;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;;AAEA;AACA,gDAAgD,OAAO;AACvD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,UAAU,iCAAiC,gBAAgB;AACxE,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C,SAAS;AACrD;AACA,+BAA+B,iBAAiB;AAChD,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,4BAA4B;AAChE;;AAEA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;A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,0BAA0B,mBAAO,CAAC,oFAAqB;AACvD,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;AACvB,0BAA0B,mBAAO,CAAC,6FAA8B;;AAEhE,OAAO,OAAO;;AAEd,2BAA2B,oBAAoB;AAC/C;AACA;AACA,CAAC;;AAED;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,mCAAmC;AAChD,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,IAAI;AACjB,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;AACA,gDAAgD,eAAe;AAC/D;AACA;AACA;AACA,eAAe,8CAA8C;AAC7D;AACA;AACA;AACA;AACA,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,YAAY;AACzB,cAAc;AACd;;AAEA;AACA;AACA,aAAa,kDAAkD;AAC/D;AACA;AACA;AACA;AACA;AACA,oEAAoE,gBAAgB;;AAEpF,oCAAoC;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,4CAA4C,SAAS;AACrD;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA,KAAK;;AAEL;AACA;AACA,wEAAwE;;AAExE;AACA;AACA,kDAAk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AAG,mBAAO,CAAC,uFAAwB;AAC7E,gBAAgB,mBAAO,CAAC,2EAAwB;;AAEhD;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AClFD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;;;;;;;;;;;;;ACbA,aAAa,mBAAO,CAAC,+DAAe;AACpC,8BAA8B,mBAAO,CAAC,6FAAyB;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gCAAgC;;AAE3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,kBAAkB;AAC3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/GA,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,cAAc,mBAAO,CAAC,iEAAgB;AACtC,8BAA8B,mBAAO,CAAC,iGAAgC;AACtE,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D,sBAAsB,mBAAO,CAAC,mFAAiB;AAC/C,cAAc,mBAAO,CAAC,6DAAS;AAC/B,oBAAoB,mBAAO,CAAC,yEAAe;AAC3C,0BAA0B,mBAAO,CAAC,qFAAqB;AACvD;AACA,WAAW,+DAA+D;AAC1E,CAAC,GAAG,mBAAO,CAAC,6FAAyB;AACrC,OAAO,mBAAmB,GAAG,mBAAO,CAAC,mFAAoB;AACzD;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;;AAEvB,OAAO,OAAO;;AAEd;AACA;AACA;AACA;AACA,0BAA0B,eAAe;AACzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,8BAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,sBAAsB,sBAAsB;AAC3D;AACA;AACA;AACA;;AAEA;;AAEA,4DAA4D,WAAW;AACvE,aAAa,kCAAkC;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;A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C,uDAAW;AACxD,OAAO,aAAa,GAAG,mBAAO,CAAC,2EAAa;AAC5C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE,wBAAwB,mBAAO,CAAC,yFAA4B;;AAE5D,OAAO,eAAe;AACtB,OAAO,mCAAmC;;AAE1C;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,OAAO;AAClB,WAAW,mCAAmC;AAC9C,WAAW,6BAA6B;AACxC,WAAW,0CAA0C;AACrD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,wEAAqB;AAC7C,wBAAwB,mBAAO,CAAC,+FAAmB;AACnD,kCAAkC,mBAAO,CAAC,mHAA6B;AACvE;AACA,WAAW,iBAAiB;AAC5B,CAAC,GAAG,mBAAO,CAAC,8FAA0B;;AAEtC,OAAO,eAAe;AACtB,yEAAyE,YAAY,EAAE,KAAK;;AAE5F;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,aAAa,gCAAgC;AAC7C,aAAa,2CAA2C;AACxD,aAAa,QAAQ;AACrB,aAAa,cAAc;AAC3B,aAAa,cAAc;AAC3B,cAAc,kBAAkB,2BAA2B;AAC3D,aAAa,wCAAwC;AACrD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,eAAe,mBAAmB;AAClC;AACA;;AAEA;AACA,aAAa,8CAA8C;AAC3D;AACA,iBAAiB,2BAA2B;AAC5C;AACA;AACA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,0BAA0B,mBAAmB;AAC7C,WAAW,kCAAkC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,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O;;AAEP;AACA,KAAK;AACL;;AAEA;AACA,WAAW,mBAAmB;;AAE9B;AACA,6DAA6D,mBAAmB;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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AO,CAAC,4DAAiB;AACzC,OAAO,OAAO;;AAEd;AACA,kBAAkB,mBAAmB,KAAK;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,mBAAmB;AACjC;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,0BAA0B,KAAK;AACjD,cAAc,YAAY;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,WAAW;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,wBAAwB;AAC1C;AACA,oBAAoB,UAAU,iBAAiB,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,eAAe,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,aAAa,KAAK;AACpC,cAAc,YAAY,KAAK,GAAG,KAAK,GAAG;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,4DAA4D,KAAK;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBAAgB,QAAQ;AACxB,eAAe,QAAQ;;AAEvB,2CAA2C,YAAY;AACvD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;;AAEA;AACA,oEAAoE,QAAQ;AAC5E,wBAAwB,SAAS,0DAA0D,WAAW;AACtG;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChRA;AACA;AACA,WAAW,OAAO;AAClB,CAAC,GAAG,mBAAO,CAAC,8DAAW;;AAEvB,oCAAoC,mBAAO,CAAC,wFAA2B;AACvE,sBAAsB,mBAAO,CAAC,wEAAmB;AACjD,gBAAgB,mBAAO,CAAC,8DAAW;AACnC,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,oBAAoB,mBAAO,CAAC,0DAAS;AACrC,wBAAwB,mBAAO,CAAC,wFAA2B;AAC3D,6BAA6B,mBAAO,CAAC,oFAAyB;;AAE9D;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,gCAAgC;AAC7C,aAAa,kCAAkC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,yCAAyC,8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS,QAAQ,KAAK;AACtB;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnMA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,6BAA6B,mBAAO,CAAC,oEAAS;AAC9C,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAW;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,yBAAyB;AACtC,eAAe,iEAAiE;AAChF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;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AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB;AACA,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA,6CAA6C;AAC7C;AACA,sBAAsB,0CAA0C;AAChE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;;;;;;;;;ACtTA,OAAO,uDAAuD,GAAG,mBAAO,CAAC,0DAAc;AACvF,eAAe,mBAAO,CAAC,6FAA0B;;AAEjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,aAAa;AAC1B,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB,aAAa,WAAW;AACxB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,8BAA8B;AACzC,2BAA2B,QAAQ,QAAQ,OAAO,aAAa,WAAW;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D,YAAY;AACxE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,gBAAgB;AAC7B;AACA;AACA;AACA,KAAK;;AAEL,WAA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yE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,mBAAmB;AACnB;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,6BAA6B;AACjD;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO;AAC3B;AACA,yBAAyB,0BAA0B;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;AACA,uBA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AO,CAAC,yFAA4B;AACxE,yBAAyB,mBAAO,CAAC,6EAAc;AAC/C,8BAA8B,mBAAO,CAAC,iFAAmB;AACzD,OAAO,+CAA+C,GAAG,mBAAO,CAAC,6FAAyB;AAC1F,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD,OAAO,eAAe;AACtB;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA,OAAO,sBAAsB;;AAE7B;AACA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,6BAA6B;AACxC,WAAW,yCAAyC;AACpD,WAAW,mCAAmC;AAC9C,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,2BAA2B,mBAAO,CAAC,2EAAgB;AACnD,OAAO,yCAAyC,GAAG,mBAAO,CAAC,uDAAW;AACtE,OAAO,oBAAoB,GAAG,mBAAO,CAAC,2FAA6B;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;;AAEA;A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U;AAC5E;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAA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;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACzBA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,uBAAuB,mBAAO,CAAC,kFAAoB;AACnD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAwB;AACpE,OAAO,6BAA6B,GAAG,mBAAO,CAAC,0DAAc;;AAE7D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACxBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;;AAEA;AACA;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,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AO,iDAAiD,GAAG,mBAAO,CAAC,gEAAoB;;AAEvF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;A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ACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iEAAiE,YAAY;AAC7E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,YAAY;;AAEpE;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG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,CAAC,8EAAe;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA,6BAA6B,oBAAoB;AACjD;AACA,aAAa;AACb;AACA,SAAS;AACT;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC7BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,gEAAoB;AACvE,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,gDAAgD,YAAY;AAC5D,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gCAAgC;AAC5C,YAAY,uBAAuB;;AAEnC;AACA;AACA,6CAA6C,uBAAuB;AACpE;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA,CAAC;;;;;;;;;;;;;;AChED,kBAAkB,mBAAO,CAAC,+FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,mBAAmB,mBAAO,CAAC,iGAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B,SAAS,0BAA0B,eAAe,SAAS;;AAE3D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;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,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA,wBAAwB,yEAAyE;AACjG;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC1BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA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AAqB,mBAAO,CAAC,kFAAuB;AACpD,4BAA4B,mBAAO,CAAC,gGAA8B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;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CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,YAAY;AAC3D;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,OAAO,0BAA0B,GAAG,mBAAO,CAAC,kGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnCA;AACA,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,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A;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;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A,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChFA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;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;AAC3F,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtIA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,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WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,gDAAgD,8BAA8B;AAC9E;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,+CAA+C;AACzE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oCAAoC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC/BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oCAAoC;AACvD,2BAA2B,oCAAoC,IAAI,gBAAgB;;;;;;;;;;;;;;ACbnF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,+FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA;AACA,OAAO,SAAS;AAChB,oBAAoB,mBAAO,CAAC,yFAAc;AAC1C,qBAAqB,mBAAO,CAAC,2FAAe;AAC5C,YAAY,mBAAmB,SAAS;AACxC,GAAG;AACH,OAAO,SAAS;AAChB,oBA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AAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,qBAAqB;AAChC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACfD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,4FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AACA;;AAEA;AACA,OAAO,kBAAkB;AACzB,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,kBAAkB;AACjD,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,+CAA+C;AAC9E,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;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AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,6DAA6D;AACvF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC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ACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY;AACtC;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,+FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,+FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA;AACA,OAAO,2BAA2B;AAClC,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C,YAA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B;AAC1C,OAAO,kBAAkB,GAAG,mBAAO,CAAC,8EAAe;AACnD,mBAAmB,mBAAO,CAAC,oFAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,2BAA2B,sBAAsB;AACjD,iCAAiC,uCAAuC;AACxE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;;AAEA,mBAAmB,2BAA2B;AAC9C,kCAAkC,2BAA2B,IAAI,gBAAgB;AACjF;;;;;;;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC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gC;AACvD,OAAO,cAAc,GAAG,mBAAO,CAAC,4FAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;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ACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,oBAAoB;AAC/B,aAAa;AACb;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IAAI;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,+BAA+B,OAAO;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;;;ACHH,OAAO,OAAO;AACd;AACA,yCAAyC,gCAAgC,KAAK;;;;;;;;;;;;;;ACF9E,cAAc,mBAAO,CAAC,0DAAS;AAC/B,OAAO,iBAAiB,GAAG,mBAAO,CAAC,uDAAW;;AAE9C;AACA;AACA,GAAG,iFAAiF;AACpF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;;;;;;;;;;;;;AC5CA;;AAEA,oCAAoC,SAAS,GAAG,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;ACF9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjKA,aAAa,mBAAO,CAAC,sDAAY;AACjC,YAAY,mBAAO,CAAC,oBAAO;AAC3B,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,SAAS,mBAAO,CAAC,cAAI;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB;AACA,GAAG;AACH,IAAI,4DAAqB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD,UAAU,+DAAW;AACrB;AACA;AACA;AACoE;;;;;;;;;;;;;;;;;;;;AC5CpE;AACA;AACsB;;;;;;;;;;;;;;ACFtB,SAAS,mBAAO,CAAC,cAAI;AACrB,WAAW,mBAAO,CAAC,kBAAM;AACzB,SAAS,mBAAO,CAAC,cAAI;;AAErB;AACA,qBAAqB,KAAyC,GAAG,OAAuB,GAAG,CAAO;;AAElG;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAyC,oBAAoB,CAAE;AACnE;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;;AAEd;;AAEA,iBAAiB,gBAAgB;AACjC;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9MA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2EAA2E,uBAAuB;AAClG,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0CAA0C,kDAAkD;;AAE5F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,wDAAwD;AAC7F;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,iBAAiB;AACtD;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,CAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACxvBA;AACA;AACA,aAAa,mBAAO,CAAC,sBAAQ;AAC7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,EAAE,cAAc;AAChB;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;AACA,SAAS,mBAAO,CAAC,6EAAa;AAC9B,iBAAiB,mBAAO,CAAC,6FAAqB;AAC9C,eAAe,mBAAO,CAAC,qGAAyB;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jD,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnNa;;AAEb,YAAY,mBAAO,CAAC,4FAAS;AAC7B,WAAW,mBAAO,CAAC,0GAAgB;AACnC,YAAY,mBAAO,CAAC,sGAAc;AAClC,kBAAkB,mBAAO,CAAC,kHAAoB;AAC9C,eAAe,mBAAO,CAAC,wGAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA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C,6GAAe;AACzC,gBAAgB,mBAAO,CAAC,qHAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,6HAA0B;AACtD,kBAAkB,mBAAO,CAAC,yHAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,+GAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,oBAAoB,mBAAO,CAAC,iHAAiB;AAC7C,eAAe,mBAAO,CAAC,iHAAoB;AAC3C,eAAe,mBAAO,CAAC,yGAAa;AACpC,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,8GAAkC;AAC3F;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,6B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;ACtCa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,YAAY,mBAAO,CAAC,gBAAK;AACzB,gBAAgB,mBAAO,CAAC,8EAAU;;AAElC,OAAO,IAAI;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACtIa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB;AACxB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,0DAAc;;AAExC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,W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9C;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,EAAE;AACb,YAAY,OAAO;AACnB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB,mBAAO,CAAC,sDAAY;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChIa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,qCAAqC;AAClD,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACvLa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,mBAAmB;AAC3B;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO,6BAA6B;AACpC;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAiE,EAAE;AACnE;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,iEAAiE,EAAE;AACnE;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,EAAE,GAAG,EAAE;AAC1D,0BAA0B;AAC1B,eAAe;AACf;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,KAAK;AACL;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;AC9NL;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtDa;;AAEb,aAAa,mBAAO,CAAC,kBAAM;;AAE3B,mBAAmB,mBAAO,CAAC,2DAAe;AAC1C,gBAAgB,mBAAO,CAAC,mDAAW;AACnC,OAAO,oBAAoB,GAAG,mBAAO,CAAC,uDAAa;;AAEnD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,IAAI;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAAgD,IAAI,KAAK,MAAM;AAC/D;AACA;AACA;AACA,WAAW;AACX;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT,gDAAgD,IAAI;AACpD;;AAEA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,kCAAkC,SAAS;AAC3C;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gCAAgC,SAAS;AACzC;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrgBa;;AAEb,OAAO,WAAW,GAAG,mBAAO,CAAC,sBAAQ;;AAErC,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAa;AACzB,OAAO,gCAAgC,GAAG,mBAAO,CAAC,2DAAe;AACjE,OAAO,iCAAiC,GAAG,mBAAO,CAAC,yDAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,0BAA0B,aAAa;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,mCAAmC,KAAK;AACxC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,+BAA+B;AAC1C,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA,yCAAyC,QAAQ;AACjD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9lBA,qCAAqC,mCAAmC;;AAE3D;;AAEb,YAAY,mBAAO,CAAC,gBAAK;AACzB,YAAY,mBAAO,CAAC,gBAAK;AACzB,OAAO,iBAAiB,GAAG,mBAAO,CAAC,sBAAQ;;AAE3C,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAa;AAC9C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,yDAAc;AACpD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,2DAAe;;AAE7D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uBAAuB,wBAAwB;AAC/C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxZa;;AAEb,OAAO,SAAS,GAAG,mBAAO,CAAC,sBAAQ;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACnLa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW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S;AACtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,kDAAkD;AAC3E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,gDAAgD,SAAS;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,gDAAgD,MAAM;AACtD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,0BAA0B;AACrC,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,aAAa;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,wBAAwB;AACnC,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,KAAK,GAAG,wBAAwB;AAClD;AACA,yBAAyB,EAAE,IAAI,WAAW;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9bA,qCAAqC,oCAAoC;;AAE5D;;AAEb,qBAAqB,mBAAO,CAAC,sBAAQ;AACrC,cAAc,mBAAO,CAAC,oBAAO;AAC7B,aAAa,mBAAO,CAAC,kBAAM;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A,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,mBAAmB;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,kDAAkD,OAAO;AACzD;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,iBAAiB;AAC5B;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,uCAAuC,qBAAqB;AAC5D,gCAAgC,4BAA4B;AAC5D;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA,0CAA0C,cAAc;;AAExD;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mBAAmB,mBAAmB,GAAG,mBAAmB;AAC5D;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,wBAAwB;;AAEzC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,2CAA2C;AACtD;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,EAAE;AACb,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C,qBAAqB;AAChE,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,qCAAqC;AAChD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1qCA,mC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,oC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;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WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD,+B;;;;UC3IA;UACA;UACA;UACA;UACA","file":"main.js","sourcesContent":["\"use strict\";\n\nrequire(\"./noConflict\");\n\nvar _global = _interopRequireDefault(require(\"core-js/library/fn/global\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/array/flat-map\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/string/trim-start\");\n\nrequire(\"core-js/fn/string/trim-end\");\n\nrequire(\"core-js/fn/symbol/async-iterator\");\n\nrequire(\"core-js/fn/object/get-own-property-descriptors\");\n\nrequire(\"core-js/fn/object/values\");\n\nrequire(\"core-js/fn/object/entries\");\n\nrequire(\"core-js/fn/promise/finally\");\n\nrequire(\"core-js/web\");\n\nrequire(\"regenerator-runtime/runtime\");","// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n","'use strict'\n\nimport { Event } from './services/event-service'\n\nexport class EventDispatcher {\n constructor (adapter = Event) {\n this.adapter = adapter\n this.subscriptions = new Map()\n }\n\n registerCallback (topic, callback) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions.get(topic).push(callback)\n return\n }\n this.subscriptions.set(topic, [callback])\n }\n\n async emitEvent (topic, message, method = 'notify') {\n await this.adapter[method](topic, message)\n }\n\n async init (method = 'listen') {\n function emitEvent (topic, message) {\n this.emitEvent(topic, message)\n }\n\n await this.adapter[method](\n /Channel/,\n function ({ topic, message }) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions\n .get(topic)\n .forEach(callback =>\n callback({ message, emitEvent: emitEvent.bind(this) })\n )\n }\n }.bind(this)\n )\n }\n}\n","'use strict'\n\nconst session = require('express-session')\nconst express = require('express')\nconst http = require('http')\nconst WebSocket = require('ws')\nconst { uuid } = require('./domain/utils')\nrequire('dotenv').config()\nconst services = require('./service-registry').default\nconst cluster = require('cluster')\nconst fs = require('fs')\nconst _srv_ = require('./services')\n\nconst app = express()\nconst map = new Map()\nconst API_ROOT = '/api'\nconst PORT = 8060\n\nimport axios from 'axios'\n// list the models we expose to host through module federation\nimport { models } from './domain'\nconsole.log(models)\n\n// Run test service endpoints\nservices.init()\n\n// We need the same instance of the session parser in express and\n// WebSocket server.\nconst sessionParser = session({\n saveUninitialized: false,\n secret: '$eCuRiTy',\n resave: false\n})\n\n// Serve static files from the 'public' folder.\napp.use(express.static('public'))\napp.use(express.static('dist')) // remoteEntry.js\napp.use(sessionParser)\napp.use(express.json())\n\napp.post('/login', function (req, res) {\n // \"Log in\" user and set userId to session.\n const id = uuid()\n console.log(`Updating session for user ${id}`)\n req.session.userId = id\n res.send({ result: 'OK', message: 'Session updated' })\n})\n\napp.delete('/logout', function (request, response) {\n const ws = map.get(request.session.userId)\n console.log('Destroying session')\n request.session.destroy(function () {\n if (ws) ws.close()\n response.send({ result: 'OK', message: 'Session destroyed' })\n })\n})\n\napp.get(`${API_ROOT}/fedmonserv`, (req, res) =>\n res.send('Federated Monolith Service')\n)\n\napp.get(`${API_ROOT}/service1`, (req, res) => {\n console.log({ from: req.ip, url: req.originalUrl })\n res.status(200).send({\n from: 'fedmonserv',\n ip: req.ip,\n port: PORT,\n url: req.originalUrl,\n date: new Date().toISOString()\n })\n})\n\n// Create HTTP server\nconst server = http.createServer(app)\nconst wss = new WebSocket.Server({ clientTracking: true, noServer: true })\n\n// Send events emitted from host to any WS clients\napp.post(`${API_ROOT}/publish`, (req, res) => {\n console.log({ event: req.body })\n //handleEvents(req, res);\n wss.clients.forEach(function each (client) {\n if (client.url === req.url) return\n if (client.readyState === WebSocket.OPEN) {\n client.send(JSON.stringify({ event: req.body }))\n }\n })\n})\n\n// Handle request to upgrade to websocket protocol\nserver.on('upgrade', function (request, socket, head) {\n console.log('Parsing session from request...')\n\n sessionParser(request, {}, () => {\n if (!request.session.userId) {\n socket.destroy()\n return\n }\n console.log('Session is parsed')\n wss.handleUpgrade(request, socket, head, function (ws) {\n wss.emit('connection', ws, request)\n })\n })\n})\n\nwss.on('connection', function (ws, request) {\n const userId = request.session.userId\n map.set(userId, ws)\n\n ws.on('message', function (message) {\n console.log(`Received message ${message} from user ${userId}`)\n })\n\n ws.on('close', function () {\n map.delete(userId)\n })\n})\n\nfunction startServer () {\n server.listen(PORT, function () {\n console.log(`Listening on http://localhost:${PORT}\\n`)\n })\n}\n\nfunction hotReload () {\n const url = process.env.RELOAD_URL || 'http://localhost:8070'\n const auth = /true/i.test(process.env.AUTH_ENABLED)\n const ssl = url.startsWith('https')\n if (auth) {\n const text = fs.readFileSync('./public/token.json', 'utf-8')\n const token = JSON.parse(text)\n axios.defaults.headers.common[\n 'Authorization'\n ] = `bearer ${token.access_token}`\n }\n // setTimeout(() => {\n try {\n if (ssl) {\n const https = require('https')\n const httpsAgent = new https.Agent({\n rejectUnauthorized: false\n })\n axios\n .get(url, { httpsAgent })\n .then(response => console.log(response.data))\n } else {\n axios.get(url).then(response => console.log(response.data))\n }\n } catch (e) {\n console.log(e.message)\n }\n //}, 10000);\n}\n\nstartServer()\n\n// function startHotLoadWorker() {\n// const worker = cluster.fork();\n// const timerId = setTimeout(function (params) {\n// startHotLoadWorker();\n// }, 10000);\n// worker.on(\"message\", msg => {\n// if (msg?.status === \"done\") {\n// clearTimeout(timerId);\n// }\n// });\n//\n\n// if (cluster.isMaster) {\n// cluster.fork();\n// startServer();\n// } else {\n// hotReload();\n// }\n\n// let reloaded = false;\n// let serverRunning = false;\n\n// (async () => {\n// while (!reloaded) {\n// const worker = cluster.fork();\n\n// if (cluster.master) {\n// if (!serverRunning) {\n// startServer();\n// serverRunning = true;\n// }\n// function waitOnHotLoad() {\n// return new Promise(function (resolve) {\n// worker.on(\"message\", msg => {\n// if (msg === \"all good\") {\n// reloading = true;\n// resolve(true);\n// }\n// });\n// });\n// }\n// await waitOnHotLoad();\n\n// await new Promise(r => setTimeout(r, 2000));\n// }\n// }\n// })();\n\n// if (cluster.worker) {\n// hotReload();\n// process.send(\"all good\");\n// }\n","'use strict'\n\nimport { EventDispatcher } from './event-dispatcher'\nimport { uuid } from './domain/utils'\n\nexport const Registry = {\n eventNames: {\n shipOrder: 'orderShipped',\n trackShipment: 'outForDelivery',\n verifyDelivery: 'deliveryVerified'\n },\n\n sendEvent ({ emitEvent, topic, eventData, eventSource, eventName }) {\n console.log('Sending event...')\n console.log({ emitEvent, topic, eventData, eventSource, eventName })\n setTimeout(async () => {\n await emitEvent(\n topic,\n JSON.stringify({\n eventData,\n eventName,\n eventTime: new Date().toISOString(),\n eventType: 'commandResponse',\n eventSource: eventSource\n })\n )\n }, 5000)\n },\n\n generateShippingEventData (event, externalId) {\n const trackingId = uuid()\n const shipmentId = trackingId\n const proofOfDelivery = `http://shipping.service.com?proof=${trackingId}`\n const eventData = { externalId }\n if (event.eventName === 'shipOrder') {\n return { ...eventData, shipmentId }\n }\n if (event.eventName === 'trackShipment') {\n return { ...eventData, trackingId, trackingStatus: 'outForDelivery' }\n }\n if (event.eventName === 'verifyDelivery') {\n return { ...eventData, proofOfDelivery }\n }\n },\n\n generateShippingMessage (emitEvent, event, externalId) {\n return {\n emitEvent,\n topic: event.eventData.commandResp,\n eventData: this.generateShippingEventData(event, externalId),\n eventName: this.eventNames[event.eventName],\n eventSource: 'shippingService'\n }\n },\n\n inventoryCallbackFactory () {\n function inventoryCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const warehouseAddress = /*null;*/ '1234 warehouse dr, dock 2'\n const externalId = event.eventData.commandArgs.externalId\n const eventName = /*'outOfStock';*/ 'orderPicked'\n this.sendEvent({\n emitEvent,\n topic: event.eventData.respChannel,\n eventName,\n eventData: { warehouse_addr: warehouseAddress, externalId },\n eventSource: 'inventoryService'\n })\n }\n return inventoryCallback.bind(this)\n },\n\n shippingCallbackFactory () {\n function shippingCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const externalId = event.eventData.commandArgs.externalId\n const _message = this.generateShippingMessage(\n emitEvent,\n event,\n externalId\n )\n this.sendEvent(_message)\n\n if (event.eventName === 'trackShipment') {\n const eventData = {\n ..._message.eventData,\n trackingStatus: 'orderDelivered'\n }\n setTimeout(\n () =>\n this.sendEvent({\n ..._message,\n eventData,\n eventName: 'orderDelivered'\n }),\n 7000\n )\n }\n }\n return shippingCallback.bind(this)\n }\n}\n\nconst dispatcher = new EventDispatcher()\n\ndispatcher.registerCallback(\n 'inventoryChannel',\n Registry.inventoryCallbackFactory()\n)\n\ndispatcher.registerCallback(\n 'shippingChannel',\n Registry.shippingCallbackFactory()\n)\n\nexport default dispatcher\n","'use strict'\n\nconst uuid = require('../domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n","'use strict';\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nconst mask = (source, mask, output, offset, length) => {\n for (var i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n};\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nconst unmask = (buffer, mask) => {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (var i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n};\n\nmodule.exports = { mask, unmask };\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","/**\n * Module dependencies.\n */\n\nvar crypto = require('crypto');\n\n/**\n * Sign the given `val` with `secret`.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String}\n * @api private\n */\n\nexports.sign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Cookie value must be provided as a string.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n return val + '.' + crypto\n .createHmac('sha256', secret)\n .update(val)\n .digest('base64')\n .replace(/\\=+$/, '');\n};\n\n/**\n * Unsign and decode the given `val` with `secret`,\n * returning `false` if the signature is invalid.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String|Boolean}\n * @api private\n */\n\nexports.unsign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Signed cookie string must be provided.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n var str = val.slice(0, val.lastIndexOf('.'))\n , mac = exports.sign(str, secret);\n \n return sha1(mac) == sha1(val) ? str : false;\n};\n\n/**\n * Private\n */\n\nfunction sha1(str){\n return crypto.createHash('sha1').update(str).digest('hex');\n}\n","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var pairs = str.split(';')\n var dec = opt.decode || decode;\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var index = pair.indexOf('=')\n\n // skip things that don't look like key=value\n if (index < 0) {\n continue;\n }\n\n var key = pair.substring(0, index).trim()\n\n // only assign once\n if (undefined == obj[key]) {\n var val = pair.substring(index + 1, pair.length).trim()\n\n // quoted values\n if (val[0] === '\"') {\n val = val.slice(1, -1)\n }\n\n obj[key] = tryDecode(val, dec);\n }\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.exec');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n","require('../../modules/es7.array.flat-map');\nmodule.exports = require('../../modules/_core').Array.flatMap;\n","require('../../modules/es7.array.includes');\nmodule.exports = require('../../modules/_core').Array.includes;\n","require('../../modules/es7.object.entries');\nmodule.exports = require('../../modules/_core').Object.entries;\n","require('../../modules/es7.object.get-own-property-descriptors');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;\n","require('../../modules/es7.object.values');\nmodule.exports = require('../../modules/_core').Object.values;\n","'use strict';\nrequire('../../modules/es6.promise');\nrequire('../../modules/es7.promise.finally');\nmodule.exports = require('../../modules/_core').Promise['finally'];\n","require('../../modules/es7.string.pad-end');\nmodule.exports = require('../../modules/_core').String.padEnd;\n","require('../../modules/es7.string.pad-start');\nmodule.exports = require('../../modules/_core').String.padStart;\n","require('../../modules/es7.string.trim-right');\nmodule.exports = require('../../modules/_core').String.trimRight;\n","require('../../modules/es7.string.trim-left');\nmodule.exports = require('../../modules/_core').String.trimLeft;\n","require('../../modules/es7.symbol.async-iterator');\nmodule.exports = require('../../modules/_wks-ext').f('asyncIterator');\n","require('../modules/es7.global');\nmodule.exports = require('../modules/_core').global;\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/tc39/proposal-global\nvar $export = require('./_export');\n\n$export($export.G, { global: require('./_global') });\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = require('./_is-array');\nvar isObject = require('./_is-object');\nvar toLength = require('./_to-length');\nvar ctx = require('./_ctx');\nvar IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toInteger(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length!');\n return length;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nif (require('./_descriptors')) {\n var LIBRARY = require('./_library');\n var global = require('./_global');\n var fails = require('./_fails');\n var $export = require('./_export');\n var $typed = require('./_typed');\n var $buffer = require('./_typed-buffer');\n var ctx = require('./_ctx');\n var anInstance = require('./_an-instance');\n var propertyDesc = require('./_property-desc');\n var hide = require('./_hide');\n var redefineAll = require('./_redefine-all');\n var toInteger = require('./_to-integer');\n var toLength = require('./_to-length');\n var toIndex = require('./_to-index');\n var toAbsoluteIndex = require('./_to-absolute-index');\n var toPrimitive = require('./_to-primitive');\n var has = require('./_has');\n var classof = require('./_classof');\n var isObject = require('./_is-object');\n var toObject = require('./_to-object');\n var isArrayIter = require('./_is-array-iter');\n var create = require('./_object-create');\n var getPrototypeOf = require('./_object-gpo');\n var gOPN = require('./_object-gopn').f;\n var getIterFn = require('./core.get-iterator-method');\n var uid = require('./_uid');\n var wks = require('./_wks');\n var createArrayMethod = require('./_array-methods');\n var createArrayIncludes = require('./_array-includes');\n var speciesConstructor = require('./_species-constructor');\n var ArrayIterators = require('./es6.array.iterator');\n var Iterators = require('./_iterators');\n var $iterDetect = require('./_iter-detect');\n var setSpecies = require('./_set-species');\n var arrayFill = require('./_array-fill');\n var arrayCopyWithin = require('./_array-copy-within');\n var $DP = require('./_object-dp');\n var $GOPD = require('./_object-gopd');\n var dP = $DP.f;\n var gOPD = $GOPD.f;\n var RangeError = global.RangeError;\n var TypeError = global.TypeError;\n var Uint8Array = global.Uint8Array;\n var ARRAY_BUFFER = 'ArrayBuffer';\n var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n var PROTOTYPE = 'prototype';\n var ArrayProto = Array[PROTOTYPE];\n var $ArrayBuffer = $buffer.ArrayBuffer;\n var $DataView = $buffer.DataView;\n var arrayForEach = createArrayMethod(0);\n var arrayFilter = createArrayMethod(2);\n var arraySome = createArrayMethod(3);\n var arrayEvery = createArrayMethod(4);\n var arrayFind = createArrayMethod(5);\n var arrayFindIndex = createArrayMethod(6);\n var arrayIncludes = createArrayIncludes(true);\n var arrayIndexOf = createArrayIncludes(false);\n var arrayValues = ArrayIterators.values;\n var arrayKeys = ArrayIterators.keys;\n var arrayEntries = ArrayIterators.entries;\n var arrayLastIndexOf = ArrayProto.lastIndexOf;\n var arrayReduce = ArrayProto.reduce;\n var arrayReduceRight = ArrayProto.reduceRight;\n var arrayJoin = ArrayProto.join;\n var arraySort = ArrayProto.sort;\n var arraySlice = ArrayProto.slice;\n var arrayToString = ArrayProto.toString;\n var arrayToLocaleString = ArrayProto.toLocaleString;\n var ITERATOR = wks('iterator');\n var TAG = wks('toStringTag');\n var TYPED_CONSTRUCTOR = uid('typed_constructor');\n var DEF_CONSTRUCTOR = uid('def_constructor');\n var ALL_CONSTRUCTORS = $typed.CONSTR;\n var TYPED_ARRAY = $typed.TYPED;\n var VIEW = $typed.VIEW;\n var WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function (O, length) {\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function () {\n // eslint-disable-next-line no-undef\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n new Uint8Array(1).set({});\n });\n\n var toOffset = function (it, BYTES) {\n var offset = toInteger(it);\n if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function (it) {\n if (isObject(it) && TYPED_ARRAY in it) return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function (C, length) {\n if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function (O, list) {\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function (C, list) {\n var index = 0;\n var length = list.length;\n var result = allocate(C, length);\n while (length > index) result[index] = list[index++];\n return result;\n };\n\n var addGetter = function (it, key, internal) {\n dP(it, key, { get: function () { return this._d[internal]; } });\n };\n\n var $from = function from(source /* , mapfn, thisArg */) {\n var O = toObject(source);\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iterFn = getIterFn(O);\n var i, length, values, result, step, iterator;\n if (iterFn != undefined && !isArrayIter(iterFn)) {\n for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n values.push(step.value);\n } O = values;\n }\n if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = allocate(this, length);\n while (length > index) result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /* , end */) {\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /* , thisArg */) {\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /* , thisArg */) {\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /* , thisArg */) {\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /* , thisArg */) {\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /* , thisArg */) {\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /* , fromIndex */) {\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /* , fromIndex */) {\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator) { // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /* , thisArg */) {\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse() {\n var that = this;\n var length = validate(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /* , thisArg */) {\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn) {\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end) {\n var O = validate(this);\n var length = O.length;\n var $begin = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end) {\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /* , offset */) {\n validate(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError(WRONG_LENGTH);\n while (index < len) this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries() {\n return arrayEntries.call(validate(this));\n },\n keys: function keys() {\n return arrayKeys.call(validate(this));\n },\n values: function values() {\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function (target, key) {\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key) {\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc) {\n if (isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ) {\n target[key] = desc.value;\n return target;\n } return dP(target, key, desc);\n };\n\n if (!ALL_CONSTRUCTORS) {\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if (fails(function () { arrayToString.call({}); })) {\n arrayToString = arrayToLocaleString = function toString() {\n return arrayJoin.call(this);\n };\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function () { /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function () { return this[TYPED_ARRAY]; }\n });\n\n // eslint-disable-next-line max-statements\n module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + KEY;\n var SETTER = 'set' + KEY;\n var TypedArray = global[NAME];\n var Base = TypedArray || {};\n var TAC = TypedArray && getPrototypeOf(TypedArray);\n var FORCED = !TypedArray || !$typed.ABV;\n var O = {};\n var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function (that, index) {\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function (that, index, value) {\n var data = that._d;\n if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function (that, index) {\n dP(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (FORCED) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0;\n var offset = 0;\n var buffer, byteLength, length, klass;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (TYPED_ARRAY in data) {\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if (!fails(function () {\n TypedArray(1);\n }) || !fails(function () {\n new TypedArray(-1); // eslint-disable-line no-new\n }) || !$iterDetect(function (iter) {\n new TypedArray(); // eslint-disable-line no-new\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(1.5); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if (!isObject(data)) return new Base(toIndex(data));\n if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR];\n var CORRECT_ITER_NAME = !!$nativeIterator\n && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n var $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n dP(TypedArrayPrototype, TAG, {\n get: function () { return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES\n });\n\n $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n from: $from,\n of: $of\n });\n\n if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n $export($export.P + $export.F * fails(function () {\n new TypedArray(1).slice();\n }), NAME, { slice: $slice });\n\n $export($export.P + $export.F * (fails(function () {\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n }) || !fails(function () {\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, { toLocaleString: $toLocaleString });\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\nvar global = require('./_global');\nvar DESCRIPTORS = require('./_descriptors');\nvar LIBRARY = require('./_library');\nvar $typed = require('./_typed');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar fails = require('./_fails');\nvar anInstance = require('./_an-instance');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar toIndex = require('./_to-index');\nvar gOPN = require('./_object-gopn').f;\nvar dP = require('./_object-dp').f;\nvar arrayFill = require('./_array-fill');\nvar setToStringTag = require('./_set-to-string-tag');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n var buffer = new Array(nBytes);\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var i = 0;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n var e, m, c;\n value = abs(value);\n // eslint-disable-next-line no-self-compare\n if (value != value || value === Infinity) {\n // eslint-disable-next-line no-self-compare\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if (value * (c = pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = eLen - 7;\n var i = nBytes - 1;\n var s = buffer[i--];\n var e = s & 127;\n var m;\n s >>= 7;\n for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n return [it & 0xff];\n}\nfunction packI16(it) {\n return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = conversion(+value);\n for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n var byteLength = toIndex(length);\n this._b = arrayFill.call(new Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH];\n var offset = toInteger(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if (!fails(function () {\n $ArrayBuffer(1);\n }) || !fails(function () {\n new $ArrayBuffer(-1); // eslint-disable-line no-new\n }) || fails(function () {\n new $ArrayBuffer(); // eslint-disable-line no-new\n new $ArrayBuffer(1.5); // eslint-disable-line no-new\n new $ArrayBuffer(NaN); // eslint-disable-line no-new\n return $ArrayBuffer.name != ARRAY_BUFFER;\n })) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer);\n return new BaseBuffer(toIndex(length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n }\n if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar uid = require('./_uid');\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n if (Typed = global[TypedArrayConstructors[i++]]) {\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","require('./_set-species')('Array');\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar $typed = require('./_typed');\nvar buffer = require('./_typed-buffer');\nvar anObject = require('./_an-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar isObject = require('./_is-object');\nvar ArrayBuffer = require('./_global').ArrayBuffer;\nvar speciesConstructor = require('./_species-constructor');\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it) {\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function () {\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end) {\n if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, len);\n var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n var viewS = new $DataView(this);\n var viewT = new $DataView(result);\n var index = 0;\n while (first < fin) {\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n","require('./_typed-array')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar weak = require('./_collection-weak');\nvar validate = require('./_validate-collection');\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\nrequire('./_collection')(WEAK_SET, function (get) {\n return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return weak.def(validate(this, WEAK_SET), value, true);\n }\n}, weak, false, true);\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = require('./_export');\nvar flattenIntoArray = require('./_flatten-into-array');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar aFunction = require('./_a-function');\nvar arraySpeciesCreate = require('./_array-species-create');\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\nrequire('./_add-to-unscopables')('flatMap');\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function ($trim) {\n return function trimLeft() {\n return $trim(this, 1);\n };\n}, 'trimStart');\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function ($trim) {\n return function trimRight() {\n return $trim(this, 2);\n };\n}, 'trimEnd');\n","require('./_wks-define')('asyncIterator');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var $export = require('./_export');\nvar $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global');\nvar $export = require('./_export');\nvar userAgent = require('./_user-agent');\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n return function (fn, time /* , ...args */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : false;\n return set(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n } : fn, time);\n };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n","require('../modules/web.timers');\nrequire('../modules/web.immediate');\nrequire('../modules/web.dom.iterable');\nmodule.exports = require('../modules/_core');\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","/*!\n * depd\n * Copyright(c) 2014-2018 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\n\nvar relative = require('path').relative\n\n/**\n * Module exports.\n */\n\nmodule.exports = depd\n\n/**\n * Get the path to base files on.\n */\n\nvar basePath = process.cwd()\n\n/**\n * Determine if namespace is contained in the string.\n */\n\nfunction containsNamespace (str, namespace) {\n var vals = str.split(/[ ,]+/)\n var ns = String(namespace).toLowerCase()\n\n for (var i = 0; i < vals.length; i++) {\n var val = vals[i]\n\n // namespace contained\n if (val && (val === '*' || val.toLowerCase() === ns)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Convert a data descriptor to accessor descriptor.\n */\n\nfunction convertDataDescriptorToAccessor (obj, prop, message) {\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n var value = descriptor.value\n\n descriptor.get = function getter () { return value }\n\n if (descriptor.writable) {\n descriptor.set = function setter (val) { return (value = val) }\n }\n\n delete descriptor.value\n delete descriptor.writable\n\n Object.defineProperty(obj, prop, descriptor)\n\n return descriptor\n}\n\n/**\n * Create arguments string to keep arity.\n */\n\nfunction createArgumentsString (arity) {\n var str = ''\n\n for (var i = 0; i < arity; i++) {\n str += ', arg' + i\n }\n\n return str.substr(2)\n}\n\n/**\n * Create stack string from stack.\n */\n\nfunction createStackString (stack) {\n var str = this.name + ': ' + this.namespace\n\n if (this.message) {\n str += ' deprecated ' + this.message\n }\n\n for (var i = 0; i < stack.length; i++) {\n str += '\\n at ' + stack[i].toString()\n }\n\n return str\n}\n\n/**\n * Create deprecate for namespace in caller.\n */\n\nfunction depd (namespace) {\n if (!namespace) {\n throw new TypeError('argument namespace is required')\n }\n\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n var file = site[0]\n\n function deprecate (message) {\n // call to self as log\n log.call(deprecate, message)\n }\n\n deprecate._file = file\n deprecate._ignored = isignored(namespace)\n deprecate._namespace = namespace\n deprecate._traced = istraced(namespace)\n deprecate._warned = Object.create(null)\n\n deprecate.function = wrapfunction\n deprecate.property = wrapproperty\n\n return deprecate\n}\n\n/**\n * Determine if event emitter has listeners of a given type.\n *\n * The way to do this check is done three different ways in Node.js >= 0.8\n * so this consolidates them into a minimal set using instance methods.\n *\n * @param {EventEmitter} emitter\n * @param {string} type\n * @returns {boolean}\n * @private\n */\n\nfunction eehaslisteners (emitter, type) {\n var count = typeof emitter.listenerCount !== 'function'\n ? emitter.listeners(type).length\n : emitter.listenerCount(type)\n\n return count > 0\n}\n\n/**\n * Determine if namespace is ignored.\n */\n\nfunction isignored (namespace) {\n if (process.noDeprecation) {\n // --no-deprecation support\n return true\n }\n\n var str = process.env.NO_DEPRECATION || ''\n\n // namespace ignored\n return containsNamespace(str, namespace)\n}\n\n/**\n * Determine if namespace is traced.\n */\n\nfunction istraced (namespace) {\n if (process.traceDeprecation) {\n // --trace-deprecation support\n return true\n }\n\n var str = process.env.TRACE_DEPRECATION || ''\n\n // namespace traced\n return containsNamespace(str, namespace)\n}\n\n/**\n * Display deprecation message.\n */\n\nfunction log (message, site) {\n var haslisteners = eehaslisteners(process, 'deprecation')\n\n // abort early if no destination\n if (!haslisteners && this._ignored) {\n return\n }\n\n var caller\n var callFile\n var callSite\n var depSite\n var i = 0\n var seen = false\n var stack = getStack()\n var file = this._file\n\n if (site) {\n // provided site\n depSite = site\n callSite = callSiteLocation(stack[1])\n callSite.name = depSite.name\n file = callSite[0]\n } else {\n // get call site\n i = 2\n depSite = callSiteLocation(stack[i])\n callSite = depSite\n }\n\n // get caller of deprecated thing in relation to file\n for (; i < stack.length; i++) {\n caller = callSiteLocation(stack[i])\n callFile = caller[0]\n\n if (callFile === file) {\n seen = true\n } else if (callFile === this._file) {\n file = this._file\n } else if (seen) {\n break\n }\n }\n\n var key = caller\n ? depSite.join(':') + '__' + caller.join(':')\n : undefined\n\n if (key !== undefined && key in this._warned) {\n // already warned\n return\n }\n\n this._warned[key] = true\n\n // generate automatic message from call site\n var msg = message\n if (!msg) {\n msg = callSite === depSite || !callSite.name\n ? defaultMessage(depSite)\n : defaultMessage(callSite)\n }\n\n // emit deprecation if listeners exist\n if (haslisteners) {\n var err = DeprecationError(this._namespace, msg, stack.slice(i))\n process.emit('deprecation', err)\n return\n }\n\n // format and write message\n var format = process.stderr.isTTY\n ? formatColor\n : formatPlain\n var output = format.call(this, msg, caller, stack.slice(i))\n process.stderr.write(output + '\\n', 'utf8')\n}\n\n/**\n * Get call site location as array.\n */\n\nfunction callSiteLocation (callSite) {\n var file = callSite.getFileName() || ''\n var line = callSite.getLineNumber()\n var colm = callSite.getColumnNumber()\n\n if (callSite.isEval()) {\n file = callSite.getEvalOrigin() + ', ' + file\n }\n\n var site = [file, line, colm]\n\n site.callSite = callSite\n site.name = callSite.getFunctionName()\n\n return site\n}\n\n/**\n * Generate a default message from the site.\n */\n\nfunction defaultMessage (site) {\n var callSite = site.callSite\n var funcName = site.name\n\n // make useful anonymous name\n if (!funcName) {\n funcName = ''\n }\n\n var context = callSite.getThis()\n var typeName = context && callSite.getTypeName()\n\n // ignore useless type name\n if (typeName === 'Object') {\n typeName = undefined\n }\n\n // make useful type name\n if (typeName === 'Function') {\n typeName = context.name || typeName\n }\n\n return typeName && callSite.getMethodName()\n ? typeName + '.' + funcName\n : funcName\n}\n\n/**\n * Format deprecation message without color.\n */\n\nfunction formatPlain (msg, caller, stack) {\n var timestamp = new Date().toUTCString()\n\n var formatted = timestamp +\n ' ' + this._namespace +\n ' deprecated ' + msg\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n at ' + stack[i].toString()\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' at ' + formatLocation(caller)\n }\n\n return formatted\n}\n\n/**\n * Format deprecation message with color.\n */\n\nfunction formatColor (msg, caller, stack) {\n var formatted = '\\x1b[36;1m' + this._namespace + '\\x1b[22;39m' + // bold cyan\n ' \\x1b[33;1mdeprecated\\x1b[22;39m' + // bold yellow\n ' \\x1b[0m' + msg + '\\x1b[39m' // reset\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n \\x1b[36mat ' + stack[i].toString() + '\\x1b[39m' // cyan\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' \\x1b[36m' + formatLocation(caller) + '\\x1b[39m' // cyan\n }\n\n return formatted\n}\n\n/**\n * Format call site location.\n */\n\nfunction formatLocation (callSite) {\n return relative(basePath, callSite[0]) +\n ':' + callSite[1] +\n ':' + callSite[2]\n}\n\n/**\n * Get the stack as array of call sites.\n */\n\nfunction getStack () {\n var limit = Error.stackTraceLimit\n var obj = {}\n var prep = Error.prepareStackTrace\n\n Error.prepareStackTrace = prepareObjectStackTrace\n Error.stackTraceLimit = Math.max(10, limit)\n\n // capture the stack\n Error.captureStackTrace(obj)\n\n // slice this function off the top\n var stack = obj.stack.slice(1)\n\n Error.prepareStackTrace = prep\n Error.stackTraceLimit = limit\n\n return stack\n}\n\n/**\n * Capture call site stack from v8.\n */\n\nfunction prepareObjectStackTrace (obj, stack) {\n return stack\n}\n\n/**\n * Return a wrapped function in a deprecation message.\n */\n\nfunction wrapfunction (fn, message) {\n if (typeof fn !== 'function') {\n throw new TypeError('argument fn must be a function')\n }\n\n var args = createArgumentsString(fn.length)\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n site.name = fn.name\n\n // eslint-disable-next-line no-new-func\n var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site',\n '\"use strict\"\\n' +\n 'return function (' + args + ') {' +\n 'log.call(deprecate, message, site)\\n' +\n 'return fn.apply(this, arguments)\\n' +\n '}')(fn, log, this, message, site)\n\n return deprecatedfn\n}\n\n/**\n * Wrap property in a deprecation message.\n */\n\nfunction wrapproperty (obj, prop, message) {\n if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n throw new TypeError('argument obj must be object')\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n\n if (!descriptor) {\n throw new TypeError('must call property on owner object')\n }\n\n if (!descriptor.configurable) {\n throw new TypeError('property must be configurable')\n }\n\n var deprecate = this\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n // set site name\n site.name = prop\n\n // convert data descriptor\n if ('value' in descriptor) {\n descriptor = convertDataDescriptorToAccessor(obj, prop, message)\n }\n\n var get = descriptor.get\n var set = descriptor.set\n\n // wrap getter\n if (typeof get === 'function') {\n descriptor.get = function getter () {\n log.call(deprecate, message, site)\n return get.apply(this, arguments)\n }\n }\n\n // wrap setter\n if (typeof set === 'function') {\n descriptor.set = function setter () {\n log.call(deprecate, message, site)\n return set.apply(this, arguments)\n }\n }\n\n Object.defineProperty(obj, prop, descriptor)\n}\n\n/**\n * Create DeprecationError for deprecation\n */\n\nfunction DeprecationError (namespace, message, stack) {\n var error = new Error()\n var stackString\n\n Object.defineProperty(error, 'constructor', {\n value: DeprecationError\n })\n\n Object.defineProperty(error, 'message', {\n configurable: true,\n enumerable: false,\n value: message,\n writable: true\n })\n\n Object.defineProperty(error, 'name', {\n enumerable: false,\n configurable: true,\n value: 'DeprecationError',\n writable: true\n })\n\n Object.defineProperty(error, 'namespace', {\n configurable: true,\n enumerable: false,\n value: namespace,\n writable: true\n })\n\n Object.defineProperty(error, 'stack', {\n configurable: true,\n enumerable: false,\n get: function () {\n if (stackString !== undefined) {\n return stackString\n }\n\n // prepare stack trace\n return (stackString = createStackString.call(this, stack))\n },\n set: function setter (val) {\n stackString = val\n }\n })\n\n return error\n}\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","const fs = require('fs')\nconst path = require('path')\nconst os = require('os')\nconst packageJson = require('../package.json')\n\nconst version = packageJson.version\n\nconst LINE = /(?:^|^)\\s*(?:export\\s+)?([\\w.-]+)(?:\\s*=\\s*?|:\\s+?)(\\s*'(?:\\\\'|[^'])*'|\\s*\"(?:\\\\\"|[^\"])*\"|\\s*`(?:\\\\`|[^`])*`|[^#\\r\\n]+)?\\s*(?:#.*)?(?:$|$)/mg\n\n// Parser src into an Object\nfunction parse (src) {\n const obj = {}\n\n // Convert buffer to string\n let lines = src.toString()\n\n // Convert line breaks to same format\n lines = lines.replace(/\\r\\n?/mg, '\\n')\n\n let match\n while ((match = LINE.exec(lines)) != null) {\n const key = match[1]\n\n // Default undefined or null to empty string\n let value = (match[2] || '')\n\n // Remove whitespace\n value = value.trim()\n\n // Check if double quoted\n const maybeQuote = value[0]\n\n // Remove surrounding quotes\n value = value.replace(/^(['\"`])([\\s\\S]*)\\1$/mg, '$2')\n\n // Expand newlines if double quoted\n if (maybeQuote === '\"') {\n value = value.replace(/\\\\n/g, '\\n')\n value = value.replace(/\\\\r/g, '\\r')\n }\n\n // Add to object\n obj[key] = value\n }\n\n return obj\n}\n\nfunction _log (message) {\n console.log(`[dotenv@${version}][DEBUG] ${message}`)\n}\n\nfunction _resolveHome (envPath) {\n return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath\n}\n\n// Populates process.env from .env file\nfunction config (options) {\n let dotenvPath = path.resolve(process.cwd(), '.env')\n let encoding = 'utf8'\n const debug = Boolean(options && options.debug)\n const override = Boolean(options && options.override)\n\n if (options) {\n if (options.path != null) {\n dotenvPath = _resolveHome(options.path)\n }\n if (options.encoding != null) {\n encoding = options.encoding\n }\n }\n\n try {\n // Specifying an encoding returns a string instead of a buffer\n const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding }))\n\n Object.keys(parsed).forEach(function (key) {\n if (!Object.prototype.hasOwnProperty.call(process.env, key)) {\n process.env[key] = parsed[key]\n } else {\n if (override === true) {\n process.env[key] = parsed[key]\n }\n\n if (debug) {\n if (override === true) {\n _log(`\"${key}\" is already defined in \\`process.env\\` and WAS overwritten`)\n } else {\n _log(`\"${key}\" is already defined in \\`process.env\\` and was NOT overwritten`)\n }\n }\n }\n })\n\n return { parsed }\n } catch (e) {\n if (debug) {\n _log(`Failed to load ${dotenvPath} ${e.message}`)\n }\n\n return { error: e }\n }\n}\n\nconst DotenvModule = {\n config,\n parse\n}\n\nmodule.exports.config = DotenvModule.config\nmodule.exports.parse = DotenvModule.parse\nmodule.exports = DotenvModule\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar cookie = require('cookie');\nvar crypto = require('crypto')\nvar debug = require('debug')('express-session');\nvar deprecate = require('depd')('express-session');\nvar onHeaders = require('on-headers')\nvar parseUrl = require('parseurl');\nvar signature = require('cookie-signature')\nvar uid = require('uid-safe').sync\n\nvar Cookie = require('./session/cookie')\nvar MemoryStore = require('./session/memory')\nvar Session = require('./session/session')\nvar Store = require('./session/store')\n\n// environment\n\nvar env = process.env.NODE_ENV;\n\n/**\n * Expose the middleware.\n */\n\nexports = module.exports = session;\n\n/**\n * Expose constructors.\n */\n\nexports.Store = Store;\nexports.Cookie = Cookie;\nexports.Session = Session;\nexports.MemoryStore = MemoryStore;\n\n/**\n * Warning message for `MemoryStore` usage in production.\n * @private\n */\n\nvar warning = 'Warning: connect.session() MemoryStore is not\\n'\n + 'designed for a production environment, as it will leak\\n'\n + 'memory, and will not scale past a single process.';\n\n/**\n * Node.js 0.8+ async implementation.\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Setup session store with the given `options`.\n *\n * @param {Object} [options]\n * @param {Object} [options.cookie] Options for cookie\n * @param {Function} [options.genid]\n * @param {String} [options.name=connect.sid] Session ID cookie name\n * @param {Boolean} [options.proxy]\n * @param {Boolean} [options.resave] Resave unmodified sessions back to the store\n * @param {Boolean} [options.rolling] Enable/disable rolling session expiration\n * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store\n * @param {String|Array} [options.secret] Secret for signing session ID\n * @param {Object} [options.store=MemoryStore] Session store\n * @param {String} [options.unset]\n * @return {Function} middleware\n * @public\n */\n\nfunction session(options) {\n var opts = options || {}\n\n // get the cookie options\n var cookieOptions = opts.cookie || {}\n\n // get the session id generate function\n var generateId = opts.genid || generateSessionId\n\n // get the session cookie name\n var name = opts.name || opts.key || 'connect.sid'\n\n // get the session store\n var store = opts.store || new MemoryStore()\n\n // get the trust proxy setting\n var trustProxy = opts.proxy\n\n // get the resave session option\n var resaveSession = opts.resave;\n\n // get the rolling session option\n var rollingSessions = Boolean(opts.rolling)\n\n // get the save uninitialized session option\n var saveUninitializedSession = opts.saveUninitialized\n\n // get the cookie signing secret\n var secret = opts.secret\n\n if (typeof generateId !== 'function') {\n throw new TypeError('genid option must be a function');\n }\n\n if (resaveSession === undefined) {\n deprecate('undefined resave option; provide resave option');\n resaveSession = true;\n }\n\n if (saveUninitializedSession === undefined) {\n deprecate('undefined saveUninitialized option; provide saveUninitialized option');\n saveUninitializedSession = true;\n }\n\n if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') {\n throw new TypeError('unset option must be \"destroy\" or \"keep\"');\n }\n\n // TODO: switch to \"destroy\" on next major\n var unsetDestroy = opts.unset === 'destroy'\n\n if (Array.isArray(secret) && secret.length === 0) {\n throw new TypeError('secret option array must contain one or more strings');\n }\n\n if (secret && !Array.isArray(secret)) {\n secret = [secret];\n }\n\n if (!secret) {\n deprecate('req.secret; provide secret option');\n }\n\n // notify user that this store is not\n // meant for a production environment\n /* istanbul ignore next: not tested */\n if (env === 'production' && store instanceof MemoryStore) {\n console.warn(warning);\n }\n\n // generates the new session\n store.generate = function(req){\n req.sessionID = generateId(req);\n req.session = new Session(req);\n req.session.cookie = new Cookie(cookieOptions);\n\n if (cookieOptions.secure === 'auto') {\n req.session.cookie.secure = issecure(req, trustProxy);\n }\n };\n\n var storeImplementsTouch = typeof store.touch === 'function';\n\n // register event listeners for the store to track readiness\n var storeReady = true\n store.on('disconnect', function ondisconnect() {\n storeReady = false\n })\n store.on('connect', function onconnect() {\n storeReady = true\n })\n\n return function session(req, res, next) {\n // self-awareness\n if (req.session) {\n next()\n return\n }\n\n // Handle connection as if there is no session if\n // the store has temporarily disconnected etc\n if (!storeReady) {\n debug('store is disconnected')\n next()\n return\n }\n\n // pathname mismatch\n var originalPath = parseUrl.original(req).pathname || '/'\n if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next();\n\n // ensure a secret is available or bail\n if (!secret && !req.secret) {\n next(new Error('secret option required for sessions'));\n return;\n }\n\n // backwards compatibility for signed cookies\n // req.secret is passed from the cookie parser middleware\n var secrets = secret || [req.secret];\n\n var originalHash;\n var originalId;\n var savedHash;\n var touched = false\n\n // expose store\n req.sessionStore = store;\n\n // get the session ID from the cookie\n var cookieId = req.sessionID = getcookie(req, name, secrets);\n\n // set-cookie\n onHeaders(res, function(){\n if (!req.session) {\n debug('no session');\n return;\n }\n\n if (!shouldSetCookie(req)) {\n return;\n }\n\n // only send secure cookies via https\n if (req.session.cookie.secure && !issecure(req, trustProxy)) {\n debug('not secured');\n return;\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n // set cookie\n setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data);\n });\n\n // proxy end() to commit the session\n var _end = res.end;\n var _write = res.write;\n var ended = false;\n res.end = function end(chunk, encoding) {\n if (ended) {\n return false;\n }\n\n ended = true;\n\n var ret;\n var sync = true;\n\n function writeend() {\n if (sync) {\n ret = _end.call(res, chunk, encoding);\n sync = false;\n return;\n }\n\n _end.call(res);\n }\n\n function writetop() {\n if (!sync) {\n return ret;\n }\n\n if (!res._header) {\n res._implicitHeader()\n }\n\n if (chunk == null) {\n ret = true;\n return ret;\n }\n\n var contentLength = Number(res.getHeader('Content-Length'));\n\n if (!isNaN(contentLength) && contentLength > 0) {\n // measure chunk\n chunk = !Buffer.isBuffer(chunk)\n ? Buffer.from(chunk, encoding)\n : chunk;\n encoding = undefined;\n\n if (chunk.length !== 0) {\n debug('split response');\n ret = _write.call(res, chunk.slice(0, chunk.length - 1));\n chunk = chunk.slice(chunk.length - 1, chunk.length);\n return ret;\n }\n }\n\n ret = _write.call(res, chunk, encoding);\n sync = false;\n\n return ret;\n }\n\n if (shouldDestroy(req)) {\n // destroy session\n debug('destroying');\n store.destroy(req.sessionID, function ondestroy(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('destroyed');\n writeend();\n });\n\n return writetop();\n }\n\n // no session to save\n if (!req.session) {\n debug('no session');\n return _end.call(res, chunk, encoding);\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n if (shouldSave(req)) {\n req.session.save(function onsave(err) {\n if (err) {\n defer(next, err);\n }\n\n writeend();\n });\n\n return writetop();\n } else if (storeImplementsTouch && shouldTouch(req)) {\n // store implements touch method\n debug('touching');\n store.touch(req.sessionID, req.session, function ontouch(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('touched');\n writeend();\n });\n\n return writetop();\n }\n\n return _end.call(res, chunk, encoding);\n };\n\n // generate the session\n function generate() {\n store.generate(req);\n originalId = req.sessionID;\n originalHash = hash(req.session);\n wrapmethods(req.session);\n }\n\n // inflate the session\n function inflate (req, sess) {\n store.createSession(req, sess)\n originalId = req.sessionID\n originalHash = hash(sess)\n\n if (!resaveSession) {\n savedHash = originalHash\n }\n\n wrapmethods(req.session)\n }\n\n function rewrapmethods (sess, callback) {\n return function () {\n if (req.session !== sess) {\n wrapmethods(req.session)\n }\n\n callback.apply(this, arguments)\n }\n }\n\n // wrap session methods\n function wrapmethods(sess) {\n var _reload = sess.reload\n var _save = sess.save;\n\n function reload(callback) {\n debug('reloading %s', this.id)\n _reload.call(this, rewrapmethods(this, callback))\n }\n\n function save() {\n debug('saving %s', this.id);\n savedHash = hash(this);\n _save.apply(this, arguments);\n }\n\n Object.defineProperty(sess, 'reload', {\n configurable: true,\n enumerable: false,\n value: reload,\n writable: true\n })\n\n Object.defineProperty(sess, 'save', {\n configurable: true,\n enumerable: false,\n value: save,\n writable: true\n });\n }\n\n // check if session has been modified\n function isModified(sess) {\n return originalId !== sess.id || originalHash !== hash(sess);\n }\n\n // check if session has been saved\n function isSaved(sess) {\n return originalId === sess.id && savedHash === hash(sess);\n }\n\n // determine if session should be destroyed\n function shouldDestroy(req) {\n return req.sessionID && unsetDestroy && req.session == null;\n }\n\n // determine if session should be saved to store\n function shouldSave(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID\n ? isModified(req.session)\n : !isSaved(req.session)\n }\n\n // determine if session should be touched\n function shouldTouch(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return cookieId === req.sessionID && !shouldSave(req);\n }\n\n // determine if cookie should be set on response\n function shouldSetCookie(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n return false;\n }\n\n return cookieId !== req.sessionID\n ? saveUninitializedSession || isModified(req.session)\n : rollingSessions || req.session.cookie.expires != null && isModified(req.session);\n }\n\n // generate a session if the browser doesn't send a sessionID\n if (!req.sessionID) {\n debug('no SID sent, generating session');\n generate();\n next();\n return;\n }\n\n // generate the session object\n debug('fetching %s', req.sessionID);\n store.get(req.sessionID, function(err, sess){\n // error handling\n if (err && err.code !== 'ENOENT') {\n debug('error %j', err);\n next(err)\n return\n }\n\n try {\n if (err || !sess) {\n debug('no session found')\n generate()\n } else {\n debug('session found')\n inflate(req, sess)\n }\n } catch (e) {\n next(e)\n return\n }\n\n next()\n });\n };\n};\n\n/**\n * Generate a session ID for a new session.\n *\n * @return {String}\n * @private\n */\n\nfunction generateSessionId(sess) {\n return uid(24);\n}\n\n/**\n * Get the session ID cookie from request.\n *\n * @return {string}\n * @private\n */\n\nfunction getcookie(req, name, secrets) {\n var header = req.headers.cookie;\n var raw;\n var val;\n\n // read from cookie header\n if (header) {\n var cookies = cookie.parse(header);\n\n raw = cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n // back-compat read from cookieParser() signedCookies data\n if (!val && req.signedCookies) {\n val = req.signedCookies[name];\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n }\n\n // back-compat read from cookieParser() cookies data\n if (!val && req.cookies) {\n raw = req.cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n return val;\n}\n\n/**\n * Hash the given `sess` object omitting changes to `.cookie`.\n *\n * @param {Object} sess\n * @return {String}\n * @private\n */\n\nfunction hash(sess) {\n // serialize\n var str = JSON.stringify(sess, function (key, val) {\n // ignore sess.cookie property\n if (this === sess && key === 'cookie') {\n return\n }\n\n return val\n })\n\n // hash\n return crypto\n .createHash('sha1')\n .update(str, 'utf8')\n .digest('hex')\n}\n\n/**\n * Determine if request is secure.\n *\n * @param {Object} req\n * @param {Boolean} [trustProxy]\n * @return {Boolean}\n * @private\n */\n\nfunction issecure(req, trustProxy) {\n // socket is https server\n if (req.connection && req.connection.encrypted) {\n return true;\n }\n\n // do not trust proxy\n if (trustProxy === false) {\n return false;\n }\n\n // no explicit trust; try req.secure from express\n if (trustProxy !== true) {\n return req.secure === true\n }\n\n // read the proto from x-forwarded-proto header\n var header = req.headers['x-forwarded-proto'] || '';\n var index = header.indexOf(',');\n var proto = index !== -1\n ? header.substr(0, index).toLowerCase().trim()\n : header.toLowerCase().trim()\n\n return proto === 'https';\n}\n\n/**\n * Set cookie on response.\n *\n * @private\n */\n\nfunction setcookie(res, name, val, secret, options) {\n var signed = 's:' + signature.sign(val, secret);\n var data = cookie.serialize(name, signed, options);\n\n debug('set-cookie %s', data);\n\n var prev = res.getHeader('Set-Cookie') || []\n var header = Array.isArray(prev) ? prev.concat(data) : [prev, data];\n\n res.setHeader('Set-Cookie', header)\n}\n\n/**\n * Verify and decode the given `val` with `secrets`.\n *\n * @param {String} val\n * @param {Array} secrets\n * @returns {String|Boolean}\n * @private\n */\nfunction unsigncookie(val, secrets) {\n for (var i = 0; i < secrets.length; i++) {\n var result = signature.unsign(val, secrets[i]);\n\n if (result !== false) {\n return result;\n }\n }\n\n return false;\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/*!\n * Connect - session - Cookie\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar cookie = require('cookie')\nvar deprecate = require('depd')('express-session')\n\n/**\n * Initialize a new `Cookie` with the given `options`.\n *\n * @param {IncomingMessage} req\n * @param {Object} options\n * @api private\n */\n\nvar Cookie = module.exports = function Cookie(options) {\n this.path = '/';\n this.maxAge = null;\n this.httpOnly = true;\n\n if (options) {\n if (typeof options !== 'object') {\n throw new TypeError('argument options must be a object')\n }\n\n for (var key in options) {\n if (key !== 'data') {\n this[key] = options[key]\n }\n }\n }\n\n if (this.originalMaxAge === undefined || this.originalMaxAge === null) {\n this.originalMaxAge = this.maxAge\n }\n};\n\n/*!\n * Prototype.\n */\n\nCookie.prototype = {\n\n /**\n * Set expires `date`.\n *\n * @param {Date} date\n * @api public\n */\n\n set expires(date) {\n this._expires = date;\n this.originalMaxAge = this.maxAge;\n },\n\n /**\n * Get expires `date`.\n *\n * @return {Date}\n * @api public\n */\n\n get expires() {\n return this._expires;\n },\n\n /**\n * Set expires via max-age in `ms`.\n *\n * @param {Number} ms\n * @api public\n */\n\n set maxAge(ms) {\n if (ms && typeof ms !== 'number' && !(ms instanceof Date)) {\n throw new TypeError('maxAge must be a number or Date')\n }\n\n if (ms instanceof Date) {\n deprecate('maxAge as Date; pass number of milliseconds instead')\n }\n\n this.expires = typeof ms === 'number'\n ? new Date(Date.now() + ms)\n : ms;\n },\n\n /**\n * Get expires max-age in `ms`.\n *\n * @return {Number}\n * @api public\n */\n\n get maxAge() {\n return this.expires instanceof Date\n ? this.expires.valueOf() - Date.now()\n : this.expires;\n },\n\n /**\n * Return cookie data object.\n *\n * @return {Object}\n * @api private\n */\n\n get data() {\n return {\n originalMaxAge: this.originalMaxAge\n , expires: this._expires\n , secure: this.secure\n , httpOnly: this.httpOnly\n , domain: this.domain\n , path: this.path\n , sameSite: this.sameSite\n }\n },\n\n /**\n * Return a serialized cookie string.\n *\n * @return {String}\n * @api public\n */\n\n serialize: function(name, val){\n return cookie.serialize(name, val, this.data);\n },\n\n /**\n * Return JSON representation of this cookie.\n *\n * @return {Object}\n * @api private\n */\n\n toJSON: function(){\n return this.data;\n }\n};\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Store = require('./store')\nvar util = require('util')\n\n/**\n * Shim setImmediate for node.js < 0.10\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Module exports.\n */\n\nmodule.exports = MemoryStore\n\n/**\n * A session store in memory.\n * @public\n */\n\nfunction MemoryStore() {\n Store.call(this)\n this.sessions = Object.create(null)\n}\n\n/**\n * Inherit from Store.\n */\n\nutil.inherits(MemoryStore, Store)\n\n/**\n * Get all active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.all = function all(callback) {\n var sessionIds = Object.keys(this.sessions)\n var sessions = Object.create(null)\n\n for (var i = 0; i < sessionIds.length; i++) {\n var sessionId = sessionIds[i]\n var session = getSession.call(this, sessionId)\n\n if (session) {\n sessions[sessionId] = session;\n }\n }\n\n callback && defer(callback, null, sessions)\n}\n\n/**\n * Clear all sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.clear = function clear(callback) {\n this.sessions = Object.create(null)\n callback && defer(callback)\n}\n\n/**\n * Destroy the session associated with the given session ID.\n *\n * @param {string} sessionId\n * @public\n */\n\nMemoryStore.prototype.destroy = function destroy(sessionId, callback) {\n delete this.sessions[sessionId]\n callback && defer(callback)\n}\n\n/**\n * Fetch session by the given session ID.\n *\n * @param {string} sessionId\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.get = function get(sessionId, callback) {\n defer(callback, null, getSession.call(this, sessionId))\n}\n\n/**\n * Commit the given session associated with the given sessionId to the store.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.set = function set(sessionId, session, callback) {\n this.sessions[sessionId] = JSON.stringify(session)\n callback && defer(callback)\n}\n\n/**\n * Get number of active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.length = function length(callback) {\n this.all(function (err, sessions) {\n if (err) return callback(err)\n callback(null, Object.keys(sessions).length)\n })\n}\n\n/**\n * Touch the given session object associated with the given session ID.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.touch = function touch(sessionId, session, callback) {\n var currentSession = getSession.call(this, sessionId)\n\n if (currentSession) {\n // update expiration\n currentSession.cookie = session.cookie\n this.sessions[sessionId] = JSON.stringify(currentSession)\n }\n\n callback && defer(callback)\n}\n\n/**\n * Get session from the store.\n * @private\n */\n\nfunction getSession(sessionId) {\n var sess = this.sessions[sessionId]\n\n if (!sess) {\n return\n }\n\n // parse\n sess = JSON.parse(sess)\n\n if (sess.cookie) {\n var expires = typeof sess.cookie.expires === 'string'\n ? new Date(sess.cookie.expires)\n : sess.cookie.expires\n\n // destroy expired session\n if (expires && expires <= Date.now()) {\n delete this.sessions[sessionId]\n return\n }\n }\n\n return sess\n}\n","/*!\n * Connect - session - Session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Expose Session.\n */\n\nmodule.exports = Session;\n\n/**\n * Create a new `Session` with the given request and `data`.\n *\n * @param {IncomingRequest} req\n * @param {Object} data\n * @api private\n */\n\nfunction Session(req, data) {\n Object.defineProperty(this, 'req', { value: req });\n Object.defineProperty(this, 'id', { value: req.sessionID });\n\n if (typeof data === 'object' && data !== null) {\n // merge data into this, ignoring prototype properties\n for (var prop in data) {\n if (!(prop in this)) {\n this[prop] = data[prop]\n }\n }\n }\n}\n\n/**\n * Update reset `.cookie.maxAge` to prevent\n * the cookie from expiring when the\n * session is still active.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'touch', function touch() {\n return this.resetMaxAge();\n});\n\n/**\n * Reset `.maxAge` to `.originalMaxAge`.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() {\n this.cookie.maxAge = this.cookie.originalMaxAge;\n return this;\n});\n\n/**\n * Save the session data with optional callback `fn(err)`.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'save', function save(fn) {\n this.req.sessionStore.set(this.id, this, fn || function(){});\n return this;\n});\n\n/**\n * Re-loads the session data _without_ altering\n * the maxAge properties. Invokes the callback `fn(err)`,\n * after which time if no exception has occurred the\n * `req.session` property will be a new `Session` object,\n * although representing the same session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'reload', function reload(fn) {\n var req = this.req\n var store = this.req.sessionStore\n\n store.get(this.id, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn(new Error('failed to load session'));\n store.createSession(req, sess);\n fn();\n });\n return this;\n});\n\n/**\n * Destroy `this` session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'destroy', function destroy(fn) {\n delete this.req.session;\n this.req.sessionStore.destroy(this.id, fn);\n return this;\n});\n\n/**\n * Regenerate this request's session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'regenerate', function regenerate(fn) {\n this.req.sessionStore.regenerate(this.req, fn);\n return this;\n});\n\n/**\n * Helper function for creating a method on a prototype.\n *\n * @param {Object} obj\n * @param {String} name\n * @param {Function} fn\n * @private\n */\nfunction defineMethod(obj, name, fn) {\n Object.defineProperty(obj, name, {\n configurable: true,\n enumerable: false,\n value: fn,\n writable: true\n });\n};\n","/*!\n * Connect - session - Store\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Cookie = require('./cookie')\nvar EventEmitter = require('events').EventEmitter\nvar Session = require('./session')\nvar util = require('util')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Store\n\n/**\n * Abstract base class for session stores.\n * @public\n */\n\nfunction Store () {\n EventEmitter.call(this)\n}\n\n/**\n * Inherit from EventEmitter.\n */\n\nutil.inherits(Store, EventEmitter)\n\n/**\n * Re-generate the given requests's session.\n *\n * @param {IncomingRequest} req\n * @return {Function} fn\n * @api public\n */\n\nStore.prototype.regenerate = function(req, fn){\n var self = this;\n this.destroy(req.sessionID, function(err){\n self.generate(req);\n fn(err);\n });\n};\n\n/**\n * Load a `Session` instance via the given `sid`\n * and invoke the callback `fn(err, sess)`.\n *\n * @param {String} sid\n * @param {Function} fn\n * @api public\n */\n\nStore.prototype.load = function(sid, fn){\n var self = this;\n this.get(sid, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn();\n var req = { sessionID: sid, sessionStore: self };\n fn(null, self.createSession(req, sess))\n });\n};\n\n/**\n * Create session from JSON `sess` data.\n *\n * @param {IncomingRequest} req\n * @param {Object} sess\n * @return {Session}\n * @api private\n */\n\nStore.prototype.createSession = function(req, sess){\n var expires = sess.cookie.expires\n var originalMaxAge = sess.cookie.originalMaxAge\n\n sess.cookie = new Cookie(sess.cookie);\n\n if (typeof expires === 'string') {\n // convert expires to a Date object\n sess.cookie.expires = new Date(expires)\n }\n\n // keep originalMaxAge intact\n sess.cookie.originalMaxAge = originalMaxAge\n\n req.session = new Session(req, sess);\n return req.session;\n};\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","var fs = require('fs')\nvar path = require('path')\nvar os = require('os')\n\n// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'\nvar runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line\n\nvar vars = (process.config && process.config.variables) || {}\nvar prebuildsOnly = !!process.env.PREBUILDS_ONLY\nvar abi = process.versions.modules // TODO: support old node where this is undef\nvar runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')\n\nvar arch = process.env.npm_config_arch || os.arch()\nvar platform = process.env.npm_config_platform || os.platform()\nvar libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')\nvar armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''\nvar uv = (process.versions.uv || '').split('.')[0]\n\nmodule.exports = load\n\nfunction load (dir) {\n return runtimeRequire(load.path(dir))\n}\n\nload.path = function (dir) {\n dir = path.resolve(dir || '.')\n\n try {\n var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')\n if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']\n } catch (err) {}\n\n if (!prebuildsOnly) {\n var release = getFirst(path.join(dir, 'build/Release'), matchBuild)\n if (release) return release\n\n var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)\n if (debug) return debug\n }\n\n var prebuild = resolve(dir)\n if (prebuild) return prebuild\n\n var nearby = resolve(path.dirname(process.execPath))\n if (nearby) return nearby\n\n var target = [\n 'platform=' + platform,\n 'arch=' + arch,\n 'runtime=' + runtime,\n 'abi=' + abi,\n 'uv=' + uv,\n armv ? 'armv=' + armv : '',\n 'libc=' + libc,\n 'node=' + process.versions.node,\n process.versions.electron ? 'electron=' + process.versions.electron : '',\n typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line\n ].filter(Boolean).join(' ')\n\n throw new Error('No native build was found for ' + target + '\\n loaded from: ' + dir + '\\n')\n\n function resolve (dir) {\n // Find matching \"prebuilds/-\" directory\n var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)\n var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]\n if (!tuple) return\n\n // Find most specific flavor first\n var prebuilds = path.join(dir, 'prebuilds', tuple.name)\n var parsed = readdirSync(prebuilds).map(parseTags)\n var candidates = parsed.filter(matchTags(runtime, abi))\n var winner = candidates.sort(compareTags(runtime))[0]\n if (winner) return path.join(prebuilds, winner.file)\n }\n}\n\nfunction readdirSync (dir) {\n try {\n return fs.readdirSync(dir)\n } catch (err) {\n return []\n }\n}\n\nfunction getFirst (dir, filter) {\n var files = readdirSync(dir).filter(filter)\n return files[0] && path.join(dir, files[0])\n}\n\nfunction matchBuild (name) {\n return /\\.node$/.test(name)\n}\n\nfunction parseTuple (name) {\n // Example: darwin-x64+arm64\n var arr = name.split('-')\n if (arr.length !== 2) return\n\n var platform = arr[0]\n var architectures = arr[1].split('+')\n\n if (!platform) return\n if (!architectures.length) return\n if (!architectures.every(Boolean)) return\n\n return { name, platform, architectures }\n}\n\nfunction matchTuple (platform, arch) {\n return function (tuple) {\n if (tuple == null) return false\n if (tuple.platform !== platform) return false\n return tuple.architectures.includes(arch)\n }\n}\n\nfunction compareTuples (a, b) {\n // Prefer single-arch prebuilds over multi-arch\n return a.architectures.length - b.architectures.length\n}\n\nfunction parseTags (file) {\n var arr = file.split('.')\n var extension = arr.pop()\n var tags = { file: file, specificity: 0 }\n\n if (extension !== 'node') return\n\n for (var i = 0; i < arr.length; i++) {\n var tag = arr[i]\n\n if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {\n tags.runtime = tag\n } else if (tag === 'napi') {\n tags.napi = true\n } else if (tag.slice(0, 3) === 'abi') {\n tags.abi = tag.slice(3)\n } else if (tag.slice(0, 2) === 'uv') {\n tags.uv = tag.slice(2)\n } else if (tag.slice(0, 4) === 'armv') {\n tags.armv = tag.slice(4)\n } else if (tag === 'glibc' || tag === 'musl') {\n tags.libc = tag\n } else {\n continue\n }\n\n tags.specificity++\n }\n\n return tags\n}\n\nfunction matchTags (runtime, abi) {\n return function (tags) {\n if (tags == null) return false\n if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false\n if (tags.abi !== abi && !tags.napi) return false\n if (tags.uv && tags.uv !== uv) return false\n if (tags.armv && tags.armv !== armv) return false\n if (tags.libc && tags.libc !== libc) return false\n\n return true\n }\n}\n\nfunction runtimeAgnostic (tags) {\n return tags.runtime === 'node' && tags.napi\n}\n\nfunction compareTags (runtime) {\n // Precedence: non-agnostic runtime, abi over napi, then by specificity.\n return function (a, b) {\n if (a.runtime !== b.runtime) {\n return a.runtime === runtime ? -1 : 1\n } else if (a.abi !== b.abi) {\n return a.abi ? -1 : 1\n } else if (a.specificity !== b.specificity) {\n return a.specificity > b.specificity ? -1 : 1\n } else {\n return 0\n }\n }\n}\n\nfunction isNwjs () {\n return !!(process.versions && process.versions.nw)\n}\n\nfunction isElectron () {\n if (process.versions && process.versions.electron) return true\n if (process.env.ELECTRON_RUN_AS_NODE) return true\n return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'\n}\n\nfunction isAlpine (platform) {\n return platform === 'linux' && fs.existsSync('/etc/alpine-release')\n}\n\n// Exposed for unit tests\n// TODO: move to lib\nload.parseTags = parseTags\nload.matchTags = matchTags\nload.compareTags = compareTags\nload.parseTuple = parseTuple\nload.matchTuple = matchTuple\nload.compareTuples = compareTuples\n","/*!\n * on-headers\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = onHeaders\n\n/**\n * Create a replacement writeHead method.\n *\n * @param {function} prevWriteHead\n * @param {function} listener\n * @private\n */\n\nfunction createWriteHead (prevWriteHead, listener) {\n var fired = false\n\n // return function with core name and argument list\n return function writeHead (statusCode) {\n // set headers from arguments\n var args = setWriteHeadHeaders.apply(this, arguments)\n\n // fire listener\n if (!fired) {\n fired = true\n listener.call(this)\n\n // pass-along an updated status code\n if (typeof args[0] === 'number' && this.statusCode !== args[0]) {\n args[0] = this.statusCode\n args.length = 1\n }\n }\n\n return prevWriteHead.apply(this, args)\n }\n}\n\n/**\n * Execute a listener when a response is about to write headers.\n *\n * @param {object} res\n * @return {function} listener\n * @public\n */\n\nfunction onHeaders (res, listener) {\n if (!res) {\n throw new TypeError('argument res is required')\n }\n\n if (typeof listener !== 'function') {\n throw new TypeError('argument listener must be a function')\n }\n\n res.writeHead = createWriteHead(res.writeHead, listener)\n}\n\n/**\n * Set headers contained in array on the response object.\n *\n * @param {object} res\n * @param {array} headers\n * @private\n */\n\nfunction setHeadersFromArray (res, headers) {\n for (var i = 0; i < headers.length; i++) {\n res.setHeader(headers[i][0], headers[i][1])\n }\n}\n\n/**\n * Set headers contained in object on the response object.\n *\n * @param {object} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeadersFromObject (res, headers) {\n var keys = Object.keys(headers)\n for (var i = 0; i < keys.length; i++) {\n var k = keys[i]\n if (k) res.setHeader(k, headers[k])\n }\n}\n\n/**\n * Set headers and other properties on the response object.\n *\n * @param {number} statusCode\n * @private\n */\n\nfunction setWriteHeadHeaders (statusCode) {\n var length = arguments.length\n var headerIndex = length > 1 && typeof arguments[1] === 'string'\n ? 2\n : 1\n\n var headers = length >= headerIndex + 1\n ? arguments[headerIndex]\n : undefined\n\n this.statusCode = statusCode\n\n if (Array.isArray(headers)) {\n // handle array case\n setHeadersFromArray(this, headers)\n } else if (headers) {\n // handle object case\n setHeadersFromObject(this, headers)\n }\n\n // copy leading arguments\n var args = new Array(Math.min(length, headerIndex))\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n return args\n}\n","/*!\n * parseurl\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar url = require('url')\nvar parse = url.parse\nvar Url = url.Url\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = parseurl\nmodule.exports.original = originalurl\n\n/**\n * Parse the `req` url with memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction parseurl (req) {\n var url = req.url\n\n if (url === undefined) {\n // URL is undefined\n return undefined\n }\n\n var parsed = req._parsedUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedUrl = parsed)\n};\n\n/**\n * Parse the `req` original url with fallback and memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction originalurl (req) {\n var url = req.originalUrl\n\n if (typeof url !== 'string') {\n // Fallback\n return parseurl(req)\n }\n\n var parsed = req._parsedOriginalUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedOriginalUrl = parsed)\n};\n\n/**\n * Parse the `str` url with fast-path short-cut.\n *\n * @param {string} str\n * @return {Object}\n * @private\n */\n\nfunction fastparse (str) {\n if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) {\n return parse(str)\n }\n\n var pathname = str\n var query = null\n var search = null\n\n // This takes the regexp from https://github.com/joyent/node/pull/7878\n // Which is /^(\\/[^?#\\s]*)(\\?[^#\\s]*)?$/\n // And unrolls it into a for loop\n for (var i = 1; i < str.length; i++) {\n switch (str.charCodeAt(i)) {\n case 0x3f: /* ? */\n if (search === null) {\n pathname = str.substring(0, i)\n query = str.substring(i + 1)\n search = str.substring(i)\n }\n break\n case 0x09: /* \\t */\n case 0x0a: /* \\n */\n case 0x0c: /* \\f */\n case 0x0d: /* \\r */\n case 0x20: /* */\n case 0x23: /* # */\n case 0xa0:\n case 0xfeff:\n return parse(str)\n }\n }\n\n var url = Url !== undefined\n ? new Url()\n : {}\n\n url.path = str\n url.href = str\n url.pathname = pathname\n\n if (search !== null) {\n url.query = query\n url.search = search\n }\n\n return url\n}\n\n/**\n * Determine if parsed is still fresh for url.\n *\n * @param {string} url\n * @param {object} parsedUrl\n * @return {boolean}\n * @private\n */\n\nfunction fresh (url, parsedUrl) {\n return typeof parsedUrl === 'object' &&\n parsedUrl !== null &&\n (Url === undefined || parsedUrl instanceof Url) &&\n parsedUrl._raw === url\n}\n","/*!\n * random-bytes\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar crypto = require('crypto')\n\n/**\n * Module variables.\n * @private\n */\n\nvar generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = randomBytes\nmodule.exports.sync = randomBytesSync\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction randomBytes(size, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateRandomBytes(size, generateAttempts, callback)\n }\n\n return new Promise(function executor(resolve, reject) {\n generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Generates strong pseudo-random bytes sync.\n *\n * @param {number} size\n * @return {Buffer}\n * @public\n */\n\nfunction randomBytesSync(size) {\n var err = null\n\n for (var i = 0; i < generateAttempts; i++) {\n try {\n return crypto.randomBytes(size)\n } catch (e) {\n err = e\n }\n }\n\n throw err\n}\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {number} attempts\n * @param {function} callback\n * @private\n */\n\nfunction generateRandomBytes(size, attempts, callback) {\n crypto.randomBytes(size, function onRandomBytes(err, buf) {\n if (!err) return callback(null, buf)\n if (!--attempts) return callback(err)\n setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10)\n })\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","/*!\n * uid-safe\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar randomBytes = require('random-bytes')\n\n/**\n * Module variables.\n * @private\n */\n\nvar EQUAL_END_REGEXP = /=+$/\nvar PLUS_GLOBAL_REGEXP = /\\+/g\nvar SLASH_GLOBAL_REGEXP = /\\//g\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = uid\nmodule.exports.sync = uidSync\n\n/**\n * Create a unique ID.\n *\n * @param {number} length\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction uid (length, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateUid(length, callback)\n }\n\n return new Promise(function executor (resolve, reject) {\n generateUid(length, function onUid (err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Create a unique ID sync.\n *\n * @param {number} length\n * @return {string}\n * @public\n */\n\nfunction uidSync (length) {\n return toString(randomBytes.sync(length))\n}\n\n/**\n * Generate a unique ID string.\n *\n * @param {number} length\n * @param {function} callback\n * @private\n */\n\nfunction generateUid (length, callback) {\n randomBytes(length, function (err, buf) {\n if (err) return callback(err)\n callback(null, toString(buf))\n })\n}\n\n/**\n * Change a Buffer into a string.\n *\n * @param {Buffer} buf\n * @return {string}\n * @private\n */\n\nfunction toString (buf) {\n return buf.toString('base64')\n .replace(EQUAL_END_REGEXP, '')\n .replace(PLUS_GLOBAL_REGEXP, '-')\n .replace(SLASH_GLOBAL_REGEXP, '_')\n}\n","'use strict';\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0x00) { // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) { // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) { // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80 || // overlong\n buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0 // surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) { // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80 || // overlong\n buf[i] === 0xf4 && buf[i + 1] > 0x8f || buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isValidUTF8;\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","'use strict';\n\nconst WebSocket = require('./lib/websocket');\n\nWebSocket.createWebSocketStream = require('./lib/stream');\nWebSocket.Server = require('./lib/websocket-server');\nWebSocket.Receiver = require('./lib/receiver');\nWebSocket.Sender = require('./lib/sender');\n\nmodule.exports = WebSocket;\n","'use strict';\n\nconst { EMPTY_BUFFER } = require('./constants');\n\n/**\n * Merges an array of buffers into a new buffer.\n *\n * @param {Buffer[]} list The array of buffers to concat\n * @param {Number} totalLength The total length of buffers in the list\n * @return {Buffer} The resulting buffer\n * @public\n */\nfunction concat(list, totalLength) {\n if (list.length === 0) return EMPTY_BUFFER;\n if (list.length === 1) return list[0];\n\n const target = Buffer.allocUnsafe(totalLength);\n let offset = 0;\n\n for (let i = 0; i < list.length; i++) {\n const buf = list[i];\n target.set(buf, offset);\n offset += buf.length;\n }\n\n if (offset < totalLength) return target.slice(0, offset);\n\n return target;\n}\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nfunction _mask(source, mask, output, offset, length) {\n for (let i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n}\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nfunction _unmask(buffer, mask) {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (let i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n}\n\n/**\n * Converts a buffer to an `ArrayBuffer`.\n *\n * @param {Buffer} buf The buffer to convert\n * @return {ArrayBuffer} Converted buffer\n * @public\n */\nfunction toArrayBuffer(buf) {\n if (buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n }\n\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n}\n\n/**\n * Converts `data` to a `Buffer`.\n *\n * @param {*} data The data to convert\n * @return {Buffer} The buffer\n * @throws {TypeError}\n * @public\n */\nfunction toBuffer(data) {\n toBuffer.readOnly = true;\n\n if (Buffer.isBuffer(data)) return data;\n\n let buf;\n\n if (data instanceof ArrayBuffer) {\n buf = Buffer.from(data);\n } else if (ArrayBuffer.isView(data)) {\n buf = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n } else {\n buf = Buffer.from(data);\n toBuffer.readOnly = false;\n }\n\n return buf;\n}\n\ntry {\n const bufferUtil = require('bufferutil');\n const bu = bufferUtil.BufferUtil || bufferUtil;\n\n module.exports = {\n concat,\n mask(source, mask, output, offset, length) {\n if (length < 48) _mask(source, mask, output, offset, length);\n else bu.mask(source, mask, output, offset, length);\n },\n toArrayBuffer,\n toBuffer,\n unmask(buffer, mask) {\n if (buffer.length < 32) _unmask(buffer, mask);\n else bu.unmask(buffer, mask);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n concat,\n mask: _mask,\n toArrayBuffer,\n toBuffer,\n unmask: _unmask\n };\n}\n","'use strict';\n\nmodule.exports = {\n BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],\n GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',\n kStatusCode: Symbol('status-code'),\n kWebSocket: Symbol('websocket'),\n EMPTY_BUFFER: Buffer.alloc(0),\n NOOP: () => {}\n};\n","'use strict';\n\n/**\n * Class representing an event.\n *\n * @private\n */\nclass Event {\n /**\n * Create a new `Event`.\n *\n * @param {String} type The name of the event\n * @param {Object} target A reference to the target to which the event was\n * dispatched\n */\n constructor(type, target) {\n this.target = target;\n this.type = type;\n }\n}\n\n/**\n * Class representing a message event.\n *\n * @extends Event\n * @private\n */\nclass MessageEvent extends Event {\n /**\n * Create a new `MessageEvent`.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(data, target) {\n super('message', target);\n\n this.data = data;\n }\n}\n\n/**\n * Class representing a close event.\n *\n * @extends Event\n * @private\n */\nclass CloseEvent extends Event {\n /**\n * Create a new `CloseEvent`.\n *\n * @param {Number} code The status code explaining why the connection is being\n * closed\n * @param {String} reason A human-readable string explaining why the\n * connection is closing\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(code, reason, target) {\n super('close', target);\n\n this.wasClean = target._closeFrameReceived && target._closeFrameSent;\n this.reason = reason;\n this.code = code;\n }\n}\n\n/**\n * Class representing an open event.\n *\n * @extends Event\n * @private\n */\nclass OpenEvent extends Event {\n /**\n * Create a new `OpenEvent`.\n *\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(target) {\n super('open', target);\n }\n}\n\n/**\n * Class representing an error event.\n *\n * @extends Event\n * @private\n */\nclass ErrorEvent extends Event {\n /**\n * Create a new `ErrorEvent`.\n *\n * @param {Object} error The error that generated this event\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(error, target) {\n super('error', target);\n\n this.message = error.message;\n this.error = error;\n }\n}\n\n/**\n * This provides methods for emulating the `EventTarget` interface. It's not\n * meant to be used directly.\n *\n * @mixin\n */\nconst EventTarget = {\n /**\n * Register an event listener.\n *\n * @param {String} type A string representing the event type to listen for\n * @param {Function} listener The listener to add\n * @param {Object} [options] An options object specifies characteristics about\n * the event listener\n * @param {Boolean} [options.once=false] A `Boolean`` indicating that the\n * listener should be invoked at most once after being added. If `true`,\n * the listener would be automatically removed when invoked.\n * @public\n */\n addEventListener(type, listener, options) {\n if (typeof listener !== 'function') return;\n\n function onMessage(data) {\n listener.call(this, new MessageEvent(data, this));\n }\n\n function onClose(code, message) {\n listener.call(this, new CloseEvent(code, message, this));\n }\n\n function onError(error) {\n listener.call(this, new ErrorEvent(error, this));\n }\n\n function onOpen() {\n listener.call(this, new OpenEvent(this));\n }\n\n const method = options && options.once ? 'once' : 'on';\n\n if (type === 'message') {\n onMessage._listener = listener;\n this[method](type, onMessage);\n } else if (type === 'close') {\n onClose._listener = listener;\n this[method](type, onClose);\n } else if (type === 'error') {\n onError._listener = listener;\n this[method](type, onError);\n } else if (type === 'open') {\n onOpen._listener = listener;\n this[method](type, onOpen);\n } else {\n this[method](type, listener);\n }\n },\n\n /**\n * Remove an event listener.\n *\n * @param {String} type A string representing the event type to remove\n * @param {Function} listener The listener to remove\n * @public\n */\n removeEventListener(type, listener) {\n const listeners = this.listeners(type);\n\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i] === listener || listeners[i]._listener === listener) {\n this.removeListener(type, listeners[i]);\n }\n }\n }\n};\n\nmodule.exports = EventTarget;\n","'use strict';\n\n//\n// Allowed token characters:\n//\n// '!', '#', '$', '%', '&', ''', '*', '+', '-',\n// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~'\n//\n// tokenChars[32] === 0 // ' '\n// tokenChars[33] === 1 // '!'\n// tokenChars[34] === 0 // '\"'\n// ...\n//\n// prettier-ignore\nconst tokenChars = [\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31\n 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63\n 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127\n];\n\n/**\n * Adds an offer to the map of extension offers or a parameter to the map of\n * parameters.\n *\n * @param {Object} dest The map of extension offers or parameters\n * @param {String} name The extension or parameter name\n * @param {(Object|Boolean|String)} elem The extension parameters or the\n * parameter value\n * @private\n */\nfunction push(dest, name, elem) {\n if (dest[name] === undefined) dest[name] = [elem];\n else dest[name].push(elem);\n}\n\n/**\n * Parses the `Sec-WebSocket-Extensions` header into an object.\n *\n * @param {String} header The field value of the header\n * @return {Object} The parsed object\n * @public\n */\nfunction parse(header) {\n const offers = Object.create(null);\n\n if (header === undefined || header === '') return offers;\n\n let params = Object.create(null);\n let mustUnescape = false;\n let isEscaping = false;\n let inQuotes = false;\n let extensionName;\n let paramName;\n let start = -1;\n let end = -1;\n let i = 0;\n\n for (; i < header.length; i++) {\n const code = header.charCodeAt(i);\n\n if (extensionName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\\t' */) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n const name = header.slice(start, end);\n if (code === 0x2c) {\n push(offers, name, params);\n params = Object.create(null);\n } else {\n extensionName = name;\n }\n\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (paramName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 || code === 0x09) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n push(params, header.slice(start, end), true);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n start = end = -1;\n } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) {\n paramName = header.slice(start, i);\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else {\n //\n // The value of a quoted-string after unescaping must conform to the\n // token ABNF, so only token characters are valid.\n // Ref: https://tools.ietf.org/html/rfc6455#section-9.1\n //\n if (isEscaping) {\n if (tokenChars[code] !== 1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n if (start === -1) start = i;\n else if (!mustUnescape) mustUnescape = true;\n isEscaping = false;\n } else if (inQuotes) {\n if (tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x22 /* '\"' */ && start !== -1) {\n inQuotes = false;\n end = i;\n } else if (code === 0x5c /* '\\' */) {\n isEscaping = true;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) {\n inQuotes = true;\n } else if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (start !== -1 && (code === 0x20 || code === 0x09)) {\n if (end === -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n let value = header.slice(start, end);\n if (mustUnescape) {\n value = value.replace(/\\\\/g, '');\n mustUnescape = false;\n }\n push(params, paramName, value);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n paramName = undefined;\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n }\n }\n\n if (start === -1 || inQuotes) {\n throw new SyntaxError('Unexpected end of input');\n }\n\n if (end === -1) end = i;\n const token = header.slice(start, end);\n if (extensionName === undefined) {\n push(offers, token, params);\n } else {\n if (paramName === undefined) {\n push(params, token, true);\n } else if (mustUnescape) {\n push(params, paramName, token.replace(/\\\\/g, ''));\n } else {\n push(params, paramName, token);\n }\n push(offers, extensionName, params);\n }\n\n return offers;\n}\n\n/**\n * Builds the `Sec-WebSocket-Extensions` header field value.\n *\n * @param {Object} extensions The map of extensions and parameters to format\n * @return {String} A string representing the given object\n * @public\n */\nfunction format(extensions) {\n return Object.keys(extensions)\n .map((extension) => {\n let configurations = extensions[extension];\n if (!Array.isArray(configurations)) configurations = [configurations];\n return configurations\n .map((params) => {\n return [extension]\n .concat(\n Object.keys(params).map((k) => {\n let values = params[k];\n if (!Array.isArray(values)) values = [values];\n return values\n .map((v) => (v === true ? k : `${k}=${v}`))\n .join('; ');\n })\n )\n .join('; ');\n })\n .join(', ');\n })\n .join(', ');\n}\n\nmodule.exports = { format, parse };\n","'use strict';\n\nconst kDone = Symbol('kDone');\nconst kRun = Symbol('kRun');\n\n/**\n * A very simple job queue with adjustable concurrency. Adapted from\n * https://github.com/STRML/async-limiter\n */\nclass Limiter {\n /**\n * Creates a new `Limiter`.\n *\n * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed\n * to run concurrently\n */\n constructor(concurrency) {\n this[kDone] = () => {\n this.pending--;\n this[kRun]();\n };\n this.concurrency = concurrency || Infinity;\n this.jobs = [];\n this.pending = 0;\n }\n\n /**\n * Adds a job to the queue.\n *\n * @param {Function} job The job to run\n * @public\n */\n add(job) {\n this.jobs.push(job);\n this[kRun]();\n }\n\n /**\n * Removes a job from the queue and runs it if possible.\n *\n * @private\n */\n [kRun]() {\n if (this.pending === this.concurrency) return;\n\n if (this.jobs.length) {\n const job = this.jobs.shift();\n\n this.pending++;\n job(this[kDone]);\n }\n }\n}\n\nmodule.exports = Limiter;\n","'use strict';\n\nconst zlib = require('zlib');\n\nconst bufferUtil = require('./buffer-util');\nconst Limiter = require('./limiter');\nconst { kStatusCode, NOOP } = require('./constants');\n\nconst TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]);\nconst kPerMessageDeflate = Symbol('permessage-deflate');\nconst kTotalLength = Symbol('total-length');\nconst kCallback = Symbol('callback');\nconst kBuffers = Symbol('buffers');\nconst kError = Symbol('error');\n\n//\n// We limit zlib concurrency, which prevents severe memory fragmentation\n// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913\n// and https://github.com/websockets/ws/issues/1202\n//\n// Intentionally global; it's the global thread pool that's an issue.\n//\nlet zlibLimiter;\n\n/**\n * permessage-deflate implementation.\n */\nclass PerMessageDeflate {\n /**\n * Creates a PerMessageDeflate instance.\n *\n * @param {Object} [options] Configuration options\n * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept\n * disabling of server context takeover\n * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/\n * acknowledge disabling of client context takeover\n * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the\n * use of a custom server window size\n * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support\n * for, or request, a custom client window size\n * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on\n * deflate\n * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on\n * inflate\n * @param {Number} [options.threshold=1024] Size (in bytes) below which\n * messages should not be compressed\n * @param {Number} [options.concurrencyLimit=10] The number of concurrent\n * calls to zlib\n * @param {Boolean} [isServer=false] Create the instance in either server or\n * client mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(options, isServer, maxPayload) {\n this._maxPayload = maxPayload | 0;\n this._options = options || {};\n this._threshold =\n this._options.threshold !== undefined ? this._options.threshold : 1024;\n this._isServer = !!isServer;\n this._deflate = null;\n this._inflate = null;\n\n this.params = null;\n\n if (!zlibLimiter) {\n const concurrency =\n this._options.concurrencyLimit !== undefined\n ? this._options.concurrencyLimit\n : 10;\n zlibLimiter = new Limiter(concurrency);\n }\n }\n\n /**\n * @type {String}\n */\n static get extensionName() {\n return 'permessage-deflate';\n }\n\n /**\n * Create an extension negotiation offer.\n *\n * @return {Object} Extension parameters\n * @public\n */\n offer() {\n const params = {};\n\n if (this._options.serverNoContextTakeover) {\n params.server_no_context_takeover = true;\n }\n if (this._options.clientNoContextTakeover) {\n params.client_no_context_takeover = true;\n }\n if (this._options.serverMaxWindowBits) {\n params.server_max_window_bits = this._options.serverMaxWindowBits;\n }\n if (this._options.clientMaxWindowBits) {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n } else if (this._options.clientMaxWindowBits == null) {\n params.client_max_window_bits = true;\n }\n\n return params;\n }\n\n /**\n * Accept an extension negotiation offer/response.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Object} Accepted configuration\n * @public\n */\n accept(configurations) {\n configurations = this.normalizeParams(configurations);\n\n this.params = this._isServer\n ? this.acceptAsServer(configurations)\n : this.acceptAsClient(configurations);\n\n return this.params;\n }\n\n /**\n * Releases all resources used by the extension.\n *\n * @public\n */\n cleanup() {\n if (this._inflate) {\n this._inflate.close();\n this._inflate = null;\n }\n\n if (this._deflate) {\n const callback = this._deflate[kCallback];\n\n this._deflate.close();\n this._deflate = null;\n\n if (callback) {\n callback(\n new Error(\n 'The deflate stream was closed while data was being processed'\n )\n );\n }\n }\n }\n\n /**\n * Accept an extension negotiation offer.\n *\n * @param {Array} offers The extension negotiation offers\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsServer(offers) {\n const opts = this._options;\n const accepted = offers.find((params) => {\n if (\n (opts.serverNoContextTakeover === false &&\n params.server_no_context_takeover) ||\n (params.server_max_window_bits &&\n (opts.serverMaxWindowBits === false ||\n (typeof opts.serverMaxWindowBits === 'number' &&\n opts.serverMaxWindowBits > params.server_max_window_bits))) ||\n (typeof opts.clientMaxWindowBits === 'number' &&\n !params.client_max_window_bits)\n ) {\n return false;\n }\n\n return true;\n });\n\n if (!accepted) {\n throw new Error('None of the extension offers can be accepted');\n }\n\n if (opts.serverNoContextTakeover) {\n accepted.server_no_context_takeover = true;\n }\n if (opts.clientNoContextTakeover) {\n accepted.client_no_context_takeover = true;\n }\n if (typeof opts.serverMaxWindowBits === 'number') {\n accepted.server_max_window_bits = opts.serverMaxWindowBits;\n }\n if (typeof opts.clientMaxWindowBits === 'number') {\n accepted.client_max_window_bits = opts.clientMaxWindowBits;\n } else if (\n accepted.client_max_window_bits === true ||\n opts.clientMaxWindowBits === false\n ) {\n delete accepted.client_max_window_bits;\n }\n\n return accepted;\n }\n\n /**\n * Accept the extension negotiation response.\n *\n * @param {Array} response The extension negotiation response\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsClient(response) {\n const params = response[0];\n\n if (\n this._options.clientNoContextTakeover === false &&\n params.client_no_context_takeover\n ) {\n throw new Error('Unexpected parameter \"client_no_context_takeover\"');\n }\n\n if (!params.client_max_window_bits) {\n if (typeof this._options.clientMaxWindowBits === 'number') {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n }\n } else if (\n this._options.clientMaxWindowBits === false ||\n (typeof this._options.clientMaxWindowBits === 'number' &&\n params.client_max_window_bits > this._options.clientMaxWindowBits)\n ) {\n throw new Error(\n 'Unexpected or invalid parameter \"client_max_window_bits\"'\n );\n }\n\n return params;\n }\n\n /**\n * Normalize parameters.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Array} The offers/response with normalized parameters\n * @private\n */\n normalizeParams(configurations) {\n configurations.forEach((params) => {\n Object.keys(params).forEach((key) => {\n let value = params[key];\n\n if (value.length > 1) {\n throw new Error(`Parameter \"${key}\" must have only a single value`);\n }\n\n value = value[0];\n\n if (key === 'client_max_window_bits') {\n if (value !== true) {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (!this._isServer) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else if (key === 'server_max_window_bits') {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (\n key === 'client_no_context_takeover' ||\n key === 'server_no_context_takeover'\n ) {\n if (value !== true) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else {\n throw new Error(`Unknown parameter \"${key}\"`);\n }\n\n params[key] = value;\n });\n });\n\n return configurations;\n }\n\n /**\n * Decompress data. Concurrency limited.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n decompress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._decompress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Compress data. Concurrency limited.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n compress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._compress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Decompress data.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _decompress(data, fin, callback) {\n const endpoint = this._isServer ? 'client' : 'server';\n\n if (!this._inflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._inflate = zlib.createInflateRaw({\n ...this._options.zlibInflateOptions,\n windowBits\n });\n this._inflate[kPerMessageDeflate] = this;\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n this._inflate.on('error', inflateOnError);\n this._inflate.on('data', inflateOnData);\n }\n\n this._inflate[kCallback] = callback;\n\n this._inflate.write(data);\n if (fin) this._inflate.write(TRAILER);\n\n this._inflate.flush(() => {\n const err = this._inflate[kError];\n\n if (err) {\n this._inflate.close();\n this._inflate = null;\n callback(err);\n return;\n }\n\n const data = bufferUtil.concat(\n this._inflate[kBuffers],\n this._inflate[kTotalLength]\n );\n\n if (this._inflate._readableState.endEmitted) {\n this._inflate.close();\n this._inflate = null;\n } else {\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._inflate.reset();\n }\n }\n\n callback(null, data);\n });\n }\n\n /**\n * Compress data.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _compress(data, fin, callback) {\n const endpoint = this._isServer ? 'server' : 'client';\n\n if (!this._deflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._deflate = zlib.createDeflateRaw({\n ...this._options.zlibDeflateOptions,\n windowBits\n });\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n //\n // An `'error'` event is emitted, only on Node.js < 10.0.0, if the\n // `zlib.DeflateRaw` instance is closed while data is being processed.\n // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong\n // time due to an abnormal WebSocket closure.\n //\n this._deflate.on('error', NOOP);\n this._deflate.on('data', deflateOnData);\n }\n\n this._deflate[kCallback] = callback;\n\n this._deflate.write(data);\n this._deflate.flush(zlib.Z_SYNC_FLUSH, () => {\n if (!this._deflate) {\n //\n // The deflate stream was closed while data was being processed.\n //\n return;\n }\n\n let data = bufferUtil.concat(\n this._deflate[kBuffers],\n this._deflate[kTotalLength]\n );\n\n if (fin) data = data.slice(0, data.length - 4);\n\n //\n // Ensure that the callback will not be called again in\n // `PerMessageDeflate#cleanup()`.\n //\n this._deflate[kCallback] = null;\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._deflate.reset();\n }\n\n callback(null, data);\n });\n }\n}\n\nmodule.exports = PerMessageDeflate;\n\n/**\n * The listener of the `zlib.DeflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction deflateOnData(chunk) {\n this[kBuffers].push(chunk);\n this[kTotalLength] += chunk.length;\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction inflateOnData(chunk) {\n this[kTotalLength] += chunk.length;\n\n if (\n this[kPerMessageDeflate]._maxPayload < 1 ||\n this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload\n ) {\n this[kBuffers].push(chunk);\n return;\n }\n\n this[kError] = new RangeError('Max payload size exceeded');\n this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH';\n this[kError][kStatusCode] = 1009;\n this.removeListener('data', inflateOnData);\n this.reset();\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'error'` event.\n *\n * @param {Error} err The emitted error\n * @private\n */\nfunction inflateOnError(err) {\n //\n // There is no need to call `Zlib#close()` as the handle is automatically\n // closed when an error is emitted.\n //\n this[kPerMessageDeflate]._inflate = null;\n err[kStatusCode] = 1007;\n this[kCallback](err);\n}\n","'use strict';\n\nconst { Writable } = require('stream');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n kStatusCode,\n kWebSocket\n} = require('./constants');\nconst { concat, toArrayBuffer, unmask } = require('./buffer-util');\nconst { isValidStatusCode, isValidUTF8 } = require('./validation');\n\nconst GET_INFO = 0;\nconst GET_PAYLOAD_LENGTH_16 = 1;\nconst GET_PAYLOAD_LENGTH_64 = 2;\nconst GET_MASK = 3;\nconst GET_DATA = 4;\nconst INFLATING = 5;\n\n/**\n * HyBi Receiver implementation.\n *\n * @extends Writable\n */\nclass Receiver extends Writable {\n /**\n * Creates a Receiver instance.\n *\n * @param {String} [binaryType=nodebuffer] The type for binary data\n * @param {Object} [extensions] An object containing the negotiated extensions\n * @param {Boolean} [isServer=false] Specifies whether to operate in client or\n * server mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(binaryType, extensions, isServer, maxPayload) {\n super();\n\n this._binaryType = binaryType || BINARY_TYPES[0];\n this[kWebSocket] = undefined;\n this._extensions = extensions || {};\n this._isServer = !!isServer;\n this._maxPayload = maxPayload | 0;\n\n this._bufferedBytes = 0;\n this._buffers = [];\n\n this._compressed = false;\n this._payloadLength = 0;\n this._mask = undefined;\n this._fragmented = 0;\n this._masked = false;\n this._fin = false;\n this._opcode = 0;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragments = [];\n\n this._state = GET_INFO;\n this._loop = false;\n }\n\n /**\n * Implements `Writable.prototype._write()`.\n *\n * @param {Buffer} chunk The chunk of data to write\n * @param {String} encoding The character encoding of `chunk`\n * @param {Function} cb Callback\n * @private\n */\n _write(chunk, encoding, cb) {\n if (this._opcode === 0x08 && this._state == GET_INFO) return cb();\n\n this._bufferedBytes += chunk.length;\n this._buffers.push(chunk);\n this.startLoop(cb);\n }\n\n /**\n * Consumes `n` bytes from the buffered data.\n *\n * @param {Number} n The number of bytes to consume\n * @return {Buffer} The consumed bytes\n * @private\n */\n consume(n) {\n this._bufferedBytes -= n;\n\n if (n === this._buffers[0].length) return this._buffers.shift();\n\n if (n < this._buffers[0].length) {\n const buf = this._buffers[0];\n this._buffers[0] = buf.slice(n);\n return buf.slice(0, n);\n }\n\n const dst = Buffer.allocUnsafe(n);\n\n do {\n const buf = this._buffers[0];\n const offset = dst.length - n;\n\n if (n >= buf.length) {\n dst.set(this._buffers.shift(), offset);\n } else {\n dst.set(new Uint8Array(buf.buffer, buf.byteOffset, n), offset);\n this._buffers[0] = buf.slice(n);\n }\n\n n -= buf.length;\n } while (n > 0);\n\n return dst;\n }\n\n /**\n * Starts the parsing loop.\n *\n * @param {Function} cb Callback\n * @private\n */\n startLoop(cb) {\n let err;\n this._loop = true;\n\n do {\n switch (this._state) {\n case GET_INFO:\n err = this.getInfo();\n break;\n case GET_PAYLOAD_LENGTH_16:\n err = this.getPayloadLength16();\n break;\n case GET_PAYLOAD_LENGTH_64:\n err = this.getPayloadLength64();\n break;\n case GET_MASK:\n this.getMask();\n break;\n case GET_DATA:\n err = this.getData(cb);\n break;\n default:\n // `INFLATING`\n this._loop = false;\n return;\n }\n } while (this._loop);\n\n cb(err);\n }\n\n /**\n * Reads the first two bytes of a frame.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getInfo() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(2);\n\n if ((buf[0] & 0x30) !== 0x00) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV2 and RSV3 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_2_3'\n );\n }\n\n const compressed = (buf[0] & 0x40) === 0x40;\n\n if (compressed && !this._extensions[PerMessageDeflate.extensionName]) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n this._fin = (buf[0] & 0x80) === 0x80;\n this._opcode = buf[0] & 0x0f;\n this._payloadLength = buf[1] & 0x7f;\n\n if (this._opcode === 0x00) {\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (!this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n 'invalid opcode 0',\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._opcode = this._fragmented;\n } else if (this._opcode === 0x01 || this._opcode === 0x02) {\n if (this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._compressed = compressed;\n } else if (this._opcode > 0x07 && this._opcode < 0x0b) {\n if (!this._fin) {\n this._loop = false;\n return error(\n RangeError,\n 'FIN must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_FIN'\n );\n }\n\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (this._payloadLength > 0x7d) {\n this._loop = false;\n return error(\n RangeError,\n `invalid payload length ${this._payloadLength}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n }\n } else {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n if (!this._fin && !this._fragmented) this._fragmented = this._opcode;\n this._masked = (buf[1] & 0x80) === 0x80;\n\n if (this._isServer) {\n if (!this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_MASK'\n );\n }\n } else if (this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_MASK'\n );\n }\n\n if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16;\n else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64;\n else return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+16).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength16() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n this._payloadLength = this.consume(2).readUInt16BE(0);\n return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+64).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength64() {\n if (this._bufferedBytes < 8) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(8);\n const num = buf.readUInt32BE(0);\n\n //\n // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned\n // if payload length is greater than this number.\n //\n if (num > Math.pow(2, 53 - 32) - 1) {\n this._loop = false;\n return error(\n RangeError,\n 'Unsupported WebSocket frame: payload length > 2^53 - 1',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH'\n );\n }\n\n this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4);\n return this.haveLength();\n }\n\n /**\n * Payload length has been read.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n haveLength() {\n if (this._payloadLength && this._opcode < 0x08) {\n this._totalPayloadLength += this._payloadLength;\n if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) {\n this._loop = false;\n return error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n );\n }\n }\n\n if (this._masked) this._state = GET_MASK;\n else this._state = GET_DATA;\n }\n\n /**\n * Reads mask bytes.\n *\n * @private\n */\n getMask() {\n if (this._bufferedBytes < 4) {\n this._loop = false;\n return;\n }\n\n this._mask = this.consume(4);\n this._state = GET_DATA;\n }\n\n /**\n * Reads data bytes.\n *\n * @param {Function} cb Callback\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n getData(cb) {\n let data = EMPTY_BUFFER;\n\n if (this._payloadLength) {\n if (this._bufferedBytes < this._payloadLength) {\n this._loop = false;\n return;\n }\n\n data = this.consume(this._payloadLength);\n if (this._masked) unmask(data, this._mask);\n }\n\n if (this._opcode > 0x07) return this.controlMessage(data);\n\n if (this._compressed) {\n this._state = INFLATING;\n this.decompress(data, cb);\n return;\n }\n\n if (data.length) {\n //\n // This message is not compressed so its lenght is the sum of the payload\n // length of all fragments.\n //\n this._messageLength = this._totalPayloadLength;\n this._fragments.push(data);\n }\n\n return this.dataMessage();\n }\n\n /**\n * Decompresses data.\n *\n * @param {Buffer} data Compressed data\n * @param {Function} cb Callback\n * @private\n */\n decompress(data, cb) {\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n perMessageDeflate.decompress(data, this._fin, (err, buf) => {\n if (err) return cb(err);\n\n if (buf.length) {\n this._messageLength += buf.length;\n if (this._messageLength > this._maxPayload && this._maxPayload > 0) {\n return cb(\n error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n )\n );\n }\n\n this._fragments.push(buf);\n }\n\n const er = this.dataMessage();\n if (er) return cb(er);\n\n this.startLoop(cb);\n });\n }\n\n /**\n * Handles a data message.\n *\n * @return {(Error|undefined)} A possible error\n * @private\n */\n dataMessage() {\n if (this._fin) {\n const messageLength = this._messageLength;\n const fragments = this._fragments;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragmented = 0;\n this._fragments = [];\n\n if (this._opcode === 2) {\n let data;\n\n if (this._binaryType === 'nodebuffer') {\n data = concat(fragments, messageLength);\n } else if (this._binaryType === 'arraybuffer') {\n data = toArrayBuffer(concat(fragments, messageLength));\n } else {\n data = fragments;\n }\n\n this.emit('message', data);\n } else {\n const buf = concat(fragments, messageLength);\n\n if (!isValidUTF8(buf)) {\n this._loop = false;\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('message', buf.toString());\n }\n }\n\n this._state = GET_INFO;\n }\n\n /**\n * Handles a control message.\n *\n * @param {Buffer} data Data to handle\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n controlMessage(data) {\n if (this._opcode === 0x08) {\n this._loop = false;\n\n if (data.length === 0) {\n this.emit('conclude', 1005, '');\n this.end();\n } else if (data.length === 1) {\n return error(\n RangeError,\n 'invalid payload length 1',\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n } else {\n const code = data.readUInt16BE(0);\n\n if (!isValidStatusCode(code)) {\n return error(\n RangeError,\n `invalid status code ${code}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CLOSE_CODE'\n );\n }\n\n const buf = data.slice(2);\n\n if (!isValidUTF8(buf)) {\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('conclude', code, buf.toString());\n this.end();\n }\n } else if (this._opcode === 0x09) {\n this.emit('ping', data);\n } else {\n this.emit('pong', data);\n }\n\n this._state = GET_INFO;\n }\n}\n\nmodule.exports = Receiver;\n\n/**\n * Builds an error object.\n *\n * @param {function(new:Error|RangeError)} ErrorCtor The error constructor\n * @param {String} message The error message\n * @param {Boolean} prefix Specifies whether or not to add a default prefix to\n * `message`\n * @param {Number} statusCode The status code\n * @param {String} errorCode The exposed error code\n * @return {(Error|RangeError)} The error\n * @private\n */\nfunction error(ErrorCtor, message, prefix, statusCode, errorCode) {\n const err = new ErrorCtor(\n prefix ? `Invalid WebSocket frame: ${message}` : message\n );\n\n Error.captureStackTrace(err, error);\n err.code = errorCode;\n err[kStatusCode] = statusCode;\n return err;\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls$\" }] */\n\n'use strict';\n\nconst net = require('net');\nconst tls = require('tls');\nconst { randomFillSync } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst { EMPTY_BUFFER } = require('./constants');\nconst { isValidStatusCode } = require('./validation');\nconst { mask: applyMask, toBuffer } = require('./buffer-util');\n\nconst mask = Buffer.alloc(4);\n\n/**\n * HyBi Sender implementation.\n */\nclass Sender {\n /**\n * Creates a Sender instance.\n *\n * @param {(net.Socket|tls.Socket)} socket The connection socket\n * @param {Object} [extensions] An object containing the negotiated extensions\n */\n constructor(socket, extensions) {\n this._extensions = extensions || {};\n this._socket = socket;\n\n this._firstFragment = true;\n this._compress = false;\n\n this._bufferedBytes = 0;\n this._deflating = false;\n this._queue = [];\n }\n\n /**\n * Frames a piece of data according to the HyBi WebSocket protocol.\n *\n * @param {Buffer} data The data to frame\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @return {Buffer[]} The framed data as a list of `Buffer` instances\n * @public\n */\n static frame(data, options) {\n const merge = options.mask && options.readOnly;\n let offset = options.mask ? 6 : 2;\n let payloadLength = data.length;\n\n if (data.length >= 65536) {\n offset += 8;\n payloadLength = 127;\n } else if (data.length > 125) {\n offset += 2;\n payloadLength = 126;\n }\n\n const target = Buffer.allocUnsafe(merge ? data.length + offset : offset);\n\n target[0] = options.fin ? options.opcode | 0x80 : options.opcode;\n if (options.rsv1) target[0] |= 0x40;\n\n target[1] = payloadLength;\n\n if (payloadLength === 126) {\n target.writeUInt16BE(data.length, 2);\n } else if (payloadLength === 127) {\n target.writeUInt32BE(0, 2);\n target.writeUInt32BE(data.length, 6);\n }\n\n if (!options.mask) return [target, data];\n\n randomFillSync(mask, 0, 4);\n\n target[1] |= 0x80;\n target[offset - 4] = mask[0];\n target[offset - 3] = mask[1];\n target[offset - 2] = mask[2];\n target[offset - 1] = mask[3];\n\n if (merge) {\n applyMask(data, mask, target, offset, data.length);\n return [target];\n }\n\n applyMask(data, mask, data, 0, data.length);\n return [target, data];\n }\n\n /**\n * Sends a close message to the other peer.\n *\n * @param {Number} [code] The status code component of the body\n * @param {String} [data] The message component of the body\n * @param {Boolean} [mask=false] Specifies whether or not to mask the message\n * @param {Function} [cb] Callback\n * @public\n */\n close(code, data, mask, cb) {\n let buf;\n\n if (code === undefined) {\n buf = EMPTY_BUFFER;\n } else if (typeof code !== 'number' || !isValidStatusCode(code)) {\n throw new TypeError('First argument must be a valid error code number');\n } else if (data === undefined || data === '') {\n buf = Buffer.allocUnsafe(2);\n buf.writeUInt16BE(code, 0);\n } else {\n const length = Buffer.byteLength(data);\n\n if (length > 123) {\n throw new RangeError('The message must not be greater than 123 bytes');\n }\n\n buf = Buffer.allocUnsafe(2 + length);\n buf.writeUInt16BE(code, 0);\n buf.write(data, 2);\n }\n\n if (this._deflating) {\n this.enqueue([this.doClose, buf, mask, cb]);\n } else {\n this.doClose(buf, mask, cb);\n }\n }\n\n /**\n * Frames and sends a close message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @private\n */\n doClose(data, mask, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x08,\n mask,\n readOnly: false\n }),\n cb\n );\n }\n\n /**\n * Sends a ping message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n ping(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPing(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a ping message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPing(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x09,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a pong message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n pong(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPong(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a pong message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPong(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x0a,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a data message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Object} options Options object\n * @param {Boolean} [options.compress=false] Specifies whether or not to\n * compress `data`\n * @param {Boolean} [options.binary=false] Specifies whether `data` is binary\n * or text\n * @param {Boolean} [options.fin=false] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Function} [cb] Callback\n * @public\n */\n send(data, options, cb) {\n const buf = toBuffer(data);\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n let opcode = options.binary ? 2 : 1;\n let rsv1 = options.compress;\n\n if (this._firstFragment) {\n this._firstFragment = false;\n if (rsv1 && perMessageDeflate) {\n rsv1 = buf.length >= perMessageDeflate._threshold;\n }\n this._compress = rsv1;\n } else {\n rsv1 = false;\n opcode = 0;\n }\n\n if (options.fin) this._firstFragment = true;\n\n if (perMessageDeflate) {\n const opts = {\n fin: options.fin,\n rsv1,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n };\n\n if (this._deflating) {\n this.enqueue([this.dispatch, buf, this._compress, opts, cb]);\n } else {\n this.dispatch(buf, this._compress, opts, cb);\n }\n } else {\n this.sendFrame(\n Sender.frame(buf, {\n fin: options.fin,\n rsv1: false,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n }),\n cb\n );\n }\n }\n\n /**\n * Dispatches a data message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [compress=false] Specifies whether or not to compress\n * `data`\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @param {Function} [cb] Callback\n * @private\n */\n dispatch(data, compress, options, cb) {\n if (!compress) {\n this.sendFrame(Sender.frame(data, options), cb);\n return;\n }\n\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n this._bufferedBytes += data.length;\n this._deflating = true;\n perMessageDeflate.compress(data, options.fin, (_, buf) => {\n if (this._socket.destroyed) {\n const err = new Error(\n 'The socket was closed while data was being compressed'\n );\n\n if (typeof cb === 'function') cb(err);\n\n for (let i = 0; i < this._queue.length; i++) {\n const callback = this._queue[i][4];\n\n if (typeof callback === 'function') callback(err);\n }\n\n return;\n }\n\n this._bufferedBytes -= data.length;\n this._deflating = false;\n options.readOnly = false;\n this.sendFrame(Sender.frame(buf, options), cb);\n this.dequeue();\n });\n }\n\n /**\n * Executes queued send operations.\n *\n * @private\n */\n dequeue() {\n while (!this._deflating && this._queue.length) {\n const params = this._queue.shift();\n\n this._bufferedBytes -= params[1].length;\n Reflect.apply(params[0], this, params.slice(1));\n }\n }\n\n /**\n * Enqueues a send operation.\n *\n * @param {Array} params Send operation parameters.\n * @private\n */\n enqueue(params) {\n this._bufferedBytes += params[1].length;\n this._queue.push(params);\n }\n\n /**\n * Sends a frame.\n *\n * @param {Buffer[]} list The frame to send\n * @param {Function} [cb] Callback\n * @private\n */\n sendFrame(list, cb) {\n if (list.length === 2) {\n this._socket.cork();\n this._socket.write(list[0]);\n this._socket.write(list[1], cb);\n this._socket.uncork();\n } else {\n this._socket.write(list[0], cb);\n }\n }\n}\n\nmodule.exports = Sender;\n","'use strict';\n\nconst { Duplex } = require('stream');\n\n/**\n * Emits the `'close'` event on a stream.\n *\n * @param {Duplex} stream The stream.\n * @private\n */\nfunction emitClose(stream) {\n stream.emit('close');\n}\n\n/**\n * The listener of the `'end'` event.\n *\n * @private\n */\nfunction duplexOnEnd() {\n if (!this.destroyed && this._writableState.finished) {\n this.destroy();\n }\n}\n\n/**\n * The listener of the `'error'` event.\n *\n * @param {Error} err The error\n * @private\n */\nfunction duplexOnError(err) {\n this.removeListener('error', duplexOnError);\n this.destroy();\n if (this.listenerCount('error') === 0) {\n // Do not suppress the throwing behavior.\n this.emit('error', err);\n }\n}\n\n/**\n * Wraps a `WebSocket` in a duplex stream.\n *\n * @param {WebSocket} ws The `WebSocket` to wrap\n * @param {Object} [options] The options for the `Duplex` constructor\n * @return {Duplex} The duplex stream\n * @public\n */\nfunction createWebSocketStream(ws, options) {\n let resumeOnReceiverDrain = true;\n let terminateOnDestroy = true;\n\n function receiverOnDrain() {\n if (resumeOnReceiverDrain) ws._socket.resume();\n }\n\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n });\n } else {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n }\n\n const duplex = new Duplex({\n ...options,\n autoDestroy: false,\n emitClose: false,\n objectMode: false,\n writableObjectMode: false\n });\n\n ws.on('message', function message(msg) {\n if (!duplex.push(msg)) {\n resumeOnReceiverDrain = false;\n ws._socket.pause();\n }\n });\n\n ws.once('error', function error(err) {\n if (duplex.destroyed) return;\n\n // Prevent `ws.terminate()` from being called by `duplex._destroy()`.\n //\n // - If the `'error'` event is emitted before the `'open'` event, then\n // `ws.terminate()` is a noop as no socket is assigned.\n // - Otherwise, the error is re-emitted by the listener of the `'error'`\n // event of the `Receiver` object. The listener already closes the\n // connection by calling `ws.close()`. This allows a close frame to be\n // sent to the other peer. If `ws.terminate()` is called right after this,\n // then the close frame might not be sent.\n terminateOnDestroy = false;\n duplex.destroy(err);\n });\n\n ws.once('close', function close() {\n if (duplex.destroyed) return;\n\n duplex.push(null);\n });\n\n duplex._destroy = function (err, callback) {\n if (ws.readyState === ws.CLOSED) {\n callback(err);\n process.nextTick(emitClose, duplex);\n return;\n }\n\n let called = false;\n\n ws.once('error', function error(err) {\n called = true;\n callback(err);\n });\n\n ws.once('close', function close() {\n if (!called) callback(err);\n process.nextTick(emitClose, duplex);\n });\n\n if (terminateOnDestroy) ws.terminate();\n };\n\n duplex._final = function (callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._final(callback);\n });\n return;\n }\n\n // If the value of the `_socket` property is `null` it means that `ws` is a\n // client websocket and the handshake failed. In fact, when this happens, a\n // socket is never assigned to the websocket. Wait for the `'error'` event\n // that will be emitted by the websocket.\n if (ws._socket === null) return;\n\n if (ws._socket._writableState.finished) {\n callback();\n if (duplex._readableState.endEmitted) duplex.destroy();\n } else {\n ws._socket.once('finish', function finish() {\n // `duplex` is not destroyed here because the `'end'` event will be\n // emitted on `duplex` after this `'finish'` event. The EOF signaling\n // `null` chunk is, in fact, pushed when the websocket emits `'close'`.\n callback();\n });\n ws.close();\n }\n };\n\n duplex._read = function () {\n if (\n (ws.readyState === ws.OPEN || ws.readyState === ws.CLOSING) &&\n !resumeOnReceiverDrain\n ) {\n resumeOnReceiverDrain = true;\n if (!ws._receiver._writableState.needDrain) ws._socket.resume();\n }\n };\n\n duplex._write = function (chunk, encoding, callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._write(chunk, encoding, callback);\n });\n return;\n }\n\n ws.send(chunk, callback);\n };\n\n duplex.on('end', duplexOnEnd);\n duplex.on('error', duplexOnError);\n return duplex;\n}\n\nmodule.exports = createWebSocketStream;\n","'use strict';\n\n/**\n * Checks if a status code is allowed in a close frame.\n *\n * @param {Number} code The status code\n * @return {Boolean} `true` if the status code is valid, else `false`\n * @public\n */\nfunction isValidStatusCode(code) {\n return (\n (code >= 1000 &&\n code <= 1014 &&\n code !== 1004 &&\n code !== 1005 &&\n code !== 1006) ||\n (code >= 3000 && code <= 4999)\n );\n}\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction _isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0) {\n // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) {\n // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // Overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80) || // Overlong\n (buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0) // Surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) {\n // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n (buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80) || // Overlong\n (buf[i] === 0xf4 && buf[i + 1] > 0x8f) ||\n buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\ntry {\n let isValidUTF8 = require('utf-8-validate');\n\n /* istanbul ignore if */\n if (typeof isValidUTF8 === 'object') {\n isValidUTF8 = isValidUTF8.Validation.isValidUTF8; // utf-8-validate@<3.0.0\n }\n\n module.exports = {\n isValidStatusCode,\n isValidUTF8(buf) {\n return buf.length < 150 ? _isValidUTF8(buf) : isValidUTF8(buf);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n isValidStatusCode,\n isValidUTF8: _isValidUTF8\n };\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls|https$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst http = require('http');\nconst https = require('https');\nconst net = require('net');\nconst tls = require('tls');\nconst { createHash } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst WebSocket = require('./websocket');\nconst { format, parse } = require('./extension');\nconst { GUID, kWebSocket } = require('./constants');\n\nconst keyRegex = /^[+/0-9A-Za-z]{22}==$/;\n\nconst RUNNING = 0;\nconst CLOSING = 1;\nconst CLOSED = 2;\n\n/**\n * Class representing a WebSocket server.\n *\n * @extends EventEmitter\n */\nclass WebSocketServer extends EventEmitter {\n /**\n * Create a `WebSocketServer` instance.\n *\n * @param {Object} options Configuration options\n * @param {Number} [options.backlog=511] The maximum length of the queue of\n * pending connections\n * @param {Boolean} [options.clientTracking=true] Specifies whether or not to\n * track clients\n * @param {Function} [options.handleProtocols] A hook to handle protocols\n * @param {String} [options.host] The hostname where to bind the server\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.noServer=false] Enable no server mode\n * @param {String} [options.path] Accept only connections matching this path\n * @param {(Boolean|Object)} [options.perMessageDeflate=false] Enable/disable\n * permessage-deflate\n * @param {Number} [options.port] The port where to bind the server\n * @param {(http.Server|https.Server)} [options.server] A pre-created HTTP/S\n * server to use\n * @param {Function} [options.verifyClient] A hook to reject connections\n * @param {Function} [callback] A listener for the `listening` event\n */\n constructor(options, callback) {\n super();\n\n options = {\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: false,\n handleProtocols: null,\n clientTracking: true,\n verifyClient: null,\n noServer: false,\n backlog: null, // use default (511 as implemented in net.js)\n server: null,\n host: null,\n path: null,\n port: null,\n ...options\n };\n\n if (\n (options.port == null && !options.server && !options.noServer) ||\n (options.port != null && (options.server || options.noServer)) ||\n (options.server && options.noServer)\n ) {\n throw new TypeError(\n 'One and only one of the \"port\", \"server\", or \"noServer\" options ' +\n 'must be specified'\n );\n }\n\n if (options.port != null) {\n this._server = http.createServer((req, res) => {\n const body = http.STATUS_CODES[426];\n\n res.writeHead(426, {\n 'Content-Length': body.length,\n 'Content-Type': 'text/plain'\n });\n res.end(body);\n });\n this._server.listen(\n options.port,\n options.host,\n options.backlog,\n callback\n );\n } else if (options.server) {\n this._server = options.server;\n }\n\n if (this._server) {\n const emitConnection = this.emit.bind(this, 'connection');\n\n this._removeListeners = addListeners(this._server, {\n listening: this.emit.bind(this, 'listening'),\n error: this.emit.bind(this, 'error'),\n upgrade: (req, socket, head) => {\n this.handleUpgrade(req, socket, head, emitConnection);\n }\n });\n }\n\n if (options.perMessageDeflate === true) options.perMessageDeflate = {};\n if (options.clientTracking) this.clients = new Set();\n this.options = options;\n this._state = RUNNING;\n }\n\n /**\n * Returns the bound address, the address family name, and port of the server\n * as reported by the operating system if listening on an IP socket.\n * If the server is listening on a pipe or UNIX domain socket, the name is\n * returned as a string.\n *\n * @return {(Object|String|null)} The address of the server\n * @public\n */\n address() {\n if (this.options.noServer) {\n throw new Error('The server is operating in \"noServer\" mode');\n }\n\n if (!this._server) return null;\n return this._server.address();\n }\n\n /**\n * Close the server.\n *\n * @param {Function} [cb] Callback\n * @public\n */\n close(cb) {\n if (cb) this.once('close', cb);\n\n if (this._state === CLOSED) {\n process.nextTick(emitClose, this);\n return;\n }\n\n if (this._state === CLOSING) return;\n this._state = CLOSING;\n\n //\n // Terminate all associated clients.\n //\n if (this.clients) {\n for (const client of this.clients) client.terminate();\n }\n\n const server = this._server;\n\n if (server) {\n this._removeListeners();\n this._removeListeners = this._server = null;\n\n //\n // Close the http server if it was internally created.\n //\n if (this.options.port != null) {\n server.close(emitClose.bind(undefined, this));\n return;\n }\n }\n\n process.nextTick(emitClose, this);\n }\n\n /**\n * See if a given request should be handled by this server instance.\n *\n * @param {http.IncomingMessage} req Request object to inspect\n * @return {Boolean} `true` if the request is valid, else `false`\n * @public\n */\n shouldHandle(req) {\n if (this.options.path) {\n const index = req.url.indexOf('?');\n const pathname = index !== -1 ? req.url.slice(0, index) : req.url;\n\n if (pathname !== this.options.path) return false;\n }\n\n return true;\n }\n\n /**\n * Handle a HTTP Upgrade request.\n *\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @public\n */\n handleUpgrade(req, socket, head, cb) {\n socket.on('error', socketOnError);\n\n const key =\n req.headers['sec-websocket-key'] !== undefined\n ? req.headers['sec-websocket-key'].trim()\n : false;\n const version = +req.headers['sec-websocket-version'];\n const extensions = {};\n\n if (\n req.method !== 'GET' ||\n req.headers.upgrade.toLowerCase() !== 'websocket' ||\n !key ||\n !keyRegex.test(key) ||\n (version !== 8 && version !== 13) ||\n !this.shouldHandle(req)\n ) {\n return abortHandshake(socket, 400);\n }\n\n if (this.options.perMessageDeflate) {\n const perMessageDeflate = new PerMessageDeflate(\n this.options.perMessageDeflate,\n true,\n this.options.maxPayload\n );\n\n try {\n const offers = parse(req.headers['sec-websocket-extensions']);\n\n if (offers[PerMessageDeflate.extensionName]) {\n perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]);\n extensions[PerMessageDeflate.extensionName] = perMessageDeflate;\n }\n } catch (err) {\n return abortHandshake(socket, 400);\n }\n }\n\n //\n // Optionally call external client verification handler.\n //\n if (this.options.verifyClient) {\n const info = {\n origin:\n req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`],\n secure: !!(req.socket.authorized || req.socket.encrypted),\n req\n };\n\n if (this.options.verifyClient.length === 2) {\n this.options.verifyClient(info, (verified, code, message, headers) => {\n if (!verified) {\n return abortHandshake(socket, code || 401, message, headers);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n });\n return;\n }\n\n if (!this.options.verifyClient(info)) return abortHandshake(socket, 401);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n }\n\n /**\n * Upgrade the connection to WebSocket.\n *\n * @param {String} key The value of the `Sec-WebSocket-Key` header\n * @param {Object} extensions The accepted extensions\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @throws {Error} If called more than once with the same socket\n * @private\n */\n completeUpgrade(key, extensions, req, socket, head, cb) {\n //\n // Destroy the socket if the client has already sent a FIN packet.\n //\n if (!socket.readable || !socket.writable) return socket.destroy();\n\n if (socket[kWebSocket]) {\n throw new Error(\n 'server.handleUpgrade() was called more than once with the same ' +\n 'socket, possibly due to a misconfiguration'\n );\n }\n\n if (this._state > RUNNING) return abortHandshake(socket, 503);\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n const headers = [\n 'HTTP/1.1 101 Switching Protocols',\n 'Upgrade: websocket',\n 'Connection: Upgrade',\n `Sec-WebSocket-Accept: ${digest}`\n ];\n\n const ws = new WebSocket(null);\n let protocol = req.headers['sec-websocket-protocol'];\n\n if (protocol) {\n protocol = protocol.split(',').map(trim);\n\n //\n // Optionally call external protocol selection handler.\n //\n if (this.options.handleProtocols) {\n protocol = this.options.handleProtocols(protocol, req);\n } else {\n protocol = protocol[0];\n }\n\n if (protocol) {\n headers.push(`Sec-WebSocket-Protocol: ${protocol}`);\n ws._protocol = protocol;\n }\n }\n\n if (extensions[PerMessageDeflate.extensionName]) {\n const params = extensions[PerMessageDeflate.extensionName].params;\n const value = format({\n [PerMessageDeflate.extensionName]: [params]\n });\n headers.push(`Sec-WebSocket-Extensions: ${value}`);\n ws._extensions = extensions;\n }\n\n //\n // Allow external modification/inspection of handshake headers.\n //\n this.emit('headers', headers, req);\n\n socket.write(headers.concat('\\r\\n').join('\\r\\n'));\n socket.removeListener('error', socketOnError);\n\n ws.setSocket(socket, head, this.options.maxPayload);\n\n if (this.clients) {\n this.clients.add(ws);\n ws.on('close', () => this.clients.delete(ws));\n }\n\n cb(ws, req);\n }\n}\n\nmodule.exports = WebSocketServer;\n\n/**\n * Add event listeners on an `EventEmitter` using a map of \n * pairs.\n *\n * @param {EventEmitter} server The event emitter\n * @param {Object.} map The listeners to add\n * @return {Function} A function that will remove the added listeners when\n * called\n * @private\n */\nfunction addListeners(server, map) {\n for (const event of Object.keys(map)) server.on(event, map[event]);\n\n return function removeListeners() {\n for (const event of Object.keys(map)) {\n server.removeListener(event, map[event]);\n }\n };\n}\n\n/**\n * Emit a `'close'` event on an `EventEmitter`.\n *\n * @param {EventEmitter} server The event emitter\n * @private\n */\nfunction emitClose(server) {\n server._state = CLOSED;\n server.emit('close');\n}\n\n/**\n * Handle premature socket errors.\n *\n * @private\n */\nfunction socketOnError() {\n this.destroy();\n}\n\n/**\n * Close the connection when preconditions are not fulfilled.\n *\n * @param {(net.Socket|tls.Socket)} socket The socket of the upgrade request\n * @param {Number} code The HTTP response status code\n * @param {String} [message] The HTTP response body\n * @param {Object} [headers] Additional HTTP response headers\n * @private\n */\nfunction abortHandshake(socket, code, message, headers) {\n if (socket.writable) {\n message = message || http.STATUS_CODES[code];\n headers = {\n Connection: 'close',\n 'Content-Type': 'text/html',\n 'Content-Length': Buffer.byteLength(message),\n ...headers\n };\n\n socket.write(\n `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\\r\\n` +\n Object.keys(headers)\n .map((h) => `${h}: ${headers[h]}`)\n .join('\\r\\n') +\n '\\r\\n\\r\\n' +\n message\n );\n }\n\n socket.removeListener('error', socketOnError);\n socket.destroy();\n}\n\n/**\n * Remove whitespace characters from both ends of a string.\n *\n * @param {String} str The string\n * @return {String} A new string representing `str` stripped of whitespace\n * characters from both its beginning and end\n * @private\n */\nfunction trim(str) {\n return str.trim();\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^Readable$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst https = require('https');\nconst http = require('http');\nconst net = require('net');\nconst tls = require('tls');\nconst { randomBytes, createHash } = require('crypto');\nconst { Readable } = require('stream');\nconst { URL } = require('url');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst Receiver = require('./receiver');\nconst Sender = require('./sender');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n GUID,\n kStatusCode,\n kWebSocket,\n NOOP\n} = require('./constants');\nconst { addEventListener, removeEventListener } = require('./event-target');\nconst { format, parse } = require('./extension');\nconst { toBuffer } = require('./buffer-util');\n\nconst readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];\nconst protocolVersions = [8, 13];\nconst closeTimeout = 30 * 1000;\n\n/**\n * Class representing a WebSocket.\n *\n * @extends EventEmitter\n */\nclass WebSocket extends EventEmitter {\n /**\n * Create a new `WebSocket`.\n *\n * @param {(String|URL)} address The URL to which to connect\n * @param {(String|String[])} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n */\n constructor(address, protocols, options) {\n super();\n\n this._binaryType = BINARY_TYPES[0];\n this._closeCode = 1006;\n this._closeFrameReceived = false;\n this._closeFrameSent = false;\n this._closeMessage = '';\n this._closeTimer = null;\n this._extensions = {};\n this._protocol = '';\n this._readyState = WebSocket.CONNECTING;\n this._receiver = null;\n this._sender = null;\n this._socket = null;\n\n if (address !== null) {\n this._bufferedAmount = 0;\n this._isServer = false;\n this._redirects = 0;\n\n if (Array.isArray(protocols)) {\n protocols = protocols.join(', ');\n } else if (typeof protocols === 'object' && protocols !== null) {\n options = protocols;\n protocols = undefined;\n }\n\n initAsClient(this, address, protocols, options);\n } else {\n this._isServer = true;\n }\n }\n\n /**\n * This deviates from the WHATWG interface since ws doesn't support the\n * required default \"blob\" type (instead we define a custom \"nodebuffer\"\n * type).\n *\n * @type {String}\n */\n get binaryType() {\n return this._binaryType;\n }\n\n set binaryType(type) {\n if (!BINARY_TYPES.includes(type)) return;\n\n this._binaryType = type;\n\n //\n // Allow to change `binaryType` on the fly.\n //\n if (this._receiver) this._receiver._binaryType = type;\n }\n\n /**\n * @type {Number}\n */\n get bufferedAmount() {\n if (!this._socket) return this._bufferedAmount;\n\n return this._socket._writableState.length + this._sender._bufferedBytes;\n }\n\n /**\n * @type {String}\n */\n get extensions() {\n return Object.keys(this._extensions).join();\n }\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onclose() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onclose(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onerror() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onerror(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onopen() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onopen(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onmessage() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onmessage(listener) {}\n\n /**\n * @type {String}\n */\n get protocol() {\n return this._protocol;\n }\n\n /**\n * @type {Number}\n */\n get readyState() {\n return this._readyState;\n }\n\n /**\n * @type {String}\n */\n get url() {\n return this._url;\n }\n\n /**\n * Set up the socket and the internal resources.\n *\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Number} [maxPayload=0] The maximum allowed message size\n * @private\n */\n setSocket(socket, head, maxPayload) {\n const receiver = new Receiver(\n this.binaryType,\n this._extensions,\n this._isServer,\n maxPayload\n );\n\n this._sender = new Sender(socket, this._extensions);\n this._receiver = receiver;\n this._socket = socket;\n\n receiver[kWebSocket] = this;\n socket[kWebSocket] = this;\n\n receiver.on('conclude', receiverOnConclude);\n receiver.on('drain', receiverOnDrain);\n receiver.on('error', receiverOnError);\n receiver.on('message', receiverOnMessage);\n receiver.on('ping', receiverOnPing);\n receiver.on('pong', receiverOnPong);\n\n socket.setTimeout(0);\n socket.setNoDelay();\n\n if (head.length > 0) socket.unshift(head);\n\n socket.on('close', socketOnClose);\n socket.on('data', socketOnData);\n socket.on('end', socketOnEnd);\n socket.on('error', socketOnError);\n\n this._readyState = WebSocket.OPEN;\n this.emit('open');\n }\n\n /**\n * Emit the `'close'` event.\n *\n * @private\n */\n emitClose() {\n if (!this._socket) {\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n return;\n }\n\n if (this._extensions[PerMessageDeflate.extensionName]) {\n this._extensions[PerMessageDeflate.extensionName].cleanup();\n }\n\n this._receiver.removeAllListeners();\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n }\n\n /**\n * Start a closing handshake.\n *\n * +----------+ +-----------+ +----------+\n * - - -|ws.close()|-->|close frame|-->|ws.close()|- - -\n * | +----------+ +-----------+ +----------+ |\n * +----------+ +-----------+ |\n * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING\n * +----------+ +-----------+ |\n * | | | +---+ |\n * +------------------------+-->|fin| - - - -\n * | +---+ | +---+\n * - - - - -|fin|<---------------------+\n * +---+\n *\n * @param {Number} [code] Status code explaining why the connection is closing\n * @param {String} [data] A string explaining why the connection is closing\n * @public\n */\n close(code, data) {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this.readyState === WebSocket.CLOSING) {\n if (\n this._closeFrameSent &&\n (this._closeFrameReceived || this._receiver._writableState.errorEmitted)\n ) {\n this._socket.end();\n }\n\n return;\n }\n\n this._readyState = WebSocket.CLOSING;\n this._sender.close(code, data, !this._isServer, (err) => {\n //\n // This error is handled by the `'error'` listener on the socket. We only\n // want to know if the close frame has been sent here.\n //\n if (err) return;\n\n this._closeFrameSent = true;\n\n if (\n this._closeFrameReceived ||\n this._receiver._writableState.errorEmitted\n ) {\n this._socket.end();\n }\n });\n\n //\n // Specify a timeout for the closing handshake to complete.\n //\n this._closeTimer = setTimeout(\n this._socket.destroy.bind(this._socket),\n closeTimeout\n );\n }\n\n /**\n * Send a ping.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the ping is sent\n * @public\n */\n ping(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.ping(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a pong.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the pong is sent\n * @public\n */\n pong(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.pong(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a data message.\n *\n * @param {*} data The message to send\n * @param {Object} [options] Options object\n * @param {Boolean} [options.compress] Specifies whether or not to compress\n * `data`\n * @param {Boolean} [options.binary] Specifies whether `data` is binary or\n * text\n * @param {Boolean} [options.fin=true] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when data is written out\n * @public\n */\n send(data, options, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof options === 'function') {\n cb = options;\n options = {};\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n const opts = {\n binary: typeof data !== 'string',\n mask: !this._isServer,\n compress: true,\n fin: true,\n ...options\n };\n\n if (!this._extensions[PerMessageDeflate.extensionName]) {\n opts.compress = false;\n }\n\n this._sender.send(data || EMPTY_BUFFER, opts, cb);\n }\n\n /**\n * Forcibly close the connection.\n *\n * @public\n */\n terminate() {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this._socket) {\n this._readyState = WebSocket.CLOSING;\n this._socket.destroy();\n }\n }\n}\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n[\n 'binaryType',\n 'bufferedAmount',\n 'extensions',\n 'protocol',\n 'readyState',\n 'url'\n].forEach((property) => {\n Object.defineProperty(WebSocket.prototype, property, { enumerable: true });\n});\n\n//\n// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.\n// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface\n//\n['open', 'error', 'close', 'message'].forEach((method) => {\n Object.defineProperty(WebSocket.prototype, `on${method}`, {\n enumerable: true,\n get() {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i]._listener) return listeners[i]._listener;\n }\n\n return undefined;\n },\n set(listener) {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n //\n // Remove only the listeners added via `addEventListener`.\n //\n if (listeners[i]._listener) this.removeListener(method, listeners[i]);\n }\n this.addEventListener(method, listener);\n }\n });\n});\n\nWebSocket.prototype.addEventListener = addEventListener;\nWebSocket.prototype.removeEventListener = removeEventListener;\n\nmodule.exports = WebSocket;\n\n/**\n * Initialize a WebSocket client.\n *\n * @param {WebSocket} websocket The client to initialize\n * @param {(String|URL)} address The URL to which to connect\n * @param {String} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable\n * permessage-deflate\n * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the\n * handshake request\n * @param {Number} [options.protocolVersion=13] Value of the\n * `Sec-WebSocket-Version` header\n * @param {String} [options.origin] Value of the `Origin` or\n * `Sec-WebSocket-Origin` header\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.followRedirects=false] Whether or not to follow\n * redirects\n * @param {Number} [options.maxRedirects=10] The maximum number of redirects\n * allowed\n * @private\n */\nfunction initAsClient(websocket, address, protocols, options) {\n const opts = {\n protocolVersion: protocolVersions[1],\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: true,\n followRedirects: false,\n maxRedirects: 10,\n ...options,\n createConnection: undefined,\n socketPath: undefined,\n hostname: undefined,\n protocol: undefined,\n timeout: undefined,\n method: undefined,\n host: undefined,\n path: undefined,\n port: undefined\n };\n\n if (!protocolVersions.includes(opts.protocolVersion)) {\n throw new RangeError(\n `Unsupported protocol version: ${opts.protocolVersion} ` +\n `(supported versions: ${protocolVersions.join(', ')})`\n );\n }\n\n let parsedUrl;\n\n if (address instanceof URL) {\n parsedUrl = address;\n websocket._url = address.href;\n } else {\n parsedUrl = new URL(address);\n websocket._url = address;\n }\n\n const isUnixSocket = parsedUrl.protocol === 'ws+unix:';\n\n if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) {\n const err = new Error(`Invalid URL: ${websocket.url}`);\n\n if (websocket._redirects === 0) {\n throw err;\n } else {\n emitErrorAndClose(websocket, err);\n return;\n }\n }\n\n const isSecure =\n parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:';\n const defaultPort = isSecure ? 443 : 80;\n const key = randomBytes(16).toString('base64');\n const get = isSecure ? https.get : http.get;\n let perMessageDeflate;\n\n opts.createConnection = isSecure ? tlsConnect : netConnect;\n opts.defaultPort = opts.defaultPort || defaultPort;\n opts.port = parsedUrl.port || defaultPort;\n opts.host = parsedUrl.hostname.startsWith('[')\n ? parsedUrl.hostname.slice(1, -1)\n : parsedUrl.hostname;\n opts.headers = {\n 'Sec-WebSocket-Version': opts.protocolVersion,\n 'Sec-WebSocket-Key': key,\n Connection: 'Upgrade',\n Upgrade: 'websocket',\n ...opts.headers\n };\n opts.path = parsedUrl.pathname + parsedUrl.search;\n opts.timeout = opts.handshakeTimeout;\n\n if (opts.perMessageDeflate) {\n perMessageDeflate = new PerMessageDeflate(\n opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},\n false,\n opts.maxPayload\n );\n opts.headers['Sec-WebSocket-Extensions'] = format({\n [PerMessageDeflate.extensionName]: perMessageDeflate.offer()\n });\n }\n if (protocols) {\n opts.headers['Sec-WebSocket-Protocol'] = protocols;\n }\n if (opts.origin) {\n if (opts.protocolVersion < 13) {\n opts.headers['Sec-WebSocket-Origin'] = opts.origin;\n } else {\n opts.headers.Origin = opts.origin;\n }\n }\n if (parsedUrl.username || parsedUrl.password) {\n opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;\n }\n\n if (isUnixSocket) {\n const parts = opts.path.split(':');\n\n opts.socketPath = parts[0];\n opts.path = parts[1];\n }\n\n if (opts.followRedirects) {\n if (websocket._redirects === 0) {\n websocket._originalUnixSocket = isUnixSocket;\n websocket._originalSecure = isSecure;\n websocket._originalHostOrSocketPath = isUnixSocket\n ? opts.socketPath\n : parsedUrl.host;\n\n const headers = options && options.headers;\n\n //\n // Shallow copy the user provided options so that headers can be changed\n // without mutating the original object.\n //\n options = { ...options, headers: {} };\n\n if (headers) {\n for (const [key, value] of Object.entries(headers)) {\n options.headers[key.toLowerCase()] = value;\n }\n }\n } else {\n const isSameHost = isUnixSocket\n ? websocket._originalUnixSocket\n ? opts.socketPath === websocket._originalHostOrSocketPath\n : false\n : websocket._originalUnixSocket\n ? false\n : parsedUrl.host === websocket._originalHostOrSocketPath;\n\n if (!isSameHost || (websocket._originalSecure && !isSecure)) {\n //\n // Match curl 7.77.0 behavior and drop the following headers. These\n // headers are also dropped when following a redirect to a subdomain.\n //\n delete opts.headers.authorization;\n delete opts.headers.cookie;\n\n if (!isSameHost) delete opts.headers.host;\n\n opts.auth = undefined;\n }\n }\n\n //\n // Match curl 7.77.0 behavior and make the first `Authorization` header win.\n // If the `Authorization` header is set, then there is nothing to do as it\n // will take precedence.\n //\n if (opts.auth && !options.headers.authorization) {\n options.headers.authorization =\n 'Basic ' + Buffer.from(opts.auth).toString('base64');\n }\n }\n\n let req = (websocket._req = get(opts));\n\n if (opts.timeout) {\n req.on('timeout', () => {\n abortHandshake(websocket, req, 'Opening handshake has timed out');\n });\n }\n\n req.on('error', (err) => {\n if (req === null || req.aborted) return;\n\n req = websocket._req = null;\n emitErrorAndClose(websocket, err);\n });\n\n req.on('response', (res) => {\n const location = res.headers.location;\n const statusCode = res.statusCode;\n\n if (\n location &&\n opts.followRedirects &&\n statusCode >= 300 &&\n statusCode < 400\n ) {\n if (++websocket._redirects > opts.maxRedirects) {\n abortHandshake(websocket, req, 'Maximum redirects exceeded');\n return;\n }\n\n req.abort();\n\n let addr;\n\n try {\n addr = new URL(location, address);\n } catch (err) {\n emitErrorAndClose(websocket, err);\n return;\n }\n\n initAsClient(websocket, addr, protocols, options);\n } else if (!websocket.emit('unexpected-response', req, res)) {\n abortHandshake(\n websocket,\n req,\n `Unexpected server response: ${res.statusCode}`\n );\n }\n });\n\n req.on('upgrade', (res, socket, head) => {\n websocket.emit('upgrade', res);\n\n //\n // The user may have closed the connection from a listener of the `upgrade`\n // event.\n //\n if (websocket.readyState !== WebSocket.CONNECTING) return;\n\n req = websocket._req = null;\n\n if (res.headers.upgrade.toLowerCase() !== 'websocket') {\n abortHandshake(websocket, socket, 'Invalid Upgrade header');\n return;\n }\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n if (res.headers['sec-websocket-accept'] !== digest) {\n abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');\n return;\n }\n\n const serverProt = res.headers['sec-websocket-protocol'];\n const protList = (protocols || '').split(/, */);\n let protError;\n\n if (!protocols && serverProt) {\n protError = 'Server sent a subprotocol but none was requested';\n } else if (protocols && !serverProt) {\n protError = 'Server sent no subprotocol';\n } else if (serverProt && !protList.includes(serverProt)) {\n protError = 'Server sent an invalid subprotocol';\n }\n\n if (protError) {\n abortHandshake(websocket, socket, protError);\n return;\n }\n\n if (serverProt) websocket._protocol = serverProt;\n\n const secWebSocketExtensions = res.headers['sec-websocket-extensions'];\n\n if (secWebSocketExtensions !== undefined) {\n if (!perMessageDeflate) {\n const message =\n 'Server sent a Sec-WebSocket-Extensions header but no extension ' +\n 'was requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n let extensions;\n\n try {\n extensions = parse(secWebSocketExtensions);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n const extensionNames = Object.keys(extensions);\n\n if (extensionNames.length) {\n if (\n extensionNames.length !== 1 ||\n extensionNames[0] !== PerMessageDeflate.extensionName\n ) {\n const message =\n 'Server indicated an extension that was not requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n try {\n perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n websocket._extensions[PerMessageDeflate.extensionName] =\n perMessageDeflate;\n }\n }\n\n websocket.setSocket(socket, head, opts.maxPayload);\n });\n}\n\n/**\n * Emit the `'error'` and `'close'` event.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {Error} The error to emit\n * @private\n */\nfunction emitErrorAndClose(websocket, err) {\n websocket._readyState = WebSocket.CLOSING;\n websocket.emit('error', err);\n websocket.emitClose();\n}\n\n/**\n * Create a `net.Socket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {net.Socket} The newly created socket used to start the connection\n * @private\n */\nfunction netConnect(options) {\n options.path = options.socketPath;\n return net.connect(options);\n}\n\n/**\n * Create a `tls.TLSSocket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {tls.TLSSocket} The newly created socket used to start the connection\n * @private\n */\nfunction tlsConnect(options) {\n options.path = undefined;\n\n if (!options.servername && options.servername !== '') {\n options.servername = net.isIP(options.host) ? '' : options.host;\n }\n\n return tls.connect(options);\n}\n\n/**\n * Abort the handshake and emit an error.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to\n * abort or the socket to destroy\n * @param {String} message The error message\n * @private\n */\nfunction abortHandshake(websocket, stream, message) {\n websocket._readyState = WebSocket.CLOSING;\n\n const err = new Error(message);\n Error.captureStackTrace(err, abortHandshake);\n\n if (stream.setHeader) {\n stream.abort();\n\n if (stream.socket && !stream.socket.destroyed) {\n //\n // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if\n // called after the request completed. See\n // https://github.com/websockets/ws/issues/1869.\n //\n stream.socket.destroy();\n }\n\n stream.once('abort', websocket.emitClose.bind(websocket));\n websocket.emit('error', err);\n } else {\n stream.destroy(err);\n stream.once('error', websocket.emit.bind(websocket, 'error'));\n stream.once('close', websocket.emitClose.bind(websocket));\n }\n}\n\n/**\n * Handle cases where the `ping()`, `pong()`, or `send()` methods are called\n * when the `readyState` attribute is `CLOSING` or `CLOSED`.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {*} [data] The data to send\n * @param {Function} [cb] Callback\n * @private\n */\nfunction sendAfterClose(websocket, data, cb) {\n if (data) {\n const length = toBuffer(data).length;\n\n //\n // The `_bufferedAmount` property is used only when the peer is a client and\n // the opening handshake fails. Under these circumstances, in fact, the\n // `setSocket()` method is not called, so the `_socket` and `_sender`\n // properties are set to `null`.\n //\n if (websocket._socket) websocket._sender._bufferedBytes += length;\n else websocket._bufferedAmount += length;\n }\n\n if (cb) {\n const err = new Error(\n `WebSocket is not open: readyState ${websocket.readyState} ` +\n `(${readyStates[websocket.readyState]})`\n );\n cb(err);\n }\n}\n\n/**\n * The listener of the `Receiver` `'conclude'` event.\n *\n * @param {Number} code The status code\n * @param {String} reason The reason for closing\n * @private\n */\nfunction receiverOnConclude(code, reason) {\n const websocket = this[kWebSocket];\n\n websocket._closeFrameReceived = true;\n websocket._closeMessage = reason;\n websocket._closeCode = code;\n\n if (websocket._socket[kWebSocket] === undefined) return;\n\n websocket._socket.removeListener('data', socketOnData);\n process.nextTick(resume, websocket._socket);\n\n if (code === 1005) websocket.close();\n else websocket.close(code, reason);\n}\n\n/**\n * The listener of the `Receiver` `'drain'` event.\n *\n * @private\n */\nfunction receiverOnDrain() {\n this[kWebSocket]._socket.resume();\n}\n\n/**\n * The listener of the `Receiver` `'error'` event.\n *\n * @param {(RangeError|Error)} err The emitted error\n * @private\n */\nfunction receiverOnError(err) {\n const websocket = this[kWebSocket];\n\n if (websocket._socket[kWebSocket] !== undefined) {\n websocket._socket.removeListener('data', socketOnData);\n\n //\n // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See\n // https://github.com/websockets/ws/issues/1940.\n //\n process.nextTick(resume, websocket._socket);\n\n websocket.close(err[kStatusCode]);\n }\n\n websocket.emit('error', err);\n}\n\n/**\n * The listener of the `Receiver` `'finish'` event.\n *\n * @private\n */\nfunction receiverOnFinish() {\n this[kWebSocket].emitClose();\n}\n\n/**\n * The listener of the `Receiver` `'message'` event.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message\n * @private\n */\nfunction receiverOnMessage(data) {\n this[kWebSocket].emit('message', data);\n}\n\n/**\n * The listener of the `Receiver` `'ping'` event.\n *\n * @param {Buffer} data The data included in the ping frame\n * @private\n */\nfunction receiverOnPing(data) {\n const websocket = this[kWebSocket];\n\n websocket.pong(data, !websocket._isServer, NOOP);\n websocket.emit('ping', data);\n}\n\n/**\n * The listener of the `Receiver` `'pong'` event.\n *\n * @param {Buffer} data The data included in the pong frame\n * @private\n */\nfunction receiverOnPong(data) {\n this[kWebSocket].emit('pong', data);\n}\n\n/**\n * Resume a readable stream\n *\n * @param {Readable} stream The readable stream\n * @private\n */\nfunction resume(stream) {\n stream.resume();\n}\n\n/**\n * The listener of the `net.Socket` `'close'` event.\n *\n * @private\n */\nfunction socketOnClose() {\n const websocket = this[kWebSocket];\n\n this.removeListener('close', socketOnClose);\n this.removeListener('data', socketOnData);\n this.removeListener('end', socketOnEnd);\n\n websocket._readyState = WebSocket.CLOSING;\n\n let chunk;\n\n //\n // The close frame might not have been received or the `'end'` event emitted,\n // for example, if the socket was destroyed due to an error. Ensure that the\n // `receiver` stream is closed after writing any remaining buffered data to\n // it. If the readable side of the socket is in flowing mode then there is no\n // buffered data as everything has been already written and `readable.read()`\n // will return `null`. If instead, the socket is paused, any possible buffered\n // data will be read as a single chunk.\n //\n if (\n !this._readableState.endEmitted &&\n !websocket._closeFrameReceived &&\n !websocket._receiver._writableState.errorEmitted &&\n (chunk = websocket._socket.read()) !== null\n ) {\n websocket._receiver.write(chunk);\n }\n\n websocket._receiver.end();\n\n this[kWebSocket] = undefined;\n\n clearTimeout(websocket._closeTimer);\n\n if (\n websocket._receiver._writableState.finished ||\n websocket._receiver._writableState.errorEmitted\n ) {\n websocket.emitClose();\n } else {\n websocket._receiver.on('error', receiverOnFinish);\n websocket._receiver.on('finish', receiverOnFinish);\n }\n}\n\n/**\n * The listener of the `net.Socket` `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction socketOnData(chunk) {\n if (!this[kWebSocket]._receiver.write(chunk)) {\n this.pause();\n }\n}\n\n/**\n * The listener of the `net.Socket` `'end'` event.\n *\n * @private\n */\nfunction socketOnEnd() {\n const websocket = this[kWebSocket];\n\n websocket._readyState = WebSocket.CLOSING;\n websocket._receiver.end();\n this.end();\n}\n\n/**\n * The listener of the `net.Socket` `'error'` event.\n *\n * @private\n */\nfunction socketOnError() {\n const websocket = this[kWebSocket];\n\n this.removeListener('error', socketOnError);\n this.on('error', NOOP);\n\n if (websocket) {\n websocket._readyState = WebSocket.CLOSING;\n this.destroy();\n }\n}\n","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"cluster\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/nanoid/nanoid\",\"webpack/sharing/consume/default/kafkajs/kafkajs\",\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\",\"webpack/sharing/consume/default/axios/axios?5c0e\",\"webpack/sharing/consume/default/multicast-dns/multicast-dns\",\"webpack/sharing/consume/default/axios/axios?5326\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\n// no chunk loading of consumes","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(\"./node_modules/@babel/polyfill/lib/index.js\");\nreturn __webpack_require__(\"./src/index.js\");\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/main.wasm b/dist/main.wasm deleted file mode 100644 index 42fd260f04cbd73fefedc58f96711f3f5e438f40..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16591 zcmch93z$^Jm4DqwKc;Wb%mqeJM&)+*peU~y-UPEuO@N32(M8mcC4m73q?>s%fW%>D z5)es5CB{E0kac2INQ8*-#ozcKi4Qc0WHlQTQBZLg9~)Us@{wg=_V=s0x4UOBhW-BE z{-?e7)~!0{)Opo8r>Yx8^|D$+2w_}VJkMw|+He!|1fEt~8(U(Y*~V_%h3X?n3vM>X z(FL3qz_+loWnQSYwXIcAX*Jr+b4{zJZbhhietlE3C}2A}sk*slSY7=};aJ0mnYLks z!H#4;DoFas!-f-i-RK=(T+=+geqqhh%d2Z^gz4aQa^1p)`XzPE!Yshsr25+GC3V7# zqJ0IVTqe#Z&{yhfYpd%PE)xSnbLZC8tQ2uP8vxiZGI#FsI=0R(m^*ht{nDj13!23_ z&fK|8&CN^Z&aYlpWAzT#*3{NFtujS;dBZ~JOI#SQB@x(?7Az4LN9*fmX{5nuPO4d21NZ~x#HhDPa4wHMLxa}&$t)qaga@>yb);<)s11Y`^c88_xq%p{}WlLj1Se2gejIY{w zu*+(c7G9)~hYRFAhICya98buSv|Fknh!i&*$C+;!Z9!Mkm`o%9Lhn=A8!c5mB-15i zZ;~knAq*r%c4SR3f#HcUW|W+0idJLO7}Iv{F$@cHq(W0Pe^GxPQvJRm&sWSDWg!rD z?Nm6Su;WQn8q@7IX@ooz-Z01%UjuW8W3t1MedW0d$&^;JyssjSLFqL*3Cn{9z($ zl@K8^WG8Lt%=SXy-tj_chdi4)rHX-WH+yDUn$6I_Jf+?IK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?xS#x#x(}lSX|?9jaM^~3L!?S&nVnS;~Il&EUt05#w%_( z6R8kll=_UueGIO#xW?fcuQ(<*oQYHjF9niH96vJq(ms$ znNXG2`lOSgDQQNQv@>yMX~!~ikhn-4*27MKMwe3x?aWue?0KV1Ajd5#{+*n@aa|b3|f~KqL!&CN=uG8D>19p zXFl%SMlQrvgKH5e(ktm%^bT5>R-&e zR-&e6P>>dIv2`D^b(b79}RvoSE42 z;9$p?gCsN9nZcNFDK4&PMteqPMo~sQYLA=~YcckNOGFyQ`clN0Iz+t&6va(ycd;D1 zhLwnQtHd`^r4G?m>X6*g!E(S-7u=03#E&voiEHqt4kkX<(8q`5N^@@I^A9E_`IvI+ zP(^wB&>U{Zyx=-%CVyv7yrP%ko$EH7yocD_EZJ_J(bk2*(Wx6{PWZuiAjnwcUk@N nrUf { - -/** - * Helpers. - */ - -var s = 1000; -var m = s * 60; -var h = m * 60; -var d = h * 24; -var w = d * 7; -var y = d * 365.25; - -/** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ - -module.exports = function(val, options) { - options = options || {}; - var type = typeof val; - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isFinite(val)) { - return options.long ? fmtLong(val) : fmtShort(val); - } - throw new Error( - 'val is not a non-empty string or a valid number. val=' + - JSON.stringify(val) - ); -}; - -/** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ - -function parse(str) { - str = String(str); - if (str.length > 100) { - return; - } - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( - str - ); - if (!match) { - return; - } - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - case 'weeks': - case 'week': - case 'w': - return n * w; - case 'days': - case 'day': - case 'd': - return n * d; - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - default: - return undefined; - } -} - -/** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - -function fmtShort(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return Math.round(ms / d) + 'd'; - } - if (msAbs >= h) { - return Math.round(ms / h) + 'h'; - } - if (msAbs >= m) { - return Math.round(ms / m) + 'm'; - } - if (msAbs >= s) { - return Math.round(ms / s) + 's'; - } - return ms + 'ms'; -} - -/** - * Long format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - -function fmtLong(ms) { - var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, 'day'); - } - if (msAbs >= h) { - return plural(ms, msAbs, h, 'hour'); - } - if (msAbs >= m) { - return plural(ms, msAbs, m, 'minute'); - } - if (msAbs >= s) { - return plural(ms, msAbs, s, 'second'); - } - return ms + ' ms'; -} - -/** - * Pluralization helper. - */ - -function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); -} - - /***/ }), /***/ "./node_modules/debug/src/browser.js": @@ -3633,7 +3458,7 @@ function setup(env) { createDebug.disable = disable; createDebug.enable = enable; createDebug.enabled = enabled; - createDebug.humanize = __webpack_require__(/*! ms */ "./node_modules/debug/node_modules/ms/index.js"); + createDebug.humanize = __webpack_require__(/*! ms */ "./node_modules/ms/index.js"); createDebug.destroy = destroy; Object.keys(env).forEach(key => { @@ -6910,28 +6735,6 @@ module.exports = wrap({ http: http, https: https }); module.exports.wrap = wrap; -/***/ }), - -/***/ "./node_modules/has-flag/index.js": -/*!****************************************!*\ - !*** ./node_modules/has-flag/index.js ***! - \****************************************/ -/*! unknown exports (runtime-defined) */ -/*! runtime requirements: module */ -/*! CommonJS bailout: module.exports is used directly at 2:0-14 */ -/***/ ((module) => { - -"use strict"; - -module.exports = (flag, argv) => { - argv = argv || process.argv; - const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); - const pos = argv.indexOf(prefix + flag); - const terminatorPos = argv.indexOf('--'); - return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); -}; - - /***/ }), /***/ "./node_modules/is-retry-allowed/index.js": @@ -33994,6 +33797,181 @@ const BASE_URL = 'https://kafka.js.org' module.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}` +/***/ }), + +/***/ "./node_modules/ms/index.js": +/*!**********************************!*\ + !*** ./node_modules/ms/index.js ***! + \**********************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 26:0-14 */ +/***/ ((module) => { + +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} + + /***/ }), /***/ "./node_modules/multicast-dns/index.js": @@ -39423,29 +39401,38 @@ module.exports = (batch, sender, Result, keyTranslationFormat) => { \**********************************************/ /*! unknown exports (runtime-defined) */ /*! runtime requirements: module, __webpack_require__ */ -/*! CommonJS bailout: module.exports is used directly at 127:0-14 */ +/*! CommonJS bailout: module.exports is used directly at 131:0-14 */ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; const os = __webpack_require__(/*! os */ "os"); -const hasFlag = __webpack_require__(/*! has-flag */ "./node_modules/has-flag/index.js"); +const tty = __webpack_require__(/*! tty */ "tty"); +const hasFlag = __webpack_require__(/*! has-flag */ "./node_modules/supports-color/node_modules/has-flag/index.js"); -const env = process.env; +const {env} = process; let forceColor; if (hasFlag('no-color') || hasFlag('no-colors') || - hasFlag('color=false')) { - forceColor = false; + hasFlag('color=false') || + hasFlag('color=never')) { + forceColor = 0; } else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) { - forceColor = true; + forceColor = 1; } + if ('FORCE_COLOR' in env) { - forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; + if (env.FORCE_COLOR === 'true') { + forceColor = 1; + } else if (env.FORCE_COLOR === 'false') { + forceColor = 0; + } else { + forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); + } } function translateLevel(level) { @@ -39461,8 +39448,8 @@ function translateLevel(level) { }; } -function supportsColor(stream) { - if (forceColor === false) { +function supportsColor(haveStream, streamIsTTY) { + if (forceColor === 0) { return 0; } @@ -39476,22 +39463,21 @@ function supportsColor(stream) { return 2; } - if (stream && !stream.isTTY && forceColor !== true) { + if (haveStream && !streamIsTTY && forceColor === undefined) { return 0; } - const min = forceColor ? 1 : 0; + const min = forceColor || 0; + + if (env.TERM === 'dumb') { + return min; + } if (process.platform === 'win32') { - // Node.js 7.5.0 is the first version of Node.js to include a patch to - // libuv that enables 256 color output on Windows. Anything earlier and it - // won't work. However, here we target Node.js 8 at minimum as it is an LTS - // release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows - // release that supports 256 colors. Windows 10 build 14931 is the first release - // that supports 16m/TrueColor. + // Windows 10 build 10586 is the first Windows release that supports 256 colors. + // Windows 10 build 14931 is the first release that supports 16m/TrueColor. const osRelease = os.release().split('.'); if ( - Number(process.versions.node.split('.')[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ) { @@ -39502,7 +39488,7 @@ function supportsColor(stream) { } if ('CI' in env) { - if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') { return 1; } @@ -39541,22 +39527,40 @@ function supportsColor(stream) { return 1; } - if (env.TERM === 'dumb') { - return min; - } - return min; } function getSupportLevel(stream) { - const level = supportsColor(stream); + const level = supportsColor(stream, stream && stream.isTTY); return translateLevel(level); } module.exports = { supportsColor: getSupportLevel, - stdout: getSupportLevel(process.stdout), - stderr: getSupportLevel(process.stderr) + stdout: translateLevel(supportsColor(true, tty.isatty(1))), + stderr: translateLevel(supportsColor(true, tty.isatty(2))) +}; + + +/***/ }), + +/***/ "./node_modules/supports-color/node_modules/has-flag/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/supports-color/node_modules/has-flag/index.js ***! + \********************************************************************/ +/*! unknown exports (runtime-defined) */ +/*! runtime requirements: module */ +/*! CommonJS bailout: module.exports is used directly at 3:0-14 */ +/***/ ((module) => { + +"use strict"; + + +module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf('--'); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); }; diff --git a/dist/remoteEntry.js.map b/dist/remoteEntry.js.map index d208e40a..74e42f17 100644 --- a/dist/remoteEntry.js.map +++ b/dist/remoteEntry.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/debug/node_modules/ms/index.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/webpack/container-entry","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/ensure chunk","webpack://aegis-app/webpack/runtime/get javascript chunk filename","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/publicPath","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/runtime/readFile chunk loading","webpack://aegis-app/webpack/startup"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,IAAI,IAAI,IAAI,GAAG,IAAI;AAC3C;AACA,+BAA+B,IAAI,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,IAAI,EAAE,IAAI;AAClF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,SAAS;AAC9B;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;;AAEA,qBAAqB,eAAe;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,oBAAoB;AACpB,WAAW;AACX,oBAAoB;AACpB,WAAW;AACX,oBAAoB;;AAEpB;AACA,WAAW;;;AAGX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA,mDAAmD,eAAe;AAClE;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA,qBAAqB,YAAY;AACjC;AACA;AACA;;AAEA;AACA;;AAEA,uEAAuE,IAAI;AAC3E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uCAAuC,GAAG;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA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MAAM;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,eAAe,mBAAO,CAAC,wDAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,kEAAiB;AACxC,oBAAoB,mBAAO,CAAC,4EAAsB;AAClD,iBAAiB,mBAAO,CAAC,sEAAmB;;AAE5C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAkB;;AAEzC;AACA,qBAAqB,mBAAO,CAAC,gFAAwB;;AAErD;;AAEA;AACA,sBAAsB;;;;;;;;;;;;;;;ACvDT;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,2DAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxDa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,yEAAqB;AAC5C,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;AACjD,kBAAkB,mBAAO,CAAC,mEAAe;AACzC,gBAAgB,mBAAO,CAAC,2EAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjKA;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,yDAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACtQY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAuB,2BAA2B;AAClD,mBAAmB;;;;;;;;;;;;;;;AC5mBN;AACb;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC7DA,cAAc,mBAAO,CAAC,kDAAO;AAC7B,2BAA2B,mBAAO,CAAC,wFAA0B;AAC7D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,qBAAqB,mBAAO,CAAC,8FAA6B;AAC1D,oBAAoB,mBAAO,CAAC,4GAAoC;AAChE,sBAAsB,mBAAO,CAAC,0FAA8B;AAC5D,4BAA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BAAwB;AAC/B;AACA;AACA,8BAA8B,IAAI;AAClC;;AAEA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA,WAAW,sBAAsB,yBAAyB,eAAe,WAAW,EAAE;AACtF;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,6BAA6B;AACxC,WAAW,4BAA4B;AACvC,WAAW,mCAAmC;AAC9C,WAAW,8BAA8B;AACzC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAmC,oBAAoB;AACvD;AACA;AAC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;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,qBAAqB;AACrC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,yBAAyB;AACzC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,cAAc;AAC9B,gBAAgB,cAAc;AAC9B;AACA,qCAAqC,cAAc,KAAK;AACxD;AACA;AACA;AACA,8DAA8D,MAAM;AACpE;AACA,OAAO;AACP;;AAEA,6CAA6C,SAAS;;AAEtD;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,cAAc;AAC9B,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,WAAW,0CAA0C,2BAA2B,aAAa;AAC7F,gCAAgC,qBAAqB;AACrD;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,iBAAiB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA;AACA,+CAA+C,SAAS;AACxD;AACA;AACA;;AAEA,YAAY;AACZ;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA,eAAe,OAAO;AACtB,gBAAgB,wBAAwB;AACxC;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,gEAAgE,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ACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,gDAAgD,0CAA0C;AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AA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,CAAC,6FAA8B;AACjF,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D;AACA;AACA;AACA;AACA;;AAEA,WAAW,sCAAsC;AACjD;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,6BAA6B;AAC1C,aAAa,OAAO;AACpB,aAAa,kCAAkC;AAC/C;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB,GAAG,qBAAqB;;AAEzE;AACA;AACA,wCAAwC,mBAAmB;AAC3D,KAAK;;AAEL;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA;AACA,eAAe;AACf;AACA,sBAAsB,yBAAyB;AAC/C;AACA,0DAA0D,kBAAkB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,4CAA4C;AACzD;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,yBAAyB,qCAAqC;AAC9D;AACA,6DAA6D,6BAA6B;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,sBAAsB,kCAAkC;AACxD;AACA,0DAA0D,0BAA0B;AACpF;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,wBAAwB,sCAAsC;AAC9D;AACA,4DAA4D,sCAAsC;AAClG;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,4BAA4B,qDAAqD;AACjF;AACA;AACA;AACA;AACA;AACA,0BAA0B,qDAAqD;AAC/E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,yBAAyB,sDAAsD;AAC/E;AACA;AACA,uBAAuB,sDAAsD;AAC7E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,oBAAoB,MAAM;AAC1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AAoB;AACvD,iEAAiE,SAAS;AAC1E,KAAK;AACL;AACA,6CAA6C,UAAU;AACvD;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA,eAAe,mBAAO,CAAC,sBAAQ;AAC/B,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,2DAA2D,GAAG,mBAAO,CAAC,0DAAc;;AAE3F;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB,KAAK,kBAAkB;AAC9D;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qBAAqB,KAAK,OAAO;AACjD;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrUA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,eAAe,mBAAO,CAAC,6DAAW;AAClC,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,OAAO,8CAA8C,GAAG,mBAAO,CAAC,uDAAW;;AAE3E,OAAO,uBAAuB;AAC9B,wCAAwC,mBAAmB;AAC3D;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gDAAgD;AAC7D,aAAa,6BAA6B;AAC1C,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,eAAe,mBAAmB;AAClC;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;;AAEA;AACA,gDAAgD,OAAO;AACvD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,UAAU,iCAAiC,gBAAgB;AACxE,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C,SAAS;AACrD;AACA,+BAA+B,iBAAiB;AAChD,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,4BAA4B;AAChE;;AAEA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX,0EAA0E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FAAqB;AACvD,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;AACvB,0BAA0B,mBAAO,CAAC,6FAA8B;;AAEhE,OAAO,OAAO;;AAEd,2BAA2B,oBAAoB;AAC/C;AACA;AACA,CAAC;;AAED;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,mCAAmC;AAChD,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,IAAI;AACjB,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;AACA,gDAAgD,eAAe;AAC/D;AACA;AACA;AACA,eAAe,8CAA8C;AAC7D;AACA;AACA;AACA;AACA,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,YAAY;AACzB,cAAc;AACd;;AAEA;AACA;AACA,aAAa,kDAAkD;AAC/D;AACA;AACA;AACA;AACA;AACA,oEAAoE,gBAAgB;;AAEpF,oCAAoC;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,4CAA4C,SAAS;AACrD;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA,KAAK;;AAEL;AACA;AACA,wEAAwE;;AAExE;AACA;AACA,kDAAkD,oBAAoB;AACtE;AACA;AAC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B;AAC7E,gBAAgB,mBAAO,CAAC,2EAAwB;;AAEhD;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AClFD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;;;;;;;;;;;;;ACbA,aAAa,mBAAO,CAAC,+DAAe;AACpC,8BAA8B,mBAAO,CAAC,6FAAyB;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gCAAgC;;AAE3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,kBAAkB;AAC3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/GA,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,cAAc,mBAAO,CAAC,iEAAgB;AACtC,8BAA8B,mBAAO,CAAC,iGAAgC;AACtE,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D,sBAAsB,mBAAO,CAAC,mFAAiB;AAC/C,cAAc,mBAAO,CAAC,6DAAS;AAC/B,oBAAoB,mBAAO,CAAC,yEAAe;AAC3C,0BAA0B,mBAAO,CAAC,qFAAqB;AACvD;AACA,WAAW,+DAA+D;AAC1E,CAAC,GAAG,mBAAO,CAAC,6FAAyB;AACrC,OAAO,mBAAmB,GAAG,mBAAO,CAAC,mFAAoB;AACzD;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;;AAEvB,OAAO,OAAO;;AAEd;AACA;AACA;AACA;AACA,0BAA0B,eAAe;AACzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,8BAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,sBAAsB,sBAAsB;AAC3D;AACA;AACA;AACA;;AAEA;;AAEA,4DAA4D,WAAW;AACvE,aAAa,kCAAkC;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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Aa,GAAG,mBAAO,CAAC,2EAAa;AAC5C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE,wBAAwB,mBAAO,CAAC,yFAA4B;;AAE5D,OAAO,eAAe;AACtB,OAAO,mCAAmC;;AAE1C;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,OAAO;AAClB,WAAW,mCAAmC;AAC9C,WAAW,6BAA6B;AACxC,WAAW,0CAA0C;AACrD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,wEAAqB;AAC7C,wBAAwB,mBAAO,CAAC,+FAAmB;AACnD,kCAAkC,mBAAO,CAAC,mHAA6B;AACvE;AACA,WAAW,iBAAiB;AAC5B,CAAC,GAAG,mBAAO,CAAC,8FAA0B;;AAEtC,OAAO,eAAe;AACtB,yEAAyE,YAAY,EAAE,KAAK;;AAE5F;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,aAAa,gCAAgC;AAC7C,aAAa,2CAA2C;AACxD,aAAa,QAAQ;AACrB,aAAa,cAAc;AAC3B,aAAa,cAAc;AAC3B,cAAc,kBAAkB,2BAA2B;AAC3D,aAAa,wCAAwC;AACrD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,eAAe,mBAAmB;AAClC;AACA;;AAEA;AACA,aAAa,8CAA8C;AAC3D;AACA,iBAAiB,2BAA2B;AAC5C;AACA;AACA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,0BAA0B,mBAAmB;AAC7C,WAAW,kCAAkC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA,YAAY;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;;AAEA;AACA,WAAW,mBAAmB;;AAE9B;AACA,6DAA6D,mBAAmB;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AAC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OAAO,OAAO;;AAEd;AACA,kBAAkB,mBAAmB,KAAK;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,mBAAmB;AACjC;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,0BAA0B,KAAK;AACjD,cAAc,YAAY;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,WAAW;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,wBAAwB;AAC1C;AACA,oBAAoB,UAAU,iBAAiB,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,eAAe,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,aAAa,KAAK;AACpC,cAAc,YAAY,KAAK,GAAG,KAAK,GAAG;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,4DAA4D,KAAK;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBA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C,8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS,QAAQ,KAAK;AACtB;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnMA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,6BAA6B,mBAAO,CAAC,oEAAS;AAC9C,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAW;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,yBAAyB;AACtC,eAAe,iEAAiE;AAChF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA;AACA;A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pB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB;AACA,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA,6CAA6C;AAC7C;AACA,sBAAsB,0CAA0C;AAChE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;;;;;;;;;ACtTA,OAAO,uDAAuD,GAAG,mBAAO,CAAC,0DAAc;AACvF,eAAe,mBAAO,CAAC,6FAA0B;;AAEjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,aAAa;AAC1B,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB,aAAa,WAAW;AACxB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,8BAA8B;AACzC,2BAA2B,QAAQ,QAAQ,OAAO,aAAa,WAAW;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D,YAAY;AACxE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,gBAAgB;AAC7B;AACA;AACA;AACA,KAAK;;AAEL,WAAW,6EAA6E;;AAExF;AACA;A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AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,mBAAmB;AACnB;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,6BAA6B;AACjD;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO;AAC3B;AACA,yBAAyB,0BAA0B;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;AACA,uBAAuB,oDAAoD;AAC3E,yBA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yBAAyB,mBAAO,CAAC,6EAAc;AAC/C,8BAA8B,mBAAO,CAAC,iFAAmB;AACzD,OAAO,+CAA+C,GAAG,mBAAO,CAAC,6FAAyB;AAC1F,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD,OAAO,eAAe;AACtB;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA,OAAO,sBAAsB;;AAE7B;AACA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,6BAA6B;AACxC,WAAW,yCAAyC;AACpD,WAAW,mCAAmC;AAC9C,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,2BAA2B,mBAAO,CAAC,2EAAgB;AACnD,OAAO,yCAAyC,GAAG,mBAAO,CAAC,uDAAW;AACtE,OAAO,oBAAoB,GAAG,mBAAO,CAAC,2FAA6B;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gB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;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAAiB;;AAE3D;;AAEA;AACA;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;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACzBA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,uBAAuB,mBAAO,CAAC,kFAAoB;AACnD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAwB;AACpE,OAAO,6BAA6B,GAAG,mBAAO,CAAC,0DAAc;;AAE7D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA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ACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACxBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;;AAEA;AACA;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OA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AY;AAC3C,GAAG;AACH,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,2FAAc;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACtCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qEAAqE,YAAY;AACjF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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,CAAC,gEAAoB;;AAEvF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA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AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iEAAiE,YAAY;AAC7E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,YAAY;;AAEpE;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,c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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA,6BAA6B,oBAAoB;AACjD;AACA,aAAa;AACb;AACA,SAAS;AACT;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC7BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,gEAAoB;AACvE,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,gDAAgD,YAAY;AAC5D,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gCAAgC;AAC5C,YAAY,uBAAuB;;AAEnC;AACA;AACA,6CAA6C,uBAAuB;AACpE;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA,CAAC;;;;;;;;;;;;;;AChED,kBAAkB,mBAAO,CAAC,+FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,mBAAmB,mBAAO,CAAC,iGAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B,SAAS,0BAA0B,eAAe,SAAS;;AAE3D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA,OAAO,k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FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA,wBAAwB,yEAAyE;AACjG;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC1BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;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uB;AACpD,4BAA4B,mBAAO,CAAC,gGAA8B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AAC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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,YAAY;AAC3D;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,OAAO,0BAA0B,GAAG,mBAAO,CAAC,kGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnCA;AACA,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,wBAAwB,gEAAgE;AACxF;A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A,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA;AACA;AACA;AAC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sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChFA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,0BAA0B,mB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CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtIA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC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OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,gDAAgD,8BAA8B;AAC9E;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,+CAA+C;AACzE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;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;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,qBAAqB;AAChC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACfD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,4FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AACA;;AAEA;AACA,OAAO,kBAAkB;AACzB,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,kBAAkB;AACjD,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,+CAA+C;AAC9E,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,6DAA6D;AACvF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;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AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY;AACtC;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,+FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,+FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA;AACA,OAAO,2BAA2B;AAClC,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C,YAAY,mBAAmB,2BAA2B;AAC1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GAAG,mBAAO,CAAC,8EAAe;AACnD,mBAAmB,mBAAO,CAAC,oFAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,2BAA2B,sBAAsB;AACjD,iCAAiC,uCAAuC;AACxE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;;AAEA,mBAAmB,2BAA2B;AAC9C,kCAAkC,2BAA2B,IAAI,gBAAgB;AACjF;;;;;;;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;A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AG,mBAAO,CAAC,4FAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kB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;AACxB,WAAW,oBAAoB;AAC/B,aAAa;AACb;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IA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ACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB;AACA,GAAG;AACH,IAAI,4DAAqB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD,UAAU,+DAAW;AACrB;AACA;AACA;AACoE;;;;;;;;;;;;;;;;;;;;AC5CpE;AACA;AACsB;;;;;;;;;;;;;;ACFtB;AACA;AACA,SAAS,mBAAO,CAAC,6EAAa;AAC9B,iBAAiB,mBAAO,CAAC,6FAAqB;AAC9C,eAAe,mBAAO,CAAC,qGAAyB;AAChD,qBAAqB,mBAAO,CAAC,qGAAyB;AACtD,qBAAqB,mBAAO,CA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6GAAkB;;AAEvC;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnNa;;AAEb,YAAY,mBAAO,CAAC,4FAAS;AAC7B,WAAW,mBAAO,CAAC,0GAAgB;AACnC,YAAY,mBAAO,CAAC,sGAAc;AAClC,kBAAkB,mBAAO,CAAC,kHAAoB;AAC9C,eAAe,mBAAO,CAAC,wGAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,4GAAiB;AACxC,oBAAoB,mBAAO,CAAC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ACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,6HAA0B;AACtD,kBAAkB,mBAAO,CAAC,yHAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,+GAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,oBAAoB,mBAAO,CAAC,iHAAiB;AAC7C,eAAe,mBAAO,CAAC,iHAAoB;AAC3C,eAAe,mBAAO,CAAC,yGAAa;AACpC,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,8GAAkC;AAC3F;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,6B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACjBA,uBAAuB,+GAAk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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;ACtCa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,gBAAgB,mBAAO,CAAC,kDAAU;;AAElC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AClIY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB;AACxB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,E;;;;;;;;;;;;;ACtCD,mC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;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nZ;WACA;WACA;WACA,gBAAgB,8BAA8B,qBAAqB,YAAY,sBAAsB,SAAS,iDAAiD,6FAA6F,WAAW,uBAAuB,2BAA2B,wBAAwB,KAAK,oCAAoC,oBAAoB,wBAAwB,oBAAoB,SAAS,KAAK,yBAAyB,KAAK,gCAAgC,yBAAyB,QAAQ,eAAe,KAAK,eAAe,4DAA4D;WACtoB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,KAAK;WACL,IAAI,WAAW,YAAY;WAC3B,GAAG;WACH;WACA,C;;;;;;WCpLA,OAAO,UAAU;WACjB;WACA;WACA;;WAEA,6BAA6B,cAAc;;WAE3C;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,qBAAqB,MAAM,EAAE,KAAK,WAAW,QAAQ,MAAM,OAAO;WAClE;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA;WACA,uBAAuB,MAAM,EAAE,KAAK,YAAY,IAAI;WACpD;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA,OAAO;WACP,GAAG;WACH;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA;WACA,SAAS;WACT;WACA;WACA;WACA,OAAO;WACP,KAAK;WACL;WACA;WACA,KAAK;WACL;WACA,GAAG;WACH;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,eAAe,qBAAqB;WACpC;WACA;WACA;WACA;WACA,WAAW,sBAAsB;WACjC;WACA;;WAEA;WACA,gEAAgE;;WAEhE;WACA,+BAA+B;WAC/B;WACA;WACA;WACA,GAAG;WACH,aAAa;WACb;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,2FAA2F,kBAAkB;WAC7G;WACA,OAAO;WACP;WACA,OAAO;WACP,KAAK;WACL;WACA,IAAI;WACJ;WACA;WACA;;WAEA;;WAEA;;WAEA,kB;;;;UCzIA;UACA;UACA;UACA","file":"remoteEntry.js","sourcesContent":["// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","'use strict';\nmodule.exports = (flag, argv) => {\n\targv = argv || process.argv;\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst pos = argv.indexOf(prefix + flag);\n\tconst terminatorPos = argv.indexOf('--');\n\treturn pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);\n};\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","'use strict';\nconst os = require('os');\nconst hasFlag = require('has-flag');\n\nconst env = process.env;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false')) {\n\tforceColor = false;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = true;\n}\nif ('FORCE_COLOR' in env) {\n\tforceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(stream) {\n\tif (forceColor === false) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (stream && !stream.isTTY && forceColor !== true) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor ? 1 : 0;\n\n\tif (process.platform === 'win32') {\n\t\t// Node.js 7.5.0 is the first version of Node.js to include a patch to\n\t\t// libuv that enables 256 color output on Windows. Anything earlier and it\n\t\t// won't work. However, here we target Node.js 8 at minimum as it is an LTS\n\t\t// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows\n\t\t// release that supports 256 colors. Windows 10 build 14931 is the first release\n\t\t// that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(process.versions.node.split('.')[0]) >= 8 &&\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: getSupportLevel(process.stdout),\n\tstderr: getSupportLevel(process.stderr)\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","var moduleMap = {\n\t\"./models\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(334), __webpack_require__.e(732), __webpack_require__.e(829)]).then(() => () => (__webpack_require__(/*! ./src/domain */ \"./src/domain/index.js\")));\n\t},\n\t\"./adapters\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867)]).then(() => () => (__webpack_require__(/*! ./src/adapters */ \"./src/adapters/index.js\")));\n\t},\n\t\"./services\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(732), __webpack_require__.e(589)]).then(() => () => (__webpack_require__(/*! ./src/services */ \"./src/services/index.js\")));\n\t},\n\t\"./ports\": () => {\n\t\treturn __webpack_require__.e(334).then(() => () => (__webpack_require__(/*! ./src/domain/ports.js */ \"./src/domain/ports.js\")));\n\t},\n\t\"./event-bus\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(857)]).then(() => () => (__webpack_require__(/*! ./src/services/event-bus */ \"./src/services/event-bus.js\")));\n\t}\n};\nvar get = (module) => {\n\treturn (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n};\nvar init = (shareScope) => {\n\tvar oldScope = __webpack_require__.S[\"default\"];\n\tvar name = \"default\"\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => get,\n\tinit: () => init\n});","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"http://localhost:8000/\";","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/axios/axios?5c0e\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\nvar chunkMapping = {\n\t\"334\": [\n\t\t\"webpack/sharing/consume/default/nanoid/nanoid\"\n\t],\n\t\"589\": [\n\t\t\"webpack/sharing/consume/default/nanoid/nanoid\"\n\t],\n\t\"732\": [\n\t\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\"\n\t],\n\t\"867\": [\n\t\t\"webpack/sharing/consume/default/axios/axios?5326\",\n\t\t\"webpack/sharing/consume/default/kafkajs/kafkajs\",\n\t\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\"\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_modules__[id] = (module) => {\n\t\t\t\t\tdelete __webpack_module_cache__[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_modules__[id] = (module) => {\n\t\t\t\t\tdelete __webpack_module_cache__[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory).catch(onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","\nconst { Octokit } = require(\"@octokit/rest\");\nconst fs = require(\"fs\");\nconst path = require(\"path\");\nconst token = process.env.GITHUB_TOKEN;\n\nconst octokit = new Octokit({ auth: token });\n\nfunction githubFetch(url) {\n console.info(\"github url\", url);\n const owner = url.searchParams.get(\"owner\");\n const repo = url.searchParams.get(\"repo\");\n const filedir = url.searchParams.get(\"filedir\");\n const branch = url.searchParams.get(\"branch\");\n return new Promise(function (resolve, reject) {\n octokit\n .request(\n \"GET /repos/{owner}/{repo}/contents/{filedir}?ref={branch}\",\n {\n owner,\n repo,\n filedir,\n branch\n }\n )\n .then(function (rest) {\n const file = rest.data.find(d => \"/\" + d.name === url.pathname);\n return file.sha;\n })\n .then(function (sha) {\n console.log(sha);\n return octokit.request(\n \"GET /repos/{owner}/{repo}/git/blobs/{sha}\",\n {\n owner,\n repo,\n sha,\n }\n );\n })\n .then(function (rest) {\n resolve(Buffer.from(rest.data.content, \"base64\").toString(\"utf-8\"));\n });\n });\n}\n\nfunction httpRequest(url) {\n if (/github/i.test(url.hostname)) \n return githubFetch(url)\n return httpGet(url)\n}\n\nfunction httpGet(params) {\n return new Promise(function(resolve, reject) {\n var req = require(params.protocol.slice(0, params.protocol.length - 1)).request(params, function(res) {\n if (res.statusCode < 200 || res.statusCode >= 300) {\n return reject(new Error('statusCode=' + res.statusCode +' '+ params));\n }\n var body = [];\n res.on('data', function(chunk) {\n body.push(chunk);\n });\n res.on('end', function() {\n try {\n body = Buffer.concat(body).toString();\n } catch(e) {\n reject(e);\n }\n resolve(body);\n });\n });\n req.on('error', function(err) {\n reject(err);\n });\n req.end();\n });\n}\n\n// object to store loaded chunks\n// \"0\" means \"already loaded\", Promise means loading\nvar installedChunks = {\n\t446: 0\n};\n\nvar installChunk = (chunk) => {\n\tvar moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tvar callbacks = [];\n\tfor(var i = 0; i < chunkIds.length; i++) {\n\t\tif(installedChunks[chunkIds[i]])\n\t\t\tcallbacks = callbacks.concat(installedChunks[chunkIds[i]][0]);\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\tfor(i = 0; i < callbacks.length; i++)\n\t\tcallbacks[i]();\n};\n\n// ReadFile + VM.run chunk loading for javascript\n__webpack_require__.f.readFileVm = function(chunkId, promises) { console.log(\">>>>>>>>>chunkId\",chunkId);\n\n\tvar installedChunkData = installedChunks[chunkId];\n\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\t\t// array of [resolve, reject, promise] means \"currently loading\"\n\t\tif(installedChunkData) {\n\t\t\tpromises.push(installedChunkData[2]);\n\t\t} else {\n\t\t\tif(true) { // all chunks have JS\n\t\t\t\t// load the chunk and return promise to it\n\t\t\t\tvar promise = new Promise(function(resolve, reject) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n\t\t\t\t\tvar chunkFileName = \"/\" + __webpack_require__.u(chunkId);\n\t\t\t\t\tvar url = new (require(\"url\").URL)(__webpack_require__.p)\n\t\t\t\t\turl.pathname = chunkFileName;\n\t\t\t\t\thttpRequest(url)\n\t\t\t\t\t\t.then((content) => {\n\t\t\t\t\t\t\tvar chunk = {};\n\t\t\t\t\t\t\trequire('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', chunkFileName)(chunk, require, __dirname, chunkFileName);\n\t\t\t\t\t\t\tinstallChunk(chunk);\n\t\t\t\t\t\t}).catch((err) => {\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\t\t\t} else installedChunks[chunkId] = 0;\n\t\t}\n\t}\n};\n\n// no external install chunk\n\n// no HMR\n\n// no HMR manifest","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\nreturn __webpack_require__(\"webpack/container/entry/local\");\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/ms/index.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/supports-color/node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/webpack/container-entry","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/ensure chunk","webpack://aegis-app/webpack/runtime/get javascript chunk filename","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/publicPath","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/runtime/readFile chunk loading","webpack://aegis-app/webpack/startup"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,IAAI,IAAI,IAAI,GAAG,IAAI;AAC3C;AACA,+BAA+B,IAAI,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,IAAI,EAAE,IAAI;AAClF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,SAAS;AAC9B;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;;AAEA,qBAAqB,eAAe;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,oBAAoB;AACpB,WAAW;AACX,oBAAoB;AACpB,WAAW;AACX,oBAAoB;;AAEpB;AACA,WAAW;;;AAGX;AACA;AACA;;AAEA;AACA;AACA;AACA;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M;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY,iBAAiB;AAC7B,YAAY;AACZ;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAA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AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,sCAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACtQY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAuB,2BAA2B;AAClD,mBAAmB;;;;;;;;;;;;;;;AC5mBN;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC7DA,cAAc,mBAAO,CAAC,kDAAO;AAC7B,2BAA2B,mBAAO,CAAC,wFAA0B;AAC7D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,qBAAqB,mBAAO,CAAC,8FAA6B;AAC1D,oBAAoB,mBAAO,CAAC,4GAAoC;AAChE,sBAAsB,mBAAO,CAAC,0FAA8B;AAC5D,4BAA4B,mBAAO,CAAC,sGAAoC;AACxE,qBAAqB,mBAAO,CAAC,wFAA6B;AAC1D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,0BAA0B,mBAAO,CAAC,kGAAkC;AACpE,2BAA2B,mBAAO,CAAC,oGAAmC;AACtE,6BAA6B,mBAAO,CAAC,wGAAqC;AAC1E,eAAe,mBAAO,CAAC,0DAAc;AACrC,OAAO,SAAS,GAAG,mBAAO,CAAC,kEAAe;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;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;AACD;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAmC,oBAAoB;AACvD;AACA;AACA;AACA;AACA,sCAAsC,2BAA2B;AACjE;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,iDAAiD;AAChF;AACA,4DAA4D,QAAQ;AACpE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,4DAA4D,UAAU;AACtE;AACA;AACA;AACA,gEAAgE,YAAY;AAC5E,gBAAgB;AAChB,OAA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AC5E;;AAEA;;AAEA;AACA,kEAAkE,+BAA+B;AACjG;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,UAAU;AAC9B,0BAA0B,4BAA4B;AACtD,sBAAsB;AACtB,aAAa;AACb;AACA,mBAAmB,YAAY;;AAE/B,sCAAsC,UAAU;;AAEhD;;AAEA,oCAAoC,UAAU;;AAE9C;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,qCAAqC,oBAAoB;AACzD;AACA,2DAA2D,MAAM;AACjE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,oBAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,gDAAgD,0CAA0C;AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,kBAAkB,4BAA4B,UAAU;AACvE,gBAAgB;AAChB,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,kCAAkC;AAC/C;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;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A;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB,GAAG,qBAAqB;;AAEzE;AACA;AACA,wCAAwC,mBAAmB;AAC3D,KAAK;;AAEL;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA;AACA,eAAe;AACf;AACA,sBAAsB,yBAAyB;AAC/C;AACA,0DAA0D,kBAAkB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,4CAA4C;AACzD;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,yBAAyB,qCAAqC;AAC9D;AACA,6DAA6D,6BAA6B;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,sBAAsB,kCAAkC;AACxD;AACA,0DAA0D,0BAA0B;AACpF;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,wBAAwB,sCAAsC;AAC9D;AACA,4DAA4D,sCAAsC;AAClG;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,4BAA4B,qDAAqD;AACjF;AACA;AACA;AACA;AACA;AACA,0BAA0B,qDAAqD;AAC/E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,yBAAyB,sDAAsD;AAC/E;AACA;AACA,uBAAuB,sDAAsD;AAC7E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,oBAAoB,MAAM;AAC1B;AACA,wDAAwD,iBAAiB;AACzE;;AAEA;AACA;AACA,aAAa,+BAA+B;AAC5C,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,eAAe;AACf;AACA,oBAAoB,UAAU;AAC9B;AACA,wDAAwD,UAAU;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AAC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AAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB,KAAK,kBAAkB;AAC9D;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qBAAqB,KAAK,OAAO;AACjD;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrUA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,eAAe,mBAAO,CAAC,6DAAW;AAClC,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,OAAO,8CAA8C,GAAG,mBAAO,CAAC,uDAAW;;AAE3E,OAAO,uBAAuB;AAC9B,wCAAwC,mBAAmB;AAC3D;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gDAAgD;AAC7D,aAAa,6BAA6B;AAC1C,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,eAAe,mBAAmB;AAClC;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;;AAEA;AACA,gDAAgD,OAAO;AACvD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,UAAU,iCAAiC,gBAAgB;AACxE,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C,SAAS;AACrD;AACA,+BAA+B,iBAAiB;AAChD,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,4BAA4B;AAChE;;AAEA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX,0EAA0E,wBAAwB;AAClG,6CAA6C,kBAAkB;AAC/D;;AAEA;AACA,8BAA8B,wCAAwC;AACtE;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;AC3VA,mBAAmB,mBAAO,CAAC,+EAAuB;AAClD,OAAO,mDAAmD,GAAG,mBAAO,CAAC,uDAAW;;AAEhF;AACA,aAAa,OAAO;AACpB,cAAc,gBAAgB,8CAA8C,yBAAyB;AACrG;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,qCAAqC;AAChD,WAAW,0BAA0B;AACrC,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ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,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,mCAAmC;AAChD,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,IAAI;AACjB,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AAC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2EAAqB;AAC7C,gBAAgB,mBAAO,CAAC,2EAAqB;;AAE7C;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU,8CAA8C;AACxD;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU,kDAAkD;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,mCAAmC,oBAAoB;AACvD,0BAA0B,sBAAsB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,mBAAmB,mBAAO,CAAC,uGAAsB;;AAEjD;AACA;AACA;;;;;;;;;;;;;;ACJA,OAAO,mCAAmC,GAAG,mBAAO,CAAC,uFAAwB;AAC7E,gBAAgB,mBAAO,CAAC,2EAAwB;;AAEhD;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AClFD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;;;;;;;;;;;;;ACbA,aAAa,mBAAO,CAAC,+DAAe;AACpC,8BAA8B,mBAAO,CAAC,6FAAyB;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gCAAgC;;AAE3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,kBAAkB;AAC3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/GA,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,cAAc,mBAAO,CAAC,iEAAgB;AACtC,8BAA8B,mBAAO,CAAC,iGAAgC;AACtE,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D,sBAAsB,mBAAO,CAAC,mFAAiB;AAC/C,cAAc,mBAAO,CAAC,6DAAS;AAC/B,oBAAoB,mBAAO,CAAC,yEAAe;AAC3C,0BAA0B,mBAAO,CAAC,qFAAqB;AACvD;AACA,WAAW,+DAA+D;AAC1E,CAAC,GAAG,mBAAO,CAAC,6FAAyB;AACrC,OAAO,mBAAmB,GAAG,mBAAO,CAAC,mFAAoB;AACzD;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;;AAEvB,OAAO,OAAO;;AAEd;AACA;AACA;AACA;AACA,0BAA0B,eAAe;AACzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,8BAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,sBAAsB,sBAAsB;AAC3D;AACA;AACA;AACA;;AAEA;;AAEA,4DAA4D,WAAW;AACvE,aAAa,kCAAkC;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA;AACA;AACA;AACA,eAAe,yCAAyC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK,IAAI;AACT;AACA;;;;;;;;;;;;;;AC5tBA,aAAa,mBAAO,CAAC,+DAAe;AACpC;;AAEA,wBAAwB,MAAM;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA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W,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;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ACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA,YAAY;AACZ;;AAEA,kCAAkC;AAClC,WAAW,kCAAkC;AAC7C,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,oBAAoB;AAC3C;AACA,iBAAiB,oBAAoB,kBAAkB,sBAAsB;AAC7E;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C,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AAErC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,6BAA6B;AAC1C,aAAa,0BAA0B;AACvC,aAAa,qCAAqC;AAClD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,mEAAmE;AAChF,aAAa,qEAAqE;AAClF,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA,WAAW,mBAAmB;;AAE9B;AACA,6DAA6D,mBAAmB;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACrkBA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,uBAAuB,4BAA4B,0CAA0C;AAC1G;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C,gBAAgB,wBAAwB,oBAAoB;AAC5D,OAAO;AACP;AACA;AACA;;AAEA;AACA,aAAa,uBAAuB,4BAA4B,0CAA0C;AAC1G;AACA;AACA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AACA;AACA;;AAEA;AACA,kBAAkB,eAAe,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,aAAa,KAAK;AACpC,cAAc,YAAY,KAAK,GAAG,KAAK,GAAG;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,4DAA4D,KAAK;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBAAgB,QAAQ;AACxB,eAAe,QAAQ;;AAEvB,2CAA2C,YAAY;AACvD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;;AAEA;AACA,oEAAoE,QAAQ;AAC5E,wBAAwB,SAAS,0DAA0D,WAAW;AACtG;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChRA;AACA;AACA,WAAW,OAAO;AAClB,CAAC,GAAG,mBAAO,CAAC,8DAAW;;AAEvB,oCAAoC,mBAAO,CAAC,wFAA2B;AACvE,sBAAsB,mBAAO,CAAC,wEAAmB;AACjD,gBAAgB,mBAAO,CAAC,8DAAW;AACnC,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,oBAAoB,mBAAO,CAAC,0DAAS;AACrC,wBAAwB,mBAAO,CAAC,wFAA2B;AAC3D,6BAA6B,mBAAO,CAAC,oFAAyB;;AAE9D;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,gCAAgC;AAC7C,aAAa,kCAAkC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,yCAAyC,8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS,QAAQ,KAAK;AACtB;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnMA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,6BAA6B,mBAAO,CAAC,oEAAS;AAC9C,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAW;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,yBAAyB;AACtC,eAAe,iEAAiE;AAChF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACtBA,yCAAyC,UAAU,GAAG,KAAK;;;;;;;;;;;;;;ACA3D,OAAO,mBAAmB,GAAG,mBAAO,CAAC,4DAAS;;AAE9C,yBAAyB,+BAA+B;AACxD,iCAAiC,UAAU;AAC3C;AACA,mBAAmB,eAAe;AAClC,kBAAkB,OAAO,EAAE,YAAY;AACvC,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC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A;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA,6CAA6C;AAC7C;AACA,sBAAsB,0CAA0C;AAChE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;;;;;;;;;ACtTA,OAAO,uDAAuD,GAAG,mBAAO,CAAC,0DAAc;AACvF,eAAe,mBAAO,CAAC,6FAA0B;;AAEjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,aAAa;AAC1B,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB,aAAa,WAAW;AACxB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,8BAA8B;AACzC,2BAA2B,QAAQ,QAAQ,OAAO,aAAa,WAAW;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D,YAAY;AACxE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,gBAAgB;AAC7B;AACA;AACA;AACA,KAAK;;AAEL,WAAW,6EAA6E;;AAExF;AACA;AACA,mBAAmB,sCAAsC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;;AAEA;;AAEA;AACA,8CAA8C,QAAQ,MAAM,gBAAgB;AAC5E;AACA;AACA;;;;;;;;;;;;;;ACvKA;AACA,WAAW,OAAO;AAClB,WAAW,qCAAqC;AAChD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,WAAW;AACtB,WAAW,uBAAuB;AAClC,WAAW,WAAW;AACtB,WAAW,qBAAqB;AAChC,WAAW,WAAW;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gCAAgC,6BAA6B;;AAE7D;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC/BA;;AAEA;AACA,aAAa;AACb;AACA;AACA,cAAc,mBAAO,CAAC,gBAAK;AAC3B,cAAc,mBAAO,CAAC,gBAAK;;AAE3B,WAAW,6BAA6B;AACxC;AACA,mCAAmC,+BAA+B;AAClE,qBAAqB,aAAa;;AAElC;;AAEA;AACA;AACA;;;;;;;;;;;;;;AClBA;AACA;AACA,MAAM,gEAAgE;AACtE;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;;;;;;;;;;;;;;ACXA,oBAAoB,mBAAO,CAAC,8DAAa;AACzC,OAAO,2BAA2B,GAAG,mBAAO,CAAC,0DAAc;AAC3D,0BAA0B,mBAAO,CAAC,gGAAiC;AACnE,2BAA2B,mBAAO,CAAC,4GAA2B;AAC9D,eAAe,mBAAO,CAAC,sBAAQ;;AAE/B,eAAe,mBAAO,CAAC,gGAAqB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,mBAAmB;AACnB;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,6BAA6B;AACjD;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO;AAC3B;AACA,yBAAyB,0BAA0B;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;AACA,uBAAuB,oDAAoD;AAC3E,yBAAyB,4CAA4C;AACrE,mCAAmC,oCAAoC;AACvE,oBAAoB,oCAAoC;AACxD,eAAe,oCAAoC;AACnD,cAAc,oCAAoC;AAClD;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACtZA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,OAAO,2BAA2B,GAAG,mBAAO,CAAC,0DAAc;AAC3D,eAAe,mBAAO,CAAC,gGAAqB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8CAA8C;AACjE;;AAEA,kCAAkC,qCAAqC;AACvE;AACA,gFAAgF,OAAO;AACvF;;AAEA;AACA;;AAEA;AACA;AACA,uDA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AA4B;AACvC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,2BAA2B,mBAAO,CAAC,2EAAgB;AACnD,OAAO,yCAAyC,GAAG,mBAAO,CAAC,uDAAW;AACtE,OAAO,oBAAoB,GAAG,mBAAO,CAAC,2FAA6B;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,MAAM;AACtB,+BAA+B,kCAAkC;AACjE;AACA,eAAe,OAAO;AACtB,gBAAgB,qBAAqB;AACrC,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,aAAa;AACb,eAAe;AACf;AACA,4BAA4B,sDAAsD;AAClF,6BAA6B,QAAQ;AACrC;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,kBAAkB;AAClC;AACA;AACA,qCAAqC,SAAS,eAAe,MAAM;AACnE;AACA;;AAEA;AACA;AACA;AACA,sDAAsD,MAAM,KAAK;AACjE;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA,+DAA+D,kBAAkB;AACjF,uCAAuC,qBAAqB;;AAE5D;AACA,qBAAqB,kBAAkB;AACvC,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,eAAe;AAC5B,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,MAAM;AACtB,+BAA+B,kCAAkC;AACjE,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,uBAAuB,8CAA8C;AACrE,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnIA,gBAAgB,mBAAO,CAAC,sFAAW;AACnC,iCAAiC,mBAAO,CAAC,8FAAe;;AAExD;;;;;;;;;;;;;;ACHA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,aAAa;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AClDA,oBAAoB,mBAAO,CAAC,8FAAe;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAW,oCAAoC;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,6DAAiB;;AAE9D;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA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mB,oDAAoD;AACvE,iBAAiB,4CAA4C;AAC7D,eAAe,yCAAyC;AACxD;;AAEA,gBAAgB,yCAAyC;AACzD;AACA;;AAEA;;AAEA,kBAAkB,kBAAkB;AACpC;;AAEA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,SAAS,IAAI;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,mDAAmD,SAAS;AAC5D;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C,yBAAyB,kEAAkE;AAC3F;AACA;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA,sCAAsC,uBAAuB;AAC7D;;AAEA;AACA,WAAW;;AAEX;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA,yCAAyC,QAAQ;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,gCAAgC,6BAA6B;AAC7D;;AAEA;AACA,kEAAkE,UAAU;AAC5E;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAAiB;;AAE3D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,mBAAO,CAAC,+EAAQ;AACtC;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrCA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,0DAAc;;AAE1B,kBAAkB,mBAAO,CAAC,+EAAc;AACxC,kBAAkB,mBAAO,CAAC,+EAAc;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+DAA+D,UAAU;AACzE;AACA;AACA;;AAEA;A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ACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5FA,gBAAgB,mBAAO,CAAC,iEAAW;;AAEnC,yBAAyB,oCAAoC,6BAA6B,EAAE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACZA;AACA,OAAO,sDAAsD;AAC7D,oBAAoB,mBAAO,C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O,qDAAqD;AAC5D,oBAAoB,mBAAO,CAAC,mGAAc;AAC1C,qBAAqB,mBAAO,CAAC,qGAAe;AAC5C,YAAY,mBAAmB,qDAAqD;AACpF,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,6BAA6B,GAAG,mBAAO,CAAC,8EAAe;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,WAAW,kBAAkB;AAC7B,qDAAqD,YAAY;AACjE,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,kBAAkB,mBAAO,CAAC,oGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,sGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AACA,OA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AC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;;AAEA;AACA;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACZD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC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;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA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A;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;;;;;;;;;;;;;;ACrBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA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8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC1BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACpCD,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAgB;AAC1C,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA;AACA,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,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,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvEA,kBAAkB,mBAAO,CAAC,iGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,6BAA6B;AAChD,2BAA2B,6BAA6B,IAAI,gBAAgB;;;;;;;;;;;;;;AChB5E,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AAC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B,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,OAAO,0BAA0B,GAAG,mBAAO,CAAC,kGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnCA;AACA,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,wBAAwB,gEAAgE;AACxF;AACA;AACA,GAAG;AACH,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,wBAAwB,gEAAgE;AACxF;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8EAAe;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gEAAgE;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;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AC7E;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA,wBAAwB,qEAAqE;AAC7F;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA,wBAAwB,qEAAqE;AAC7F;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA,wBAAwB,qEAAqE;AAC7F;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;AAC7E,gBAAgB,mBAAO,CAAC,8EAA2B;AACnD,0BAA0B,mBAAO,CAAC,8FAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,OAAO,uCAAuC;AAC9C;AACA;;AAEA;AACA,mDAAmD,wBAAwB;AAC3E;AACA;AACA,wCAAwC,cAAc,mBAAmB;AACzE,GAAG;;AAEH;AACA;AACA,WAAW,8BAA8B;AACzC;AACA,yEAAyE,mBAAmB;AAC5F;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,0BAA0B,mBAAO,CAAC,8FAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtIA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,oEAAgB;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA;AACA,OAAO,oBAAoB;AAC3B,oBAAoB,mBAAO,CAAC,2FAAc;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5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A;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oCAAoC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC/BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBA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AAG;AACH,CAAC;;;;;;;;;;;;;;ACfD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA,gBAAgB,mBAAO,CAAC,wEAAkB;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ED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY;AACtC;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY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;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACrGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,kBAAkB,GAAG,mBAAO,CAAC,8EAAe;AACnD,mBAAmB,mBAAO,CAAC,oFAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,m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A;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;;AAEA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iDAAiD,sBAAsB;AACvE,iCAAiC,oDAAoD;;AAErF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,iDAAiD;AAChE,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,kBAAkB,GAAG,mBAAO,CAAC,8EAAe;AACnD,OAAO,QAAQ,GAAG,mBAAO,CAAC,sGAA8B;AACxD,eAAe,mBAAO,CAAC,0GAAgC;AACvD,OAAO,cAAc,GAAG,mBAAO,CAAC,4FAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AACA,OAAO,YAAY;AACnB,oBAAoB,mBA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AAC5C;AACA,wBAAwB,8DAA8D;AACtF;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,8BAA8B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,WAAW,aAAa;AACxB,gDAAgD,YAAY;AAC5D,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,kBAAkB,mBAAO,CAAC,iGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;;AAEA;AACA,aAA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ACdA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,2DAA2D,GAAG,mBAAO,CAAC,uDAAW;;AAExF,mBAAmB,aAAoB;AACvC,mCAAmC,mBAAO,CAAC,0EAAiB,IAAI,mBAAO,CAAC,gEAAY;;AAEpF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS,4CAA4C;;AAErD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,0DAA0D,wBAAwB;AAClF;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA,aAAa,4GAA4G;AACzH;;AAEA;AACA,WAAW,mCAAmC;AAC9C,aAAa;AACb;AACA,2BAA2B;AAC3B;AACA,oCAAoC;AACpC;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;AC1EA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACbA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,oBAAoB;AAC/B,aAAa;AACb;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IAAI;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,+BAA+B,OAAO;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;;;ACHH,OAAO,OAAO;AACd;AACA,yCAAyC,gCAAgC,KAAK;;;;;;;;;;;;;;ACF9E,cAAc,mBAAO,CAAC,0DAAS;AAC/B,OAAO,iBAAiB,GAAG,mBAAO,CAAC,uDAAW;;AAE9C;AACA;AACA,GAAG,iFAAiF;AACpF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;;;;;;;;;;;;;AC5CA;;AAEA,oCAAoC,SAAS,GAAG,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;ACF9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjKA,aAAa,mBAAO,CAAC,sDAAY;AACjC,YAAY,mBAAO,CAAC,oBAAO;AAC3B,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,SAAS,mBAAO,CAAC,cAAI;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB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AY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,cAAc,kIAAgC;AAC9C,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AAC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A;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtHa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,mHAAqB;AAC5C,yBAAyB,mBAAO,CAAC,2HAAsB;AACvD,sBAAsB,mBAAO,CAAC,qHAAmB;AACjD,kBAAkB,mBAAO,CAAC,6GAAe;AACzC,gBAAgB,mBAAO,CAAC,qHAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,6HAA0B;AACtD,kBAAkB,mBAAO,CAAC,yHAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,+GAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,oBAAoB,mBAAO,CAAC,iHAAiB;AAC7C,eAAe,mBAAO,CAAC,iHAAoB;AAC3C,eAAe,mBAAO,CAAC,yGAAa;AACpC,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA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GAAqB;AACrD,kCAAkC,mBAAO,CAAC,qHAA+B;AACzE,2BAA2B,mBAAO,CAAC,yGAAyB;AAC5D,+CAA+C,mBAAO,CAAC,iJAA6C;;AAEpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;ACtCa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,YAAY,mBAAO,CAAC,gBAAK;AACzB,gBAAgB,mBAAO,CAAC,8EAAU;;AAElC,OAAO,IAAI;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACtIa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;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WACxE;WACA,+CAA+C,cAAc;WAC7D,E;;;;;WCNA,iD;;;;;WCAA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sGAAsG;WACtG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,GAAG,aAAa,kBAAkB;WAClC;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC1CA;WACA;WACA,WAAW,6BAA6B,iBAAiB,GAAG,qEAAqE;WACjI;WACA;WACA;WACA,qCAAqC,aAAa,EAAE,wDAAwD,2BAA2B,4BAA4B,2BAA2B,+CAA+C,mCAAmC;WAChR;WACA;WACA;WACA,+BAA+B,eAAe,oBAAoB,sDAAsD,gBAAgB,eAAe,KAAK,6DAA6D,SAAS,SAAS,QAAQ,eAAe,KAAK,eAAe,qGAAqG,WAAW,aAAa;WACnZ;WACA;WACA;WACA,gBAAgB,8BAA8B,qBAAqB,YAAY,sBAAsB,SAAS,iDAAiD,6FAA6F,WAAW,uBAAuB,2BAA2B,wBAAwB,KAAK,oCAAoC,oBAAoB,wBAAwB,oBAAoB,SAAS,KAAK,yBAAyB,KAAK,gCAAgC,yBAAyB,QAAQ,eAAe,KAAK,eAAe,4DAA4D;WACtoB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,KAAK;WACL,IAAI,WAAW,YAAY;WAC3B,GAAG;WACH;WACA,C;;;;;;WCpLA,OAAO,UAAU;WACjB;WACA;WACA;;WAEA,6BAA6B,cAAc;;WAE3C;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,qBAAqB,MAAM,EAAE,KAAK,WAAW,QAAQ,MAAM,OAAO;WAClE;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA;WACA,uBAAuB,MAAM,EAAE,KAAK,YAAY,IAAI;WACpD;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA,OAAO;WACP,GAAG;WACH;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,OAAO;WACP;WACA;WACA;WACA,SAAS;WACT;WACA;WACA;WACA,OAAO;WACP,KAAK;WACL;WACA;WACA,KAAK;WACL;WACA,GAAG;WACH;;WAEA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,eAAe,qBAAqB;WACpC;WACA;WACA;WACA;WACA,WAAW,sBAAsB;WACjC;WACA;;WAEA;WACA,gEAAgE;;WAEhE;WACA,+BAA+B;WAC/B;WACA;WACA;WACA,GAAG;WACH,aAAa;WACb;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,2FAA2F,kBAAkB;WAC7G;WACA,OAAO;WACP;WACA,OAAO;WACP,KAAK;WACL;WACA,IAAI;WACJ;WACA;WACA;;WAEA;;WAEA;;WAEA,kB;;;;UCzIA;UACA;UACA;UACA","file":"remoteEntry.js","sourcesContent":["// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","var moduleMap = {\n\t\"./models\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(334), __webpack_require__.e(732), __webpack_require__.e(829)]).then(() => () => (__webpack_require__(/*! ./src/domain */ \"./src/domain/index.js\")));\n\t},\n\t\"./adapters\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867)]).then(() => () => (__webpack_require__(/*! ./src/adapters */ \"./src/adapters/index.js\")));\n\t},\n\t\"./services\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(732), __webpack_require__.e(589)]).then(() => () => (__webpack_require__(/*! ./src/services */ \"./src/services/index.js\")));\n\t},\n\t\"./ports\": () => {\n\t\treturn __webpack_require__.e(334).then(() => () => (__webpack_require__(/*! ./src/domain/ports.js */ \"./src/domain/ports.js\")));\n\t},\n\t\"./event-bus\": () => {\n\t\treturn Promise.all([__webpack_require__.e(777), __webpack_require__.e(867), __webpack_require__.e(857)]).then(() => () => (__webpack_require__(/*! ./src/services/event-bus */ \"./src/services/event-bus.js\")));\n\t}\n};\nvar get = (module) => {\n\treturn (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n};\nvar init = (shareScope) => {\n\tvar oldScope = __webpack_require__.S[\"default\"];\n\tvar name = \"default\"\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => get,\n\tinit: () => init\n});","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"http://localhost:8000/\";","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/axios/axios?5c0e\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\nvar chunkMapping = {\n\t\"334\": [\n\t\t\"webpack/sharing/consume/default/nanoid/nanoid\"\n\t],\n\t\"589\": [\n\t\t\"webpack/sharing/consume/default/nanoid/nanoid\"\n\t],\n\t\"732\": [\n\t\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\"\n\t],\n\t\"867\": [\n\t\t\"webpack/sharing/consume/default/axios/axios?5326\",\n\t\t\"webpack/sharing/consume/default/kafkajs/kafkajs\",\n\t\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\"\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_modules__[id] = (module) => {\n\t\t\t\t\tdelete __webpack_module_cache__[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_modules__[id] = (module) => {\n\t\t\t\t\tdelete __webpack_module_cache__[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory).catch(onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","\nconst { Octokit } = require(\"@octokit/rest\");\nconst fs = require(\"fs\");\nconst path = require(\"path\");\nconst token = process.env.GITHUB_TOKEN;\n\nconst octokit = new Octokit({ auth: token });\n\nfunction githubFetch(url) {\n console.info(\"github url\", url);\n const owner = url.searchParams.get(\"owner\");\n const repo = url.searchParams.get(\"repo\");\n const filedir = url.searchParams.get(\"filedir\");\n const branch = url.searchParams.get(\"branch\");\n return new Promise(function (resolve, reject) {\n octokit\n .request(\n \"GET /repos/{owner}/{repo}/contents/{filedir}?ref={branch}\",\n {\n owner,\n repo,\n filedir,\n branch\n }\n )\n .then(function (rest) {\n const file = rest.data.find(d => \"/\" + d.name === url.pathname);\n return file.sha;\n })\n .then(function (sha) {\n console.log(sha);\n return octokit.request(\n \"GET /repos/{owner}/{repo}/git/blobs/{sha}\",\n {\n owner,\n repo,\n sha,\n }\n );\n })\n .then(function (rest) {\n resolve(Buffer.from(rest.data.content, \"base64\").toString(\"utf-8\"));\n });\n });\n}\n\nfunction httpRequest(url) {\n if (/github/i.test(url.hostname)) \n return githubFetch(url)\n return httpGet(url)\n}\n\nfunction httpGet(params) {\n return new Promise(function(resolve, reject) {\n var req = require(params.protocol.slice(0, params.protocol.length - 1)).request(params, function(res) {\n if (res.statusCode < 200 || res.statusCode >= 300) {\n return reject(new Error('statusCode=' + res.statusCode +' '+ params));\n }\n var body = [];\n res.on('data', function(chunk) {\n body.push(chunk);\n });\n res.on('end', function() {\n try {\n body = Buffer.concat(body).toString();\n } catch(e) {\n reject(e);\n }\n resolve(body);\n });\n });\n req.on('error', function(err) {\n reject(err);\n });\n req.end();\n });\n}\n\n// object to store loaded chunks\n// \"0\" means \"already loaded\", Promise means loading\nvar installedChunks = {\n\t446: 0\n};\n\nvar installChunk = (chunk) => {\n\tvar moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tvar callbacks = [];\n\tfor(var i = 0; i < chunkIds.length; i++) {\n\t\tif(installedChunks[chunkIds[i]])\n\t\t\tcallbacks = callbacks.concat(installedChunks[chunkIds[i]][0]);\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\tfor(i = 0; i < callbacks.length; i++)\n\t\tcallbacks[i]();\n};\n\n// ReadFile + VM.run chunk loading for javascript\n__webpack_require__.f.readFileVm = function(chunkId, promises) { console.log(\">>>>>>>>>chunkId\",chunkId);\n\n\tvar installedChunkData = installedChunks[chunkId];\n\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\t\t// array of [resolve, reject, promise] means \"currently loading\"\n\t\tif(installedChunkData) {\n\t\t\tpromises.push(installedChunkData[2]);\n\t\t} else {\n\t\t\tif(true) { // all chunks have JS\n\t\t\t\t// load the chunk and return promise to it\n\t\t\t\tvar promise = new Promise(function(resolve, reject) {\n\t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n\t\t\t\t\tvar chunkFileName = \"/\" + __webpack_require__.u(chunkId);\n\t\t\t\t\tvar url = new (require(\"url\").URL)(__webpack_require__.p)\n\t\t\t\t\turl.pathname = chunkFileName;\n\t\t\t\t\thttpRequest(url)\n\t\t\t\t\t\t.then((content) => {\n\t\t\t\t\t\t\tvar chunk = {};\n\t\t\t\t\t\t\trequire('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', chunkFileName)(chunk, require, __dirname, chunkFileName);\n\t\t\t\t\t\t\tinstallChunk(chunk);\n\t\t\t\t\t\t}).catch((err) => {\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\t\t\t} else installedChunks[chunkId] = 0;\n\t\t}\n\t}\n};\n\n// no external install chunk\n\n// no HMR\n\n// no HMR manifest","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\nreturn __webpack_require__(\"webpack/container/entry/local\");\n"],"sourceRoot":""} \ No newline at end of file diff --git a/install.sh b/install.sh index 18724a4b..dbd297d1 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,6 @@ export PORT=8080 -cd .. -# git clone https://github.com/module-federation/aegis -# git clone https://github.com/module-federation/aegis-host +git clone https://github.com/module-federation/aegis +git clone https://github.com/module-federation/aegis-host cd aegis yarn yarn build @@ -22,4 +21,9 @@ cd ../aegis nohup node watch.mjs & cd ../aegis-host nohup node watch.mjs & +export PORT=8888 +export SWITCH=true +nohup node --title webswitch src/bootstrap.js | tee public/aegis.log & +export PORT=80 +export SWITCH=false node --title aegis src/bootstrap.js | tee public/aegis.log diff --git a/yarn.lock b/yarn.lock index db87f928..c5c89d49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2472,7 +2472,7 @@ chokidar@3.5.1: optionalDependencies: fsevents "~2.3.1" -chokidar@^3.4.0, chokidar@^3.5.2: +chokidar@^3.4.0: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -2805,13 +2805,6 @@ debug@4.3.1: dependencies: ms "2.1.2" -debug@^3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" - integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== - dependencies: - ms "^2.1.1" - debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" @@ -3845,11 +3838,6 @@ ieee754@^1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore-by-default@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== - ignore-walk@^3.0.3: version "3.0.4" resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" @@ -4990,7 +4978,7 @@ minimatch@3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -5154,7 +5142,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.0.0, ms@^2.1.1: +ms@2.1.3, ms@^2.0.0: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -5250,22 +5238,6 @@ node-releases@^2.0.6: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== -nodemon@^2.0.20: - version "2.0.20" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.20.tgz#e3537de768a492e8d74da5c5813cb0c7486fc701" - integrity sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw== - dependencies: - chokidar "^3.5.2" - debug "^3.2.7" - ignore-by-default "^1.0.1" - minimatch "^3.1.2" - pstree.remy "^1.1.8" - semver "^5.7.1" - simple-update-notifier "^1.0.7" - supports-color "^5.5.0" - touch "^3.1.0" - undefsafe "^2.0.5" - nopt@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" @@ -5273,13 +5245,6 @@ nopt@^5.0.0: dependencies: abbrev "1" -nopt@~1.0.10: - version "1.0.10" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" - integrity sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg== - dependencies: - abbrev "1" - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -5820,11 +5785,6 @@ psl@^1.1.28: resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== -pstree.remy@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" - integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -6193,7 +6153,7 @@ schema-utils@^3.0.0: ajv "^6.12.5" ajv-keywords "^3.5.2" -semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: +semver@^5.5.0, semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -6210,11 +6170,6 @@ semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: dependencies: lru-cache "^6.0.0" -semver@~7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - serialize-javascript@5.0.1, serialize-javascript@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" @@ -6273,13 +6228,6 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -simple-update-notifier@^1.0.7: - version "1.1.0" - resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz#67694c121de354af592b347cdba798463ed49c82" - integrity sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg== - dependencies: - semver "~7.0.0" - sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -6672,7 +6620,7 @@ supports-color@8.1.1, supports-color@^8.0.0: dependencies: has-flag "^4.0.0" -supports-color@^5.3.0, supports-color@^5.5.0: +supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== @@ -6806,13 +6754,6 @@ to-regex@^3.0.1, to-regex@^3.0.2: regex-not "^1.0.2" safe-regex "^1.1.0" -touch@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b" - integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA== - dependencies: - nopt "~1.0.10" - tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" @@ -6874,11 +6815,6 @@ uid-safe@~2.1.5: dependencies: random-bytes "~1.0.0" -undefsafe@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" - integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" From 64fe89175f26465f4fc7a300989948d4f19e3ee0 Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 12:46:13 -0600 Subject: [PATCH 3/6] dmo --- dist/867.js | 1 + dist/867.js.map | 2 +- dist/main.js | 1 + dist/main.js.map | 2 +- src/adapters/ticket-master.js | 1 + yarn.lock | 7263 --------------------------------- 6 files changed, 5 insertions(+), 7265 deletions(-) delete mode 100644 yarn.lock diff --git a/dist/867.js b/dist/867.js index b696f80f..45a5e727 100644 --- a/dist/867.js +++ b/dist/867.js @@ -1884,6 +1884,7 @@ function tmListEventsOut(service) { chunks = []; return _context.abrupt("return", new Promise(function (resolve, reject) { https__WEBPACK_IMPORTED_MODULE_0___default().get("https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(apiKey), function (res) { + res.on('error', reject); res.on('data', function (chunk) { return chunks.push(chunk); }); diff --git a/dist/867.js.map b/dist/867.js.map index 01b59d48..4a0076e8 100644 --- a/dist/867.js.map +++ b/dist/867.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/services/event-service.js"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","debug","substring","concat","Subscription","id","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","url","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","process","env","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","value","messages","disconnect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAAK,iCAEHF,OAAO,CADTG,IAAI,MAAGC,QAAQ;YAAA;YAAA;YAAA,OAIeL,OAAO,CAACD,eAAe,CACnDG,KAAK,CAACI,OAAO,EAAE,CAACC,eAAe,CAChC;UAAA;YAFKA,eAAe;YAAA;YAAA,OAGAF,QAAQ,CAACJ,OAAO,EAAE;cAAEM,eAAe,EAAfA;YAAgB,CAAC,CAAC;UAAA;YAArDC,MAAM;YAAA,iCACLA,MAAM;UAAA;YAAA;YAAA;YAEbC,OAAO,CAACC,KAAK,CAAC;cAAEC,IAAI,EAAEZ,eAAe,CAACa,IAAI;cAAEF,KAAK;cAAET,OAAO,EAAPA;YAAQ,CAAC,C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OAAO5M,KAAK,EAAE;0BACdD,OAAO,CAACC,KAAK,CAACA,KAAK,CAAC;wBACtB;sBAAC;sBAAA;wBAAA;oBAAA;kBAAA;gBAAA,CACF;gBAAA;kBAAA;gBAAA;gBAAA;cAAA;YACH,CAAC,CAAC;UAAA;YAAA;YAAA;UAAA;YAAA;YAAA;YAEFD,OAAO,CAACC,KAAK,cAAO;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAEzB,CAAC;EAED;AACF;AACA;AACA;AACA;EACQ+C,MAAM,kBAAClB,KAAK,EAAEX,OAAO,EAAE;IAAA;IAAA;MAAA;QAAA;UAAA;YAAA;YAAA;YAAA,OAEnB+N,QAAQ,CAACC,OAAO,EAAE;UAAA;YAAA;YAAA,OAClBD,QAAQ,CAAC9B,IAAI,CAAC;cAClBtL,KAAK,EAAEA,KAAK;cACZ2N,QAAQ,EAAE,CAAC;gBAAED,KAAK,EAAErO;cAAQ,CAAC;YAC/B,CAAC,CAAC;UAAA;YAAA;YAAA,OACI+N,QAAQ,CAACQ,UAAU,EAAE;UAAA;YAAA;YAAA;UAAA;YAAA;YAAA;YAE3B1P,OAAO,CAACC,KAAK,CAAC;cAAEC,IAAI,EAAE,MAAI,CAAC8C,MAAM,CAAC7C,IAAI;cAAEF,KAAK;YAAC,CAAC,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAErD;AACF,CAAC,C","file":"867.js","sourcesContent":["\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/services/event-service.js"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","debug","substring","concat","Subscription","id","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","url","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","process","env","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","value","messages","disconnect"],"mappings":";;;;;;;;;;;;;;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAA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C8C,MAAM,CAAC7C,IAAI;cAAEF,KAAK;YAAC,CAAC,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAErD;AACF,CAAC,C","file":"867.js","sourcesContent":["\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('error', reject)\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/main.js b/dist/main.js index 4025da0a..65321f9e 100644 --- a/dist/main.js +++ b/dist/main.js @@ -5183,6 +5183,7 @@ function tmListEventsOut(service) { chunks = []; return _context.abrupt("return", new Promise(function (resolve, reject) { https__WEBPACK_IMPORTED_MODULE_0___default().get("https://app.ticketmaster.com/discovery/v2/events.json?apikey=".concat(apiKey), function (res) { + res.on('error', reject); res.on('data', function (chunk) { return chunks.push(chunk); }); diff --git a/dist/main.js.map b/dist/main.js.map index 443cb5ed..d073be85 100644 --- a/dist/main.js.map +++ b/dist/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://aegis-app/./node_modules/@babel/polyfill/lib/index.js","webpack://aegis-app/./node_modules/@babel/polyfill/lib/noConflict.js","webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js","webpack://aegis-app/./src/event-dispatcher.js","webpack://aegis-app/./src/index.js","webpack://aegis-app/./src/service-registry.js","webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/event-service.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js","webpack://aegis-app/./node_modules/bufferutil/fallback.js","webpack://aegis-app/./node_modules/bufferutil/index.js","webpack://aegis-app/./node_modules/cookie-signature/index.js","webpack://aegis-app/./node_modules/cookie/index.js","webpack://aegis-app/./node_modules/core-js/es6/index.js","webpack://aegis-app/./node_modules/core-js/fn/array/flat-map.js","webpack://aegis-app/./node_modules/core-js/fn/array/includes.js","webpack://aegis-app/./node_modules/core-js/fn/object/entries.js","webpack://aegis-app/./node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/fn/object/values.js","webpack://aegis-app/./node_modules/core-js/fn/promise/finally.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-start.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-start.js","webpack://aegis-app/./node_modules/core-js/fn/symbol/async-iterator.js","webpack://aegis-app/./node_modules/core-js/library/fn/global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/library/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_core.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/library/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/library/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/library/modules/_export.js","webpack://aegis-app/./node_modules/core-js/library/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/library/modules/_global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_has.js","webpack://aegis-app/./node_modules/core-js/library/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/library/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/library/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/library/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/library/modules/es7.global.js","webpack://aegis-app/./node_modules/core-js/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/modules/_a-number-value.js","webpack://aegis-app/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://aegis-app/./node_modules/core-js/modules/_advance-string-index.js","webpack://aegis-app/./node_modules/core-js/modules/_an-instance.js","webpack://aegis-app/./node_modules/core-js/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/modules/_array-copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/_array-fill.js","webpack://aegis-app/./node_modules/core-js/modules/_array-includes.js","webpack://aegis-app/./node_modules/core-js/modules/_array-methods.js","webpack://aegis-app/./node_modules/core-js/modules/_array-reduce.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-create.js","webpack://aegis-app/./node_modules/core-js/modules/_bind.js","webpack://aegis-app/./node_modules/core-js/modules/_classof.js","webpack://aegis-app/./node_modules/core-js/modules/_cof.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-strong.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-weak.js","webpack://aegis-app/./node_modules/core-js/modules/_collection.js","webpack://aegis-app/./node_modules/core-js/modules/_core.js","webpack://aegis-app/./node_modules/core-js/modules/_create-property.js","webpack://aegis-app/./node_modules/core-js/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_defined.js","webpack://aegis-app/./node_modules/core-js/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_export.js","webpack://aegis-app/./node_modules/core-js/modules/_fails-is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/modules/_fix-re-wks.js","webpack://aegis-app/./node_modules/core-js/modules/_flags.js","webpack://aegis-app/./node_modules/core-js/modules/_flatten-into-array.js","webpack://aegis-app/./node_modules/core-js/modules/_for-of.js","webpack://aegis-app/./node_modules/core-js/modules/_function-to-string.js","webpack://aegis-app/./node_modules/core-js/modules/_global.js","webpack://aegis-app/./node_modules/core-js/modules/_has.js","webpack://aegis-app/./node_modules/core-js/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/modules/_html.js","webpack://aegis-app/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/modules/_inherit-if-required.js","webpack://aegis-app/./node_modules/core-js/modules/_invoke.js","webpack://aegis-app/./node_modules/core-js/modules/_iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array-iter.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array.js","webpack://aegis-app/./node_modules/core-js/modules/_is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/modules/_is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-call.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-create.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-define.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-detect.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-step.js","webpack://aegis-app/./node_modules/core-js/modules/_iterators.js","webpack://aegis-app/./node_modules/core-js/modules/_library.js","webpack://aegis-app/./node_modules/core-js/modules/_math-expm1.js","webpack://aegis-app/./node_modules/core-js/modules/_math-fround.js","webpack://aegis-app/./node_modules/core-js/modules/_math-log1p.js","webpack://aegis-app/./node_modules/core-js/modules/_math-sign.js","webpack://aegis-app/./node_modules/core-js/modules/_meta.js","webpack://aegis-app/./node_modules/core-js/modules/_microtask.js","webpack://aegis-app/./node_modules/core-js/modules/_new-promise-capability.js","webpack://aegis-app/./node_modules/core-js/modules/_object-assign.js","webpack://aegis-app/./node_modules/core-js/modules/_object-create.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dps.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopd.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gops.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gpo.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys-internal.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_object-pie.js","webpack://aegis-app/./node_modules/core-js/modules/_object-sap.js","webpack://aegis-app/./node_modules/core-js/modules/_object-to-array.js","webpack://aegis-app/./node_modules/core-js/modules/_own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/_perform.js","webpack://aegis-app/./node_modules/core-js/modules/_promise-resolve.js","webpack://aegis-app/./node_modules/core-js/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine-all.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec.js","webpack://aegis-app/./node_modules/core-js/modules/_same-value.js","webpack://aegis-app/./node_modules/core-js/modules/_set-proto.js","webpack://aegis-app/./node_modules/core-js/modules/_set-species.js","webpack://aegis-app/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://aegis-app/./node_modules/core-js/modules/_shared-key.js","webpack://aegis-app/./node_modules/core-js/modules/_shared.js","webpack://aegis-app/./node_modules/core-js/modules/_species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_strict-method.js","webpack://aegis-app/./node_modules/core-js/modules/_string-at.js","webpack://aegis-app/./node_modules/core-js/modules/_string-context.js","webpack://aegis-app/./node_modules/core-js/modules/_string-html.js","webpack://aegis-app/./node_modules/core-js/modules/_string-pad.js","webpack://aegis-app/./node_modules/core-js/modules/_string-repeat.js","webpack://aegis-app/./node_modules/core-js/modules/_string-trim.js","webpack://aegis-app/./node_modules/core-js/modules/_string-ws.js","webpack://aegis-app/./node_modules/core-js/modules/_task.js","webpack://aegis-app/./node_modules/core-js/modules/_to-absolute-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_to-iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_to-length.js","webpack://aegis-app/./node_modules/core-js/modules/_to-object.js","webpack://aegis-app/./node_modules/core-js/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-array.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/_typed.js","webpack://aegis-app/./node_modules/core-js/modules/_uid.js","webpack://aegis-app/./node_modules/core-js/modules/_user-agent.js","webpack://aegis-app/./node_modules/core-js/modules/_validate-collection.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-define.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_wks.js","webpack://aegis-app/./node_modules/core-js/modules/core.get-iterator-method.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.every.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.fill.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.filter.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find-index.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.for-each.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.from.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.is-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.join.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.last-index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce-right.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.slice.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.some.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.sort.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.species.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.now.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-json.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.bind.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.has-instance.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.name.js","webpack://aegis-app/./node_modules/core-js/modules/es6.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.acosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.asinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.atanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cbrt.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.clz32.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.expm1.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.fround.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.hypot.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.imul.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log10.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log1p.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log2.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.tanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.trunc.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.epsilon.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-finite.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-nan.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-precision.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.assign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.create.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-properties.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.freeze.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-frozen.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-sealed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.seal.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.promise.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.apply.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.construct.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.has.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.exec.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.flags.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.match.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.replace.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.search.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.split.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.anchor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.big.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.blink.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.bold.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.code-point-at.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.ends-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontcolor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontsize.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.from-code-point.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.italics.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.link.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.raw.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.repeat.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.small.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.starts-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.strike.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sub.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sup.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.trim.js","webpack://aegis-app/./node_modules/core-js/modules/es6.symbol.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.data-view.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float64-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-set.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.flat-map.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.entries.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.values.js","webpack://aegis-app/./node_modules/core-js/modules/es7.promise.finally.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-end.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-start.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-left.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-right.js","webpack://aegis-app/./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://aegis-app/./node_modules/core-js/modules/web.dom.iterable.js","webpack://aegis-app/./node_modules/core-js/modules/web.immediate.js","webpack://aegis-app/./node_modules/core-js/modules/web.timers.js","webpack://aegis-app/./node_modules/core-js/web/index.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/depd/index.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/dotenv/lib/main.js","webpack://aegis-app/./node_modules/express-session/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/express-session/node_modules/ms/index.js","webpack://aegis-app/./node_modules/express-session/session/cookie.js","webpack://aegis-app/./node_modules/express-session/session/memory.js","webpack://aegis-app/./node_modules/express-session/session/session.js","webpack://aegis-app/./node_modules/express-session/session/store.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/ms/index.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/node-gyp-build/index.js","webpack://aegis-app/./node_modules/on-headers/index.js","webpack://aegis-app/./node_modules/parseurl/index.js","webpack://aegis-app/./node_modules/random-bytes/index.js","webpack://aegis-app/./node_modules/regenerator-runtime/runtime.js","webpack://aegis-app/./node_modules/safe-buffer/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/supports-color/node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/./node_modules/uid-safe/index.js","webpack://aegis-app/./node_modules/utf-8-validate/fallback.js","webpack://aegis-app/./node_modules/utf-8-validate/index.js","webpack://aegis-app/./node_modules/ws/index.js","webpack://aegis-app/./node_modules/ws/lib/buffer-util.js","webpack://aegis-app/./node_modules/ws/lib/constants.js","webpack://aegis-app/./node_modules/ws/lib/event-target.js","webpack://aegis-app/./node_modules/ws/lib/extension.js","webpack://aegis-app/./node_modules/ws/lib/limiter.js","webpack://aegis-app/./node_modules/ws/lib/permessage-deflate.js","webpack://aegis-app/./node_modules/ws/lib/receiver.js","webpack://aegis-app/./node_modules/ws/lib/sender.js","webpack://aegis-app/./node_modules/ws/lib/stream.js","webpack://aegis-app/./node_modules/ws/lib/validation.js","webpack://aegis-app/./node_modules/ws/lib/websocket-server.js","webpack://aegis-app/./node_modules/ws/lib/websocket.js","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"cluster\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/startup"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","creds","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","substring","concat","Subscription","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","relations","orders","foreignKey","commands","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","timeout","keys","producesEvent","disabled","consumesEvent","undo","cancelPayment","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","returnDelivery","paymentCompleted","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","req","listModels","writable","serialize","addModel","body","json","ctx","context","OrderError","editModel","params","changes","approve","runFibonacci","start","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","key","value","enabled","WebSwitch","makeClient","internal","makeAdapters","adapters","services","map","warn","reduce","c","checkPayload","Array","isArray","k","latest","createCustomer","phone","userId","freeze","length","validateSpec","spec","missing","makeModel","GlobalMixins","bindAdapters","models","modelSpecs","category","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity","prevmodel","Symbol","validations","mixinType","pre","mixinSets","premixins","postmixins","processUpdate","updates","compose","updateMixins","o","cb","mixinSet","eventMask","create","onload","handleUpdateEvent","isUpdate","decrypted","isObject","containsUpdates","changeList","util","fn","input","v","sort","a","b","apply","output","enableEvent","onUpdate","onCreate","onLoad","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","parseKeys","propKeys","flat","encryptProperties","encryptProps","obj","encrypt","preventUpdates","mutations","includes","requireProps","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","unknownProps","rejectUnknownProperties","RegEx","ipv4Address","ipv6Address","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","Validator","tests","maxlen","invalid","updaters","updateProps","u","invokePort","execMethod","functionType","createMethod","withValidFormat","checkFormat","encryptPersonalInfo","orderTotal","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","checkItems","items","calcTotal","total","item","itemCount","finalStatus","invalidStatusChange","to","invalidStatusChanges","i","errMsg","emit","shipmentPayload","addressValidated","addressPayload","paymentAuthorized","verifyAddress","verifyPayment","authorizeOrder","paymentDeclined","verifyInventory","insufficient","inv","getCustomerOrder","custInfo","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","trackingUpdate","needsSignature","logMessage","toJSON","createOrder","shippingPriority","requireSignature","estimatedArrival","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","approvedOrder","logStateChange","canceledOrder","checkout","errorCallback","timeoutCallback","adapterFn","logUndo","accountOrder","cancelOrdersTransform","Transform","objectMode","transform","_encoding","done","_id","list","createWriteStream","approveOrdersTransform","encoding","getContext","dur","startTime","metric","requestId","duration","funcs","initVal","reduceRight","composeAsync","f","passwd","ENCRYPTION_PWD","algo","crypto","String","iv","alloc","text","cipher","cipherText","decipher","digest","makeArray","makeObject","async","promise","ok","asObject","asArray","EventDispatcher","adapter","emitEvent","bind","session","express","cluster","fs","_srv_","app","API_ROOT","PORT","init","sessionParser","saveUninitialized","secret","resave","use","request","ws","destroy","ip","originalUrl","date","server","createServer","wss","Server","clientTracking","noServer","clients","each","client","head","handleUpgrade","startServer","hotReload","RELOAD_URL","auth","AUTH_ENABLED","ssl","startsWith","readFileSync","access_token","httpsAgent","Agent","rejectUnauthorized","Registry","eventNames","sendEvent","eventName","generateShippingEventData","generateShippingMessage","commandResp","inventoryCallbackFactory","inventoryCallback","warehouseAddress","shippingCallbackFactory","shippingCallback","_message","dispatcher","registerCallback","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","buildClient","Address","lookup","inputId","street","maxCandidates","candidate","lookups","validatedAddress","deliveryLine1","deliveryLine2","lastLine","_notify","_listen","EventBus","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","messages","disconnect","Payment","amount","source_id","customer_id","autocomplete","currency","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","createEventMessage","eventTarget","getTime","eventUuid","createCommandEvent","Shipping","serviceName","payloads","getProperty"],"mappings":";;;;;;;;;;;;;AAAa;;AAEb,mBAAO,CAAC,sEAAc;;AAE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AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,mBAAmB;AAC/B,YAAY,iBAAiB;AAC7B,YAAY;AACZ;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA,YAAY,MAAM;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,e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;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5Va;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AAJA;AAAA,+CATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAASA,eAAe,CAACC,OAAO,EAAE;EACvC;IAAA,sEAAO,iBAAgBC,OAAO;MAAA;MAAA;QAAA;UAAA;YAEnBC,KAAK,GAEVD,OAAO,CAFTE,KAAK,iCAEHF,OAAO,CADTG,IAAI,MAAGC,QAAQ;YAAA;YAAA;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A;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWmC;AACO;;AAE1C;AACuC;AACA;AACC;AACxC;AACuC;;AAEvC;AACA;AACA;AACA;AACA,SAAS8X,YAAY,CAAEC,IAAI,EAAE;EAC3B,IAAMC,OAAO,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC3V,MAAM,CAAC,UAAAkU,GAAG;IAAA,O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cACDH,SAAS,EAATA,SAAS;cACTE,YAAY,EAAZA,YAAY;cACZD,WAAW,EAAXA,WAAW;cACXK,WAAW,EAAE,eAAe;cAC5BC,YAAY,EAAE,QAAQ;cACtBC,IAAI,EAAE,mBAAmB;cACzBC,aAAa,EAAE;gBACbV,MAAM,EAAE,EAAE;gBACVI,QAAQ,EAAE;cACZ;YACF,CAAC;YACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;YArCI,iCA2CO,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEQ9kB,eAAe,2BAAChI,KAAK,EAAE;IAAA;MAAA;QAAA;UAAA;YAC3BM,OAAO,CAACM,GAAG,CAAC,6BAA6B,EAAEZ,KAAK,CAAC6E,OAAO,CAAC;YAAC,kCACnD,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAEKqD,aAAa,yBAAClI,KAAK,EAAE;IAAA;MAAA;QAAA;UAAA;YACzBM,OAAO,CAACM,GAAG,CAAC,4BAA4B,EAAEZ,KAAK,CAAC6E,OAAO,CAAC;UAAC;UAAA;YAAA;QAAA;MAAA;IAAA;EAC3D;AACF,CAAC,C;;;;;;;;;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;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C,iBAAiB;AACjB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;ACzMA,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,yFAA8B;AACtC,mBAAO,CAAC,2GAAuC;AAC/C,mBAAO,CAAC,+GAAyC;AACjD,mBAAO,CAAC,mIAAmD;AAC3D,mBAAO,CAAC,6GAAwC;AAChD,mBAAO,CAAC,qFAA4B;AACpC,mBAAO,CA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;;;AC/Ia;AACb,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,wBAAwB,mBAAO,CAAC,0EAAkB;AAClD,WAAW,mBAAO,CAAC,sDAAQ;AAC3B,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,qBAAqB;AACrB,0BAA0B;AAC1B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;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;;;AC1CA,YAAY,mBAAO,CAAC,sDAAQ;AAC5B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK,YAAY;AACjB,GAAG;AACH;;;;;;;;;;;;;;ACXA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACNa;AACb,mBAAO,CAAC,4EAAmB;AAC3B,eAAe,mBAAO,CAAC,gEAAa;AACpC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,YAAY,mBAAO,CAAC,0DAAU;AAC9B,cAAc,mBAAO,CAAC,8DAAY;AAClC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,iBAAiB,mBAAO,CAAC,sEAAgB;;AAEzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,2BAA2B,mBAAmB,aAAa;AAC3D;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,qCAAqC;AACrE;AACA;AACA,2BAA2B,gCAAgC;AAC3D;AACA;AACA;;;;;;;;;;;;;;;AC/Fa;AACb;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;AACb;AACA,cAAc,mBAAO,CAAC,gEAAa;AACnC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAA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,sDAAQ;AAC1B,cAAc,yFAAyB;AACvC;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,0DAAU;AAChC,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,aAAa,mBAAO,CAAC,4DAAW;AAChC,gBAAgB,iFAAsB;AACtC;AACA;AACA;AACA,aAAa,mBAAO,CAAC,sDAAQ;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uCAAuC,sBAAsB,EAAE;AAC/D;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;;;ACpEa;AACb;AACA,gBAAgB,mBAAO,CAAC,oEAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;;;;;;;;;;;;;;;ACjBa;AACb;AACA,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,sEAAgB;AACtC,WAAW,mBAAO,CAAC,sEAAgB;AACnC,UAAU,mBAAO,CAAC,oEAAe;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,8DAAY;AAClC;;AAEA;AACA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mBAAO,CAAC,8DAAY;;AAElC;AACA;AACA;AACA;AACA;AACA,QAAQ,MAAM;AACd;AACA;;;;;;;;;;;;;;ACXA,cAAc,mBAAO,CAAC,4DAAW;AACjC,cAAc,mBAAO,CAAC,8DAAY;AAClC,YAAY,mBAAO,CAAC,0DAAU;AAC9B,aAAa,mBAAO,CAAC,kEAAc;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC7BA;AACA;;;;;;;;;;;;;;ACDA,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,UAAU,mBAAO,CAAC,oEAAe;AACjC,aAAa,mBAAO,CAAC,4DAAW;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,sDAAQ;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACTA;AACA;AACA;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EAAe;AAC9C,aAAa,6FAA2B;AACxC,kBAAkB,mBAAO,CAAC,8FAA4B;AACtD,YAAY,mBAAO,CAAC,sDAAQ;AAC5B,YAAY,mBAAO,CAAC,sDAAQ;AAC5B,0BAA0B,mBAAO,CAAC,0EAAkB;AACpD,4BAA4B,mBAAO,CAAC,4EAAmB;AACvD,2BAA2B,mBAAO,CAAC,sFAAwB;AAC3D,uBAAuB,mBAAO,CAAC,kFAAsB;AACrD,kBAAkB,mBAAO,CAAC,kEAAc;AACxC,oBAAoB,mBAAO,CAAC,sEAAgB;AAC5C,mBAAmB,mBAAO,CAAC,sEAAgB;AAC3C,kBAAkB,mBAAO,CAAC,oEAAe;AACzC,wBAAwB,mBAAO,CAAC,kFAAsB;AACtD,YAAY,mBAAO,CAAC,kEAAc;AAClC,cAAc,mBAAO,CAAC,sEAAgB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA,4BAA4B;AAC5B,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB,0BAA0B,EAAE,EAAE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,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mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,kFAAsB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;A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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,wEAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,kFAAsB;AAC9B,mBAAO,CAAC,sEAAgB;AACxB,UAAU,mBAAO,CAAC,wDAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,sEAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC7RD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,yFAA4B,MAAM;AAChD;AACA;AACA,iCAAiC,mBAAO,CAAC,0DAAU;AACnD,sBAAsB,cAAc;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACfD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0EAAkB;AACvC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,YAAY,mBAAO,CAAC,0DAAU;AAC9B,WAAW,mBAAO,CAAC,wDAAS;AAC5B,kBAAkB,yFAA4B,MAAM;;AAEpD;AACA;AACA;AACA,gBAAgB;AAChB,mCAAmC,cAAc;AACjD,CAAC;AACD;AACA,0BAA0B,cAAc;AACxC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC9CD;AACA,SAAS,mBAAO,CAAC,kEAAc;AAC/B,cAAc,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B;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,eAAe,mBAAO,CAAC,kEAAc;AACrC,qBAAqB,mBAAO,CAAC,wFAAyB;AACtD,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACrIY;AACb,mBAAO,CAAC,8EAAoB;AAC5B,eAAe,mBAAO,CAAC,kEAAc;AACrC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA;;AAEA;AACA,EAAE,mBAAO,CAAC,gEAAa;AACvB;;AAEA;AACA,IAAI,mBAAO,CAAC,0DAAU,eAAe,wBAAwB,0BAA0B,YAAY,EAAE;AACrG;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACxBa;AACb,aAAa,mBAAO,CAAC,kFAAsB;AAC3C,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;;AAEA;AACA,iBAAiB,mBAAO,CAAC,oEAAe;AACxC,yBAAyB,mEAAmE;AAC5F,CAAC;AACD;AACA;A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;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,KAAK;AACL;AACA,sBAAsB,mCAAmC;AACzD,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,6FAA2B;AAC7B,EAAE,2FAA0B;AAC5B;;AAEA,sBAAsB,mBAAO,CAAC,8DAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD,6BAA6B;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,eAAe,EAAE;AAC3C,0BAA0B,gBAAgB;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,8CAA8C,YAAY,EAAE;;AAE5D;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,OAAO,QAAQ,iCAAiC;AACpG,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,oCAAoC,mBAAO,CAAC,wDAAS;AACrD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AAO,CAAC,uFAA6B;AACrC,uGAA4C;;;;;;;;;;;;;;;;;ACH5C;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,sCAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,eAAe,gDAAwB;;AAEvC;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uCAAuC;;AAEvC;AACA,4CAA4C;AAC5C;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,WAAW;AAC5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,kBAAkB;AAC1B;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2BAA2B,iCAAiC;AAC5D,cAAc,oBAAoB;AAClC;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,MAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;;;ACzhBY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA,WAAW,mBAAO,CAAC,cAAI;AACvB,aAAa,mBAAO,CAAC,kBAAM;AAC3B,WAAW,mBAAO,CAAC,cAAI;AACvB,oBAAoB,mBAAO,CAAC,2DAAiB;;AAE7C;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;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ACA;;AAEA,aAAa;AACb,cAAc;AACd,eAAe;AACf,mBAAmB;;AAEnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uCAAuC;AACvC;AACA;;AAEA;AACA,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa;AACb;AACA;AACA;AACA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;AC5qBA;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,2GAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,4HAAwC;AAC1C,CAAC;AACD,EAAE,sHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,gBAAgB,mBAAO,CAAC,0CAAM;;AAE9B;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,aAAa,KAAK;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gEAAS;AAC7B,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA,sCAAsC,aAAa;AACnD,qCAAqC,uBAAuB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA,6DAA6D;AAC7D;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC9IA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,kEAAU;AAC/B,mBAAmB,wDAA8B;AACjD,cAAc,mBAAO,CAAC,oEAAW;AACjC,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACrGA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;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AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAmC,oBAAoB;AACvD;AACA;AACA;AACA;AACA,sCAAsC,2BAA2B;AACjE;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,iDAAiD;AAChF;AACA,4DAA4D,QAAQ;AACpE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,4DAA4D,UAAU;AACtE;AACA;AACA;AACA,gEAAgE,YAAY;AAC5E,gBAAgB;AAChB,OAAO;AACP;AACA,SAAS,6BAA6B;AACtC;AACA;AACA,KAAK;;AAEL;AACA;AACA,oCAAoC,oBAAoB;AACxD;AACA,0DAA0D,8BAA8B;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX,4BAA4B,qDAAqD;;AAEjF;AACA;AACA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BAA4B;AACtD,sBAAsB;AACtB,aAAa;AACb;AACA,mBAAmB,YAAY;;AAE/B,sCAAsC,UAAU;;AAEhD;;AAEA,oCAAoC,UAAU;;AAE9C;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,qCAAqC,oBAAoB;AACzD;AACA,2DAA2D,MAAM;AACjE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,oBAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,gDAAgD,0CAA0C;AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,kBAAkB,4BAA4B,UAAU;AACvE,gBAAgB;AAChB,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,kCAAkC;AAC/C;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;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;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA;AACA,eAAe;AACf;AACA,sBAAsB,yBAAyB;AAC/C;AACA,0DAA0D,kBAAkB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,4CAA4C;AACzD;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,yBAAyB,qCAAqC;AAC9D;AACA,6DAA6D,6BAA6B;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,sBAAsB,kCAAkC;AACxD;AACA,0DAA0D,0BAA0B;AACpF;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,wBAAwB,sCAAsC;AAC9D;AACA,4DAA4D,sCAAsC;AAClG;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,4BAA4B,qDAAqD;AACjF;AACA;AACA;AACA;AACA;AACA,0BAA0B,qDAAqD;AAC/E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,yBAAyB,sDAAsD;AAC/E;AACA;AACA,uBAAuB,sDAAsD;AAC7E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,oBAAoB,MAAM;AAC1B;AACA,wDAAwD,iBAAiB;AACzE;;AAEA;AACA;AACA,aAAa,+BAA+B;AAC5C,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,eAAe;AACf;AACA,oBAAoB,UAAU;AAC9B;AACA,wDAAwD,UAAU;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC37BA,eAAe,mBAAO,CAAC,4FAA4B;AACnD,OAAO,iCAAiC,GAAG,mBAAO,CAAC,0DAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,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A;;AAEA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA,WAAW,sBAAsB;;AAEjC;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,+DAA+D,SAAS;AACxE,mCAAmC,oBAAoB;AACvD,uEAAuE,SAAS;AAChF,KAAK;AACL;AACA,mDAAmD,UAAU;AAC7D;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,iCAAiC,GAAG,mBAAO,CAAC,0DAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,yDAAyD,SAAS;AAClE,mCAAmC,oBAAoB;AACvD,iEAAiE,SAAS;AAC1E,KAAK;AACL;AACA,6CAA6C,UAAU;AACvD;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA,eAAe,mBAAO,CAAC,sBAAQ;AAC/B,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,2DAA2D,GAAG,mBAAO,CAAC,0DAAc;;AAE3F;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;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AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;AACA,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;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU,kDAAkD;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,mCAAmC,oBAAoB;AACvD,0BAA0B,sBAAsB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,mBAAmB,mBAAO,CAAC,uGAAsB;;AAEjD;AACA;AACA;;;;;;;;;;;;;;ACJA,OAAO,mCAAmC,GAAG,mBAAO,CAAC,uFAAwB;AAC7E,gBAAgB,mBAAO,CAAC,2EAAwB;;AAEhD;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH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BAAO,CAAC,mFAAoB;AACzD;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;;AAEvB,OAAO,OAAO;;AAEd;AACA;AACA;AACA;AACA,0BAA0B,eAAe;AACzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,8BAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,sBAAsB,sBAAsB;AAC3D;AACA;AACA;AACA;;AAEA;;AAEA,4DAA4D,WAAW;AACvE,aAAa,kCAAkC;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA;AACA;AACA;AACA,eAAe,yCAAyC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK,IAAI;AACT;AACA;;;;;;;;;;;;;;AC5tBA,aAAa,mBAAO,CAAC,+DAAe;AACpC;;AAEA,wBAAwB,MAAM;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,cAAc;AACzB,aAAa,UAAU;AACvB;AACA,aAAa,OAAO;AACpB,WAAW,OAAO;AAClB,WAAW,WAAW;AACtB,WAAW,YAAY;AACvB;AACA,aAAa,OAAO;AACpB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA,aAAa,OAAO;AAC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A;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,wEAAqB;AAC7C,wBAAwB,mBAAO,CAAC,+FAAmB;AACnD,kCAAkC,mBAAO,CAAC,mHAA6B;AACvE;AACA,WAAW,iBAAiB;AAC5B,CAAC,GAAG,mBAAO,CAAC,8FAA0B;;AAEtC,OAAO,eAAe;AACtB,yEAAyE,YAAY,EAAE,KAAK;;AAE5F;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,aAAa,gCAAgC;AAC7C,aAAa,2CAA2C;AACxD,aAAa,QAAQ;AACrB,aAAa,cAAc;AAC3B,aAAa,cAAc;AAC3B,cAAc,kBAAkB,2BAA2B;AAC3D,aAAa,wCAAwC;AACrD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,eAAe,mBAAmB;AAClC;AACA;;AAEA;AACA,aAAa,8CAA8C;AAC3D;AACA,iBAAiB,2BAA2B;AAC5C;AACA;AACA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,0BAA0B,mBAAmB;AAC7C,WAAW,kCAAkC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA,YAAY;AACZ;;AAEA,kCAAkC;AAClC,WAAW,kCAAkC;AAC7C,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,oBAAoB;AAC3C;AACA,iBAAiB,oBAAoB,kBAAkB,sBAAsB;AAC7E;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,YAAY;AAC1C,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,6BAA6B;AACxC;AACA;AACA,KAAK;;AAEL,uDAAuD,oBAAoB;AAC3E;AACA;AACA;AACA;AACA,sBAAsB,SAAS;AAC/B,mBAAmB,YAAY,aAAa,YAAY;AACxD,SAAS;AACT;AACA;AACA;;AAEA,mCAAmC,oBA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AACpB,aAAa,wBAAwB;AACrC,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA,WAAW,mBAAmB;;AAE9B;AACA,6DAA6D,mBAAmB;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACrkBA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,uBAAuB,4BAA4B,0CAA0C;AAC1G;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C,gBAAgB,wBAAwB,oBAAoB;AAC5D,OAAO;AACP;AACA;AACA;;AAEA;AACA,aAAa,uBAAuB,4BAA4B,0CAA0C;AAC1G;AACA;AACA,8BAA8B,oBAAoB;AAClD;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,uBAAuB,4BAA4B,0CAA0C;AAC1G;AACA;AACA,8BAA8B,oBAAoB;AAClD;;AAEA;AACA;AACA;AACA;A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ACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBAAgB,QAAQ;AACxB,eAAe,QAAQ;;AAEvB,2CAA2C,YAAY;AACvD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iCAAiC,QAAQ;AACzC;;AAEA;AACA,oEAAoE,QAAQ;AAC5E,wBAAwB,SAAS,0DAA0D,WAAW;AACtG;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChRA;AACA;AACA,WAAW,OAAO;AAClB,CAAC,GAAG,mBAAO,CAAC,8DAAW;;AAEvB,oCAAoC,mBAAO,CAAC,wFAA2B;AACvE,sBAAsB,mBAAO,CAAC,wEAAmB;AACjD,gBAAgB,mBAAO,CAAC,8DAAW;AACnC,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,uBAAuB,mBAAO,CAAC,gEAAY;AAC3C,oBAAoB,mBAAO,CAAC,0DAAS;AACrC,wBAAwB,mBAAO,CAAC,wFAA2B;AAC3D,6BAA6B,mBAAO,CAAC,oFAAyB;;AAE9D;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,gCAAgC;AAC7C,aAAa,kCAAkC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,yCAAyC,8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;;;;;;;;;ACtTA,OAAO,uDAAuD,GAAG,mBAAO,CAAC,0DAAc;AACvF,eAAe,mBAAO,CAAC,6FAA0B;;AAEjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,aAAa;AAC1B,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB,aAAa,WAAW;AACxB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,8BAA8B;AACzC,2BAA2B,QAAQ,QAAQ,OAAO,aAAa,WAAW;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D,YAAY;AACxE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,gBAAgB;AAC7B;AACA;AACA;AACA,KAAK;;AAEL,WAAW,6EAA6E;;AAExF;AACA;AACA,mBAAmB,sCAAsC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;;AAEA;;AAEA;AACA,8CAA8C,QAAQ,MAAM,gBAAgB;AAC5E;AACA;AACA;;;;;;;;;;;;;;ACvKA;AACA,WAAW,OAAO;AAClB,WAAW,qCAAqC;AAChD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,WAAW;AACtB,WAAW,uBAAuB;AAClC,WAAW,WAAW;AACtB,WAAW,qBAAqB;AAChC,WAAW,WAAW;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gCAAgC,6BAA6B;;AAE7D;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC/BA;;AAEA;AACA,aAAa;AACb;AACA;AACA,cAAc,mBAAO,CAAC,gBAAK;AAC3B,cAAc,mBAAO,CAAC,gBAAK;;AAE3B,WAAW,6BAA6B;AACxC;AACA,mCAAmC,+BAA+B;AAClE,qBAAqB,aAAa;;AAElC;;AAEA;AACA;AACA;;;;;;;;;;;;;;AClBA;AACA;AACA,MAAM,gEAAgE;AACtE;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;;;;;;;;;;;;;;ACXA,oBAAoB,mBAAO,CAAC,8DAAa;AACzC,OAAO,2BAA2B,GAAG,mBAAO,CAAC,0DAAc;AAC3D,0BAA0B,mBAAO,CAAC,gGAAiC;AACnE,2BAA2B,mBAAO,CAAC,4GAA2B;AAC9D,eAAe,mBAAO,CAAC,sBAAQ;;AAE/B,eAAe,mBAAO,CAAC,gGAAqB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,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AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AAC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,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,MAAM;AACtB,+BAA+B,kCAAkC;AACjE,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,uBAAuB,8CAA8C;AACrE,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnIA,gBAAgB,mBAAO,CAAC,sFAAW;AACnC,iCAAiC,mBAAO,CAAC,8FAAe;;AAExD;;;;;;;;;;;;;;ACHA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,aAAa;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AClDA,oBAAoB,mBAAO,CAAC,8FAAe;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAW,oCAAoC;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,6DAAiB;;AAE9D;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD,yBAAyB,mBAAO,CAAC,sBAAQ;AACzC;;AAEA;;AAEA;AACA;AACA;AACA,sBAAsB,KAAK,0DAA0D,UAAU;AAC/F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,0FAAW;A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ET;AACA;AACA;AACA;AACA,SAAS,IAAI;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,mDAAmD,SAAS;AAC5D;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C,yBAAyB,kEAAkE;AAC3F;AACA;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA,sCAAsC,uBAAuB;AAC7D;;AAEA;AACA,WAAW;;AAEX;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA,yCAAyC,QAAQ;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,gCAAgC,6BAA6B;AAC7D;;AAEA;AACA,kEAAkE,UAAU;AAC5E;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAAiB;;AAE3D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,mBAAO,CAAC,+EAAQ;AACtC;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrCA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,0DAAc;;AAE1B,kBAAkB,mBAAO,CAAC,+EAAc;AACxC,kBAAkB,mBAAO,CAAC,+EAAc;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+DAA+D,UAAU;AACzE;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D,eAAe,kBAAkB,KAAK;AACjG;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,+BAA+B;AACvD;;;;;;;;;;;;;;ACpCA;AACA,KAAK,mBAAO,CAAC,qEAAM;AACnB,KAAK,mBAAO,CAAC,qEAAM;AACnB;;AAEA,mBAAmB,cAAc;;;;;;;;;;;;;;ACLjC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACJD,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,cAAc,mBAAO,CAAC,iEAAa;AACnC,OAAO,6CAA6C,GAAG,mBAAO,CAAC,wFAAgB;;AAE/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,6CAA6C;AAChE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACLD,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,cAAc,mBAAO,CAAC,iEAAa;AACnC,OAAO,6CAA6C,GAAG,mBAAO,CAAC,wFAAgB;;AAE/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,qEAAqE;AACxF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACzBA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,uBAAuB,mBAAO,CAAC,kFAAoB;AACnD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAwB;AACpE,OAAO,6BAA6B,GAAG,mBAAO,CAAC,0DAAc;;AAE7D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5FA,gBAAgB,mBAAO,CAAC,iEAAW;;AAEnC,yBAAyB,oCAAoC,6BAA6B,EAAE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACZA;AACA,OAAO,sDAAsD;AAC7D,oBAAoB,mBAAO,CAAC,gGAAc;AAC1C,qBAAqB,mBAAO,CAAC,kGAAe;AAC5C,YAAY,mBAAmB,sDAAsD;AACrF,GAAG;AACH,OAAO,sDAAsD;AAC7D,oBAAoB,mBAAO,CAAC,gGAAc;AAC1C,qBAAqB,mBAAO,CAAC,kGAAe;AAC5C,YAAY,mBAAmB,sDAAsD;AACrF,GA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1C,OAAO,6BAA6B,GAAG,mBAAO,CAAC,8EAAe;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,WAAW,kBAAkB;AAC7B,qDAAqD,YAAY;AACjE,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,kBAAkB,mBAAO,CAAC,oGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,sGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA;AACA,OAAO,0BAA0B;AACjC,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,0BAA0B;AACzD,GAAG;AACH,OAAO,0BAA0B;AACjC,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,0BAA0B;AACzD,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,kCAAkC;AACrD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,4BAA4B;AACrD;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACxBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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mBAAmB,gCAAgC;AAC/D,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;AChDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,OAAO,iDAAiD,GAAG,mBAAO,CAAC,gEAAoB;;AAEvF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gB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BAAO,CAAC,6FAAe;AAC5C,YAAY,mBAAmB,UAAU;AACzC,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACtCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iEAAiE,YAAY;AAC7E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,YAAY;;AAEpE;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;;;;;;;;;;;;;;ACrBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;;AAEA,iEAAiE,gBAAgB;;;;;;;;;;;;;;ACNjF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,g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+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACpCD,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAgB;AAC1C,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA;AACA,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,gGAAc;AAC1C,qBAAqB,mBAAO,CAAC,kGAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAAG;AACH,OAAO,6BAA6B;AACpC,oBAAoB,mBAAO,CAAC,gGAAc;AAC1C,qBAAqB,mBAAO,CAAC,kGAAe;AAC5C,YAAY,mBAAmB,6BAA6B;AAC5D,GAAG;AACH,OAAO,6BAA6B;AACpC,oBAAoB,mBAAO,CAAC,gGAAc;AAC1C,qBAAqB,mBAAO,CAAC,kGAAe;AAC5C,YAAY,mBAAmB,6BAA6B;AAC5D,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACrBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,qBAAqB,mBAAO,CAAC,kFAAuB;AACpD,4BAA4B,mBAAO,CAAC,gGAA8B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvEA,kBAAkB,mBAAO,CAAC,iGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,6BAA6B;AAChD,2BAA2B,6BAA6B,IAAI,gBAAgB;;;;;;;;;;;;;;AChB5E,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AACA,OAAO,WAAW;AAClB,oBAAoB,mBAAO,CAAC,+FAAc;AAC1C,qBAAqB,mBAAO,CAAC,iGAAe;AAC5C,YAAY,mBAAmB,WAAW;AAC1C,GAAG;AACH,OAAO,WAAW;AAClB,oBAAoB,mBAAO,C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;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA,wBAAwB,qEAAqE;AAC7F;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA,wBAAwB,qEAAqE;AAC7F;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;AAC7E,gBAAgB,mBAAO,CAAC,8EAA2B;AACnD,0BAA0B,mBAAO,CAAC,8FAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,OAAO,uCAAuC;AAC9C;AACA;;AAEA;AACA,mDAAmD,wBAAwB;AAC3E;AACA;AACA,wCAAwC,cAAc,mBAAmB;AACzE,GAAG;;AAEH;AACA;AACA,WAAW,8BAA8B;AACzC;AACA,yEAAyE,mBAAmB;AAC5F;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,0BAA0B,mBAAO,CAAC,8FAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;A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AAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,oEAAgB;;AAE5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA;AACA,OAAO,oBAAoB;AAC3B,oBAAoB,mBAAO,CAAC,2FAAc;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5C;AACA,wBAAwB,oBAAoB;AAC5C;AACA;AACA,GAAG;AACH,OAAO,oBAAoB;AAC3B,oBAAoB,mBAAO,CAAC,2FAAc;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5C;AACA,wBAAwB,oBAAoB;AAC5C;AACA;AACA,GAAG;AACH,OAAO,oBAAoB;AAC3B,oBA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,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oCAAoC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC/BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA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ACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,4FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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ACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,6DAA6D;AACvF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;AClCA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAs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AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY;AACtC;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,+FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA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AoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACrGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,kBAAkB,GAAG,mBAAO,CAAC,8EAAe;AACnD,mBAAmB,mBAAO,CAAC,oFAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,2BAA2B,sBAAsB;AACjD,iCAAiC,uCAAuC;AACxE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,gBAAgB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A;AACA;AACA;AACA,eAAe,iDAAiD;AAChE,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvCA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,kBAAkB,GAAG,mBAAO,CAAC,8EAAe;AACnD,OAAO,QAAQ,GAAG,mBAAO,CAAC,sGAA8B;AACxD,eAAe,mBAAO,CAAC,0GAAgC;AACvD,OAAO,cAAc,GAAG,mBAAO,CAAC,4FAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AACA,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,iGAAc;AAC1C,qBAAqB,mBAAO,CAAC,mGAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAAG;AACH,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,iGAAc;AAC1C,qBAAqB,mBAAO,CAAC,mGAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,8BAA8B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,WAAW,aAAa;AACxB,gDAAgD,YAAY;AAC5D,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,kBAAkB,mBAAO,CAAC,iGAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,gEAAgE;AAC7F,UAAU,sBAAsB;AAChC;AACA,kEAAkE,2DAA2D;AAC7H,0DAA0D,2CAA2C;AACrG,kGAAkG,oDAAoD;AACtJ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CAAC,gEAAY;;AAEpF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS,4CAA4C;;AAErD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,0DAA0D,wBAAwB;AAClF;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA,aAAa,4GAA4G;AACzH;;AAEA;AACA,WAAW,mCAAmC;AAC9C,aAAa;AACb;AACA,2BAA2B;AAC3B;AACA,oCAAoC;AACpC;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;AC1EA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACbA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,oBAAoB;AAC/B,aAAa;AACb;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IAAI;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,+BAA+B,OAAO;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;;;ACHH,OAAO,OAAO;AACd;AACA,yCAAyC,gCAAgC,KAAK;;;;;;;;;;;;;;ACF9E,cAAc,mBAAO,CAAC,0DAAS;AAC/B,OAAO,iBAAiB,GAAG,mBAAO,CAAC,uDAAW;;AAE9C;AACA;AACA,GAAG,iFAAiF;AACpF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;;;;;;;;;;;;;AC5CA;;AAEA,oCAAoC,SAAS,GAAG,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;ACF9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjKA,aAAa,mBAAO,CAAC,sDAAY;AACjC,YAAY,mBAAO,CAAC,oBAAO;AAC3B,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,SAAS,mBAAO,CAAC,cAAI;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB;AACA,GAAG;AACH,IAAI,4DAAqB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD,UAAU,+DAAW;AACrB;AACA;AACA;AACoE;;;;;;;;;;;;;;;;;;;;AC5CpE;AACA;AACsB;;;;;;;;;;;;;;ACFtB,SAAS,mBAAO,CAAC,cAAI;AACrB,WAAW,mBAAO,CAAC,kBAAM;AACzB,SAAS,mBAAO,CAAC,cAAI;;AAErB;AACA,qBAAqB,KAAyC,GAAG,OAAuB,GAAG,CAAO;;AAElG;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAyC,oBAAoB,CAAE;AACnE;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;;AAEd;;AAEA,iBAAiB,gBAAgB;AACjC;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9MA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2EAA2E,uBAAuB;AAClG,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0CAA0C,kDAAkD;;AAE5F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,wDAAwD;AAC7F;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,iBAAiB;AACtD;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,CAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA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ACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AA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A;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtHa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,mHAAqB;AAC5C,yBAAyB,mBAAO,CAAC,2HAAsB;AACvD,sBAAsB,mBAAO,CAAC,qHAAmB;AACjD,kBAAkB,mBAAO,CAAC,6GAAe;AACzC,gBAAgB,mBAAO,CAAC,qHAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AAC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;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,8GAAkC;AAC3F;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,6B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACjBA,uBAAuB,+GAAkC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uB;;;;;;;;;;;;;AChDA,mBAAmB,mBAAO,CAAC,mFAAc;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,oBAAoB,mBAAO,CAAC,qFAAe;AAC3C,0BAA0B,mBAAO,CAAC,iGAAqB;AACvD,0BAA0B,mBAAO,CAAC,iGAAqB;AACvD,2BAA2B,mBAAO,CAAC,mGAAsB;AACzD,yBAAyB,mBAAO,CAAC,+FAAoB;AACrD,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,4BAA4B,oHAAuC;;AAEnE;AACA,uBAAuB,mBAAO,CAAC,+FAAoB;AACnD,wBAAwB,mBAAO,CAAC,iGAAqB;AACrD,6BAA6B,mBAAO,CAAC,2GAA0B;AAC/D,gCAAgC,mBAAO,CAAC,mHAA8B;AACtE,wBAAwB,mBAAO,CAAC,iGAAqB;AACrD,kCAAkC,mBAAO,CAAC,qHAA+B;AACzE,2BAA2B,mBAAO,CAAC,yGAAyB;AAC5D,+CAA+C,mBAAO,CAAC,iJAA6C;;AAEpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;ACtCa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,YAAY,mBAAO,CAAC,gBAAK;AACzB,gBAAgB,mBAAO,CAAC,8EAAU;;AAElC,OAAO,IAAI;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACtIa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB;AACxB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,0DAAc;;AAExC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ga;;AAEb;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,mCAAmC;AACnC;AACA,KAAK,qCAAqC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK,qCAAqC;AAC1C;AACA;AAC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;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB,mBAAO,CAAC,sDAAY;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChIa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,qCAAqC;AAClD,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACvLa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,mBAAmB;AAC3B;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO,6BAA6B;AACpC;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAiE,EAAE;AACnE;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,iEAAiE,EAAE;AACnE;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,EAAE,GAAG,EAAE;AAC1D,0BAA0B;AAC1B,eAAe;AACf;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,KAAK;AACL;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;AC9NL;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtDa;;AAEb,aAAa,mBAAO,CAAC,kBAAM;;AAE3B,mBAAmB,mBAAO,CAAC,2DAAe;AAC1C,gBAAgB,mBAAO,CAAC,mDAAW;AACnC,OAAO,oBAAoB,GAAG,mBAAO,CAAC,uDAAa;;AAEnD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,IAAI;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAAgD,IAAI,KAAK,MAAM;AAC/D;AACA;AACA;AACA,WAAW;AACX;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT,gDAAgD,IAAI;AACpD;;AAEA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,kCAAkC,SAAS;AAC3C;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gCAAgC,SAAS;AACzC;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrgBa;;AAEb,OAAO,WAAW,GAAG,mBAAO,CAAC,sBAAQ;;AAErC,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAa;AACzB,OAAO,gCAAgC,GAAG,mBAAO,CAAC,2DAAe;AACjE,OAAO,iCAAiC,GAAG,mBAAO,CAAC,yDAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,0BAA0B,aAAa;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,mCAAmC,KAAK;AACxC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,+BAA+B;AAC1C,WAAW,OAAO;AAClB,WAAW,QAAQ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A;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uBAAuB,wBAAwB;AAC/C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxZa;;AAEb,OAAO,SAAS,GAAG,mBAAO,CAAC,sBAAQ;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACnLa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,oBAAoB,mBAAO,CAAC,8DAAgB;;AAE5C;AACA;AACA,qDAAqD;AACrD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvGA,qCAAqC,yCAAyC;;AAEjE;;AAEb,qBAAqB,mBAAO,CAAC,sBAAQ;AACrC,aAAa,mBAAO,CAAC,kBAAM;AAC3B,cAAc,mBAAO,CAAC,oBAAO;AAC7B,YAAY,mBAAO,CAAC,gBAAK;AACzB,YAAY,mBAAO,CAAC,gBAAK;AACzB,OAAO,aAAa,GAAG,mBAAO,CAAC,sBAAQ;;AAEvC,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD,kBAAkB,mBAAO,CAAC,uDAAa;AACvC,OAAO,gBAAgB,GAAG,mBAAO,CAAC,uDAAa;AAC/C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,uDAAa;;AAElD,iCAAiC,GAAG;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,iBAAiB;AAC9B;AACA,aAAa,OAAO;AACpB,aAAa,2BAA2B;AACxC;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,kDAAkD;AAC3E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,gDAAgD,SAAS;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,gDAAgD,MAAM;AACtD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,0BAA0B;AACrC,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,aAAa;AACxB;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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,mBAAmB;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,kDAAkD,OAAO;AACzD;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,iBAAiB;AAC5B;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,uCAAuC,qBAAqB;AAC5D,gCAAgC,4BAA4B;AAC5D;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA,0CAA0C,cAAc;;AAExD;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mBAAmB,mBAAmB,GAAG,mBAAmB;AAC5D;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,wBAAwB;;AAEzC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,2CAA2C;AACtD;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,EAAE;AACb,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C,qBAAqB;AAChE,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,qCAAqC;AAChD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1qCA,mC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,oC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,iC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCxBA;WACA;WACA;WACA;WACA;WACA,gCAAgC,YAAY;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,wCAAwC,yCAAyC;WACjF;WACA;WACA,E;;;;;WCPA,sF;;;;;WCAA;WACA;WACA;WACA,sDAAsD,kBAAkB;WACxE;WACA,+CAA+C,cAAc;WAC7D,E;;;;;WCNA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sGAAsG;WACtG;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,GAAG,aAAa,kBAAkB;WAClC;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC1CA;WACA;WACA,WAAW,6BAA6B,iBAAiB,GAAG,qEAAqE;WACjI;WACA;WACA;WACA,qCAAqC,aAAa,EAAE,wDAAwD,2BAA2B,4BAA4B,2BAA2B,+CAA+C,mCAAmC;WAChR;WACA;WACA;WACA,+BAA+B,eAAe,oBAAoB,sDAAsD,gBAAgB,eAAe,KAAK,6DAA6D,SAAS,SAAS,QAAQ,eAAe,KAAK,eAAe,qGAAqG,WAAW,aAAa;WACnZ;WACA;WACA;WACA,gBAAgB,8BAA8B,qBAAqB,YAAY,sBAAsB,SAAS,iDAAiD,6FAA6F,WAAW,uBAAuB,2BAA2B,wBAAwB,KAAK,oCAAoC,oBAAoB,wBAAwB,oBAAoB,SAAS,KAAK,yBAAyB,KAAK,gCAAgC,yBAAyB,QAAQ,eAAe,KAAK,eAAe,4DAA4D;WACtoB;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD,+B;;;;UC3IA;UACA;UACA;UACA;UACA","file":"main.js","sourcesContent":["\"use strict\";\n\nrequire(\"./noConflict\");\n\nvar _global = _interopRequireDefault(require(\"core-js/library/fn/global\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/array/flat-map\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/string/trim-start\");\n\nrequire(\"core-js/fn/string/trim-end\");\n\nrequire(\"core-js/fn/symbol/async-iterator\");\n\nrequire(\"core-js/fn/object/get-own-property-descriptors\");\n\nrequire(\"core-js/fn/object/values\");\n\nrequire(\"core-js/fn/object/entries\");\n\nrequire(\"core-js/fn/promise/finally\");\n\nrequire(\"core-js/web\");\n\nrequire(\"regenerator-runtime/runtime\");","// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n","'use strict'\n\nimport { Event } from './services/event-service'\n\nexport class EventDispatcher {\n constructor (adapter = Event) {\n this.adapter = adapter\n this.subscriptions = new Map()\n }\n\n registerCallback (topic, callback) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions.get(topic).push(callback)\n return\n }\n this.subscriptions.set(topic, [callback])\n }\n\n async emitEvent (topic, message, method = 'notify') {\n await this.adapter[method](topic, message)\n }\n\n async init (method = 'listen') {\n function emitEvent (topic, message) {\n this.emitEvent(topic, message)\n }\n\n await this.adapter[method](\n /Channel/,\n function ({ topic, message }) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions\n .get(topic)\n .forEach(callback =>\n callback({ message, emitEvent: emitEvent.bind(this) })\n )\n }\n }.bind(this)\n )\n }\n}\n","'use strict'\n\nconst session = require('express-session')\nconst express = require('express')\nconst http = require('http')\nconst WebSocket = require('ws')\nconst { uuid } = require('./domain/utils')\nrequire('dotenv').config()\nconst services = require('./service-registry').default\nconst cluster = require('cluster')\nconst fs = require('fs')\nconst _srv_ = require('./services')\n\nconst app = express()\nconst map = new Map()\nconst API_ROOT = '/api'\nconst PORT = 8060\n\nimport axios from 'axios'\n// list the models we expose to host through module federation\nimport { models } from './domain'\nconsole.log(models)\n\n// Run test service endpoints\nservices.init()\n\n// We need the same instance of the session parser in express and\n// WebSocket server.\nconst sessionParser = session({\n saveUninitialized: false,\n secret: '$eCuRiTy',\n resave: false\n})\n\n// Serve static files from the 'public' folder.\napp.use(express.static('public'))\napp.use(express.static('dist')) // remoteEntry.js\napp.use(sessionParser)\napp.use(express.json())\n\napp.post('/login', function (req, res) {\n // \"Log in\" user and set userId to session.\n const id = uuid()\n console.log(`Updating session for user ${id}`)\n req.session.userId = id\n res.send({ result: 'OK', message: 'Session updated' })\n})\n\napp.delete('/logout', function (request, response) {\n const ws = map.get(request.session.userId)\n console.log('Destroying session')\n request.session.destroy(function () {\n if (ws) ws.close()\n response.send({ result: 'OK', message: 'Session destroyed' })\n })\n})\n\napp.get(`${API_ROOT}/fedmonserv`, (req, res) =>\n res.send('Federated Monolith Service')\n)\n\napp.get(`${API_ROOT}/service1`, (req, res) => {\n console.log({ from: req.ip, url: req.originalUrl })\n res.status(200).send({\n from: 'fedmonserv',\n ip: req.ip,\n port: PORT,\n url: req.originalUrl,\n date: new Date().toISOString()\n })\n})\n\n// Create HTTP server\nconst server = http.createServer(app)\nconst wss = new WebSocket.Server({ clientTracking: true, noServer: true })\n\n// Send events emitted from host to any WS clients\napp.post(`${API_ROOT}/publish`, (req, res) => {\n console.log({ event: req.body })\n //handleEvents(req, res);\n wss.clients.forEach(function each (client) {\n if (client.url === req.url) return\n if (client.readyState === WebSocket.OPEN) {\n client.send(JSON.stringify({ event: req.body }))\n }\n })\n})\n\n// Handle request to upgrade to websocket protocol\nserver.on('upgrade', function (request, socket, head) {\n console.log('Parsing session from request...')\n\n sessionParser(request, {}, () => {\n if (!request.session.userId) {\n socket.destroy()\n return\n }\n console.log('Session is parsed')\n wss.handleUpgrade(request, socket, head, function (ws) {\n wss.emit('connection', ws, request)\n })\n })\n})\n\nwss.on('connection', function (ws, request) {\n const userId = request.session.userId\n map.set(userId, ws)\n\n ws.on('message', function (message) {\n console.log(`Received message ${message} from user ${userId}`)\n })\n\n ws.on('close', function () {\n map.delete(userId)\n })\n})\n\nfunction startServer () {\n server.listen(PORT, function () {\n console.log(`Listening on http://localhost:${PORT}\\n`)\n })\n}\n\nfunction hotReload () {\n const url = process.env.RELOAD_URL || 'http://localhost:8070'\n const auth = /true/i.test(process.env.AUTH_ENABLED)\n const ssl = url.startsWith('https')\n if (auth) {\n const text = fs.readFileSync('./public/token.json', 'utf-8')\n const token = JSON.parse(text)\n axios.defaults.headers.common[\n 'Authorization'\n ] = `bearer ${token.access_token}`\n }\n // setTimeout(() => {\n try {\n if (ssl) {\n const https = require('https')\n const httpsAgent = new https.Agent({\n rejectUnauthorized: false\n })\n axios\n .get(url, { httpsAgent })\n .then(response => console.log(response.data))\n } else {\n axios.get(url).then(response => console.log(response.data))\n }\n } catch (e) {\n console.log(e.message)\n }\n //}, 10000);\n}\n\nstartServer()\n\n// function startHotLoadWorker() {\n// const worker = cluster.fork();\n// const timerId = setTimeout(function (params) {\n// startHotLoadWorker();\n// }, 10000);\n// worker.on(\"message\", msg => {\n// if (msg?.status === \"done\") {\n// clearTimeout(timerId);\n// }\n// });\n//\n\n// if (cluster.isMaster) {\n// cluster.fork();\n// startServer();\n// } else {\n// hotReload();\n// }\n\n// let reloaded = false;\n// let serverRunning = false;\n\n// (async () => {\n// while (!reloaded) {\n// const worker = cluster.fork();\n\n// if (cluster.master) {\n// if (!serverRunning) {\n// startServer();\n// serverRunning = true;\n// }\n// function waitOnHotLoad() {\n// return new Promise(function (resolve) {\n// worker.on(\"message\", msg => {\n// if (msg === \"all good\") {\n// reloading = true;\n// resolve(true);\n// }\n// });\n// });\n// }\n// await waitOnHotLoad();\n\n// await new Promise(r => setTimeout(r, 2000));\n// }\n// }\n// })();\n\n// if (cluster.worker) {\n// hotReload();\n// process.send(\"all good\");\n// }\n","'use strict'\n\nimport { EventDispatcher } from './event-dispatcher'\nimport { uuid } from './domain/utils'\n\nexport const Registry = {\n eventNames: {\n shipOrder: 'orderShipped',\n trackShipment: 'outForDelivery',\n verifyDelivery: 'deliveryVerified'\n },\n\n sendEvent ({ emitEvent, topic, eventData, eventSource, eventName }) {\n console.log('Sending event...')\n console.log({ emitEvent, topic, eventData, eventSource, eventName })\n setTimeout(async () => {\n await emitEvent(\n topic,\n JSON.stringify({\n eventData,\n eventName,\n eventTime: new Date().toISOString(),\n eventType: 'commandResponse',\n eventSource: eventSource\n })\n )\n }, 5000)\n },\n\n generateShippingEventData (event, externalId) {\n const trackingId = uuid()\n const shipmentId = trackingId\n const proofOfDelivery = `http://shipping.service.com?proof=${trackingId}`\n const eventData = { externalId }\n if (event.eventName === 'shipOrder') {\n return { ...eventData, shipmentId }\n }\n if (event.eventName === 'trackShipment') {\n return { ...eventData, trackingId, trackingStatus: 'outForDelivery' }\n }\n if (event.eventName === 'verifyDelivery') {\n return { ...eventData, proofOfDelivery }\n }\n },\n\n generateShippingMessage (emitEvent, event, externalId) {\n return {\n emitEvent,\n topic: event.eventData.commandResp,\n eventData: this.generateShippingEventData(event, externalId),\n eventName: this.eventNames[event.eventName],\n eventSource: 'shippingService'\n }\n },\n\n inventoryCallbackFactory () {\n function inventoryCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const warehouseAddress = /*null;*/ '1234 warehouse dr, dock 2'\n const externalId = event.eventData.commandArgs.externalId\n const eventName = /*'outOfStock';*/ 'orderPicked'\n this.sendEvent({\n emitEvent,\n topic: event.eventData.respChannel,\n eventName,\n eventData: { warehouse_addr: warehouseAddress, externalId },\n eventSource: 'inventoryService'\n })\n }\n return inventoryCallback.bind(this)\n },\n\n shippingCallbackFactory () {\n function shippingCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const externalId = event.eventData.commandArgs.externalId\n const _message = this.generateShippingMessage(\n emitEvent,\n event,\n externalId\n )\n this.sendEvent(_message)\n\n if (event.eventName === 'trackShipment') {\n const eventData = {\n ..._message.eventData,\n trackingStatus: 'orderDelivered'\n }\n setTimeout(\n () =>\n this.sendEvent({\n ..._message,\n eventData,\n eventName: 'orderDelivered'\n }),\n 7000\n )\n }\n }\n return shippingCallback.bind(this)\n }\n}\n\nconst dispatcher = new EventDispatcher()\n\ndispatcher.registerCallback(\n 'inventoryChannel',\n Registry.inventoryCallbackFactory()\n)\n\ndispatcher.registerCallback(\n 'shippingChannel',\n Registry.shippingCallbackFactory()\n)\n\nexport default dispatcher\n","'use strict'\n\nconst uuid = require('../domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n","'use strict';\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nconst mask = (source, mask, output, offset, length) => {\n for (var i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n};\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nconst unmask = (buffer, mask) => {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (var i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n};\n\nmodule.exports = { mask, unmask };\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","/**\n * Module dependencies.\n */\n\nvar crypto = require('crypto');\n\n/**\n * Sign the given `val` with `secret`.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String}\n * @api private\n */\n\nexports.sign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Cookie value must be provided as a string.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n return val + '.' + crypto\n .createHmac('sha256', secret)\n .update(val)\n .digest('base64')\n .replace(/\\=+$/, '');\n};\n\n/**\n * Unsign and decode the given `val` with `secret`,\n * returning `false` if the signature is invalid.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String|Boolean}\n * @api private\n */\n\nexports.unsign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Signed cookie string must be provided.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n var str = val.slice(0, val.lastIndexOf('.'))\n , mac = exports.sign(str, secret);\n \n return sha1(mac) == sha1(val) ? str : false;\n};\n\n/**\n * Private\n */\n\nfunction sha1(str){\n return crypto.createHash('sha1').update(str).digest('hex');\n}\n","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var pairs = str.split(';')\n var dec = opt.decode || decode;\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var index = pair.indexOf('=')\n\n // skip things that don't look like key=value\n if (index < 0) {\n continue;\n }\n\n var key = pair.substring(0, index).trim()\n\n // only assign once\n if (undefined == obj[key]) {\n var val = pair.substring(index + 1, pair.length).trim()\n\n // quoted values\n if (val[0] === '\"') {\n val = val.slice(1, -1)\n }\n\n obj[key] = tryDecode(val, dec);\n }\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.exec');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n","require('../../modules/es7.array.flat-map');\nmodule.exports = require('../../modules/_core').Array.flatMap;\n","require('../../modules/es7.array.includes');\nmodule.exports = require('../../modules/_core').Array.includes;\n","require('../../modules/es7.object.entries');\nmodule.exports = require('../../modules/_core').Object.entries;\n","require('../../modules/es7.object.get-own-property-descriptors');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;\n","require('../../modules/es7.object.values');\nmodule.exports = require('../../modules/_core').Object.values;\n","'use strict';\nrequire('../../modules/es6.promise');\nrequire('../../modules/es7.promise.finally');\nmodule.exports = require('../../modules/_core').Promise['finally'];\n","require('../../modules/es7.string.pad-end');\nmodule.exports = require('../../modules/_core').String.padEnd;\n","require('../../modules/es7.string.pad-start');\nmodule.exports = require('../../modules/_core').String.padStart;\n","require('../../modules/es7.string.trim-right');\nmodule.exports = require('../../modules/_core').String.trimRight;\n","require('../../modules/es7.string.trim-left');\nmodule.exports = require('../../modules/_core').String.trimLeft;\n","require('../../modules/es7.symbol.async-iterator');\nmodule.exports = require('../../modules/_wks-ext').f('asyncIterator');\n","require('../modules/es7.global');\nmodule.exports = require('../modules/_core').global;\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/tc39/proposal-global\nvar $export = require('./_export');\n\n$export($export.G, { global: require('./_global') });\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = require('./_is-array');\nvar isObject = require('./_is-object');\nvar toLength = require('./_to-length');\nvar ctx = require('./_ctx');\nvar IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toInteger(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length!');\n return length;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nif (require('./_descriptors')) {\n var LIBRARY = require('./_library');\n var global = require('./_global');\n var fails = require('./_fails');\n var $export = require('./_export');\n var $typed = require('./_typed');\n var $buffer = require('./_typed-buffer');\n var ctx = require('./_ctx');\n var anInstance = require('./_an-instance');\n var propertyDesc = require('./_property-desc');\n var hide = require('./_hide');\n var redefineAll = require('./_redefine-all');\n var toInteger = require('./_to-integer');\n var toLength = require('./_to-length');\n var toIndex = require('./_to-index');\n var toAbsoluteIndex = require('./_to-absolute-index');\n var toPrimitive = require('./_to-primitive');\n var has = require('./_has');\n var classof = require('./_classof');\n var isObject = require('./_is-object');\n var toObject = require('./_to-object');\n var isArrayIter = require('./_is-array-iter');\n var create = require('./_object-create');\n var getPrototypeOf = require('./_object-gpo');\n var gOPN = require('./_object-gopn').f;\n var getIterFn = require('./core.get-iterator-method');\n var uid = require('./_uid');\n var wks = require('./_wks');\n var createArrayMethod = require('./_array-methods');\n var createArrayIncludes = require('./_array-includes');\n var speciesConstructor = require('./_species-constructor');\n var ArrayIterators = require('./es6.array.iterator');\n var Iterators = require('./_iterators');\n var $iterDetect = require('./_iter-detect');\n var setSpecies = require('./_set-species');\n var arrayFill = require('./_array-fill');\n var arrayCopyWithin = require('./_array-copy-within');\n var $DP = require('./_object-dp');\n var $GOPD = require('./_object-gopd');\n var dP = $DP.f;\n var gOPD = $GOPD.f;\n var RangeError = global.RangeError;\n var TypeError = global.TypeError;\n var Uint8Array = global.Uint8Array;\n var ARRAY_BUFFER = 'ArrayBuffer';\n var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n var PROTOTYPE = 'prototype';\n var ArrayProto = Array[PROTOTYPE];\n var $ArrayBuffer = $buffer.ArrayBuffer;\n var $DataView = $buffer.DataView;\n var arrayForEach = createArrayMethod(0);\n var arrayFilter = createArrayMethod(2);\n var arraySome = createArrayMethod(3);\n var arrayEvery = createArrayMethod(4);\n var arrayFind = createArrayMethod(5);\n var arrayFindIndex = createArrayMethod(6);\n var arrayIncludes = createArrayIncludes(true);\n var arrayIndexOf = createArrayIncludes(false);\n var arrayValues = ArrayIterators.values;\n var arrayKeys = ArrayIterators.keys;\n var arrayEntries = ArrayIterators.entries;\n var arrayLastIndexOf = ArrayProto.lastIndexOf;\n var arrayReduce = ArrayProto.reduce;\n var arrayReduceRight = ArrayProto.reduceRight;\n var arrayJoin = ArrayProto.join;\n var arraySort = ArrayProto.sort;\n var arraySlice = ArrayProto.slice;\n var arrayToString = ArrayProto.toString;\n var arrayToLocaleString = ArrayProto.toLocaleString;\n var ITERATOR = wks('iterator');\n var TAG = wks('toStringTag');\n var TYPED_CONSTRUCTOR = uid('typed_constructor');\n var DEF_CONSTRUCTOR = uid('def_constructor');\n var ALL_CONSTRUCTORS = $typed.CONSTR;\n var TYPED_ARRAY = $typed.TYPED;\n var VIEW = $typed.VIEW;\n var WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function (O, length) {\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function () {\n // eslint-disable-next-line no-undef\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n new Uint8Array(1).set({});\n });\n\n var toOffset = function (it, BYTES) {\n var offset = toInteger(it);\n if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function (it) {\n if (isObject(it) && TYPED_ARRAY in it) return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function (C, length) {\n if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function (O, list) {\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function (C, list) {\n var index = 0;\n var length = list.length;\n var result = allocate(C, length);\n while (length > index) result[index] = list[index++];\n return result;\n };\n\n var addGetter = function (it, key, internal) {\n dP(it, key, { get: function () { return this._d[internal]; } });\n };\n\n var $from = function from(source /* , mapfn, thisArg */) {\n var O = toObject(source);\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iterFn = getIterFn(O);\n var i, length, values, result, step, iterator;\n if (iterFn != undefined && !isArrayIter(iterFn)) {\n for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n values.push(step.value);\n } O = values;\n }\n if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = allocate(this, length);\n while (length > index) result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /* , end */) {\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /* , thisArg */) {\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /* , thisArg */) {\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /* , thisArg */) {\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /* , thisArg */) {\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /* , thisArg */) {\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /* , fromIndex */) {\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /* , fromIndex */) {\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator) { // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /* , thisArg */) {\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse() {\n var that = this;\n var length = validate(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /* , thisArg */) {\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn) {\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end) {\n var O = validate(this);\n var length = O.length;\n var $begin = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end) {\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /* , offset */) {\n validate(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError(WRONG_LENGTH);\n while (index < len) this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries() {\n return arrayEntries.call(validate(this));\n },\n keys: function keys() {\n return arrayKeys.call(validate(this));\n },\n values: function values() {\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function (target, key) {\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key) {\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc) {\n if (isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ) {\n target[key] = desc.value;\n return target;\n } return dP(target, key, desc);\n };\n\n if (!ALL_CONSTRUCTORS) {\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if (fails(function () { arrayToString.call({}); })) {\n arrayToString = arrayToLocaleString = function toString() {\n return arrayJoin.call(this);\n };\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function () { /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function () { return this[TYPED_ARRAY]; }\n });\n\n // eslint-disable-next-line max-statements\n module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + KEY;\n var SETTER = 'set' + KEY;\n var TypedArray = global[NAME];\n var Base = TypedArray || {};\n var TAC = TypedArray && getPrototypeOf(TypedArray);\n var FORCED = !TypedArray || !$typed.ABV;\n var O = {};\n var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function (that, index) {\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function (that, index, value) {\n var data = that._d;\n if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function (that, index) {\n dP(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (FORCED) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0;\n var offset = 0;\n var buffer, byteLength, length, klass;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (TYPED_ARRAY in data) {\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if (!fails(function () {\n TypedArray(1);\n }) || !fails(function () {\n new TypedArray(-1); // eslint-disable-line no-new\n }) || !$iterDetect(function (iter) {\n new TypedArray(); // eslint-disable-line no-new\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(1.5); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if (!isObject(data)) return new Base(toIndex(data));\n if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR];\n var CORRECT_ITER_NAME = !!$nativeIterator\n && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n var $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n dP(TypedArrayPrototype, TAG, {\n get: function () { return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES\n });\n\n $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n from: $from,\n of: $of\n });\n\n if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n $export($export.P + $export.F * fails(function () {\n new TypedArray(1).slice();\n }), NAME, { slice: $slice });\n\n $export($export.P + $export.F * (fails(function () {\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n }) || !fails(function () {\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, { toLocaleString: $toLocaleString });\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\nvar global = require('./_global');\nvar DESCRIPTORS = require('./_descriptors');\nvar LIBRARY = require('./_library');\nvar $typed = require('./_typed');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar fails = require('./_fails');\nvar anInstance = require('./_an-instance');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar toIndex = require('./_to-index');\nvar gOPN = require('./_object-gopn').f;\nvar dP = require('./_object-dp').f;\nvar arrayFill = require('./_array-fill');\nvar setToStringTag = require('./_set-to-string-tag');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n var buffer = new Array(nBytes);\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var i = 0;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n var e, m, c;\n value = abs(value);\n // eslint-disable-next-line no-self-compare\n if (value != value || value === Infinity) {\n // eslint-disable-next-line no-self-compare\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if (value * (c = pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = eLen - 7;\n var i = nBytes - 1;\n var s = buffer[i--];\n var e = s & 127;\n var m;\n s >>= 7;\n for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n return [it & 0xff];\n}\nfunction packI16(it) {\n return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = conversion(+value);\n for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n var byteLength = toIndex(length);\n this._b = arrayFill.call(new Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH];\n var offset = toInteger(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if (!fails(function () {\n $ArrayBuffer(1);\n }) || !fails(function () {\n new $ArrayBuffer(-1); // eslint-disable-line no-new\n }) || fails(function () {\n new $ArrayBuffer(); // eslint-disable-line no-new\n new $ArrayBuffer(1.5); // eslint-disable-line no-new\n new $ArrayBuffer(NaN); // eslint-disable-line no-new\n return $ArrayBuffer.name != ARRAY_BUFFER;\n })) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer);\n return new BaseBuffer(toIndex(length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n }\n if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar uid = require('./_uid');\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n if (Typed = global[TypedArrayConstructors[i++]]) {\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","require('./_set-species')('Array');\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar $typed = require('./_typed');\nvar buffer = require('./_typed-buffer');\nvar anObject = require('./_an-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar isObject = require('./_is-object');\nvar ArrayBuffer = require('./_global').ArrayBuffer;\nvar speciesConstructor = require('./_species-constructor');\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it) {\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function () {\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end) {\n if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, len);\n var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n var viewS = new $DataView(this);\n var viewT = new $DataView(result);\n var index = 0;\n while (first < fin) {\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n","require('./_typed-array')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar weak = require('./_collection-weak');\nvar validate = require('./_validate-collection');\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\nrequire('./_collection')(WEAK_SET, function (get) {\n return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return weak.def(validate(this, WEAK_SET), value, true);\n }\n}, weak, false, true);\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = require('./_export');\nvar flattenIntoArray = require('./_flatten-into-array');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar aFunction = require('./_a-function');\nvar arraySpeciesCreate = require('./_array-species-create');\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\nrequire('./_add-to-unscopables')('flatMap');\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function ($trim) {\n return function trimLeft() {\n return $trim(this, 1);\n };\n}, 'trimStart');\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function ($trim) {\n return function trimRight() {\n return $trim(this, 2);\n };\n}, 'trimEnd');\n","require('./_wks-define')('asyncIterator');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var $export = require('./_export');\nvar $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global');\nvar $export = require('./_export');\nvar userAgent = require('./_user-agent');\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n return function (fn, time /* , ...args */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : false;\n return set(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n } : fn, time);\n };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n","require('../modules/web.timers');\nrequire('../modules/web.immediate');\nrequire('../modules/web.dom.iterable');\nmodule.exports = require('../modules/_core');\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","/*!\n * depd\n * Copyright(c) 2014-2018 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\n\nvar relative = require('path').relative\n\n/**\n * Module exports.\n */\n\nmodule.exports = depd\n\n/**\n * Get the path to base files on.\n */\n\nvar basePath = process.cwd()\n\n/**\n * Determine if namespace is contained in the string.\n */\n\nfunction containsNamespace (str, namespace) {\n var vals = str.split(/[ ,]+/)\n var ns = String(namespace).toLowerCase()\n\n for (var i = 0; i < vals.length; i++) {\n var val = vals[i]\n\n // namespace contained\n if (val && (val === '*' || val.toLowerCase() === ns)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Convert a data descriptor to accessor descriptor.\n */\n\nfunction convertDataDescriptorToAccessor (obj, prop, message) {\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n var value = descriptor.value\n\n descriptor.get = function getter () { return value }\n\n if (descriptor.writable) {\n descriptor.set = function setter (val) { return (value = val) }\n }\n\n delete descriptor.value\n delete descriptor.writable\n\n Object.defineProperty(obj, prop, descriptor)\n\n return descriptor\n}\n\n/**\n * Create arguments string to keep arity.\n */\n\nfunction createArgumentsString (arity) {\n var str = ''\n\n for (var i = 0; i < arity; i++) {\n str += ', arg' + i\n }\n\n return str.substr(2)\n}\n\n/**\n * Create stack string from stack.\n */\n\nfunction createStackString (stack) {\n var str = this.name + ': ' + this.namespace\n\n if (this.message) {\n str += ' deprecated ' + this.message\n }\n\n for (var i = 0; i < stack.length; i++) {\n str += '\\n at ' + stack[i].toString()\n }\n\n return str\n}\n\n/**\n * Create deprecate for namespace in caller.\n */\n\nfunction depd (namespace) {\n if (!namespace) {\n throw new TypeError('argument namespace is required')\n }\n\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n var file = site[0]\n\n function deprecate (message) {\n // call to self as log\n log.call(deprecate, message)\n }\n\n deprecate._file = file\n deprecate._ignored = isignored(namespace)\n deprecate._namespace = namespace\n deprecate._traced = istraced(namespace)\n deprecate._warned = Object.create(null)\n\n deprecate.function = wrapfunction\n deprecate.property = wrapproperty\n\n return deprecate\n}\n\n/**\n * Determine if event emitter has listeners of a given type.\n *\n * The way to do this check is done three different ways in Node.js >= 0.8\n * so this consolidates them into a minimal set using instance methods.\n *\n * @param {EventEmitter} emitter\n * @param {string} type\n * @returns {boolean}\n * @private\n */\n\nfunction eehaslisteners (emitter, type) {\n var count = typeof emitter.listenerCount !== 'function'\n ? emitter.listeners(type).length\n : emitter.listenerCount(type)\n\n return count > 0\n}\n\n/**\n * Determine if namespace is ignored.\n */\n\nfunction isignored (namespace) {\n if (process.noDeprecation) {\n // --no-deprecation support\n return true\n }\n\n var str = process.env.NO_DEPRECATION || ''\n\n // namespace ignored\n return containsNamespace(str, namespace)\n}\n\n/**\n * Determine if namespace is traced.\n */\n\nfunction istraced (namespace) {\n if (process.traceDeprecation) {\n // --trace-deprecation support\n return true\n }\n\n var str = process.env.TRACE_DEPRECATION || ''\n\n // namespace traced\n return containsNamespace(str, namespace)\n}\n\n/**\n * Display deprecation message.\n */\n\nfunction log (message, site) {\n var haslisteners = eehaslisteners(process, 'deprecation')\n\n // abort early if no destination\n if (!haslisteners && this._ignored) {\n return\n }\n\n var caller\n var callFile\n var callSite\n var depSite\n var i = 0\n var seen = false\n var stack = getStack()\n var file = this._file\n\n if (site) {\n // provided site\n depSite = site\n callSite = callSiteLocation(stack[1])\n callSite.name = depSite.name\n file = callSite[0]\n } else {\n // get call site\n i = 2\n depSite = callSiteLocation(stack[i])\n callSite = depSite\n }\n\n // get caller of deprecated thing in relation to file\n for (; i < stack.length; i++) {\n caller = callSiteLocation(stack[i])\n callFile = caller[0]\n\n if (callFile === file) {\n seen = true\n } else if (callFile === this._file) {\n file = this._file\n } else if (seen) {\n break\n }\n }\n\n var key = caller\n ? depSite.join(':') + '__' + caller.join(':')\n : undefined\n\n if (key !== undefined && key in this._warned) {\n // already warned\n return\n }\n\n this._warned[key] = true\n\n // generate automatic message from call site\n var msg = message\n if (!msg) {\n msg = callSite === depSite || !callSite.name\n ? defaultMessage(depSite)\n : defaultMessage(callSite)\n }\n\n // emit deprecation if listeners exist\n if (haslisteners) {\n var err = DeprecationError(this._namespace, msg, stack.slice(i))\n process.emit('deprecation', err)\n return\n }\n\n // format and write message\n var format = process.stderr.isTTY\n ? formatColor\n : formatPlain\n var output = format.call(this, msg, caller, stack.slice(i))\n process.stderr.write(output + '\\n', 'utf8')\n}\n\n/**\n * Get call site location as array.\n */\n\nfunction callSiteLocation (callSite) {\n var file = callSite.getFileName() || ''\n var line = callSite.getLineNumber()\n var colm = callSite.getColumnNumber()\n\n if (callSite.isEval()) {\n file = callSite.getEvalOrigin() + ', ' + file\n }\n\n var site = [file, line, colm]\n\n site.callSite = callSite\n site.name = callSite.getFunctionName()\n\n return site\n}\n\n/**\n * Generate a default message from the site.\n */\n\nfunction defaultMessage (site) {\n var callSite = site.callSite\n var funcName = site.name\n\n // make useful anonymous name\n if (!funcName) {\n funcName = ''\n }\n\n var context = callSite.getThis()\n var typeName = context && callSite.getTypeName()\n\n // ignore useless type name\n if (typeName === 'Object') {\n typeName = undefined\n }\n\n // make useful type name\n if (typeName === 'Function') {\n typeName = context.name || typeName\n }\n\n return typeName && callSite.getMethodName()\n ? typeName + '.' + funcName\n : funcName\n}\n\n/**\n * Format deprecation message without color.\n */\n\nfunction formatPlain (msg, caller, stack) {\n var timestamp = new Date().toUTCString()\n\n var formatted = timestamp +\n ' ' + this._namespace +\n ' deprecated ' + msg\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n at ' + stack[i].toString()\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' at ' + formatLocation(caller)\n }\n\n return formatted\n}\n\n/**\n * Format deprecation message with color.\n */\n\nfunction formatColor (msg, caller, stack) {\n var formatted = '\\x1b[36;1m' + this._namespace + '\\x1b[22;39m' + // bold cyan\n ' \\x1b[33;1mdeprecated\\x1b[22;39m' + // bold yellow\n ' \\x1b[0m' + msg + '\\x1b[39m' // reset\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n \\x1b[36mat ' + stack[i].toString() + '\\x1b[39m' // cyan\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' \\x1b[36m' + formatLocation(caller) + '\\x1b[39m' // cyan\n }\n\n return formatted\n}\n\n/**\n * Format call site location.\n */\n\nfunction formatLocation (callSite) {\n return relative(basePath, callSite[0]) +\n ':' + callSite[1] +\n ':' + callSite[2]\n}\n\n/**\n * Get the stack as array of call sites.\n */\n\nfunction getStack () {\n var limit = Error.stackTraceLimit\n var obj = {}\n var prep = Error.prepareStackTrace\n\n Error.prepareStackTrace = prepareObjectStackTrace\n Error.stackTraceLimit = Math.max(10, limit)\n\n // capture the stack\n Error.captureStackTrace(obj)\n\n // slice this function off the top\n var stack = obj.stack.slice(1)\n\n Error.prepareStackTrace = prep\n Error.stackTraceLimit = limit\n\n return stack\n}\n\n/**\n * Capture call site stack from v8.\n */\n\nfunction prepareObjectStackTrace (obj, stack) {\n return stack\n}\n\n/**\n * Return a wrapped function in a deprecation message.\n */\n\nfunction wrapfunction (fn, message) {\n if (typeof fn !== 'function') {\n throw new TypeError('argument fn must be a function')\n }\n\n var args = createArgumentsString(fn.length)\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n site.name = fn.name\n\n // eslint-disable-next-line no-new-func\n var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site',\n '\"use strict\"\\n' +\n 'return function (' + args + ') {' +\n 'log.call(deprecate, message, site)\\n' +\n 'return fn.apply(this, arguments)\\n' +\n '}')(fn, log, this, message, site)\n\n return deprecatedfn\n}\n\n/**\n * Wrap property in a deprecation message.\n */\n\nfunction wrapproperty (obj, prop, message) {\n if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n throw new TypeError('argument obj must be object')\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n\n if (!descriptor) {\n throw new TypeError('must call property on owner object')\n }\n\n if (!descriptor.configurable) {\n throw new TypeError('property must be configurable')\n }\n\n var deprecate = this\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n // set site name\n site.name = prop\n\n // convert data descriptor\n if ('value' in descriptor) {\n descriptor = convertDataDescriptorToAccessor(obj, prop, message)\n }\n\n var get = descriptor.get\n var set = descriptor.set\n\n // wrap getter\n if (typeof get === 'function') {\n descriptor.get = function getter () {\n log.call(deprecate, message, site)\n return get.apply(this, arguments)\n }\n }\n\n // wrap setter\n if (typeof set === 'function') {\n descriptor.set = function setter () {\n log.call(deprecate, message, site)\n return set.apply(this, arguments)\n }\n }\n\n Object.defineProperty(obj, prop, descriptor)\n}\n\n/**\n * Create DeprecationError for deprecation\n */\n\nfunction DeprecationError (namespace, message, stack) {\n var error = new Error()\n var stackString\n\n Object.defineProperty(error, 'constructor', {\n value: DeprecationError\n })\n\n Object.defineProperty(error, 'message', {\n configurable: true,\n enumerable: false,\n value: message,\n writable: true\n })\n\n Object.defineProperty(error, 'name', {\n enumerable: false,\n configurable: true,\n value: 'DeprecationError',\n writable: true\n })\n\n Object.defineProperty(error, 'namespace', {\n configurable: true,\n enumerable: false,\n value: namespace,\n writable: true\n })\n\n Object.defineProperty(error, 'stack', {\n configurable: true,\n enumerable: false,\n get: function () {\n if (stackString !== undefined) {\n return stackString\n }\n\n // prepare stack trace\n return (stackString = createStackString.call(this, stack))\n },\n set: function setter (val) {\n stackString = val\n }\n })\n\n return error\n}\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","const fs = require('fs')\nconst path = require('path')\nconst os = require('os')\nconst packageJson = require('../package.json')\n\nconst version = packageJson.version\n\nconst LINE = /(?:^|^)\\s*(?:export\\s+)?([\\w.-]+)(?:\\s*=\\s*?|:\\s+?)(\\s*'(?:\\\\'|[^'])*'|\\s*\"(?:\\\\\"|[^\"])*\"|\\s*`(?:\\\\`|[^`])*`|[^#\\r\\n]+)?\\s*(?:#.*)?(?:$|$)/mg\n\n// Parser src into an Object\nfunction parse (src) {\n const obj = {}\n\n // Convert buffer to string\n let lines = src.toString()\n\n // Convert line breaks to same format\n lines = lines.replace(/\\r\\n?/mg, '\\n')\n\n let match\n while ((match = LINE.exec(lines)) != null) {\n const key = match[1]\n\n // Default undefined or null to empty string\n let value = (match[2] || '')\n\n // Remove whitespace\n value = value.trim()\n\n // Check if double quoted\n const maybeQuote = value[0]\n\n // Remove surrounding quotes\n value = value.replace(/^(['\"`])([\\s\\S]*)\\1$/mg, '$2')\n\n // Expand newlines if double quoted\n if (maybeQuote === '\"') {\n value = value.replace(/\\\\n/g, '\\n')\n value = value.replace(/\\\\r/g, '\\r')\n }\n\n // Add to object\n obj[key] = value\n }\n\n return obj\n}\n\nfunction _log (message) {\n console.log(`[dotenv@${version}][DEBUG] ${message}`)\n}\n\nfunction _resolveHome (envPath) {\n return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath\n}\n\n// Populates process.env from .env file\nfunction config (options) {\n let dotenvPath = path.resolve(process.cwd(), '.env')\n let encoding = 'utf8'\n const debug = Boolean(options && options.debug)\n const override = Boolean(options && options.override)\n\n if (options) {\n if (options.path != null) {\n dotenvPath = _resolveHome(options.path)\n }\n if (options.encoding != null) {\n encoding = options.encoding\n }\n }\n\n try {\n // Specifying an encoding returns a string instead of a buffer\n const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding }))\n\n Object.keys(parsed).forEach(function (key) {\n if (!Object.prototype.hasOwnProperty.call(process.env, key)) {\n process.env[key] = parsed[key]\n } else {\n if (override === true) {\n process.env[key] = parsed[key]\n }\n\n if (debug) {\n if (override === true) {\n _log(`\"${key}\" is already defined in \\`process.env\\` and WAS overwritten`)\n } else {\n _log(`\"${key}\" is already defined in \\`process.env\\` and was NOT overwritten`)\n }\n }\n }\n })\n\n return { parsed }\n } catch (e) {\n if (debug) {\n _log(`Failed to load ${dotenvPath} ${e.message}`)\n }\n\n return { error: e }\n }\n}\n\nconst DotenvModule = {\n config,\n parse\n}\n\nmodule.exports.config = DotenvModule.config\nmodule.exports.parse = DotenvModule.parse\nmodule.exports = DotenvModule\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar cookie = require('cookie');\nvar crypto = require('crypto')\nvar debug = require('debug')('express-session');\nvar deprecate = require('depd')('express-session');\nvar onHeaders = require('on-headers')\nvar parseUrl = require('parseurl');\nvar signature = require('cookie-signature')\nvar uid = require('uid-safe').sync\n\nvar Cookie = require('./session/cookie')\nvar MemoryStore = require('./session/memory')\nvar Session = require('./session/session')\nvar Store = require('./session/store')\n\n// environment\n\nvar env = process.env.NODE_ENV;\n\n/**\n * Expose the middleware.\n */\n\nexports = module.exports = session;\n\n/**\n * Expose constructors.\n */\n\nexports.Store = Store;\nexports.Cookie = Cookie;\nexports.Session = Session;\nexports.MemoryStore = MemoryStore;\n\n/**\n * Warning message for `MemoryStore` usage in production.\n * @private\n */\n\nvar warning = 'Warning: connect.session() MemoryStore is not\\n'\n + 'designed for a production environment, as it will leak\\n'\n + 'memory, and will not scale past a single process.';\n\n/**\n * Node.js 0.8+ async implementation.\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Setup session store with the given `options`.\n *\n * @param {Object} [options]\n * @param {Object} [options.cookie] Options for cookie\n * @param {Function} [options.genid]\n * @param {String} [options.name=connect.sid] Session ID cookie name\n * @param {Boolean} [options.proxy]\n * @param {Boolean} [options.resave] Resave unmodified sessions back to the store\n * @param {Boolean} [options.rolling] Enable/disable rolling session expiration\n * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store\n * @param {String|Array} [options.secret] Secret for signing session ID\n * @param {Object} [options.store=MemoryStore] Session store\n * @param {String} [options.unset]\n * @return {Function} middleware\n * @public\n */\n\nfunction session(options) {\n var opts = options || {}\n\n // get the cookie options\n var cookieOptions = opts.cookie || {}\n\n // get the session id generate function\n var generateId = opts.genid || generateSessionId\n\n // get the session cookie name\n var name = opts.name || opts.key || 'connect.sid'\n\n // get the session store\n var store = opts.store || new MemoryStore()\n\n // get the trust proxy setting\n var trustProxy = opts.proxy\n\n // get the resave session option\n var resaveSession = opts.resave;\n\n // get the rolling session option\n var rollingSessions = Boolean(opts.rolling)\n\n // get the save uninitialized session option\n var saveUninitializedSession = opts.saveUninitialized\n\n // get the cookie signing secret\n var secret = opts.secret\n\n if (typeof generateId !== 'function') {\n throw new TypeError('genid option must be a function');\n }\n\n if (resaveSession === undefined) {\n deprecate('undefined resave option; provide resave option');\n resaveSession = true;\n }\n\n if (saveUninitializedSession === undefined) {\n deprecate('undefined saveUninitialized option; provide saveUninitialized option');\n saveUninitializedSession = true;\n }\n\n if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') {\n throw new TypeError('unset option must be \"destroy\" or \"keep\"');\n }\n\n // TODO: switch to \"destroy\" on next major\n var unsetDestroy = opts.unset === 'destroy'\n\n if (Array.isArray(secret) && secret.length === 0) {\n throw new TypeError('secret option array must contain one or more strings');\n }\n\n if (secret && !Array.isArray(secret)) {\n secret = [secret];\n }\n\n if (!secret) {\n deprecate('req.secret; provide secret option');\n }\n\n // notify user that this store is not\n // meant for a production environment\n /* istanbul ignore next: not tested */\n if (env === 'production' && store instanceof MemoryStore) {\n console.warn(warning);\n }\n\n // generates the new session\n store.generate = function(req){\n req.sessionID = generateId(req);\n req.session = new Session(req);\n req.session.cookie = new Cookie(cookieOptions);\n\n if (cookieOptions.secure === 'auto') {\n req.session.cookie.secure = issecure(req, trustProxy);\n }\n };\n\n var storeImplementsTouch = typeof store.touch === 'function';\n\n // register event listeners for the store to track readiness\n var storeReady = true\n store.on('disconnect', function ondisconnect() {\n storeReady = false\n })\n store.on('connect', function onconnect() {\n storeReady = true\n })\n\n return function session(req, res, next) {\n // self-awareness\n if (req.session) {\n next()\n return\n }\n\n // Handle connection as if there is no session if\n // the store has temporarily disconnected etc\n if (!storeReady) {\n debug('store is disconnected')\n next()\n return\n }\n\n // pathname mismatch\n var originalPath = parseUrl.original(req).pathname || '/'\n if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next();\n\n // ensure a secret is available or bail\n if (!secret && !req.secret) {\n next(new Error('secret option required for sessions'));\n return;\n }\n\n // backwards compatibility for signed cookies\n // req.secret is passed from the cookie parser middleware\n var secrets = secret || [req.secret];\n\n var originalHash;\n var originalId;\n var savedHash;\n var touched = false\n\n // expose store\n req.sessionStore = store;\n\n // get the session ID from the cookie\n var cookieId = req.sessionID = getcookie(req, name, secrets);\n\n // set-cookie\n onHeaders(res, function(){\n if (!req.session) {\n debug('no session');\n return;\n }\n\n if (!shouldSetCookie(req)) {\n return;\n }\n\n // only send secure cookies via https\n if (req.session.cookie.secure && !issecure(req, trustProxy)) {\n debug('not secured');\n return;\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n // set cookie\n setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data);\n });\n\n // proxy end() to commit the session\n var _end = res.end;\n var _write = res.write;\n var ended = false;\n res.end = function end(chunk, encoding) {\n if (ended) {\n return false;\n }\n\n ended = true;\n\n var ret;\n var sync = true;\n\n function writeend() {\n if (sync) {\n ret = _end.call(res, chunk, encoding);\n sync = false;\n return;\n }\n\n _end.call(res);\n }\n\n function writetop() {\n if (!sync) {\n return ret;\n }\n\n if (!res._header) {\n res._implicitHeader()\n }\n\n if (chunk == null) {\n ret = true;\n return ret;\n }\n\n var contentLength = Number(res.getHeader('Content-Length'));\n\n if (!isNaN(contentLength) && contentLength > 0) {\n // measure chunk\n chunk = !Buffer.isBuffer(chunk)\n ? Buffer.from(chunk, encoding)\n : chunk;\n encoding = undefined;\n\n if (chunk.length !== 0) {\n debug('split response');\n ret = _write.call(res, chunk.slice(0, chunk.length - 1));\n chunk = chunk.slice(chunk.length - 1, chunk.length);\n return ret;\n }\n }\n\n ret = _write.call(res, chunk, encoding);\n sync = false;\n\n return ret;\n }\n\n if (shouldDestroy(req)) {\n // destroy session\n debug('destroying');\n store.destroy(req.sessionID, function ondestroy(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('destroyed');\n writeend();\n });\n\n return writetop();\n }\n\n // no session to save\n if (!req.session) {\n debug('no session');\n return _end.call(res, chunk, encoding);\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n if (shouldSave(req)) {\n req.session.save(function onsave(err) {\n if (err) {\n defer(next, err);\n }\n\n writeend();\n });\n\n return writetop();\n } else if (storeImplementsTouch && shouldTouch(req)) {\n // store implements touch method\n debug('touching');\n store.touch(req.sessionID, req.session, function ontouch(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('touched');\n writeend();\n });\n\n return writetop();\n }\n\n return _end.call(res, chunk, encoding);\n };\n\n // generate the session\n function generate() {\n store.generate(req);\n originalId = req.sessionID;\n originalHash = hash(req.session);\n wrapmethods(req.session);\n }\n\n // inflate the session\n function inflate (req, sess) {\n store.createSession(req, sess)\n originalId = req.sessionID\n originalHash = hash(sess)\n\n if (!resaveSession) {\n savedHash = originalHash\n }\n\n wrapmethods(req.session)\n }\n\n function rewrapmethods (sess, callback) {\n return function () {\n if (req.session !== sess) {\n wrapmethods(req.session)\n }\n\n callback.apply(this, arguments)\n }\n }\n\n // wrap session methods\n function wrapmethods(sess) {\n var _reload = sess.reload\n var _save = sess.save;\n\n function reload(callback) {\n debug('reloading %s', this.id)\n _reload.call(this, rewrapmethods(this, callback))\n }\n\n function save() {\n debug('saving %s', this.id);\n savedHash = hash(this);\n _save.apply(this, arguments);\n }\n\n Object.defineProperty(sess, 'reload', {\n configurable: true,\n enumerable: false,\n value: reload,\n writable: true\n })\n\n Object.defineProperty(sess, 'save', {\n configurable: true,\n enumerable: false,\n value: save,\n writable: true\n });\n }\n\n // check if session has been modified\n function isModified(sess) {\n return originalId !== sess.id || originalHash !== hash(sess);\n }\n\n // check if session has been saved\n function isSaved(sess) {\n return originalId === sess.id && savedHash === hash(sess);\n }\n\n // determine if session should be destroyed\n function shouldDestroy(req) {\n return req.sessionID && unsetDestroy && req.session == null;\n }\n\n // determine if session should be saved to store\n function shouldSave(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID\n ? isModified(req.session)\n : !isSaved(req.session)\n }\n\n // determine if session should be touched\n function shouldTouch(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return cookieId === req.sessionID && !shouldSave(req);\n }\n\n // determine if cookie should be set on response\n function shouldSetCookie(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n return false;\n }\n\n return cookieId !== req.sessionID\n ? saveUninitializedSession || isModified(req.session)\n : rollingSessions || req.session.cookie.expires != null && isModified(req.session);\n }\n\n // generate a session if the browser doesn't send a sessionID\n if (!req.sessionID) {\n debug('no SID sent, generating session');\n generate();\n next();\n return;\n }\n\n // generate the session object\n debug('fetching %s', req.sessionID);\n store.get(req.sessionID, function(err, sess){\n // error handling\n if (err && err.code !== 'ENOENT') {\n debug('error %j', err);\n next(err)\n return\n }\n\n try {\n if (err || !sess) {\n debug('no session found')\n generate()\n } else {\n debug('session found')\n inflate(req, sess)\n }\n } catch (e) {\n next(e)\n return\n }\n\n next()\n });\n };\n};\n\n/**\n * Generate a session ID for a new session.\n *\n * @return {String}\n * @private\n */\n\nfunction generateSessionId(sess) {\n return uid(24);\n}\n\n/**\n * Get the session ID cookie from request.\n *\n * @return {string}\n * @private\n */\n\nfunction getcookie(req, name, secrets) {\n var header = req.headers.cookie;\n var raw;\n var val;\n\n // read from cookie header\n if (header) {\n var cookies = cookie.parse(header);\n\n raw = cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n // back-compat read from cookieParser() signedCookies data\n if (!val && req.signedCookies) {\n val = req.signedCookies[name];\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n }\n\n // back-compat read from cookieParser() cookies data\n if (!val && req.cookies) {\n raw = req.cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n return val;\n}\n\n/**\n * Hash the given `sess` object omitting changes to `.cookie`.\n *\n * @param {Object} sess\n * @return {String}\n * @private\n */\n\nfunction hash(sess) {\n // serialize\n var str = JSON.stringify(sess, function (key, val) {\n // ignore sess.cookie property\n if (this === sess && key === 'cookie') {\n return\n }\n\n return val\n })\n\n // hash\n return crypto\n .createHash('sha1')\n .update(str, 'utf8')\n .digest('hex')\n}\n\n/**\n * Determine if request is secure.\n *\n * @param {Object} req\n * @param {Boolean} [trustProxy]\n * @return {Boolean}\n * @private\n */\n\nfunction issecure(req, trustProxy) {\n // socket is https server\n if (req.connection && req.connection.encrypted) {\n return true;\n }\n\n // do not trust proxy\n if (trustProxy === false) {\n return false;\n }\n\n // no explicit trust; try req.secure from express\n if (trustProxy !== true) {\n return req.secure === true\n }\n\n // read the proto from x-forwarded-proto header\n var header = req.headers['x-forwarded-proto'] || '';\n var index = header.indexOf(',');\n var proto = index !== -1\n ? header.substr(0, index).toLowerCase().trim()\n : header.toLowerCase().trim()\n\n return proto === 'https';\n}\n\n/**\n * Set cookie on response.\n *\n * @private\n */\n\nfunction setcookie(res, name, val, secret, options) {\n var signed = 's:' + signature.sign(val, secret);\n var data = cookie.serialize(name, signed, options);\n\n debug('set-cookie %s', data);\n\n var prev = res.getHeader('Set-Cookie') || []\n var header = Array.isArray(prev) ? prev.concat(data) : [prev, data];\n\n res.setHeader('Set-Cookie', header)\n}\n\n/**\n * Verify and decode the given `val` with `secrets`.\n *\n * @param {String} val\n * @param {Array} secrets\n * @returns {String|Boolean}\n * @private\n */\nfunction unsigncookie(val, secrets) {\n for (var i = 0; i < secrets.length; i++) {\n var result = signature.unsign(val, secrets[i]);\n\n if (result !== false) {\n return result;\n }\n }\n\n return false;\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/*!\n * Connect - session - Cookie\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar cookie = require('cookie')\nvar deprecate = require('depd')('express-session')\n\n/**\n * Initialize a new `Cookie` with the given `options`.\n *\n * @param {IncomingMessage} req\n * @param {Object} options\n * @api private\n */\n\nvar Cookie = module.exports = function Cookie(options) {\n this.path = '/';\n this.maxAge = null;\n this.httpOnly = true;\n\n if (options) {\n if (typeof options !== 'object') {\n throw new TypeError('argument options must be a object')\n }\n\n for (var key in options) {\n if (key !== 'data') {\n this[key] = options[key]\n }\n }\n }\n\n if (this.originalMaxAge === undefined || this.originalMaxAge === null) {\n this.originalMaxAge = this.maxAge\n }\n};\n\n/*!\n * Prototype.\n */\n\nCookie.prototype = {\n\n /**\n * Set expires `date`.\n *\n * @param {Date} date\n * @api public\n */\n\n set expires(date) {\n this._expires = date;\n this.originalMaxAge = this.maxAge;\n },\n\n /**\n * Get expires `date`.\n *\n * @return {Date}\n * @api public\n */\n\n get expires() {\n return this._expires;\n },\n\n /**\n * Set expires via max-age in `ms`.\n *\n * @param {Number} ms\n * @api public\n */\n\n set maxAge(ms) {\n if (ms && typeof ms !== 'number' && !(ms instanceof Date)) {\n throw new TypeError('maxAge must be a number or Date')\n }\n\n if (ms instanceof Date) {\n deprecate('maxAge as Date; pass number of milliseconds instead')\n }\n\n this.expires = typeof ms === 'number'\n ? new Date(Date.now() + ms)\n : ms;\n },\n\n /**\n * Get expires max-age in `ms`.\n *\n * @return {Number}\n * @api public\n */\n\n get maxAge() {\n return this.expires instanceof Date\n ? this.expires.valueOf() - Date.now()\n : this.expires;\n },\n\n /**\n * Return cookie data object.\n *\n * @return {Object}\n * @api private\n */\n\n get data() {\n return {\n originalMaxAge: this.originalMaxAge\n , expires: this._expires\n , secure: this.secure\n , httpOnly: this.httpOnly\n , domain: this.domain\n , path: this.path\n , sameSite: this.sameSite\n }\n },\n\n /**\n * Return a serialized cookie string.\n *\n * @return {String}\n * @api public\n */\n\n serialize: function(name, val){\n return cookie.serialize(name, val, this.data);\n },\n\n /**\n * Return JSON representation of this cookie.\n *\n * @return {Object}\n * @api private\n */\n\n toJSON: function(){\n return this.data;\n }\n};\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Store = require('./store')\nvar util = require('util')\n\n/**\n * Shim setImmediate for node.js < 0.10\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Module exports.\n */\n\nmodule.exports = MemoryStore\n\n/**\n * A session store in memory.\n * @public\n */\n\nfunction MemoryStore() {\n Store.call(this)\n this.sessions = Object.create(null)\n}\n\n/**\n * Inherit from Store.\n */\n\nutil.inherits(MemoryStore, Store)\n\n/**\n * Get all active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.all = function all(callback) {\n var sessionIds = Object.keys(this.sessions)\n var sessions = Object.create(null)\n\n for (var i = 0; i < sessionIds.length; i++) {\n var sessionId = sessionIds[i]\n var session = getSession.call(this, sessionId)\n\n if (session) {\n sessions[sessionId] = session;\n }\n }\n\n callback && defer(callback, null, sessions)\n}\n\n/**\n * Clear all sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.clear = function clear(callback) {\n this.sessions = Object.create(null)\n callback && defer(callback)\n}\n\n/**\n * Destroy the session associated with the given session ID.\n *\n * @param {string} sessionId\n * @public\n */\n\nMemoryStore.prototype.destroy = function destroy(sessionId, callback) {\n delete this.sessions[sessionId]\n callback && defer(callback)\n}\n\n/**\n * Fetch session by the given session ID.\n *\n * @param {string} sessionId\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.get = function get(sessionId, callback) {\n defer(callback, null, getSession.call(this, sessionId))\n}\n\n/**\n * Commit the given session associated with the given sessionId to the store.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.set = function set(sessionId, session, callback) {\n this.sessions[sessionId] = JSON.stringify(session)\n callback && defer(callback)\n}\n\n/**\n * Get number of active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.length = function length(callback) {\n this.all(function (err, sessions) {\n if (err) return callback(err)\n callback(null, Object.keys(sessions).length)\n })\n}\n\n/**\n * Touch the given session object associated with the given session ID.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.touch = function touch(sessionId, session, callback) {\n var currentSession = getSession.call(this, sessionId)\n\n if (currentSession) {\n // update expiration\n currentSession.cookie = session.cookie\n this.sessions[sessionId] = JSON.stringify(currentSession)\n }\n\n callback && defer(callback)\n}\n\n/**\n * Get session from the store.\n * @private\n */\n\nfunction getSession(sessionId) {\n var sess = this.sessions[sessionId]\n\n if (!sess) {\n return\n }\n\n // parse\n sess = JSON.parse(sess)\n\n if (sess.cookie) {\n var expires = typeof sess.cookie.expires === 'string'\n ? new Date(sess.cookie.expires)\n : sess.cookie.expires\n\n // destroy expired session\n if (expires && expires <= Date.now()) {\n delete this.sessions[sessionId]\n return\n }\n }\n\n return sess\n}\n","/*!\n * Connect - session - Session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Expose Session.\n */\n\nmodule.exports = Session;\n\n/**\n * Create a new `Session` with the given request and `data`.\n *\n * @param {IncomingRequest} req\n * @param {Object} data\n * @api private\n */\n\nfunction Session(req, data) {\n Object.defineProperty(this, 'req', { value: req });\n Object.defineProperty(this, 'id', { value: req.sessionID });\n\n if (typeof data === 'object' && data !== null) {\n // merge data into this, ignoring prototype properties\n for (var prop in data) {\n if (!(prop in this)) {\n this[prop] = data[prop]\n }\n }\n }\n}\n\n/**\n * Update reset `.cookie.maxAge` to prevent\n * the cookie from expiring when the\n * session is still active.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'touch', function touch() {\n return this.resetMaxAge();\n});\n\n/**\n * Reset `.maxAge` to `.originalMaxAge`.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() {\n this.cookie.maxAge = this.cookie.originalMaxAge;\n return this;\n});\n\n/**\n * Save the session data with optional callback `fn(err)`.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'save', function save(fn) {\n this.req.sessionStore.set(this.id, this, fn || function(){});\n return this;\n});\n\n/**\n * Re-loads the session data _without_ altering\n * the maxAge properties. Invokes the callback `fn(err)`,\n * after which time if no exception has occurred the\n * `req.session` property will be a new `Session` object,\n * although representing the same session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'reload', function reload(fn) {\n var req = this.req\n var store = this.req.sessionStore\n\n store.get(this.id, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn(new Error('failed to load session'));\n store.createSession(req, sess);\n fn();\n });\n return this;\n});\n\n/**\n * Destroy `this` session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'destroy', function destroy(fn) {\n delete this.req.session;\n this.req.sessionStore.destroy(this.id, fn);\n return this;\n});\n\n/**\n * Regenerate this request's session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'regenerate', function regenerate(fn) {\n this.req.sessionStore.regenerate(this.req, fn);\n return this;\n});\n\n/**\n * Helper function for creating a method on a prototype.\n *\n * @param {Object} obj\n * @param {String} name\n * @param {Function} fn\n * @private\n */\nfunction defineMethod(obj, name, fn) {\n Object.defineProperty(obj, name, {\n configurable: true,\n enumerable: false,\n value: fn,\n writable: true\n });\n};\n","/*!\n * Connect - session - Store\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Cookie = require('./cookie')\nvar EventEmitter = require('events').EventEmitter\nvar Session = require('./session')\nvar util = require('util')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Store\n\n/**\n * Abstract base class for session stores.\n * @public\n */\n\nfunction Store () {\n EventEmitter.call(this)\n}\n\n/**\n * Inherit from EventEmitter.\n */\n\nutil.inherits(Store, EventEmitter)\n\n/**\n * Re-generate the given requests's session.\n *\n * @param {IncomingRequest} req\n * @return {Function} fn\n * @api public\n */\n\nStore.prototype.regenerate = function(req, fn){\n var self = this;\n this.destroy(req.sessionID, function(err){\n self.generate(req);\n fn(err);\n });\n};\n\n/**\n * Load a `Session` instance via the given `sid`\n * and invoke the callback `fn(err, sess)`.\n *\n * @param {String} sid\n * @param {Function} fn\n * @api public\n */\n\nStore.prototype.load = function(sid, fn){\n var self = this;\n this.get(sid, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn();\n var req = { sessionID: sid, sessionStore: self };\n fn(null, self.createSession(req, sess))\n });\n};\n\n/**\n * Create session from JSON `sess` data.\n *\n * @param {IncomingRequest} req\n * @param {Object} sess\n * @return {Session}\n * @api private\n */\n\nStore.prototype.createSession = function(req, sess){\n var expires = sess.cookie.expires\n var originalMaxAge = sess.cookie.originalMaxAge\n\n sess.cookie = new Cookie(sess.cookie);\n\n if (typeof expires === 'string') {\n // convert expires to a Date object\n sess.cookie.expires = new Date(expires)\n }\n\n // keep originalMaxAge intact\n sess.cookie.originalMaxAge = originalMaxAge\n\n req.session = new Session(req, sess);\n return req.session;\n};\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","var fs = require('fs')\nvar path = require('path')\nvar os = require('os')\n\n// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'\nvar runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line\n\nvar vars = (process.config && process.config.variables) || {}\nvar prebuildsOnly = !!process.env.PREBUILDS_ONLY\nvar abi = process.versions.modules // TODO: support old node where this is undef\nvar runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')\n\nvar arch = process.env.npm_config_arch || os.arch()\nvar platform = process.env.npm_config_platform || os.platform()\nvar libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')\nvar armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''\nvar uv = (process.versions.uv || '').split('.')[0]\n\nmodule.exports = load\n\nfunction load (dir) {\n return runtimeRequire(load.path(dir))\n}\n\nload.path = function (dir) {\n dir = path.resolve(dir || '.')\n\n try {\n var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')\n if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']\n } catch (err) {}\n\n if (!prebuildsOnly) {\n var release = getFirst(path.join(dir, 'build/Release'), matchBuild)\n if (release) return release\n\n var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)\n if (debug) return debug\n }\n\n var prebuild = resolve(dir)\n if (prebuild) return prebuild\n\n var nearby = resolve(path.dirname(process.execPath))\n if (nearby) return nearby\n\n var target = [\n 'platform=' + platform,\n 'arch=' + arch,\n 'runtime=' + runtime,\n 'abi=' + abi,\n 'uv=' + uv,\n armv ? 'armv=' + armv : '',\n 'libc=' + libc,\n 'node=' + process.versions.node,\n process.versions.electron ? 'electron=' + process.versions.electron : '',\n typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line\n ].filter(Boolean).join(' ')\n\n throw new Error('No native build was found for ' + target + '\\n loaded from: ' + dir + '\\n')\n\n function resolve (dir) {\n // Find matching \"prebuilds/-\" directory\n var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)\n var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]\n if (!tuple) return\n\n // Find most specific flavor first\n var prebuilds = path.join(dir, 'prebuilds', tuple.name)\n var parsed = readdirSync(prebuilds).map(parseTags)\n var candidates = parsed.filter(matchTags(runtime, abi))\n var winner = candidates.sort(compareTags(runtime))[0]\n if (winner) return path.join(prebuilds, winner.file)\n }\n}\n\nfunction readdirSync (dir) {\n try {\n return fs.readdirSync(dir)\n } catch (err) {\n return []\n }\n}\n\nfunction getFirst (dir, filter) {\n var files = readdirSync(dir).filter(filter)\n return files[0] && path.join(dir, files[0])\n}\n\nfunction matchBuild (name) {\n return /\\.node$/.test(name)\n}\n\nfunction parseTuple (name) {\n // Example: darwin-x64+arm64\n var arr = name.split('-')\n if (arr.length !== 2) return\n\n var platform = arr[0]\n var architectures = arr[1].split('+')\n\n if (!platform) return\n if (!architectures.length) return\n if (!architectures.every(Boolean)) return\n\n return { name, platform, architectures }\n}\n\nfunction matchTuple (platform, arch) {\n return function (tuple) {\n if (tuple == null) return false\n if (tuple.platform !== platform) return false\n return tuple.architectures.includes(arch)\n }\n}\n\nfunction compareTuples (a, b) {\n // Prefer single-arch prebuilds over multi-arch\n return a.architectures.length - b.architectures.length\n}\n\nfunction parseTags (file) {\n var arr = file.split('.')\n var extension = arr.pop()\n var tags = { file: file, specificity: 0 }\n\n if (extension !== 'node') return\n\n for (var i = 0; i < arr.length; i++) {\n var tag = arr[i]\n\n if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {\n tags.runtime = tag\n } else if (tag === 'napi') {\n tags.napi = true\n } else if (tag.slice(0, 3) === 'abi') {\n tags.abi = tag.slice(3)\n } else if (tag.slice(0, 2) === 'uv') {\n tags.uv = tag.slice(2)\n } else if (tag.slice(0, 4) === 'armv') {\n tags.armv = tag.slice(4)\n } else if (tag === 'glibc' || tag === 'musl') {\n tags.libc = tag\n } else {\n continue\n }\n\n tags.specificity++\n }\n\n return tags\n}\n\nfunction matchTags (runtime, abi) {\n return function (tags) {\n if (tags == null) return false\n if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false\n if (tags.abi !== abi && !tags.napi) return false\n if (tags.uv && tags.uv !== uv) return false\n if (tags.armv && tags.armv !== armv) return false\n if (tags.libc && tags.libc !== libc) return false\n\n return true\n }\n}\n\nfunction runtimeAgnostic (tags) {\n return tags.runtime === 'node' && tags.napi\n}\n\nfunction compareTags (runtime) {\n // Precedence: non-agnostic runtime, abi over napi, then by specificity.\n return function (a, b) {\n if (a.runtime !== b.runtime) {\n return a.runtime === runtime ? -1 : 1\n } else if (a.abi !== b.abi) {\n return a.abi ? -1 : 1\n } else if (a.specificity !== b.specificity) {\n return a.specificity > b.specificity ? -1 : 1\n } else {\n return 0\n }\n }\n}\n\nfunction isNwjs () {\n return !!(process.versions && process.versions.nw)\n}\n\nfunction isElectron () {\n if (process.versions && process.versions.electron) return true\n if (process.env.ELECTRON_RUN_AS_NODE) return true\n return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'\n}\n\nfunction isAlpine (platform) {\n return platform === 'linux' && fs.existsSync('/etc/alpine-release')\n}\n\n// Exposed for unit tests\n// TODO: move to lib\nload.parseTags = parseTags\nload.matchTags = matchTags\nload.compareTags = compareTags\nload.parseTuple = parseTuple\nload.matchTuple = matchTuple\nload.compareTuples = compareTuples\n","/*!\n * on-headers\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = onHeaders\n\n/**\n * Create a replacement writeHead method.\n *\n * @param {function} prevWriteHead\n * @param {function} listener\n * @private\n */\n\nfunction createWriteHead (prevWriteHead, listener) {\n var fired = false\n\n // return function with core name and argument list\n return function writeHead (statusCode) {\n // set headers from arguments\n var args = setWriteHeadHeaders.apply(this, arguments)\n\n // fire listener\n if (!fired) {\n fired = true\n listener.call(this)\n\n // pass-along an updated status code\n if (typeof args[0] === 'number' && this.statusCode !== args[0]) {\n args[0] = this.statusCode\n args.length = 1\n }\n }\n\n return prevWriteHead.apply(this, args)\n }\n}\n\n/**\n * Execute a listener when a response is about to write headers.\n *\n * @param {object} res\n * @return {function} listener\n * @public\n */\n\nfunction onHeaders (res, listener) {\n if (!res) {\n throw new TypeError('argument res is required')\n }\n\n if (typeof listener !== 'function') {\n throw new TypeError('argument listener must be a function')\n }\n\n res.writeHead = createWriteHead(res.writeHead, listener)\n}\n\n/**\n * Set headers contained in array on the response object.\n *\n * @param {object} res\n * @param {array} headers\n * @private\n */\n\nfunction setHeadersFromArray (res, headers) {\n for (var i = 0; i < headers.length; i++) {\n res.setHeader(headers[i][0], headers[i][1])\n }\n}\n\n/**\n * Set headers contained in object on the response object.\n *\n * @param {object} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeadersFromObject (res, headers) {\n var keys = Object.keys(headers)\n for (var i = 0; i < keys.length; i++) {\n var k = keys[i]\n if (k) res.setHeader(k, headers[k])\n }\n}\n\n/**\n * Set headers and other properties on the response object.\n *\n * @param {number} statusCode\n * @private\n */\n\nfunction setWriteHeadHeaders (statusCode) {\n var length = arguments.length\n var headerIndex = length > 1 && typeof arguments[1] === 'string'\n ? 2\n : 1\n\n var headers = length >= headerIndex + 1\n ? arguments[headerIndex]\n : undefined\n\n this.statusCode = statusCode\n\n if (Array.isArray(headers)) {\n // handle array case\n setHeadersFromArray(this, headers)\n } else if (headers) {\n // handle object case\n setHeadersFromObject(this, headers)\n }\n\n // copy leading arguments\n var args = new Array(Math.min(length, headerIndex))\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n return args\n}\n","/*!\n * parseurl\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar url = require('url')\nvar parse = url.parse\nvar Url = url.Url\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = parseurl\nmodule.exports.original = originalurl\n\n/**\n * Parse the `req` url with memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction parseurl (req) {\n var url = req.url\n\n if (url === undefined) {\n // URL is undefined\n return undefined\n }\n\n var parsed = req._parsedUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedUrl = parsed)\n};\n\n/**\n * Parse the `req` original url with fallback and memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction originalurl (req) {\n var url = req.originalUrl\n\n if (typeof url !== 'string') {\n // Fallback\n return parseurl(req)\n }\n\n var parsed = req._parsedOriginalUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedOriginalUrl = parsed)\n};\n\n/**\n * Parse the `str` url with fast-path short-cut.\n *\n * @param {string} str\n * @return {Object}\n * @private\n */\n\nfunction fastparse (str) {\n if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) {\n return parse(str)\n }\n\n var pathname = str\n var query = null\n var search = null\n\n // This takes the regexp from https://github.com/joyent/node/pull/7878\n // Which is /^(\\/[^?#\\s]*)(\\?[^#\\s]*)?$/\n // And unrolls it into a for loop\n for (var i = 1; i < str.length; i++) {\n switch (str.charCodeAt(i)) {\n case 0x3f: /* ? */\n if (search === null) {\n pathname = str.substring(0, i)\n query = str.substring(i + 1)\n search = str.substring(i)\n }\n break\n case 0x09: /* \\t */\n case 0x0a: /* \\n */\n case 0x0c: /* \\f */\n case 0x0d: /* \\r */\n case 0x20: /* */\n case 0x23: /* # */\n case 0xa0:\n case 0xfeff:\n return parse(str)\n }\n }\n\n var url = Url !== undefined\n ? new Url()\n : {}\n\n url.path = str\n url.href = str\n url.pathname = pathname\n\n if (search !== null) {\n url.query = query\n url.search = search\n }\n\n return url\n}\n\n/**\n * Determine if parsed is still fresh for url.\n *\n * @param {string} url\n * @param {object} parsedUrl\n * @return {boolean}\n * @private\n */\n\nfunction fresh (url, parsedUrl) {\n return typeof parsedUrl === 'object' &&\n parsedUrl !== null &&\n (Url === undefined || parsedUrl instanceof Url) &&\n parsedUrl._raw === url\n}\n","/*!\n * random-bytes\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar crypto = require('crypto')\n\n/**\n * Module variables.\n * @private\n */\n\nvar generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = randomBytes\nmodule.exports.sync = randomBytesSync\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction randomBytes(size, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateRandomBytes(size, generateAttempts, callback)\n }\n\n return new Promise(function executor(resolve, reject) {\n generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Generates strong pseudo-random bytes sync.\n *\n * @param {number} size\n * @return {Buffer}\n * @public\n */\n\nfunction randomBytesSync(size) {\n var err = null\n\n for (var i = 0; i < generateAttempts; i++) {\n try {\n return crypto.randomBytes(size)\n } catch (e) {\n err = e\n }\n }\n\n throw err\n}\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {number} attempts\n * @param {function} callback\n * @private\n */\n\nfunction generateRandomBytes(size, attempts, callback) {\n crypto.randomBytes(size, function onRandomBytes(err, buf) {\n if (!err) return callback(null, buf)\n if (!--attempts) return callback(err)\n setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10)\n })\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","/*!\n * uid-safe\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar randomBytes = require('random-bytes')\n\n/**\n * Module variables.\n * @private\n */\n\nvar EQUAL_END_REGEXP = /=+$/\nvar PLUS_GLOBAL_REGEXP = /\\+/g\nvar SLASH_GLOBAL_REGEXP = /\\//g\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = uid\nmodule.exports.sync = uidSync\n\n/**\n * Create a unique ID.\n *\n * @param {number} length\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction uid (length, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateUid(length, callback)\n }\n\n return new Promise(function executor (resolve, reject) {\n generateUid(length, function onUid (err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Create a unique ID sync.\n *\n * @param {number} length\n * @return {string}\n * @public\n */\n\nfunction uidSync (length) {\n return toString(randomBytes.sync(length))\n}\n\n/**\n * Generate a unique ID string.\n *\n * @param {number} length\n * @param {function} callback\n * @private\n */\n\nfunction generateUid (length, callback) {\n randomBytes(length, function (err, buf) {\n if (err) return callback(err)\n callback(null, toString(buf))\n })\n}\n\n/**\n * Change a Buffer into a string.\n *\n * @param {Buffer} buf\n * @return {string}\n * @private\n */\n\nfunction toString (buf) {\n return buf.toString('base64')\n .replace(EQUAL_END_REGEXP, '')\n .replace(PLUS_GLOBAL_REGEXP, '-')\n .replace(SLASH_GLOBAL_REGEXP, '_')\n}\n","'use strict';\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0x00) { // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) { // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) { // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80 || // overlong\n buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0 // surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) { // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80 || // overlong\n buf[i] === 0xf4 && buf[i + 1] > 0x8f || buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isValidUTF8;\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","'use strict';\n\nconst WebSocket = require('./lib/websocket');\n\nWebSocket.createWebSocketStream = require('./lib/stream');\nWebSocket.Server = require('./lib/websocket-server');\nWebSocket.Receiver = require('./lib/receiver');\nWebSocket.Sender = require('./lib/sender');\n\nmodule.exports = WebSocket;\n","'use strict';\n\nconst { EMPTY_BUFFER } = require('./constants');\n\n/**\n * Merges an array of buffers into a new buffer.\n *\n * @param {Buffer[]} list The array of buffers to concat\n * @param {Number} totalLength The total length of buffers in the list\n * @return {Buffer} The resulting buffer\n * @public\n */\nfunction concat(list, totalLength) {\n if (list.length === 0) return EMPTY_BUFFER;\n if (list.length === 1) return list[0];\n\n const target = Buffer.allocUnsafe(totalLength);\n let offset = 0;\n\n for (let i = 0; i < list.length; i++) {\n const buf = list[i];\n target.set(buf, offset);\n offset += buf.length;\n }\n\n if (offset < totalLength) return target.slice(0, offset);\n\n return target;\n}\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nfunction _mask(source, mask, output, offset, length) {\n for (let i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n}\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nfunction _unmask(buffer, mask) {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (let i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n}\n\n/**\n * Converts a buffer to an `ArrayBuffer`.\n *\n * @param {Buffer} buf The buffer to convert\n * @return {ArrayBuffer} Converted buffer\n * @public\n */\nfunction toArrayBuffer(buf) {\n if (buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n }\n\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n}\n\n/**\n * Converts `data` to a `Buffer`.\n *\n * @param {*} data The data to convert\n * @return {Buffer} The buffer\n * @throws {TypeError}\n * @public\n */\nfunction toBuffer(data) {\n toBuffer.readOnly = true;\n\n if (Buffer.isBuffer(data)) return data;\n\n let buf;\n\n if (data instanceof ArrayBuffer) {\n buf = Buffer.from(data);\n } else if (ArrayBuffer.isView(data)) {\n buf = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n } else {\n buf = Buffer.from(data);\n toBuffer.readOnly = false;\n }\n\n return buf;\n}\n\ntry {\n const bufferUtil = require('bufferutil');\n const bu = bufferUtil.BufferUtil || bufferUtil;\n\n module.exports = {\n concat,\n mask(source, mask, output, offset, length) {\n if (length < 48) _mask(source, mask, output, offset, length);\n else bu.mask(source, mask, output, offset, length);\n },\n toArrayBuffer,\n toBuffer,\n unmask(buffer, mask) {\n if (buffer.length < 32) _unmask(buffer, mask);\n else bu.unmask(buffer, mask);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n concat,\n mask: _mask,\n toArrayBuffer,\n toBuffer,\n unmask: _unmask\n };\n}\n","'use strict';\n\nmodule.exports = {\n BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],\n GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',\n kStatusCode: Symbol('status-code'),\n kWebSocket: Symbol('websocket'),\n EMPTY_BUFFER: Buffer.alloc(0),\n NOOP: () => {}\n};\n","'use strict';\n\n/**\n * Class representing an event.\n *\n * @private\n */\nclass Event {\n /**\n * Create a new `Event`.\n *\n * @param {String} type The name of the event\n * @param {Object} target A reference to the target to which the event was\n * dispatched\n */\n constructor(type, target) {\n this.target = target;\n this.type = type;\n }\n}\n\n/**\n * Class representing a message event.\n *\n * @extends Event\n * @private\n */\nclass MessageEvent extends Event {\n /**\n * Create a new `MessageEvent`.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(data, target) {\n super('message', target);\n\n this.data = data;\n }\n}\n\n/**\n * Class representing a close event.\n *\n * @extends Event\n * @private\n */\nclass CloseEvent extends Event {\n /**\n * Create a new `CloseEvent`.\n *\n * @param {Number} code The status code explaining why the connection is being\n * closed\n * @param {String} reason A human-readable string explaining why the\n * connection is closing\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(code, reason, target) {\n super('close', target);\n\n this.wasClean = target._closeFrameReceived && target._closeFrameSent;\n this.reason = reason;\n this.code = code;\n }\n}\n\n/**\n * Class representing an open event.\n *\n * @extends Event\n * @private\n */\nclass OpenEvent extends Event {\n /**\n * Create a new `OpenEvent`.\n *\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(target) {\n super('open', target);\n }\n}\n\n/**\n * Class representing an error event.\n *\n * @extends Event\n * @private\n */\nclass ErrorEvent extends Event {\n /**\n * Create a new `ErrorEvent`.\n *\n * @param {Object} error The error that generated this event\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(error, target) {\n super('error', target);\n\n this.message = error.message;\n this.error = error;\n }\n}\n\n/**\n * This provides methods for emulating the `EventTarget` interface. It's not\n * meant to be used directly.\n *\n * @mixin\n */\nconst EventTarget = {\n /**\n * Register an event listener.\n *\n * @param {String} type A string representing the event type to listen for\n * @param {Function} listener The listener to add\n * @param {Object} [options] An options object specifies characteristics about\n * the event listener\n * @param {Boolean} [options.once=false] A `Boolean`` indicating that the\n * listener should be invoked at most once after being added. If `true`,\n * the listener would be automatically removed when invoked.\n * @public\n */\n addEventListener(type, listener, options) {\n if (typeof listener !== 'function') return;\n\n function onMessage(data) {\n listener.call(this, new MessageEvent(data, this));\n }\n\n function onClose(code, message) {\n listener.call(this, new CloseEvent(code, message, this));\n }\n\n function onError(error) {\n listener.call(this, new ErrorEvent(error, this));\n }\n\n function onOpen() {\n listener.call(this, new OpenEvent(this));\n }\n\n const method = options && options.once ? 'once' : 'on';\n\n if (type === 'message') {\n onMessage._listener = listener;\n this[method](type, onMessage);\n } else if (type === 'close') {\n onClose._listener = listener;\n this[method](type, onClose);\n } else if (type === 'error') {\n onError._listener = listener;\n this[method](type, onError);\n } else if (type === 'open') {\n onOpen._listener = listener;\n this[method](type, onOpen);\n } else {\n this[method](type, listener);\n }\n },\n\n /**\n * Remove an event listener.\n *\n * @param {String} type A string representing the event type to remove\n * @param {Function} listener The listener to remove\n * @public\n */\n removeEventListener(type, listener) {\n const listeners = this.listeners(type);\n\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i] === listener || listeners[i]._listener === listener) {\n this.removeListener(type, listeners[i]);\n }\n }\n }\n};\n\nmodule.exports = EventTarget;\n","'use strict';\n\n//\n// Allowed token characters:\n//\n// '!', '#', '$', '%', '&', ''', '*', '+', '-',\n// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~'\n//\n// tokenChars[32] === 0 // ' '\n// tokenChars[33] === 1 // '!'\n// tokenChars[34] === 0 // '\"'\n// ...\n//\n// prettier-ignore\nconst tokenChars = [\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31\n 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63\n 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127\n];\n\n/**\n * Adds an offer to the map of extension offers or a parameter to the map of\n * parameters.\n *\n * @param {Object} dest The map of extension offers or parameters\n * @param {String} name The extension or parameter name\n * @param {(Object|Boolean|String)} elem The extension parameters or the\n * parameter value\n * @private\n */\nfunction push(dest, name, elem) {\n if (dest[name] === undefined) dest[name] = [elem];\n else dest[name].push(elem);\n}\n\n/**\n * Parses the `Sec-WebSocket-Extensions` header into an object.\n *\n * @param {String} header The field value of the header\n * @return {Object} The parsed object\n * @public\n */\nfunction parse(header) {\n const offers = Object.create(null);\n\n if (header === undefined || header === '') return offers;\n\n let params = Object.create(null);\n let mustUnescape = false;\n let isEscaping = false;\n let inQuotes = false;\n let extensionName;\n let paramName;\n let start = -1;\n let end = -1;\n let i = 0;\n\n for (; i < header.length; i++) {\n const code = header.charCodeAt(i);\n\n if (extensionName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\\t' */) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n const name = header.slice(start, end);\n if (code === 0x2c) {\n push(offers, name, params);\n params = Object.create(null);\n } else {\n extensionName = name;\n }\n\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (paramName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 || code === 0x09) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n push(params, header.slice(start, end), true);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n start = end = -1;\n } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) {\n paramName = header.slice(start, i);\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else {\n //\n // The value of a quoted-string after unescaping must conform to the\n // token ABNF, so only token characters are valid.\n // Ref: https://tools.ietf.org/html/rfc6455#section-9.1\n //\n if (isEscaping) {\n if (tokenChars[code] !== 1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n if (start === -1) start = i;\n else if (!mustUnescape) mustUnescape = true;\n isEscaping = false;\n } else if (inQuotes) {\n if (tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x22 /* '\"' */ && start !== -1) {\n inQuotes = false;\n end = i;\n } else if (code === 0x5c /* '\\' */) {\n isEscaping = true;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) {\n inQuotes = true;\n } else if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (start !== -1 && (code === 0x20 || code === 0x09)) {\n if (end === -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n let value = header.slice(start, end);\n if (mustUnescape) {\n value = value.replace(/\\\\/g, '');\n mustUnescape = false;\n }\n push(params, paramName, value);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n paramName = undefined;\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n }\n }\n\n if (start === -1 || inQuotes) {\n throw new SyntaxError('Unexpected end of input');\n }\n\n if (end === -1) end = i;\n const token = header.slice(start, end);\n if (extensionName === undefined) {\n push(offers, token, params);\n } else {\n if (paramName === undefined) {\n push(params, token, true);\n } else if (mustUnescape) {\n push(params, paramName, token.replace(/\\\\/g, ''));\n } else {\n push(params, paramName, token);\n }\n push(offers, extensionName, params);\n }\n\n return offers;\n}\n\n/**\n * Builds the `Sec-WebSocket-Extensions` header field value.\n *\n * @param {Object} extensions The map of extensions and parameters to format\n * @return {String} A string representing the given object\n * @public\n */\nfunction format(extensions) {\n return Object.keys(extensions)\n .map((extension) => {\n let configurations = extensions[extension];\n if (!Array.isArray(configurations)) configurations = [configurations];\n return configurations\n .map((params) => {\n return [extension]\n .concat(\n Object.keys(params).map((k) => {\n let values = params[k];\n if (!Array.isArray(values)) values = [values];\n return values\n .map((v) => (v === true ? k : `${k}=${v}`))\n .join('; ');\n })\n )\n .join('; ');\n })\n .join(', ');\n })\n .join(', ');\n}\n\nmodule.exports = { format, parse };\n","'use strict';\n\nconst kDone = Symbol('kDone');\nconst kRun = Symbol('kRun');\n\n/**\n * A very simple job queue with adjustable concurrency. Adapted from\n * https://github.com/STRML/async-limiter\n */\nclass Limiter {\n /**\n * Creates a new `Limiter`.\n *\n * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed\n * to run concurrently\n */\n constructor(concurrency) {\n this[kDone] = () => {\n this.pending--;\n this[kRun]();\n };\n this.concurrency = concurrency || Infinity;\n this.jobs = [];\n this.pending = 0;\n }\n\n /**\n * Adds a job to the queue.\n *\n * @param {Function} job The job to run\n * @public\n */\n add(job) {\n this.jobs.push(job);\n this[kRun]();\n }\n\n /**\n * Removes a job from the queue and runs it if possible.\n *\n * @private\n */\n [kRun]() {\n if (this.pending === this.concurrency) return;\n\n if (this.jobs.length) {\n const job = this.jobs.shift();\n\n this.pending++;\n job(this[kDone]);\n }\n }\n}\n\nmodule.exports = Limiter;\n","'use strict';\n\nconst zlib = require('zlib');\n\nconst bufferUtil = require('./buffer-util');\nconst Limiter = require('./limiter');\nconst { kStatusCode, NOOP } = require('./constants');\n\nconst TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]);\nconst kPerMessageDeflate = Symbol('permessage-deflate');\nconst kTotalLength = Symbol('total-length');\nconst kCallback = Symbol('callback');\nconst kBuffers = Symbol('buffers');\nconst kError = Symbol('error');\n\n//\n// We limit zlib concurrency, which prevents severe memory fragmentation\n// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913\n// and https://github.com/websockets/ws/issues/1202\n//\n// Intentionally global; it's the global thread pool that's an issue.\n//\nlet zlibLimiter;\n\n/**\n * permessage-deflate implementation.\n */\nclass PerMessageDeflate {\n /**\n * Creates a PerMessageDeflate instance.\n *\n * @param {Object} [options] Configuration options\n * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept\n * disabling of server context takeover\n * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/\n * acknowledge disabling of client context takeover\n * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the\n * use of a custom server window size\n * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support\n * for, or request, a custom client window size\n * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on\n * deflate\n * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on\n * inflate\n * @param {Number} [options.threshold=1024] Size (in bytes) below which\n * messages should not be compressed\n * @param {Number} [options.concurrencyLimit=10] The number of concurrent\n * calls to zlib\n * @param {Boolean} [isServer=false] Create the instance in either server or\n * client mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(options, isServer, maxPayload) {\n this._maxPayload = maxPayload | 0;\n this._options = options || {};\n this._threshold =\n this._options.threshold !== undefined ? this._options.threshold : 1024;\n this._isServer = !!isServer;\n this._deflate = null;\n this._inflate = null;\n\n this.params = null;\n\n if (!zlibLimiter) {\n const concurrency =\n this._options.concurrencyLimit !== undefined\n ? this._options.concurrencyLimit\n : 10;\n zlibLimiter = new Limiter(concurrency);\n }\n }\n\n /**\n * @type {String}\n */\n static get extensionName() {\n return 'permessage-deflate';\n }\n\n /**\n * Create an extension negotiation offer.\n *\n * @return {Object} Extension parameters\n * @public\n */\n offer() {\n const params = {};\n\n if (this._options.serverNoContextTakeover) {\n params.server_no_context_takeover = true;\n }\n if (this._options.clientNoContextTakeover) {\n params.client_no_context_takeover = true;\n }\n if (this._options.serverMaxWindowBits) {\n params.server_max_window_bits = this._options.serverMaxWindowBits;\n }\n if (this._options.clientMaxWindowBits) {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n } else if (this._options.clientMaxWindowBits == null) {\n params.client_max_window_bits = true;\n }\n\n return params;\n }\n\n /**\n * Accept an extension negotiation offer/response.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Object} Accepted configuration\n * @public\n */\n accept(configurations) {\n configurations = this.normalizeParams(configurations);\n\n this.params = this._isServer\n ? this.acceptAsServer(configurations)\n : this.acceptAsClient(configurations);\n\n return this.params;\n }\n\n /**\n * Releases all resources used by the extension.\n *\n * @public\n */\n cleanup() {\n if (this._inflate) {\n this._inflate.close();\n this._inflate = null;\n }\n\n if (this._deflate) {\n const callback = this._deflate[kCallback];\n\n this._deflate.close();\n this._deflate = null;\n\n if (callback) {\n callback(\n new Error(\n 'The deflate stream was closed while data was being processed'\n )\n );\n }\n }\n }\n\n /**\n * Accept an extension negotiation offer.\n *\n * @param {Array} offers The extension negotiation offers\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsServer(offers) {\n const opts = this._options;\n const accepted = offers.find((params) => {\n if (\n (opts.serverNoContextTakeover === false &&\n params.server_no_context_takeover) ||\n (params.server_max_window_bits &&\n (opts.serverMaxWindowBits === false ||\n (typeof opts.serverMaxWindowBits === 'number' &&\n opts.serverMaxWindowBits > params.server_max_window_bits))) ||\n (typeof opts.clientMaxWindowBits === 'number' &&\n !params.client_max_window_bits)\n ) {\n return false;\n }\n\n return true;\n });\n\n if (!accepted) {\n throw new Error('None of the extension offers can be accepted');\n }\n\n if (opts.serverNoContextTakeover) {\n accepted.server_no_context_takeover = true;\n }\n if (opts.clientNoContextTakeover) {\n accepted.client_no_context_takeover = true;\n }\n if (typeof opts.serverMaxWindowBits === 'number') {\n accepted.server_max_window_bits = opts.serverMaxWindowBits;\n }\n if (typeof opts.clientMaxWindowBits === 'number') {\n accepted.client_max_window_bits = opts.clientMaxWindowBits;\n } else if (\n accepted.client_max_window_bits === true ||\n opts.clientMaxWindowBits === false\n ) {\n delete accepted.client_max_window_bits;\n }\n\n return accepted;\n }\n\n /**\n * Accept the extension negotiation response.\n *\n * @param {Array} response The extension negotiation response\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsClient(response) {\n const params = response[0];\n\n if (\n this._options.clientNoContextTakeover === false &&\n params.client_no_context_takeover\n ) {\n throw new Error('Unexpected parameter \"client_no_context_takeover\"');\n }\n\n if (!params.client_max_window_bits) {\n if (typeof this._options.clientMaxWindowBits === 'number') {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n }\n } else if (\n this._options.clientMaxWindowBits === false ||\n (typeof this._options.clientMaxWindowBits === 'number' &&\n params.client_max_window_bits > this._options.clientMaxWindowBits)\n ) {\n throw new Error(\n 'Unexpected or invalid parameter \"client_max_window_bits\"'\n );\n }\n\n return params;\n }\n\n /**\n * Normalize parameters.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Array} The offers/response with normalized parameters\n * @private\n */\n normalizeParams(configurations) {\n configurations.forEach((params) => {\n Object.keys(params).forEach((key) => {\n let value = params[key];\n\n if (value.length > 1) {\n throw new Error(`Parameter \"${key}\" must have only a single value`);\n }\n\n value = value[0];\n\n if (key === 'client_max_window_bits') {\n if (value !== true) {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (!this._isServer) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else if (key === 'server_max_window_bits') {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (\n key === 'client_no_context_takeover' ||\n key === 'server_no_context_takeover'\n ) {\n if (value !== true) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else {\n throw new Error(`Unknown parameter \"${key}\"`);\n }\n\n params[key] = value;\n });\n });\n\n return configurations;\n }\n\n /**\n * Decompress data. Concurrency limited.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n decompress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._decompress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Compress data. Concurrency limited.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n compress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._compress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Decompress data.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _decompress(data, fin, callback) {\n const endpoint = this._isServer ? 'client' : 'server';\n\n if (!this._inflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._inflate = zlib.createInflateRaw({\n ...this._options.zlibInflateOptions,\n windowBits\n });\n this._inflate[kPerMessageDeflate] = this;\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n this._inflate.on('error', inflateOnError);\n this._inflate.on('data', inflateOnData);\n }\n\n this._inflate[kCallback] = callback;\n\n this._inflate.write(data);\n if (fin) this._inflate.write(TRAILER);\n\n this._inflate.flush(() => {\n const err = this._inflate[kError];\n\n if (err) {\n this._inflate.close();\n this._inflate = null;\n callback(err);\n return;\n }\n\n const data = bufferUtil.concat(\n this._inflate[kBuffers],\n this._inflate[kTotalLength]\n );\n\n if (this._inflate._readableState.endEmitted) {\n this._inflate.close();\n this._inflate = null;\n } else {\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._inflate.reset();\n }\n }\n\n callback(null, data);\n });\n }\n\n /**\n * Compress data.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _compress(data, fin, callback) {\n const endpoint = this._isServer ? 'server' : 'client';\n\n if (!this._deflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._deflate = zlib.createDeflateRaw({\n ...this._options.zlibDeflateOptions,\n windowBits\n });\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n //\n // An `'error'` event is emitted, only on Node.js < 10.0.0, if the\n // `zlib.DeflateRaw` instance is closed while data is being processed.\n // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong\n // time due to an abnormal WebSocket closure.\n //\n this._deflate.on('error', NOOP);\n this._deflate.on('data', deflateOnData);\n }\n\n this._deflate[kCallback] = callback;\n\n this._deflate.write(data);\n this._deflate.flush(zlib.Z_SYNC_FLUSH, () => {\n if (!this._deflate) {\n //\n // The deflate stream was closed while data was being processed.\n //\n return;\n }\n\n let data = bufferUtil.concat(\n this._deflate[kBuffers],\n this._deflate[kTotalLength]\n );\n\n if (fin) data = data.slice(0, data.length - 4);\n\n //\n // Ensure that the callback will not be called again in\n // `PerMessageDeflate#cleanup()`.\n //\n this._deflate[kCallback] = null;\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._deflate.reset();\n }\n\n callback(null, data);\n });\n }\n}\n\nmodule.exports = PerMessageDeflate;\n\n/**\n * The listener of the `zlib.DeflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction deflateOnData(chunk) {\n this[kBuffers].push(chunk);\n this[kTotalLength] += chunk.length;\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction inflateOnData(chunk) {\n this[kTotalLength] += chunk.length;\n\n if (\n this[kPerMessageDeflate]._maxPayload < 1 ||\n this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload\n ) {\n this[kBuffers].push(chunk);\n return;\n }\n\n this[kError] = new RangeError('Max payload size exceeded');\n this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH';\n this[kError][kStatusCode] = 1009;\n this.removeListener('data', inflateOnData);\n this.reset();\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'error'` event.\n *\n * @param {Error} err The emitted error\n * @private\n */\nfunction inflateOnError(err) {\n //\n // There is no need to call `Zlib#close()` as the handle is automatically\n // closed when an error is emitted.\n //\n this[kPerMessageDeflate]._inflate = null;\n err[kStatusCode] = 1007;\n this[kCallback](err);\n}\n","'use strict';\n\nconst { Writable } = require('stream');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n kStatusCode,\n kWebSocket\n} = require('./constants');\nconst { concat, toArrayBuffer, unmask } = require('./buffer-util');\nconst { isValidStatusCode, isValidUTF8 } = require('./validation');\n\nconst GET_INFO = 0;\nconst GET_PAYLOAD_LENGTH_16 = 1;\nconst GET_PAYLOAD_LENGTH_64 = 2;\nconst GET_MASK = 3;\nconst GET_DATA = 4;\nconst INFLATING = 5;\n\n/**\n * HyBi Receiver implementation.\n *\n * @extends Writable\n */\nclass Receiver extends Writable {\n /**\n * Creates a Receiver instance.\n *\n * @param {String} [binaryType=nodebuffer] The type for binary data\n * @param {Object} [extensions] An object containing the negotiated extensions\n * @param {Boolean} [isServer=false] Specifies whether to operate in client or\n * server mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(binaryType, extensions, isServer, maxPayload) {\n super();\n\n this._binaryType = binaryType || BINARY_TYPES[0];\n this[kWebSocket] = undefined;\n this._extensions = extensions || {};\n this._isServer = !!isServer;\n this._maxPayload = maxPayload | 0;\n\n this._bufferedBytes = 0;\n this._buffers = [];\n\n this._compressed = false;\n this._payloadLength = 0;\n this._mask = undefined;\n this._fragmented = 0;\n this._masked = false;\n this._fin = false;\n this._opcode = 0;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragments = [];\n\n this._state = GET_INFO;\n this._loop = false;\n }\n\n /**\n * Implements `Writable.prototype._write()`.\n *\n * @param {Buffer} chunk The chunk of data to write\n * @param {String} encoding The character encoding of `chunk`\n * @param {Function} cb Callback\n * @private\n */\n _write(chunk, encoding, cb) {\n if (this._opcode === 0x08 && this._state == GET_INFO) return cb();\n\n this._bufferedBytes += chunk.length;\n this._buffers.push(chunk);\n this.startLoop(cb);\n }\n\n /**\n * Consumes `n` bytes from the buffered data.\n *\n * @param {Number} n The number of bytes to consume\n * @return {Buffer} The consumed bytes\n * @private\n */\n consume(n) {\n this._bufferedBytes -= n;\n\n if (n === this._buffers[0].length) return this._buffers.shift();\n\n if (n < this._buffers[0].length) {\n const buf = this._buffers[0];\n this._buffers[0] = buf.slice(n);\n return buf.slice(0, n);\n }\n\n const dst = Buffer.allocUnsafe(n);\n\n do {\n const buf = this._buffers[0];\n const offset = dst.length - n;\n\n if (n >= buf.length) {\n dst.set(this._buffers.shift(), offset);\n } else {\n dst.set(new Uint8Array(buf.buffer, buf.byteOffset, n), offset);\n this._buffers[0] = buf.slice(n);\n }\n\n n -= buf.length;\n } while (n > 0);\n\n return dst;\n }\n\n /**\n * Starts the parsing loop.\n *\n * @param {Function} cb Callback\n * @private\n */\n startLoop(cb) {\n let err;\n this._loop = true;\n\n do {\n switch (this._state) {\n case GET_INFO:\n err = this.getInfo();\n break;\n case GET_PAYLOAD_LENGTH_16:\n err = this.getPayloadLength16();\n break;\n case GET_PAYLOAD_LENGTH_64:\n err = this.getPayloadLength64();\n break;\n case GET_MASK:\n this.getMask();\n break;\n case GET_DATA:\n err = this.getData(cb);\n break;\n default:\n // `INFLATING`\n this._loop = false;\n return;\n }\n } while (this._loop);\n\n cb(err);\n }\n\n /**\n * Reads the first two bytes of a frame.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getInfo() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(2);\n\n if ((buf[0] & 0x30) !== 0x00) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV2 and RSV3 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_2_3'\n );\n }\n\n const compressed = (buf[0] & 0x40) === 0x40;\n\n if (compressed && !this._extensions[PerMessageDeflate.extensionName]) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n this._fin = (buf[0] & 0x80) === 0x80;\n this._opcode = buf[0] & 0x0f;\n this._payloadLength = buf[1] & 0x7f;\n\n if (this._opcode === 0x00) {\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (!this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n 'invalid opcode 0',\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._opcode = this._fragmented;\n } else if (this._opcode === 0x01 || this._opcode === 0x02) {\n if (this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._compressed = compressed;\n } else if (this._opcode > 0x07 && this._opcode < 0x0b) {\n if (!this._fin) {\n this._loop = false;\n return error(\n RangeError,\n 'FIN must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_FIN'\n );\n }\n\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (this._payloadLength > 0x7d) {\n this._loop = false;\n return error(\n RangeError,\n `invalid payload length ${this._payloadLength}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n }\n } else {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n if (!this._fin && !this._fragmented) this._fragmented = this._opcode;\n this._masked = (buf[1] & 0x80) === 0x80;\n\n if (this._isServer) {\n if (!this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_MASK'\n );\n }\n } else if (this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_MASK'\n );\n }\n\n if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16;\n else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64;\n else return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+16).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength16() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n this._payloadLength = this.consume(2).readUInt16BE(0);\n return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+64).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength64() {\n if (this._bufferedBytes < 8) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(8);\n const num = buf.readUInt32BE(0);\n\n //\n // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned\n // if payload length is greater than this number.\n //\n if (num > Math.pow(2, 53 - 32) - 1) {\n this._loop = false;\n return error(\n RangeError,\n 'Unsupported WebSocket frame: payload length > 2^53 - 1',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH'\n );\n }\n\n this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4);\n return this.haveLength();\n }\n\n /**\n * Payload length has been read.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n haveLength() {\n if (this._payloadLength && this._opcode < 0x08) {\n this._totalPayloadLength += this._payloadLength;\n if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) {\n this._loop = false;\n return error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n );\n }\n }\n\n if (this._masked) this._state = GET_MASK;\n else this._state = GET_DATA;\n }\n\n /**\n * Reads mask bytes.\n *\n * @private\n */\n getMask() {\n if (this._bufferedBytes < 4) {\n this._loop = false;\n return;\n }\n\n this._mask = this.consume(4);\n this._state = GET_DATA;\n }\n\n /**\n * Reads data bytes.\n *\n * @param {Function} cb Callback\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n getData(cb) {\n let data = EMPTY_BUFFER;\n\n if (this._payloadLength) {\n if (this._bufferedBytes < this._payloadLength) {\n this._loop = false;\n return;\n }\n\n data = this.consume(this._payloadLength);\n if (this._masked) unmask(data, this._mask);\n }\n\n if (this._opcode > 0x07) return this.controlMessage(data);\n\n if (this._compressed) {\n this._state = INFLATING;\n this.decompress(data, cb);\n return;\n }\n\n if (data.length) {\n //\n // This message is not compressed so its lenght is the sum of the payload\n // length of all fragments.\n //\n this._messageLength = this._totalPayloadLength;\n this._fragments.push(data);\n }\n\n return this.dataMessage();\n }\n\n /**\n * Decompresses data.\n *\n * @param {Buffer} data Compressed data\n * @param {Function} cb Callback\n * @private\n */\n decompress(data, cb) {\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n perMessageDeflate.decompress(data, this._fin, (err, buf) => {\n if (err) return cb(err);\n\n if (buf.length) {\n this._messageLength += buf.length;\n if (this._messageLength > this._maxPayload && this._maxPayload > 0) {\n return cb(\n error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n )\n );\n }\n\n this._fragments.push(buf);\n }\n\n const er = this.dataMessage();\n if (er) return cb(er);\n\n this.startLoop(cb);\n });\n }\n\n /**\n * Handles a data message.\n *\n * @return {(Error|undefined)} A possible error\n * @private\n */\n dataMessage() {\n if (this._fin) {\n const messageLength = this._messageLength;\n const fragments = this._fragments;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragmented = 0;\n this._fragments = [];\n\n if (this._opcode === 2) {\n let data;\n\n if (this._binaryType === 'nodebuffer') {\n data = concat(fragments, messageLength);\n } else if (this._binaryType === 'arraybuffer') {\n data = toArrayBuffer(concat(fragments, messageLength));\n } else {\n data = fragments;\n }\n\n this.emit('message', data);\n } else {\n const buf = concat(fragments, messageLength);\n\n if (!isValidUTF8(buf)) {\n this._loop = false;\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('message', buf.toString());\n }\n }\n\n this._state = GET_INFO;\n }\n\n /**\n * Handles a control message.\n *\n * @param {Buffer} data Data to handle\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n controlMessage(data) {\n if (this._opcode === 0x08) {\n this._loop = false;\n\n if (data.length === 0) {\n this.emit('conclude', 1005, '');\n this.end();\n } else if (data.length === 1) {\n return error(\n RangeError,\n 'invalid payload length 1',\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n } else {\n const code = data.readUInt16BE(0);\n\n if (!isValidStatusCode(code)) {\n return error(\n RangeError,\n `invalid status code ${code}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CLOSE_CODE'\n );\n }\n\n const buf = data.slice(2);\n\n if (!isValidUTF8(buf)) {\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('conclude', code, buf.toString());\n this.end();\n }\n } else if (this._opcode === 0x09) {\n this.emit('ping', data);\n } else {\n this.emit('pong', data);\n }\n\n this._state = GET_INFO;\n }\n}\n\nmodule.exports = Receiver;\n\n/**\n * Builds an error object.\n *\n * @param {function(new:Error|RangeError)} ErrorCtor The error constructor\n * @param {String} message The error message\n * @param {Boolean} prefix Specifies whether or not to add a default prefix to\n * `message`\n * @param {Number} statusCode The status code\n * @param {String} errorCode The exposed error code\n * @return {(Error|RangeError)} The error\n * @private\n */\nfunction error(ErrorCtor, message, prefix, statusCode, errorCode) {\n const err = new ErrorCtor(\n prefix ? `Invalid WebSocket frame: ${message}` : message\n );\n\n Error.captureStackTrace(err, error);\n err.code = errorCode;\n err[kStatusCode] = statusCode;\n return err;\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls$\" }] */\n\n'use strict';\n\nconst net = require('net');\nconst tls = require('tls');\nconst { randomFillSync } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst { EMPTY_BUFFER } = require('./constants');\nconst { isValidStatusCode } = require('./validation');\nconst { mask: applyMask, toBuffer } = require('./buffer-util');\n\nconst mask = Buffer.alloc(4);\n\n/**\n * HyBi Sender implementation.\n */\nclass Sender {\n /**\n * Creates a Sender instance.\n *\n * @param {(net.Socket|tls.Socket)} socket The connection socket\n * @param {Object} [extensions] An object containing the negotiated extensions\n */\n constructor(socket, extensions) {\n this._extensions = extensions || {};\n this._socket = socket;\n\n this._firstFragment = true;\n this._compress = false;\n\n this._bufferedBytes = 0;\n this._deflating = false;\n this._queue = [];\n }\n\n /**\n * Frames a piece of data according to the HyBi WebSocket protocol.\n *\n * @param {Buffer} data The data to frame\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @return {Buffer[]} The framed data as a list of `Buffer` instances\n * @public\n */\n static frame(data, options) {\n const merge = options.mask && options.readOnly;\n let offset = options.mask ? 6 : 2;\n let payloadLength = data.length;\n\n if (data.length >= 65536) {\n offset += 8;\n payloadLength = 127;\n } else if (data.length > 125) {\n offset += 2;\n payloadLength = 126;\n }\n\n const target = Buffer.allocUnsafe(merge ? data.length + offset : offset);\n\n target[0] = options.fin ? options.opcode | 0x80 : options.opcode;\n if (options.rsv1) target[0] |= 0x40;\n\n target[1] = payloadLength;\n\n if (payloadLength === 126) {\n target.writeUInt16BE(data.length, 2);\n } else if (payloadLength === 127) {\n target.writeUInt32BE(0, 2);\n target.writeUInt32BE(data.length, 6);\n }\n\n if (!options.mask) return [target, data];\n\n randomFillSync(mask, 0, 4);\n\n target[1] |= 0x80;\n target[offset - 4] = mask[0];\n target[offset - 3] = mask[1];\n target[offset - 2] = mask[2];\n target[offset - 1] = mask[3];\n\n if (merge) {\n applyMask(data, mask, target, offset, data.length);\n return [target];\n }\n\n applyMask(data, mask, data, 0, data.length);\n return [target, data];\n }\n\n /**\n * Sends a close message to the other peer.\n *\n * @param {Number} [code] The status code component of the body\n * @param {String} [data] The message component of the body\n * @param {Boolean} [mask=false] Specifies whether or not to mask the message\n * @param {Function} [cb] Callback\n * @public\n */\n close(code, data, mask, cb) {\n let buf;\n\n if (code === undefined) {\n buf = EMPTY_BUFFER;\n } else if (typeof code !== 'number' || !isValidStatusCode(code)) {\n throw new TypeError('First argument must be a valid error code number');\n } else if (data === undefined || data === '') {\n buf = Buffer.allocUnsafe(2);\n buf.writeUInt16BE(code, 0);\n } else {\n const length = Buffer.byteLength(data);\n\n if (length > 123) {\n throw new RangeError('The message must not be greater than 123 bytes');\n }\n\n buf = Buffer.allocUnsafe(2 + length);\n buf.writeUInt16BE(code, 0);\n buf.write(data, 2);\n }\n\n if (this._deflating) {\n this.enqueue([this.doClose, buf, mask, cb]);\n } else {\n this.doClose(buf, mask, cb);\n }\n }\n\n /**\n * Frames and sends a close message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @private\n */\n doClose(data, mask, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x08,\n mask,\n readOnly: false\n }),\n cb\n );\n }\n\n /**\n * Sends a ping message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n ping(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPing(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a ping message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPing(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x09,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a pong message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n pong(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPong(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a pong message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPong(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x0a,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a data message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Object} options Options object\n * @param {Boolean} [options.compress=false] Specifies whether or not to\n * compress `data`\n * @param {Boolean} [options.binary=false] Specifies whether `data` is binary\n * or text\n * @param {Boolean} [options.fin=false] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Function} [cb] Callback\n * @public\n */\n send(data, options, cb) {\n const buf = toBuffer(data);\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n let opcode = options.binary ? 2 : 1;\n let rsv1 = options.compress;\n\n if (this._firstFragment) {\n this._firstFragment = false;\n if (rsv1 && perMessageDeflate) {\n rsv1 = buf.length >= perMessageDeflate._threshold;\n }\n this._compress = rsv1;\n } else {\n rsv1 = false;\n opcode = 0;\n }\n\n if (options.fin) this._firstFragment = true;\n\n if (perMessageDeflate) {\n const opts = {\n fin: options.fin,\n rsv1,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n };\n\n if (this._deflating) {\n this.enqueue([this.dispatch, buf, this._compress, opts, cb]);\n } else {\n this.dispatch(buf, this._compress, opts, cb);\n }\n } else {\n this.sendFrame(\n Sender.frame(buf, {\n fin: options.fin,\n rsv1: false,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n }),\n cb\n );\n }\n }\n\n /**\n * Dispatches a data message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [compress=false] Specifies whether or not to compress\n * `data`\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @param {Function} [cb] Callback\n * @private\n */\n dispatch(data, compress, options, cb) {\n if (!compress) {\n this.sendFrame(Sender.frame(data, options), cb);\n return;\n }\n\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n this._bufferedBytes += data.length;\n this._deflating = true;\n perMessageDeflate.compress(data, options.fin, (_, buf) => {\n if (this._socket.destroyed) {\n const err = new Error(\n 'The socket was closed while data was being compressed'\n );\n\n if (typeof cb === 'function') cb(err);\n\n for (let i = 0; i < this._queue.length; i++) {\n const callback = this._queue[i][4];\n\n if (typeof callback === 'function') callback(err);\n }\n\n return;\n }\n\n this._bufferedBytes -= data.length;\n this._deflating = false;\n options.readOnly = false;\n this.sendFrame(Sender.frame(buf, options), cb);\n this.dequeue();\n });\n }\n\n /**\n * Executes queued send operations.\n *\n * @private\n */\n dequeue() {\n while (!this._deflating && this._queue.length) {\n const params = this._queue.shift();\n\n this._bufferedBytes -= params[1].length;\n Reflect.apply(params[0], this, params.slice(1));\n }\n }\n\n /**\n * Enqueues a send operation.\n *\n * @param {Array} params Send operation parameters.\n * @private\n */\n enqueue(params) {\n this._bufferedBytes += params[1].length;\n this._queue.push(params);\n }\n\n /**\n * Sends a frame.\n *\n * @param {Buffer[]} list The frame to send\n * @param {Function} [cb] Callback\n * @private\n */\n sendFrame(list, cb) {\n if (list.length === 2) {\n this._socket.cork();\n this._socket.write(list[0]);\n this._socket.write(list[1], cb);\n this._socket.uncork();\n } else {\n this._socket.write(list[0], cb);\n }\n }\n}\n\nmodule.exports = Sender;\n","'use strict';\n\nconst { Duplex } = require('stream');\n\n/**\n * Emits the `'close'` event on a stream.\n *\n * @param {Duplex} stream The stream.\n * @private\n */\nfunction emitClose(stream) {\n stream.emit('close');\n}\n\n/**\n * The listener of the `'end'` event.\n *\n * @private\n */\nfunction duplexOnEnd() {\n if (!this.destroyed && this._writableState.finished) {\n this.destroy();\n }\n}\n\n/**\n * The listener of the `'error'` event.\n *\n * @param {Error} err The error\n * @private\n */\nfunction duplexOnError(err) {\n this.removeListener('error', duplexOnError);\n this.destroy();\n if (this.listenerCount('error') === 0) {\n // Do not suppress the throwing behavior.\n this.emit('error', err);\n }\n}\n\n/**\n * Wraps a `WebSocket` in a duplex stream.\n *\n * @param {WebSocket} ws The `WebSocket` to wrap\n * @param {Object} [options] The options for the `Duplex` constructor\n * @return {Duplex} The duplex stream\n * @public\n */\nfunction createWebSocketStream(ws, options) {\n let resumeOnReceiverDrain = true;\n let terminateOnDestroy = true;\n\n function receiverOnDrain() {\n if (resumeOnReceiverDrain) ws._socket.resume();\n }\n\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n });\n } else {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n }\n\n const duplex = new Duplex({\n ...options,\n autoDestroy: false,\n emitClose: false,\n objectMode: false,\n writableObjectMode: false\n });\n\n ws.on('message', function message(msg) {\n if (!duplex.push(msg)) {\n resumeOnReceiverDrain = false;\n ws._socket.pause();\n }\n });\n\n ws.once('error', function error(err) {\n if (duplex.destroyed) return;\n\n // Prevent `ws.terminate()` from being called by `duplex._destroy()`.\n //\n // - If the `'error'` event is emitted before the `'open'` event, then\n // `ws.terminate()` is a noop as no socket is assigned.\n // - Otherwise, the error is re-emitted by the listener of the `'error'`\n // event of the `Receiver` object. The listener already closes the\n // connection by calling `ws.close()`. This allows a close frame to be\n // sent to the other peer. If `ws.terminate()` is called right after this,\n // then the close frame might not be sent.\n terminateOnDestroy = false;\n duplex.destroy(err);\n });\n\n ws.once('close', function close() {\n if (duplex.destroyed) return;\n\n duplex.push(null);\n });\n\n duplex._destroy = function (err, callback) {\n if (ws.readyState === ws.CLOSED) {\n callback(err);\n process.nextTick(emitClose, duplex);\n return;\n }\n\n let called = false;\n\n ws.once('error', function error(err) {\n called = true;\n callback(err);\n });\n\n ws.once('close', function close() {\n if (!called) callback(err);\n process.nextTick(emitClose, duplex);\n });\n\n if (terminateOnDestroy) ws.terminate();\n };\n\n duplex._final = function (callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._final(callback);\n });\n return;\n }\n\n // If the value of the `_socket` property is `null` it means that `ws` is a\n // client websocket and the handshake failed. In fact, when this happens, a\n // socket is never assigned to the websocket. Wait for the `'error'` event\n // that will be emitted by the websocket.\n if (ws._socket === null) return;\n\n if (ws._socket._writableState.finished) {\n callback();\n if (duplex._readableState.endEmitted) duplex.destroy();\n } else {\n ws._socket.once('finish', function finish() {\n // `duplex` is not destroyed here because the `'end'` event will be\n // emitted on `duplex` after this `'finish'` event. The EOF signaling\n // `null` chunk is, in fact, pushed when the websocket emits `'close'`.\n callback();\n });\n ws.close();\n }\n };\n\n duplex._read = function () {\n if (\n (ws.readyState === ws.OPEN || ws.readyState === ws.CLOSING) &&\n !resumeOnReceiverDrain\n ) {\n resumeOnReceiverDrain = true;\n if (!ws._receiver._writableState.needDrain) ws._socket.resume();\n }\n };\n\n duplex._write = function (chunk, encoding, callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._write(chunk, encoding, callback);\n });\n return;\n }\n\n ws.send(chunk, callback);\n };\n\n duplex.on('end', duplexOnEnd);\n duplex.on('error', duplexOnError);\n return duplex;\n}\n\nmodule.exports = createWebSocketStream;\n","'use strict';\n\n/**\n * Checks if a status code is allowed in a close frame.\n *\n * @param {Number} code The status code\n * @return {Boolean} `true` if the status code is valid, else `false`\n * @public\n */\nfunction isValidStatusCode(code) {\n return (\n (code >= 1000 &&\n code <= 1014 &&\n code !== 1004 &&\n code !== 1005 &&\n code !== 1006) ||\n (code >= 3000 && code <= 4999)\n );\n}\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction _isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0) {\n // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) {\n // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // Overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80) || // Overlong\n (buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0) // Surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) {\n // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n (buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80) || // Overlong\n (buf[i] === 0xf4 && buf[i + 1] > 0x8f) ||\n buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\ntry {\n let isValidUTF8 = require('utf-8-validate');\n\n /* istanbul ignore if */\n if (typeof isValidUTF8 === 'object') {\n isValidUTF8 = isValidUTF8.Validation.isValidUTF8; // utf-8-validate@<3.0.0\n }\n\n module.exports = {\n isValidStatusCode,\n isValidUTF8(buf) {\n return buf.length < 150 ? _isValidUTF8(buf) : isValidUTF8(buf);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n isValidStatusCode,\n isValidUTF8: _isValidUTF8\n };\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls|https$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst http = require('http');\nconst https = require('https');\nconst net = require('net');\nconst tls = require('tls');\nconst { createHash } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst WebSocket = require('./websocket');\nconst { format, parse } = require('./extension');\nconst { GUID, kWebSocket } = require('./constants');\n\nconst keyRegex = /^[+/0-9A-Za-z]{22}==$/;\n\nconst RUNNING = 0;\nconst CLOSING = 1;\nconst CLOSED = 2;\n\n/**\n * Class representing a WebSocket server.\n *\n * @extends EventEmitter\n */\nclass WebSocketServer extends EventEmitter {\n /**\n * Create a `WebSocketServer` instance.\n *\n * @param {Object} options Configuration options\n * @param {Number} [options.backlog=511] The maximum length of the queue of\n * pending connections\n * @param {Boolean} [options.clientTracking=true] Specifies whether or not to\n * track clients\n * @param {Function} [options.handleProtocols] A hook to handle protocols\n * @param {String} [options.host] The hostname where to bind the server\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.noServer=false] Enable no server mode\n * @param {String} [options.path] Accept only connections matching this path\n * @param {(Boolean|Object)} [options.perMessageDeflate=false] Enable/disable\n * permessage-deflate\n * @param {Number} [options.port] The port where to bind the server\n * @param {(http.Server|https.Server)} [options.server] A pre-created HTTP/S\n * server to use\n * @param {Function} [options.verifyClient] A hook to reject connections\n * @param {Function} [callback] A listener for the `listening` event\n */\n constructor(options, callback) {\n super();\n\n options = {\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: false,\n handleProtocols: null,\n clientTracking: true,\n verifyClient: null,\n noServer: false,\n backlog: null, // use default (511 as implemented in net.js)\n server: null,\n host: null,\n path: null,\n port: null,\n ...options\n };\n\n if (\n (options.port == null && !options.server && !options.noServer) ||\n (options.port != null && (options.server || options.noServer)) ||\n (options.server && options.noServer)\n ) {\n throw new TypeError(\n 'One and only one of the \"port\", \"server\", or \"noServer\" options ' +\n 'must be specified'\n );\n }\n\n if (options.port != null) {\n this._server = http.createServer((req, res) => {\n const body = http.STATUS_CODES[426];\n\n res.writeHead(426, {\n 'Content-Length': body.length,\n 'Content-Type': 'text/plain'\n });\n res.end(body);\n });\n this._server.listen(\n options.port,\n options.host,\n options.backlog,\n callback\n );\n } else if (options.server) {\n this._server = options.server;\n }\n\n if (this._server) {\n const emitConnection = this.emit.bind(this, 'connection');\n\n this._removeListeners = addListeners(this._server, {\n listening: this.emit.bind(this, 'listening'),\n error: this.emit.bind(this, 'error'),\n upgrade: (req, socket, head) => {\n this.handleUpgrade(req, socket, head, emitConnection);\n }\n });\n }\n\n if (options.perMessageDeflate === true) options.perMessageDeflate = {};\n if (options.clientTracking) this.clients = new Set();\n this.options = options;\n this._state = RUNNING;\n }\n\n /**\n * Returns the bound address, the address family name, and port of the server\n * as reported by the operating system if listening on an IP socket.\n * If the server is listening on a pipe or UNIX domain socket, the name is\n * returned as a string.\n *\n * @return {(Object|String|null)} The address of the server\n * @public\n */\n address() {\n if (this.options.noServer) {\n throw new Error('The server is operating in \"noServer\" mode');\n }\n\n if (!this._server) return null;\n return this._server.address();\n }\n\n /**\n * Close the server.\n *\n * @param {Function} [cb] Callback\n * @public\n */\n close(cb) {\n if (cb) this.once('close', cb);\n\n if (this._state === CLOSED) {\n process.nextTick(emitClose, this);\n return;\n }\n\n if (this._state === CLOSING) return;\n this._state = CLOSING;\n\n //\n // Terminate all associated clients.\n //\n if (this.clients) {\n for (const client of this.clients) client.terminate();\n }\n\n const server = this._server;\n\n if (server) {\n this._removeListeners();\n this._removeListeners = this._server = null;\n\n //\n // Close the http server if it was internally created.\n //\n if (this.options.port != null) {\n server.close(emitClose.bind(undefined, this));\n return;\n }\n }\n\n process.nextTick(emitClose, this);\n }\n\n /**\n * See if a given request should be handled by this server instance.\n *\n * @param {http.IncomingMessage} req Request object to inspect\n * @return {Boolean} `true` if the request is valid, else `false`\n * @public\n */\n shouldHandle(req) {\n if (this.options.path) {\n const index = req.url.indexOf('?');\n const pathname = index !== -1 ? req.url.slice(0, index) : req.url;\n\n if (pathname !== this.options.path) return false;\n }\n\n return true;\n }\n\n /**\n * Handle a HTTP Upgrade request.\n *\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @public\n */\n handleUpgrade(req, socket, head, cb) {\n socket.on('error', socketOnError);\n\n const key =\n req.headers['sec-websocket-key'] !== undefined\n ? req.headers['sec-websocket-key'].trim()\n : false;\n const version = +req.headers['sec-websocket-version'];\n const extensions = {};\n\n if (\n req.method !== 'GET' ||\n req.headers.upgrade.toLowerCase() !== 'websocket' ||\n !key ||\n !keyRegex.test(key) ||\n (version !== 8 && version !== 13) ||\n !this.shouldHandle(req)\n ) {\n return abortHandshake(socket, 400);\n }\n\n if (this.options.perMessageDeflate) {\n const perMessageDeflate = new PerMessageDeflate(\n this.options.perMessageDeflate,\n true,\n this.options.maxPayload\n );\n\n try {\n const offers = parse(req.headers['sec-websocket-extensions']);\n\n if (offers[PerMessageDeflate.extensionName]) {\n perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]);\n extensions[PerMessageDeflate.extensionName] = perMessageDeflate;\n }\n } catch (err) {\n return abortHandshake(socket, 400);\n }\n }\n\n //\n // Optionally call external client verification handler.\n //\n if (this.options.verifyClient) {\n const info = {\n origin:\n req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`],\n secure: !!(req.socket.authorized || req.socket.encrypted),\n req\n };\n\n if (this.options.verifyClient.length === 2) {\n this.options.verifyClient(info, (verified, code, message, headers) => {\n if (!verified) {\n return abortHandshake(socket, code || 401, message, headers);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n });\n return;\n }\n\n if (!this.options.verifyClient(info)) return abortHandshake(socket, 401);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n }\n\n /**\n * Upgrade the connection to WebSocket.\n *\n * @param {String} key The value of the `Sec-WebSocket-Key` header\n * @param {Object} extensions The accepted extensions\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @throws {Error} If called more than once with the same socket\n * @private\n */\n completeUpgrade(key, extensions, req, socket, head, cb) {\n //\n // Destroy the socket if the client has already sent a FIN packet.\n //\n if (!socket.readable || !socket.writable) return socket.destroy();\n\n if (socket[kWebSocket]) {\n throw new Error(\n 'server.handleUpgrade() was called more than once with the same ' +\n 'socket, possibly due to a misconfiguration'\n );\n }\n\n if (this._state > RUNNING) return abortHandshake(socket, 503);\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n const headers = [\n 'HTTP/1.1 101 Switching Protocols',\n 'Upgrade: websocket',\n 'Connection: Upgrade',\n `Sec-WebSocket-Accept: ${digest}`\n ];\n\n const ws = new WebSocket(null);\n let protocol = req.headers['sec-websocket-protocol'];\n\n if (protocol) {\n protocol = protocol.split(',').map(trim);\n\n //\n // Optionally call external protocol selection handler.\n //\n if (this.options.handleProtocols) {\n protocol = this.options.handleProtocols(protocol, req);\n } else {\n protocol = protocol[0];\n }\n\n if (protocol) {\n headers.push(`Sec-WebSocket-Protocol: ${protocol}`);\n ws._protocol = protocol;\n }\n }\n\n if (extensions[PerMessageDeflate.extensionName]) {\n const params = extensions[PerMessageDeflate.extensionName].params;\n const value = format({\n [PerMessageDeflate.extensionName]: [params]\n });\n headers.push(`Sec-WebSocket-Extensions: ${value}`);\n ws._extensions = extensions;\n }\n\n //\n // Allow external modification/inspection of handshake headers.\n //\n this.emit('headers', headers, req);\n\n socket.write(headers.concat('\\r\\n').join('\\r\\n'));\n socket.removeListener('error', socketOnError);\n\n ws.setSocket(socket, head, this.options.maxPayload);\n\n if (this.clients) {\n this.clients.add(ws);\n ws.on('close', () => this.clients.delete(ws));\n }\n\n cb(ws, req);\n }\n}\n\nmodule.exports = WebSocketServer;\n\n/**\n * Add event listeners on an `EventEmitter` using a map of \n * pairs.\n *\n * @param {EventEmitter} server The event emitter\n * @param {Object.} map The listeners to add\n * @return {Function} A function that will remove the added listeners when\n * called\n * @private\n */\nfunction addListeners(server, map) {\n for (const event of Object.keys(map)) server.on(event, map[event]);\n\n return function removeListeners() {\n for (const event of Object.keys(map)) {\n server.removeListener(event, map[event]);\n }\n };\n}\n\n/**\n * Emit a `'close'` event on an `EventEmitter`.\n *\n * @param {EventEmitter} server The event emitter\n * @private\n */\nfunction emitClose(server) {\n server._state = CLOSED;\n server.emit('close');\n}\n\n/**\n * Handle premature socket errors.\n *\n * @private\n */\nfunction socketOnError() {\n this.destroy();\n}\n\n/**\n * Close the connection when preconditions are not fulfilled.\n *\n * @param {(net.Socket|tls.Socket)} socket The socket of the upgrade request\n * @param {Number} code The HTTP response status code\n * @param {String} [message] The HTTP response body\n * @param {Object} [headers] Additional HTTP response headers\n * @private\n */\nfunction abortHandshake(socket, code, message, headers) {\n if (socket.writable) {\n message = message || http.STATUS_CODES[code];\n headers = {\n Connection: 'close',\n 'Content-Type': 'text/html',\n 'Content-Length': Buffer.byteLength(message),\n ...headers\n };\n\n socket.write(\n `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\\r\\n` +\n Object.keys(headers)\n .map((h) => `${h}: ${headers[h]}`)\n .join('\\r\\n') +\n '\\r\\n\\r\\n' +\n message\n );\n }\n\n socket.removeListener('error', socketOnError);\n socket.destroy();\n}\n\n/**\n * Remove whitespace characters from both ends of a string.\n *\n * @param {String} str The string\n * @return {String} A new string representing `str` stripped of whitespace\n * characters from both its beginning and end\n * @private\n */\nfunction trim(str) {\n return str.trim();\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^Readable$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst https = require('https');\nconst http = require('http');\nconst net = require('net');\nconst tls = require('tls');\nconst { randomBytes, createHash } = require('crypto');\nconst { Readable } = require('stream');\nconst { URL } = require('url');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst Receiver = require('./receiver');\nconst Sender = require('./sender');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n GUID,\n kStatusCode,\n kWebSocket,\n NOOP\n} = require('./constants');\nconst { addEventListener, removeEventListener } = require('./event-target');\nconst { format, parse } = require('./extension');\nconst { toBuffer } = require('./buffer-util');\n\nconst readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];\nconst protocolVersions = [8, 13];\nconst closeTimeout = 30 * 1000;\n\n/**\n * Class representing a WebSocket.\n *\n * @extends EventEmitter\n */\nclass WebSocket extends EventEmitter {\n /**\n * Create a new `WebSocket`.\n *\n * @param {(String|URL)} address The URL to which to connect\n * @param {(String|String[])} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n */\n constructor(address, protocols, options) {\n super();\n\n this._binaryType = BINARY_TYPES[0];\n this._closeCode = 1006;\n this._closeFrameReceived = false;\n this._closeFrameSent = false;\n this._closeMessage = '';\n this._closeTimer = null;\n this._extensions = {};\n this._protocol = '';\n this._readyState = WebSocket.CONNECTING;\n this._receiver = null;\n this._sender = null;\n this._socket = null;\n\n if (address !== null) {\n this._bufferedAmount = 0;\n this._isServer = false;\n this._redirects = 0;\n\n if (Array.isArray(protocols)) {\n protocols = protocols.join(', ');\n } else if (typeof protocols === 'object' && protocols !== null) {\n options = protocols;\n protocols = undefined;\n }\n\n initAsClient(this, address, protocols, options);\n } else {\n this._isServer = true;\n }\n }\n\n /**\n * This deviates from the WHATWG interface since ws doesn't support the\n * required default \"blob\" type (instead we define a custom \"nodebuffer\"\n * type).\n *\n * @type {String}\n */\n get binaryType() {\n return this._binaryType;\n }\n\n set binaryType(type) {\n if (!BINARY_TYPES.includes(type)) return;\n\n this._binaryType = type;\n\n //\n // Allow to change `binaryType` on the fly.\n //\n if (this._receiver) this._receiver._binaryType = type;\n }\n\n /**\n * @type {Number}\n */\n get bufferedAmount() {\n if (!this._socket) return this._bufferedAmount;\n\n return this._socket._writableState.length + this._sender._bufferedBytes;\n }\n\n /**\n * @type {String}\n */\n get extensions() {\n return Object.keys(this._extensions).join();\n }\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onclose() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onclose(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onerror() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onerror(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onopen() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onopen(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onmessage() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onmessage(listener) {}\n\n /**\n * @type {String}\n */\n get protocol() {\n return this._protocol;\n }\n\n /**\n * @type {Number}\n */\n get readyState() {\n return this._readyState;\n }\n\n /**\n * @type {String}\n */\n get url() {\n return this._url;\n }\n\n /**\n * Set up the socket and the internal resources.\n *\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Number} [maxPayload=0] The maximum allowed message size\n * @private\n */\n setSocket(socket, head, maxPayload) {\n const receiver = new Receiver(\n this.binaryType,\n this._extensions,\n this._isServer,\n maxPayload\n );\n\n this._sender = new Sender(socket, this._extensions);\n this._receiver = receiver;\n this._socket = socket;\n\n receiver[kWebSocket] = this;\n socket[kWebSocket] = this;\n\n receiver.on('conclude', receiverOnConclude);\n receiver.on('drain', receiverOnDrain);\n receiver.on('error', receiverOnError);\n receiver.on('message', receiverOnMessage);\n receiver.on('ping', receiverOnPing);\n receiver.on('pong', receiverOnPong);\n\n socket.setTimeout(0);\n socket.setNoDelay();\n\n if (head.length > 0) socket.unshift(head);\n\n socket.on('close', socketOnClose);\n socket.on('data', socketOnData);\n socket.on('end', socketOnEnd);\n socket.on('error', socketOnError);\n\n this._readyState = WebSocket.OPEN;\n this.emit('open');\n }\n\n /**\n * Emit the `'close'` event.\n *\n * @private\n */\n emitClose() {\n if (!this._socket) {\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n return;\n }\n\n if (this._extensions[PerMessageDeflate.extensionName]) {\n this._extensions[PerMessageDeflate.extensionName].cleanup();\n }\n\n this._receiver.removeAllListeners();\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n }\n\n /**\n * Start a closing handshake.\n *\n * +----------+ +-----------+ +----------+\n * - - -|ws.close()|-->|close frame|-->|ws.close()|- - -\n * | +----------+ +-----------+ +----------+ |\n * +----------+ +-----------+ |\n * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING\n * +----------+ +-----------+ |\n * | | | +---+ |\n * +------------------------+-->|fin| - - - -\n * | +---+ | +---+\n * - - - - -|fin|<---------------------+\n * +---+\n *\n * @param {Number} [code] Status code explaining why the connection is closing\n * @param {String} [data] A string explaining why the connection is closing\n * @public\n */\n close(code, data) {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this.readyState === WebSocket.CLOSING) {\n if (\n this._closeFrameSent &&\n (this._closeFrameReceived || this._receiver._writableState.errorEmitted)\n ) {\n this._socket.end();\n }\n\n return;\n }\n\n this._readyState = WebSocket.CLOSING;\n this._sender.close(code, data, !this._isServer, (err) => {\n //\n // This error is handled by the `'error'` listener on the socket. We only\n // want to know if the close frame has been sent here.\n //\n if (err) return;\n\n this._closeFrameSent = true;\n\n if (\n this._closeFrameReceived ||\n this._receiver._writableState.errorEmitted\n ) {\n this._socket.end();\n }\n });\n\n //\n // Specify a timeout for the closing handshake to complete.\n //\n this._closeTimer = setTimeout(\n this._socket.destroy.bind(this._socket),\n closeTimeout\n );\n }\n\n /**\n * Send a ping.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the ping is sent\n * @public\n */\n ping(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.ping(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a pong.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the pong is sent\n * @public\n */\n pong(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.pong(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a data message.\n *\n * @param {*} data The message to send\n * @param {Object} [options] Options object\n * @param {Boolean} [options.compress] Specifies whether or not to compress\n * `data`\n * @param {Boolean} [options.binary] Specifies whether `data` is binary or\n * text\n * @param {Boolean} [options.fin=true] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when data is written out\n * @public\n */\n send(data, options, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof options === 'function') {\n cb = options;\n options = {};\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n const opts = {\n binary: typeof data !== 'string',\n mask: !this._isServer,\n compress: true,\n fin: true,\n ...options\n };\n\n if (!this._extensions[PerMessageDeflate.extensionName]) {\n opts.compress = false;\n }\n\n this._sender.send(data || EMPTY_BUFFER, opts, cb);\n }\n\n /**\n * Forcibly close the connection.\n *\n * @public\n */\n terminate() {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this._socket) {\n this._readyState = WebSocket.CLOSING;\n this._socket.destroy();\n }\n }\n}\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n[\n 'binaryType',\n 'bufferedAmount',\n 'extensions',\n 'protocol',\n 'readyState',\n 'url'\n].forEach((property) => {\n Object.defineProperty(WebSocket.prototype, property, { enumerable: true });\n});\n\n//\n// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.\n// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface\n//\n['open', 'error', 'close', 'message'].forEach((method) => {\n Object.defineProperty(WebSocket.prototype, `on${method}`, {\n enumerable: true,\n get() {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i]._listener) return listeners[i]._listener;\n }\n\n return undefined;\n },\n set(listener) {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n //\n // Remove only the listeners added via `addEventListener`.\n //\n if (listeners[i]._listener) this.removeListener(method, listeners[i]);\n }\n this.addEventListener(method, listener);\n }\n });\n});\n\nWebSocket.prototype.addEventListener = addEventListener;\nWebSocket.prototype.removeEventListener = removeEventListener;\n\nmodule.exports = WebSocket;\n\n/**\n * Initialize a WebSocket client.\n *\n * @param {WebSocket} websocket The client to initialize\n * @param {(String|URL)} address The URL to which to connect\n * @param {String} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable\n * permessage-deflate\n * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the\n * handshake request\n * @param {Number} [options.protocolVersion=13] Value of the\n * `Sec-WebSocket-Version` header\n * @param {String} [options.origin] Value of the `Origin` or\n * `Sec-WebSocket-Origin` header\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.followRedirects=false] Whether or not to follow\n * redirects\n * @param {Number} [options.maxRedirects=10] The maximum number of redirects\n * allowed\n * @private\n */\nfunction initAsClient(websocket, address, protocols, options) {\n const opts = {\n protocolVersion: protocolVersions[1],\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: true,\n followRedirects: false,\n maxRedirects: 10,\n ...options,\n createConnection: undefined,\n socketPath: undefined,\n hostname: undefined,\n protocol: undefined,\n timeout: undefined,\n method: undefined,\n host: undefined,\n path: undefined,\n port: undefined\n };\n\n if (!protocolVersions.includes(opts.protocolVersion)) {\n throw new RangeError(\n `Unsupported protocol version: ${opts.protocolVersion} ` +\n `(supported versions: ${protocolVersions.join(', ')})`\n );\n }\n\n let parsedUrl;\n\n if (address instanceof URL) {\n parsedUrl = address;\n websocket._url = address.href;\n } else {\n parsedUrl = new URL(address);\n websocket._url = address;\n }\n\n const isUnixSocket = parsedUrl.protocol === 'ws+unix:';\n\n if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) {\n const err = new Error(`Invalid URL: ${websocket.url}`);\n\n if (websocket._redirects === 0) {\n throw err;\n } else {\n emitErrorAndClose(websocket, err);\n return;\n }\n }\n\n const isSecure =\n parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:';\n const defaultPort = isSecure ? 443 : 80;\n const key = randomBytes(16).toString('base64');\n const get = isSecure ? https.get : http.get;\n let perMessageDeflate;\n\n opts.createConnection = isSecure ? tlsConnect : netConnect;\n opts.defaultPort = opts.defaultPort || defaultPort;\n opts.port = parsedUrl.port || defaultPort;\n opts.host = parsedUrl.hostname.startsWith('[')\n ? parsedUrl.hostname.slice(1, -1)\n : parsedUrl.hostname;\n opts.headers = {\n 'Sec-WebSocket-Version': opts.protocolVersion,\n 'Sec-WebSocket-Key': key,\n Connection: 'Upgrade',\n Upgrade: 'websocket',\n ...opts.headers\n };\n opts.path = parsedUrl.pathname + parsedUrl.search;\n opts.timeout = opts.handshakeTimeout;\n\n if (opts.perMessageDeflate) {\n perMessageDeflate = new PerMessageDeflate(\n opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},\n false,\n opts.maxPayload\n );\n opts.headers['Sec-WebSocket-Extensions'] = format({\n [PerMessageDeflate.extensionName]: perMessageDeflate.offer()\n });\n }\n if (protocols) {\n opts.headers['Sec-WebSocket-Protocol'] = protocols;\n }\n if (opts.origin) {\n if (opts.protocolVersion < 13) {\n opts.headers['Sec-WebSocket-Origin'] = opts.origin;\n } else {\n opts.headers.Origin = opts.origin;\n }\n }\n if (parsedUrl.username || parsedUrl.password) {\n opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;\n }\n\n if (isUnixSocket) {\n const parts = opts.path.split(':');\n\n opts.socketPath = parts[0];\n opts.path = parts[1];\n }\n\n if (opts.followRedirects) {\n if (websocket._redirects === 0) {\n websocket._originalUnixSocket = isUnixSocket;\n websocket._originalSecure = isSecure;\n websocket._originalHostOrSocketPath = isUnixSocket\n ? opts.socketPath\n : parsedUrl.host;\n\n const headers = options && options.headers;\n\n //\n // Shallow copy the user provided options so that headers can be changed\n // without mutating the original object.\n //\n options = { ...options, headers: {} };\n\n if (headers) {\n for (const [key, value] of Object.entries(headers)) {\n options.headers[key.toLowerCase()] = value;\n }\n }\n } else {\n const isSameHost = isUnixSocket\n ? websocket._originalUnixSocket\n ? opts.socketPath === websocket._originalHostOrSocketPath\n : false\n : websocket._originalUnixSocket\n ? false\n : parsedUrl.host === websocket._originalHostOrSocketPath;\n\n if (!isSameHost || (websocket._originalSecure && !isSecure)) {\n //\n // Match curl 7.77.0 behavior and drop the following headers. These\n // headers are also dropped when following a redirect to a subdomain.\n //\n delete opts.headers.authorization;\n delete opts.headers.cookie;\n\n if (!isSameHost) delete opts.headers.host;\n\n opts.auth = undefined;\n }\n }\n\n //\n // Match curl 7.77.0 behavior and make the first `Authorization` header win.\n // If the `Authorization` header is set, then there is nothing to do as it\n // will take precedence.\n //\n if (opts.auth && !options.headers.authorization) {\n options.headers.authorization =\n 'Basic ' + Buffer.from(opts.auth).toString('base64');\n }\n }\n\n let req = (websocket._req = get(opts));\n\n if (opts.timeout) {\n req.on('timeout', () => {\n abortHandshake(websocket, req, 'Opening handshake has timed out');\n });\n }\n\n req.on('error', (err) => {\n if (req === null || req.aborted) return;\n\n req = websocket._req = null;\n emitErrorAndClose(websocket, err);\n });\n\n req.on('response', (res) => {\n const location = res.headers.location;\n const statusCode = res.statusCode;\n\n if (\n location &&\n opts.followRedirects &&\n statusCode >= 300 &&\n statusCode < 400\n ) {\n if (++websocket._redirects > opts.maxRedirects) {\n abortHandshake(websocket, req, 'Maximum redirects exceeded');\n return;\n }\n\n req.abort();\n\n let addr;\n\n try {\n addr = new URL(location, address);\n } catch (err) {\n emitErrorAndClose(websocket, err);\n return;\n }\n\n initAsClient(websocket, addr, protocols, options);\n } else if (!websocket.emit('unexpected-response', req, res)) {\n abortHandshake(\n websocket,\n req,\n `Unexpected server response: ${res.statusCode}`\n );\n }\n });\n\n req.on('upgrade', (res, socket, head) => {\n websocket.emit('upgrade', res);\n\n //\n // The user may have closed the connection from a listener of the `upgrade`\n // event.\n //\n if (websocket.readyState !== WebSocket.CONNECTING) return;\n\n req = websocket._req = null;\n\n if (res.headers.upgrade.toLowerCase() !== 'websocket') {\n abortHandshake(websocket, socket, 'Invalid Upgrade header');\n return;\n }\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n if (res.headers['sec-websocket-accept'] !== digest) {\n abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');\n return;\n }\n\n const serverProt = res.headers['sec-websocket-protocol'];\n const protList = (protocols || '').split(/, */);\n let protError;\n\n if (!protocols && serverProt) {\n protError = 'Server sent a subprotocol but none was requested';\n } else if (protocols && !serverProt) {\n protError = 'Server sent no subprotocol';\n } else if (serverProt && !protList.includes(serverProt)) {\n protError = 'Server sent an invalid subprotocol';\n }\n\n if (protError) {\n abortHandshake(websocket, socket, protError);\n return;\n }\n\n if (serverProt) websocket._protocol = serverProt;\n\n const secWebSocketExtensions = res.headers['sec-websocket-extensions'];\n\n if (secWebSocketExtensions !== undefined) {\n if (!perMessageDeflate) {\n const message =\n 'Server sent a Sec-WebSocket-Extensions header but no extension ' +\n 'was requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n let extensions;\n\n try {\n extensions = parse(secWebSocketExtensions);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n const extensionNames = Object.keys(extensions);\n\n if (extensionNames.length) {\n if (\n extensionNames.length !== 1 ||\n extensionNames[0] !== PerMessageDeflate.extensionName\n ) {\n const message =\n 'Server indicated an extension that was not requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n try {\n perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n websocket._extensions[PerMessageDeflate.extensionName] =\n perMessageDeflate;\n }\n }\n\n websocket.setSocket(socket, head, opts.maxPayload);\n });\n}\n\n/**\n * Emit the `'error'` and `'close'` event.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {Error} The error to emit\n * @private\n */\nfunction emitErrorAndClose(websocket, err) {\n websocket._readyState = WebSocket.CLOSING;\n websocket.emit('error', err);\n websocket.emitClose();\n}\n\n/**\n * Create a `net.Socket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {net.Socket} The newly created socket used to start the connection\n * @private\n */\nfunction netConnect(options) {\n options.path = options.socketPath;\n return net.connect(options);\n}\n\n/**\n * Create a `tls.TLSSocket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {tls.TLSSocket} The newly created socket used to start the connection\n * @private\n */\nfunction tlsConnect(options) {\n options.path = undefined;\n\n if (!options.servername && options.servername !== '') {\n options.servername = net.isIP(options.host) ? '' : options.host;\n }\n\n return tls.connect(options);\n}\n\n/**\n * Abort the handshake and emit an error.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to\n * abort or the socket to destroy\n * @param {String} message The error message\n * @private\n */\nfunction abortHandshake(websocket, stream, message) {\n websocket._readyState = WebSocket.CLOSING;\n\n const err = new Error(message);\n Error.captureStackTrace(err, abortHandshake);\n\n if (stream.setHeader) {\n stream.abort();\n\n if (stream.socket && !stream.socket.destroyed) {\n //\n // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if\n // called after the request completed. See\n // https://github.com/websockets/ws/issues/1869.\n //\n stream.socket.destroy();\n }\n\n stream.once('abort', websocket.emitClose.bind(websocket));\n websocket.emit('error', err);\n } else {\n stream.destroy(err);\n stream.once('error', websocket.emit.bind(websocket, 'error'));\n stream.once('close', websocket.emitClose.bind(websocket));\n }\n}\n\n/**\n * Handle cases where the `ping()`, `pong()`, or `send()` methods are called\n * when the `readyState` attribute is `CLOSING` or `CLOSED`.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {*} [data] The data to send\n * @param {Function} [cb] Callback\n * @private\n */\nfunction sendAfterClose(websocket, data, cb) {\n if (data) {\n const length = toBuffer(data).length;\n\n //\n // The `_bufferedAmount` property is used only when the peer is a client and\n // the opening handshake fails. Under these circumstances, in fact, the\n // `setSocket()` method is not called, so the `_socket` and `_sender`\n // properties are set to `null`.\n //\n if (websocket._socket) websocket._sender._bufferedBytes += length;\n else websocket._bufferedAmount += length;\n }\n\n if (cb) {\n const err = new Error(\n `WebSocket is not open: readyState ${websocket.readyState} ` +\n `(${readyStates[websocket.readyState]})`\n );\n cb(err);\n }\n}\n\n/**\n * The listener of the `Receiver` `'conclude'` event.\n *\n * @param {Number} code The status code\n * @param {String} reason The reason for closing\n * @private\n */\nfunction receiverOnConclude(code, reason) {\n const websocket = this[kWebSocket];\n\n websocket._closeFrameReceived = true;\n websocket._closeMessage = reason;\n websocket._closeCode = code;\n\n if (websocket._socket[kWebSocket] === undefined) return;\n\n websocket._socket.removeListener('data', socketOnData);\n process.nextTick(resume, websocket._socket);\n\n if (code === 1005) websocket.close();\n else websocket.close(code, reason);\n}\n\n/**\n * The listener of the `Receiver` `'drain'` event.\n *\n * @private\n */\nfunction receiverOnDrain() {\n this[kWebSocket]._socket.resume();\n}\n\n/**\n * The listener of the `Receiver` `'error'` event.\n *\n * @param {(RangeError|Error)} err The emitted error\n * @private\n */\nfunction receiverOnError(err) {\n const websocket = this[kWebSocket];\n\n if (websocket._socket[kWebSocket] !== undefined) {\n websocket._socket.removeListener('data', socketOnData);\n\n //\n // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See\n // https://github.com/websockets/ws/issues/1940.\n //\n process.nextTick(resume, websocket._socket);\n\n websocket.close(err[kStatusCode]);\n }\n\n websocket.emit('error', err);\n}\n\n/**\n * The listener of the `Receiver` `'finish'` event.\n *\n * @private\n */\nfunction receiverOnFinish() {\n this[kWebSocket].emitClose();\n}\n\n/**\n * The listener of the `Receiver` `'message'` event.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message\n * @private\n */\nfunction receiverOnMessage(data) {\n this[kWebSocket].emit('message', data);\n}\n\n/**\n * The listener of the `Receiver` `'ping'` event.\n *\n * @param {Buffer} data The data included in the ping frame\n * @private\n */\nfunction receiverOnPing(data) {\n const websocket = this[kWebSocket];\n\n websocket.pong(data, !websocket._isServer, NOOP);\n websocket.emit('ping', data);\n}\n\n/**\n * The listener of the `Receiver` `'pong'` event.\n *\n * @param {Buffer} data The data included in the pong frame\n * @private\n */\nfunction receiverOnPong(data) {\n this[kWebSocket].emit('pong', data);\n}\n\n/**\n * Resume a readable stream\n *\n * @param {Readable} stream The readable stream\n * @private\n */\nfunction resume(stream) {\n stream.resume();\n}\n\n/**\n * The listener of the `net.Socket` `'close'` event.\n *\n * @private\n */\nfunction socketOnClose() {\n const websocket = this[kWebSocket];\n\n this.removeListener('close', socketOnClose);\n this.removeListener('data', socketOnData);\n this.removeListener('end', socketOnEnd);\n\n websocket._readyState = WebSocket.CLOSING;\n\n let chunk;\n\n //\n // The close frame might not have been received or the `'end'` event emitted,\n // for example, if the socket was destroyed due to an error. Ensure that the\n // `receiver` stream is closed after writing any remaining buffered data to\n // it. If the readable side of the socket is in flowing mode then there is no\n // buffered data as everything has been already written and `readable.read()`\n // will return `null`. If instead, the socket is paused, any possible buffered\n // data will be read as a single chunk.\n //\n if (\n !this._readableState.endEmitted &&\n !websocket._closeFrameReceived &&\n !websocket._receiver._writableState.errorEmitted &&\n (chunk = websocket._socket.read()) !== null\n ) {\n websocket._receiver.write(chunk);\n }\n\n websocket._receiver.end();\n\n this[kWebSocket] = undefined;\n\n clearTimeout(websocket._closeTimer);\n\n if (\n websocket._receiver._writableState.finished ||\n websocket._receiver._writableState.errorEmitted\n ) {\n websocket.emitClose();\n } else {\n websocket._receiver.on('error', receiverOnFinish);\n websocket._receiver.on('finish', receiverOnFinish);\n }\n}\n\n/**\n * The listener of the `net.Socket` `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction socketOnData(chunk) {\n if (!this[kWebSocket]._receiver.write(chunk)) {\n this.pause();\n }\n}\n\n/**\n * The listener of the `net.Socket` `'end'` event.\n *\n * @private\n */\nfunction socketOnEnd() {\n const websocket = this[kWebSocket];\n\n websocket._readyState = WebSocket.CLOSING;\n websocket._receiver.end();\n this.end();\n}\n\n/**\n * The listener of the `net.Socket` `'error'` event.\n *\n * @private\n */\nfunction socketOnError() {\n const websocket = this[kWebSocket];\n\n this.removeListener('error', socketOnError);\n this.on('error', NOOP);\n\n if (websocket) {\n websocket._readyState = WebSocket.CLOSING;\n this.destroy();\n }\n}\n","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"cluster\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/nanoid/nanoid\",\"webpack/sharing/consume/default/kafkajs/kafkajs\",\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\",\"webpack/sharing/consume/default/axios/axios?5c0e\",\"webpack/sharing/consume/default/multicast-dns/multicast-dns\",\"webpack/sharing/consume/default/axios/axios?5326\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\n// no chunk loading of consumes","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(\"./node_modules/@babel/polyfill/lib/index.js\");\nreturn __webpack_require__(\"./src/index.js\");\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://aegis-app/./node_modules/@babel/polyfill/lib/index.js","webpack://aegis-app/./node_modules/@babel/polyfill/lib/noConflict.js","webpack://aegis-app/./node_modules/@leichtgewicht/ip-codec/index.cjs","webpack://aegis-app/./node_modules/axios-retry/index.js","webpack://aegis-app/./node_modules/axios-retry/lib/index.js","webpack://aegis-app/./node_modules/axios/index.js","webpack://aegis-app/./node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/axios/lib/defaults.js","webpack://aegis-app/./node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/axios/lib/utils.js","webpack://aegis-app/./src/adapters/address-adapter.js","webpack://aegis-app/./src/adapters/dam-api.js","webpack://aegis-app/./src/adapters/datasources/datasource-mongodb.js","webpack://aegis-app/./src/adapters/event-adapter.js","webpack://aegis-app/./src/adapters/index.js","webpack://aegis-app/./src/adapters/inventory-adapter.js","webpack://aegis-app/./src/adapters/order-adapter.js","webpack://aegis-app/./src/adapters/payment-adapter.js","webpack://aegis-app/./src/adapters/qe-public-ipaddr.js","webpack://aegis-app/./src/adapters/service-locator.js","webpack://aegis-app/./src/adapters/shipping-adapter.js","webpack://aegis-app/./src/adapters/ticket-master.js","webpack://aegis-app/./src/adapters/wasm-public-ipaddr.js","webpack://aegis-app/./src/adapters/websocket-adapter.js","webpack://aegis-app/./src/config/customer.js","webpack://aegis-app/./src/config/index.js","webpack://aegis-app/./src/config/inventory.js","webpack://aegis-app/./src/config/order.js","webpack://aegis-app/./src/config/webswitch.js","webpack://aegis-app/./src/domain/bind-adapters.js","webpack://aegis-app/./src/domain/check-payload.js","webpack://aegis-app/./src/domain/customer.js","webpack://aegis-app/./src/domain/index.js","webpack://aegis-app/./src/domain/inventory.js","webpack://aegis-app/./src/domain/mixins.js","webpack://aegis-app/./src/domain/order.js","webpack://aegis-app/./src/domain/ports.js","webpack://aegis-app/./src/domain/utils.js","webpack://aegis-app/./src/event-dispatcher.js","webpack://aegis-app/./src/index.js","webpack://aegis-app/./src/service-registry.js","webpack://aegis-app/./src/services/address-service.js","webpack://aegis-app/./src/services/event-bus.js","webpack://aegis-app/./src/services/event-service.js","webpack://aegis-app/./src/services/index.js","webpack://aegis-app/./src/services/inventory-service.js","webpack://aegis-app/./src/services/payment-service.js","webpack://aegis-app/./src/services/shipping-service.js","webpack://aegis-app/./node_modules/bufferutil/fallback.js","webpack://aegis-app/./node_modules/bufferutil/index.js","webpack://aegis-app/./node_modules/cookie-signature/index.js","webpack://aegis-app/./node_modules/cookie/index.js","webpack://aegis-app/./node_modules/core-js/es6/index.js","webpack://aegis-app/./node_modules/core-js/fn/array/flat-map.js","webpack://aegis-app/./node_modules/core-js/fn/array/includes.js","webpack://aegis-app/./node_modules/core-js/fn/object/entries.js","webpack://aegis-app/./node_modules/core-js/fn/object/get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/fn/object/values.js","webpack://aegis-app/./node_modules/core-js/fn/promise/finally.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/pad-start.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-end.js","webpack://aegis-app/./node_modules/core-js/fn/string/trim-start.js","webpack://aegis-app/./node_modules/core-js/fn/symbol/async-iterator.js","webpack://aegis-app/./node_modules/core-js/library/fn/global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/library/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_core.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/library/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/library/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/library/modules/_export.js","webpack://aegis-app/./node_modules/core-js/library/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/library/modules/_global.js","webpack://aegis-app/./node_modules/core-js/library/modules/_has.js","webpack://aegis-app/./node_modules/core-js/library/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/library/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/library/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/library/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/library/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/library/modules/es7.global.js","webpack://aegis-app/./node_modules/core-js/modules/_a-function.js","webpack://aegis-app/./node_modules/core-js/modules/_a-number-value.js","webpack://aegis-app/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://aegis-app/./node_modules/core-js/modules/_advance-string-index.js","webpack://aegis-app/./node_modules/core-js/modules/_an-instance.js","webpack://aegis-app/./node_modules/core-js/modules/_an-object.js","webpack://aegis-app/./node_modules/core-js/modules/_array-copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/_array-fill.js","webpack://aegis-app/./node_modules/core-js/modules/_array-includes.js","webpack://aegis-app/./node_modules/core-js/modules/_array-methods.js","webpack://aegis-app/./node_modules/core-js/modules/_array-reduce.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_array-species-create.js","webpack://aegis-app/./node_modules/core-js/modules/_bind.js","webpack://aegis-app/./node_modules/core-js/modules/_classof.js","webpack://aegis-app/./node_modules/core-js/modules/_cof.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-strong.js","webpack://aegis-app/./node_modules/core-js/modules/_collection-weak.js","webpack://aegis-app/./node_modules/core-js/modules/_collection.js","webpack://aegis-app/./node_modules/core-js/modules/_core.js","webpack://aegis-app/./node_modules/core-js/modules/_create-property.js","webpack://aegis-app/./node_modules/core-js/modules/_ctx.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/_date-to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_defined.js","webpack://aegis-app/./node_modules/core-js/modules/_descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/_dom-create.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_enum-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_export.js","webpack://aegis-app/./node_modules/core-js/modules/_fails-is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_fails.js","webpack://aegis-app/./node_modules/core-js/modules/_fix-re-wks.js","webpack://aegis-app/./node_modules/core-js/modules/_flags.js","webpack://aegis-app/./node_modules/core-js/modules/_flatten-into-array.js","webpack://aegis-app/./node_modules/core-js/modules/_for-of.js","webpack://aegis-app/./node_modules/core-js/modules/_function-to-string.js","webpack://aegis-app/./node_modules/core-js/modules/_global.js","webpack://aegis-app/./node_modules/core-js/modules/_has.js","webpack://aegis-app/./node_modules/core-js/modules/_hide.js","webpack://aegis-app/./node_modules/core-js/modules/_html.js","webpack://aegis-app/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://aegis-app/./node_modules/core-js/modules/_inherit-if-required.js","webpack://aegis-app/./node_modules/core-js/modules/_invoke.js","webpack://aegis-app/./node_modules/core-js/modules/_iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array-iter.js","webpack://aegis-app/./node_modules/core-js/modules/_is-array.js","webpack://aegis-app/./node_modules/core-js/modules/_is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_is-object.js","webpack://aegis-app/./node_modules/core-js/modules/_is-regexp.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-call.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-create.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-define.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-detect.js","webpack://aegis-app/./node_modules/core-js/modules/_iter-step.js","webpack://aegis-app/./node_modules/core-js/modules/_iterators.js","webpack://aegis-app/./node_modules/core-js/modules/_library.js","webpack://aegis-app/./node_modules/core-js/modules/_math-expm1.js","webpack://aegis-app/./node_modules/core-js/modules/_math-fround.js","webpack://aegis-app/./node_modules/core-js/modules/_math-log1p.js","webpack://aegis-app/./node_modules/core-js/modules/_math-sign.js","webpack://aegis-app/./node_modules/core-js/modules/_meta.js","webpack://aegis-app/./node_modules/core-js/modules/_microtask.js","webpack://aegis-app/./node_modules/core-js/modules/_new-promise-capability.js","webpack://aegis-app/./node_modules/core-js/modules/_object-assign.js","webpack://aegis-app/./node_modules/core-js/modules/_object-create.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dp.js","webpack://aegis-app/./node_modules/core-js/modules/_object-dps.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopd.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gopn.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gops.js","webpack://aegis-app/./node_modules/core-js/modules/_object-gpo.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys-internal.js","webpack://aegis-app/./node_modules/core-js/modules/_object-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_object-pie.js","webpack://aegis-app/./node_modules/core-js/modules/_object-sap.js","webpack://aegis-app/./node_modules/core-js/modules/_object-to-array.js","webpack://aegis-app/./node_modules/core-js/modules/_own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/_parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/_perform.js","webpack://aegis-app/./node_modules/core-js/modules/_promise-resolve.js","webpack://aegis-app/./node_modules/core-js/modules/_property-desc.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine-all.js","webpack://aegis-app/./node_modules/core-js/modules/_redefine.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack://aegis-app/./node_modules/core-js/modules/_regexp-exec.js","webpack://aegis-app/./node_modules/core-js/modules/_same-value.js","webpack://aegis-app/./node_modules/core-js/modules/_set-proto.js","webpack://aegis-app/./node_modules/core-js/modules/_set-species.js","webpack://aegis-app/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://aegis-app/./node_modules/core-js/modules/_shared-key.js","webpack://aegis-app/./node_modules/core-js/modules/_shared.js","webpack://aegis-app/./node_modules/core-js/modules/_species-constructor.js","webpack://aegis-app/./node_modules/core-js/modules/_strict-method.js","webpack://aegis-app/./node_modules/core-js/modules/_string-at.js","webpack://aegis-app/./node_modules/core-js/modules/_string-context.js","webpack://aegis-app/./node_modules/core-js/modules/_string-html.js","webpack://aegis-app/./node_modules/core-js/modules/_string-pad.js","webpack://aegis-app/./node_modules/core-js/modules/_string-repeat.js","webpack://aegis-app/./node_modules/core-js/modules/_string-trim.js","webpack://aegis-app/./node_modules/core-js/modules/_string-ws.js","webpack://aegis-app/./node_modules/core-js/modules/_task.js","webpack://aegis-app/./node_modules/core-js/modules/_to-absolute-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-index.js","webpack://aegis-app/./node_modules/core-js/modules/_to-integer.js","webpack://aegis-app/./node_modules/core-js/modules/_to-iobject.js","webpack://aegis-app/./node_modules/core-js/modules/_to-length.js","webpack://aegis-app/./node_modules/core-js/modules/_to-object.js","webpack://aegis-app/./node_modules/core-js/modules/_to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-array.js","webpack://aegis-app/./node_modules/core-js/modules/_typed-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/_typed.js","webpack://aegis-app/./node_modules/core-js/modules/_uid.js","webpack://aegis-app/./node_modules/core-js/modules/_user-agent.js","webpack://aegis-app/./node_modules/core-js/modules/_validate-collection.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-define.js","webpack://aegis-app/./node_modules/core-js/modules/_wks-ext.js","webpack://aegis-app/./node_modules/core-js/modules/_wks.js","webpack://aegis-app/./node_modules/core-js/modules/core.get-iterator-method.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.copy-within.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.every.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.fill.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.filter.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find-index.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.find.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.for-each.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.from.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.is-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.join.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.last-index-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce-right.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.reduce.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.slice.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.some.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.sort.js","webpack://aegis-app/./node_modules/core-js/modules/es6.array.species.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.now.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-iso-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-json.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-primitive.js","webpack://aegis-app/./node_modules/core-js/modules/es6.date.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.bind.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.has-instance.js","webpack://aegis-app/./node_modules/core-js/modules/es6.function.name.js","webpack://aegis-app/./node_modules/core-js/modules/es6.map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.acosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.asinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.atanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cbrt.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.clz32.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.cosh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.expm1.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.fround.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.hypot.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.imul.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log10.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log1p.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.log2.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.sinh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.tanh.js","webpack://aegis-app/./node_modules/core-js/modules/es6.math.trunc.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.epsilon.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-finite.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-nan.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.is-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.max-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.min-safe-integer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.number.to-precision.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.assign.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.create.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-properties.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.freeze.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-own-property-names.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-frozen.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is-sealed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.is.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.seal.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.object.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-float.js","webpack://aegis-app/./node_modules/core-js/modules/es6.parse-int.js","webpack://aegis-app/./node_modules/core-js/modules/es6.promise.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.apply.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.construct.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.define-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.enumerate.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.get.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.has.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.is-extensible.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.own-keys.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.prevent-extensions.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set-prototype-of.js","webpack://aegis-app/./node_modules/core-js/modules/es6.reflect.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.constructor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.exec.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.flags.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.match.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.replace.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.search.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.split.js","webpack://aegis-app/./node_modules/core-js/modules/es6.regexp.to-string.js","webpack://aegis-app/./node_modules/core-js/modules/es6.set.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.anchor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.big.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.blink.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.bold.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.code-point-at.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.ends-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fixed.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontcolor.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.fontsize.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.from-code-point.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.italics.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.iterator.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.link.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.raw.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.repeat.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.small.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.starts-with.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.strike.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sub.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.sup.js","webpack://aegis-app/./node_modules/core-js/modules/es6.string.trim.js","webpack://aegis-app/./node_modules/core-js/modules/es6.symbol.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.array-buffer.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.data-view.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.float64-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.int8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint16-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint32-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-map.js","webpack://aegis-app/./node_modules/core-js/modules/es6.weak-set.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.flat-map.js","webpack://aegis-app/./node_modules/core-js/modules/es7.array.includes.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.entries.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack://aegis-app/./node_modules/core-js/modules/es7.object.values.js","webpack://aegis-app/./node_modules/core-js/modules/es7.promise.finally.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-end.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.pad-start.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-left.js","webpack://aegis-app/./node_modules/core-js/modules/es7.string.trim-right.js","webpack://aegis-app/./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack://aegis-app/./node_modules/core-js/modules/web.dom.iterable.js","webpack://aegis-app/./node_modules/core-js/modules/web.immediate.js","webpack://aegis-app/./node_modules/core-js/modules/web.timers.js","webpack://aegis-app/./node_modules/core-js/web/index.js","webpack://aegis-app/./node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/debug/src/common.js","webpack://aegis-app/./node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/depd/index.js","webpack://aegis-app/./node_modules/dns-packet/classes.js","webpack://aegis-app/./node_modules/dns-packet/index.js","webpack://aegis-app/./node_modules/dns-packet/opcodes.js","webpack://aegis-app/./node_modules/dns-packet/optioncodes.js","webpack://aegis-app/./node_modules/dns-packet/rcodes.js","webpack://aegis-app/./node_modules/dns-packet/types.js","webpack://aegis-app/./node_modules/dotenv/lib/main.js","webpack://aegis-app/./node_modules/express-session/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/browser.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/debug.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/index.js","webpack://aegis-app/./node_modules/express-session/node_modules/debug/src/node.js","webpack://aegis-app/./node_modules/express-session/node_modules/ms/index.js","webpack://aegis-app/./node_modules/express-session/session/cookie.js","webpack://aegis-app/./node_modules/express-session/session/memory.js","webpack://aegis-app/./node_modules/express-session/session/session.js","webpack://aegis-app/./node_modules/express-session/session/store.js","webpack://aegis-app/./node_modules/follow-redirects/debug.js","webpack://aegis-app/./node_modules/follow-redirects/index.js","webpack://aegis-app/./node_modules/is-retry-allowed/index.js","webpack://aegis-app/./node_modules/kafkajs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/index.js","webpack://aegis-app/./node_modules/kafkajs/src/admin/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/awsIam.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/oauthBearer.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/plain.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram256.js","webpack://aegis-app/./node_modules/kafkajs/src/broker/saslAuthenticator/scram512.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/brokerPool.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/connectionBuilder.js","webpack://aegis-app/./node_modules/kafkajs/src/cluster/index.js","webpack://aegis-app/./node_modules/kafkajs/src/constants.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assignerProtocol.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/assigners/roundRobinAssigner/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/barrier.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/batch.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/consumerGroup.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/filterAbortedMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/initializeConsumerOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/offsetManager/isInvalidOffset.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/runner.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/seekOffsets.js","webpack://aegis-app/./node_modules/kafkajs/src/consumer/subscriptionState.js","webpack://aegis-app/./node_modules/kafkajs/src/env.js","webpack://aegis-app/./node_modules/kafkajs/src/errors.js","webpack://aegis-app/./node_modules/kafkajs/src/index.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/emitter.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/event.js","webpack://aegis-app/./node_modules/kafkajs/src/instrumentation/eventType.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/console.js","webpack://aegis-app/./node_modules/kafkajs/src/loggers/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connection.js","webpack://aegis-app/./node_modules/kafkajs/src/network/connectionStatus.js","webpack://aegis-app/./node_modules/kafkajs/src/network/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/index.js","webpack://aegis-app/./node_modules/kafkajs/src/network/requestQueue/socketRequest.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socket.js","webpack://aegis-app/./node_modules/kafkajs/src/network/socketFactory.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/createTopicData.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStateMachine.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/eosManager/transactionStates.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/groupMessagesPerPartition.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/instrumentationEvents.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/messageProducer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/partitioner.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/default/randomBytes.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/defaultJava/murmur2.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/partitioners/index.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/responseSerializer.js","webpack://aegis-app/./node_modules/kafkajs/src/producer/sendMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclOperationTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclPermissionTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/aclResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configResourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/configSource.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/coordinatorTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/crc32.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/encoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/error.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/isolationLevel.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/gzip.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/compression/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/message/v1/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/messageSet/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/crc32C.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/crc32C/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/header/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/record/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/recordBatch/v0/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addOffsetsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/addPartitionsToTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/alterConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiKeys.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/apiVersions/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createPartitions/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/createTopics/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteRecords/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/deleteTopics/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeAcls/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeConfigs/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/describeGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/endTxn/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v10/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v8/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/fetch/v9/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/findCoordinator/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/heartbeat/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/initProducerId/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/joinGroup/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/leaveGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listGroups/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/listOffsets/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/metadata/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetCommit/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/offsetFetch/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v4/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v5/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v6/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/produce/v7/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslAuthenticate/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/saslHandshake/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v2/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/syncGroup/v3/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v0/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/requests/txnOffsetCommit/v1/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourcePatternTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/resourceTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/awsIam/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/oauthBearer/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/plain/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/finalMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/request.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/firstMessage/response.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/sasl/scram/index.js","webpack://aegis-app/./node_modules/kafkajs/src/protocol/timestampTypes.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/defaults.test.js","webpack://aegis-app/./node_modules/kafkajs/src/retry/index.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/arrayDiff.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/bufferedAsyncIterator.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/concurrency.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/flatten.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/groupBy.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/lock.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/long.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sharedPromiseTo.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/shuffle.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/sleep.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/swapObject.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/waitFor.js","webpack://aegis-app/./node_modules/kafkajs/src/utils/websiteUrl.js","webpack://aegis-app/./node_modules/ms/index.js","webpack://aegis-app/./node_modules/multicast-dns/index.js","webpack://aegis-app/./node_modules/nanoid/index.js","webpack://aegis-app/./node_modules/nanoid/url-alphabet/index.js","webpack://aegis-app/./node_modules/node-gyp-build/index.js","webpack://aegis-app/./node_modules/on-headers/index.js","webpack://aegis-app/./node_modules/parseurl/index.js","webpack://aegis-app/./node_modules/random-bytes/index.js","webpack://aegis-app/./node_modules/regenerator-runtime/runtime.js","webpack://aegis-app/./node_modules/safe-buffer/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/http.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/adapters/xhr.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/Cancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/CancelToken.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/cancel/isCancel.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/Axios.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/InterceptorManager.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/buildFullPath.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/createError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/dispatchRequest.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/enhanceError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/mergeConfig.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/settle.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/core/transformData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/index.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/defaults/transitional.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/env/data.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/bind.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/buildURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/combineURLs.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/cookies.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isAxiosError.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/parseHeaders.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/spread.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/helpers/validator.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/node_modules/axios/lib/utils.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/AgentSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/BaseUrlSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Batch.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/ClientBuilder.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/CustomHeaderSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Errors.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/HttpSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/InputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/LicenseSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Request.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SharedCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/SigningSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StaticCredentials.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/StatusCodeSender.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_address_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/international_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_autocomplete_pro/Suggestion.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Address.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_extract/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Response.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_reverse_geo/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Candidate.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_street/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Client.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Lookup.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/us_zipcode/Result.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/apiToSDKKeyMap.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildClients.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/buildInputData.js","webpack://aegis-app/./node_modules/smartystreets-javascript-sdk/src/util/sendBatch.js","webpack://aegis-app/./node_modules/supports-color/index.js","webpack://aegis-app/./node_modules/supports-color/node_modules/has-flag/index.js","webpack://aegis-app/./node_modules/thunky/index.js","webpack://aegis-app/./node_modules/uid-safe/index.js","webpack://aegis-app/./node_modules/utf-8-validate/fallback.js","webpack://aegis-app/./node_modules/utf-8-validate/index.js","webpack://aegis-app/./node_modules/ws/index.js","webpack://aegis-app/./node_modules/ws/lib/buffer-util.js","webpack://aegis-app/./node_modules/ws/lib/constants.js","webpack://aegis-app/./node_modules/ws/lib/event-target.js","webpack://aegis-app/./node_modules/ws/lib/extension.js","webpack://aegis-app/./node_modules/ws/lib/limiter.js","webpack://aegis-app/./node_modules/ws/lib/permessage-deflate.js","webpack://aegis-app/./node_modules/ws/lib/receiver.js","webpack://aegis-app/./node_modules/ws/lib/sender.js","webpack://aegis-app/./node_modules/ws/lib/stream.js","webpack://aegis-app/./node_modules/ws/lib/validation.js","webpack://aegis-app/./node_modules/ws/lib/websocket-server.js","webpack://aegis-app/./node_modules/ws/lib/websocket.js","webpack://aegis-app/external \"assert\"","webpack://aegis-app/external \"buffer\"","webpack://aegis-app/external \"cluster\"","webpack://aegis-app/external \"crypto\"","webpack://aegis-app/external \"dgram\"","webpack://aegis-app/external \"events\"","webpack://aegis-app/external \"fs\"","webpack://aegis-app/external \"http\"","webpack://aegis-app/external \"https\"","webpack://aegis-app/external \"net\"","webpack://aegis-app/external \"os\"","webpack://aegis-app/external \"path\"","webpack://aegis-app/external \"stream\"","webpack://aegis-app/external \"tls\"","webpack://aegis-app/external \"tty\"","webpack://aegis-app/external \"url\"","webpack://aegis-app/external \"util\"","webpack://aegis-app/external \"zlib\"","webpack://aegis-app/webpack/bootstrap","webpack://aegis-app/webpack/runtime/compat get default export","webpack://aegis-app/webpack/runtime/define property getters","webpack://aegis-app/webpack/runtime/hasOwnProperty shorthand","webpack://aegis-app/webpack/runtime/make namespace object","webpack://aegis-app/webpack/runtime/sharing","webpack://aegis-app/webpack/runtime/consumes","webpack://aegis-app/webpack/startup"],"names":["validateAddress","service","options","order","model","args","callback","decrypt","shippingAddress","update","console","error","func","name","damUploadOut","data","log","filename","status","damSearchOut","tags","matches","damBrowseOut","catalog","damDownloadOut","fileId","getSecret","process","env","MONGODB_CREDS","user","pass","token","archive","id","debug","DataSourceAdapterMongoDb","url","cacheSize","DataSourceMongoDb","DataSourceMongoDbArchive","datasource","factory","creds","subscriptions","Map","filterMatches","message","filter","regex","RegExp","result","test","substring","concat","Subscription","topic","filters","once","unsubscribe","get","getId","getModel","getSubscriptions","entries","every","subscription","listen","Event","arg","has","set","listening","forEach","notify","JSON","parse","pickOrder","Promise","resolve","reject","orderNo","event","pickupAddress","eventData","warehouse_addr","newOrder","then","stringify","eventType","eventTime","Date","toISOString","eventSource","respChannel","commandName","commandArgs","lineItems","orderItems","externalId","reason","Error","axios","require","OrderAdapter","customerId","creditCardNumber","billingAddress","firstName","lastName","email","orderInfo","itemId","price","qty","indexOf","push","orderId","RestOrderAdapter","post","response","modelId","e","patch","orderStatus","proofOfDelivery","pod","cancelReason","GraphQlOrderAdapter","authorizePayment","paymentAuthorization","paymentStatus","completePayment","confirmationCode","refundPayment","qeGetPublicIpAddressOut","buffer","http","hostname","method","on","chunk","address","join","DEBUG","ServiceLocator","serviceUrl","primary","backup","maxRetries","retryInterval","dns","Dns","isPrimary","isBackup","activateBackup","retries","answer","query","questions","type","setTimeout","ask","fromClient","find","question","runningAsService","URL","answers","port","target","info","respond","buildUrl","fromServer","protocol","msg","off","locator","serviceLocatorInit","serviceLocatorAsk","serviceLocatorAnswer","ORDER_SERVICE","ORDER_TOPIC","handleError","file","__filename","shipOrder","shipOrderCallback","callShipOrder","shipTo","shipFrom","signature","signatureRequired","requester","respondOn","payload","getPayload","updated","trackShipment","trackShipmentCallback","callTrackShipment","shipmentId","trackingStatus","verifyDelivery","verifyDeliveryCallback","callVerifyDelivery","trackingId","tmListEventsOut","apiKey","chunks","https","res","wasmGetPublicIpAddress","trim","socket","useBinary","binaryType","primitives","encode","object","Buffer","from","string","number","symbol","undefined","decode","toString","websocketConnect","WebSocket","websocketSend","readyState","OPEN","bufferedAmount","send","binary","websocketClose","code","close","websocketPing","ping","websocketOnMessage","websocketOnClose","onclose","websocketOnOpen","onopen","websocketOnPong","websocketStatus","websocketOnError","err","websocketTerminate","terminate","Customer","modelName","endpoint","dependencies","uuid","nanoid","makeCustomerFactory","validate","validateModel","onDelete","okToDelete","mixins","freezeProperties","requireProperties","validateProperties","propKey","relations","orders","foreignKey","commands","command","acl","accessControlList","customer","allow","desc","Inventory","makeInventoryFactory","maxnum","values","categories","assetTypes","isValid","_obj","prop","p","properties","Order","makeOrderFactory","domain","baseClass","requiredForGuest","requiredForApproval","requiredForCompletion","freezeOnApproval","freezeOnCompletion","updateProperties","recalcTotal","updateSignature","Object","OrderStatus","statusChangeValid","orderTotalValid","readyToDelete","eventHandlers","handleOrderEvent","ports","timeout","keys","producesEvent","disabled","consumesEvent","undo","cancelPayment","orderPicked","returnInventory","circuitBreaker","portTimeout_pickOrder_order","callVolume","errorRate","intervalMs","orderShipped","returnShipment","portTimeout_shipOrder_order","portRetryFailed_order","fallbackFn","cancel","returnDelivery","paymentCompleted","cancelShipment","cancelOrders","methods","approveOrders","trackAsyncContext","customHttpStatus","testContainsMany","runFibonacciJs","inventory","arrayKey","chat","routes","path","req","listModels","writable","serialize","addModel","body","json","ctx","context","OrderError","editModel","params","changes","approve","runFibonacci","start","now","fibonacci","x","param","parseFloat","Number","isNaN","time","serializers","key","value","enabled","WebSwitch","makeClient","internal","makeAdapters","adapters","services","map","warn","reduce","c","checkPayload","Array","isArray","k","latest","createCustomer","phone","userId","freeze","length","validateSpec","spec","missing","makeModel","GlobalMixins","bindAdapters","models","modelSpecs","category","discount","sku","purchaseOrder","vendor","inStock","assetType","quantity","prevmodel","Symbol","validations","mixinType","pre","mixinSets","premixins","postmixins","processUpdate","updates","compose","updateMixins","o","cb","mixinSet","eventMask","create","onload","handleUpdateEvent","isUpdate","decrypted","isObject","containsUpdates","changeList","util","fn","input","v","sort","a","b","apply","output","enableEvent","onUpdate","onCreate","onLoad","enableValidation","onCreateAndUpdate","onLoadAndCreate","onLoadAndUpdate","onAll","addValidation","config","some","parseKeys","propKeys","flat","encryptProperties","encryptProps","obj","encrypt","preventUpdates","mutations","includes","requireProps","hashPasswords","hashPwds","hash","internalPropList","allowProperties","rejectUnknownProps","allowList","unknownProps","rejectUnknownProperties","RegEx","ipv4Address","ipv6Address","creditCard","ssn","expr","val","_expr","evaluateUniqueness","propVal","compareVal","unique","encrypted","listSync","Validator","tests","maxlen","invalid","updaters","updateProps","u","invokePort","execMethod","functionType","createMethod","withValidFormat","checkFormat","encryptPersonalInfo","orderTotal","PENDING","APPROVED","SHIPPING","COMPLETE","CANCELED","checkItem","orderItem","checkItems","items","calcTotal","total","item","itemCount","finalStatus","invalidStatusChange","to","invalidStatusChanges","i","errMsg","emit","shipmentPayload","addressValidated","addressPayload","paymentAuthorized","verifyAddress","verifyPayment","authorizeOrder","paymentDeclined","verifyInventory","insufficient","inv","getCustomerOrder","custInfo","saveShippingDetails","processPendingOrder","asyncPipe","OrderActions","autoCheckout","runOrderWorkflow","updateSync","trackingUpdate","needsSignature","logMessage","toJSON","createOrder","shippingPriority","requireSignature","estimatedArrival","logEvent","index","indx","parseInt","NaN","lastIndexOf","l","approvedOrder","logStateChange","canceledOrder","checkout","errorCallback","timeoutCallback","adapterFn","logUndo","accountOrder","cancelOrdersTransform","Transform","objectMode","transform","_encoding","done","_id","list","createWriteStream","approveOrdersTransform","encoding","getContext","dur","startTime","metric","requestId","duration","funcs","initVal","reduceRight","composeAsync","f","passwd","ENCRYPTION_PWD","algo","crypto","String","iv","alloc","text","cipher","cipherText","decipher","digest","makeArray","makeObject","async","promise","ok","asObject","asArray","EventDispatcher","adapter","emitEvent","bind","session","express","cluster","fs","_srv_","app","API_ROOT","PORT","init","sessionParser","saveUninitialized","secret","resave","use","request","ws","destroy","ip","originalUrl","date","server","createServer","wss","Server","clientTracking","noServer","clients","each","client","head","handleUpgrade","startServer","hotReload","RELOAD_URL","auth","AUTH_ENABLED","ssl","startsWith","readFileSync","access_token","httpsAgent","Agent","rejectUnauthorized","Registry","eventNames","sendEvent","eventName","generateShippingEventData","generateShippingMessage","commandResp","inventoryCallbackFactory","inventoryCallback","warehouseAddress","shippingCallbackFactory","shippingCallback","_message","dispatcher","registerCallback","SmartyStreetsSDK","SmartyStreetsCore","core","Lookup","usStreet","SMARTY_DISABLED","authId","SMARTY_AUTH_ID","authToken","SMARTY_AUTH_TOKEN","credentials","StaticCredentials","buildClient","Address","lookup","inputId","street","maxCandidates","candidate","lookups","validatedAddress","deliveryLine1","deliveryLine2","lastLine","_notify","_listen","EventBus","brokers","KAFKA_BROKERS","topics","KAFKA_TOPICS","groupId","KAFKA_GROUP_ID","pid","kafka","Kafka","clientId","split","consumer","producer","connect","subscribe","fromBeginning","run","eachMessage","messages","disconnect","Payment","amount","source_id","customer_id","autocomplete","currency","idempotency_key","amount_money","location_id","reference_id","note","app_fee_money","createEventMessage","eventTarget","getTime","eventUuid","createCommandEvent","Shipping","serviceName","payloads","getProperty"],"mappings":";;;;;;;;;;;;;AAAa;;AAEb,mBAAO,CAAC,sEAAc;;AAEtB,qCAAqC,mBAAO,CAAC,8EAA2B;;AAExE,sCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;AACA;;AAEA,yC;;;;;;;;;;;;;ACZa;;AAEb,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,kFAA6B;;AAErC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,oFAA8B;;AAEtC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,4FAAkC;;AAE1C,mBAAO,CAAC,wHAAgD;;AAExD,mBAAO,CAAC,4EAA0B;;AAElC,mBAAO,CAAC,8EAA2B;;AAEnC,mBAAO,CAAC,gFAA4B;;AAEpC,mBAAO,CAAC,wDAAa;;AAErB,mBAAO,CAAC,kFAA6B,E;;;;;;;;;;;;AC5BrC;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,IAAI,IAAI,IAAI,GAAG,IAAI;AAC3C;AACA,+BAA+B,IAAI,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE,aAAa,IAAI,EAAE,IAAI,EAAE,IAAI;AAClF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,SAAS;AAC9B;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA,gBAAgB,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,aAAa;AACnF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;;AAEA,qBAAqB,eAAe;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,oBAAoB;AACpB,WAAW;AACX,oBAAoB;AACpB,WAAW;AACX,oBAAoB;;AAEpB;AACA,WAAW;;;AAGX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA,mDAAmD,eAAe;AAClE;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA,qBAAqB,YAAY;AACjC;AACA;AACA;;AAEA;AACA;;AAEA,uEAAuE,IAAI;AAC3E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uCAAuC,GAAG;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mDAAmD,QAAQ,aAAa,QAAQ;AAChF;AACA;AACA,CAAC,IAAI;AACL,IAAI,IAA0C,EAAE,iCAAO,EAAE,mCAAE,YAAY,gBAA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AAY,MAAM;AAClB,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA,sBAAsB,0CAA0C;AAChE;AACA;AACA,sBAAsB;AACtB;AACA,KAAK;AACL;AACA;AACA,gCAAgC,gCAAgC;AAChE,uBAAuB,aAAa;AACpC;AACA;AACA;AACA,mBAAmB;AACnB,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,sBAAsB;AACtB;AACA,MAAM;AACN;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iC;;;;;;;;;;;;;AClRA,4FAAuC,C;;;;;;;;;;;;;;ACA1B;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,iBAAiB,4FAAgC;AACjD,kBAAkB,6FAAiC;AACnD,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;AACzB,UAAU,mBAAO,CAAC,+DAAsB;AACxC,kBAAkB,mBAAO,CAAC,yEAAqB;AAC/C,mBAAmB,mBAAO,CAAC,2EAAsB;;AAEjD;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC1Ua;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,aAAa,mBAAO,CAAC,iEAAkB;AACvC,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,oBAAoB,mBAAO,CAAC,6EAAuB;AACnD,mBAAmB,mBAAO,CAAC,mFAA2B;AACtD,sBAAsB,mBAAO,CAAC,yFAA8B;AAC5D,kBAAkB,mBAAO,CAAC,yEAAqB;;AAE/C;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC5La;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,WAAW,mBAAO,CAAC,gEAAgB;AACnC,YAAY,mBAAO,CAAC,4DAAc;AAClC,kBAAkB,mBAAO,CAAC,wEAAoB;AAC9C,eAAe,mBAAO,CAAC,wDAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,kEAAiB;AACxC,oBAAoB,mBAAO,CAAC,4EAAsB;AAClD,iBAAiB,mBAAO,CAAC,sEAAmB;;AAE5C;AACA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAkB;;AAEzC;AACA,qBAAqB,mBAAO,CAAC,gFAAwB;;AAErD;;AAEA;AACA,sBAAsB;;;;;;;;;;;;;;;ACvDT;;AAEb;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;;;;;;;;;;AClBa;;AAEb,aAAa,mBAAO,CAAC,2DAAU;;AAE/B;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxDa;;AAEb;AACA;AACA;;;;;;;;;;;;;;;ACJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,yEAAqB;AAC5C,yBAAyB,mBAAO,CAAC,iFAAsB;AACvD,sBAAsB,mBAAO,CAAC,2EAAmB;AACjD,kBAAkB,mBAAO,CAAC,mEAAe;AACzC,gBAAgB,mBAAO,CAAC,2EAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,mFAA0B;AACtD,kBAAkB,mBAAO,CAAC,+EAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,qEAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,oBAAoB,mBAAO,CAAC,uEAAiB;AAC7C,eAAe,mBAAO,CAAC,uEAAoB;AAC3C,eAAe,mBAAO,CAAC,yDAAa;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACjFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACzCa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;;;;;;;;;;;;;;;ACtFa;;AAEb,kBAAkB,mBAAO,CAAC,mEAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;AAChC,eAAe,mBAAO,CAAC,2DAAe;;AAEtC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,kDAAS;AAC7B,0BAA0B,mBAAO,CAAC,8FAA+B;AACjE,mBAAmB,mBAAO,CAAC,0EAAqB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gEAAgB;AACtC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,kEAAiB;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACrIa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,mDAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,qDAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,UAAU,mBAAO,CAAC,+DAAsB;;AAExC;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxGa;;AAEb,WAAW,mBAAO,CAAC,gEAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;A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,EAALA,KAAK;MACLvR,KAAK,EAALA,KAAK;MACLwR,MAAM,EAANA;IACF,CAAC,CAAC;EACJ,CAAC;AACH;AAEO,SAAe/H,UAAU;EAAA;AAAA;AAQ/B;EAAA,yEARM,iBAA0Ba,QAAQ;IAAA;IAAA;MAAA;QAAA;UAAA;UAAA;UAAA,OAEhBA,QAAQ,CAACN,MAAM,EAAE;QAAA;UAAhCA,MAAM;UAAA,iCACLA,MAAM,CAAC0H,MAAM,GAAG,CAAC;QAAA;UAAA;UAAA;UAExB9X,OAAO,CAACC,KAAK,CAAC;YAAEC,IAAI,EAAE2P,UAAU,CAAC1P,IAAI;YAAEF,KAAK;UAAC,CAAC,CAAC;UAAC,iCACzC,IAAI;QAAA;QAAA;UAAA;MAAA;IAAA;EAAA,CAEd;EAAA;AAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;ACnCW;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AAC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;;;ACnEiC;AACF;AACI;AACF;AACC;;;;;;;;;;;;;;ACJvB;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,U;;;;;;;;;;;;;;;;;;;ACVa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AAAA;AAAA,+CAvBA;AAAA;AAAA;AAyBO,IAAMksB,OAAO,GAAG;EACrB;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ5kB,gBAAgB,4BACpB/F,EAAE,EACF4qB,MAAM,EACNC,SAAS,EACTC,WAAW,EAGX;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAFAC,YAAY,0EAAG,KAAK;YACpBC,QAAQ,0EAAG,KAAK;YAEV9gB,OAAO,GAAG;cACd+gB,eAAe,EAAEjrB,EAAE;cACnBkrB,YAAY,EAAE;gBACZN,MAAM,EAANA,MAAM;gBACNI,QAAQ,EAARA;cACF,CAAC;cACDH,SAAS,EAATA,SAAS;cACTE,YAAY,EAAZA,YAAY;cACZD,WAAW,EAAXA,WAAW;cACXK,WAAW,EAAE,eAAe;cAC5BC,YAAY,EAAE,QAAQ;cACtBC,IAAI,EAAE,mBAAmB;cACzBC,aAAa,EAAE;gBACbV,MAAM,EAAE,EAAE;gBACVI,QAAQ,EAAE;cACZ;YACF,CAAC;YACD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;YArCI,iCA2CO,MAAM;UAAA;UAAA;YAAA;QAAA;MAAA;IAAA;EACf,CAAC;EAED;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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EA,kBAAkB;;;;;;;;;;;;;;;;ACjCL;;AAEb;AACA,mBAAmB,mBAAO,CAAC,8DAAgB,EAAE,SAAS;AACtD,CAAC;AACD,EAAE,+FAAsC;AACxC;;;;;;;;;;;;;;;;;ACNA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa;AACb,iBAAiB;;AAEjB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,iBAAiB;AAC7C,iBAAiB;AACjB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa;AACb;;AAEA;AACA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,CAAC,kEAAc;;AAE/B;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACJA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;;;;;;;;;;;;;;;ACJA;AACa;AACb,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACzBA;AACa;AACb,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AACA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,YAAY,eAAe;AAChC;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,mBAAO,CAAC,8DAAY;AAClC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,wFAAyB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA,wCAAwC;AACxC;AACA,8BAA8B;AAC9B,6BAA6B;AAC7B,+BAA+B;AAC/B,mCAAmC;AACnC,SAAS,iC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AQ;AAC1B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,WAAW,mBAAO,CAAC,kEAAc;AACjC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,sFAAwB;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,6BAA6B;AAC7B,0BAA0B;AAC1B,0BAA0B;AAC1B,qBAAqB;AACrB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8EAA8E,OAAO;AACrF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,qBAAqB;AACrB,0BAA0B;AAC1B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;;;;;;;;;;;;;;AC/Ia;AACb,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,cAAc,qFAA0B;AACxC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,k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AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,qDAAqD;AACrD;AACA,kDAAkD,iBAAiB,EAAE;AACrE;AACA,wDAAwD,aAAa,EAAE,EAAE;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;;;;;;;;;;;;;ACpFA,6BAA6B;AAC7B,uCAAuC;;;;;;;;;;;;;;;ACD1B;AACb,sBAAsB,mBAAO,CAAC,kEAAc;AAC5C,iBAAiB,mBAAO,CAAC,0EAAkB;;AAE3C;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;AACb;AACA,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;;ACzBY;AACb,eAAe,mBAAO,CAAC,kEAAc;AACrC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA;AACA,kBAAkB,mBAAO,CAAC,0DAAU;AACpC,iCAAiC,QAAQ,mBAAmB,UAAU,EAAE,EAAE;AAC1E,CAAC;;;;;;;;;;;;;;ACHD,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,0FAA6B;AAC5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;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AAiC,SAAS,EAAE;AAC5C,CAAC,YAAY;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,SAAS,qBAAqB;AAC3D,iCAAiC,aAAa;AAC9C;AACA,GAAG,YAAY;AACf;AACA;;;;;;;;;;;;;;ACrBA;AACA,UAAU;AACV;;;;;;;;;;;;;;ACFA;;;;;;;;;;;;;;ACAA;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACTD;AACA,WAAW,mBAAO,CAAC,kEAAc;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtBA;AACA;AACA;AACA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACJA,WAAW,mBAAO,CAAC,sDAAQ;AAC3B,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,sDAAQ;AAC1B,cAAc,yFAAyB;AACvC;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,0DAAU;AAChC,iDAAiD;AACjD,CAAC;AACD;AACA,qBAAqB;AACrB;AACA,SAAS;AACT,GAAG,EAAE;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,aAAa,mBAAO,CAAC,4DAAW;AAChC,gBAAgB,iFAAsB;AACtC;AACA;AACA;AACA,aAAa,mBAAO,CAAC,sDAAQ;;AAE7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,uCAAuC,sBAAsB,EAAE;AAC/D;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;;;ACpEa;AACb;AACA,gBAAgB,mBAAO,CAAC,oEAAe;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;;;;;;;;;;;;;;;ACjBa;AACb;AACA,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,sEAAgB;AACtC,WAAW,mBAAO,CAAC,sEAAgB;AACnC,UAAU,mBAAO,CAAC,oEAAe;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,8DAAY;AAClC;;AAEA;AACA,6BAA6B,mBAAO,CAAC,0DAAU;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,UAAU,EAAE;AAChD,mBAAmB,sCAAsC;AACzD,CAAC,qCAAqC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACrCD;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC,UAAU,mBAAO,CAAC,oEAAe;AACjC,kBAAkB,mBAAO,CAAC,0EAAkB;AAC5C,eAAe,mBAAO,CAAC,oEAAe;AACtC,yBAAyB;AACzB;;AAEA;AACA;AACA;AACA,eAAe,mBAAO,CAAC,oEAAe;AACtC;AACA;AACA;AACA;AACA;AACA,EAAE,yFAA8B;AAChC,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;A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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,sDAAQ;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;;;ACLA;AACA,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA;AACA,2DAA2D;AAC3D;;;;;;;;;;;;;;ACLA;AACA,cAAc,mBAAO,CAAC,8DAAY;AAClC;AACA;AACA;;;;;;;;;;;;;;ACJA;AACA,eAAe,mBAAO,CAAC,kEAAc;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACXa;AACb,IAAI,mBAAO,CAAC,sEAAgB;AAC5B,gBAAgB,mBAAO,CAAC,8DAAY;AACpC,eAAe,mBAAO,CAAC,4DAAW;AAClC,cAAc,mBAAO,CAAC,0DAAU;AAChC,gBAAgB,mBAAO,CAAC,4DAAW;AACnC,eAAe,mBAAO,CAAC,0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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA,4BAA4B;AAC5B,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB,0BAA0B,EAAE,EAAE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yDAAyD,gCAAgC;AACzF;AACA,OAAO;AACP;AACA;AACA,6EAA6E,YAAY;AACzF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,6CAA6C,EAAE;;AAExG;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,mDAAmD;AACnD;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,oCAAoC;AACpC;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,8DAA8D;AAC9D;AACA,KAAK;AACL,wEAAwE;AACxE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,yBAAyB,sBAAsB,EAAE,EAAE;AACnD;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,yBAAyB;AACzB,KAAK;AACL,uBAAuB;AACvB,2BAA2B;AAC3B,0BAA0B;AAC1B,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,aAAa;AACvC,OAAO;AACP;;AAEA;;AAEA;;AAEA;AACA;AACA,KAAK;;AAEL,uDAAuD,6BAA6B,EAAE;AACtF;AACA;AACA,KAAK;;AAEL;;AAEA;;AAEA;;AAEA,uDAAuD,YAAY;;AAEnE;;AAEA;;AAEA;AACA;AACA,KAAK,UAAU,gBAAgB;;AAE/B;AACA;AACA,KAAK;AACL;AACA,KAAK,WAAW,kCAAkC;;AAElD;AACA;AACA;AACA,CAAC,oCAAoC;;;;;;;;;;;;;;;;AC/dxB;AACb,aAAa,mBAAO,CAAC,4DAAW;AAChC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C,cAAc,mBAAO,CAAC,8DAAY;AAClC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,WAAW,mBAAO,CAAC,wDAAS;AAC5B,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,YAAY,mBAAO,CAAC,0DAAU;AAC9B,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,mBAAO,CAAC,gEAAa;AACnC,WAAW,6FAA2B;AACtC,SAAS,yFAAyB;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,kFAAsB;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,QAAQ,UAAU;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB,mBAAmB,uBAAuB,EAAE,EAAE;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,WAAW;AAC5B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB,GAAG;AACH,uBAAuB;AACvB,0BAA0B;AAC1B,0BAA0B;AAC1B;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,iDAAiD,iBAAiB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnRA,aAAa,mBAAO,CAAC,4DAAW;AAChC,WAAW,mBAAO,CAAC,wDAAS;AAC5B,UAAU,mBAAO,CAAC,sDAAQ;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;A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BAAO,CAAC,4DAAW;;AAEjC,8BAA8B,qCAAqC;;;;;;;;;;;;;ACHnE;AACA,cAAc,mBAAO,CAAC,4DAAW;;AAEjC,8BAA8B,sCAAsC;;;;;;;;;;;;;ACHpE,cAAc,mBAAO,CAAC,4DAAW;AACjC,kBAAkB,mBAAO,CAAC,sEAAgB;AAC1C;AACA,+EAA+E,0BAA0B;;;;;;;;;;;;;ACHzG,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC;AACA,2EAA2E,sBAAsB;;;;;;;;;;;;;;ACHpF;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,mBAAmB,mBAAO,CAAC,4EAAmB;AAC9C,aAAa,mBAAO,CAAC,0EAAkB;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM,mBAAO,CAAC,0DAAU;AACxB;AACA,kBAAkB;AAClB,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACjHY;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,mBAAmB,mBAAO,CAAC,4EAAmB;A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AClC,cAAc,mBAAO,CAAC,4DAAW;AACjC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,4DAAW;AAC/B,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,WAAW,iFAAsB;AACjC,gBAAgB,mBAAO,CAAC,kEAAc;AACtC,iCAAiC,mBAAO,CAAC,4FAA2B;AACpE,cAAc,mBAAO,CAAC,8DAAY;AAClC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,qBAAqB,mBAAO,CAAC,8EAAoB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,EAAE,mBAAO,CAAC,sDAAQ;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,YAAY;AACf,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,mBAAmB,kCAAkC;AACrD,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,eAAe,uCAAuC;AACtD;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA,uBAAuB,0BAA0B;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,kBAAkB,yBAAyB,KAAK;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB,wBAAwB;AACxB,gBAAgB;AAChB,oBAAoB;AACpB;AACA,uBAAuB,mBAAO,CAAC,wEAAiB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0DAA0D,oBAAoB;AAC9E,mBAAO,CAAC,kFAAsB;AAC9B,mBAAO,CAAC,sEAAgB;AACxB,UAAU,mBAAO,CAAC,wDAAS;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gDAAgD,mBAAO,CAAC,sEAAgB;AACxE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;AC7RD;AACA,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,eAAe,mBAAO,CAAC,kEAAc;AACrC,cAAc,yFAA4B,MAAM;AAChD;AACA;AACA,iCAAiC,mBAAO,CAAC,0DAAU;AACnD,sBAAs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AAI,mBAAO,CAAC,sEAAgB,wBAAwB,yFAAyB;AAC7E;AACA,OAAO,mBAAO,CAAC,0DAAU;AACzB,CAAC;;;;;;;;;;;;;;ACJY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACvCY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,iBAAiB,mBAAO,CAAC,wFAAyB;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;;ACrHY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,iBAAiB,mBAAO,CAAC,wFAAyB;;AAElD;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;AC9BY;;AAEb,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD,yBAAyB,mBAAO,CAAC,wFAAyB;AAC1D,eAAe,mBAAO,CAAC,kEAAc;AACrC,qBAAqB,mBAAO,CAAC,wFAAyB;AACtD,iBAAiB,mBAAO,CAAC,sEAAgB;AACzC,YAAY,mBAAO,CAAC,0DAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qCAAqC,yBAAyB,EAAE;;AAEhE;AACA,mBAAO,CAAC,oEAAe;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,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kEAAc;AACrC,cAAc,mBAAO,CAAC,gEAAa;AACnC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC,kBAAkB,mBAAO,CAAC,wEAAiB;AAC3C,iBAAiB,mBAAO,CAAC,0EAAkB;AAC3C,cAAc,mBAAO,CAAC,0EAAkB;AACxC,cAAc,mBAAO,CAAC,8EAAoB;AAC1C,YAAY,mBAAO,CAAC,sEAAgB;AACpC,YAAY,mBAAO,CAAC,sEAAgB;AACpC,UAAU,mBAAO,CAAC,kEAAc;AAChC,YAAY,mBAAO,CAAC,sEAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB;AACtB,sBAAsB,uBAAuB,WAAW,IAAI;AAC5D,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,KAAK;AACL;AACA,sBAAsB,mCAAmC;AACzD,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gEAAgE,gCAAgC;AAChG;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,EAAE,6FAA2B;AAC7B,EAAE,2FAA0B;AAC5B;;AAEA,sBAAsB,mBAAO,CAAC,8DAAY;AAC1C;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0DAA0D,kBAAkB;;AAE5E;AACA;AACA;AACA,oBAAoB,uBAAuB;;AAE3C,oDAAoD,6BAA6B;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,eAAe,EAAE;AAC3C,0BAA0B,gBAAgB;AAC1C,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA,8CAA8C,YAAY,EAAE;;AAE5D;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,OAAO,QAAQ,iCAAiC;AACpG,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,oCAAoC,mBAAO,CAAC,wDAAS;AACrD;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPa;AACb,cAAc,mBAAO,CAAC,4DAAW;AACjC,aAAa,mBAAO,CAAC,0DAAU;AAC/B,aAAa,mBAAO,CAAC,wEAAiB;AACtC,eAAe,mBAAO,CAAC,kEAAc;AACrC,sBAAsB,mBAAO,CAAC,kFAAsB;AACpD,eAAe,mBAAO,CAAC,kEAAc;AACrC,eAAe,mBAAO,CAAC,kEAAc;AACrC,kBAAkB,6FAAgC;AAClD,yBAAyB,mBAAO,CAAC,sFAAwB;AACzD;AACA;AACA;AACA;AACA;AACA;;AAEA,6EAA6E,4BAA4B;;AAEzG;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,4CAA4C,mBAAO,CAAC,0DAAU;AAC9D;AACA,CAAC;AACD;AACA;AACA,6FAA6F;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED,mBAAO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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oDAAoD,wBAAwB;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzDA,cAAc,mBAAO,CAAC,4DAAW;AACjC,YAAY,mBAAO,CAAC,wDAAS;AAC7B;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACLD;AACA,aAAa,mBAAO,CAAC,4DAAW;AAChC,cAAc,mBAAO,CAAC,4DAAW;AACjC,gBAAgB,mBAAO,CAAC,oEAAe;AACvC;AACA,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACnBD,mBAAO,CAAC,2EAAuB;AAC/B,mBAAO,CAAC,iFAA0B;AAClC,mBAAO,CAAC,uFAA6B;AACrC,uGAA4C;;;;;;;;;;;;;;;;;ACH5C;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,4CAA4C;;AAEvD;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;;;;AC3QA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mBAAO,CAAC,sCAAI;AACpC;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA,aAAa;AACb;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;ACjRA;AACA;AACA;AACA;;AAEA;AACA,CAAC,+FAAwC;AACzC,CAAC;AACD,CAAC,yFAAqC;AACtC;;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gBAAK;AACzB,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;AACA;;AAEA,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA,uBAAuB,mBAAO,CAAC,8DAAgB;;AAE/C;AACA,EAAE,cAAc;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,4DAA4D;AAC5D;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,2BAA2B;;AAEnC;AACA;AACA,iDAAiD,EAAE;AACnD,sBAAsB,WAAW,IAAI,KAAK;;AAE1C;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,oDAAU;;AAEnC,OAAO,WAAW;;AAElB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,eAAe,gDAAwB;;AAEvC;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uCAAuC;;AAEvC;AACA,4CAA4C;AAC5C;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,WAAW;AAC5B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,kBAAkB;AAC1B;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2BAA2B,iCAAiC;AAC5D,cAAc,oBAAoB;AAClC;;AAEA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,MAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;;;ACzhBY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBY;;AAEZ,eAAe,kDAAwB;AACvC,cAAc,mBAAO,CAAC,mDAAS;AAC/B,eAAe,mBAAO,CAAC,qDAAU;AACjC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,gBAAgB,mBAAO,CAAC,uDAAW;AACnC,oBAAoB,mBAAO,CAAC,+DAAe;AAC3C,WAAW,mBAAO,CAAC,iFAAyB;;AAE5C;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,YAAY;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;AACxB,eAAe,aAAa;AAC5B,eAAe,aAAa;;AAE5B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,WAAW;;AAExB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD,YAAY;AAC7D;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,YAAY;AACvD;;AAEA,aAAa,WAAW;;AAExB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,gBAAgB,cAAc;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC;AACA,qBAAqB,OAAO;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;;AAEA;AACA,aAAa,oBAAoB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA,cAAc,YAAY;;AAE1B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY,UAAU;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,eAAe,aAAa;;AAE5B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe,cAAc;;AAE7B;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,gBAAgB;;AAEjC;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,4BAA4B;AAC5B,0BAA0B;AAC1B,yBAAyB;AACzB,2BAA2B;AAC3B,sBAAsB;AACtB,yBAAyB;AACzB,iBAAiB;;AAEjB,cAAc;AACd;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA,oBAAoB;;AAEpB,cAAc;AACd;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE,oBAAoB;;AAEtB;AACA;;AAEA,oBAAoB;;AAEpB,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,0BAA0B;AAC5B;AACA;;AAEA,0BAA0B;;AAE1B;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC5lDY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,KAAK;AACxB;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;AC1DY;;AAEZ;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACjDY;;AAEZ,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtGA,WAAW,mBAAO,CAAC,cAAI;AACvB,aAAa,mBAAO,CAAC,kBAAM;AAC3B,WAAW,mBAAO,CAAC,cAAI;AACvB,oBAAoB,mBAAO,CAAC,2DAAiB;;AAE7C;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,QAAQ,WAAW,QAAQ;AACpD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE,WAAW;;AAE9E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,IAAI;AACzB,WAAW;AACX,qBAAqB,IAAI;AACzB;AACA;AACA;AACA,KAAK;;AAEL,YAAY;AACZ,GAAG;AACH;AACA,6BAA6B,WAAW,GAAG,UAAU;AACrD;;AAEA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA,qBAAqB;AACrB,oBAAoB;AACpB;;;;;;;;;;;;;;;;;;;;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;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB,aAAa;AACb;AACA;AACA;AACA,iBAAiB,oBAAoB;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;AC5qBA;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA,GAAG;AACH;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,MAAM,qBAAqB;AAC3B;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd,eAAe;AACf,cAAc;AACd,eAAe;AACf,2GAAgC;;AAEhC;AACA;AACA;;AAEA,aAAa;AACb,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;;AAElB;AACA;AACA;;AAEA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;;AAEA,EAAE,aAAa;AACf,EAAE,aAAa;;AAEf;AACA;;AAEA,iBAAiB,SAAS;AAC1B,4BAA4B;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzMA;AACA;AACA;AACA;;AAEA;AACA,EAAE,4HAAwC;AAC1C,CAAC;AACD,EAAE,sHAAqC;AACvC;;;;;;;;;;;;;;;;ACTA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;AACA;;AAEA,UAAU,qHAAmC;AAC7C,YAAY;AACZ,WAAW;AACX,kBAAkB;AAClB,YAAY;AACZ,YAAY;AACZ,iBAAiB;;AAEjB;AACA;AACA;;AAEA,cAAc;;AAEd;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,2CAA2C,yBAAyB;;AAEpE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC,IAAI;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA,oBAAoB;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,cAAI;AAC3B,2CAA2C,mBAAmB;AAC9D;AACA;;AAEA;AACA;AACA,gBAAgB,mBAAO,CAAC,gBAAK;AAC7B;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvPA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,gBAAgB,mBAAO,CAAC,0CAAM;;AAE9B;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,aAAa,KAAK;AAClB;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC;AAChC;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,YAAY,mBAAO,CAAC,gEAAS;AAC7B,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB;AACA;;AAEA;AACA,sCAAsC,aAAa;AACnD,qCAAqC,uBAAuB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA,6DAA6D;AAC7D;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,QAAQ;AACpB;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;AC9IA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,kEAAU;AAC/B,mBAAmB,wDAA8B;AACjD,cAAc,mBAAO,CAAC,oEAAW;AACjC,WAAW,mBAAO,CAAC,kBAAM;;AAEzB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;ACrGA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,gDAAO;AAC7B;AACA,mBAAmB;AACnB;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA,WAAW,mBAAO,CAAC,kBAAM;AACzB,YAAY,mBAAO,CAAC,oBAAO;AAC3B,eAAe,oDAA0B;AACzC,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,YAAY,mBAAO,CAAC,yDAAS;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iCAAiC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,sBAAsB,uCAAuC,EAAE;AAC/D,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,+CAA+C,oBAAoB;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA6C,eAAe;AAC5D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,uEAAuE;AACvF,YAAY,mEAAmE;AAC/E,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,uBAAuB,2BAA2B;AAClD,mBAAmB;;;;;;;;;;;;;;;AC5mBN;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;AC7DA,cAAc,mBAAO,CAAC,kDAAO;AAC7B,2BAA2B,mBAAO,CAAC,wFAA0B;AAC7D,yBAAyB,mBAAO,CAAC,gGAAiC;AAClE,qBAAqB,mBAAO,CAAC,8FAA6B;AAC1D,oBAAoB,mBAAO,CAAC,4GAAoC;AAChE,sBAAsB,mBAAO,CAAC,0FAA8B;AAC5D,4BAA4B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AwB;AAC/B;AACA;AACA,8BAA8B,IAAI;AAClC;;AAEA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA,WAAW,sBAAsB,yBAAyB,eAAe,WAAW,EAAE;AACtF;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,6BAA6B;AACxC,WAAW,4BAA4B;AACvC,WAAW,mCAAmC;AAC9C,WAAW,8BAA8B;AACzC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,cAAc;AACd;AACA,+BAA+B,uDAAuD;AACtF;AACA,iEAAiE,OAAO;AACxE;;AAEA,wBAAwB,QAAQ;AAChC;AACA;AACA;AACA;;AAEA,4CAA4C,QAAQ;AACpD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,gCAAgC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa,MAAM;AACnB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,mCAAmC,yCAAyC;AAC5E;AACA,2EAA2E,gBAAgB;AAC3F;AACA;AACA;AACA;;AAEA,iCAAiC,QAAQ;AACzC;AACA;AACA;AACA;;AAEA,qDAAqD,QAAQ;AAC7D;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,yCAAyC;AAChF,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB,cAAc;AACd;AACA,+BAA+B,kBAAkB;AACjD;AACA,iEAAiE,OAAO;AACxE;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,kBAAkB;;AAErD;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,kDAAkD,0CAA0C;AAC5F;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA,4CAA4C,2BAA2B;AACvE,WAAW;AACX;;AAEA,eAAe,6BAA6B;AAC5C,eAAe,4BAA4B;AAC3C,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA,oCAAoC,0BAA0B;AAC9D;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;;AAEA;AACA;AACA,0DAA0D,MAAM;AAChE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,2BAA2B;;AAE1E;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,6BAA6B;;AAE5C;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,eAAe,4BAA4B;;AAE3C,mCAAmC,oBAAoB;AACvD;AACA;AACA;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ACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,qBAAqB;AACrC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,yBAAyB;AACzC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,cAAc;AAC9B,gBAAgB,cAAc;AAC9B;AACA,qCAAqC,cAAc,KAAK;AACxD;AACA;AACA;AACA,8DAA8D,MAAM;AACpE;AACA,OAAO;AACP;;AAEA,6CAA6C,SAAS;;AAEtD;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,cAAc;AAC9B,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,WAAW,0CAA0C,2BAA2B,aAAa;AAC7F,gCAAgC,qBAAqB;AACrD;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA,eAAe,OAAO;AACtB,gBAAgB,iBAAiB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA;AACA;AACA,+CAA+C,SAAS;AACxD;AACA;AACA;;AAEA,YAAY;AACZ;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA,eAAe,OAAO;AACtB,gBAAgB,wBAAwB;AACxC;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,gEAAgE,UA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;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,gDAAgD,0CAA0C;AAC1F;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,oBAAoB;AACzC,qDAAqD,SAAS;AAC9D,wCAAwC,WAAW,oBAAoB,GAAG;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uCAAuC,2BAA2B;AAClE;AACA;AACA;AACA;AACA,mBAAmB;AACnB,iBAAiB;AACjB,eAAe;AACf;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;AACA;AACA;AACA,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,gBAAgB;AAC7B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,MAAM;AACnC;AACA,8DAA8D,IAAI;AAClE;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,OAAO;AAC1B;AACA;;AAEA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,2BAA2B,IAAI,4BAA4B;AAC9F;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iCAAiC,yBAAyB,IAAI,4BAA4B;AAC1F;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,MAAM;;AAEvC;AACA,OAAO;AACP;AACA,+CAA+C,0CAA0C;AACzF;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,aAAa,mBAAmB;AAChC,cAAc;AACd;AACA,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mEAAmE,UAAU;AAC7E;;AAEA;AACA;AACA;AACA;AACA,gDAAgD,oBAAoB;AACpE;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,eAAe;AACnF;;AAEA;AACA;AACA;AACA,kEAAkE,aAAa;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,gBAAgB;AAChB,OAAO;AACP;AACA,iDAAiD,0CAA0C;AAC3F;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,iBAAiB;AAC9B,cAAc;AACd;AACA,eAAe,OAAO;AACtB;AACA,6BAA6B,UAAU;AACvC;AACA,qEAAqE,QAAQ;AAC7E;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,OAAO;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC,sBAAsB,IAAI,4BAA4B;AACxF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,yCAAyC,gCAAgC,IAAI;AAC7E;AACA,UAAU;AACV;AACA;;AAEA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AAC,6FAA8B;AACjF,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D;AACA;AACA;AACA;AACA;;AAEA,WAAW,sCAAsC;AACjD;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,6BAA6B;AAC1C,aAAa,OAAO;AACpB,aAAa,kCAAkC;AAC/C;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB,GAAG,qBAAqB;;AAEzE;AACA;AACA,wCAAwC,mBAAmB;AAC3D,KAAK;;AAEL;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,kBAAkB;AAC7B;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2DAA2D,4BAA4B;AACvF;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,8EAA8E;AAC9F;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE,yCAAyC,uBAAuB;AAChE;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,yCAAyC,uBAAuB;AAChE;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,wBAAwB;AACjE;AACA,qCAAqC;AACrC;AACA,iCAAiC;AACjC;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uCAAuC;AACpD,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,sEAAsE,oBAAoB;AAC1F;AACA,8BAA8B,mBAAmB;AACjD,OAAO;AACP;AACA,KAAK;;AAEL;;AAEA;AACA;AACA,yBAAyB,mBAAmB;AAC5C;;AAEA;AACA;AACA,SAAS;AACT,gCAAgC,iCAAiC;AACjE;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,uCAAuC;AAC1D;AACA,uDAAuD,uCAAuC;AAC9F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,2BAA2B;AACzD;AACA;AACA,6DAA6D,2BAA2B;AACxF;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,sCAAsC,mCAAmC,2BAA2B,GAAG;AACvG,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,oBAAoB;AACxC;AACA,wDAAwD,oBAAoB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,mBAAmB,mDAAmD;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uBAAuB;AACpC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA,eAAe;AACf;AACA,qBAAqB,oCAAoC;AACzD;AACA;AACA,mBAAmB,oCAAoC;AACvD;;AAEA;AACA;AACA;AACA,sDAAsD,4BAA4B;AAClF,0BAA0B,0CAA0C;AACpE,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,sBAAsB,8DAA8D;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA,eAAe;AACf;AACA,qBAAqB,kBAAkB;AACvC;AACA,yDAAyD,kBAAkB;AAC3E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB,eAAe;AACf;AACA,wBAAwB,WAAW;AACnC;AACA,4DAA4D,WAAW;AACvE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,sBAAsB,+CAA+C;AACrE;AACA,0DAA0D,gCAAgC;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA,eAAe;AACf;AACA,0BAA0B,wDAAwD;AAClF;AACA;AACA,wBAAwB,yCAAyC;AACjE;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA;AACA,eAAe;AACf;AACA,sBAAsB,yBAAyB;AAC/C;AACA,0DAA0D,kBAAkB;AAC5E;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,4CAA4C;AACzD;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,yBAAyB,qCAAqC;AAC9D;AACA,6DAA6D,6BAA6B;AAC1F;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,sBAAsB,kCAAkC;AACxD;AACA,0DAA0D,0BAA0B;AACpF;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,wBAAwB,sCAAsC;AAC9D;AACA,4DAA4D,sCAAsC;AAClG;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,4BAA4B,qDAAqD;AACjF;AACA;AACA;AACA;AACA;AACA,0BAA0B,qDAAqD;AAC/E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,yBAAyB,sDAAsD;AAC/E;AACA;AACA,uBAAuB,sDAAsD;AAC7E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,oBAAoB;AACjC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,6BAA6B;AAC7C;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,eAAe;AACf;AACA,yBAAyB,8DAA8D;AACvF;AACA;AACA,uBAAuB,8DAA8D;AACrF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe;AACf;AACA,gBAAgB,gEAAgE;AAChF;AACA;AACA,cAAc,gEAAgE;AAC9E;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,wBAAwB;AACrC;AACA;AACA;AACA;AACA,qCAAqC,yBAAyB;AAC9D,qCAAqC,yBAAyB;AAC9D;AACA;AACA;AACA,eAAe,eAAe;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,iDAAiD;AACvF,sCAAsC,iDAAiD;AACvF;AACA,kCAAkC;AAClC;AACA;AACA;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA,uBAAuB,SAAS;AAChC;AACA,2DAA2D,SAAS;AACpE;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,oBAAoB,MAAM;AAC1B;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oB;AACvD,iEAAiE,SAAS;AAC1E,KAAK;AACL;AACA,6CAA6C,UAAU;AACvD;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA,eAAe,mBAAO,CAAC,sBAAQ;AAC/B,cAAc,mBAAO,CAAC,0FAA2B;AACjD,OAAO,2DAA2D,GAAG,mBAAO,CAAC,0DAAc;;AAE3F;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,WAAW;AACxB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,iBAAiB;AAC9B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,WAAW;;AAE3C;AACA;;AAEA;AACA,WAAW,SAAS;AACpB,WAAW,mBAAmB;AAC9B,sBAAsB,KAAK,GAAG,KAAK;;AAEnC;AACA,kDAAkD,YAAY;AAC9D;;AAEA;AACA,4DAA4D,SAAS;AACrE;;AAEA,kDAAkD,SAAS;AAC3D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,2BAA2B,OAAO,eAAe,SAAS;AAC1D,KAAK;AACL,0DAA0D,OAAO,WAAW,UAAU;AACtF,wCAAwC,SAAS;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,WAAW,EAAE,wBAAwB;AACvE,gDAAgD,qBAAqB;AACrE;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA,WAAW,gBAAgB;;AAE3B;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,WAAW,OAAO,gCAAgC,WAAW,4BAA4B,cAAc;AACvG;AACA;;AAEA;AACA;AACA,4BAA4B,yBAAyB,KAAK,YAAY;AACtE,gDAAgD,eAAe;AAC/D;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,uBAAuB,KAAK,kBAAkB;AAC9D;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qBAAqB,KAAK,OAAO;AACjD;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrUA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6EAAS;;AAE5C;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA,eAAe,mBAAO,CAAC,6DAAW;AAClC,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,OAAO,8CAA8C,GAAG,mBAAO,CAAC,uDAAW;;AAE3E,OAAO,uBAAuB;AAC9B,wCAAwC,mBAAmB;AAC3D;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,gDAAgD;AAC7D,aAAa,6BAA6B;AAC1C,aAAa,mCAAmC;AAChD,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,wCAAwC;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,eAAe,mBAAmB;AAClC;AACA,eAAe,4CAA4C;AAC3D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,sFAAsF,UAAU;AAChG,aAAa;AACb;AACA,SAAS;AACT,wCAAwC,wBAAwB;AAChE;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA,WAAW,iCAAiC;;AAE5C;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iCAAiC,2BAA2B;AAC5D;;AAEA;AACA,0DAA0D,mBAAmB;AAC7E;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE,mBAAmB;AACnF;AACA,eAAe;AACf,aAAa;AACb,WAAW;AACX;AACA;;AAEA,2DAA2D,SAAS,QAAQ,OAAO;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;;AAEA;AACA,gDAAgD,OAAO;AACvD;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,UAAU,iCAAiC,gBAAgB;AACxE,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C,SAAS;AACrD;AACA,+BAA+B,iBAAiB;AAChD,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,4BAA4B;AAChE;;AAEA;AACA;AACA;AACA,sCAAsC,SAAS;AAC/C,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX,0EAA0E,w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AqB;AACvD,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;AACvB,0BAA0B,mBAAO,CAAC,6FAA8B;;AAEhE,OAAO,OAAO;;AAEd,2BAA2B,oBAAoB;AAC/C;AACA;AACA,CAAC;;AAED;AACA;AACA,aAAa,OAAO;AACpB,aAAa,cAAc;AAC3B,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,mCAAmC;AAChD,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,IAAI;AACjB,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,gBAAgB,aAAa;AAC7B,kCAAkC,aAAa;AAC/C;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,kBAAkB,cAAc,KAAK;AACrC;AACA;AACA;AACA,kDAAkD,SAAS;AAC3D,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,cAAc;AACd;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA,oBAAoB,SAAS;AAC7B;AACA,+CAA+C,SAAS;AACxD,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW,WAAW;;AAEtB;AACA;AACA;;AAEA,0CAA0C,gCAAgC;;AAE1E;AACA;AACA,qCAAqC,sBAAsB;AAC3D;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,eAAe,0CAA0C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,WAAW,WAAW;AACtB;AACA,4EAA4E,QAAQ;AACpF;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,kBAAkB;AAC/B,eAAe,OAAO;AACtB;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,8DAA8D,+BAA+B;AAC7F;;AAEA,aAAa,SAAS;AACtB;AACA,cAAc;AACd,KAAK,IAAI;AACT;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,8BAA8B,qDAAqD;AACnF;AACA;AACA,eAAe,cAAc;AAC7B;AACA;AACA,SAAS;AACT,sCAAsC,6BAA6B;AACnE,OAAO;AACP;AACA;AACA;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;;AAEA;AACA,oEAAoE;AACpE;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,uDAAuD;AACpE,eAAe;AACf;AACA,sCAAsC,2BAA2B;AACjE,oEAAoE,iBAAiB;AACrF;AACA;AACA,oEAAoE,2BAA2B;AAC/F;AACA;AACA;AACA,WAAW;AACX;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA,iBAAiB,gBAAgB;AACjC;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;AACA,gDAAgD,eAAe;AAC/D;AACA;AACA;AACA,eAAe,8CAA8C;AAC7D;AACA;AACA;AACA;AACA,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE,qCAAqC,4BAA4B;AACjE;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,YAAY;AACzB,cAAc;AACd;;AAEA;AACA;AACA,aAAa,kDAAkD;AAC/D;AACA;AACA;AACA;AACA;AACA,oEAAoE,gBAAgB;;AAEpF,oCAAoC;;AAEpC;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,4CAA4C,SAAS;AACrD;;AAEA,aAAa,0BAA0B;AACvC;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA,KAAK;;AAEL;AACA;AACA,wEAAwE;;AAExE;AACA;AACA,kDAAkD,oBAAoB;AACtE;AACA;AACA,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AAC7E,gBAAgB,mBAAO,CAAC,2EAAwB;;AAEhD;AACA;AACA,WAAW,QAAQ;AACnB,aAAa;AACb;AACA,mBAAmB,UAAU;AAC7B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,MAAM;AACnB,gCAAgC,oDAAoD;AACpF,aAAa,MAAM;AACnB,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,wCAAwC,WAAW;AACnD;;AAEA;AACA;AACA,0CAA0C,2CAA2C;AACrF,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;;AAEH,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AClFD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;;;;;;;;;;;;;ACbA,aAAa,mBAAO,CAAC,+DAAe;AACpC,8BAA8B,mBAAO,CAAC,6FAAyB;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gCAAgC;;AAE3C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,kBAAkB;AAC3E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/GA,gBAAgB,mBAAO,CAAC,qEAAkB;AAC1C,cAAc,mBAAO,CAAC,iEAAgB;AACtC,8BAA8B,mBAAO,CAAC,iGAAgC;AACtE,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,kBAAkB,mBAAO,CAAC,yEAAoB;AAC9C,oBAAoB,mBAAO,CAAC,2DAAU;AACtC,wBAAwB,mBAAO,CAAC,qFAA0B;;AAE1D,sBAAsB,mBAAO,CAAC,mFAAiB;AAC/C,cAAc,mBAAO,CAAC,6DAAS;AAC/B,oBAAoB,mBAAO,CAAC,yEAAe;AAC3C,0BAA0B,mBAAO,CAAC,qFAAqB;AACvD;AACA,WAAW,+DAA+D;AAC1E,CAAC,GAAG,mBAAO,CAAC,6FAAyB;AACrC,OAAO,mBAAmB,GAAG,mBAAO,CAAC,mFAAoB;AACzD;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAW;;AAEvB,OAAO,OAAO;;AAEd;AACA;AACA;AACA;AACA,0BAA0B,eAAe;AACzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,eAAe,8BAA8B;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,sBAAsB,sBAAsB;AAC3D;AACA;AACA;AACA;;AAEA;;AAEA,4DAA4D,WAAW;AACvE,aAAa,kCAAkC;AAC/C;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,4CAA4C;;AAEvD,gEAAgE,UAAU;;AAE1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,oBAAoB;AAC/B;AACA,yCAAyC,oBAAoB;AAC7D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,mDAAmD,0CAA0C;AAC7F,6CAA6C,OAAO;;AAEpD;AACA;AACA,6CAA6C,cAAc;AAC3D;AACA;;AAEA;AACA,0CAA0C,oCAAoC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gDAAgD,QAAQ;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B,oBAAoB;AACjD;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB,OAAO,iCAAiC;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;;AAEA;AACA,aAAa,qCAAqC;AAClD;AACA,eAAe,mBAAmB;AAClC,oCAAoC,mBAAmB;AACvD;;AAEA;AACA,aAAa,2CAA2C;AACxD;AACA,iBAAiB,2BAA2B;AAC5C,sCAAsC,2BAA2B;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,2CAA2C;AACxD;AACA,QAAQ,2BAA2B;AACnC;AACA;;AAEA;AACA,8CAA8C,uBAAuB;AACrE;AACA,KAAK;AACL;AACA;;AAEA;AACA,+CAA+C,uBAAuB;AACtE;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,WAAW;AAC9B,0CAA0C,WAAW;AACrD;;AAEA;AACA;AACA,aAAa,gEAAgE;AAC7E,kBAAkB,mBAAmB,4BAA4B,mBAAmB,qBAAqB,mBAAmB,GAAG,IAAI;AACnI;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA,mEAAmE,aAAa;AAChF;AACA,kBAAkB,aAAa;AAC/B,eAAe,QAAQ;;AAEvB;AACA,sEAAsE,iBAAiB;AACvF;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;;AAEA;AACA,yBAAyB,wBAAwB,kBAAkB,oBAAoB,UAAU,cAAc;AAC/G;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA,wCAAwC,0CAA0C;AAClF;AACA;;AAEA;AACA,sDAAsD,SAAS;AAC/D,eAAe,YAAY;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET,oDAAoD,wBAAwB;AAC5E,kEAAkE,QAAQ;AAC1E;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA,uBAAuB,sCAAsC;AAC7D;AACA;AACA,oEAAoE,qBAAqB;AACzF;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,UAAU;AACpC;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iCAAiC,6BAA6B;AAC9D;;AAEA;AACA,2BAA2B,UAAU;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,gBAAgB,4BAA4B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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,GAAG,mBAAO,CAAC,2EAAa;AAC5C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,6DAAc;AACjE,wBAAwB,mBAAO,CAAC,yFAA4B;;AAE5D,OAAO,eAAe;AACtB,OAAO,mCAAmC;;AAE1C;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,OAAO;AAClB,WAAW,mCAAmC;AAC9C,WAAW,6BAA6B;AACxC,WAAW,0CAA0C;AACrD,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC,WAAW,OAAO;AAClB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA,oBAAoB,2BAA2B;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,kBAAkB,uCAAuC,eAAe;AAC7G;AACA;;AAEA,gCAAgC,sDAAsD;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,0CAA0C;AACvD;AACA;AACA;AACA;;AAEA,aAAa,6CAA6C;AAC1D;AACA;AACA;AACA,2DAA2D,UAAU;AACrE;AACA;AACA,KAAK;AACL,oEAAoE,UAAU;AAC9E;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,aAAa,uCAAuC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,UAAU;AACxC,KAAK;AACL,+DAA+D,UAAU;AACzE;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA,aAAa,4CAA4C;AACzD,4BAA4B,+BAA+B;AAC3D;AACA;AACA;;AAEA;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA;AACA,yBAAyB,MAAM,IAAI,aAAa;AAChD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mBAAmB;AAClC;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;;AAEA,aAAa,sCAAsC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA,mFAAmF,UAAU;AAC7F;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,+BAA+B,UAAU;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA,6BAA6B,OAAO,IAAI,UAAU;AAClD;AACA;AACA;AACA,OAAO;;AAEP;AACA,8BAA8B,6BAA6B;AAC3D;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mDAAmD,UAAU;AAC7D;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,yEAAyE;AAC3F;AACA;AACA;AACA,iBAAiB,4CAA4C;AAC7D;AACA,8DAA8D,MAAM;AACpE;;AAEA;AACA;AACA,6DAA6D,UAAU;AACvE;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,yFAAyF,OAAO;AAChG;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0EAA0E,SAAS;AACnF;AACA;;AAEA;;AAEA,2BAA2B,4CAA4C;;AAEvE,gBAAgB;AAChB,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,aAAa,uCAAuC;AACpD,iBAAiB,2BAA2B;AAC5C;AACA,0DAA0D,MAAM;AAChE;;AAEA;AACA;AACA,yDAAyD,UAAU;AACnE;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,qFAAqF,OAAO;AAC5F;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,kDAAkD;AAC1E;;AAEA,aAAa,gDAAgD;AAC7D;AACA,4DAA4D,UAAU;AACtE;AACA;AACA,aAAa,SAAS,qCAAqC,sBAAsB;AACjF;AACA,KAAK;AACL;;AAEA;AACA,YAAY;AACZ;AACA,kBAAkB,0CAA0C;AAC5D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,wFAAwF,0BAA0B;AAClH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,YAAY;AACZ;AACA,iBAAiB,0CAA0C;AAC3D;AACA;AACA;AACA;AACA;AACA,2BAA2B,2DAA2D;AACtF;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,yFAAyF,0BAA0B;AACnH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjhBA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,wEAAqB;AAC7C,wBAAwB,mBAAO,CAAC,+FAAmB;AACnD,kCAAkC,mBAAO,CAAC,mHAA6B;AACvE;AACA,WAAW,iBAAiB;AAC5B,CAAC,GAAG,mBAAO,CAAC,8FAA0B;;AAEtC,OAAO,eAAe;AACtB,yEAAyE,YAAY,EAAE,KAAK;;AAE5F;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,iCAAiC;AAC9C,aAAa,gCAAgC;AAC7C,aAAa,2CAA2C;AACxD,aAAa,QAAQ;AACrB,aAAa,cAAc;AAC3B,aAAa,cAAc;AAC3B,cAAc,kBAAkB,2BAA2B;AAC3D,aAAa,wCAAwC;AACrD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,eAAe,mBAAmB;AAClC;AACA;;AAEA;AACA,aAAa,8CAA8C;AAC3D;AACA,iBAAiB,2BAA2B;AAC5C;AACA;AACA;AACA;;AAEA;AACA,eAAe;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,wCAAwC;AACrD;AACA,0BAA0B,mBAAmB;AAC7C,WAAW,kCAAkC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,mCAAmC;AAC3D,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;AACA;AACA;AACA,aAAa,8CAA8C;AAC3D;AACA,cAAc,2BAA2B;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,WAAW,kCAAkC;AAC7C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C,SAAS;AACT;AACA,KAAK;;AAEL,uBAAuB,mBAAmB;AAC1C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,eAAe;AAC/B;AACA,eAAe,OAAO;AACtB,gBAAgB,kBAAkB;AAClC;AACA,eAAe,OAAO;AACtB,gBAAgB,OAAO;AACvB,gBAAgB,OAAO;AACvB;AACA;AACA;AACA,8BAA8B,aAAa;AAC3C;AACA;AACA;AACA,KAAK;AACL,sCAAsC,oBAAoB;AAC1D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA,YAAY;AAC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AAEA;AACA,WAAW,mBAAmB;;AAE9B;AACA,6DAA6D,mBAAmB;AAChF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD,mCAAmC;AACnF,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;;AAEA,wCAAwC,2CAA2C;AACnF,0CAA0C,mCAAmC;AAC7E;AACA;AACA;;AAEA;AACA,WAAW,mBAAmB;AAC9B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C,4CAA4C;AACxF,SAAS;AACT;AACA,8CAA8C,mCAAmC;AACjF,SAAS;AACT;AACA;AACA;AACA;AACA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yDAAyD,mBAAmB;AAC5E,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,+CAA+C;AACvF;AACA;;AAEA;AACA;;AAEA,oDAAoD;;AAEpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP,0CAA0C,mCAAmC;AAC7E;;AAEA,WAAW,gCAAgC;AAC3C,2CAA2C,6CAA6C;;AAExF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,mCAAmC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,WAAW;;AAEX;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,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AO,OAAO;;AAEd;AACA,kBAAkB,mBAAmB,KAAK;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc,mBAAmB;AACjC;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,0BAA0B,KAAK;AACjD,cAAc,YAAY;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,WAAW;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,wBAAwB;AAC1C;AACA,oBAAoB,UAAU,iBAAiB,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,eAAe,KAAK;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,aAAa,KAAK;AACpC,cAAc,YAAY,KAAK,GAAG,KAAK,GAAG;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,4DAA4D,KAAK;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,QAAQ,KAAK;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,2BAA2B,KAAK;AAClD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,kBAAkB,KAAK;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,aAAa;AAC5B;AACA;AACA;AACA;AACA,gBAAg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8BAA8B;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,aAAa;AAC1B;AACA;AACA;AACA;AACA,GAAG,KAAK;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,SAAS,QAAQ,KAAK;AACtB;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,cAAc,2CAA2C;AACzD;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnMA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,6BAA6B,mBAAO,CAAC,oEAAS;AAC9C,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAW;;AAE5C;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,aAAa,yBAAyB;AACtC,eAAe,iEAAiE;AAChF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA;AACA;AACA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,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,6BAA6B;AAC1C,aAAa,qCAAqC;AAClD,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB;AACA,aAAa,qCAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA,6CAA6C;AAC7C;AACA,sBAAsB,0CAA0C;AAChE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,sEAAsE,UAAU;AAChF,qBAAqB,UAAU,GAAG,UAAU;AAC5C;AACA,SAAS;;AAET,sCAAsC,iBAAiB;AACvD;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB,UAAU,GAAG,UAAU;AAC5C,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA,2DAA2D,UAAU;AACrE,uBAAuB,UAAU,GAAG,UAAU;AAC9C,WAAW;AACX;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA,gBAAgB,gDAAgD;AAChE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA,yBAAyB,UAAU,GAAG,UAAU;AAChD,aAAa;AACb;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,eAAe,cAAc;AAC7B;AACA,cAAc,oEAAoE;AAClF;;AAEA;AACA;AACA,aAAa,WAAW;AACxB;;AAEA,kDAAkD,mCAAmC;AACrF,aAAa,8BAA8B;AAC3C,+BAA+B,qBAAqB;AACpD;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX,SAAS;AACT;AACA;AACA,OAAO;AACP;;AAEA,WAAW,sCAAsC;;AAEjD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;AACA,kCAAkC,mBAAmB;AACrD;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,gCAAgC,mBAAmB;AACnD;AACA;AACA;AACA,gDAAgD,qCAAqC;AACrF,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,UAAU,GAAG,UAAU;AAC1C,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1bA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACPA,OAAO,eAAe,GAAG,mBAAO,CAAC,sBAAQ;AACzC,sBAAsB,mBAAO,CAAC,yFAAiB;AAC/C,eAAe,mBAAO,CAAC,6FAA0B;AACjD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,0DAAc;;AAE5D;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,gCAAgC;AAC7C,aAAa,wCAAwC;AACrD,aAAa,cAAc;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAAgB,uCAAuC;AACvD,gBAAgB,QAAQ;AACxB,gBAAgB,SAAS;AACzB,gBAAgB,OAAO;AACvB;AACA;AACA,aAAa,cAAc;AAC3B;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,+BAA+B,yBAAyB;AACxD;AACA;;AAEA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA,kBAAkB,+BAA+B;AACjD;AACA;AACA;;AAEA;AACA,+BAA+B,gBAAgB;AAC/C,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;;;;;;;;;;;;;ACtTA,OAAO,uDAAuD,GAAG,mBAAO,CAAC,0DAAc;AACvF,eAAe,mBAAO,CAAC,6FAA0B;;AAEjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,aAAa;AAC1B,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB,aAAa,WAAW;AACxB,aAAa,wCAAwC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,8BAA8B;AACzC,2BAA2B,QAAQ,QAAQ,OAAO,aAAa,WAAW;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4DAA4D,YAAY;AACxE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,aAAa,gBAAgB;AAC7B;AACA;AACA;AACA,KAAK;;AAEL,WAAW,6EAA6E;;AAExF;AACA;AACA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A;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2CAA2C,SAAS;AACpD,kCAAkC,KAAK;AACvC;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;;AAEA,6DAA6D,4BAA4B;AACzF,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,mBAAmB;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,4BAA4B,MAAM,GAAG,UAAU,sBAAsB,SAAS;AAC9E;AACA;AACA;;AAEA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,SAAS;AAC7B,oBAAoB,OAAO;AAC3B;AACA;AACA;AACA;;AAEA,4BAA4B,oBAAoB;AAChD;;AAEA,+BAA+B,YAAY;AAC3C;AACA;AACA;AACA;AACA,WAAW;AACX,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,2CAA2C,qDAAqD;AAChG;;AAEA,yBAAyB,oBAAoB;AAC7C;AACA;AACA,WAAW;AACX,SAAS;AACT,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA,iBAAiB,OAAO;AACxB,iBAAiB,oBAAoB;AACrC,mBAAmB;AACnB;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,6BAA6B;AACjD;AACA,mBAAmB,OAAO;AAC1B,oBAAoB,OAAO;AAC3B,oBAAoB,OAAO;AAC3B;AACA,yBAAyB,0BAA0B;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;;AAEf;AACA;;AAEA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;;AAEL;AACA;AACA;AACA;AACA,uBAAuB,oDAAoD;AAC3E,yBAAy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AAyB,mBAAO,CAAC,6EAAc;AAC/C,8BAA8B,mBAAO,CAAC,iFAAmB;AACzD,OAAO,+CAA+C,GAAG,mBAAO,CAAC,6FAAyB;AAC1F,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD,OAAO,eAAe;AACtB;AACA;AACA,iCAAiC,IAAI;AACrC;;AAEA,OAAO,sBAAsB;;AAE7B;AACA;AACA,WAAW,OAAO;AAClB,WAAW,8BAA8B;AACzC,WAAW,6BAA6B;AACxC,WAAW,yCAAyC;AACpD,WAAW,mCAAmC;AAC9C,WAAW,QAAQ;AACnB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,4BAA4B;AACvC;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,SAAS,kBAAkB;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA,aAAa,qCAAqC;AAClD;AACA;AACA,wEAAwE,UAAU;AAClF;;AAEA;AACA;AACA;AACA,oDAAoD,UAAU;AAC9D;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA,eAAe,OAAO;AACtB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW,yCAAyC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,kBAAkB,yBAAyB;AAC3C;AACA,4CAA4C,0BAA0B;AACtE,mDAAmD,0BAA0B;;AAE7E;AACA,iBAAiB,oBAAoB;AACrC,sBAAsB,oBAAoB;AAC1C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB;AACA;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrPA,mBAAmB,mBAAO,CAAC,2EAAqB;AAChD,sBAAsB,mBAAO,CAAC,qGAAkC;AAChE,iCAAiC,mBAAO,CAAC,6FAA8B;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,2BAA2B,mBAAO,CAAC,2EAAgB;AACnD,OAAO,yCAAyC,GAAG,mBAAO,CAAC,uDAAW;AACtE,OAAO,oBAAoB,GAAG,mBAAO,CAAC,2FAA6B;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,eAAe,OAAO;AACtB,gBAA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ACX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,UAAU,IAAI,wBAAwB;AACzF;AACA;AACA;;AAEA,wBAAwB,UAAU,IAAI,wBAAwB;AAC9D;AACA;AACA;AACA,KAAK;AACL;AACA;;;;;;;;;;;;;;ACpKA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACXA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS,SAAS;AAClB;AACA;AACA,iBAAiB,OAAO;AACxB;AACA;AACA;AACA;;;;;;;;;;;;;;AC7QA,OAAO,qDAAqD,GAAG,mBAAO,CAAC,uDAAW;AAClF,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB,YAAY;AAC/B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/RA,aAAa,mBAAO,CAAC,+DAAe;;AAEpC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,MAAM;AACnB,aAAa,mCAAmC;AAChD,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClZA,OAAO,uBAAuB,GAAG,mBAAO,CAAC,uDAAW;AACpD,mBAAmB,mBAAO,CAAC,2EAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,iCAAiC,UAAU;AAC3C,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxlBA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,OAAO,YAAY,GAAG,mBAAO,CAAC,kBAAM;AACpC,aAAa,mBAAO,CAAC,kBAAM;;AAE3B;AACA;;AAEA;AACA;AACA,aAAa,QAAQ;AACrB,eAAe;AACf;AACA;AACA;AACA,GAAG;;AAEH;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACtBA,OAAO,wBAAwB,GAAG,mBAAO,CAAC,6DAAiB;;AAE3D;;AAEA;AACA;AAC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AAEA;AACA;AACA;;;;;;;;;;;;;;ACzBA,aAAa,mBAAO,CAAC,kEAAkB;AACvC,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,uBAAuB,mBAAO,CAAC,kFAAoB;AACnD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAwB;AACpE,OAAO,6BAA6B,GAAG,mBAAO,CAAC,0DAAc;;AAE7D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;AC1FA,gBAAgB,mBAAO,CAAC,kEAAY;AACpC,wBAAwB,mBAAO,CAAC,wEAAY;AAC5C,OAAO,QAAQ,GAAG,mBAAO,CAAC,gGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA,mCAAmC,0BAA0B;AAC7D;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,kFAAU;AACjC;;AAEA;;;;;;;;;;;;;;ACHA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;ACHD,gBAAgB,mBAAO,CAAC,wEAAkB;;AAE1C;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,aAAa;AAChC;AACA;;;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,wEAAwB;AAC7C,sBAAsB,mBAAO,CAAC,qGAAyB;AACvD,uBAAuB,mBAAO,CAAC,sFAAyB;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,aAAa,OAAO,uBAAuB,KAAK;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,eAAe,mBAAO,CAAC,2FAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B,8BAA8B;AAC9B,eAAe;AACf,iBAAiB;AACjB,qBAAqB,GAAG;AACxB;AACA,mBAAmB,8DAA8D,EAAE;AACnF;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACjEA,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,OAAO,6BAA6B,GAAG,mBAAO,CAAC,6DAAiB;AAChE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,mGAA2B;AACvE,sBAAsB,mBAAO,CAAC,kGAAsB;AACpD,uBAAuB,mBAAO,CAAC,mFAAsB;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,gEAAgE,eAAe,wBAAwB,OAAO;AAC9G;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,8BAA8B;;AAErF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,YAAY;AAC7B;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrHA,aAAa,mBAAO,CAAC,qEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,qEAAe;AACvC,eAAe,mBAAO,CAAC,kFAAW;AAClC;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,mGAA2B;;AAEvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;A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;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB,WAAW,QAAQ;AACnB;AACA,mBAAmB,0BAA0B;AAC7C;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACxBA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA;;AAEA;AACA;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,4FAAc;AAC1C,qBAAqB,mBAAO,CAAC,8FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO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;AAC3C,GAAG;AACH,OAAO,YAAY;AACnB,oBAAoB,mBAAO,CAAC,2FAAc;AAC1C,qBAAqB,mBAAO,CAAC,6FAAe;AAC5C,YAAY,mBAAmB,YAAY;AAC3C,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AChBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACtCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qEAAqE,YAAY;AACjF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,YAAY;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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AAC,gEAAoB;;AAEvF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD,YAAY;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,sBAAsB;AACxD;AACA;;AAEA,8BAA8B,cAAc;AAC5C;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD,2BAA2B,gCAAgC,IAAI,gBAAgB;;;;;;;;;;;;;;ACnB/E,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;A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EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iEAAiE,YAAY;AAC7E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD,YAAY;;AAEpE;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,qBAAqB,GAAG,mBAAO,CAAC,8EAAe;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,UAAU;AAC7B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACzCD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,8FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AACA;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;AACA,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY;AACZ,GAAG;AACH;;AAEA;AACA;AACA,cAA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA,6BAA6B,oBAAoB;AACjD;AACA,aAAa;AACb;AACA,SAAS;AACT;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC7BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iCAAiC,GAAG,mBAAO,CAAC,gEAAoB;AACvE,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,WAAW,aAAa;AACxB,gDAAgD,YAAY;AAC5D,KAAK;AACL,cAAc,uBAAuB;;AAErC;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,gCAAgC;AAC5C,YAAY,uBAAuB;;AAEnC;AACA;AACA,6CAA6C,uBAAuB;AACpE;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA,CAAC;;;;;;;;;;;;;;AChED,kBAAkB,mBAAO,CAAC,+FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,mBAAmB,mBAAO,CAAC,iGAAgB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B,SAAS,0BAA0B,eAAe,SAAS;;AAE3D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AACA,OAAO,kBA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Ac;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA,wBAAwB,yEAAyE;AACjG;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yEAAyE;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AC1BD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;;AAEjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;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;AACpD,4BAA4B,mBAAO,CAAC,gGAA8B;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,qDAAqD,YAAY;AACjE;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjGA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,8EAAe;;AAE3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,MAAM;AACjB;AACA;AACA,mBAAmB,qCAAqC;AACxD;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,mGAAgB;AACnD,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kFAAuB;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,+CAA+C,YAAY;AAC3D;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,kGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnDA,kBAAkB,mBAAO,CAAC,gGAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,WAAW,8BAA8B,WAAW,IAAI,gBAAgB;;;;;;;;;;;;;;ACP3F,OAAO,0BAA0B,GAAG,mBAAO,CAAC,kGAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnCA;AACA,OAAO,gEAAgE;AACvE,oBAAoB,mBAAO,CAAC,uFAAc;AAC1C,qBAAqB,mBAAO,CAAC,yFAAe;AAC5C;AACA,wBAAwB,gEAAgE;AACxF;AACA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GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,sFAAc;AAC1C,qBAAqB,mBAAO,CAAC,wFAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,wFAAe;AAC3C,qBAAqB,mBAAO,CAAC,0FAAgB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1PA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2CAA2C;AAC9D;AACA;AACA;AACA;AACA;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AAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACtDA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC,mBAAmB,2CAA2C;AAC9D,kCAAkC,2CAA2C,IAAI,gBAAgB;AACjG;;;;;;;;;;;;;;ACJA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qDAAqD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,0BAA0B,mBAAO,CAAC,8FAA6B;AAC/D,2BAA2B,mBAAO,CAAC,sGAAiC;AACpE,OAAO,aAAa,GAAG,mBAAO,CAAC,4FAAyB;;AAExD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,mCAAmC;AAC7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,iGAAkB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,wDAAwD;AAClF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA,wBAAwB,mBAAO,CAAC,sFAAyB;AACzD,kBAAkB,mBAAO,CAAC,uFAAe;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,yFAAgB;AACnD,uBAAuB,mBAAO,CAAC,qGAAsB;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AClEA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,gBAAgB,GAAG,mBAAO,CAAC,8EAAe;AACjD,wBAAwB,mBAAO,CAAC,sFAAyB;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,gCAAgC,oBAAoB;AACpD;AACA;;AAEA,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChFA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,yFAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzBA,0BAA0B,mBAA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AC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA,GAAG;AACH,OAAO,oFAAoF;AAC3F,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,mBAAO,CAAC,0FAAc;AAC1C,qBAAqB,mBAAO,CAAC,4FAAe;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,sCAAsC,mCAAmC;AACzE;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;ACtIA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kEAAkE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC9BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0DAA0D,GAAG,mBAAO,CAAC,oEAAgB;;AAE5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;ACvCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,6FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,4BAA4B,GAAG,mBAAO,CAAC,oEAAgB;AAC9D,OAAO,iBAAiB,GAAG,mBAAO,CAAC,6FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzCA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AChCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,6FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAAkB,mBAAO,CAAC,2FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACnCA,OAAO,SAAS,GAAG,mBAAO,CAAC,6FAAgB;AAC3C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE,OAAO,2CAA2C,GAAG,mBAAO,CAAC,oEAAgB;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,sCAAsC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,8EAAe;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,+BAA+B,mCAAmC;AAClE;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,0BAA0B,GAAG,mBAAO,CAAC,gEAAoB;AAChE;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,o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AO;AAClB;AACA;AACA;AACA;AACA;AACA,gDAAgD,8BAA8B;AAC9E;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,+CAA+C;AACzE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,4BAA4B;AACtD;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;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ACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,qBAAqB;AAChC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS;AAC5B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;ACfD,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;;AAEA,mBAAmB,SAAS,8BAA8B,SAAS,IAAI,gBAAgB;;;;;;;;;;;;;;ACPvF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,mBAAmB,GAAG,mBAAO,CAAC,8EAAe;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;;;;;;;;;;;;;AChBD,OAAO,mCAAmC,GAAG,mBAAO,CAAC,4FAAgB;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3BA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,4FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAAC,0FAAe;;AAEzC;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,wCAAwC;AAC3D,2BAA2B,iCAAiC,IAAI,gBAAgB;;;;;;;;;;;;;;ACThF,OAAO,0BAA0B,GAAG,mBAAO,CAAC,4FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AACA;;AAEA;AACA,OAAO,kBAAkB;AACzB,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,kBAAkB;AACjD,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C,YAAY,mBAAmB,+CAA+C;AAC9E,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+EAA+E;AACtF,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH,OAAO,+CAA+C;AACtD,oBAAoB,mBAAO,CAAC,6FAAc;AAC1C,qBAAqB,mBAAO,CAAC,+FAAe;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,cAAc,UAAU;AACxB;;;;;;;;;;;;;;AC1EA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7CA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,+CAA+C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,6DAA6D;AACvF;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,uBAAuB,GAAG,mBAAO,CAAC,8EAAe;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,qCAAqC;AAC/D;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,gGAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,8FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,8DAA8D;AACjF,2BAA2B,8DAA8D;AACzF;AACA,GAAG;;;;;;;;;;;;;;ACnBH,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,gGAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;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EA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,sBAAsB,GAAG,mBAAO,CAAC,8EAAe;;AAEvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,0BAA0B,YAAY;AACtC;AACA;;;;;;;;;;;;;;AC3BA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,+FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA,kBAAkB,mBAAO,CAAC,6FAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,kBAAkB;AACrC,2BAA2B,kBAAkB,IAAI,gBAAgB;;;;;;;;;;;;;;ACZjE,OAAO,0BAA0B,GAAG,mBAAO,CAAC,+FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA;AACA,OAAO,2BAA2B;AAClC,oBAAoB,mBAAO,CAAC,wFAAc;AAC1C,qBAAqB,mBAAO,CAAC,0FAAe;AAC5C,YAAY,mBAAmB,2BAA2B;AAC1D,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AG,mBAAO,CAAC,8EAAe;AACnD,mBAAmB,mBAAO,CAAC,oFAAqB;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,mCAAmC;AACzC,MAAM,mCAAmC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,QAAQ;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED,sBAAsB,oBAAoB;AAC1C;AACA;;AAEA,2BAA2B,sBAAsB;AACjD,iCAAiC,uCAAuC;AACxE;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrFA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;;AAEA,mBAAmB,2BAA2B;AAC9C,kCAAkC,2BAA2B,IAAI,gBAAgB;AACjF;;;;;;;;;;;;;;ACPA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA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,mBAAO,CAAC,4FAAyB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC,OAAO;AACzC,gBAAgB,QAAQ;AACxB,mBAAmB,QAAQ;AAC3B,+CAA+C;AAC/C,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2BAA2B,sDAAsD;AACjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA,8BAA8B,sDAAsD;AACpF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtHA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,+BAA+B,GAAG,mBAAO,CAAC,oEAAgB;AACjE,gBAAgB,mBAAO,CAAC,8EAA2B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,WAAW,YAAY;AACvB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,OAAO,gBAAgB,GAAG,mBAAO,CAAC,2FAAgB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;AClCA,gBAAgB,mBAAO,CAAC,wEAAkB;AAC1C,OAAO,iBAAiB,GAAG,mBAAO,CAAC,2FAAgB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA,kBAAkB,mBAAO,CAAC,yFAAe;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,KAAK;AACL;;;;;;;;;;;;;;ACrCA,OAAO,0BAA0B,GAAG,mBAAO,CAAC,2FAAgB;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/BA,kBAA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ACxB,WAAW,oBAAoB;AAC/B,aAAa;AACb;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;;AAEA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,6BAA6B,iDAAiD;;AAE9E,0DAA0D,gBAAgB;AAC1E;AACA;AACA;AACA,eAAe,UAAU;AACzB;AACA,OAAO;AACP;AACA,eAAe,SAAS;AACxB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;AC1DA,OAAO,2BAA2B,GAAG,mBAAO,CAAC,uDAAW;;AAExD;AACA;AACA;AACA;;AAEA,sBAAsB,yBAAyB,KAAK;AACpD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACXA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACTA,OAAO,SAAS,GAAG,mBAAO,CAAC,kBAAM;AACjC,OAAO,qBAAqB,GAAG,mBAAO,CAAC,uDAAW;;AAElD;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,eAAe,8BAA8B,KAAK;AAClD;AACA,kEAAkE,eAAe;AACjF;;AAEA;AACA;AACA;AACA;AACA;AACA,8BAA8B,eAAe,KAAK,YAAY;AAC9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9DA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,EAAE;AACf,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa,0BAA0B;AACvC,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,aAAa,OAAO;AACpB,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,cAAc;AAC3B,eAAe,MAAM;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,qBAAqB;AAClC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,oBAAoB;AACjC,eAAe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,MAAM;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;;AAEA;;;;;;;;;;;;;;ACtVA;AACA;AACA,WAAW,+BAA+B;AAC1C;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AACA,WAAW,IAAI;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,+BAA+B,OAAO;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACxBA;AACA;AACA;AACA,GAAG;;;;;;;;;;;;;;ACHH,OAAO,OAAO;AACd;AACA,yCAAyC,gCAAgC,KAAK;;;;;;;;;;;;;;ACF9E,cAAc,mBAAO,CAAC,0DAAS;AAC/B,OAAO,iBAAiB,GAAG,mBAAO,CAAC,uDAAW;;AAE9C;AACA;AACA,GAAG,iFAAiF;AACpF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;;;;;;;;;;;;;AC5CA;;AAEA,oCAAoC,SAAS,GAAG,KAAK,EAAE,uBAAuB;;;;;;;;;;;;;;ACF9E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjKA,aAAa,mBAAO,CAAC,sDAAY;AACjC,YAAY,mBAAO,CAAC,oBAAO;AAC3B,aAAa,mBAAO,CAAC,8CAAQ;AAC7B,aAAa,mBAAO,CAAC,sBAAQ;AAC7B,SAAS,mBAAO,CAAC,cAAI;;AAErB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;;AAEnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC,6BAA6B;AAClE,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,mBAAmB,mBAAmB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,kBAAkB;AACnC;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0BAA0B;AAC1B;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5M2B;AAC0B;AACrD;AACA;AACA;AACA;AACA;AACA,IAAI,4DAAqB;AACzB;AACA,GAAG;AACH,IAAI,4DAAqB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,gBAAgB;AACjD,UAAU,+DAAW;AACrB;AACA;AACA;AACoE;;;;;;;;;;;;;;;;;;;;AC5CpE;AACA;AACsB;;;;;;;;;;;;;;ACFtB,SAAS,mBAAO,CAAC,cAAI;AACrB,WAAW,mBAAO,CAAC,kBAAM;AACzB,SAAS,mBAAO,CAAC,cAAI;;AAErB;AACA,qBAAqB,KAAyC,GAAG,OAAuB,GAAG,CAAO;;AAElG;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAyC,oBAAoB,CAAE;AACnE;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;;AAEd;;AAEA,iBAAiB,gBAAgB;AACjC;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9MA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,MAAM;AACjB;AACA;;AAEA;AACA,iBAAiB,oBAAoB;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,UAAU,mBAAO,CAAC,gBAAK;AACvB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,cAAc;AACzB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,aAAa,mBAAO,CAAC,sBAAQ;;AAE7B;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB,YAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,2EAA2E,uBAAuB;AAClG,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,aAAa;AACb,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0CAA0C,kDAAkD;;AAE5F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,wDAAwD;AAC7F;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qCAAqC,iBAAiB;AACtD;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE,KAA0B,oBAAoB,CAAE;AAClD;;AAEA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;;;;ACxvBA;AACA;AACA,aAAa,mBAAO,CAAC,sBAAQ;AAC7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA,EAAE,cAAc;AAChB;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChEA;AACA;AACA,SAAS,mBAAO,CAAC,6EAAa;AAC9B,iBAAiB,mBAAO,CAAC,6FAAqB;AAC9C,eAAe,mBAAO,CAAC,qGAAyB;AAChD,qBAAqB,mBAAO,CAAC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HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;;AAEA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,iBAAiB;AAC5B,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe,mDAAmD;AAClE;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,aAAa,mBAAO,CAAC,2GAAkB;AACvC,cAAc,mBAAO,CAAC,mHAAsB;AAC5C,eAAe,mBAAO,CAAC,qHAAuB;AAC9C,oBAAoB,mBAAO,CAAC,uHAAuB;AACnD,mBAAmB,mBAAO,CAAC,6HAA2B;AACtD,sBAAsB,mBAAO,CAAC,mIAA8B;AAC5D,kBAAkB,mBAAO,CAAC,mHAAqB;AAC/C,2BAA2B,mBAAO,CAAC,6HAA0B;AAC7D,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;;AAEP;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACnNa;;AAEb,YAAY,mBAAO,CAAC,4FAAS;AAC7B,WAAW,mBAAO,CAAC,0GAAgB;AACnC,YAAY,mBAAO,CAAC,sGAAc;AAClC,kBAAkB,mBAAO,CAAC,kHAAoB;AAC9C,eAAe,mBAAO,CAAC,wGAAY;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,eAAe,mBAAO,CAAC,4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AAO,CAAC,qHAAsB;;AAE9C;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA,yBAAyB;AACzB,KAAK;AACL;AACA,CAAC;;AAED;AACA;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;AAED;;;;;;;;;;;;;;;ACnJa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;;;;;;;;;;;;ACrDa;;AAEb,oBAAoB,mBAAO,CAAC,6HAA0B;AACtD,kBAAkB,mBAAO,CAAC,yHAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACnBa;;AAEb,mBAAmB,mBAAO,CAAC,+GAAgB;;AAE3C;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,oBAAoB,mBAAO,CAAC,iHAAiB;AAC7C,eAAe,mBAAO,CAAC,iHAAoB;AAC3C,eAAe,mBAAO,CAAC,yGAAa;AACpC,aAAa,mBAAO,CAAC,6GAAkB;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B,uCAAuC;AACvC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtFa;;AAEb;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ca;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,2BAA2B;AAC3B,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;AClGa;;AAEb,kBAAkB,mBAAO,CAAC,6GAAe;;AAEzC;AACA;AACA;AACA,WAAW,SAAS;AACpB,WAAW,SAAS;AACpB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACxBa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;AAChC,eAAe,mBAAO,CAAC,yGAAa;;AAEpC;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,MAAM;AACjB,WAAW,eAAe;AAC1B,aAAa,EAAE;AACf;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACrBa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;AAC9B,0BAA0B,mBAAO,CAAC,yIAAgC;AAClE,mBAAmB,mBAAO,CAAC,qHAAsB;AACjD,2BAA2B,mBAAO,CAAC,mHAAgB;;AAEnD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,mBAAO,CAAC,2GAAiB;AACvC,GAAG;AACH;AACA,cAAc,mBAAO,CAAC,6GAAkB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED;;;;;;;;;;;;;;;AClIa;;AAEb;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AACA;AACA,E;;;;;;;;;;;;;;ACFa;;AAEb;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACVa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;;ACrEa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0CAA0C;AAC1C,SAAS;;AAET;AACA,4DAA4D,wBAAwB;AACpF;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,kCAAkC;AAClC,+BAA+B,aAAa,EAAE;AAC9C;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACba;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;;;;;;;;;;;;;;ACZa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB,gBAAgB,QAAQ;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;;;;;;;;;;;;;;ACnEa;;AAEb,YAAY,mBAAO,CAAC,6FAAU;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACXa;;AAEb,YAAY,mBAAO,CAAC,+FAAY;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB,eAAe;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;;;;;;;;;;;;;;;ACpDa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,WAAW,SAAS;AACpB,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC1Ba;;AAEb,cAAc,gIAA8B;;AAE5C;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,WAAW,kBAAkB;AAC7B,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACjFa;;AAEb,WAAW,mBAAO,CAAC,0GAAgB;;AAEnC;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,SAAS,GAAG,SAAS;AAC5C,2BAA2B;AAC3B;AACA;AACA,WAAW,OAAO;AAClB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4BAA4B;AAC5B,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5VA;AACA;AACA;AACA;;AAEA;AACA,yDAAyD,8GAAkC;AAC3F;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,6B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;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;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+B;;;;;;;;;;;;;AC7MA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,oC;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC3FA,iBAAiB,mBAAO,CAAC,+EAAY;AACrC,cAAc,mBAAO,CAAC,+DAAO;AAC7B,mBAAmB,mBAAO,CAAC,wDAAa;;AAExC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,qBAAqB,sCAAsC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,4B;;;;;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;;AAEA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0B;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,iCAAiC,yHAA4C;AAC7E,0BAA0B,mBAAO,CAAC,iGAAqB;;AAEvD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA,+B;;;;;;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mC;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,2EAAU;;AAEjC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA,kC;;;;;;;;;;;;;ACxDA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,sHAAc;;AAEzC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;AChJA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,kBAAkB,mBAAO,CAAC,sGAAa;AACvC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,+IAAqD;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA,iCAAiC,0HAA6C;AAC9E;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpFA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,mGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACZA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,mBAAmB,mBAAO,CAAC,uGAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE,mEAAmE;AACnE,wEAAwE;AACxE,0DAA0D;AAC1D,wDAAwD;AACxD,wDAAwD;AACxD,6DAA6D;AAC7D;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;;;;;;;;ACdA,kBAAkB,mBAAO,CAAC,sGAAwB;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;;;;;;;AChBA,eAAe,mBAAO,CAAC,4EAAW;AAClC,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,sFAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACvBA,gBAAgB,mBAAO,CAAC,wFAAW;;AAEnC;AACA;AACA;AACA;AACA,cAAc,gBAAgB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACpBA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,iBAAiB,mBAAO,CAAC,8FAAY;AACrC,uBAAuB,mBAAO,CAAC,sGAAwB;AACvD,6BAA6B,wIAA8C;AAC3E,OAAO,qBAAqB,GAAG,mBAAO,CAAC,+EAAc;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvCA,iBAAiB,mBAAO,CAAC,8FAAY;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACfA,eAAe,mBAAO,CAAC,0FAAU;;AAEjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;;;;;;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,2B;;;;;;;;;;;;;ACvFA,kBAAkB,mBAAO,CAAC,2FAAa;AACvC,eAAe,mBAAO,CAAC,qFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,oIAA0C;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;ACvBA,eAAe,mBAAO,CAAC,sFAAU;AACjC,eAAe,mBAAO,CAAC,sFAAU;AACjC,cAAc,mBAAO,CAAC,0EAAU;AAChC,6BAA6B,sHAAyC;AACtE,kBAAkB,mBAAO,CAAC,4FAAmB;AAC7C,6BAA6B,qIAA2C;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wB;;;;;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;;AAEA,wB;;;;;;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;ACrCA,sBAAsB,mBAAO,CAAC,0FAAkB;;AAEhD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;AC/CA,kBAAkB,mBAAO,CAAC,kFAAc;;AAExC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACVA,gBAAgB,mBAAO,CAAC,8EAAY;AACpC,eAAe,mBAAO,CAAC,4EAAW;AAClC,uBAAuB,mBAAO,CAAC,sGAAwB;;AAEvD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;;;;;;;;;;;;;;ACtCa;AACb,WAAW,mBAAO,CAAC,cAAI;AACvB,YAAY,mBAAO,CAAC,gBAAK;AACzB,gBAAgB,mBAAO,CAAC,8EAAU;;AAElC,OAAO,IAAI;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,iCAAiC,GAAG;AACpC;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACtIa;;AAEb;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACPY;;AAEZ;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB;AACxB;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;;AAEY;;AAEZ;AACA;AACA;AACA;;AAEA,kBAAkB,mBAAO,CAAC,0DAAc;;AAExC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAA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AS;AACpB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,EAAE;AACb,YAAY,OAAO;AACnB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB,mBAAO,CAAC,sDAAY;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChIa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,qCAAqC;AAClD,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,UAAU;AACvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACvLa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,wBAAwB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,mBAAmB;AAC3B;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO,6BAA6B;AACpC;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAiE,EAAE;AACnE;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT,iEAAiE,EAAE;AACnE;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA,iEAAiE,EAAE;AACnE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP,+DAA+D,EAAE;AACjE;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mDAAmD,EAAE,GAAG,EAAE;AAC1D,0BAA0B;AAC1B,eAAe;AACf;AACA,oBAAoB;AACpB,SAAS;AACT;AACA,KAAK;AACL;AACA;;AAEA,kBAAkB;;;;;;;;;;;;;;;AC9NL;;AAEb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACtDa;;AAEb,aAAa,mBAAO,CAAC,kBAAM;;AAE3B,mBAAmB,mBAAO,CAAC,2DAAe;AAC1C,gBAAgB,mBAAO,CAAC,mDAAW;AACnC,OAAO,oBAAoB,GAAG,mBAAO,CAAC,uDAAa;;AAEnD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,iBAAiB;AAC9B;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,OAAO;AACpB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,IAAI;AAC5C;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,gDAAgD,IAAI,KAAK,MAAM;AAC/D;AACA;AACA;AACA,WAAW;AACX;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,KAAK,MAAM;AAC7D;AACA;AACA,SAAS;AACT,gDAAgD,IAAI;AACpD;;AAEA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA,kCAAkC,SAAS;AAC3C;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,SAAS;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gCAAgC,SAAS;AACzC;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACrgBa;;AAEb,OAAO,WAAW,GAAG,mBAAO,CAAC,sBAAQ;;AAErC,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD;AACA;AACA;AACA;AACA;AACA,CAAC,GAAG,mBAAO,CAAC,uDAAa;AACzB,OAAO,gCAAgC,GAAG,mBAAO,CAAC,2DAAe;AACjE,OAAO,iCAAiC,GAAG,mBAAO,CAAC,yDAAc;;AAEjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,OAAO;AACrB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAoC,oBAAoB;AACxD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,0BAA0B,aAAa;AACvC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc,uBAAuB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,cAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;;AAEA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,mCAAmC,KAAK;AACxC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,+BAA+B;AAC1C,WAAW,OAAO;AAClB,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,YAAY,mBAAmB;AAC/B;AACA;AACA;AACA;AACA,yCAAyC,QAAQ;AACjD;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9lBA,qCAAqC,mCAAmC;;AAE3D;;AAEb,YAAY,mBAAO,CAAC,gBAAK;AACzB,YAAY,mBAAO,CAAC,gBAAK;AACzB,OAAO,iBAAiB,GAAG,mBAAO,CAAC,sBAAQ;;AAE3C,0BAA0B,mBAAO,CAAC,yEAAsB;AACxD,OAAO,eAAe,GAAG,mBAAO,CAAC,uDAAa;AAC9C,OAAO,oBAAoB,GAAG,mBAAO,CAAC,yDAAc;AACpD,OAAO,4BAA4B,GAAG,mBAAO,CAAC,2DAAe;;AAE7D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,uBAAuB,wBAAwB;AAC/C;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;ACxZa;;AAEb,OAAO,SAAS,GAAG,mBAAO,CAAC,sBAAQ;;AAEnC;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACnLa;;AAEb;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,QAAQ;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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,qBAAqB;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,kDAAkD;AAC3E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB,aAAa,qBAAqB;AAClC,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,SAAS;AACtB,cAAc,MAAM;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,gDAAgD,SAAS;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP,gDAAgD,MAAM;AACtD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,WAAW,aAAa;AACxB,WAAW,0BAA0B;AACrC,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,aAAa;AACxB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,wBAAwB;AACnC,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,KAAK,GAAG,wBAAwB;AAClD;AACA,yBAAyB,EAAE,IAAI,WAAW;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AC9bA,qCAAqC,oCAAoC;;AAE5D;;AAEb,qBAAqB,mBAAO,CAAC,sBAAQ;AACrC,cAAc,mBAAO,CAAC,oBAAO;AAC7B,aAAa,mBAAO,CAAC,kBAAM;AAC3B,YAAY,mBAAO,CAAC,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A;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,wBAAwB;AACrC;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,EAAE;AACf,aAAa,OAAO;AACpB,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB;AACA,aAAa,QAAQ;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA,cAAc,OAAO;AACrB;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,mBAAmB;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,kDAAkD,OAAO;AACzD;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,aAAa;AACxB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,iBAAiB;AAC5B;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,OAAO;AAClB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,uCAAuC,qBAAqB;AAC5D,gCAAgC,4BAA4B;AAC5D;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA,0CAA0C,cAAc;;AAExD;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mBAAmB,mBAAmB,GAAG,mBAAmB;AAC5D;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,wBAAwB;;AAEzC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,eAAe;AACtD;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,2CAA2C;AACtD;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,EAAE;AACb,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,2CAA2C,qBAAqB;AAChE,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,mBAAmB;AAC9B;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,qCAAqC;AAChD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1qCA,mC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,oC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,kC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;ACAA,+B;;;;;;;;;;;;;ACAA,iC;;;;;;;;;;;;;ACAA,mC;;;;;;;;;;;;;ACAA,gC;;;;;;;;;;;;;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A;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,CAAC;WACD;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA,CAAC;WACD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,CAAC;WACD,+B;;;;UC3IA;UACA;UACA;UACA;UACA","file":"main.js","sourcesContent":["\"use strict\";\n\nrequire(\"./noConflict\");\n\nvar _global = _interopRequireDefault(require(\"core-js/library/fn/global\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;","\"use strict\";\n\nrequire(\"core-js/es6\");\n\nrequire(\"core-js/fn/array/includes\");\n\nrequire(\"core-js/fn/array/flat-map\");\n\nrequire(\"core-js/fn/string/pad-start\");\n\nrequire(\"core-js/fn/string/pad-end\");\n\nrequire(\"core-js/fn/string/trim-start\");\n\nrequire(\"core-js/fn/string/trim-end\");\n\nrequire(\"core-js/fn/symbol/async-iterator\");\n\nrequire(\"core-js/fn/object/get-own-property-descriptors\");\n\nrequire(\"core-js/fn/object/values\");\n\nrequire(\"core-js/fn/object/entries\");\n\nrequire(\"core-js/fn/promise/finally\");\n\nrequire(\"core-js/web\");\n\nrequire(\"regenerator-runtime/runtime\");","// GENERATED FILE. DO NOT EDIT.\nvar ipCodec = (function(exports) {\n \"use strict\";\n \n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.decode = decode;\n exports.encode = encode;\n exports.familyOf = familyOf;\n exports.name = void 0;\n exports.sizeOf = sizeOf;\n exports.v6 = exports.v4 = void 0;\n const v4Regex = /^(\\d{1,3}\\.){3,3}\\d{1,3}$/;\n const v4Size = 4;\n const v6Regex = /^(::)?(((\\d{1,3}\\.){3}(\\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;\n const v6Size = 16;\n const v4 = {\n name: 'v4',\n size: v4Size,\n isFormat: ip => v4Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n buff = buff || new Uint8Array(offset + v4Size);\n const max = ip.length;\n let n = 0;\n \n for (let i = 0; i < max;) {\n const c = ip.charCodeAt(i++);\n \n if (c === 46) {\n // \".\"\n buff[offset++] = n;\n n = 0;\n } else {\n n = n * 10 + (c - 48);\n }\n }\n \n buff[offset] = n;\n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n return `${buff[offset++]}.${buff[offset++]}.${buff[offset++]}.${buff[offset]}`;\n }\n \n };\n exports.v4 = v4;\n const v6 = {\n name: 'v6',\n size: v6Size,\n isFormat: ip => ip.length > 0 && v6Regex.test(ip),\n \n encode(ip, buff, offset) {\n offset = ~~offset;\n let end = offset + v6Size;\n let fill = -1;\n let hexN = 0;\n let decN = 0;\n let prevColon = true;\n let useDec = false;\n buff = buff || new Uint8Array(offset + v6Size); // Note: This algorithm needs to check if the offset\n // could exceed the buffer boundaries as it supports\n // non-standard compliant encodings that may go beyond\n // the boundary limits. if (offset < end) checks should\n // not be necessary...\n \n for (let i = 0; i < ip.length; i++) {\n let c = ip.charCodeAt(i);\n \n if (c === 58) {\n // :\n if (prevColon) {\n if (fill !== -1) {\n // Not Standard! (standard doesn't allow multiple ::)\n // We need to treat\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (offset < end) {\n // :: in the middle\n fill = offset;\n }\n } else {\n // : ends the previous number\n if (useDec === true) {\n // Non-standard! (ipv4 should be at end only)\n // A ipv4 address should not be found anywhere else but at\n // the end. This codec also support putting characters\n // after the ipv4 address..\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n \n hexN = 0;\n decN = 0;\n }\n \n prevColon = true;\n useDec = false;\n } else if (c === 46) {\n // . indicates IPV4 notation\n if (offset < end) buff[offset] = decN;\n offset++;\n decN = 0;\n hexN = 0;\n prevColon = false;\n useDec = true;\n } else {\n prevColon = false;\n \n if (c >= 97) {\n c -= 87; // a-f ... 97~102 -87 => 10~15\n } else if (c >= 65) {\n c -= 55; // A-F ... 65~70 -55 => 10~15\n } else {\n c -= 48; // 0-9 ... starting from charCode 48\n \n decN = decN * 10 + c;\n } // We don't know yet if its a dec or hex number\n \n \n hexN = (hexN << 4) + c;\n }\n }\n \n if (prevColon === false) {\n // Commiting last number\n if (useDec === true) {\n if (offset < end) buff[offset] = decN;\n offset++;\n } else {\n if (offset < end) buff[offset] = hexN >> 8;\n if (offset < end - 1) buff[offset + 1] = hexN & 0xff;\n offset += 2;\n }\n } else if (fill === 0) {\n // Not Standard! (standard doesn't allow multiple ::)\n // This means that a : was found at the start AND end which means the\n // end needs to be treated as 0 entry...\n if (offset < end) buff[offset] = 0;\n if (offset < end - 1) buff[offset + 1] = 0;\n offset += 2;\n } else if (fill !== -1) {\n // Non-standard! (standard doens't allow multiple ::)\n // Here we find that there has been a :: somewhere in the middle\n // and the end. To treat the end with priority we need to move all\n // written data two bytes to the right.\n offset += 2;\n \n for (let i = Math.min(offset - 1, end - 1); i >= fill + 2; i--) {\n buff[i] = buff[i - 2];\n }\n \n buff[fill] = 0;\n buff[fill + 1] = 0;\n fill = offset;\n }\n \n if (fill !== offset && fill !== -1) {\n // Move the written numbers to the end while filling the everything\n // \"fill\" to the bytes with zeros.\n if (offset > end - 2) {\n // Non Standard support, when the cursor exceeds bounds.\n offset = end - 2;\n }\n \n while (end > fill) {\n buff[--end] = offset < end && offset > fill ? buff[--offset] : 0;\n }\n } else {\n // Fill the rest with zeros\n while (offset < end) {\n buff[offset++] = 0;\n }\n }\n \n return buff;\n },\n \n decode(buff, offset) {\n offset = ~~offset;\n let result = '';\n \n for (let i = 0; i < v6Size; i += 2) {\n if (i !== 0) {\n result += ':';\n }\n \n result += (buff[offset + i] << 8 | buff[offset + i + 1]).toString(16);\n }\n \n return result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3').replace(/:{3,4}/, '::');\n }\n \n };\n exports.v6 = v6;\n const name = 'ip';\n exports.name = name;\n \n function sizeOf(ip) {\n if (v4.isFormat(ip)) return v4.size;\n if (v6.isFormat(ip)) return v6.size;\n throw Error(`Invalid ip address: ${ip}`);\n }\n \n function familyOf(string) {\n return sizeOf(string) === v4.size ? 1 : 2;\n }\n \n function encode(ip, buff, offset) {\n offset = ~~offset;\n const size = sizeOf(ip);\n \n if (typeof buff === 'function') {\n buff = buff(offset + size);\n }\n \n if (size === v4.size) {\n return v4.encode(ip, buff, offset);\n }\n \n return v6.encode(ip, buff, offset);\n }\n \n function decode(buff, offset, length) {\n offset = ~~offset;\n length = length || buff.length - offset;\n \n if (length === v4.size) {\n return v4.decode(buff, offset, length);\n }\n \n if (length === v6.size) {\n return v6.decode(buff, offset, length);\n }\n \n throw Error(`Invalid buffer size needs to be ${v4.size} for v4 or ${v6.size} for v6.`);\n }\n return \"default\" in exports ? exports.default : exports;\n})({});\nif (typeof define === 'function' && define.amd) define([], function() { return ipCodec; });\nelse if (typeof module === 'object' && typeof exports==='object') module.exports = ipCodec;\n","module.exports = require('./lib/index').default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isNetworkError = isNetworkError;\nexports.isRetryableError = isRetryableError;\nexports.isSafeRequestError = isSafeRequestError;\nexports.isIdempotentRequestError = isIdempotentRequestError;\nexports.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\nexports.exponentialDelay = exponentialDelay;\nexports.default = axiosRetry;\n\nvar _isRetryAllowed = require('is-retry-allowed');\n\nvar _isRetryAllowed2 = _interopRequireDefault(_isRetryAllowed);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar namespace = 'axios-retry';\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isNetworkError(error) {\n return !error.response && Boolean(error.code) && // Prevents retrying cancelled requests\n error.code !== 'ECONNABORTED' && // Prevents retrying timed out requests\n (0, _isRetryAllowed2.default)(error); // Prevents retrying unsafe errors\n}\n\nvar SAFE_HTTP_METHODS = ['get', 'head', 'options'];\nvar IDEMPOTENT_HTTP_METHODS = SAFE_HTTP_METHODS.concat(['put', 'delete']);\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isRetryableError(error) {\n return error.code !== 'ECONNABORTED' && (!error.response || error.response.status >= 500 && error.response.status <= 599);\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isSafeRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && SAFE_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean}\n */\nfunction isIdempotentRequestError(error) {\n if (!error.config) {\n // Cannot determine if the request can be retried\n return false;\n }\n\n return isRetryableError(error) && IDEMPOTENT_HTTP_METHODS.indexOf(error.config.method) !== -1;\n}\n\n/**\n * @param {Error} error\n * @return {boolean | Promise}\n */\nfunction isNetworkOrIdempotentRequestError(error) {\n return isNetworkError(error) || isIdempotentRequestError(error);\n}\n\n/**\n * @return {number} - delay in milliseconds, always 0\n */\nfunction noDelay() {\n return 0;\n}\n\n/**\n * @param {number} [retryNumber=0]\n * @return {number} - delay in milliseconds\n */\nfunction exponentialDelay() {\n var retryNumber = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n var delay = Math.pow(2, retryNumber) * 100;\n var randomSum = delay * 0.2 * Math.random(); // 0-20% of the delay\n return delay + randomSum;\n}\n\n/**\n * Initializes and returns the retry state for the given request/config\n * @param {AxiosRequestConfig} config\n * @return {Object}\n */\nfunction getCurrentState(config) {\n var currentState = config[namespace] || {};\n currentState.retryCount = currentState.retryCount || 0;\n config[namespace] = currentState;\n return currentState;\n}\n\n/**\n * Returns the axios-retry options for the current request\n * @param {AxiosRequestConfig} config\n * @param {AxiosRetryConfig} defaultOptions\n * @return {AxiosRetryConfig}\n */\nfunction getRequestOptions(config, defaultOptions) {\n return Object.assign({}, defaultOptions, config[namespace]);\n}\n\n/**\n * @param {Axios} axios\n * @param {AxiosRequestConfig} config\n */\nfunction fixConfig(axios, config) {\n if (axios.defaults.agent === config.agent) {\n delete config.agent;\n }\n if (axios.defaults.httpAgent === config.httpAgent) {\n delete config.httpAgent;\n }\n if (axios.defaults.httpsAgent === config.httpsAgent) {\n delete config.httpsAgent;\n }\n}\n\n/**\n * Checks retryCondition if request can be retried. Handles it's retruning value or Promise.\n * @param {number} retries\n * @param {Function} retryCondition\n * @param {Object} currentState\n * @param {Error} error\n * @return {boolean}\n */\nasync function shouldRetry(retries, retryCondition, currentState, error) {\n var shouldRetryOrPromise = currentState.retryCount < retries && retryCondition(error);\n\n // This could be a promise\n if ((typeof shouldRetryOrPromise === 'undefined' ? 'undefined' : _typeof(shouldRetryOrPromise)) === 'object') {\n try {\n await shouldRetryOrPromise;\n return true;\n } catch (_err) {\n return false;\n }\n }\n return shouldRetryOrPromise;\n}\n\n/**\n * Adds response interceptors to an axios instance to retry requests failed due to network issues\n *\n * @example\n *\n * import axios from 'axios';\n *\n * axiosRetry(axios, { retries: 3 });\n *\n * axios.get('http://example.com/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Exponential back-off retry delay between requests\n * axiosRetry(axios, { retryDelay : axiosRetry.exponentialDelay});\n *\n * // Custom retry delay\n * axiosRetry(axios, { retryDelay : (retryCount) => {\n * return retryCount * 1000;\n * }});\n *\n * // Also works with custom axios instances\n * const client = axios.create({ baseURL: 'http://example.com' });\n * axiosRetry(client, { retries: 3 });\n *\n * client.get('/test') // The first request fails and the second returns 'ok'\n * .then(result => {\n * result.data; // 'ok'\n * });\n *\n * // Allows request-specific configuration\n * client\n * .get('/test', {\n * 'axios-retry': {\n * retries: 0\n * }\n * })\n * .catch(error => { // The first request fails\n * error !== undefined\n * });\n *\n * @param {Axios} axios An axios instance (the axios object or one created from axios.create)\n * @param {Object} [defaultOptions]\n * @param {number} [defaultOptions.retries=3] Number of retries\n * @param {boolean} [defaultOptions.shouldResetTimeout=false]\n * Defines if the timeout should be reset between retries\n * @param {Function} [defaultOptions.retryCondition=isNetworkOrIdempotentRequestError]\n * A function to determine if the error can be retried\n * @param {Function} [defaultOptions.retryDelay=noDelay]\n * A function to determine the delay between retry requests\n */\nfunction axiosRetry(axios, defaultOptions) {\n axios.interceptors.request.use(function (config) {\n var currentState = getCurrentState(config);\n currentState.lastRequestTime = Date.now();\n return config;\n });\n\n axios.interceptors.response.use(null, async function (error) {\n var config = error.config;\n\n // If we have no information to retry the request\n if (!config) {\n return Promise.reject(error);\n }\n\n var _getRequestOptions = getRequestOptions(config, defaultOptions),\n _getRequestOptions$re = _getRequestOptions.retries,\n retries = _getRequestOptions$re === undefined ? 3 : _getRequestOptions$re,\n _getRequestOptions$re2 = _getRequestOptions.retryCondition,\n retryCondition = _getRequestOptions$re2 === undefined ? isNetworkOrIdempotentRequestError : _getRequestOptions$re2,\n _getRequestOptions$re3 = _getRequestOptions.retryDelay,\n retryDelay = _getRequestOptions$re3 === undefined ? noDelay : _getRequestOptions$re3,\n _getRequestOptions$sh = _getRequestOptions.shouldResetTimeout,\n shouldResetTimeout = _getRequestOptions$sh === undefined ? false : _getRequestOptions$sh;\n\n var currentState = getCurrentState(config);\n\n if (await shouldRetry(retries, retryCondition, currentState, error)) {\n currentState.retryCount += 1;\n var delay = retryDelay(currentState.retryCount, error);\n\n // Axios fails merging this configuration to the default configuration because it has an issue\n // with circular structures: https://github.com/mzabriskie/axios/issues/370\n fixConfig(axios, config);\n\n if (!shouldResetTimeout && config.timeout && currentState.lastRequestTime) {\n var lastRequestDuration = Date.now() - currentState.lastRequestTime;\n // Minimum 1ms timeout (passing 0 or less to XHR means no timeout)\n config.timeout = Math.max(config.timeout - lastRequestDuration - delay, 1);\n }\n\n config.transformRequest = [function (data) {\n return data;\n }];\n\n return new Promise(function (resolve) {\n return setTimeout(function () {\n return resolve(axios(config));\n }, delay);\n });\n }\n\n return Promise.reject(error);\n });\n}\n\n// Compatibility with CommonJS\naxiosRetry.isNetworkError = isNetworkError;\naxiosRetry.isSafeRequestError = isSafeRequestError;\naxiosRetry.isIdempotentRequestError = isIdempotentRequestError;\naxiosRetry.isNetworkOrIdempotentRequestError = isNetworkOrIdempotentRequestError;\naxiosRetry.exponentialDelay = exponentialDelay;\naxiosRetry.isRetryableError = isRetryableError;\n//# sourceMappingURL=index.js.map","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar pkg = require('./../../package.json');\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var resolve = function resolve(value) {\n resolvePromise(value);\n };\n var reject = function reject(value) {\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('User-Agent' in headers || 'user-agent' in headers) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers['User-Agent'] && !headers['user-agent']) {\n delete headers['User-Agent'];\n delete headers['user-agent'];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + pkg.version;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n // Add Content-Length header if data exists\n headers['Content-Length'] = data.length;\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth) {\n delete headers.Authorization;\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n var responseData = Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n\n response.data = responseData;\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n reject(createError(\n 'timeout of ' + timeout + 'ms exceeded',\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(cancel);\n });\n }\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),\n clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('./../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\nvar enhanceError = require('./core/enhanceError');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n },\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar pkg = require('./../../package.json');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\nvar currentVerArr = pkg.version.split('.');\n\n/**\n * Compare package versions\n * @param {string} version\n * @param {string?} thanVersion\n * @returns {boolean}\n */\nfunction isOlderVersion(version, thanVersion) {\n var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;\n var destVer = version.split('.');\n for (var i = 0; i < 3; i++) {\n if (pkgVersionArr[i] > destVer[i]) {\n return true;\n } else if (pkgVersionArr[i] < destVer[i]) {\n return false;\n }\n }\n return false;\n}\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator\n * @param {string?} version\n * @param {string} message\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n var isDeprecated = version && isOlderVersion(version);\n\n function formatMessage(opt, desc) {\n return '[Axios v' + pkg.version + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed in ' + version));\n }\n\n if (isDeprecated && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n isOlderVersion: isOlderVersion,\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @typedef {string} address\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order})} - verified/corrected address\n */\n\n/**\n *\n * @type {adapterFactory}\n * @param {import(\"../services/address-service\").Address} service\n */\nexport function validateAddress(service) {\n return async function (options) {\n const {\n model: order,\n args: [callback],\n } = options;\n\n try {\n const shippingAddress = await service.validateAddress(\n order.decrypt().shippingAddress\n );\n const update = await callback(options, { shippingAddress });\n return update;\n } catch (error) {\n console.error({ func: validateAddress.name, error, options });\n }\n };\n}\n","// export function upload (filename, catalog, storagePath, readableStream) {}\n\n// export function search (filename, catalog, tags, limit, writableStream) {}\n\n// export function browse (catalog, tags, limit, writableStream) {}\n\n// export function download (fileId, writableStream) {}\n\nexport function damUploadOut (service) {\n return function (data) {\n console.log({ data })\n return {\n filename: data.args[0].filename,\n status: 'UPLOADING'\n }\n }\n}\n\nexport function damSearchOut (service) {\n return function (data) {\n return {\n tags: data.args[0].tags,\n matches: 361,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damBrowseOut (service) {\n return function (data) {\n return {\n catalog: data.args[0].catalog,\n status: 'COMPLETE'\n }\n }\n}\n\nexport function damDownloadOut (service) {\n return function (data) {\n return {\n fileId: data.args[0],\n status: 'DOWNLOADING'\n }\n }\n}\n","'use strict'\n\nfunction getSecret () {\n return process.env.MONGODB_CREDS || { user: null, pass: null, token: null }\n}\n\nfunction archive (id) {\n console.debug('mock archive', id)\n}\n\n/**\n * Datasource adapter factory.\n * @param {string} url database url\n * @param {number} [cacheSize] number of models to keep in cache\n * @param {*} DataSource base class that enables caching\n * @returns {import(\"./datasource\").default}\n */\nexport const DataSourceAdapterMongoDb = function (\n url,\n cacheSize,\n DataSourceMongoDb\n) {\n /**\n * MongoDB adapter extends in-memory datasource to support caching.\n * The cache is always updated first, which allows the system to run\n * even when the database is offline.\n */\n class DataSourceMongoDbArchive extends DataSourceMongoDb {\n constructor (datasource, factory, name) {\n super(datasource, factory, name)\n this.url = url\n this.cacheSize = cacheSize\n this.creds = getSecret()\n }\n\n /**\n * @override\n */\n delete (id) {\n console.debug('archive', id)\n archive(id)\n }\n }\n\n return DataSourceMongoDbArchive\n}\n","\"use strict\";\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {string} serviceName\n *\n * @typedef {Object} EventMessage\n * @property {serviceName} eventSource\n * @property {serviceName|\"broadcast\"} eventTarget\n * @property {\"command\"|\"commandResponse\"|\"notification\"|\"import\"} eventType\n * @property {string} eventName\n * @property {string} eventTime\n * @property {string} eventUuid\n * @property {NotificationEvent|ImportEvent|CommandEvent} eventData\n *\n * @typedef {object} ImportEvent\n * @property {\"service\"|\"model\"|\"adapter\"} type\n * @property {string} url\n * @property {string} path\n * @property {string} importRemote\n *\n * @typedef {object} NotificationEvent\n * @property {string|} message\n * @property {\"utf8\"|Uint32Array} encoding\n *\n * @typedef {Object} CommandEvent\n * @property {string} commandName\n * @property {string} commandResp\n * @property {*} commandArgs\n */\n\n/**\n * @typedef {{\n * filter:function(message):Promise,\n * unsubscribe:function()\n * }} Subscription\n * @typedef {string|RegExp} topic\n * @callback eventHandler\n * @param {string} eventData\n * @typedef {eventHandler} notifyType\n * @typedef {{\n * listen:function(topic, x),\n * notify:notifyType\n * }} EventService\n * @callback adapterFactory\n * @param {EventService} service\n * @returns {function(topic, eventHandler)}\n */\nimport { Event } from \"../services/event-service\";\n\n/**\n * @type {Map>}\n */\nconst subscriptions = new Map();\n\n/**\n * Test the filter.\n * @param {string} message\n * @returns {function(string|RegExp):boolean} did the filter match?\n */\nfunction filterMatches(message) {\n return function (filter) {\n const regex = new RegExp(filter);\n const result = regex.test(message);\n if (result)\n console.debug({\n func: filterMatches.name,\n filter,\n result,\n message: message.substring(0, 100).concat(\"...\"),\n });\n return result;\n };\n}\n\n/**\n * @typedef {string} message\n * @typedef {string|RegExp} topic\n * @param {{\n * id:string,\n * callback:function(message,Subscription),\n * topic:topic,\n * filter:string|RegExp,\n * once:boolean,\n * model:import(\"../domain\").Model\n * }} options\n */\nconst Subscription = function ({ id, callback, topic, filters, once, model }) {\n return {\n /**\n * unsubscribe from topic\n */\n unsubscribe() {\n subscriptions.get(topic).delete(id);\n },\n\n getId() {\n return id;\n },\n\n getModel() {\n return model;\n },\n\n getSubscriptions() {\n return [...subscriptions.entries()];\n },\n\n /**\n * Filter message and invoke callback\n * @param {string} message\n */\n async filter(message) {\n if (filters) {\n // Every filter must match.\n if (filters.every(filterMatches(message))) {\n if (once) {\n // Only looking for 1 msg, got it.\n this.unsubscribe();\n }\n await callback({ message, subscription: this });\n return;\n }\n // no match\n return;\n }\n // no filters defined, just invoke the callback.\n await callback({ message, subscription: this });\n },\n };\n};\n\n/**\n * Listen for external events with default event service if none specified.\n * @type {adapterFactory}\n * @param {import('../services/event-service').Event} [service] - has default service\n */\nexport function listen(service = Event) {\n return async function (options) {\n const {\n model,\n args: [arg],\n } = options;\n\n const subscription = Subscription({ model, ...arg });\n\n if (subscriptions.has(arg.topic)) {\n subscriptions.get(arg.topic).set(arg.id, subscription);\n return subscription;\n }\n\n subscriptions.set(arg.topic, new Map().set(arg.id, subscription));\n\n if (!service.listening) {\n service.listen(/Channel/, async function ({ topic, message }) {\n if (subscriptions.has(topic)) {\n subscriptions.get(topic).forEach(async subscription => {\n await subscription.filter(message);\n });\n }\n });\n }\n return subscription;\n };\n}\n\n/**\n * @type {adapterFactory}\n * @returns {function(topic, eventData)}\n */\nexport function notify(service = Event) {\n return async function ({ model, args: [topic, message] }) {\n console.debug(\"sending...\", { topic, message: JSON.parse(message) });\n await service.notify(topic, message);\n return model;\n };\n}\n","'use strict'\n\nexport * from './service-locator'\nexport * from './websocket-adapter'\nexport * from './address-adapter'\nexport * from './event-adapter'\nexport * from './inventory-adapter'\nexport * from './order-adapter'\nexport * from './payment-adapter'\nexport * from './shipping-adapter'\nexport * from './qe-public-ipaddr'\nexport * from './wasm-public-ipaddr'\nexport * from './dam-api'\nexport * from './ticket-master'\n\n/**\n * @typedef {import('../domain').Model} Model\n * @typedef {function(function(eventCallback):Promise)} adapterFunction\n */\n","'use strict'\n\n/**\n * @typedef {string|RegExp} topic\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * getModel:function():object,\n * unsubscribe:function()\n * }} subscription\n * @typedef {eventCallback} shipOrderType\n * @param topic,\n * @param eventCallback\n * @typedef {{\n * shipOrder:shipOrderType,\n * trackShipment:function(),\n * verifyDelivery:function()\n * }} InventoryAdapter\n * @typedef {import('../domain/order').Order} Order\n * @typedef {InventoryAdapter} service \n * @typedef {{\n * listen:function(topic,RegExp,eventCallback)\n * notify:function(topic,eventCallback)\n * }} event\n * @callback adapterFactory\n * @param {service} service\n * @param {event} event\n * @returns {function({\n * model:Order,\n * resolve:function()\n * ,args:[\n * eventCallback, \n * options:{}]\n * })}\n \n }]})} \n *\n */\n\n/**\n * @type {adapterFactory}\n */\nexport function pickOrder (service) {\n return function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n return new Promise(function (resolve, reject) {\n // start listening first then send the event\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'orderPicked', 'warehouse_addr'],\n callback: async ({ message }) => {\n try {\n const event = JSON.parse(message)\n console.log('recieved event: ', event)\n const pickupAddress = event.eventData.warehouse_addr\n const newOrder = await callback(options, { pickupAddress })\n resolve(newOrder) // hold promise until we get an answer\n } catch (error) {\n reject(error)\n }\n }\n })\n .then(() => {\n return order.notify(\n 'inventoryChannel',\n JSON.stringify({\n eventType: 'Command',\n eventTime: new Date().toISOString(),\n eventSource: 'orderService',\n eventData: {\n respChannel: 'orderChannel',\n commandName: 'pickOrder',\n commandArgs: {\n lineItems: order.orderItems,\n externalId: order.orderNo\n }\n }\n })\n )\n })\n .catch(reason => {\n throw new Error(reason)\n })\n })\n }\n}\n","\"use strict\";\n\nconst axios = require(\"axios\");\n\nexport class OrderAdapter {\n constructor() {}\n\n addOrder({\n customerId,\n orderItems = [],\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n } = {}) {\n this.orderInfo = {\n customerId,\n orderItems,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n firstName,\n lastName,\n email,\n };\n return this;\n }\n\n addOrderItem(itemId, price, qty = 1) {\n if (![typeof price, typeof qty].indexOf(\"number\") === 0) {\n throw new Error(\"qty and price must be numbers\");\n }\n if (!itemId || typeof itemId !== \"string\") {\n throw new Error(\"itemId must be a non-null string\");\n }\n this.orderInfo.orderItems.push({ itemId, price, qty });\n return this;\n }\n\n async createOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async submitOrder(orderId = this.orderId) {\n throw new Error(\"unimplemented abstract method\");\n }\n\n async getOrder(orderId = this.orderId) {\n throw new Error(\"unimplememnted abstract method\");\n }\n\n completeOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n\n cancelOrder() {\n throw new Error(\"unimplemented abstract method\");\n }\n}\n\nexport class RestOrderAdapter extends OrderAdapter {\n constructor(url) {\n super();\n this.url = url;\n }\n\n /**\n * @override\n */\n async createOrder() {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios\n .post(this.url, this.orderInfo)\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n }\n )\n .catch(e => console.log(e));\n }\n\n /**\n * @override\n * @param {*} orderId\n */\n async submitOrder(orderId = this.orderId) {\n if (!this.orderInfo) {\n throw new Error(\"there is no order data\");\n }\n return axios.patch(this.url + orderId, { orderStatus: \"APPROVED\" }).then(\n () => this,\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n async getOrder(orderId = this.orderId) {\n return axios.get(this.url + orderId).then(\n response => {\n console.log(response.data);\n this.order = response.data;\n return this.order;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n completeOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"COMPLETE\",\n proofOfDelivery: pod,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n\n cancelOrder() {\n return axios\n .patch(this.url + orderId, {\n orderStatus: \"CANCELED\",\n cancelReason: reason,\n })\n .then(\n response => {\n this.orderId = response.data.modelId;\n return this;\n },\n error => {\n console.error(error.response.data);\n throw new Error(error);\n }\n );\n }\n}\n\nexport class GraphQlOrderAdapter extends OrderAdapter {\n /**\n * @override\n */\n createOrder() {}\n submitOrder() {}\n fillOrder() {}\n shipOrder() {}\n trackShipment() {}\n verifyDelivery() {}\n completeOrder() {}\n cancelOrder() {}\n}\n","'use strict'\n\n/**\n * @typedef {import('../domain/order').Order} Order\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,parms:any[]})}\n */\n\n/**\n * @type {adapterFactory}\n * @param {import(\"../services/payment-service\").PaymentService} service\n */\nexport function authorizePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n const paymentAuthorization = await service.authorizePayment(\n order.orderNo,\n 12.0,\n 'src',\n 'ibm',\n false\n )\n const paymentStatus = 'APPROVED'\n return callback(options, { paymentStatus })\n }\n}\n\n/**\n * @type {adapterFactory}\n */\nexport function completePayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n const confirmationCode = await service.completePayment(order)\n const newOrder = await callback(options, { confirmationCode })\n return newOrder\n }\n}\n/**\n * @type {adapterFactory}\n */\nexport function refundPayment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n await service.refundPayment(order)\n const newOrder = await callback(options)\n return newOrder\n }\n}\n","import http from 'http'\n\n/**\n *\n * @returns\n */\nexport function qeGetPublicIpAddressOut () {\n return async function () {\n const buffer = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n response => {\n response.on('data', chunk => buffer.push(chunk))\n response.on('end', () => {\n resolve({ address: buffer.join('') })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport Dns from 'multicast-dns'\n\nconst debug = /true/i.test(process.env.DEBUG)\n\nexport class ServiceLocator {\n constructor ({\n name,\n serviceUrl,\n primary = false,\n backup = false,\n maxRetries = 20,\n retryInterval = 8000\n } = {}) {\n this.url = serviceUrl\n this.name = name\n this.dns = Dns()\n this.isPrimary = primary\n this.isBackup = backup\n this.maxRetries = maxRetries\n this.retryInterval = retryInterval\n }\n\n runningAsService () {\n return this.isPrimary || (this.isBackup && this.activateBackup)\n }\n\n /**\n * Query DNS for the webswitch service.\n * Recursively retry by incrementing a\n * counter we pass to ourselves on the\n * stack. Once the URL is populated, exit.\n *\n * @param {number} retries number of query attempts\n * @returns\n */\n ask (retries = 0) {\n // have we found the url?\n if (this.url) {\n console.log('url found')\n return\n }\n\n // if designated as backup, takeover for primary after maxRetries\n if (retries > this.maxRetries && this.isBackup) {\n this.activateBackup = true\n this.answer()\n return\n }\n debug && console.debug('looking for srv %s retries: %d', this.name, retries)\n // then query the service name\n this.dns.query({\n questions: [\n {\n name: this.name,\n type: 'SRV'\n }\n ]\n })\n\n // keep asking\n setTimeout(() => this.ask(++retries), this.retryInterval)\n }\n\n answer () {\n this.dns.on('query', query => {\n debug && console.debug('got a query packet:', query)\n\n const fromClient = query.questions.find(\n question => question.name === this.name\n )\n\n if (fromClient && this.runningAsService()) {\n const url = new URL(this.url)\n const answer = {\n answers: [\n {\n name: this.name,\n type: 'SRV',\n data: {\n port: url.port,\n target: url.hostname\n }\n }\n ]\n }\n console.info('advertising this location', url)\n this.dns.respond(answer)\n }\n })\n }\n\n listen () {\n console.log('resolving service url')\n return new Promise(resolve => {\n const buildUrl = response => {\n debug && console.debug({ answers: response.answers })\n\n const fromServer = response.answers.find(\n answer => answer.name === this.name && answer.type === 'SRV'\n )\n\n if (fromServer) {\n const { target, port } = fromServer.data\n const protocol = port === 443 ? 'wss' : 'ws'\n this.url = `${protocol}://${target}:${port}`\n\n console.info({\n msg: 'found dns service record for',\n service: this.name,\n url: this.url\n })\n\n this.dns.off('response', buildUrl)\n resolve(this.url)\n }\n }\n console.log('looking for service', this.name)\n this.dns.on('response', buildUrl)\n this.ask()\n })\n }\n}\n\nlet locator\nexport function serviceLocatorInit () {\n return async function ({ args: [options] }) {\n console.debug('serviceLocatorInit called')\n locator = new ServiceLocator(options)\n }\n}\n\nexport function serviceLocatorAsk () {\n return async function () {\n return locator.listen()\n }\n}\n\nexport function serviceLocatorAnswer () {\n return async function () {\n return locator.answer()\n }\n}\n","'use strict'\n\n/**\n * @callback portCallback\n * @param {{options:{}}}\n * @param {{payload:{[key]:string}}}\n */\n\n/**\n * @typedef {string} message\n * @callback eventCallback\n * @param {string} message\n * @param {{\n * unsubscribe:function(),\n * filter:function(message):boolean\n * }} subscription\n */\n\n/**\n * @typedef {import('../domain/order').Order} Order\n */\n\n/**\n * @typedef {import(\"../services/shipping-service\").shippingService} shippingService\n */\n\n/**\n * @typedef {{\n * listen:function(topic,RegExp,portCallback)\n * notify:function(topic,eventCallback)\n * }} event\n */\n\n/**\n * @callback adapterFactory\n * @param {service} service\n * @returns {function({model:Order,args:[portCallback]}):Order}\n */\n\nconst ORDER_SERVICE = 'orderService'\nconst ORDER_TOPIC = 'orderChannel'\n\nconst handleError = (error, reject = null, func = null) => {\n console.error({ file: __filename, func, error })\n if (reject) reject(error)\n}\n\n/**\n * Call `shipOrder` to request shipment of the order items.\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n * @returns {function(options):Promise}\n * Return a promise that is resolved once we receive\n * a response message from the shipping service. Start\n * listening for the response first and then send the\n * request message.\n *\n */\nexport function shipOrder (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n * Called by the event listener when the shipOrder\n * response message arrives. Resolve the promise\n * the caller has been waiting on since we sent\n * the request message.\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns {function(message):Promise}\n */\n function shipOrderCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event... ', event)\n const payload = service.getPayload(shipOrder.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (error) {\n handleError(error, reject, shipOrderCallback.name)\n }\n }\n }\n\n /**\n * Send the shipOrder event to the shipping service.\n */\n function callShipOrder () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.shipOrder({\n shipTo: order.decrypt().shippingAddress,\n shipFrom: order.pickupAddress,\n lineItems: order.orderItems,\n signature: order.signatureRequired,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'orderShipped', 'shipmentId'],\n callback: shipOrderCallback(resolve, reject)\n })\n .then(callShipOrder)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function trackShipment (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve resolve the promise\n * @param {function(Error)} reject reject promise\n */\n function trackShipmentCallback (resolve, reject) {\n return async function ({ message, subscription }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(trackShipment.name, event)\n const updated = await callback(options, payload)\n if (updated.trackingStatus === 'orderDelivered') {\n subscription.unsubscribe()\n resolve(updated)\n }\n } catch (error) {\n handleError(error, reject, trackShipment.name)\n }\n }\n }\n\n function callTrackShipment () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.trackShipment({\n shipmentId: order.shipmentId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: false,\n model: order,\n id: order.orderNo,\n topic: ORDER_TOPIC,\n filters: [order.orderNo, 'trackingId', 'trackingStatus'],\n callback: trackShipmentCallback(resolve, reject)\n })\n .then(callTrackShipment)\n .catch(handleError)\n })\n }\n}\n\n/**\n * @param {import('../services/shipping-service').shippingService} service\n * @type {adapterFactory}\n */\nexport function verifyDelivery (service) {\n return async function (options) {\n const {\n model: order,\n args: [callback]\n } = options\n\n /**\n *\n * @param {function(Order)} resolve\n * @param {function(Error)} reject\n * @returns\n */\n function verifyDeliveryCallback (resolve, reject) {\n return async function ({ message }) {\n try {\n const event = JSON.parse(message)\n console.debug('received event...', event)\n const payload = service.getPayload(verifyDelivery.name, event)\n const updated = await callback(options, payload)\n resolve(updated)\n } catch (e) {\n handleError(e, reject, verifyDeliveryCallback.name)\n }\n }\n }\n\n function callVerifyDelivery () {\n return order.notify(\n service.topic,\n JSON.stringify(\n service.verifyDelivery({\n trackingId: order.trackingId,\n externalId: order.orderNo,\n requester: ORDER_SERVICE,\n respondOn: ORDER_TOPIC\n })\n )\n )\n }\n\n return new Promise(async function (resolve, reject) {\n return order\n .listen({\n once: true,\n model: order,\n id: order.orderNo,\n topic: 'orderChannel',\n filters: [order.orderNo, 'deliveryVerified', 'proofOfDelivery'],\n callback: verifyDeliveryCallback(resolve, reject)\n })\n .then(callVerifyDelivery)\n .catch(handleError)\n })\n }\n}\n","import https from 'https'\n\nexport function tmListEventsOut (service) {\n return async function ({ args }) {\n const apiKey = args[0].apiKey\n const chunks = []\n return new Promise((resolve, reject) => {\n https.get(\n `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`,\n res => {\n res.on('error', reject)\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', () => resolve(chunks.join('')))\n }\n )\n })\n }\n\n // return async function (data) {\n // try {\n // const key = data.args[0].apiKey\n // const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${key}`\n // return await (await fetch(url)).json()\n // } catch (error) {\n // console.error({ fn: tmListEventsOut.name, error })\n // throw error\n // }\n // }\n}\n","import http from 'http'\n\nexport function wasmGetPublicIpAddress () {\n return async function () {\n const chunks = []\n return new Promise(resolve => {\n http.get(\n {\n hostname: 'checkip.amazonaws.com',\n method: 'get'\n },\n res => {\n res.on('data', chunk => chunks.push(chunk))\n res.on('end', function () {\n resolve({ address: chunks.join('').trim() })\n })\n }\n )\n })\n }\n}\n","'use strict'\n\nimport WebSocket from 'ws'\n/** @type {WebSocket} */\nlet socket\nconst useBinary = () => socket.binaryType === 'arraybuffer'\n\n/**\n * use binary messages\n */\nconst primitives = {\n encode: {\n object: msg => Buffer.from(JSON.stringify(msg)),\n string: msg => Buffer.from(JSON.stringify(msg)),\n number: msg => Buffer.from(JSON.stringify(msg)),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n },\n decode: {\n object: msg => JSON.parse(Buffer.from(msg).toString()),\n string: msg => JSON.parse(Buffer.from(msg).toString()),\n number: msg => JSON.parse(Buffer.from(msg).toString()),\n symbol: msg => console.error('unsupported', msg),\n undefined: msg => console.error('undefined', msg)\n }\n}\n\nexport function websocketConnect () {\n return function ({ args: [url, options] }) {\n if (socket) return socket\n if (url) {\n socket = new WebSocket(url, options)\n console.debug('connected', url)\n if (options.useBinary) socket.binaryType = 'arraybuffer'\n return socket\n }\n throw new Error('missing url', url)\n }\n}\n\nfunction encode (msg) {\n if (useBinary()) return primitives.encode[typeof msg](msg)\n return msg\n}\n\nfunction decode (msg) {\n if (useBinary()) return primitives.decode[typeof msg](msg)\n return msg\n}\n\nexport function websocketSend () {\n return function ({ args: [msg, options = {}] }) {\n if (\n socket &&\n socket.readyState === socket.OPEN &&\n socket.bufferedAmount < 1\n ) {\n socket.send(\n encode(msg),\n useBinary() ? { ...options, binary: true } : options\n )\n return true\n }\n return false\n }\n}\n\nexport function websocketClose () {\n return function ({ args: [code, reason] }) {\n if (socket) return socket.close(code, reason)\n }\n}\n\nexport function websocketPing () {\n return function ({ args: [options] }) {\n if (socket) return socket.ping(options)\n }\n}\n\nexport function websocketOnMessage () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('message', msg => callback(decode(msg)))\n }\n}\n\nexport function websocketOnClose () {\n return function ({ args: [callback] }) {\n if (socket) socket.onclose = callback\n }\n}\n\nexport function websocketOnOpen () {\n return async function ({ args: [callback] }) {\n if (socket) socket.onopen = callback\n }\n}\n\nexport function websocketOnPong () {\n return function ({ args: [callback] }) {\n if (socket) socket.on('pong', callback)\n }\n}\n\nexport function websocketStatus () {\n return function ({ args: [callback] }) {\n if (socket) return socket.readyState\n }\n}\n\nexport function websocketOnError () {\n return function ({ args: [callback] }) {\n if (socket) return socket.on('error', err => callback(err))\n }\n}\n\nexport function websocketTerminate () {\n return function () {\n if (socket) return socket.terminate()\n }\n}\n","'use strict'\n\nimport {\n validateModel,\n freezeProperties,\n validateProperties,\n requireProperties\n} from '../domain/mixins'\nimport { makeCustomerFactory, okToDelete } from '../domain/customer'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport { nanoid } from 'nanoid'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Customer = {\n modelName: 'customer',\n endpoint: 'customers',\n dependencies: { uuid: () => nanoid(8) },\n factory: makeCustomerFactory,\n validate: validateModel,\n onDelete: okToDelete,\n mixins: [\n freezeProperties('customerId'),\n requireProperties(\n 'firstName',\n 'lastName',\n 'email',\n 'shippingAddress',\n 'billingAddress',\n 'creditCardNumber'\n ),\n validateProperties([\n {\n propKey: 'email',\n // unique: { encrypted: true },\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n }\n ])\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'customerId'\n }\n },\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n }\n },\n accessControlList: {\n customer: {\n allow: 'read',\n type: 'relation',\n desc: 'Allow orders to see customers.'\n }\n }\n}\n","export * from './webswitch' // always export this\nexport * from './order'\nexport * from './inventory'\nexport * from './customer'\n\n// export * from './user'\n// export * from './query-engine'\n// export * from './dam-api'\n// export * from './ticket-master'\n// export * from './access-controller'\n","'use strict'\n\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\nimport {\n makeInventoryFactory,\n assetTypes,\n properties,\n categories\n} from '../domain/inventory'\n\nimport {\n requireProperties,\n freezeProperties,\n validateProperties\n} from '../domain/mixins'\n\n/**\n * @type {import(\"../domain/order\").ModelSpecification}\n */\nexport const Inventory = {\n modelName: 'inventory',\n endpoint: 'inventory',\n dependencies: {},\n factory: makeInventoryFactory,\n // datasource: {\n // factory: DataSourceAdapterMongoDb,\n // url: 'mongodb://127.0.0.1:27017',\n // cacheSize: 4000,\n // baseClass: 'DataSourceMongoDb'\n // },\n mixins: [\n requireProperties('name', 'inStock', 'category', 'price', 'purchaseOrder'),\n validateProperties([\n {\n propKey: 'inStock',\n typeof: 'number',\n maxnum: 99999\n },\n {\n propKey: 'category',\n values: categories\n },\n {\n propKey: 'assetType',\n values: assetTypes\n },\n {\n propKey: 'properties',\n isValid: (_obj, prop) => prop.every(p => properties.includes(p))\n },\n {\n propKey: 'price',\n typeof: 'number',\n maxnum: 999.99\n }\n ]),\n freezeProperties('*')\n ],\n relations: {\n orders: {\n modelName: 'order',\n type: 'oneToMany',\n foreignKey: 'itemId',\n desc: 'many items per order'\n }\n }\n}\n","'use strict'\n\nimport {\n makeOrderFactory,\n readyToDelete,\n handleOrderEvent,\n orderShipped,\n paymentCompleted,\n OrderStatus,\n recalcTotal,\n requiredForCompletion,\n statusChangeValid,\n freezeOnApproval,\n freezeOnCompletion,\n orderTotalValid,\n returnInventory,\n returnShipment,\n refundPayment,\n returnDelivery,\n cancelPayment,\n updateSignature,\n requiredForGuest,\n requiredForApproval,\n approve,\n cancel,\n accountOrder,\n OrderError,\n orderPicked\n} from '../domain/order'\n\nimport {\n requireProperties,\n freezeProperties,\n updateProperties,\n validateProperties,\n validateModel,\n allowProperties\n} from '../domain/mixins'\nimport { nanoid } from 'nanoid'\nimport { DataSourceAdapterMongoDb } from '../adapters/datasources/datasource-mongodb'\n\n/**\n * @type {import('../domain/index').ModelSpecification}\n */\nexport const Order = {\n modelName: 'order',\n endpoint: 'orders',\n factory: makeOrderFactory,\n domain: 'order',\n datasource: {\n factory: DataSourceAdapterMongoDb,\n url: 'mongodb://127.0.0.1:27017',\n cacheSize: 4000,\n baseClass: 'DataSourceMongoDb'\n },\n dependencies: { uuid: () => nanoid(8) },\n mixins: [\n requireProperties(\n 'orderItems',\n requiredForGuest([\n 'lastName',\n 'firstName',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'email'\n ]),\n requiredForApproval('paymentStatus'),\n requiredForCompletion('proofOfDelivery')\n ),\n freezeProperties(\n 'orderNo',\n 'customerId',\n freezeOnApproval([\n 'email',\n 'lastName',\n 'firstName',\n 'orderItems',\n 'orderTotal',\n 'billingAddress',\n 'shippingAddress',\n 'creditCardNumber',\n 'paymentStatus'\n ]),\n freezeOnCompletion('*')\n ),\n updateProperties([\n {\n propKey: 'orderItems',\n update: recalcTotal\n },\n {\n propKey: 'orderItems',\n update: updateSignature\n }\n ]),\n validateProperties([\n {\n propKey: 'orderStatus',\n values: Object.values(OrderStatus),\n isValid: statusChangeValid\n },\n {\n propKey: 'orderTotal',\n maxnum: 99999.99,\n isValid: orderTotalValid\n },\n {\n propKey: 'email',\n regex: 'email'\n },\n {\n propKey: 'creditCardNumber',\n regex: 'creditCard'\n },\n {\n propKey: 'phone',\n regex: 'phone'\n }\n ])\n // allowProperties([fibonacci, time, result])\n ],\n validate: validateModel,\n onDelete: readyToDelete,\n eventHandlers: [handleOrderEvent],\n ports: {\n listen: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n notify: {\n service: 'Event',\n type: 'outbound',\n timeout: 0\n },\n validateAddress: {\n service: 'Address',\n type: 'outbound',\n keys: 'shippingAddress',\n producesEvent: 'addressValidated',\n disabled: true\n },\n authorizePayment: {\n service: 'Payment',\n type: 'outbound',\n keys: 'paymentStatus',\n consumesEvent: 'startWorkflow',\n producesEvent: 'paymentAuthorized',\n undo: cancelPayment,\n disabled: true\n },\n pickOrder: {\n service: 'Inventory',\n type: 'outbound',\n keys: 'pickupAddress',\n callback: orderPicked,\n consumesEvent: 'itemsAvailable',\n producesEvent: 'orderPicked',\n undo: returnInventory,\n circuitBreaker: {\n portTimeout_pickOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 5000\n }\n }\n },\n shipOrder: {\n service: 'Shipping',\n type: 'outbound',\n callback: orderShipped,\n consumesEvent: 'orderPicked',\n producesEvent: 'orderShipped',\n undo: returnShipment,\n circuitBreaker: {\n portTimeout_shipOrder_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n },\n portRetryFailed_order: {\n callVolume: 3,\n errorRate: 2,\n intervalMs: 60000,\n fallbackFn: cancel\n },\n default: {\n callVolume: 3,\n errorRate: 3,\n intervalMs: 60000\n }\n }\n },\n trackShipment: {\n service: 'Shipping',\n type: 'outbound',\n keys: ['trackingStatus', 'trackingId'],\n consumesEvent: 'orderShipped',\n producesEvent: 'orderDelivered',\n circuitBreaker: {\n portRetryFailed_order: {\n callVolume: 2,\n errorRate: 1,\n intervalMs: 60000\n }\n }\n },\n verifyDelivery: {\n service: 'Shipping',\n type: 'outbound',\n keys: 'proofOfDelivery',\n consumesEvent: 'orderDelivered',\n producesEvent: 'deliveryVerified',\n undo: returnDelivery\n },\n completePayment: {\n service: 'Payment',\n type: 'outbound',\n callback: paymentCompleted,\n consumesEvent: 'deliveryVerified',\n producesEvent: 'orderComplete',\n undo: refundPayment\n },\n cancelShipment: {\n service: 'Shipping',\n type: 'outbound'\n },\n refundPayment: {\n service: 'Payment',\n type: 'outbound'\n },\n cancelOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['post']\n },\n approveOrders: {\n service: 'Order',\n type: 'inbound',\n timeout: 0,\n methods: ['patch']\n },\n trackAsyncContext: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n customHttpStatus: {\n service: 'Telemetry',\n type: 'inbound',\n timeout: 0\n },\n testContainsMany: {\n service: 'Inventory',\n type: 'inbound',\n timeout: 0\n },\n runFibonacciJs: {\n service: 'Test',\n type: 'inbound',\n timeout: 0\n }\n },\n relations: {\n customer: {\n modelName: 'customer',\n type: 'manyToOne',\n foreignKey: 'customerId',\n desc: 'Many orders per customer, just one customer per order'\n },\n inventory: {\n modelName: 'inventory',\n type: 'containsMany',\n foreignKey: 'itemId',\n arrayKey: 'orderItems',\n desc: 'An order contains a list of inventory items to ship.'\n },\n chat: {\n modelName: 'user',\n type: 'custom',\n foreignKey: 'userId',\n desc: 'A custom relation used for integrated chat'\n }\n },\n routes: [\n {\n path: '/orders',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n post: async (req, res, ports) => {\n console.log('/orders')\n try {\n const result = await ports.addModel(req.body)\n res\n .status(200)\n .json({ message: 'ok', ctx: result.context, id: result.id })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n },\n {\n path: '/orders/:id',\n get: async (req, res, ports) =>\n ports.listModels({\n writable: res,\n serialize: true,\n query: req.query\n }),\n\n patch: async (req, res, ports) => {\n console.log('/orders/:id')\n try {\n const result = await ports.editModel({\n id: req.params.id,\n changes: req.body\n })\n res.status(200).json({ message: 'ok', ctx: result.context })\n } catch (error) {\n throw new OrderError(error, 404)\n }\n }\n }\n ],\n commands: {\n decrypt: {\n command: 'decrypt',\n acl: ['read', 'decrypt']\n },\n approve: {\n command: approve,\n acl: ['write', 'approve']\n },\n cancel: {\n command: cancel,\n acl: ['write', 'cancel']\n },\n runFibonacci: {\n command: model => {\n const start = Date.now()\n function fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n }\n const param = parseFloat(model.fibonacci)\n return {\n result: fibonacci(Number.isNaN(param) ? 10 : param),\n time: Date.now() - start\n }\n },\n acl: ['read', 'write']\n }\n },\n serializers: [\n {\n on: 'deserialize',\n key: 'creditCardNumber',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n },\n {\n on: 'deserialize',\n key: 'shippingAddress',\n type: 'string',\n value: (key, value) => decrypt(value),\n enabled: false\n }\n // {\n // on: 'deserialize',\n // key: 'billingAddress',\n // type: 'string',\n // value: (key, value) => decrypt(value),\n // enabled: false\n // }\n ]\n}\n","'use strict'\n\nimport { makeClient } from '../domain/webswitch'\n\n/**\n * @type {import('../domain').ModelSpecification}\n */\nexport const WebSwitch = {\n modelName: 'webswitch',\n endpoint: 'service-mesh',\n factory: makeClient,\n internal: true,\n ports: {\n serviceLocatorInit: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAsk: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n serviceLocatorAnswer: {\n service: 'serviceLocator',\n type: 'outbound',\n timeout: 0\n },\n websocketConnect: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketPing: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketSend: {\n service: 'websocket',\n type: 'outbound',\n timeout: 3000\n },\n websocketClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketStatus: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketTerminate: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnClose: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnOpen: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnMessage: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnError: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n },\n websocketOnPong: {\n service: 'websocket',\n type: 'outbound',\n timeout: 0\n }\n }\n}\n","'use strict'\n\nexport default function makeAdapters (ports, adapters, services) {\n if (!ports || !adapters) {\n return\n }\n return Object.keys(ports)\n .map(port => {\n if (!adapters[port]) {\n return\n }\n\n try {\n return {\n [port]: adapters[port](services[ports[port].service])\n }\n } catch (e) {\n console.warn(e.message)\n }\n })\n .reduce((p, c) => ({ ...p, ...c }))\n}\n","'use strict'\n\n/**\n * Check the payload for expected properties.\n * @param {string|string[]} key name of property or properties\n * @param {*} options\n * @param {*} payload\n * @param {*} port\n */\nexport default function checkPayload (\n key,\n options = {},\n payload = {},\n port = checkPayload.name\n) {\n const { model } = options\n\n if (!model || Object.keys(payload) < 1 || !key) {\n throw new Error({\n desc: 'model, payload, or key is missing',\n model,\n port,\n error,\n payload,\n key\n })\n }\n\n if (Array.isArray(key)) {\n const keys = key.map(k => checkPayload(k, options, payload, port))\n\n return keys.reduce((p, c) => ({ ...p, ...c }))\n }\n\n if (payload[key]) {\n return { [key]: payload[key] }\n }\n\n if (model[key]) {\n return { [key]: model[key] }\n }\n\n return model\n .find()\n .then(latest => ({ [key]: latest[key] }))\n .catch(error => {\n throw new Error('property is missing' + key, port, error, payload, model)\n })\n}\n","\"use strict\";\n\nexport function makeCustomerFactory(dependencies) {\n return function createCustomer({\n firstName,\n lastName,\n shippingAddress,\n creditCardNumber,\n billingAddress = shippingAddress,\n phone,\n email,\n userId,\n } = {}) {\n return Object.freeze({\n customerId: dependencies.uuid(),\n firstName,\n lastName,\n creditCardNumber,\n shippingAddress,\n billingAddress,\n phone,\n email,\n userId,\n });\n };\n}\n\nexport async function okToDelete(customer) {\n try {\n const orders = await customer.orders();\n return orders.length > 0;\n } catch (error) {\n console.error({ func: okToDelete.name, error });\n return true;\n }\n}\n","'use strict'\n\n/**\n * @typedef {string} eventName\n */\n\n/**\n * @typedef Model\n * @property {string} _Symbol_id - immutable/private uuid\n * @property {string} _Symbol_modelName - immutable/private name\n * @property {string} _Symbol_createTime - immutable/private createTime\n * @property {onUpdate} _Symbol_onUpdate - immutable/private update function\n * @property {onDelete} _Symbol_onDelete\n * @property {function(Object)} update - use this function to update model\n * specify changes in an object\n * @property {function()} toJSON - de/serialization logic\n * @property {function(eventName,function(eventName,Model):void)} addListener listen for domain events\n * @property {function(eventName,Model):Promise} emit emit domain event\n * @property {function(function():Promise):Promise} [port] - when a\n * port is configured, the framework generates a function to invoke it. When data\n * arrives on the port, depending on the implementation, the port's adapter invokes\n * the callback specified in the port configuration, or as an argument to the port\n * function. The callback returns an updated Model, and control is returned to the\n * caller. Optionally, an event is fired to trigger the next port function to run\n * @property {function():Promise} [relation] - when you configure a relation,\n * the framework generates a function that your code can call to run the query\n * @property {function(*):*} [command] - the framework will call any model method\n * you specify when passed as a parameter or query in an API call.\n */\n\n/**\n * @callback onUpdate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onDelete\n * @param {Model} model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback validate called to handle model updates\n * @param {Model} model\n * @param {Object} changes\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @callback onLoad\n * @param {Model} savedModel rehydrated model\n * @returns {Model | Error} updated model or throw\n */\n\n/**\n * @typedef {string} service - name of the service object to inject in adapter\n * @typedef {number} timeout - call to adapter will timeout after `timeout` milliseconds\n *\n * @typedef {{\n * [x: string]: {\n * service: service,\n * timeout?: timeout,\n * callback?: function({model: Model})\n * errorCallback?: function({model: Model, port: string, error:Error}),\n * timeoutCallback?: function({model: Model, port: string}),\n * consumesEvent?:string,\n * producesEvent?:string,\n * type?:'inbound'|'outbound',\n * disabled?: boolean,\n * adapter?: string,\n * circuitBreaker?: thresholds\n * }\n * }} ports - input/output ports for the domain\n */\n\n/**\n * @typedef {{\n * [x:string]: {\n * errorRate:number\n * callVolume:number,\n * intervalMs:number,\n * fallbackFn:function()\n * },\n * }} thresholds - thresholds for different errors\n */\n\n/**\n * @typedef {{\n * [x: string]: {\n * modelName:string,\n * type:\"oneToMany\"|\"oneToOne\"|\"manyToOne\",\n * foreignKey:any,\n * }\n * }} relations - define related domain entities\n *\n * @typedef {Array>} eventHandler - callbacks invoked to handle domain and\n * application events\n */\n\n/**\n *\n * @typedef {string} key\n * @typedef {*} value\n */\n\n/**\n * @typedef {{\n * on: \"serialize\" | \"deserialize\",\n * key: string | RegExp | \"*\" | (function(key,value):boolean)\n * type: \"string\" | \"object\" | \"number\" | \"function\" | \"any\" | (function(key,value):boolean)\n * value(key, value):value\n * }} serializer\n */\n/**\n * @typedef {{\n * [x:string]: {\n * allow:string|function(*):boolean|Array\n * deny:string|function(*):boolean|Array\n * type:\"role\"|\"relation\"|\"command\"\n * desc?:string\n * }\n * }} accessControlList\n */\n/**\n * @typedef {{\n * [x: string]: {\n * command:string|function(Model):Promise,\n * acl:accessControlList[]\n * }\n * }} commands - configure functions to execute when specified in a\n * URL parameter or query of the auto-generate REST API\n */\n/**\n * @callback controller\n * @param {Request} req\n * @param {Response} res\n */\n\n/**\n * @typedef {{\n * [path: string]: {\n * get?: controller,\n * post?: controller,\n * patch?: controller,\n * delete?:controller\n * }\n * }} endpoints\n */\n\n/**\n * @callback modelSpecFactoryFn\n * @param {object} dependencies\n * @returns {function(...args):Readonly}\n */\n\n/**\n * @typedef {object} ModelSpecification Specify domain model properties and functions\n * @property {string} modelName name of model (case-insenstive)\n * @property {string} endpoint URI reference (e.g. plural of `modelName` noun)\n * @property {modelSpecFactoryFn} factory returns factory function that creates the model instance\n * @property {object} [dependencies] injected into the model for inverted dependency/control\n * @property {Array} [mixins] - use functional mixins\n * to compose the object from common domain logic, like input validation.\n * @property {onUpdate} [onUpdate] - Function called to handle update requests. Called\n * before save.\n * @property {onDelete} [onDelete] - Function called before deletion.\n * @property {validate} [validate] - called to validate model updates\n * @property {ports} [ports] - input/output ports for the domain\n * @property {eventHandler[]} [eventHandlers] - callbacks invoked to handle CRUD events\n * @property {serializer[]} [serializers] - use for custom de/serialization of the model\n * when reading or writing to storage or network\n * @property {relations} [relations] - create related models or query in aggregate\n * @property {commands} [commands] - define functions to execute when specified in a\n * URL parameter or query of the auto-generated REST API\n * @property {accessControlList} [accessControlList] - configure authorization\n * @property {endpoints} [routes] - additional custom API endpoints - specify inbound port\n * @property {{factory:import(\"../adapters/datasources/datasource-mongodb\"),url:string,credentials?:string}} [datasource] - custom datasource\n * for this model. If not set, the default set by the server is used.\n *\n */\n\n/**\n * @callback addModel\n * @param {{ searchTerm1, searchTerm2, searchTermN }} input\n * @returns {Promise}\n */\n\n/**\n * @callback editModel\n * @param {{ id:string, changes:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findModel\n * @param {{ id:string, query:object }} input\n * @returns { Promise }\n */\n\n/**\n * @callback findRelatedModels\n * @param {{ query:object, relation:string }} input\n * @returns { Promise<{Model,[Model]}> }\n */\n\n/**\n * @callback listModels\n * @param {{ query:object }} input e.g. { searchTerm1 : 'val', ...etc }\n * @returns { [Promise] }\n */\n\n/**\n * @callback executeCommand\n * @param {{ id:string }} input\n * @returns { Model }\n */\n\n/**\n * @typedef DomainPortAPI\n * @property { addModel } addModel\n * @property { editModel } editModel\n * @property { listModels } listModels\n * @property { findModel } findModel\n * @property { findRelatedModels } findModel\n * @property { removeModel } removeModel\n * @property { executeCommand } executeCommand\n */\n\nimport GlobalMixins from './mixins'\nimport bindAdapters from './bind-adapters'\n\n// Service dependencies\nimport * as services from '../services'\nimport * as adapters from '../adapters'\nimport * as ports from '../domain/ports'\n// Models\nimport * as modelSpecs from '../config'\n\n/**\n *\n * @param {ModelSpecification} spec\n */\nfunction validateSpec (spec) {\n const missing = ['modelName', 'endpoint', 'factory'].filter(key => !spec[key])\n if (missing?.length > 0) {\n throw new Error(\n `missing properties: ${missing}, spec: ${Object.entries(spec)}`\n )\n }\n}\n\n/**\n * @param {ModelSpecification} spec\n * @param {*} dependencies - services injected\n */\nfunction makeModel (spec) {\n validateSpec(spec)\n const mixins = spec.mixins || []\n const dependencies = spec.dependencies || {}\n return {\n ...spec,\n mixins: mixins.concat(GlobalMixins),\n dependencies: {\n ...dependencies,\n ...bindAdapters(spec.ports, adapters, services)\n }\n }\n}\n\nexport const models = Object.values(modelSpecs).map(spec => makeModel(spec))\n","'use strict'\n\nexport const assetTypes = ['rotating-asset', 'spare-part']\nexport const properties = ['height', 'length', 'width', 'weight', 'color']\nexport const categories = ['home', 'auto', 'business']\n\nexport const makeInventoryFactory = dependencies => ({\n category,\n properties,\n price,\n discount,\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n}) =>\n Object.freeze({\n category,\n properties,\n price: price - (discount || 0.0),\n name,\n desc,\n sku,\n purchaseOrder,\n vendor,\n inStock,\n assetType,\n quantity\n })\n","'use strict'\n\nimport { hash, encrypt, decrypt, compose } from '../domain/utils'\nimport util from 'util'\n\n/**\n * Functional mixin created by `functionalMixinFactory`\n * @callback functionalMixin\n * @param {Object} o Object to compose\n * @returns {Object} Composed object\n */\n\n/**\n * Functional mixin factory - partial application - returns mixin function\n * @callback functionalMixinFactory\n * @param {*} mixinParams params for mixin function\n * @returns {functionalMixin}\n */\n\n/**\n * @typedef {import(\"../domain/index\").Model} Model\n */\n\n/**\n * Private key to access previous version of the model\n */\nexport const prevmodel = Symbol('prevModel')\n/**\n * private key to access validation config\n */\nexport const validations = Symbol('validations')\n/**\n * Process mixin pre or post update\n */\nexport const mixinType = {\n pre: Symbol('pre'),\n post: Symbol('post')\n}\n\n/**\n * Stored mixins - use private symbol as key to prevent overwrite\n */\nexport const mixinSets = {\n [mixinType.pre]: Symbol('preUpdateMixins'),\n [mixinType.post]: Symbol('postUpdateMixins')\n}\n\n/**\n * Set of pre mixins\n */\nconst premixins = mixinSets[mixinType.pre]\n/**\n * Set of post mixins\n */\nconst postmixins = mixinSets[mixinType.post]\n\n/**\n * Apply any pre and post mixins and return the result.\n * @deprecated\n * @param {*} model - current model\n * @param {*} changes - object containing changes\n * @returns {import('.').Model} updated model\n */\nexport function processUpdate (model, changes) {\n changes[prevmodel] = JSON.parse(JSON.stringify(model)) // keep history\n\n const updates = model[premixins]\n ? compose(...model[premixins].values())(changes)\n : changes\n\n const updated = { ...model, ...updates }\n\n return model[postmixins]\n ? compose(...model[postmixins].values())(updated)\n : updated\n}\n\n/**\n * @deprecated\n * Store mixins for execution on update\n * @param {mixinType} type\n * run before changes are applied or afterward\n * @param {*} o Object containing changes to apply (pre)\n * or new object after changes have been applied (post)\n * @param {string} name `Function.name`\n * @param {functionalMixin} cb mixin function\n */\nexport function updateMixins (type, o, name, cb) {\n if (!mixinSets[type]) {\n throw new Error('invalid mixin type')\n }\n\n const mixinSet = o[mixinSets[type]] || new Map()\n\n if (!mixinSet.has(name)) {\n mixinSet.set(name, cb())\n\n return {\n ...o,\n [mixinSets[type]]: mixinSet\n }\n }\n return o\n}\n\n/**\n * bitmask for identifying events\n */\nconst eventMask = {\n update: 1, // 0001 Update\n create: 1 << 1, // 0010 Create\n onload: 1 << 2 // 0100 Load\n}\n\nfunction handleUpdateEvent (model, updates, event) {\n const isUpdate = eventMask.update & event\n const decrypted = isUpdate ? model.decrypt() : {}\n return {\n ...model,\n ...updates,\n ...decrypted\n }\n}\n\nfunction isObject (p) {\n return p != null && typeof p === 'object'\n}\n\nfunction containsUpdates (model, changes, event) {\n try {\n if (!changes) return false\n if (eventMask.update & event) {\n const changeList = Object.keys(changes)\n if (changeList.length < 1) return false\n\n if (\n changeList.every(\n k => model[k] && util.isDeepStrictEqual(changes[k], model[k])\n )\n ) {\n return false\n }\n }\n return true\n } catch (error) {\n console.error({ fn: containsUpdates.name, error })\n }\n return false\n}\n\n/**\n * Run validation functions enabled for a given event.\n * @param {Model} model - the composed object\n * @param {*} changes - object containing changes\n * @param {Number} event - Indicates what event is occuring:\n * 1st bit turned on means update, 2nd bit create, 3rd load,\n * see {@link eventMask}.\n */\nexport function validateModel (model, changes, event) {\n if (!model || !changes || !event) return {}\n // if there are no changes, and the event is an update, return\n if (!containsUpdates(model, changes, event)) {\n return model\n }\n\n // keep a history of the last saved model\n const input = {\n ...changes,\n [prevmodel]: JSON.parse(JSON.stringify(model || {}))\n }\n\n // Validate just the input data\n const updates = model[validations]\n .filter(v => v.input & event)\n .sort((a, b) => a.order - b.order)\n .map(v => model[v.name].apply(input))\n .reduce((p, c) => ({ ...p, ...c }), input)\n\n const updated = { ...model, ...updates }\n\n // Validate the updated model\n return updated[validations]\n .filter(v => v.output & event)\n .sort((a, b) => a.order - b.order)\n .map(v => updated[v.name]())\n .reduce((p, c) => ({ ...p, ...c }), updated)\n}\n\n/**\n * Enable validation to run on specific events.\n * @param {boolean} onUpdate - whether or not to run the validation on update.\n * Defaults to `true`.\n * @param {boolean} onCreate - whether or not to run the validation on create.\n * Defaults to `true`.\n * @param {boolean} onLoad - whether or not to run the validation when\n * the object is being loaded into memory after being deserialized.\n * Defaults to `false`.\n */\nfunction enableEvent ({ onUpdate = true, onCreate = true, onLoad = false }) {\n let enabled = 0\n\n if (onUpdate) {\n enabled |= eventMask.update\n }\n if (onCreate) {\n enabled |= eventMask.create\n }\n if (onLoad) {\n enabled |= eventMask.onload\n }\n return enabled\n}\n\n/**\n * Specify when validations run.\n */\nconst enableValidation = (() => {\n return {\n /**\n * Validation runs on update.\n */\n onUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: false\n }),\n /**\n * Validation runs on create.\n */\n onCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on both create and update.\n */\n onCreateAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: false\n }),\n /**\n * Validation runs on load.\n */\n onLoad: enableEvent({\n onUpdate: false,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndCreate: enableEvent({\n onUpdate: false,\n onCreate: true,\n onLoad: true\n }),\n /**\n * Validation runs on load and create.\n */\n onLoadAndUpdate: enableEvent({\n onUpdate: true,\n onCreate: false,\n onLoad: true\n }),\n /**\n * Validation runs on all events.\n */\n onAll: enableEvent({\n onUpdate: true,\n onCreate: true,\n onLoad: true\n })\n }\n})()\n\n/**\n * Add a validation function to be called for a given event.\n * @typedef {object} validationConfig\n * @property {*} o - the composed object\n * @property {string} name - name of function to run\n * @property {number} input - \"input\" validations run against\n * the data passed by the caller in the request. Use `enableValidation`\n * to provide a value for this param.\n * @property {number} output - \"output\" functions run against the\n * model after the changes have been applied.\n * @property {number} order - order in which validation runs\n * @param {validationConfig} param0\n */\nfunction addValidation ({ model, name, input = 0, output = 0, order = 50 }) {\n const config = model[validations] || []\n\n if (config.some(v => v.name === name)) {\n console.warn('duplicate validation name', name)\n return model\n }\n\n return {\n ...model,\n validateModel,\n [validations]: [...config, { name, input, output, order }]\n }\n}\n\n/**\n * Resolve keys:\n * If the value includes an array, flatten it, then for each element:\n * If the value is \"*\", return all keys of the object.\n * If the value is a function, execute it to get a dynamic key or key list.\n * If the value is a RegExp, test it to get dynamic key list.\n * If any of the above produce an array of keys, flatten it.\n * @param {*} o - Object to compose\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties\n * @returns {string[]} list of (resolved) property keys\n */\nfunction parseKeys (o, ...propKeys) {\n if (!propKeys || !o) return null\n const keys = propKeys.flat().map(function (k) {\n if (typeof k === 'function') return k(o)\n if (k instanceof RegExp) return Object.keys(o).filter(key => k.test(key))\n if (k === '*') return Object.keys(o)\n return k\n })\n return keys.flat()\n}\n\n/**\n * Encrypt properties. Properties remain encrypted indefinitely, and\n * must be explicitly decrypted as needed, e.g. reading values in memory,\n * from storage, serializing and sending to an external system.\n * @param {Array} propKeys -\n * Names (or functions that return names) of properties to encrypt\n * @returns {functionalMixin} mixin function\n */\nexport const encryptProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n const encryptProps = obj => {\n return keys\n .map(key => (obj[key] ? { [key]: encrypt(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n encryptProperties () {\n return encryptProps(this)\n },\n\n ...addValidation({\n model: o,\n name: encryptProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n }),\n\n decrypt () {\n return keys\n .map(key => (this[key] ? { [key]: decrypt(this[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }), {})\n }\n }\n}\n\n/**\n * Prevent properties from being modified.\n * Accepts a property name or a function that returns a property name.\n * @param {Array} propKeys - names of properties to freeze\n */\nexport const freezeProperties = (...propKeys) => o => {\n const preventUpdates = obj => {\n const keys = parseKeys(obj, ...propKeys)\n\n const mutations = Object.keys(obj).filter(key => keys.includes(key))\n if (mutations?.length > 0) {\n throw new Error(`cannot update readonly properties: ${mutations}`)\n }\n }\n\n return {\n freezeProperties () {\n preventUpdates(this)\n },\n\n ...addValidation({\n model: o,\n name: freezeProperties.name,\n input: enableValidation.onUpdate,\n order: 20\n })\n }\n}\n\n/**\n * Enforce required fields.\n * @param {Array} propKeys -\n * required property key names - can be a function or regex\n * that returns the property key names\n */\nexport const requireProperties = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function requireProps (obj) {\n const missing = keys.filter(key => key && !obj[key])\n if (missing?.length > 0) {\n throw new Error(`missing required properties: ${missing}`)\n }\n }\n return {\n requireProperties () {\n requireProps(this)\n },\n\n ...addValidation({\n model: o,\n name: requireProperties.name,\n output: enableValidation.onCreateAndUpdate,\n order: 90\n })\n }\n}\n\n/**\n * Hash passwords.\n * @param {*} hash hash algorithm\n * @param {Array} propKeys name of password props\n */\nexport const hashPasswords = (...propKeys) => o => {\n const keys = parseKeys(o, ...propKeys)\n\n function hashPwds (obj) {\n return keys\n .map(key => (obj[key] ? { [key]: hash(obj[key]) } : {}))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n\n return {\n hashPasswords () {\n return hashPwds(this)\n },\n\n ...addValidation({\n model: o,\n name: hashPasswords.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 100\n })\n }\n}\n\nconst internalPropList = []\n\n/**\n * Reject unknown properties in user input. Allow only approved keys.\n * @param {...any} propKeys\n */\nexport const allowProperties = (...propKeys) => o => {\n function rejectUnknownProps () {\n const keys = parseKeys(o, ...propKeys)\n const allowList = keys.concat(internalPropList)\n\n const unknownProps = Object.keys(o).filter(key => !allowList.includes(key))\n\n if (unknownProps?.length > 0) {\n throw new Error(`invalid properties: ${unknownProps}`)\n }\n }\n\n return {\n rejectUnknownProperties () {\n return rejectUnknownProps(this)\n },\n\n ...addValidation({\n model: o,\n name: rejectUnknownProps.name,\n input: enableValidation.onUpdate,\n order: 10\n })\n }\n}\n\n/**\n * Test regular expressions\n */\nexport const RegEx = {\n email: /^(.+)@(.+){2,}\\.(.+){2,}$/,\n ipv4Address: /^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$/,\n ipv6Address: /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*|((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4})){7}$/,\n phone: /^[1-9]\\d{2}-\\d{3}-\\d{4}/,\n creditCard: /^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/,\n ssn: /^(?!666|000|9\\\\d{2})\\\\d{3}-(?!00)\\\\d{2}-(?!0{4})\\\\d{4}$/,\n /**\n * Allow caller to pass a keyword that refers to one of the regex above\n * @param {regexType} expr\n * @param {*} val\n */\n test (expr, val) {\n const _expr =\n Object.keys(this).includes(expr) && this[expr] instanceof RegExp\n ? this[expr]\n : expr\n return _expr.test(val)\n }\n}\n\n/**\n * @callback isValid\n * @param {Object} o - the property owner\n * @param {*} propVal - the property value\n * @returns {boolean} - true if valid\n *\n * @typedef {'email'|'phone'|'ipv4Address'|'ipv6Address'|'creditCard'|'ssn'|RegExp} regexType\n *\n * @typedef {{\n * propKey:string,\n * isValid?:isValid,\n * values?:any[],\n * regex?:regexType,\n * maxlen?:number\n * maxnum?:numbertp\n * typeof?:string\n * unique?:{ encrypted:boolean }\n * }} validation\n */\n\nfunction evaluateUniqueness (v, o, propVal) {\n const compareVal = v.unique.encrypted ? encrypt(propVal) : propVal\n return o.listSync({ [v.propKey]: compareVal }).length < 1\n}\n\n/**\n * Run validation tests\n */\nconst Validator = {\n tests: {\n isValid: (v, o, propVal) => v.isValid(o, propVal),\n values: (v, o, propVal) => v.values.includes(propVal),\n regex: (v, o, propVal) => RegEx.test(v.regex, propVal),\n typeof: (v, o, propVal) => v.typeof === typeof propVal,\n maxnum: (v, o, propVal) => v.maxnum + 1 > propVal,\n maxlen: (v, o, propVal) => v.maxlen + 1 > propVal.length,\n unique: (v, o, propVal) => evaluateUniqueness(v, o, propVal)\n },\n /**\n * Returns true if tests pass.\n * @param {validation} v validation config\n * @param {Object} o object to compose\n * @param {*} propVal value of property to validate\n * @returns {boolean} true if tests pass\n */\n isValid (v, o, propVal) {\n return Object.keys(this.tests).every(key => {\n if (v[key]) {\n // the test `key` is specified, run it\n return this.tests[key](v, o, propVal)\n }\n return true\n })\n }\n}\n\n/**\n * Verify a property value is a member of a list,\n * is unique within a set of model instances,\n * is of a certain length, size or type,\n * matches a regular expression,\n * or satisfies a custom validation function.\n * @param {validation[]} validations\n */\nexport const validateProperties = validations => o => {\n function validate (obj) {\n const invalid = validations.filter(v => {\n const propVal = obj[v.propKey]\n\n if (!propVal) {\n return false\n }\n return !Validator.isValid(v, obj, propVal)\n })\n\n if (invalid?.length > 0) {\n throw new Error(`invalid value for ${[...invalid.map(v => v.propKey)]}`)\n }\n }\n\n return {\n validateProperties () {\n validate(this)\n },\n\n ...addValidation({\n model: o,\n name: validateProperties.name,\n input: enableValidation.onUpdate,\n output: enableValidation.onCreate,\n order: 50\n })\n }\n}\n\n/**\n * @callback updaterFn\n * @param {Object} o\n * @param {*} propVal\n * @returns {Object} object with updated properties\n *\n * @typedef {{\n * propKey: string,\n * update: updaterFn\n * }} updater\n */\n\n/**\n * Respond to property updates by updating addtional (dependent) properties as needed.\n * @param {updater[]} updaters\n */\nexport const updateProperties = updaters => o => {\n function updateProps (obj) {\n const updates = updaters.filter(u => obj[u.propKey])\n\n if (updates?.length > 0) {\n return updates\n .map(u => u.update(o, obj[u.propKey]))\n .reduce((p, c) => ({ ...p, ...c }))\n }\n }\n\n return {\n updateProperties () {\n return updateProps(this)\n },\n\n ...addValidation({\n model: o,\n name: updateProperties.name,\n output: enableValidation.onUpdate,\n order: 30\n })\n }\n}\n\n/**\n * Set a validation that invokes a port. The port must be configured\n * in the `ModelSpecification`.\n * @param {string} fn - name of port (as it appears in the ModelSpec)\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments\n */\nexport const invokePort = (fn, onCreate, onUpdate, ...args) => async o => {\n return {\n ...o,\n invokePort () {\n console.log({ func: 'invokePort', fn, args })\n return this[fn](...args).then(o => o)\n },\n\n ...addValidation({\n model: o,\n name: 'invokePort',\n output: enableValidation.onUpdate,\n order: 85\n })\n }\n}\n\n/**\n * Set a validation that calls a model method or provided function.\n * @param {string|function(Model, ...any):Promise} fn - callback function\n * or name of method to executee\n * @param {boolean} onCreate - invoke on create\n * @param {boolean} onUpdate - invoke on update\n * @param {...any} args - pass arguments to the method/function\n * @return {Model}\n */\nexport const execMethod = (fn, onCreate, onUpdate, ...args) => async o => {\n const functionType = {\n function: (fn, obj, ...args) => fn(obj, ...args).then(o => o),\n string: (fn, obj, ...args) => obj[fn](...args).then(o => o)\n }\n\n return {\n ...o,\n async execMethod () {\n const model = await functionType[typeof fn](fn, this, ...args)\n return model\n },\n\n ...addValidation({\n model: o,\n name: 'execMethod',\n output: enableValidation.onUpdate,\n order: 40\n })\n }\n}\n\n/**\n * Create a method on a model.\n * @param {*} fn\n * @param {...any} args\n */\nexport const createMethod = (fn, ...args) => o => {\n return {\n ...o,\n [fn.name]: () => fn(...args)\n }\n}\n\n/**\n * Check the value of the property before returning its key.\n * @param {*} propKey\n * @param {regexType} expr\n * @returns {function(any):any} dynamic property func\n */\nexport const withValidFormat = (propKey, expr) => o => {\n if (o[propKey] && !RegEx.test(expr, o[propKey])) {\n throw new Error(`invalid ${propKey}`)\n }\n return propKey\n}\n\n/**\n *\n * @param {string} value\n * @param {regexType} expr\n */\nexport const checkFormat = (value, expr) => {\n if (value && !RegEx.test(expr, value)) {\n const x = expr instanceof RegExp ? value : expr\n throw new Error(`${x} invalid`)\n }\n}\n\n/**\n * Implement GDPR encryption requirement across models\n */\nexport const encryptPersonalInfo = encryptProperties(\n /^last.*Name$|^surname$|^family.*Name$/i,\n /^shipping.*Address$/i,\n /^billing.*Address$/i,\n /^home.*Address$/i,\n /email|e-mail/i,\n /^phone$|^home.*phone$/i,\n /^mobile$|^mobile.*number$|^cell.*number$/i,\n /^credit.*Card/i,\n /^cvv$/i,\n /^ssn$|^socialSecurity/i,\n /^encrypted/i\n)\n\n/**\n * Global mixins\n */\nconst GlobalMixins = [encryptPersonalInfo]\n\nexport default GlobalMixins\n","'use strict'\n\nimport { prevmodel } from './mixins'\nimport { asyncPipe } from '../domain/utils'\nimport checkPayload from './check-payload'\nimport { Transform } from 'stream'\n\n/** @typedef { import('../domain/index.js').ModelSpecification} ModelSpecification */\n/** @typedef {string|RegExp} topic*/\n/** @typedef {function(string)} eventCallback*/\n/** @typedef {import('../adapters/index').adapterFunction} adapterFunction*/\n/** @typedef {string} id */\n/** @typedef {import(\"./customer\").Customer} Customer */\n/** @typedef {function(Order)} undoFunction */\n/**\n * @callback logMessageFn\n * @param {object|string} message\n * @param {logType} [type]\n *\n */\n\n/** @typedef {'first'|'last'|'lastStateChange'|'stateChange'|'error'|'undo'} logType */\n\n/**\n * @typedef readLogType\n * @property {number} index\n * @property {logType} type\n */\n\n/**\n * @typedef {{\n * itemId: string,\n * price: number,\n * qty?: number\n * }} orderItemType\n */\n\n/**\n * @callback relationFunction\n * @property {...args}\n * @returns {Promise}\n * } relationFunction\n */\n\n/**\n * @typedef {Object} Order The Order Service\n * @property {function(topic,eventCallback)} listen - listen for events\n * @property {import('../adapters/event-adapter').notifyType} notify\n * @property {adapterFunction} validateAddress - returns valid address or throws exception\n * @property {adapterFunction} completePayment - completes payment for an authorized charge\n * @property {adapterFunction} verifyDelivery - verify the order was received by the customer\n * @property {adapterFunction} trackShipment\n * @property {adapterFunction} refundPayment\n * @property {relationFunction} inventory - reserve inventory items\n * @property {adapterFunction} undo - undo all transactions up to this point\n * @property {function():Promise} pickOrder - pick items from warehouse and prepare for shipment\n * @property {adapterFunction} authorizePayment - verify payment, i.e. reserve the balance due\n * @property {import('../adapters/shipping-adapter').shipOrder} shipOrder -\n * calls shipping service to print label and request delivery\n * @property {function(Order):Promise} save - saves order\n * @property {function():Promise} find - finds order\n * @property {string} shippingAddress\n * @property {string} orderNo = the order number\n * @property {string} trackingId - id given by tracking status for this `orderNo`\n * @property {function():Order} decrypt - decrypts sensitive properties\n * @property {function({key1:any,keyN:any}, boolean):Promise} update - update the order,\n * set the second arg to false to turn off validation.\n * @property {'PENDING'|'APPROVED'|'SHIPPING'|'CANCELED'|'COMPLETED'} orderStatus\n * @property {function(...args):Promise} customer - retrieves related customer object,\n * or if args are provided, creates a new customer object, using the provided args as the input.\n * @property {function(string,Order):Promise} emit - broadcast domain event\n * @property {function():boolean} paymentAccepted - payment approved and funds reserved\n * @property {function():boolean} autoCheckout - whether or not to immediately submit the order\n * @property {boolean} saveShippingDetails save shipping and payment details in a new customer record\n * @property {{itemId:string,price:number,qty:number}[]} orderItems\n * @property {Symbol} customerId {@link Customer}\n * @property {logMessageFn} logEvent\n * @property {logMessageFn} logError\n * @property {logMessageFn} logUndo\n * @property {logMessageFn} logStateChange\n * @property {readMessageFn} readLog\n */\n\nconst orderStatus = 'orderStatus'\nconst orderTotal = 'orderTotal'\nconst orderNo = 'orderNo'\n\nexport const OrderStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n SHIPPING: 'SHIPPING',\n COMPLETE: 'COMPLETE',\n CANCELED: 'CANCELED'\n}\n\n/**\n *\n * @param {orderItemType} orderItem\n * @returns {boolean} true if item is valid\n */\nexport const checkItem = function (orderItem) {\n return (\n typeof orderItem.itemId === 'string' && typeof orderItem.price === 'number'\n )\n}\n\n/**\n * @param {orderItemType[]} orderItems\n */\nexport const checkItems = function (orderItems) {\n if (!orderItems || orderItems.length < 1) {\n throw new Error('order contains no items')\n }\n const items = Array.isArray(orderItems) ? orderItems : [orderItems]\n\n if (items.length > 0 && items.every(checkItem)) {\n return items\n }\n throw new Error('order items invalid', { items })\n}\n\n/**\n * Calculate order total\n * @param {orderItemType[]} orderItems\n */\nexport const calcTotal = function (orderItems) {\n const items = checkItems(orderItems)\n\n return items.reduce((total, item) => {\n const qty = item.qty || 1\n return (total += item.price * qty)\n }, 0)\n}\n\n/**\n * @param {orderItemType[]} orderItems\n * @returns {number} number of items\n */\nexport const itemCount = function (orderItems) {\n return orderItems.reduce((total, item) => (total += item.qty || 1))\n}\n\n/**\n * No changes to `propKey` properties once the order is approved\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnApproval = propKey => o =>\n o.orderStatus && o.orderStatus !== OrderStatus.PENDING ? propKey : null\n\nconst finalStatus = status =>\n [OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(status)\n\n/**\n * No changes to `propKey` once order is complete or canceled\n * @param {*} o - the order\n * @param {*} propKey\n * @returns {string | null} the key or `null`\n */\nexport const freezeOnCompletion = propKey => o =>\n finalStatus(o.orderStatus) ? null : propKey\n\n/**\n * If not a registered customer, provide shipping & payment details.\n * @param {*} o\n * @param {*} propKey\n * @returns {string | void} the key or `void`\n */\nexport const requiredForGuest = propKey => o => o.customerId ? null : propKey\n\n/**\n * Value required to approve order.\n * @param {*} propKey\n */\nexport const requiredForApproval = propKey => o =>\n o.orderStatus === OrderStatus.APPROVED ? propKey : null\n\n/**\n * Value required to complete order\n * @param {object} o\n * @param {string | string[]} propKey these props are required to comlete the order\n * @returns {string | void} the key or `void`\n */\nexport const requiredForCompletion = propKey => o =>\n o.orderStatus === OrderStatus.COMPLETE ? propKey : null\n\n/**\n *\n * @param {enum} from\n * @param {enum} to\n * @returns\n */\nconst invalidStatusChange = (from, to) => (o, propVal) =>\n propVal === to && o[prevmodel].orderStatus === from\n\nconst invalidStatusChanges = [\n // Can't change back to pending once approved\n invalidStatusChange(OrderStatus.APPROVED, OrderStatus.PENDING),\n // Can't change back to pending once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.PENDING),\n // Can't change back to approved once shipped\n invalidStatusChange(OrderStatus.SHIPPING, OrderStatus.APPROVED),\n // Can't change directly to shipping from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.SHIPPING),\n // Can't change directly to complete from pending\n invalidStatusChange(OrderStatus.PENDING, OrderStatus.COMPLETE),\n // Can't change final status\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.COMPLETE, OrderStatus.CANCELED),\n // Can't change final status\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.PENDING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.SHIPPING),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.APPROVED),\n invalidStatusChange(OrderStatus.CANCELED, OrderStatus.COMPLETE)\n]\n\n/**\n * Check that status changes are valid\n */\nexport const statusChangeValid = (o, propVal) => {\n if (invalidStatusChanges.some(i => i(o, propVal))) {\n throw new Error('invalid status change')\n }\n return true\n}\n\n/**\n *\n * @param {*} o\n * @param {*} propVal\n */\nexport const orderTotalValid = (o, propVal) =>\n calcTotal(o.orderItems) === propVal\n\n/**\n * Recalculate order total\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const recalcTotal = (o, propVal) => ({\n orderTotal: calcTotal(propVal)\n})\n\n/**\n * Updated signature requirement if `orderTotal` above certain value\n * @param {object} o - the object (order)\n * @param {number} propVal - the property value\n */\nexport const updateSignature = (o, propVal) => ({\n signatureRequired: calcTotal(propVal) > 999.99 || o.signatureRequired\n})\n\n/**\n * Don't delete orders before they're complete.\n */\nexport function readyToDelete (model) {\n if (\n ![OrderStatus.COMPLETE, OrderStatus.CANCELED].includes(model.orderStatus)\n ) {\n throw new Error('order must be canceled or completed')\n }\n return model\n}\n\n/**\n *\n * @param {Error} error\n * @param {Order} order\n * @param {*} func\n */\nfunction handleError (error, order, func) {\n const errMsg = { func, orderNo: order.orderNo, error }\n if (order) order.emit('orderError', errMsg)\n\n throw new Error(JSON.stringify(errMsg))\n}\n\n/**\n * Callback invoked by adapter when payment is complete\n * @param {{model:Order}} options\n */\nexport async function paymentCompleted (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'confirmationCode',\n options,\n payload,\n paymentCompleted.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.COMPLETE })\n}\n\n/**\n * Callback invoked by shipping adapter when order is picked up.\n * @param {{model:Order}} options\n * @param {string} shipmentId\n */\nexport async function orderShipped (options = {}, payload = {}) {\n const { model: order } = options\n const shipmentPayload = checkPayload(\n 'shipmentId',\n options,\n payload,\n orderShipped.name\n )\n return order.update({\n shipmentId: shipmentPayload.shipmentId,\n orderStatus: OrderStatus.SHIPPING\n })\n}\n\n/**\n * Callback invoked when order is ready for pickup\n * @param {{ model:Order }} options\n */\nexport async function orderPicked (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'pickupAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update(changes)\n}\n\n/**\n * Callback invoked when shippingAddress is verified (and possibly corrected)\n * @param {{ model:Order }} options\n * @param {string} shippingAddress\n */\nexport async function addressValidated (options = {}, payload = {}) {\n const { model: order } = options\n const addressPayload = checkPayload(\n 'shippingAddress',\n options,\n payload,\n addressValidated.name\n )\n return order.update({ shippingAddress: addressPayload.shippingAddress })\n}\n\n/**\n * Called by adapter when port recevies response from payment service.\n * @param {{ model:Order }} options\n * @param {*} paymentAuthorization\n */\nexport async function paymentAuthorized (options = {}, payload = {}) {\n const { model: order } = options\n const changes = checkPayload(\n 'paymentStatus',\n options,\n payload,\n paymentAuthorized.name\n )\n return order.update({ ...changes, paymentStatus }, false)\n}\n\n/**\n * Called to refund payment when order is canceled.\n * @param {*} options\n * @param {*} payload\n * @returns\n */\nexport async function refundPayment (order) {\n // call port by same name.\n order.refundPayment((options, payload) => {\n const changes = checkPayload(\n 'refundReceipt',\n options,\n payload,\n refundPayment.name\n )\n return order.update({ ...changes, orderStatus: OrderStatus.CANCELED })\n })\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyAddress (order) {\n console.debug({\n fn: verifyAddress.name,\n validateAddress: order.validateAddress\n })\n return order.validateAddress(addressValidated)\n}\n\n/**\n * Request the bank or lender to place a hold on\n * the customer account in the amount of the payment\n * due, to be withdrawn once the shipment is safely\n * in our customer's hands, or credited back if things\n * don't work out.\n *\n * @param {Order} order\n * @returns {Promise}\n */\nasync function verifyPayment (order) {\n try {\n /**\n * @type {Order}\n */\n const authorizeOrder = await order.authorizePayment(paymentAuthorized)\n\n if (!authorizeOrder.paymentDeclined) {\n throw new Error('payment declined')\n }\n\n return authorizeOrder\n } catch (e) {\n handleError(e, order, verifyPayment.name)\n }\n return order\n}\n\n/**\n *\n * @param {Order} order\n * @returns {Promise}\n * @throws {'oInventory'}\n */\nasync function verifyInventory (order) {\n const inventory = await order.inventory()\n if (inventory.length < 1) throw new Error('bad inventory ID')\n\n const insufficient = order.orderItems.filter(item => {\n const inv = inventory.find(i => i.id === item.itemId)\n if (!inv) return true\n if (inv.quantity < item.qty) return true\n return false\n })\n\n if (insufficient.length > 0) {\n order.emit('lowOrOutOfStock', insufficient)\n throw new Error(`low or out of stock: ${insufficient.map(i => i.itemId)}`)\n }\n}\n/**\n * Copy existing customer data into the order\n * or create new customer from order details.\n *\n * @param {Order} order\n * @throws {'InvalidCustomerId'}\n */\nasync function getCustomerOrder (order) {\n // If an id is given, try fetching the model\n if (order.customerId) {\n if (!order.customer) {\n console.log({ order })\n }\n // Use the relation defined in the spec\n const customer = await order.customer()\n\n if (!customer) {\n throw new Error('invalid customer id', order.customerId)\n }\n\n // Add customer data to the order\n const custInfo = { ...customer.decrypt(), firstName: customer.firstName }\n const update = await order.update(custInfo)\n\n console.info('update order with data from existing customer', custInfo)\n return update\n }\n\n // Create a new customer from the shipping details\n if (order.saveShippingDetails) {\n const custInfo = { ...order.decrypt(), firstName: order.firstName }\n const customer = await order.customer(custInfo)\n\n console.info('create new customer with data from order', customer)\n return order\n }\n\n return order\n}\n\n/**\n * Handle a new order:\n * - fetch or save customer info\n * - check item availability\n * - authorize payment\n * - verify shipping address\n */\nconst processPendingOrder = asyncPipe(\n getCustomerOrder,\n verifyInventory,\n verifyPayment,\n verifyAddress\n)\n\n/**\n * Implements the beginging of the order service workflow.\n * The rest is implemented by the {@link ModelSpecification}.\n * See the port configuration section of {@link Order}.\n */\nconst OrderActions = {\n /**\n * Verifies the shipping address and authorizes payment\n * for the order total when the order is first created,\n * or when it is updated while still in pending status.\n *\n * @param {Order} order - the order\n * @returns {Promise>}\n */\n [OrderStatus.PENDING]: order => {\n // return processPendingOrder(order)\n\n if (order.autoCheckout)\n /**@type {Order} */\n getCustomerOrder(order).then(order =>\n runOrderWorkflow(\n order.updateSync({ orderStatus: OrderStatus.APPROVED })\n )\n )\n },\n\n /**\n * If payment is authorized, check inventory.\n * This kicks off the rest of the workflow,\n * which is controlled by port event flow.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.APPROVED]: order => {\n try {\n //if (/approved/i.test(order.paymentStatus))\n return order.pickOrder(orderPicked)\n\n // order.emit('PayAuthFail', 'Payment authorization problem')\n // return order\n } catch (error) {\n console.log({ error })\n handleError(error, order, OrderStatus.APPROVED)\n }\n return order\n },\n\n /**\n * Useful if we need to restart tracking.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.SHIPPING]: async order => {\n try {\n order.trackShipment(trackingUpdate)\n console.debug({ func: OrderStatus.SHIPPING, order })\n await (\n await order.update({ orderStatus: OrderStatus.SHIPPING })\n ).emit('orderPicked')\n } catch (error) {\n handleError(error, order, OrderStatus.SHIPPING)\n }\n return order\n },\n\n /**\n * Start cancellation process.\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.CANCELED]: async order => {\n try {\n console.debug({\n func: OrderStatus.CANCELED,\n desc: 'order canceled, calling undo',\n orderNo: order.orderNo\n })\n return order.undo()\n } catch (error) {\n handleError(error, order, OrderStatus.CANCELED)\n }\n return order\n },\n /**\n *\n * @param {Order} order\n * @returns {Promise>}\n */\n [OrderStatus.COMPLETE]: async order => {\n // send route to questionnaire, perform analysis, schedule follow-up\n console.log('customer sentiment analysis, customer care, sales analysis')\n return order\n }\n}\n\n/**\n * Call order service workflow - controlled by status\n * @param {Order} order\n * @returns {Promise>}\n */\nexport function runOrderWorkflow (order) {\n console.log({ orderStatus: order.orderStatus })\n OrderActions[order.orderStatus](order)\n}\n\n/**\n * Called on create, update, delete of model instance.\n * @param {{model:Promise>}}\n */\nexport function handleOrderEvent ({ model: order, eventType, changes }) {\n if (changes?.orderStatus || eventType === 'CREATE') {\n // console.debug({ fn: handleOrderEvent.name, order })\n runOrderWorkflow(order)\n }\n}\n\n/**\n * Require a signature for orders $1000 and up\n * @param {*} input\n * @param {*} orderTotal\n */\nfunction needsSignature (input, orderTotal) {\n return typeof input === 'boolean' ? input : orderTotal > 999.99\n}\n\n/** format and classify log entries */\nfunction logMessage (message, type) {\n const msg = typeof message === 'string' ? message : JSON.stringify(message)\n\n return {\n desc: msg.substring(0, 140),\n type,\n time: Date.now(),\n toJSON () {\n return {\n desc: this.desc,\n type,\n time: new Date(this.time).toISOString()\n }\n }\n }\n}\n\n/**\n * Returns factory function for the Order model.\n * @type {import('../domain/index.js').modelSpecFactoryFn}\n * @param {*} dependencies - inject dependencies\n */\nexport function makeOrderFactory (dependencies) {\n return function createOrder ({\n orderItems,\n email = null,\n lastName = null,\n firstName = null,\n customerId = null,\n billingAddress = null,\n shippingAddress = null,\n creditCardNumber = null,\n shippingPriority = null,\n autoCheckout = false,\n saveShippingDetails = false,\n requireSignature,\n fibonacci = 10\n }) {\n //const signatureRequired = needsSignature(requireSignature, total)\n const order = {\n email,\n lastName,\n firstName,\n customerId,\n orderItems,\n creditCardNumber,\n billingAddress,\n shippingAddress,\n signatureRequired: false,\n saveShippingDetails,\n shippingPriority,\n fibonacci,\n result: 0,\n time: 0,\n estimatedArrival: null,\n log: [logMessage('order created')],\n [orderTotal]: 0,\n [orderStatus]: OrderStatus.PENDING,\n [orderNo]: dependencies.uuid(),\n desc: 'new order 25',\n itemId: null,\n /**\n * Has payment for the order been authorized?\n */\n paymentAccepted () {\n return true\n },\n /**\n * Proceed to checkout automatically or wait for approval?\n */\n autoCheckout () {\n return autoCheckout\n },\n totalItems () {\n return itemCount(this.orderItems)\n },\n total () {\n return calcTotal(this.orderItems)\n },\n addItem (item) {\n if (checkItem(item)) {\n this.orderItems.push(item)\n return true\n }\n return false\n },\n logEvent (message, type = 'info') {\n this.log.push(logMessage(message, type))\n },\n logError (message) {\n this.logEvent(message, 'error')\n },\n logUndo (message) {\n this.logEvent(message, 'undo')\n },\n logStateChange (message) {\n this.logEvent(message, 'stateChange')\n },\n\n /**\n *\n * @param {viewLog} options\n * @returns {logMessageFn[]|logMessageFn}\n */\n readLog ({ index = null, type = null }) {\n const indx = parseInt(index)\n if (indx < this.log.length && indx !== NaN) return this.log[indx]\n if (type === 'first') return this.log[0]\n if (type === 'last') return this.log[this.log.length - 1]\n if (type === 'lastStateChange')\n return this.log[this.log.lastIndexOf({ type: 'stateChange' })]\n if (type === 'stateChanges')\n return this.log.filter(l => l.type === 'stateChange')\n if (type === 'error') return this.log.filter(l => l.type === 'error')\n if (type === 'undo') return this.log.filter(l => l.type === 'undo')\n return this.log\n }\n }\n\n return Object.freeze(order)\n }\n}\n\n/**\n * Called as command to approve/submit order.\n * @param {Order} order\n */\nexport async function approve (order) {\n console.debug({ msg: 'got order', order })\n const approvedOrder = order.updateSync(\n {\n orderStatus: OrderStatus.APPROVED\n },\n false\n )\n console.debug({ approvedOrder })\n approvedOrder.logStateChange(OrderStatus.APPROVED)\n return runOrderWorkflow(approvedOrder)\n}\n\n/**\n * Called as command to cancel order.\n * @param {Order} order\n */\nexport async function cancel (order) {\n const canceledOrder = await order.update({\n orderStatus: OrderStatus.CANCELED\n })\n canceledOrder.logStateChange(OrderStatus.CANCELED)\n return runOrderWorkflow(canceledOrder)\n}\n\n/**\n * Alias of `approve`\n * @param {Order} order\n * @returns\n */\nexport async function checkout (order) {\n return approve(order)\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function errorCallback ({ port, model: order, error }) {\n const errMsg = { error, port, error }\n console.error(errorCallback.name, errMsg)\n order.logEvent(errMsg)\n order.emit(errorCallback.name, errMsg)\n return order.undo()\n}\n\n/**\n *\n * @param {{model:Order}} param0\n */\nexport function timeoutCallback ({ port, ports, adapterFn, model: order }) {\n console.error('timeout...', port)\n //order.logError(timeoutCallback.name, 'timeout')\n order.emit(timeoutCallback.name, errMsg)\n}\n\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnInventory (order) {\n console.log(returnInventory.name)\n order.logEvent(returnInventory.name, 'timeout')\n order.emit(returnInventory.name, errMsg)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n * Start process for the shipper to pick the items to return.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnShipment (order) {\n console.log(returnShipment.name)\n order.logUndo(returnShipment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport function accountOrder (req, res) {}\n1\n/**\n * @type {undoFunction}\n * Start process to return canceled order items to inventory.\n * Do not call `runOrderWorkflow` - it is already running (in\n * reverse) if we get here.\n */\nexport async function returnDelivery (order) {\n console.log(returnDelivery.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\n/**\n * @type {undoFunction}\n */\nexport async function cancelPayment (order) {\n console.log(cancelPayment.name)\n return order.update({ orderStatus: OrderStatus.CANCELED })\n}\n\nexport class OrderError extends Error {\n constructor (error, code) {\n super(error)\n this.code = code\n }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\nexport async function cancelOrders (data) {\n const cancelOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, _encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.CANCELED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: cancelOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @param {Date.now} data\n * @returns\n */\n\nexport async function approveOrders (data) {\n const approveOrdersTransform = new Transform({\n objectMode: true,\n transform: (chunk, encoding, done) => {\n if (chunk._id) delete chunk._id\n done(\n null,\n JSON.stringify({ ...chunk, orderStatus: OrderStatus.APPROVED })\n )\n }\n })\n\n await this.list({\n writable: this.createWriteStream(),\n transform: approveOrdersTransform,\n serialize: false\n })\n\n return { status: '🏆' }\n}\n\n/**\n *\n * @returns\n */\nexport async function trackAsyncContext () {\n const ctx = this.getContext()\n const dur = 'test-duration'\n const startTime = Date.now()\n\n await new Promise(resolve => setTimeout(resolve, 100))\n\n // require('fs')\n // .stream('/etc/hosts')\n // .pipe(ctx.get('res'))\n\n ctx.set(dur, Date.now() - startTime)\n\n const metric = {\n requestId: ctx.get('id'),\n fn: trackAsyncContext.name,\n duration: ctx.get(dur),\n context: [...ctx]\n }\n\n this.emit('metric', metric)\n console.log(metric.ctx)\n\n return metric\n}\n\nexport async function customHttpStatus (data) {\n if (data.args.code)\n throw new OrderError(data.args.message || 'custom status', data.args.code)\n try {\n console.log(x)\n } catch (error) {\n throw new OrderError(error, 500)\n }\n}\n\nexport async function testContainsMany (data) {\n this.chat()\n return { status: 'ok' }\n}\n\nfunction fibonacci (x) {\n if (x === 0) {\n return 0\n }\n if (x === 1) {\n return 1\n }\n return fibonacci(x - 1) + fibonacci(x - 2)\n}\n\nexport async function runFibonacciJs (data) {\n console.log({ data })\n const param = parseInt(data.args.fibonacci || 20)\n const start = Date.now()\n return {\n fibonacci: param,\n result: fibonacci(param),\n time: Date.now() - start\n }\n}\n","// import { systemsInGalaxy } from './SolarSystem'\n\nexport {\n cancelOrders,\n approveOrders,\n trackAsyncContext,\n customHttpStatus,\n testContainsMany,\n runFibonacciJs\n} from './order'\n// export { listSolarSystems, sendGalaticSignal } from './Galaxy'\n// export {\n// systemsInGalaxy,\n// sendSolarSignal,\n// receiveGalacticSignal\n// } from './SolarSystem'\n// export { receiveSolarSignal, planetsInSolarSystem } from './Planet'\n// export {\n// qeRunFibonacci,\n// qeCustomHttpStatus,\n// qeGetPublicIpAddressIn\n// } from './query-engine'\n// export { damBrowseIn, damDownloadIn, damSearchIn, damUploadIn } from './dam-api'\n// export { tmListEventsIn } from './ticket-master'\n// export { callFetchService } from './access-controller'\n","'use strict'\n\nimport crypto from 'crypto'\nimport { nanoid } from 'nanoid'\n\nexport function compose (...funcs) {\n return function (initVal) {\n return funcs.reduceRight((val, func) => func(val), initVal)\n }\n}\n\nexport function composeAsync (...funcs) {\n return function (initVal) {\n return funcs.reduceRight(\n (val, func) => val.then(func),\n Promise.resolve(initVal)\n )\n }\n}\n\n/**\n * @callback pipeFn\n * @param {object} obj - the object to compose\n * @returns {object} - the composed object\n */\n\n/**\n * @param {pipeFn} func\n */\nexport const asyncPipe = (...func) => obj =>\n func.reduce((o, f) => o.then(f), Promise.resolve(obj))\n\nconst passwd = process.env.ENCRYPTION_PWD\nconst algo = 'aes-192-cbc'\nconst key = crypto.scryptSync(String(passwd), 'salt', 24)\nconst iv = Buffer.alloc(16, 0)\n\nexport function encrypt (text) {\n const cipher = crypto.createCipheriv(algo, key, iv)\n let encrypted = cipher.update(text, 'utf8', 'hex')\n encrypted += cipher.final('hex')\n return encrypted\n}\n\nexport function decrypt (cipherText) {\n console.log('decrypt(%s)', cipherText)\n const decipher = crypto.createDecipheriv(algo, key, iv)\n let decrypted = decipher.update(cipherText, 'hex', 'utf8')\n decrypted += decipher.final('utf8')\n return decrypted\n}\n\nexport function hash (data) {\n return crypto\n .createHash('sha1')\n .update(data)\n .digest('hex')\n}\n\nexport function uuid () {\n // return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>\n // (c ^ (crypto.randomBytes(16)[0] & (15 >> (c / 4)))).toString(16)\n // );\n return nanoid()\n}\n\nexport function makeArray (v) {\n return Array.isArray(v) ? v : [v]\n}\n\nexport function makeObject (prop) {\n if (Array.isArray(prop)) {\n return prop.reduce((p, c) => ({ ...p, ...c }))\n }\n return prop\n}\n\n/**\n *\n * @param {Promise<{\n * ok:()=>any,\n *\n * }} promise\n * @returns\n */\nexport function async (promise) {\n return promise\n .then(result => ({\n ok: true,\n object: result,\n asObject: () => makeObject(result),\n asArray: () => makeArray(result)\n }))\n .catch(error => {\n console.error(error)\n return Promise.resolve({ ok: false, error })\n })\n}\n","'use strict'\n\nimport { Event } from './services/event-service'\n\nexport class EventDispatcher {\n constructor (adapter = Event) {\n this.adapter = adapter\n this.subscriptions = new Map()\n }\n\n registerCallback (topic, callback) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions.get(topic).push(callback)\n return\n }\n this.subscriptions.set(topic, [callback])\n }\n\n async emitEvent (topic, message, method = 'notify') {\n await this.adapter[method](topic, message)\n }\n\n async init (method = 'listen') {\n function emitEvent (topic, message) {\n this.emitEvent(topic, message)\n }\n\n await this.adapter[method](\n /Channel/,\n function ({ topic, message }) {\n if (this.subscriptions.has(topic)) {\n this.subscriptions\n .get(topic)\n .forEach(callback =>\n callback({ message, emitEvent: emitEvent.bind(this) })\n )\n }\n }.bind(this)\n )\n }\n}\n","'use strict'\n\nconst session = require('express-session')\nconst express = require('express')\nconst http = require('http')\nconst WebSocket = require('ws')\nconst { uuid } = require('./domain/utils')\nrequire('dotenv').config()\nconst services = require('./service-registry').default\nconst cluster = require('cluster')\nconst fs = require('fs')\nconst _srv_ = require('./services')\n\nconst app = express()\nconst map = new Map()\nconst API_ROOT = '/api'\nconst PORT = 8060\n\nimport axios from 'axios'\n// list the models we expose to host through module federation\nimport { models } from './domain'\nconsole.log(models)\n\n// Run test service endpoints\nservices.init()\n\n// We need the same instance of the session parser in express and\n// WebSocket server.\nconst sessionParser = session({\n saveUninitialized: false,\n secret: '$eCuRiTy',\n resave: false\n})\n\n// Serve static files from the 'public' folder.\napp.use(express.static('public'))\napp.use(express.static('dist')) // remoteEntry.js\napp.use(sessionParser)\napp.use(express.json())\n\napp.post('/login', function (req, res) {\n // \"Log in\" user and set userId to session.\n const id = uuid()\n console.log(`Updating session for user ${id}`)\n req.session.userId = id\n res.send({ result: 'OK', message: 'Session updated' })\n})\n\napp.delete('/logout', function (request, response) {\n const ws = map.get(request.session.userId)\n console.log('Destroying session')\n request.session.destroy(function () {\n if (ws) ws.close()\n response.send({ result: 'OK', message: 'Session destroyed' })\n })\n})\n\napp.get(`${API_ROOT}/fedmonserv`, (req, res) =>\n res.send('Federated Monolith Service')\n)\n\napp.get(`${API_ROOT}/service1`, (req, res) => {\n console.log({ from: req.ip, url: req.originalUrl })\n res.status(200).send({\n from: 'fedmonserv',\n ip: req.ip,\n port: PORT,\n url: req.originalUrl,\n date: new Date().toISOString()\n })\n})\n\n// Create HTTP server\nconst server = http.createServer(app)\nconst wss = new WebSocket.Server({ clientTracking: true, noServer: true })\n\n// Send events emitted from host to any WS clients\napp.post(`${API_ROOT}/publish`, (req, res) => {\n console.log({ event: req.body })\n //handleEvents(req, res);\n wss.clients.forEach(function each (client) {\n if (client.url === req.url) return\n if (client.readyState === WebSocket.OPEN) {\n client.send(JSON.stringify({ event: req.body }))\n }\n })\n})\n\n// Handle request to upgrade to websocket protocol\nserver.on('upgrade', function (request, socket, head) {\n console.log('Parsing session from request...')\n\n sessionParser(request, {}, () => {\n if (!request.session.userId) {\n socket.destroy()\n return\n }\n console.log('Session is parsed')\n wss.handleUpgrade(request, socket, head, function (ws) {\n wss.emit('connection', ws, request)\n })\n })\n})\n\nwss.on('connection', function (ws, request) {\n const userId = request.session.userId\n map.set(userId, ws)\n\n ws.on('message', function (message) {\n console.log(`Received message ${message} from user ${userId}`)\n })\n\n ws.on('close', function () {\n map.delete(userId)\n })\n})\n\nfunction startServer () {\n server.listen(PORT, function () {\n console.log(`Listening on http://localhost:${PORT}\\n`)\n })\n}\n\nfunction hotReload () {\n const url = process.env.RELOAD_URL || 'http://localhost:8070'\n const auth = /true/i.test(process.env.AUTH_ENABLED)\n const ssl = url.startsWith('https')\n if (auth) {\n const text = fs.readFileSync('./public/token.json', 'utf-8')\n const token = JSON.parse(text)\n axios.defaults.headers.common[\n 'Authorization'\n ] = `bearer ${token.access_token}`\n }\n // setTimeout(() => {\n try {\n if (ssl) {\n const https = require('https')\n const httpsAgent = new https.Agent({\n rejectUnauthorized: false\n })\n axios\n .get(url, { httpsAgent })\n .then(response => console.log(response.data))\n } else {\n axios.get(url).then(response => console.log(response.data))\n }\n } catch (e) {\n console.log(e.message)\n }\n //}, 10000);\n}\n\nstartServer()\n\n// function startHotLoadWorker() {\n// const worker = cluster.fork();\n// const timerId = setTimeout(function (params) {\n// startHotLoadWorker();\n// }, 10000);\n// worker.on(\"message\", msg => {\n// if (msg?.status === \"done\") {\n// clearTimeout(timerId);\n// }\n// });\n//\n\n// if (cluster.isMaster) {\n// cluster.fork();\n// startServer();\n// } else {\n// hotReload();\n// }\n\n// let reloaded = false;\n// let serverRunning = false;\n\n// (async () => {\n// while (!reloaded) {\n// const worker = cluster.fork();\n\n// if (cluster.master) {\n// if (!serverRunning) {\n// startServer();\n// serverRunning = true;\n// }\n// function waitOnHotLoad() {\n// return new Promise(function (resolve) {\n// worker.on(\"message\", msg => {\n// if (msg === \"all good\") {\n// reloading = true;\n// resolve(true);\n// }\n// });\n// });\n// }\n// await waitOnHotLoad();\n\n// await new Promise(r => setTimeout(r, 2000));\n// }\n// }\n// })();\n\n// if (cluster.worker) {\n// hotReload();\n// process.send(\"all good\");\n// }\n","'use strict'\n\nimport { EventDispatcher } from './event-dispatcher'\nimport { uuid } from './domain/utils'\n\nexport const Registry = {\n eventNames: {\n shipOrder: 'orderShipped',\n trackShipment: 'outForDelivery',\n verifyDelivery: 'deliveryVerified'\n },\n\n sendEvent ({ emitEvent, topic, eventData, eventSource, eventName }) {\n console.log('Sending event...')\n console.log({ emitEvent, topic, eventData, eventSource, eventName })\n setTimeout(async () => {\n await emitEvent(\n topic,\n JSON.stringify({\n eventData,\n eventName,\n eventTime: new Date().toISOString(),\n eventType: 'commandResponse',\n eventSource: eventSource\n })\n )\n }, 5000)\n },\n\n generateShippingEventData (event, externalId) {\n const trackingId = uuid()\n const shipmentId = trackingId\n const proofOfDelivery = `http://shipping.service.com?proof=${trackingId}`\n const eventData = { externalId }\n if (event.eventName === 'shipOrder') {\n return { ...eventData, shipmentId }\n }\n if (event.eventName === 'trackShipment') {\n return { ...eventData, trackingId, trackingStatus: 'outForDelivery' }\n }\n if (event.eventName === 'verifyDelivery') {\n return { ...eventData, proofOfDelivery }\n }\n },\n\n generateShippingMessage (emitEvent, event, externalId) {\n return {\n emitEvent,\n topic: event.eventData.commandResp,\n eventData: this.generateShippingEventData(event, externalId),\n eventName: this.eventNames[event.eventName],\n eventSource: 'shippingService'\n }\n },\n\n inventoryCallbackFactory () {\n function inventoryCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const warehouseAddress = /*null;*/ '1234 warehouse dr, dock 2'\n const externalId = event.eventData.commandArgs.externalId\n const eventName = /*'outOfStock';*/ 'orderPicked'\n this.sendEvent({\n emitEvent,\n topic: event.eventData.respChannel,\n eventName,\n eventData: { warehouse_addr: warehouseAddress, externalId },\n eventSource: 'inventoryService'\n })\n }\n return inventoryCallback.bind(this)\n },\n\n shippingCallbackFactory () {\n function shippingCallback ({ message, emitEvent }) {\n const event = JSON.parse(message)\n const externalId = event.eventData.commandArgs.externalId\n const _message = this.generateShippingMessage(\n emitEvent,\n event,\n externalId\n )\n this.sendEvent(_message)\n\n if (event.eventName === 'trackShipment') {\n const eventData = {\n ..._message.eventData,\n trackingStatus: 'orderDelivered'\n }\n setTimeout(\n () =>\n this.sendEvent({\n ..._message,\n eventData,\n eventName: 'orderDelivered'\n }),\n 7000\n )\n }\n }\n return shippingCallback.bind(this)\n }\n}\n\nconst dispatcher = new EventDispatcher()\n\ndispatcher.registerCallback(\n 'inventoryChannel',\n Registry.inventoryCallbackFactory()\n)\n\ndispatcher.registerCallback(\n 'shippingChannel',\n Registry.shippingCallbackFactory()\n)\n\nexport default dispatcher\n","'use strict'\n\nconst uuid = require('../domain/utils').uuid\nconst SmartyStreetsSDK = require('smartystreets-javascript-sdk')\n\nconst SmartyStreetsCore = SmartyStreetsSDK.core\nconst Lookup = SmartyStreetsSDK.usStreet.Lookup\n\n// for Server-to-server requests, use this code:\nconst disabled = process.env.SMARTY_DISABLED || false\nconst authId = process.env.SMARTY_AUTH_ID\nconst authToken = process.env.SMARTY_AUTH_TOKEN\nconst credentials = new SmartyStreetsCore.StaticCredentials(authId, authToken)\n\nconst client = SmartyStreetsCore.buildClient.usStreet(credentials)\n\n/**\n * @typedef {{function(address):Promise}} Address\n */\nexport const Address = {\n // Documentation for input fields can be found at:\n // https://smartystreets.com/docs/us-street-api#input-fields\n\n async validateAddress (address) {\n console.log(`REAL validating address...${address}`)\n\n if (!address) {\n console.log('no address')\n return\n }\n\n if (disabled) {\n console.log('address service disabled')\n return address\n }\n\n try {\n let lookup = new Lookup()\n lookup.inputId = uuid()\n lookup.street = address\n lookup.maxCandidates = 1\n\n let response\n try {\n response = await client.send(lookup)\n } catch (error) {\n throw new Error(error)\n }\n\n const candidate = response.lookups[0].result[0]\n if (!candidate) {\n throw new Error('invalid address')\n }\n\n const validatedAddress = [\n candidate.deliveryLine1,\n candidate.deliveryLine2,\n candidate.lastLine\n ].join(' ')\n\n console.log(`address: ${validatedAddress}`)\n\n if (!validatedAddress) {\n throw new Error('invalid address')\n }\n return validatedAddress\n } catch (error) {\n console.error(error)\n throw new Error('Address service error', error.message)\n }\n }\n}\n","\"use strict\";\n\n// Build EventBus client for host\nimport { listen, notify } from \"../adapters\";\nimport { Event } from \"./event-service\";\n\nconst _notify = notify(Event);\nconst _listen = listen(Event);\nconst model = { listen: _listen };\n\nexport const EventBus = {\n notify(topic, message) {\n return _notify({ model, args: [topic, message] });\n },\n listen(options) {\n return _listen({ model, args: [options] });\n },\n};\n","\"use strict\";\n\nimport { Kafka } from \"kafkajs\";\n\nconst brokers = process.env.KAFKA_BROKERS || \"localhost:9092\";\nconst topics = new RegExp(process.env.KAFKA_TOPICS) || /Channel/;\nconst groupId = (process.env.KAFKA_GROUP_ID || \"MicroLib\") + process.pid;\n\nconst kafka = new Kafka({\n clientId: \"MicroLib\",\n brokers: brokers.split(\",\"),\n});\n\nconst consumer = kafka.consumer({ groupId });\nconst producer = kafka.producer();\n\n/**\n * @typedef {EventService}\n */\nexport const Event = {\n listening: false,\n topics,\n\n /**\n * Implements event consumer service.\n * @param {string|RegExp} topic\n * @param {function({message, topic})} callback\n */\n async listen(topic, callback) {\n try {\n await consumer.connect();\n await consumer.subscribe({ topic, fromBeginning: true });\n this.listening = true;\n await consumer.run({\n eachMessage: async ({ topic, message }) => {\n try {\n callback({\n topic,\n message: message.value.toString(),\n });\n } catch (error) {\n console.error(error);\n }\n },\n });\n } catch (error) {\n console.error(error);\n }\n },\n\n /**\n * Implemements event producer service.\n * @param {string|RegExp} topic\n * @param {string} message\n */\n async notify(topic, message) {\n try {\n await producer.connect();\n await producer.send({\n topic: topic,\n messages: [{ value: message }],\n });\n await producer.disconnect();\n } catch (error) {\n console.error({ func: this.notify.name, error });\n }\n },\n};\n","export * from \"./address-service\";\nexport * from \"./event-service\";\nexport * from \"./inventory-service\";\nexport * from \"./payment-service\";\nexport * from \"./shipping-service\";\nexport * from \"./event-bus\";","'use strict'\n\n// JSON.stringify({\n// eventType: \"Command\",\n// eventTime: new Date().toISOString(),\n// eventSource: \"orderService\",\n// eventData: {\n// replyChannel: \"orderChannel\",\n// commandName: \"pickOrder\",\n// commandArgs: {\n// }\n\n","\"use strict\";\n\n/**\n * @callback authorizePaymentType\n * @param {string} id\n * @param {number} amount\n * @param {string} source_id\n * @param {string} customer_id\n * @param {boolean} [autocomplete]\n * @returns {Promise}\n */\n\n/**\n * @typedef PaymentService\n * @property {authorizePaymentType} authorizePayment\n * @property {function()} completePayment\n * @property {function()} refundPayment\n */\n\n// import { Client, Environment, ApiError } from \"square\";\n\n// const client = new Client({\n// environment: Environment.Sandbox,\n// accessToken: process.env.SQUARE_ACCESS_TOKEN,\n// });\n\nexport const Payment = {\n /**\n * @type {authorizePaymentType}\n * @param {*} id\n * @param {*} amount\n * @param {*} source_id\n * @param {*} customer_id\n * @param {*} autocomplete\n * @param {*} currency\n */\n async authorizePayment(\n id,\n amount,\n source_id,\n customer_id,\n autocomplete = false,\n currency = \"USD\"\n ) {\n const payload = {\n idempotency_key: id,\n amount_money: {\n amount,\n currency,\n },\n source_id,\n autocomplete,\n customer_id,\n location_id: \"XK3DBG77NJBFX\",\n reference_id: \"123456\",\n note: \"Brief description\",\n app_fee_money: {\n amount: 10,\n currency: \"USD\",\n },\n };\n /*\n const bodyAmountMoney = {};\n bodyAmountMoney.amount = 200;\n bodyAmountMoney.currency = \"USD\";\n\n const bodyTipMoney = {};\n bodyTipMoney.amount = 198;\n bodyTipMoney.currency = \"CHF\";\n\n const bodyAppFeeMoney = {};\n bodyAppFeeMoney.amount = 10;\n bodyAppFeeMoney.currency = \"USD\";\n\n const body = {\n sourceId: \"ccof:uIbfJXhXETSP197M3GB\",\n idempotencyKey: \"4935a656-a929-4792-b97c-8848be85c27c\",\n amountMoney: bodyAmountMoney,\n };\n\n body.tipMoney = bodyTipMoney;\n body.appFeeMoney = bodyAppFeeMoney;\n body.delayDuration = \"delay_duration6\";\n body.autocomplete = true;\n body.orderId = \"order_id0\";\n body.customerId = \"VDKXEEKPJN48QDG3BGGFAK05P8\";\n body.locationId = \"XK3DBG77NJBFX\";\n body.referenceId = \"123456\";\n body.note = \"Brief description\";\n\n // try {\n // const {\n // result,\n // ...httpResponse\n // } = await client.paymentsApi.createPayment(body);\n // // Get more response info...\n // // const { statusCode, headers } = httpResponse;\n // } catch (error) {\n // if (error instanceof ApiError) {\n // const errors = error.result;\n // // const { statusCode, headers } = error;\n // }\n // }\n */\n return \"1234\";\n },\n\n /*\n const response ={\n \"payment\": {\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"status\": \"COMPLETED\",\n \"source_type\": \"CARD\",\n \"card_details\": {\n \"status\": \"CAPTURED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"card_type\": \"DEBIT\",\n \"prepaid_type\": \"PREPAID\",\n \"bin\": \"411111\"\n },\n \"entry_method\": \"ON_FILE\",\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"auth_result_code\": \"nsAyY2\",\n \"statement_description\": \"SQ *MY MERCHANT\"\n },\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"note\": \"Brief description\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\"\n }\n}\n /*\n{\n \"errors\": [\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"source_id\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"VALUE_EMPTY\",\n \"detail\": \"Field must not be blank\",\n \"field\": \"idempotency_key\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n },\n {\n \"code\": \"MISSING_REQUIRED_PARAMETER\",\n \"detail\": \"Field must be set\",\n \"field\": \"amount_money\",\n \"category\": \"INVALID_REQUEST_ERROR\"\n }\n ]\n}\n */\n\n async completePayment(model) {\n console.log(\"REAL completing payment: %s\", model.orderNo);\n return \"1234\";\n },\n\n async refundPayment(model) {\n console.log(\"REAL refunding payment: %s\", model.orderNo);\n },\n};\n","\"use strict\";\n\n/**\n * @typedef {import('../adapters/event-adapter').EventMessage} EventMessage\n */\n\n/**\n * @typedef {import('../adapters/event-adapter').CommandEvent} CommandEvent\n */\n\n/**\n * @callback shipOrder\n * @param {string} shipTo\n * @param {string} shipFrom\n * @param {string} lineItems\n * @param {string} signature\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @callback trackShipment\n * @param {string} shipmentId\n * @param {string} externalId\n * @param {string} requester\n * @param {string} respondOn\n * @returns {EventMessage}\n */\n\n/**\n * @typedef {string} functionName\n */\n\n/**\n * @typedef {Object} shippingService formats and parses shipping event messages\n * @property {string} serviceName - programmatic service name in eventSource/Target\n * @property {string} topic - event topic \"shippingChannel\" when sending messasges\n * @property {shipOrder} shipOrder - format event message requesting shipping label and pickup of order\n * @property {trackShipment} trackShipment - report on location/status of parcel\n * @property {function():EventMessage} verifyDelivery - ensure customer recieved parcel\n * @property {function():EventMessage} returnShipment - return to sender if refunding\n * @property {function(functionName,EventMessage):{[key]:string}} getPayload - extract payload\n */\n\nfunction createEventMessage({ requester, service, type, name, id, data }) {\n return {\n eventSource: requester,\n eventTarget: service,\n eventType: type,\n eventName: name,\n eventTime: new Date().getTime(),\n eventUuid: id,\n eventData: data,\n };\n}\n\nfunction createCommandEvent(name, topic, args) {\n return {\n commandName: name,\n commandResp: topic,\n commandArgs: { ...args },\n };\n}\n\n/**\n * Shipping service events\n * @type {shippingService}\n */\nexport const Shipping = {\n serviceName: \"shippingService\",\n topic: \"shippingChannel\",\n\n /**\n *\n * @param {*} param0\n * @returns {shipMessage}\n */\n shipOrder({\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n requester,\n respondOn,\n }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.shipOrder.name,\n id: externalId,\n data: createCommandEvent(this.shipOrder.name, respondOn, {\n shipTo,\n shipFrom,\n lineItems,\n signature,\n externalId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n trackShipment({ externalId, shipmentId, trackingId, requester, respondOn }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.trackShipment.name,\n id: externalId,\n data: createCommandEvent(this.trackShipment.name, respondOn, {\n externalId,\n shipmentId,\n trackingId,\n }),\n });\n },\n\n /**\n *\n * @param {*} param0\n * @returns {EventMessage}\n */\n verifyDelivery({ requester, respondOn, trackingId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n name: this.verifyDelivery.name,\n id: externalId,\n data: createCommandEvent(this.verifyDelivery.name, respondOn, {\n externalId,\n trackingId,\n }),\n });\n },\n\n returnShipment({ requester, respondOn, shipmentId, externalId }) {\n return createEventMessage({\n requester,\n service: this.serviceName,\n type: \"command\",\n id: externalId,\n name: this.returnShipment.name,\n data: createCommandEvent(this.returnShipment, respondOn, {\n shipmentId,\n externalId,\n }),\n });\n },\n\n getPayload(func, event) {\n const payloads = {\n [this.shipOrder.name]: {\n shipmentId: event.eventData.shipmentId,\n },\n [this.trackShipment.name]: {\n trackingId: event.eventData.trackingId,\n trackingStatus: event.eventData.trackingStatus,\n },\n [this.verifyDelivery.name]: {\n proofOfDelivery: event.eventData.proofOfDelivery,\n },\n };\n return payloads[func];\n },\n\n getProperty(event, key) {\n return event.eventData[key];\n },\n};\n","'use strict';\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nconst mask = (source, mask, output, offset, length) => {\n for (var i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n};\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nconst unmask = (buffer, mask) => {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (var i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n};\n\nmodule.exports = { mask, unmask };\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","/**\n * Module dependencies.\n */\n\nvar crypto = require('crypto');\n\n/**\n * Sign the given `val` with `secret`.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String}\n * @api private\n */\n\nexports.sign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Cookie value must be provided as a string.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n return val + '.' + crypto\n .createHmac('sha256', secret)\n .update(val)\n .digest('base64')\n .replace(/\\=+$/, '');\n};\n\n/**\n * Unsign and decode the given `val` with `secret`,\n * returning `false` if the signature is invalid.\n *\n * @param {String} val\n * @param {String} secret\n * @return {String|Boolean}\n * @api private\n */\n\nexports.unsign = function(val, secret){\n if ('string' != typeof val) throw new TypeError(\"Signed cookie string must be provided.\");\n if ('string' != typeof secret) throw new TypeError(\"Secret string must be provided.\");\n var str = val.slice(0, val.lastIndexOf('.'))\n , mac = exports.sign(str, secret);\n \n return sha1(mac) == sha1(val) ? str : false;\n};\n\n/**\n * Private\n */\n\nfunction sha1(str){\n return crypto.createHash('sha1').update(str).digest('hex');\n}\n","/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module exports.\n * @public\n */\n\nexports.parse = parse;\nexports.serialize = serialize;\n\n/**\n * Module variables.\n * @private\n */\n\nvar decode = decodeURIComponent;\nvar encode = encodeURIComponent;\n\n/**\n * RegExp to match field-content in RFC 7230 sec 3.2\n *\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n * obs-text = %x80-FF\n */\n\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\n\n/**\n * Parse a cookie header.\n *\n * Parse the given cookie header string into an object\n * The object has the various cookies as keys(names) => values\n *\n * @param {string} str\n * @param {object} [options]\n * @return {object}\n * @public\n */\n\nfunction parse(str, options) {\n if (typeof str !== 'string') {\n throw new TypeError('argument str must be a string');\n }\n\n var obj = {}\n var opt = options || {};\n var pairs = str.split(';')\n var dec = opt.decode || decode;\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n var index = pair.indexOf('=')\n\n // skip things that don't look like key=value\n if (index < 0) {\n continue;\n }\n\n var key = pair.substring(0, index).trim()\n\n // only assign once\n if (undefined == obj[key]) {\n var val = pair.substring(index + 1, pair.length).trim()\n\n // quoted values\n if (val[0] === '\"') {\n val = val.slice(1, -1)\n }\n\n obj[key] = tryDecode(val, dec);\n }\n }\n\n return obj;\n}\n\n/**\n * Serialize data into a cookie header.\n *\n * Serialize the a name value pair into a cookie string suitable for\n * http headers. An optional options object specified cookie parameters.\n *\n * serialize('foo', 'bar', { httpOnly: true })\n * => \"foo=bar; httpOnly\"\n *\n * @param {string} name\n * @param {string} val\n * @param {object} [options]\n * @return {string}\n * @public\n */\n\nfunction serialize(name, val, options) {\n var opt = options || {};\n var enc = opt.encode || encode;\n\n if (typeof enc !== 'function') {\n throw new TypeError('option encode is invalid');\n }\n\n if (!fieldContentRegExp.test(name)) {\n throw new TypeError('argument name is invalid');\n }\n\n var value = enc(val);\n\n if (value && !fieldContentRegExp.test(value)) {\n throw new TypeError('argument val is invalid');\n }\n\n var str = name + '=' + value;\n\n if (null != opt.maxAge) {\n var maxAge = opt.maxAge - 0;\n\n if (isNaN(maxAge) || !isFinite(maxAge)) {\n throw new TypeError('option maxAge is invalid')\n }\n\n str += '; Max-Age=' + Math.floor(maxAge);\n }\n\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n\n str += '; Domain=' + opt.domain;\n }\n\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n\n str += '; Path=' + opt.path;\n }\n\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n\n str += '; Expires=' + opt.expires.toUTCString();\n }\n\n if (opt.httpOnly) {\n str += '; HttpOnly';\n }\n\n if (opt.secure) {\n str += '; Secure';\n }\n\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string'\n ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n\n return str;\n}\n\n/**\n * Try decoding a string using a decoding function.\n *\n * @param {string} str\n * @param {function} decode\n * @private\n */\n\nfunction tryDecode(str, decode) {\n try {\n return decode(str);\n } catch (e) {\n return str;\n }\n}\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.exec');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n","require('../../modules/es7.array.flat-map');\nmodule.exports = require('../../modules/_core').Array.flatMap;\n","require('../../modules/es7.array.includes');\nmodule.exports = require('../../modules/_core').Array.includes;\n","require('../../modules/es7.object.entries');\nmodule.exports = require('../../modules/_core').Object.entries;\n","require('../../modules/es7.object.get-own-property-descriptors');\nmodule.exports = require('../../modules/_core').Object.getOwnPropertyDescriptors;\n","require('../../modules/es7.object.values');\nmodule.exports = require('../../modules/_core').Object.values;\n","'use strict';\nrequire('../../modules/es6.promise');\nrequire('../../modules/es7.promise.finally');\nmodule.exports = require('../../modules/_core').Promise['finally'];\n","require('../../modules/es7.string.pad-end');\nmodule.exports = require('../../modules/_core').String.padEnd;\n","require('../../modules/es7.string.pad-start');\nmodule.exports = require('../../modules/_core').String.padStart;\n","require('../../modules/es7.string.trim-right');\nmodule.exports = require('../../modules/_core').String.trimRight;\n","require('../../modules/es7.string.trim-left');\nmodule.exports = require('../../modules/_core').String.trimLeft;\n","require('../../modules/es7.symbol.async-iterator');\nmodule.exports = require('../../modules/_wks-ext').f('asyncIterator');\n","require('../modules/es7.global');\nmodule.exports = require('../modules/_core').global;\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// https://github.com/tc39/proposal-global\nvar $export = require('./_export');\n\n$export($export.G, { global: require('./_global') });\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = require('./_is-array');\nvar isObject = require('./_is-object');\nvar toLength = require('./_to-length');\nvar ctx = require('./_ctx');\nvar IS_CONCAT_SPREADABLE = require('./_wks')('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toInteger(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length!');\n return length;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nif (require('./_descriptors')) {\n var LIBRARY = require('./_library');\n var global = require('./_global');\n var fails = require('./_fails');\n var $export = require('./_export');\n var $typed = require('./_typed');\n var $buffer = require('./_typed-buffer');\n var ctx = require('./_ctx');\n var anInstance = require('./_an-instance');\n var propertyDesc = require('./_property-desc');\n var hide = require('./_hide');\n var redefineAll = require('./_redefine-all');\n var toInteger = require('./_to-integer');\n var toLength = require('./_to-length');\n var toIndex = require('./_to-index');\n var toAbsoluteIndex = require('./_to-absolute-index');\n var toPrimitive = require('./_to-primitive');\n var has = require('./_has');\n var classof = require('./_classof');\n var isObject = require('./_is-object');\n var toObject = require('./_to-object');\n var isArrayIter = require('./_is-array-iter');\n var create = require('./_object-create');\n var getPrototypeOf = require('./_object-gpo');\n var gOPN = require('./_object-gopn').f;\n var getIterFn = require('./core.get-iterator-method');\n var uid = require('./_uid');\n var wks = require('./_wks');\n var createArrayMethod = require('./_array-methods');\n var createArrayIncludes = require('./_array-includes');\n var speciesConstructor = require('./_species-constructor');\n var ArrayIterators = require('./es6.array.iterator');\n var Iterators = require('./_iterators');\n var $iterDetect = require('./_iter-detect');\n var setSpecies = require('./_set-species');\n var arrayFill = require('./_array-fill');\n var arrayCopyWithin = require('./_array-copy-within');\n var $DP = require('./_object-dp');\n var $GOPD = require('./_object-gopd');\n var dP = $DP.f;\n var gOPD = $GOPD.f;\n var RangeError = global.RangeError;\n var TypeError = global.TypeError;\n var Uint8Array = global.Uint8Array;\n var ARRAY_BUFFER = 'ArrayBuffer';\n var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n var PROTOTYPE = 'prototype';\n var ArrayProto = Array[PROTOTYPE];\n var $ArrayBuffer = $buffer.ArrayBuffer;\n var $DataView = $buffer.DataView;\n var arrayForEach = createArrayMethod(0);\n var arrayFilter = createArrayMethod(2);\n var arraySome = createArrayMethod(3);\n var arrayEvery = createArrayMethod(4);\n var arrayFind = createArrayMethod(5);\n var arrayFindIndex = createArrayMethod(6);\n var arrayIncludes = createArrayIncludes(true);\n var arrayIndexOf = createArrayIncludes(false);\n var arrayValues = ArrayIterators.values;\n var arrayKeys = ArrayIterators.keys;\n var arrayEntries = ArrayIterators.entries;\n var arrayLastIndexOf = ArrayProto.lastIndexOf;\n var arrayReduce = ArrayProto.reduce;\n var arrayReduceRight = ArrayProto.reduceRight;\n var arrayJoin = ArrayProto.join;\n var arraySort = ArrayProto.sort;\n var arraySlice = ArrayProto.slice;\n var arrayToString = ArrayProto.toString;\n var arrayToLocaleString = ArrayProto.toLocaleString;\n var ITERATOR = wks('iterator');\n var TAG = wks('toStringTag');\n var TYPED_CONSTRUCTOR = uid('typed_constructor');\n var DEF_CONSTRUCTOR = uid('def_constructor');\n var ALL_CONSTRUCTORS = $typed.CONSTR;\n var TYPED_ARRAY = $typed.TYPED;\n var VIEW = $typed.VIEW;\n var WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function (O, length) {\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function () {\n // eslint-disable-next-line no-undef\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n new Uint8Array(1).set({});\n });\n\n var toOffset = function (it, BYTES) {\n var offset = toInteger(it);\n if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function (it) {\n if (isObject(it) && TYPED_ARRAY in it) return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function (C, length) {\n if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function (O, list) {\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function (C, list) {\n var index = 0;\n var length = list.length;\n var result = allocate(C, length);\n while (length > index) result[index] = list[index++];\n return result;\n };\n\n var addGetter = function (it, key, internal) {\n dP(it, key, { get: function () { return this._d[internal]; } });\n };\n\n var $from = function from(source /* , mapfn, thisArg */) {\n var O = toObject(source);\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iterFn = getIterFn(O);\n var i, length, values, result, step, iterator;\n if (iterFn != undefined && !isArrayIter(iterFn)) {\n for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n values.push(step.value);\n } O = values;\n }\n if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = allocate(this, length);\n while (length > index) result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /* , end */) {\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /* , thisArg */) {\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /* , thisArg */) {\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /* , thisArg */) {\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /* , thisArg */) {\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /* , thisArg */) {\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /* , fromIndex */) {\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /* , fromIndex */) {\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator) { // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /* , thisArg */) {\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse() {\n var that = this;\n var length = validate(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /* , thisArg */) {\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn) {\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end) {\n var O = validate(this);\n var length = O.length;\n var $begin = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end) {\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /* , offset */) {\n validate(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError(WRONG_LENGTH);\n while (index < len) this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries() {\n return arrayEntries.call(validate(this));\n },\n keys: function keys() {\n return arrayKeys.call(validate(this));\n },\n values: function values() {\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function (target, key) {\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key) {\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc) {\n if (isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ) {\n target[key] = desc.value;\n return target;\n } return dP(target, key, desc);\n };\n\n if (!ALL_CONSTRUCTORS) {\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if (fails(function () { arrayToString.call({}); })) {\n arrayToString = arrayToLocaleString = function toString() {\n return arrayJoin.call(this);\n };\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function () { /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function () { return this[TYPED_ARRAY]; }\n });\n\n // eslint-disable-next-line max-statements\n module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + KEY;\n var SETTER = 'set' + KEY;\n var TypedArray = global[NAME];\n var Base = TypedArray || {};\n var TAC = TypedArray && getPrototypeOf(TypedArray);\n var FORCED = !TypedArray || !$typed.ABV;\n var O = {};\n var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function (that, index) {\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function (that, index, value) {\n var data = that._d;\n if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function (that, index) {\n dP(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (FORCED) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0;\n var offset = 0;\n var buffer, byteLength, length, klass;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (TYPED_ARRAY in data) {\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if (!fails(function () {\n TypedArray(1);\n }) || !fails(function () {\n new TypedArray(-1); // eslint-disable-line no-new\n }) || !$iterDetect(function (iter) {\n new TypedArray(); // eslint-disable-line no-new\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(1.5); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)) {\n TypedArray = wrapper(function (that, data, $offset, $length) {\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if (!isObject(data)) return new Base(toIndex(data));\n if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR];\n var CORRECT_ITER_NAME = !!$nativeIterator\n && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n var $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n dP(TypedArrayPrototype, TAG, {\n get: function () { return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES\n });\n\n $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n from: $from,\n of: $of\n });\n\n if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n $export($export.P + $export.F * fails(function () {\n new TypedArray(1).slice();\n }), NAME, { slice: $slice });\n\n $export($export.P + $export.F * (fails(function () {\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n }) || !fails(function () {\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, { toLocaleString: $toLocaleString });\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function () { /* empty */ };\n","'use strict';\nvar global = require('./_global');\nvar DESCRIPTORS = require('./_descriptors');\nvar LIBRARY = require('./_library');\nvar $typed = require('./_typed');\nvar hide = require('./_hide');\nvar redefineAll = require('./_redefine-all');\nvar fails = require('./_fails');\nvar anInstance = require('./_an-instance');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar toIndex = require('./_to-index');\nvar gOPN = require('./_object-gopn').f;\nvar dP = require('./_object-dp').f;\nvar arrayFill = require('./_array-fill');\nvar setToStringTag = require('./_set-to-string-tag');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n var buffer = new Array(nBytes);\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var i = 0;\n var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n var e, m, c;\n value = abs(value);\n // eslint-disable-next-line no-self-compare\n if (value != value || value === Infinity) {\n // eslint-disable-next-line no-self-compare\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if (value * (c = pow(2, -e)) < 1) {\n e--;\n c *= 2;\n }\n if (e + eBias >= 1) {\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if (value * c >= 2) {\n e++;\n c /= 2;\n }\n if (e + eBias >= eMax) {\n m = 0;\n e = eMax;\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n var eLen = nBytes * 8 - mLen - 1;\n var eMax = (1 << eLen) - 1;\n var eBias = eMax >> 1;\n var nBits = eLen - 7;\n var i = nBytes - 1;\n var s = buffer[i--];\n var e = s & 127;\n var m;\n s >>= 7;\n for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if (e === 0) {\n e = 1 - eBias;\n } else if (e === eMax) {\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n return [it & 0xff];\n}\nfunction packI16(it) {\n return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n var numIndex = +index;\n var intIndex = toIndex(numIndex);\n if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b;\n var start = intIndex + view[$OFFSET];\n var pack = conversion(+value);\n for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n var byteLength = toIndex(length);\n this._b = arrayFill.call(new Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH];\n var offset = toInteger(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if (!fails(function () {\n $ArrayBuffer(1);\n }) || !fails(function () {\n new $ArrayBuffer(-1); // eslint-disable-line no-new\n }) || fails(function () {\n new $ArrayBuffer(); // eslint-disable-line no-new\n new $ArrayBuffer(1.5); // eslint-disable-line no-new\n new $ArrayBuffer(NaN); // eslint-disable-line no-new\n return $ArrayBuffer.name != ARRAY_BUFFER;\n })) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, $ArrayBuffer);\n return new BaseBuffer(toIndex(length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n }\n if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar uid = require('./_uid');\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n if (Typed = global[TypedArrayConstructors[i++]]) {\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","require('./_set-species')('Array');\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar $typed = require('./_typed');\nvar buffer = require('./_typed-buffer');\nvar anObject = require('./_an-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar isObject = require('./_is-object');\nvar ArrayBuffer = require('./_global').ArrayBuffer;\nvar speciesConstructor = require('./_species-constructor');\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it) {\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function () {\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end) {\n if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, len);\n var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n var viewS = new $DataView(this);\n var viewT = new $DataView(result);\n var index = 0;\n while (first < fin) {\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n","require('./_typed-array')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","require('./_typed-array')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar weak = require('./_collection-weak');\nvar validate = require('./_validate-collection');\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\nrequire('./_collection')(WEAK_SET, function (get) {\n return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return weak.def(validate(this, WEAK_SET), value, true);\n }\n}, weak, false, true);\n","'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = require('./_export');\nvar flattenIntoArray = require('./_flatten-into-array');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar aFunction = require('./_a-function');\nvar arraySpeciesCreate = require('./_array-species-create');\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\nrequire('./_add-to-unscopables')('flatMap');\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimLeft', function ($trim) {\n return function trimLeft() {\n return $trim(this, 1);\n };\n}, 'trimStart');\n","'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\nrequire('./_string-trim')('trimRight', function ($trim) {\n return function trimRight() {\n return $trim(this, 2);\n };\n}, 'trimEnd');\n","require('./_wks-define')('asyncIterator');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var $export = require('./_export');\nvar $task = require('./_task');\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n","// ie9- setTimeout & setInterval additional parameters fix\nvar global = require('./_global');\nvar $export = require('./_export');\nvar userAgent = require('./_user-agent');\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n return function (fn, time /* , ...args */) {\n var boundArgs = arguments.length > 2;\n var args = boundArgs ? slice.call(arguments, 2) : false;\n return set(boundArgs ? function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n } : fn, time);\n };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n","require('../modules/web.timers');\nrequire('../modules/web.immediate');\nrequire('../modules/web.dom.iterable');\nmodule.exports = require('../modules/_core');\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","/*!\n * depd\n * Copyright(c) 2014-2018 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\n\nvar relative = require('path').relative\n\n/**\n * Module exports.\n */\n\nmodule.exports = depd\n\n/**\n * Get the path to base files on.\n */\n\nvar basePath = process.cwd()\n\n/**\n * Determine if namespace is contained in the string.\n */\n\nfunction containsNamespace (str, namespace) {\n var vals = str.split(/[ ,]+/)\n var ns = String(namespace).toLowerCase()\n\n for (var i = 0; i < vals.length; i++) {\n var val = vals[i]\n\n // namespace contained\n if (val && (val === '*' || val.toLowerCase() === ns)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Convert a data descriptor to accessor descriptor.\n */\n\nfunction convertDataDescriptorToAccessor (obj, prop, message) {\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n var value = descriptor.value\n\n descriptor.get = function getter () { return value }\n\n if (descriptor.writable) {\n descriptor.set = function setter (val) { return (value = val) }\n }\n\n delete descriptor.value\n delete descriptor.writable\n\n Object.defineProperty(obj, prop, descriptor)\n\n return descriptor\n}\n\n/**\n * Create arguments string to keep arity.\n */\n\nfunction createArgumentsString (arity) {\n var str = ''\n\n for (var i = 0; i < arity; i++) {\n str += ', arg' + i\n }\n\n return str.substr(2)\n}\n\n/**\n * Create stack string from stack.\n */\n\nfunction createStackString (stack) {\n var str = this.name + ': ' + this.namespace\n\n if (this.message) {\n str += ' deprecated ' + this.message\n }\n\n for (var i = 0; i < stack.length; i++) {\n str += '\\n at ' + stack[i].toString()\n }\n\n return str\n}\n\n/**\n * Create deprecate for namespace in caller.\n */\n\nfunction depd (namespace) {\n if (!namespace) {\n throw new TypeError('argument namespace is required')\n }\n\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n var file = site[0]\n\n function deprecate (message) {\n // call to self as log\n log.call(deprecate, message)\n }\n\n deprecate._file = file\n deprecate._ignored = isignored(namespace)\n deprecate._namespace = namespace\n deprecate._traced = istraced(namespace)\n deprecate._warned = Object.create(null)\n\n deprecate.function = wrapfunction\n deprecate.property = wrapproperty\n\n return deprecate\n}\n\n/**\n * Determine if event emitter has listeners of a given type.\n *\n * The way to do this check is done three different ways in Node.js >= 0.8\n * so this consolidates them into a minimal set using instance methods.\n *\n * @param {EventEmitter} emitter\n * @param {string} type\n * @returns {boolean}\n * @private\n */\n\nfunction eehaslisteners (emitter, type) {\n var count = typeof emitter.listenerCount !== 'function'\n ? emitter.listeners(type).length\n : emitter.listenerCount(type)\n\n return count > 0\n}\n\n/**\n * Determine if namespace is ignored.\n */\n\nfunction isignored (namespace) {\n if (process.noDeprecation) {\n // --no-deprecation support\n return true\n }\n\n var str = process.env.NO_DEPRECATION || ''\n\n // namespace ignored\n return containsNamespace(str, namespace)\n}\n\n/**\n * Determine if namespace is traced.\n */\n\nfunction istraced (namespace) {\n if (process.traceDeprecation) {\n // --trace-deprecation support\n return true\n }\n\n var str = process.env.TRACE_DEPRECATION || ''\n\n // namespace traced\n return containsNamespace(str, namespace)\n}\n\n/**\n * Display deprecation message.\n */\n\nfunction log (message, site) {\n var haslisteners = eehaslisteners(process, 'deprecation')\n\n // abort early if no destination\n if (!haslisteners && this._ignored) {\n return\n }\n\n var caller\n var callFile\n var callSite\n var depSite\n var i = 0\n var seen = false\n var stack = getStack()\n var file = this._file\n\n if (site) {\n // provided site\n depSite = site\n callSite = callSiteLocation(stack[1])\n callSite.name = depSite.name\n file = callSite[0]\n } else {\n // get call site\n i = 2\n depSite = callSiteLocation(stack[i])\n callSite = depSite\n }\n\n // get caller of deprecated thing in relation to file\n for (; i < stack.length; i++) {\n caller = callSiteLocation(stack[i])\n callFile = caller[0]\n\n if (callFile === file) {\n seen = true\n } else if (callFile === this._file) {\n file = this._file\n } else if (seen) {\n break\n }\n }\n\n var key = caller\n ? depSite.join(':') + '__' + caller.join(':')\n : undefined\n\n if (key !== undefined && key in this._warned) {\n // already warned\n return\n }\n\n this._warned[key] = true\n\n // generate automatic message from call site\n var msg = message\n if (!msg) {\n msg = callSite === depSite || !callSite.name\n ? defaultMessage(depSite)\n : defaultMessage(callSite)\n }\n\n // emit deprecation if listeners exist\n if (haslisteners) {\n var err = DeprecationError(this._namespace, msg, stack.slice(i))\n process.emit('deprecation', err)\n return\n }\n\n // format and write message\n var format = process.stderr.isTTY\n ? formatColor\n : formatPlain\n var output = format.call(this, msg, caller, stack.slice(i))\n process.stderr.write(output + '\\n', 'utf8')\n}\n\n/**\n * Get call site location as array.\n */\n\nfunction callSiteLocation (callSite) {\n var file = callSite.getFileName() || ''\n var line = callSite.getLineNumber()\n var colm = callSite.getColumnNumber()\n\n if (callSite.isEval()) {\n file = callSite.getEvalOrigin() + ', ' + file\n }\n\n var site = [file, line, colm]\n\n site.callSite = callSite\n site.name = callSite.getFunctionName()\n\n return site\n}\n\n/**\n * Generate a default message from the site.\n */\n\nfunction defaultMessage (site) {\n var callSite = site.callSite\n var funcName = site.name\n\n // make useful anonymous name\n if (!funcName) {\n funcName = ''\n }\n\n var context = callSite.getThis()\n var typeName = context && callSite.getTypeName()\n\n // ignore useless type name\n if (typeName === 'Object') {\n typeName = undefined\n }\n\n // make useful type name\n if (typeName === 'Function') {\n typeName = context.name || typeName\n }\n\n return typeName && callSite.getMethodName()\n ? typeName + '.' + funcName\n : funcName\n}\n\n/**\n * Format deprecation message without color.\n */\n\nfunction formatPlain (msg, caller, stack) {\n var timestamp = new Date().toUTCString()\n\n var formatted = timestamp +\n ' ' + this._namespace +\n ' deprecated ' + msg\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n at ' + stack[i].toString()\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' at ' + formatLocation(caller)\n }\n\n return formatted\n}\n\n/**\n * Format deprecation message with color.\n */\n\nfunction formatColor (msg, caller, stack) {\n var formatted = '\\x1b[36;1m' + this._namespace + '\\x1b[22;39m' + // bold cyan\n ' \\x1b[33;1mdeprecated\\x1b[22;39m' + // bold yellow\n ' \\x1b[0m' + msg + '\\x1b[39m' // reset\n\n // add stack trace\n if (this._traced) {\n for (var i = 0; i < stack.length; i++) {\n formatted += '\\n \\x1b[36mat ' + stack[i].toString() + '\\x1b[39m' // cyan\n }\n\n return formatted\n }\n\n if (caller) {\n formatted += ' \\x1b[36m' + formatLocation(caller) + '\\x1b[39m' // cyan\n }\n\n return formatted\n}\n\n/**\n * Format call site location.\n */\n\nfunction formatLocation (callSite) {\n return relative(basePath, callSite[0]) +\n ':' + callSite[1] +\n ':' + callSite[2]\n}\n\n/**\n * Get the stack as array of call sites.\n */\n\nfunction getStack () {\n var limit = Error.stackTraceLimit\n var obj = {}\n var prep = Error.prepareStackTrace\n\n Error.prepareStackTrace = prepareObjectStackTrace\n Error.stackTraceLimit = Math.max(10, limit)\n\n // capture the stack\n Error.captureStackTrace(obj)\n\n // slice this function off the top\n var stack = obj.stack.slice(1)\n\n Error.prepareStackTrace = prep\n Error.stackTraceLimit = limit\n\n return stack\n}\n\n/**\n * Capture call site stack from v8.\n */\n\nfunction prepareObjectStackTrace (obj, stack) {\n return stack\n}\n\n/**\n * Return a wrapped function in a deprecation message.\n */\n\nfunction wrapfunction (fn, message) {\n if (typeof fn !== 'function') {\n throw new TypeError('argument fn must be a function')\n }\n\n var args = createArgumentsString(fn.length)\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n site.name = fn.name\n\n // eslint-disable-next-line no-new-func\n var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site',\n '\"use strict\"\\n' +\n 'return function (' + args + ') {' +\n 'log.call(deprecate, message, site)\\n' +\n 'return fn.apply(this, arguments)\\n' +\n '}')(fn, log, this, message, site)\n\n return deprecatedfn\n}\n\n/**\n * Wrap property in a deprecation message.\n */\n\nfunction wrapproperty (obj, prop, message) {\n if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n throw new TypeError('argument obj must be object')\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(obj, prop)\n\n if (!descriptor) {\n throw new TypeError('must call property on owner object')\n }\n\n if (!descriptor.configurable) {\n throw new TypeError('property must be configurable')\n }\n\n var deprecate = this\n var stack = getStack()\n var site = callSiteLocation(stack[1])\n\n // set site name\n site.name = prop\n\n // convert data descriptor\n if ('value' in descriptor) {\n descriptor = convertDataDescriptorToAccessor(obj, prop, message)\n }\n\n var get = descriptor.get\n var set = descriptor.set\n\n // wrap getter\n if (typeof get === 'function') {\n descriptor.get = function getter () {\n log.call(deprecate, message, site)\n return get.apply(this, arguments)\n }\n }\n\n // wrap setter\n if (typeof set === 'function') {\n descriptor.set = function setter () {\n log.call(deprecate, message, site)\n return set.apply(this, arguments)\n }\n }\n\n Object.defineProperty(obj, prop, descriptor)\n}\n\n/**\n * Create DeprecationError for deprecation\n */\n\nfunction DeprecationError (namespace, message, stack) {\n var error = new Error()\n var stackString\n\n Object.defineProperty(error, 'constructor', {\n value: DeprecationError\n })\n\n Object.defineProperty(error, 'message', {\n configurable: true,\n enumerable: false,\n value: message,\n writable: true\n })\n\n Object.defineProperty(error, 'name', {\n enumerable: false,\n configurable: true,\n value: 'DeprecationError',\n writable: true\n })\n\n Object.defineProperty(error, 'namespace', {\n configurable: true,\n enumerable: false,\n value: namespace,\n writable: true\n })\n\n Object.defineProperty(error, 'stack', {\n configurable: true,\n enumerable: false,\n get: function () {\n if (stackString !== undefined) {\n return stackString\n }\n\n // prepare stack trace\n return (stackString = createStackString.call(this, stack))\n },\n set: function setter (val) {\n stackString = val\n }\n })\n\n return error\n}\n","'use strict'\n\nexports.toString = function (klass) {\n switch (klass) {\n case 1: return 'IN'\n case 2: return 'CS'\n case 3: return 'CH'\n case 4: return 'HS'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + klass\n}\n\nexports.toClass = function (name) {\n switch (name.toUpperCase()) {\n case 'IN': return 1\n case 'CS': return 2\n case 'CH': return 3\n case 'HS': return 4\n case 'ANY': return 255\n }\n return 0\n}\n","'use strict'\n\nconst Buffer = require('buffer').Buffer\nconst types = require('./types')\nconst rcodes = require('./rcodes')\nconst opcodes = require('./opcodes')\nconst classes = require('./classes')\nconst optioncodes = require('./optioncodes')\nconst ip = require('@leichtgewicht/ip-codec')\n\nconst QUERY_FLAG = 0\nconst RESPONSE_FLAG = 1 << 15\nconst FLUSH_MASK = 1 << 15\nconst NOT_FLUSH_MASK = ~FLUSH_MASK\nconst QU_MASK = 1 << 15\nconst NOT_QU_MASK = ~QU_MASK\n\nconst name = exports.name = {}\n\nname.encode = function (str, buf, offset) {\n if (!buf) buf = Buffer.alloc(name.encodingLength(str))\n if (!offset) offset = 0\n const oldOffset = offset\n\n // strip leading and trailing .\n const n = str.replace(/^\\.|\\.$/gm, '')\n if (n.length) {\n const list = n.split('.')\n\n for (let i = 0; i < list.length; i++) {\n const len = buf.write(list[i], offset + 1)\n buf[offset] = len\n offset += len + 1\n }\n }\n\n buf[offset++] = 0\n\n name.encode.bytes = offset - oldOffset\n return buf\n}\n\nname.encode.bytes = 0\n\nname.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const list = []\n let oldOffset = offset\n let totalLength = 0\n let consumedBytes = 0\n let jumped = false\n\n while (true) {\n if (offset >= buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const len = buf[offset++]\n consumedBytes += jumped ? 0 : 1\n\n if (len === 0) {\n break\n } else if ((len & 0xc0) === 0) {\n if (offset + len > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n totalLength += len + 1\n if (totalLength > 254) {\n throw new Error('Cannot decode name (name too long)')\n }\n list.push(buf.toString('utf-8', offset, offset + len))\n offset += len\n consumedBytes += jumped ? 0 : len\n } else if ((len & 0xc0) === 0xc0) {\n if (offset + 1 > buf.length) {\n throw new Error('Cannot decode name (buffer overflow)')\n }\n const jumpOffset = buf.readUInt16BE(offset - 1) - 0xc000\n if (jumpOffset >= oldOffset) {\n // Allow only pointers to prior data. RFC 1035, section 4.1.4 states:\n // \"[...] an entire domain name or a list of labels at the end of a domain name\n // is replaced with a pointer to a prior occurance (sic) of the same name.\"\n throw new Error('Cannot decode name (bad pointer)')\n }\n offset = jumpOffset\n oldOffset = jumpOffset\n consumedBytes += jumped ? 0 : 1\n jumped = true\n } else {\n throw new Error('Cannot decode name (bad label)')\n }\n }\n\n name.decode.bytes = consumedBytes\n return list.length === 0 ? '.' : list.join('.')\n}\n\nname.decode.bytes = 0\n\nname.encodingLength = function (n) {\n if (n === '.' || n === '..') return 1\n return Buffer.byteLength(n.replace(/^\\.|\\.$/gm, '')) + 2\n}\n\nconst string = {}\n\nstring.encode = function (s, buf, offset) {\n if (!buf) buf = Buffer.alloc(string.encodingLength(s))\n if (!offset) offset = 0\n\n const len = buf.write(s, offset + 1)\n buf[offset] = len\n string.encode.bytes = len + 1\n return buf\n}\n\nstring.encode.bytes = 0\n\nstring.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf[offset]\n const s = buf.toString('utf-8', offset + 1, offset + 1 + len)\n string.decode.bytes = len + 1\n return s\n}\n\nstring.decode.bytes = 0\n\nstring.encodingLength = function (s) {\n return Buffer.byteLength(s) + 1\n}\n\nconst header = {}\n\nheader.encode = function (h, buf, offset) {\n if (!buf) buf = header.encodingLength(h)\n if (!offset) offset = 0\n\n const flags = (h.flags || 0) & 32767\n const type = h.type === 'response' ? RESPONSE_FLAG : QUERY_FLAG\n\n buf.writeUInt16BE(h.id || 0, offset)\n buf.writeUInt16BE(flags | type, offset + 2)\n buf.writeUInt16BE(h.questions.length, offset + 4)\n buf.writeUInt16BE(h.answers.length, offset + 6)\n buf.writeUInt16BE(h.authorities.length, offset + 8)\n buf.writeUInt16BE(h.additionals.length, offset + 10)\n\n return buf\n}\n\nheader.encode.bytes = 12\n\nheader.decode = function (buf, offset) {\n if (!offset) offset = 0\n if (buf.length < 12) throw new Error('Header must be 12 bytes')\n const flags = buf.readUInt16BE(offset + 2)\n\n return {\n id: buf.readUInt16BE(offset),\n type: flags & RESPONSE_FLAG ? 'response' : 'query',\n flags: flags & 32767,\n flag_qr: ((flags >> 15) & 0x1) === 1,\n opcode: opcodes.toString((flags >> 11) & 0xf),\n flag_aa: ((flags >> 10) & 0x1) === 1,\n flag_tc: ((flags >> 9) & 0x1) === 1,\n flag_rd: ((flags >> 8) & 0x1) === 1,\n flag_ra: ((flags >> 7) & 0x1) === 1,\n flag_z: ((flags >> 6) & 0x1) === 1,\n flag_ad: ((flags >> 5) & 0x1) === 1,\n flag_cd: ((flags >> 4) & 0x1) === 1,\n rcode: rcodes.toString(flags & 0xf),\n questions: new Array(buf.readUInt16BE(offset + 4)),\n answers: new Array(buf.readUInt16BE(offset + 6)),\n authorities: new Array(buf.readUInt16BE(offset + 8)),\n additionals: new Array(buf.readUInt16BE(offset + 10))\n }\n}\n\nheader.decode.bytes = 12\n\nheader.encodingLength = function () {\n return 12\n}\n\nconst runknown = exports.unknown = {}\n\nrunknown.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(runknown.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.length, offset)\n data.copy(buf, offset + 2)\n\n runknown.encode.bytes = data.length + 2\n return buf\n}\n\nrunknown.encode.bytes = 0\n\nrunknown.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const data = buf.slice(offset + 2, offset + 2 + len)\n runknown.decode.bytes = len + 2\n return data\n}\n\nrunknown.decode.bytes = 0\n\nrunknown.encodingLength = function (data) {\n return data.length + 2\n}\n\nconst rns = exports.ns = {}\n\nrns.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rns.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rns.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrns.encode.bytes = 0\n\nrns.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n const dd = name.decode(buf, offset + 2)\n\n rns.decode.bytes = len + 2\n return dd\n}\n\nrns.decode.bytes = 0\n\nrns.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsoa = exports.soa = {}\n\nrsoa.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsoa.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n name.encode(data.mname, buf, offset)\n offset += name.encode.bytes\n name.encode(data.rname, buf, offset)\n offset += name.encode.bytes\n buf.writeUInt32BE(data.serial || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.refresh || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.retry || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.expire || 0, offset)\n offset += 4\n buf.writeUInt32BE(data.minimum || 0, offset)\n offset += 4\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rsoa.encode.bytes = offset - oldOffset\n return buf\n}\n\nrsoa.encode.bytes = 0\n\nrsoa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.rname = name.decode(buf, offset)\n offset += name.decode.bytes\n data.serial = buf.readUInt32BE(offset)\n offset += 4\n data.refresh = buf.readUInt32BE(offset)\n offset += 4\n data.retry = buf.readUInt32BE(offset)\n offset += 4\n data.expire = buf.readUInt32BE(offset)\n offset += 4\n data.minimum = buf.readUInt32BE(offset)\n offset += 4\n\n rsoa.decode.bytes = offset - oldOffset\n return data\n}\n\nrsoa.decode.bytes = 0\n\nrsoa.encodingLength = function (data) {\n return 22 + name.encodingLength(data.mname) + name.encodingLength(data.rname)\n}\n\nconst rtxt = exports.txt = {}\n\nrtxt.encode = function (data, buf, offset) {\n if (!Array.isArray(data)) data = [data]\n for (let i = 0; i < data.length; i++) {\n if (typeof data[i] === 'string') {\n data[i] = Buffer.from(data[i])\n }\n if (!Buffer.isBuffer(data[i])) {\n throw new Error('Must be a Buffer')\n }\n }\n\n if (!buf) buf = Buffer.alloc(rtxt.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n\n data.forEach(function (d) {\n buf[offset++] = d.length\n d.copy(buf, offset, 0, d.length)\n offset += d.length\n })\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rtxt.encode.bytes = offset - oldOffset\n return buf\n}\n\nrtxt.encode.bytes = 0\n\nrtxt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n let remaining = buf.readUInt16BE(offset)\n offset += 2\n\n let data = []\n while (remaining > 0) {\n const len = buf[offset++]\n --remaining\n if (remaining < len) {\n throw new Error('Buffer overflow')\n }\n data.push(buf.slice(offset, offset + len))\n offset += len\n remaining -= len\n }\n\n rtxt.decode.bytes = offset - oldOffset\n return data\n}\n\nrtxt.decode.bytes = 0\n\nrtxt.encodingLength = function (data) {\n if (!Array.isArray(data)) data = [data]\n let length = 2\n data.forEach(function (buf) {\n if (typeof buf === 'string') {\n length += Buffer.byteLength(buf) + 1\n } else {\n length += buf.length + 1\n }\n })\n return length\n}\n\nconst rnull = exports.null = {}\n\nrnull.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnull.encodingLength(data))\n if (!offset) offset = 0\n\n if (typeof data === 'string') data = Buffer.from(data)\n if (!data) data = Buffer.alloc(0)\n\n const oldOffset = offset\n offset += 2\n\n const len = data.length\n data.copy(buf, offset, 0, len)\n offset += len\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rnull.encode.bytes = offset - oldOffset\n return buf\n}\n\nrnull.encode.bytes = 0\n\nrnull.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n const len = buf.readUInt16BE(offset)\n\n offset += 2\n\n const data = buf.slice(offset, offset + len)\n offset += len\n\n rnull.decode.bytes = offset - oldOffset\n return data\n}\n\nrnull.decode.bytes = 0\n\nrnull.encodingLength = function (data) {\n if (!data) return 2\n return (Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data)) + 2\n}\n\nconst rhinfo = exports.hinfo = {}\n\nrhinfo.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rhinfo.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n string.encode(data.cpu, buf, offset)\n offset += string.encode.bytes\n string.encode(data.os, buf, offset)\n offset += string.encode.bytes\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rhinfo.encode.bytes = offset - oldOffset\n return buf\n}\n\nrhinfo.encode.bytes = 0\n\nrhinfo.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.cpu = string.decode(buf, offset)\n offset += string.decode.bytes\n data.os = string.decode(buf, offset)\n offset += string.decode.bytes\n rhinfo.decode.bytes = offset - oldOffset\n return data\n}\n\nrhinfo.decode.bytes = 0\n\nrhinfo.encodingLength = function (data) {\n return string.encodingLength(data.cpu) + string.encodingLength(data.os) + 2\n}\n\nconst rptr = exports.ptr = {}\nconst rcname = exports.cname = rptr\nconst rdname = exports.dname = rptr\n\nrptr.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rptr.encodingLength(data))\n if (!offset) offset = 0\n\n name.encode(data, buf, offset + 2)\n buf.writeUInt16BE(name.encode.bytes, offset)\n rptr.encode.bytes = name.encode.bytes + 2\n return buf\n}\n\nrptr.encode.bytes = 0\n\nrptr.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const data = name.decode(buf, offset + 2)\n rptr.decode.bytes = name.decode.bytes + 2\n return data\n}\n\nrptr.decode.bytes = 0\n\nrptr.encodingLength = function (data) {\n return name.encodingLength(data) + 2\n}\n\nconst rsrv = exports.srv = {}\n\nrsrv.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsrv.encodingLength(data))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(data.priority || 0, offset + 2)\n buf.writeUInt16BE(data.weight || 0, offset + 4)\n buf.writeUInt16BE(data.port || 0, offset + 6)\n name.encode(data.target, buf, offset + 8)\n\n const len = name.encode.bytes + 6\n buf.writeUInt16BE(len, offset)\n\n rsrv.encode.bytes = len + 2\n return buf\n}\n\nrsrv.encode.bytes = 0\n\nrsrv.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n\n const data = {}\n data.priority = buf.readUInt16BE(offset + 2)\n data.weight = buf.readUInt16BE(offset + 4)\n data.port = buf.readUInt16BE(offset + 6)\n data.target = name.decode(buf, offset + 8)\n\n rsrv.decode.bytes = len + 2\n return data\n}\n\nrsrv.decode.bytes = 0\n\nrsrv.encodingLength = function (data) {\n return 8 + name.encodingLength(data.target)\n}\n\nconst rcaa = exports.caa = {}\n\nrcaa.ISSUER_CRITICAL = 1 << 7\n\nrcaa.encode = function (data, buf, offset) {\n const len = rcaa.encodingLength(data)\n\n if (!buf) buf = Buffer.alloc(rcaa.encodingLength(data))\n if (!offset) offset = 0\n\n if (data.issuerCritical) {\n data.flags = rcaa.ISSUER_CRITICAL\n }\n\n buf.writeUInt16BE(len - 2, offset)\n offset += 2\n buf.writeUInt8(data.flags || 0, offset)\n offset += 1\n string.encode(data.tag, buf, offset)\n offset += string.encode.bytes\n buf.write(data.value, offset)\n offset += Buffer.byteLength(data.value)\n\n rcaa.encode.bytes = len\n return buf\n}\n\nrcaa.encode.bytes = 0\n\nrcaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const len = buf.readUInt16BE(offset)\n offset += 2\n\n const oldOffset = offset\n const data = {}\n data.flags = buf.readUInt8(offset)\n offset += 1\n data.tag = string.decode(buf, offset)\n offset += string.decode.bytes\n data.value = buf.toString('utf-8', offset, oldOffset + len)\n\n data.issuerCritical = !!(data.flags & rcaa.ISSUER_CRITICAL)\n\n rcaa.decode.bytes = len + 2\n\n return data\n}\n\nrcaa.decode.bytes = 0\n\nrcaa.encodingLength = function (data) {\n return string.encodingLength(data.tag) + string.encodingLength(data.value) + 2\n}\n\nconst rmx = exports.mx = {}\n\nrmx.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rmx.encodingLength(data))\n if (!offset) offset = 0\n\n const oldOffset = offset\n offset += 2\n buf.writeUInt16BE(data.preference || 0, offset)\n offset += 2\n name.encode(data.exchange, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(offset - oldOffset - 2, oldOffset)\n rmx.encode.bytes = offset - oldOffset\n return buf\n}\n\nrmx.encode.bytes = 0\n\nrmx.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.preference = buf.readUInt16BE(offset)\n offset += 2\n data.exchange = name.decode(buf, offset)\n offset += name.decode.bytes\n\n rmx.decode.bytes = offset - oldOffset\n return data\n}\n\nrmx.encodingLength = function (data) {\n return 4 + name.encodingLength(data.exchange)\n}\n\nconst ra = exports.a = {}\n\nra.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(ra.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(4, offset)\n offset += 2\n ip.v4.encode(host, buf, offset)\n ra.encode.bytes = 6\n return buf\n}\n\nra.encode.bytes = 0\n\nra.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v4.decode(buf, offset)\n ra.decode.bytes = 6\n return host\n}\n\nra.decode.bytes = 0\n\nra.encodingLength = function () {\n return 6\n}\n\nconst raaaa = exports.aaaa = {}\n\nraaaa.encode = function (host, buf, offset) {\n if (!buf) buf = Buffer.alloc(raaaa.encodingLength(host))\n if (!offset) offset = 0\n\n buf.writeUInt16BE(16, offset)\n offset += 2\n ip.v6.encode(host, buf, offset)\n raaaa.encode.bytes = 18\n return buf\n}\n\nraaaa.encode.bytes = 0\n\nraaaa.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n offset += 2\n const host = ip.v6.decode(buf, offset)\n raaaa.decode.bytes = 18\n return host\n}\n\nraaaa.decode.bytes = 0\n\nraaaa.encodingLength = function () {\n return 18\n}\n\nconst roption = exports.option = {}\n\nroption.encode = function (option, buf, offset) {\n if (!buf) buf = Buffer.alloc(roption.encodingLength(option))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const code = optioncodes.toCode(option.code)\n buf.writeUInt16BE(code, offset)\n offset += 2\n if (option.data) {\n buf.writeUInt16BE(option.data.length, offset)\n offset += 2\n option.data.copy(buf, offset)\n offset += option.data.length\n } else {\n switch (code) {\n // case 3: NSID. No encode makes sense.\n // case 5,6,7: Not implementable\n case 8: // ECS\n // note: do IP math before calling\n const spl = option.sourcePrefixLength || 0\n const fam = option.family || ip.familyOf(option.ip)\n const ipBuf = ip.encode(option.ip, Buffer.alloc)\n const ipLen = Math.ceil(spl / 8)\n buf.writeUInt16BE(ipLen + 4, offset)\n offset += 2\n buf.writeUInt16BE(fam, offset)\n offset += 2\n buf.writeUInt8(spl, offset++)\n buf.writeUInt8(option.scopePrefixLength || 0, offset++)\n\n ipBuf.copy(buf, offset, 0, ipLen)\n offset += ipLen\n break\n // case 9: EXPIRE (experimental)\n // case 10: COOKIE. No encode makes sense.\n case 11: // KEEP-ALIVE\n if (option.timeout) {\n buf.writeUInt16BE(2, offset)\n offset += 2\n buf.writeUInt16BE(option.timeout, offset)\n offset += 2\n } else {\n buf.writeUInt16BE(0, offset)\n offset += 2\n }\n break\n case 12: // PADDING\n const len = option.length || 0\n buf.writeUInt16BE(len, offset)\n offset += 2\n buf.fill(0, offset, offset + len)\n offset += len\n break\n // case 13: CHAIN. Experimental.\n case 14: // KEY-TAG\n const tagsLen = option.tags.length * 2\n buf.writeUInt16BE(tagsLen, offset)\n offset += 2\n for (const tag of option.tags) {\n buf.writeUInt16BE(tag, offset)\n offset += 2\n }\n break\n default:\n throw new Error(`Unknown roption code: ${option.code}`)\n }\n }\n\n roption.encode.bytes = offset - oldOffset\n return buf\n}\n\nroption.encode.bytes = 0\n\nroption.decode = function (buf, offset) {\n if (!offset) offset = 0\n const option = {}\n option.code = buf.readUInt16BE(offset)\n option.type = optioncodes.toString(option.code)\n offset += 2\n const len = buf.readUInt16BE(offset)\n offset += 2\n option.data = buf.slice(offset, offset + len)\n switch (option.code) {\n // case 3: NSID. No decode makes sense.\n case 8: // ECS\n option.family = buf.readUInt16BE(offset)\n offset += 2\n option.sourcePrefixLength = buf.readUInt8(offset++)\n option.scopePrefixLength = buf.readUInt8(offset++)\n const padded = Buffer.alloc((option.family === 1) ? 4 : 16)\n buf.copy(padded, 0, offset, offset + len - 4)\n option.ip = ip.decode(padded)\n break\n // case 12: Padding. No decode makes sense.\n case 11: // KEEP-ALIVE\n if (len > 0) {\n option.timeout = buf.readUInt16BE(offset)\n offset += 2\n }\n break\n case 14:\n option.tags = []\n for (let i = 0; i < len; i += 2) {\n option.tags.push(buf.readUInt16BE(offset))\n offset += 2\n }\n // don't worry about default. caller will use data if desired\n }\n\n roption.decode.bytes = len + 4\n return option\n}\n\nroption.decode.bytes = 0\n\nroption.encodingLength = function (option) {\n if (option.data) {\n return option.data.length + 4\n }\n const code = optioncodes.toCode(option.code)\n switch (code) {\n case 8: // ECS\n const spl = option.sourcePrefixLength || 0\n return Math.ceil(spl / 8) + 8\n case 11: // KEEP-ALIVE\n return (typeof option.timeout === 'number') ? 6 : 4\n case 12: // PADDING\n return option.length + 4\n case 14: // KEY-TAG\n return 4 + (option.tags.length * 2)\n }\n throw new Error(`Unknown roption code: ${option.code}`)\n}\n\nconst ropt = exports.opt = {}\n\nropt.encode = function (options, buf, offset) {\n if (!buf) buf = Buffer.alloc(ropt.encodingLength(options))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const rdlen = encodingLengthList(options, roption)\n buf.writeUInt16BE(rdlen, offset)\n offset = encodeList(options, roption, buf, offset + 2)\n\n ropt.encode.bytes = offset - oldOffset\n return buf\n}\n\nropt.encode.bytes = 0\n\nropt.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const options = []\n let rdlen = buf.readUInt16BE(offset)\n offset += 2\n let o = 0\n while (rdlen > 0) {\n options[o++] = roption.decode(buf, offset)\n offset += roption.decode.bytes\n rdlen -= roption.decode.bytes\n }\n ropt.decode.bytes = offset - oldOffset\n return options\n}\n\nropt.decode.bytes = 0\n\nropt.encodingLength = function (options) {\n return 2 + encodingLengthList(options || [], roption)\n}\n\nconst rdnskey = exports.dnskey = {}\n\nrdnskey.PROTOCOL_DNSSEC = 3\nrdnskey.ZONE_KEY = 0x80\nrdnskey.SECURE_ENTRYPOINT = 0x8000\n\nrdnskey.encode = function (key, buf, offset) {\n if (!buf) buf = Buffer.alloc(rdnskey.encodingLength(key))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const keydata = key.key\n if (!Buffer.isBuffer(keydata)) {\n throw new Error('Key must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(key.flags, offset)\n offset += 2\n buf.writeUInt8(rdnskey.PROTOCOL_DNSSEC, offset)\n offset += 1\n buf.writeUInt8(key.algorithm, offset)\n offset += 1\n keydata.copy(buf, offset, 0, keydata.length)\n offset += keydata.length\n\n rdnskey.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rdnskey.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrdnskey.encode.bytes = 0\n\nrdnskey.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var key = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n key.flags = buf.readUInt16BE(offset)\n offset += 2\n if (buf.readUInt8(offset) !== rdnskey.PROTOCOL_DNSSEC) {\n throw new Error('Protocol must be 3')\n }\n offset += 1\n key.algorithm = buf.readUInt8(offset)\n offset += 1\n key.key = buf.slice(offset, oldOffset + length + 2)\n offset += key.key.length\n rdnskey.decode.bytes = offset - oldOffset\n return key\n}\n\nrdnskey.decode.bytes = 0\n\nrdnskey.encodingLength = function (key) {\n return 6 + Buffer.byteLength(key.key)\n}\n\nconst rrrsig = exports.rrsig = {}\n\nrrrsig.encode = function (sig, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrrsig.encodingLength(sig))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const signature = sig.signature\n if (!Buffer.isBuffer(signature)) {\n throw new Error('Signature must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(types.toType(sig.typeCovered), offset)\n offset += 2\n buf.writeUInt8(sig.algorithm, offset)\n offset += 1\n buf.writeUInt8(sig.labels, offset)\n offset += 1\n buf.writeUInt32BE(sig.originalTTL, offset)\n offset += 4\n buf.writeUInt32BE(sig.expiration, offset)\n offset += 4\n buf.writeUInt32BE(sig.inception, offset)\n offset += 4\n buf.writeUInt16BE(sig.keyTag, offset)\n offset += 2\n name.encode(sig.signersName, buf, offset)\n offset += name.encode.bytes\n signature.copy(buf, offset, 0, signature.length)\n offset += signature.length\n\n rrrsig.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrrsig.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrrsig.encode.bytes = 0\n\nrrrsig.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var sig = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n sig.typeCovered = types.toString(buf.readUInt16BE(offset))\n offset += 2\n sig.algorithm = buf.readUInt8(offset)\n offset += 1\n sig.labels = buf.readUInt8(offset)\n offset += 1\n sig.originalTTL = buf.readUInt32BE(offset)\n offset += 4\n sig.expiration = buf.readUInt32BE(offset)\n offset += 4\n sig.inception = buf.readUInt32BE(offset)\n offset += 4\n sig.keyTag = buf.readUInt16BE(offset)\n offset += 2\n sig.signersName = name.decode(buf, offset)\n offset += name.decode.bytes\n sig.signature = buf.slice(offset, oldOffset + length + 2)\n offset += sig.signature.length\n rrrsig.decode.bytes = offset - oldOffset\n return sig\n}\n\nrrrsig.decode.bytes = 0\n\nrrrsig.encodingLength = function (sig) {\n return 20 +\n name.encodingLength(sig.signersName) +\n Buffer.byteLength(sig.signature)\n}\n\nconst rrp = exports.rp = {}\n\nrrp.encode = function (data, buf, offset) {\n if (!buf) buf = Buffer.alloc(rrp.encodingLength(data))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(data.mbox || '.', buf, offset)\n offset += name.encode.bytes\n name.encode(data.txt || '.', buf, offset)\n offset += name.encode.bytes\n rrp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rrp.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrrp.encode.bytes = 0\n\nrrp.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const data = {}\n offset += 2\n data.mbox = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n data.txt = name.decode(buf, offset) || '.'\n offset += name.decode.bytes\n rrp.decode.bytes = offset - oldOffset\n return data\n}\n\nrrp.decode.bytes = 0\n\nrrp.encodingLength = function (data) {\n return 2 + name.encodingLength(data.mbox || '.') + name.encodingLength(data.txt || '.')\n}\n\nconst typebitmap = {}\n\ntypebitmap.encode = function (typelist, buf, offset) {\n if (!buf) buf = Buffer.alloc(typebitmap.encodingLength(typelist))\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typesByWindow = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n if (typesByWindow[typeid >> 8] === undefined) {\n typesByWindow[typeid >> 8] = []\n }\n typesByWindow[typeid >> 8][(typeid >> 3) & 0x1F] |= 1 << (7 - (typeid & 0x7))\n }\n\n for (i = 0; i < typesByWindow.length; i++) {\n if (typesByWindow[i] !== undefined) {\n var windowBuf = Buffer.from(typesByWindow[i])\n buf.writeUInt8(i, offset)\n offset += 1\n buf.writeUInt8(windowBuf.length, offset)\n offset += 1\n windowBuf.copy(buf, offset)\n offset += windowBuf.length\n }\n }\n\n typebitmap.encode.bytes = offset - oldOffset\n return buf\n}\n\ntypebitmap.encode.bytes = 0\n\ntypebitmap.decode = function (buf, offset, length) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var typelist = []\n while (offset - oldOffset < length) {\n var window = buf.readUInt8(offset)\n offset += 1\n var windowLength = buf.readUInt8(offset)\n offset += 1\n for (var i = 0; i < windowLength; i++) {\n var b = buf.readUInt8(offset + i)\n for (var j = 0; j < 8; j++) {\n if (b & (1 << (7 - j))) {\n var typeid = types.toString((window << 8) | (i << 3) | j)\n typelist.push(typeid)\n }\n }\n }\n offset += windowLength\n }\n\n typebitmap.decode.bytes = offset - oldOffset\n return typelist\n}\n\ntypebitmap.decode.bytes = 0\n\ntypebitmap.encodingLength = function (typelist) {\n var extents = []\n for (var i = 0; i < typelist.length; i++) {\n var typeid = types.toType(typelist[i])\n extents[typeid >> 8] = Math.max(extents[typeid >> 8] || 0, typeid & 0xFF)\n }\n\n var len = 0\n for (i = 0; i < extents.length; i++) {\n if (extents[i] !== undefined) {\n len += 2 + Math.ceil((extents[i] + 1) / 8)\n }\n }\n\n return len\n}\n\nconst rnsec = exports.nsec = {}\n\nrnsec.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // Leave space for length\n name.encode(record.nextDomain, buf, offset)\n offset += name.encode.bytes\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec.encode.bytes = 0\n\nrnsec.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.nextDomain = name.decode(buf, offset)\n offset += name.decode.bytes\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec.decode.bytes = 0\n\nrnsec.encodingLength = function (record) {\n return 2 +\n name.encodingLength(record.nextDomain) +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rnsec3 = exports.nsec3 = {}\n\nrnsec3.encode = function (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rnsec3.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const salt = record.salt\n if (!Buffer.isBuffer(salt)) {\n throw new Error('salt must be a Buffer')\n }\n\n const nextDomain = record.nextDomain\n if (!Buffer.isBuffer(nextDomain)) {\n throw new Error('nextDomain must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt8(record.algorithm, offset)\n offset += 1\n buf.writeUInt8(record.flags, offset)\n offset += 1\n buf.writeUInt16BE(record.iterations, offset)\n offset += 2\n buf.writeUInt8(salt.length, offset)\n offset += 1\n salt.copy(buf, offset, 0, salt.length)\n offset += salt.length\n buf.writeUInt8(nextDomain.length, offset)\n offset += 1\n nextDomain.copy(buf, offset, 0, nextDomain.length)\n offset += nextDomain.length\n typebitmap.encode(record.rrtypes, buf, offset)\n offset += typebitmap.encode.bytes\n\n rnsec3.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rnsec3.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrnsec3.encode.bytes = 0\n\nrnsec3.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var record = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n record.algorithm = buf.readUInt8(offset)\n offset += 1\n record.flags = buf.readUInt8(offset)\n offset += 1\n record.iterations = buf.readUInt16BE(offset)\n offset += 2\n const saltLength = buf.readUInt8(offset)\n offset += 1\n record.salt = buf.slice(offset, offset + saltLength)\n offset += saltLength\n const hashLength = buf.readUInt8(offset)\n offset += 1\n record.nextDomain = buf.slice(offset, offset + hashLength)\n offset += hashLength\n record.rrtypes = typebitmap.decode(buf, offset, length - (offset - oldOffset))\n offset += typebitmap.decode.bytes\n\n rnsec3.decode.bytes = offset - oldOffset\n return record\n}\n\nrnsec3.decode.bytes = 0\n\nrnsec3.encodingLength = function (record) {\n return 8 +\n record.salt.length +\n record.nextDomain.length +\n typebitmap.encodingLength(record.rrtypes)\n}\n\nconst rds = exports.ds = {}\n\nrds.encode = function (digest, buf, offset) {\n if (!buf) buf = Buffer.alloc(rds.encodingLength(digest))\n if (!offset) offset = 0\n const oldOffset = offset\n\n const digestdata = digest.digest\n if (!Buffer.isBuffer(digestdata)) {\n throw new Error('Digest must be a Buffer')\n }\n\n offset += 2 // Leave space for length\n buf.writeUInt16BE(digest.keyTag, offset)\n offset += 2\n buf.writeUInt8(digest.algorithm, offset)\n offset += 1\n buf.writeUInt8(digest.digestType, offset)\n offset += 1\n digestdata.copy(buf, offset, 0, digestdata.length)\n offset += digestdata.length\n\n rds.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rds.encode.bytes - 2, oldOffset)\n return buf\n}\n\nrds.encode.bytes = 0\n\nrds.decode = function (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n var digest = {}\n var length = buf.readUInt16BE(offset)\n offset += 2\n digest.keyTag = buf.readUInt16BE(offset)\n offset += 2\n digest.algorithm = buf.readUInt8(offset)\n offset += 1\n digest.digestType = buf.readUInt8(offset)\n offset += 1\n digest.digest = buf.slice(offset, oldOffset + length + 2)\n offset += digest.digest.length\n rds.decode.bytes = offset - oldOffset\n return digest\n}\n\nrds.decode.bytes = 0\n\nrds.encodingLength = function (digest) {\n return 6 + Buffer.byteLength(digest.digest)\n}\n\nconst rsshfp = exports.sshfp = {}\n\nrsshfp.getFingerprintLengthForHashType = function getFingerprintLengthForHashType (hashType) {\n switch (hashType) {\n case 1: return 20\n case 2: return 32\n }\n}\n\nrsshfp.encode = function encode (record, buf, offset) {\n if (!buf) buf = Buffer.alloc(rsshfp.encodingLength(record))\n if (!offset) offset = 0\n const oldOffset = offset\n\n offset += 2 // The function call starts with the offset pointer at the RDLENGTH field, not the RDATA one\n buf[offset] = record.algorithm\n offset += 1\n buf[offset] = record.hash\n offset += 1\n\n const fingerprintBuf = Buffer.from(record.fingerprint.toUpperCase(), 'hex')\n if (fingerprintBuf.length !== rsshfp.getFingerprintLengthForHashType(record.hash)) {\n throw new Error('Invalid fingerprint length')\n }\n fingerprintBuf.copy(buf, offset)\n offset += fingerprintBuf.byteLength\n\n rsshfp.encode.bytes = offset - oldOffset\n buf.writeUInt16BE(rsshfp.encode.bytes - 2, oldOffset)\n\n return buf\n}\n\nrsshfp.encode.bytes = 0\n\nrsshfp.decode = function decode (buf, offset) {\n if (!offset) offset = 0\n const oldOffset = offset\n\n const record = {}\n offset += 2 // Account for the RDLENGTH field\n record.algorithm = buf[offset]\n offset += 1\n record.hash = buf[offset]\n offset += 1\n\n const fingerprintLength = rsshfp.getFingerprintLengthForHashType(record.hash)\n record.fingerprint = buf.slice(offset, offset + fingerprintLength).toString('hex').toUpperCase()\n offset += fingerprintLength\n rsshfp.decode.bytes = offset - oldOffset\n return record\n}\n\nrsshfp.decode.bytes = 0\n\nrsshfp.encodingLength = function (record) {\n return 4 + Buffer.from(record.fingerprint, 'hex').byteLength\n}\n\nconst renc = exports.record = function (type) {\n switch (type.toUpperCase()) {\n case 'A': return ra\n case 'PTR': return rptr\n case 'CNAME': return rcname\n case 'DNAME': return rdname\n case 'TXT': return rtxt\n case 'NULL': return rnull\n case 'AAAA': return raaaa\n case 'SRV': return rsrv\n case 'HINFO': return rhinfo\n case 'CAA': return rcaa\n case 'NS': return rns\n case 'SOA': return rsoa\n case 'MX': return rmx\n case 'OPT': return ropt\n case 'DNSKEY': return rdnskey\n case 'RRSIG': return rrrsig\n case 'RP': return rrp\n case 'NSEC': return rnsec\n case 'NSEC3': return rnsec3\n case 'SSHFP': return rsshfp\n case 'DS': return rds\n }\n return runknown\n}\n\nconst answer = exports.answer = {}\n\nanswer.encode = function (a, buf, offset) {\n if (!buf) buf = Buffer.alloc(answer.encodingLength(a))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(a.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(a.type), offset)\n\n if (a.type.toUpperCase() === 'OPT') {\n if (a.name !== '.') {\n throw new Error('OPT name must be root.')\n }\n buf.writeUInt16BE(a.udpPayloadSize || 4096, offset + 2)\n buf.writeUInt8(a.extendedRcode || 0, offset + 4)\n buf.writeUInt8(a.ednsVersion || 0, offset + 5)\n buf.writeUInt16BE(a.flags || 0, offset + 6)\n\n offset += 8\n ropt.encode(a.options || [], buf, offset)\n offset += ropt.encode.bytes\n } else {\n let klass = classes.toClass(a.class === undefined ? 'IN' : a.class)\n if (a.flush) klass |= FLUSH_MASK // the 1st bit of the class is the flush bit\n buf.writeUInt16BE(klass, offset + 2)\n buf.writeUInt32BE(a.ttl || 0, offset + 4)\n\n offset += 8\n const enc = renc(a.type)\n enc.encode(a.data, buf, offset)\n offset += enc.encode.bytes\n }\n\n answer.encode.bytes = offset - oldOffset\n return buf\n}\n\nanswer.encode.bytes = 0\n\nanswer.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const a = {}\n const oldOffset = offset\n\n a.name = name.decode(buf, offset)\n offset += name.decode.bytes\n a.type = types.toString(buf.readUInt16BE(offset))\n if (a.type === 'OPT') {\n a.udpPayloadSize = buf.readUInt16BE(offset + 2)\n a.extendedRcode = buf.readUInt8(offset + 4)\n a.ednsVersion = buf.readUInt8(offset + 5)\n a.flags = buf.readUInt16BE(offset + 6)\n a.flag_do = ((a.flags >> 15) & 0x1) === 1\n a.options = ropt.decode(buf, offset + 8)\n offset += 8 + ropt.decode.bytes\n } else {\n const klass = buf.readUInt16BE(offset + 2)\n a.ttl = buf.readUInt32BE(offset + 4)\n\n a.class = classes.toString(klass & NOT_FLUSH_MASK)\n a.flush = !!(klass & FLUSH_MASK)\n\n const enc = renc(a.type)\n a.data = enc.decode(buf, offset + 8)\n offset += 8 + enc.decode.bytes\n }\n\n answer.decode.bytes = offset - oldOffset\n return a\n}\n\nanswer.decode.bytes = 0\n\nanswer.encodingLength = function (a) {\n const data = (a.data !== null && a.data !== undefined) ? a.data : a.options\n return name.encodingLength(a.name) + 8 + renc(a.type).encodingLength(data)\n}\n\nconst question = exports.question = {}\n\nquestion.encode = function (q, buf, offset) {\n if (!buf) buf = Buffer.alloc(question.encodingLength(q))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n name.encode(q.name, buf, offset)\n offset += name.encode.bytes\n\n buf.writeUInt16BE(types.toType(q.type), offset)\n offset += 2\n\n buf.writeUInt16BE(classes.toClass(q.class === undefined ? 'IN' : q.class), offset)\n offset += 2\n\n question.encode.bytes = offset - oldOffset\n return q\n}\n\nquestion.encode.bytes = 0\n\nquestion.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const q = {}\n\n q.name = name.decode(buf, offset)\n offset += name.decode.bytes\n\n q.type = types.toString(buf.readUInt16BE(offset))\n offset += 2\n\n q.class = classes.toString(buf.readUInt16BE(offset))\n offset += 2\n\n const qu = !!(q.class & QU_MASK)\n if (qu) q.class &= NOT_QU_MASK\n\n question.decode.bytes = offset - oldOffset\n return q\n}\n\nquestion.decode.bytes = 0\n\nquestion.encodingLength = function (q) {\n return name.encodingLength(q.name) + 4\n}\n\nexports.AUTHORITATIVE_ANSWER = 1 << 10\nexports.TRUNCATED_RESPONSE = 1 << 9\nexports.RECURSION_DESIRED = 1 << 8\nexports.RECURSION_AVAILABLE = 1 << 7\nexports.AUTHENTIC_DATA = 1 << 5\nexports.CHECKING_DISABLED = 1 << 4\nexports.DNSSEC_OK = 1 << 15\n\nexports.encode = function (result, buf, offset) {\n const allocing = !buf\n\n if (allocing) buf = Buffer.alloc(exports.encodingLength(result))\n if (!offset) offset = 0\n\n const oldOffset = offset\n\n if (!result.questions) result.questions = []\n if (!result.answers) result.answers = []\n if (!result.authorities) result.authorities = []\n if (!result.additionals) result.additionals = []\n\n header.encode(result, buf, offset)\n offset += header.encode.bytes\n\n offset = encodeList(result.questions, question, buf, offset)\n offset = encodeList(result.answers, answer, buf, offset)\n offset = encodeList(result.authorities, answer, buf, offset)\n offset = encodeList(result.additionals, answer, buf, offset)\n\n exports.encode.bytes = offset - oldOffset\n\n // just a quick sanity check\n if (allocing && exports.encode.bytes !== buf.length) {\n return buf.slice(0, exports.encode.bytes)\n }\n\n return buf\n}\n\nexports.encode.bytes = 0\n\nexports.decode = function (buf, offset) {\n if (!offset) offset = 0\n\n const oldOffset = offset\n const result = header.decode(buf, offset)\n offset += header.decode.bytes\n\n offset = decodeList(result.questions, question, buf, offset)\n offset = decodeList(result.answers, answer, buf, offset)\n offset = decodeList(result.authorities, answer, buf, offset)\n offset = decodeList(result.additionals, answer, buf, offset)\n\n exports.decode.bytes = offset - oldOffset\n\n return result\n}\n\nexports.decode.bytes = 0\n\nexports.encodingLength = function (result) {\n return header.encodingLength(result) +\n encodingLengthList(result.questions || [], question) +\n encodingLengthList(result.answers || [], answer) +\n encodingLengthList(result.authorities || [], answer) +\n encodingLengthList(result.additionals || [], answer)\n}\n\nexports.streamEncode = function (result) {\n const buf = exports.encode(result)\n const sbuf = Buffer.alloc(2)\n sbuf.writeUInt16BE(buf.byteLength)\n const combine = Buffer.concat([sbuf, buf])\n exports.streamEncode.bytes = combine.byteLength\n return combine\n}\n\nexports.streamEncode.bytes = 0\n\nexports.streamDecode = function (sbuf) {\n const len = sbuf.readUInt16BE(0)\n if (sbuf.byteLength < len + 2) {\n // not enough data\n return null\n }\n const result = exports.decode(sbuf.slice(2))\n exports.streamDecode.bytes = exports.decode.bytes\n return result\n}\n\nexports.streamDecode.bytes = 0\n\nfunction encodingLengthList (list, enc) {\n let len = 0\n for (let i = 0; i < list.length; i++) len += enc.encodingLength(list[i])\n return len\n}\n\nfunction encodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n enc.encode(list[i], buf, offset)\n offset += enc.encode.bytes\n }\n return offset\n}\n\nfunction decodeList (list, enc, buf, offset) {\n for (let i = 0; i < list.length; i++) {\n list[i] = enc.decode(buf, offset)\n offset += enc.decode.bytes\n }\n return offset\n}\n","'use strict'\n\n/*\n * Traditional DNS header OPCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-5\n */\n\nexports.toString = function (opcode) {\n switch (opcode) {\n case 0: return 'QUERY'\n case 1: return 'IQUERY'\n case 2: return 'STATUS'\n case 3: return 'OPCODE_3'\n case 4: return 'NOTIFY'\n case 5: return 'UPDATE'\n case 6: return 'OPCODE_6'\n case 7: return 'OPCODE_7'\n case 8: return 'OPCODE_8'\n case 9: return 'OPCODE_9'\n case 10: return 'OPCODE_10'\n case 11: return 'OPCODE_11'\n case 12: return 'OPCODE_12'\n case 13: return 'OPCODE_13'\n case 14: return 'OPCODE_14'\n case 15: return 'OPCODE_15'\n }\n return 'OPCODE_' + opcode\n}\n\nexports.toOpcode = function (code) {\n switch (code.toUpperCase()) {\n case 'QUERY': return 0\n case 'IQUERY': return 1\n case 'STATUS': return 2\n case 'OPCODE_3': return 3\n case 'NOTIFY': return 4\n case 'UPDATE': return 5\n case 'OPCODE_6': return 6\n case 'OPCODE_7': return 7\n case 'OPCODE_8': return 8\n case 'OPCODE_9': return 9\n case 'OPCODE_10': return 10\n case 'OPCODE_11': return 11\n case 'OPCODE_12': return 12\n case 'OPCODE_13': return 13\n case 'OPCODE_14': return 14\n case 'OPCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n // list at\n // https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-11\n case 1: return 'LLQ'\n case 2: return 'UL'\n case 3: return 'NSID'\n case 5: return 'DAU'\n case 6: return 'DHU'\n case 7: return 'N3U'\n case 8: return 'CLIENT_SUBNET'\n case 9: return 'EXPIRE'\n case 10: return 'COOKIE'\n case 11: return 'TCP_KEEPALIVE'\n case 12: return 'PADDING'\n case 13: return 'CHAIN'\n case 14: return 'KEY_TAG'\n case 26946: return 'DEVICEID'\n }\n if (type < 0) {\n return null\n }\n return `OPTION_${type}`\n}\n\nexports.toCode = function (name) {\n if (typeof name === 'number') {\n return name\n }\n if (!name) {\n return -1\n }\n switch (name.toUpperCase()) {\n case 'OPTION_0': return 0\n case 'LLQ': return 1\n case 'UL': return 2\n case 'NSID': return 3\n case 'OPTION_4': return 4\n case 'DAU': return 5\n case 'DHU': return 6\n case 'N3U': return 7\n case 'CLIENT_SUBNET': return 8\n case 'EXPIRE': return 9\n case 'COOKIE': return 10\n case 'TCP_KEEPALIVE': return 11\n case 'PADDING': return 12\n case 'CHAIN': return 13\n case 'KEY_TAG': return 14\n case 'DEVICEID': return 26946\n case 'OPTION_65535': return 65535\n }\n const m = name.match(/_(\\d+)$/)\n if (m) {\n return parseInt(m[1], 10)\n }\n return -1\n}\n","'use strict'\n\n/*\n * Traditional DNS header RCODEs (4-bits) defined by IANA in\n * https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml\n */\n\nexports.toString = function (rcode) {\n switch (rcode) {\n case 0: return 'NOERROR'\n case 1: return 'FORMERR'\n case 2: return 'SERVFAIL'\n case 3: return 'NXDOMAIN'\n case 4: return 'NOTIMP'\n case 5: return 'REFUSED'\n case 6: return 'YXDOMAIN'\n case 7: return 'YXRRSET'\n case 8: return 'NXRRSET'\n case 9: return 'NOTAUTH'\n case 10: return 'NOTZONE'\n case 11: return 'RCODE_11'\n case 12: return 'RCODE_12'\n case 13: return 'RCODE_13'\n case 14: return 'RCODE_14'\n case 15: return 'RCODE_15'\n }\n return 'RCODE_' + rcode\n}\n\nexports.toRcode = function (code) {\n switch (code.toUpperCase()) {\n case 'NOERROR': return 0\n case 'FORMERR': return 1\n case 'SERVFAIL': return 2\n case 'NXDOMAIN': return 3\n case 'NOTIMP': return 4\n case 'REFUSED': return 5\n case 'YXDOMAIN': return 6\n case 'YXRRSET': return 7\n case 'NXRRSET': return 8\n case 'NOTAUTH': return 9\n case 'NOTZONE': return 10\n case 'RCODE_11': return 11\n case 'RCODE_12': return 12\n case 'RCODE_13': return 13\n case 'RCODE_14': return 14\n case 'RCODE_15': return 15\n }\n return 0\n}\n","'use strict'\n\nexports.toString = function (type) {\n switch (type) {\n case 1: return 'A'\n case 10: return 'NULL'\n case 28: return 'AAAA'\n case 18: return 'AFSDB'\n case 42: return 'APL'\n case 257: return 'CAA'\n case 60: return 'CDNSKEY'\n case 59: return 'CDS'\n case 37: return 'CERT'\n case 5: return 'CNAME'\n case 49: return 'DHCID'\n case 32769: return 'DLV'\n case 39: return 'DNAME'\n case 48: return 'DNSKEY'\n case 43: return 'DS'\n case 55: return 'HIP'\n case 13: return 'HINFO'\n case 45: return 'IPSECKEY'\n case 25: return 'KEY'\n case 36: return 'KX'\n case 29: return 'LOC'\n case 15: return 'MX'\n case 35: return 'NAPTR'\n case 2: return 'NS'\n case 47: return 'NSEC'\n case 50: return 'NSEC3'\n case 51: return 'NSEC3PARAM'\n case 12: return 'PTR'\n case 46: return 'RRSIG'\n case 17: return 'RP'\n case 24: return 'SIG'\n case 6: return 'SOA'\n case 99: return 'SPF'\n case 33: return 'SRV'\n case 44: return 'SSHFP'\n case 32768: return 'TA'\n case 249: return 'TKEY'\n case 52: return 'TLSA'\n case 250: return 'TSIG'\n case 16: return 'TXT'\n case 252: return 'AXFR'\n case 251: return 'IXFR'\n case 41: return 'OPT'\n case 255: return 'ANY'\n }\n return 'UNKNOWN_' + type\n}\n\nexports.toType = function (name) {\n switch (name.toUpperCase()) {\n case 'A': return 1\n case 'NULL': return 10\n case 'AAAA': return 28\n case 'AFSDB': return 18\n case 'APL': return 42\n case 'CAA': return 257\n case 'CDNSKEY': return 60\n case 'CDS': return 59\n case 'CERT': return 37\n case 'CNAME': return 5\n case 'DHCID': return 49\n case 'DLV': return 32769\n case 'DNAME': return 39\n case 'DNSKEY': return 48\n case 'DS': return 43\n case 'HIP': return 55\n case 'HINFO': return 13\n case 'IPSECKEY': return 45\n case 'KEY': return 25\n case 'KX': return 36\n case 'LOC': return 29\n case 'MX': return 15\n case 'NAPTR': return 35\n case 'NS': return 2\n case 'NSEC': return 47\n case 'NSEC3': return 50\n case 'NSEC3PARAM': return 51\n case 'PTR': return 12\n case 'RRSIG': return 46\n case 'RP': return 17\n case 'SIG': return 24\n case 'SOA': return 6\n case 'SPF': return 99\n case 'SRV': return 33\n case 'SSHFP': return 44\n case 'TA': return 32768\n case 'TKEY': return 249\n case 'TLSA': return 52\n case 'TSIG': return 250\n case 'TXT': return 16\n case 'AXFR': return 252\n case 'IXFR': return 251\n case 'OPT': return 41\n case 'ANY': return 255\n case '*': return 255\n }\n if (name.toUpperCase().startsWith('UNKNOWN_')) return parseInt(name.slice(8))\n return 0\n}\n","const fs = require('fs')\nconst path = require('path')\nconst os = require('os')\nconst packageJson = require('../package.json')\n\nconst version = packageJson.version\n\nconst LINE = /(?:^|^)\\s*(?:export\\s+)?([\\w.-]+)(?:\\s*=\\s*?|:\\s+?)(\\s*'(?:\\\\'|[^'])*'|\\s*\"(?:\\\\\"|[^\"])*\"|\\s*`(?:\\\\`|[^`])*`|[^#\\r\\n]+)?\\s*(?:#.*)?(?:$|$)/mg\n\n// Parser src into an Object\nfunction parse (src) {\n const obj = {}\n\n // Convert buffer to string\n let lines = src.toString()\n\n // Convert line breaks to same format\n lines = lines.replace(/\\r\\n?/mg, '\\n')\n\n let match\n while ((match = LINE.exec(lines)) != null) {\n const key = match[1]\n\n // Default undefined or null to empty string\n let value = (match[2] || '')\n\n // Remove whitespace\n value = value.trim()\n\n // Check if double quoted\n const maybeQuote = value[0]\n\n // Remove surrounding quotes\n value = value.replace(/^(['\"`])([\\s\\S]*)\\1$/mg, '$2')\n\n // Expand newlines if double quoted\n if (maybeQuote === '\"') {\n value = value.replace(/\\\\n/g, '\\n')\n value = value.replace(/\\\\r/g, '\\r')\n }\n\n // Add to object\n obj[key] = value\n }\n\n return obj\n}\n\nfunction _log (message) {\n console.log(`[dotenv@${version}][DEBUG] ${message}`)\n}\n\nfunction _resolveHome (envPath) {\n return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath\n}\n\n// Populates process.env from .env file\nfunction config (options) {\n let dotenvPath = path.resolve(process.cwd(), '.env')\n let encoding = 'utf8'\n const debug = Boolean(options && options.debug)\n const override = Boolean(options && options.override)\n\n if (options) {\n if (options.path != null) {\n dotenvPath = _resolveHome(options.path)\n }\n if (options.encoding != null) {\n encoding = options.encoding\n }\n }\n\n try {\n // Specifying an encoding returns a string instead of a buffer\n const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding }))\n\n Object.keys(parsed).forEach(function (key) {\n if (!Object.prototype.hasOwnProperty.call(process.env, key)) {\n process.env[key] = parsed[key]\n } else {\n if (override === true) {\n process.env[key] = parsed[key]\n }\n\n if (debug) {\n if (override === true) {\n _log(`\"${key}\" is already defined in \\`process.env\\` and WAS overwritten`)\n } else {\n _log(`\"${key}\" is already defined in \\`process.env\\` and was NOT overwritten`)\n }\n }\n }\n })\n\n return { parsed }\n } catch (e) {\n if (debug) {\n _log(`Failed to load ${dotenvPath} ${e.message}`)\n }\n\n return { error: e }\n }\n}\n\nconst DotenvModule = {\n config,\n parse\n}\n\nmodule.exports.config = DotenvModule.config\nmodule.exports.parse = DotenvModule.parse\nmodule.exports = DotenvModule\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2014-2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Buffer = require('safe-buffer').Buffer\nvar cookie = require('cookie');\nvar crypto = require('crypto')\nvar debug = require('debug')('express-session');\nvar deprecate = require('depd')('express-session');\nvar onHeaders = require('on-headers')\nvar parseUrl = require('parseurl');\nvar signature = require('cookie-signature')\nvar uid = require('uid-safe').sync\n\nvar Cookie = require('./session/cookie')\nvar MemoryStore = require('./session/memory')\nvar Session = require('./session/session')\nvar Store = require('./session/store')\n\n// environment\n\nvar env = process.env.NODE_ENV;\n\n/**\n * Expose the middleware.\n */\n\nexports = module.exports = session;\n\n/**\n * Expose constructors.\n */\n\nexports.Store = Store;\nexports.Cookie = Cookie;\nexports.Session = Session;\nexports.MemoryStore = MemoryStore;\n\n/**\n * Warning message for `MemoryStore` usage in production.\n * @private\n */\n\nvar warning = 'Warning: connect.session() MemoryStore is not\\n'\n + 'designed for a production environment, as it will leak\\n'\n + 'memory, and will not scale past a single process.';\n\n/**\n * Node.js 0.8+ async implementation.\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Setup session store with the given `options`.\n *\n * @param {Object} [options]\n * @param {Object} [options.cookie] Options for cookie\n * @param {Function} [options.genid]\n * @param {String} [options.name=connect.sid] Session ID cookie name\n * @param {Boolean} [options.proxy]\n * @param {Boolean} [options.resave] Resave unmodified sessions back to the store\n * @param {Boolean} [options.rolling] Enable/disable rolling session expiration\n * @param {Boolean} [options.saveUninitialized] Save uninitialized sessions to the store\n * @param {String|Array} [options.secret] Secret for signing session ID\n * @param {Object} [options.store=MemoryStore] Session store\n * @param {String} [options.unset]\n * @return {Function} middleware\n * @public\n */\n\nfunction session(options) {\n var opts = options || {}\n\n // get the cookie options\n var cookieOptions = opts.cookie || {}\n\n // get the session id generate function\n var generateId = opts.genid || generateSessionId\n\n // get the session cookie name\n var name = opts.name || opts.key || 'connect.sid'\n\n // get the session store\n var store = opts.store || new MemoryStore()\n\n // get the trust proxy setting\n var trustProxy = opts.proxy\n\n // get the resave session option\n var resaveSession = opts.resave;\n\n // get the rolling session option\n var rollingSessions = Boolean(opts.rolling)\n\n // get the save uninitialized session option\n var saveUninitializedSession = opts.saveUninitialized\n\n // get the cookie signing secret\n var secret = opts.secret\n\n if (typeof generateId !== 'function') {\n throw new TypeError('genid option must be a function');\n }\n\n if (resaveSession === undefined) {\n deprecate('undefined resave option; provide resave option');\n resaveSession = true;\n }\n\n if (saveUninitializedSession === undefined) {\n deprecate('undefined saveUninitialized option; provide saveUninitialized option');\n saveUninitializedSession = true;\n }\n\n if (opts.unset && opts.unset !== 'destroy' && opts.unset !== 'keep') {\n throw new TypeError('unset option must be \"destroy\" or \"keep\"');\n }\n\n // TODO: switch to \"destroy\" on next major\n var unsetDestroy = opts.unset === 'destroy'\n\n if (Array.isArray(secret) && secret.length === 0) {\n throw new TypeError('secret option array must contain one or more strings');\n }\n\n if (secret && !Array.isArray(secret)) {\n secret = [secret];\n }\n\n if (!secret) {\n deprecate('req.secret; provide secret option');\n }\n\n // notify user that this store is not\n // meant for a production environment\n /* istanbul ignore next: not tested */\n if (env === 'production' && store instanceof MemoryStore) {\n console.warn(warning);\n }\n\n // generates the new session\n store.generate = function(req){\n req.sessionID = generateId(req);\n req.session = new Session(req);\n req.session.cookie = new Cookie(cookieOptions);\n\n if (cookieOptions.secure === 'auto') {\n req.session.cookie.secure = issecure(req, trustProxy);\n }\n };\n\n var storeImplementsTouch = typeof store.touch === 'function';\n\n // register event listeners for the store to track readiness\n var storeReady = true\n store.on('disconnect', function ondisconnect() {\n storeReady = false\n })\n store.on('connect', function onconnect() {\n storeReady = true\n })\n\n return function session(req, res, next) {\n // self-awareness\n if (req.session) {\n next()\n return\n }\n\n // Handle connection as if there is no session if\n // the store has temporarily disconnected etc\n if (!storeReady) {\n debug('store is disconnected')\n next()\n return\n }\n\n // pathname mismatch\n var originalPath = parseUrl.original(req).pathname || '/'\n if (originalPath.indexOf(cookieOptions.path || '/') !== 0) return next();\n\n // ensure a secret is available or bail\n if (!secret && !req.secret) {\n next(new Error('secret option required for sessions'));\n return;\n }\n\n // backwards compatibility for signed cookies\n // req.secret is passed from the cookie parser middleware\n var secrets = secret || [req.secret];\n\n var originalHash;\n var originalId;\n var savedHash;\n var touched = false\n\n // expose store\n req.sessionStore = store;\n\n // get the session ID from the cookie\n var cookieId = req.sessionID = getcookie(req, name, secrets);\n\n // set-cookie\n onHeaders(res, function(){\n if (!req.session) {\n debug('no session');\n return;\n }\n\n if (!shouldSetCookie(req)) {\n return;\n }\n\n // only send secure cookies via https\n if (req.session.cookie.secure && !issecure(req, trustProxy)) {\n debug('not secured');\n return;\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n // set cookie\n setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data);\n });\n\n // proxy end() to commit the session\n var _end = res.end;\n var _write = res.write;\n var ended = false;\n res.end = function end(chunk, encoding) {\n if (ended) {\n return false;\n }\n\n ended = true;\n\n var ret;\n var sync = true;\n\n function writeend() {\n if (sync) {\n ret = _end.call(res, chunk, encoding);\n sync = false;\n return;\n }\n\n _end.call(res);\n }\n\n function writetop() {\n if (!sync) {\n return ret;\n }\n\n if (!res._header) {\n res._implicitHeader()\n }\n\n if (chunk == null) {\n ret = true;\n return ret;\n }\n\n var contentLength = Number(res.getHeader('Content-Length'));\n\n if (!isNaN(contentLength) && contentLength > 0) {\n // measure chunk\n chunk = !Buffer.isBuffer(chunk)\n ? Buffer.from(chunk, encoding)\n : chunk;\n encoding = undefined;\n\n if (chunk.length !== 0) {\n debug('split response');\n ret = _write.call(res, chunk.slice(0, chunk.length - 1));\n chunk = chunk.slice(chunk.length - 1, chunk.length);\n return ret;\n }\n }\n\n ret = _write.call(res, chunk, encoding);\n sync = false;\n\n return ret;\n }\n\n if (shouldDestroy(req)) {\n // destroy session\n debug('destroying');\n store.destroy(req.sessionID, function ondestroy(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('destroyed');\n writeend();\n });\n\n return writetop();\n }\n\n // no session to save\n if (!req.session) {\n debug('no session');\n return _end.call(res, chunk, encoding);\n }\n\n if (!touched) {\n // touch session\n req.session.touch()\n touched = true\n }\n\n if (shouldSave(req)) {\n req.session.save(function onsave(err) {\n if (err) {\n defer(next, err);\n }\n\n writeend();\n });\n\n return writetop();\n } else if (storeImplementsTouch && shouldTouch(req)) {\n // store implements touch method\n debug('touching');\n store.touch(req.sessionID, req.session, function ontouch(err) {\n if (err) {\n defer(next, err);\n }\n\n debug('touched');\n writeend();\n });\n\n return writetop();\n }\n\n return _end.call(res, chunk, encoding);\n };\n\n // generate the session\n function generate() {\n store.generate(req);\n originalId = req.sessionID;\n originalHash = hash(req.session);\n wrapmethods(req.session);\n }\n\n // inflate the session\n function inflate (req, sess) {\n store.createSession(req, sess)\n originalId = req.sessionID\n originalHash = hash(sess)\n\n if (!resaveSession) {\n savedHash = originalHash\n }\n\n wrapmethods(req.session)\n }\n\n function rewrapmethods (sess, callback) {\n return function () {\n if (req.session !== sess) {\n wrapmethods(req.session)\n }\n\n callback.apply(this, arguments)\n }\n }\n\n // wrap session methods\n function wrapmethods(sess) {\n var _reload = sess.reload\n var _save = sess.save;\n\n function reload(callback) {\n debug('reloading %s', this.id)\n _reload.call(this, rewrapmethods(this, callback))\n }\n\n function save() {\n debug('saving %s', this.id);\n savedHash = hash(this);\n _save.apply(this, arguments);\n }\n\n Object.defineProperty(sess, 'reload', {\n configurable: true,\n enumerable: false,\n value: reload,\n writable: true\n })\n\n Object.defineProperty(sess, 'save', {\n configurable: true,\n enumerable: false,\n value: save,\n writable: true\n });\n }\n\n // check if session has been modified\n function isModified(sess) {\n return originalId !== sess.id || originalHash !== hash(sess);\n }\n\n // check if session has been saved\n function isSaved(sess) {\n return originalId === sess.id && savedHash === hash(sess);\n }\n\n // determine if session should be destroyed\n function shouldDestroy(req) {\n return req.sessionID && unsetDestroy && req.session == null;\n }\n\n // determine if session should be saved to store\n function shouldSave(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return !saveUninitializedSession && !savedHash && cookieId !== req.sessionID\n ? isModified(req.session)\n : !isSaved(req.session)\n }\n\n // determine if session should be touched\n function shouldTouch(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n debug('session ignored because of bogus req.sessionID %o', req.sessionID);\n return false;\n }\n\n return cookieId === req.sessionID && !shouldSave(req);\n }\n\n // determine if cookie should be set on response\n function shouldSetCookie(req) {\n // cannot set cookie without a session ID\n if (typeof req.sessionID !== 'string') {\n return false;\n }\n\n return cookieId !== req.sessionID\n ? saveUninitializedSession || isModified(req.session)\n : rollingSessions || req.session.cookie.expires != null && isModified(req.session);\n }\n\n // generate a session if the browser doesn't send a sessionID\n if (!req.sessionID) {\n debug('no SID sent, generating session');\n generate();\n next();\n return;\n }\n\n // generate the session object\n debug('fetching %s', req.sessionID);\n store.get(req.sessionID, function(err, sess){\n // error handling\n if (err && err.code !== 'ENOENT') {\n debug('error %j', err);\n next(err)\n return\n }\n\n try {\n if (err || !sess) {\n debug('no session found')\n generate()\n } else {\n debug('session found')\n inflate(req, sess)\n }\n } catch (e) {\n next(e)\n return\n }\n\n next()\n });\n };\n};\n\n/**\n * Generate a session ID for a new session.\n *\n * @return {String}\n * @private\n */\n\nfunction generateSessionId(sess) {\n return uid(24);\n}\n\n/**\n * Get the session ID cookie from request.\n *\n * @return {string}\n * @private\n */\n\nfunction getcookie(req, name, secrets) {\n var header = req.headers.cookie;\n var raw;\n var val;\n\n // read from cookie header\n if (header) {\n var cookies = cookie.parse(header);\n\n raw = cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n // back-compat read from cookieParser() signedCookies data\n if (!val && req.signedCookies) {\n val = req.signedCookies[name];\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n }\n\n // back-compat read from cookieParser() cookies data\n if (!val && req.cookies) {\n raw = req.cookies[name];\n\n if (raw) {\n if (raw.substr(0, 2) === 's:') {\n val = unsigncookie(raw.slice(2), secrets);\n\n if (val) {\n deprecate('cookie should be available in req.headers.cookie');\n }\n\n if (val === false) {\n debug('cookie signature invalid');\n val = undefined;\n }\n } else {\n debug('cookie unsigned')\n }\n }\n }\n\n return val;\n}\n\n/**\n * Hash the given `sess` object omitting changes to `.cookie`.\n *\n * @param {Object} sess\n * @return {String}\n * @private\n */\n\nfunction hash(sess) {\n // serialize\n var str = JSON.stringify(sess, function (key, val) {\n // ignore sess.cookie property\n if (this === sess && key === 'cookie') {\n return\n }\n\n return val\n })\n\n // hash\n return crypto\n .createHash('sha1')\n .update(str, 'utf8')\n .digest('hex')\n}\n\n/**\n * Determine if request is secure.\n *\n * @param {Object} req\n * @param {Boolean} [trustProxy]\n * @return {Boolean}\n * @private\n */\n\nfunction issecure(req, trustProxy) {\n // socket is https server\n if (req.connection && req.connection.encrypted) {\n return true;\n }\n\n // do not trust proxy\n if (trustProxy === false) {\n return false;\n }\n\n // no explicit trust; try req.secure from express\n if (trustProxy !== true) {\n return req.secure === true\n }\n\n // read the proto from x-forwarded-proto header\n var header = req.headers['x-forwarded-proto'] || '';\n var index = header.indexOf(',');\n var proto = index !== -1\n ? header.substr(0, index).toLowerCase().trim()\n : header.toLowerCase().trim()\n\n return proto === 'https';\n}\n\n/**\n * Set cookie on response.\n *\n * @private\n */\n\nfunction setcookie(res, name, val, secret, options) {\n var signed = 's:' + signature.sign(val, secret);\n var data = cookie.serialize(name, signed, options);\n\n debug('set-cookie %s', data);\n\n var prev = res.getHeader('Set-Cookie') || []\n var header = Array.isArray(prev) ? prev.concat(data) : [prev, data];\n\n res.setHeader('Set-Cookie', header)\n}\n\n/**\n * Verify and decode the given `val` with `secrets`.\n *\n * @param {String} val\n * @param {Array} secrets\n * @returns {String|Boolean}\n * @private\n */\nfunction unsigncookie(val, secrets) {\n for (var i = 0; i < secrets.length; i++) {\n var result = signature.unsign(val, secrets[i]);\n\n if (result !== false) {\n return result;\n }\n }\n\n return false;\n}\n","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome\n && 'undefined' != typeof chrome.storage\n ? chrome.storage.local\n : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n 'lightseagreen',\n 'forestgreen',\n 'goldenrod',\n 'dodgerblue',\n 'darkorchid',\n 'crimson'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n // double check webkit in userAgent just in case we are in a worker\n (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function(v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n\n args[0] = (useColors ? '%c' : '')\n + this.namespace\n + (useColors ? ' %c' : ' ')\n + args[0]\n + (useColors ? '%c ' : ' ')\n + '+' + exports.humanize(this.diff);\n\n if (!useColors) return;\n\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit')\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function(match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console\n && console.log\n && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch(e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch(e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0, i;\n\n for (i in namespace) {\n hash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n exports.names = [];\n exports.skips = [];\n\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/**\n * Detect Electron renderer process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process !== 'undefined' && process.type === 'renderer') {\n module.exports = require('./browser.js');\n} else {\n module.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nvar tty = require('tty');\nvar util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(function (key) {\n return /^debug_/i.test(key);\n}).reduce(function (obj, key) {\n // camel-case\n var prop = key\n .substring(6)\n .toLowerCase()\n .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });\n\n // coerce string value into JS value\n var val = process.env[key];\n if (/^(yes|on|true|enabled)$/i.test(val)) val = true;\n else if (/^(no|off|false|disabled)$/i.test(val)) val = false;\n else if (val === 'null') val = null;\n else val = Number(val);\n\n obj[prop] = val;\n return obj;\n}, {});\n\n/**\n * The file descriptor to write the `debug()` calls to.\n * Set the `DEBUG_FD` env variable to override with another value. i.e.:\n *\n * $ DEBUG_FD=3 node script.js 3>debug.log\n */\n\nvar fd = parseInt(process.env.DEBUG_FD, 10) || 2;\n\nif (1 !== fd && 2 !== fd) {\n util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()\n}\n\nvar stream = 1 === fd ? process.stdout :\n 2 === fd ? process.stderr :\n createWritableStdioStream(fd);\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n return 'colors' in exports.inspectOpts\n ? Boolean(exports.inspectOpts.colors)\n : tty.isatty(fd);\n}\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nexports.formatters.o = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts)\n .split('\\n').map(function(str) {\n return str.trim()\n }).join(' ');\n};\n\n/**\n * Map %o to `util.inspect()`, allowing multiple lines if needed.\n */\n\nexports.formatters.O = function(v) {\n this.inspectOpts.colors = this.useColors;\n return util.inspect(v, this.inspectOpts);\n};\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var name = this.namespace;\n var useColors = this.useColors;\n\n if (useColors) {\n var c = this.color;\n var prefix = ' \\u001b[3' + c + ';1m' + name + ' ' + '\\u001b[0m';\n\n args[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n args.push('\\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\\u001b[0m');\n } else {\n args[0] = new Date().toUTCString()\n + ' ' + name + ' ' + args[0];\n }\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to `stream`.\n */\n\nfunction log() {\n return stream.write(util.format.apply(util, arguments) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n if (null == namespaces) {\n // If you set a process.env field to null or undefined, it gets cast to the\n // string 'null' or 'undefined'. Just delete instead.\n delete process.env.DEBUG;\n } else {\n process.env.DEBUG = namespaces;\n }\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n return process.env.DEBUG;\n}\n\n/**\n * Copied from `node/src/node.js`.\n *\n * XXX: It's lame that node doesn't expose this API out-of-the-box. It also\n * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.\n */\n\nfunction createWritableStdioStream (fd) {\n var stream;\n var tty_wrap = process.binding('tty_wrap');\n\n // Note stream._type is used for test-module-load-list.js\n\n switch (tty_wrap.guessHandleType(fd)) {\n case 'TTY':\n stream = new tty.WriteStream(fd);\n stream._type = 'tty';\n\n // Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n case 'FILE':\n var fs = require('fs');\n stream = new fs.SyncWriteStream(fd, { autoClose: false });\n stream._type = 'fs';\n break;\n\n case 'PIPE':\n case 'TCP':\n var net = require('net');\n stream = new net.Socket({\n fd: fd,\n readable: false,\n writable: true\n });\n\n // FIXME Should probably have an option in net.Socket to create a\n // stream from an existing fd which is writable only. But for now\n // we'll just add this hack and set the `readable` member to false.\n // Test: ./node test/fixtures/echo.js < /etc/passwd\n stream.readable = false;\n stream.read = null;\n stream._type = 'pipe';\n\n // FIXME Hack to have stream not keep the event loop alive.\n // See https://github.com/joyent/node/issues/1726\n if (stream._handle && stream._handle.unref) {\n stream._handle.unref();\n }\n break;\n\n default:\n // Probably an error on in uv_guess_handle()\n throw new Error('Implement me. Unknown stream file type!');\n }\n\n // For supporting legacy API we put the FD here.\n stream.fd = fd;\n\n stream._isStdio = true;\n\n return stream;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init (debug) {\n debug.inspectOpts = {};\n\n var keys = Object.keys(exports.inspectOpts);\n for (var i = 0; i < keys.length; i++) {\n debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n }\n}\n\n/**\n * Enable namespaces listed in `process.env.DEBUG` initially.\n */\n\nexports.enable(load());\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') ||\n plural(ms, h, 'hour') ||\n plural(ms, m, 'minute') ||\n plural(ms, s, 'second') ||\n ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","/*!\n * Connect - session - Cookie\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n */\n\nvar cookie = require('cookie')\nvar deprecate = require('depd')('express-session')\n\n/**\n * Initialize a new `Cookie` with the given `options`.\n *\n * @param {IncomingMessage} req\n * @param {Object} options\n * @api private\n */\n\nvar Cookie = module.exports = function Cookie(options) {\n this.path = '/';\n this.maxAge = null;\n this.httpOnly = true;\n\n if (options) {\n if (typeof options !== 'object') {\n throw new TypeError('argument options must be a object')\n }\n\n for (var key in options) {\n if (key !== 'data') {\n this[key] = options[key]\n }\n }\n }\n\n if (this.originalMaxAge === undefined || this.originalMaxAge === null) {\n this.originalMaxAge = this.maxAge\n }\n};\n\n/*!\n * Prototype.\n */\n\nCookie.prototype = {\n\n /**\n * Set expires `date`.\n *\n * @param {Date} date\n * @api public\n */\n\n set expires(date) {\n this._expires = date;\n this.originalMaxAge = this.maxAge;\n },\n\n /**\n * Get expires `date`.\n *\n * @return {Date}\n * @api public\n */\n\n get expires() {\n return this._expires;\n },\n\n /**\n * Set expires via max-age in `ms`.\n *\n * @param {Number} ms\n * @api public\n */\n\n set maxAge(ms) {\n if (ms && typeof ms !== 'number' && !(ms instanceof Date)) {\n throw new TypeError('maxAge must be a number or Date')\n }\n\n if (ms instanceof Date) {\n deprecate('maxAge as Date; pass number of milliseconds instead')\n }\n\n this.expires = typeof ms === 'number'\n ? new Date(Date.now() + ms)\n : ms;\n },\n\n /**\n * Get expires max-age in `ms`.\n *\n * @return {Number}\n * @api public\n */\n\n get maxAge() {\n return this.expires instanceof Date\n ? this.expires.valueOf() - Date.now()\n : this.expires;\n },\n\n /**\n * Return cookie data object.\n *\n * @return {Object}\n * @api private\n */\n\n get data() {\n return {\n originalMaxAge: this.originalMaxAge\n , expires: this._expires\n , secure: this.secure\n , httpOnly: this.httpOnly\n , domain: this.domain\n , path: this.path\n , sameSite: this.sameSite\n }\n },\n\n /**\n * Return a serialized cookie string.\n *\n * @return {String}\n * @api public\n */\n\n serialize: function(name, val){\n return cookie.serialize(name, val, this.data);\n },\n\n /**\n * Return JSON representation of this cookie.\n *\n * @return {Object}\n * @api private\n */\n\n toJSON: function(){\n return this.data;\n }\n};\n","/*!\n * express-session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Store = require('./store')\nvar util = require('util')\n\n/**\n * Shim setImmediate for node.js < 0.10\n * @private\n */\n\n/* istanbul ignore next */\nvar defer = typeof setImmediate === 'function'\n ? setImmediate\n : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }\n\n/**\n * Module exports.\n */\n\nmodule.exports = MemoryStore\n\n/**\n * A session store in memory.\n * @public\n */\n\nfunction MemoryStore() {\n Store.call(this)\n this.sessions = Object.create(null)\n}\n\n/**\n * Inherit from Store.\n */\n\nutil.inherits(MemoryStore, Store)\n\n/**\n * Get all active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.all = function all(callback) {\n var sessionIds = Object.keys(this.sessions)\n var sessions = Object.create(null)\n\n for (var i = 0; i < sessionIds.length; i++) {\n var sessionId = sessionIds[i]\n var session = getSession.call(this, sessionId)\n\n if (session) {\n sessions[sessionId] = session;\n }\n }\n\n callback && defer(callback, null, sessions)\n}\n\n/**\n * Clear all sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.clear = function clear(callback) {\n this.sessions = Object.create(null)\n callback && defer(callback)\n}\n\n/**\n * Destroy the session associated with the given session ID.\n *\n * @param {string} sessionId\n * @public\n */\n\nMemoryStore.prototype.destroy = function destroy(sessionId, callback) {\n delete this.sessions[sessionId]\n callback && defer(callback)\n}\n\n/**\n * Fetch session by the given session ID.\n *\n * @param {string} sessionId\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.get = function get(sessionId, callback) {\n defer(callback, null, getSession.call(this, sessionId))\n}\n\n/**\n * Commit the given session associated with the given sessionId to the store.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.set = function set(sessionId, session, callback) {\n this.sessions[sessionId] = JSON.stringify(session)\n callback && defer(callback)\n}\n\n/**\n * Get number of active sessions.\n *\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.length = function length(callback) {\n this.all(function (err, sessions) {\n if (err) return callback(err)\n callback(null, Object.keys(sessions).length)\n })\n}\n\n/**\n * Touch the given session object associated with the given session ID.\n *\n * @param {string} sessionId\n * @param {object} session\n * @param {function} callback\n * @public\n */\n\nMemoryStore.prototype.touch = function touch(sessionId, session, callback) {\n var currentSession = getSession.call(this, sessionId)\n\n if (currentSession) {\n // update expiration\n currentSession.cookie = session.cookie\n this.sessions[sessionId] = JSON.stringify(currentSession)\n }\n\n callback && defer(callback)\n}\n\n/**\n * Get session from the store.\n * @private\n */\n\nfunction getSession(sessionId) {\n var sess = this.sessions[sessionId]\n\n if (!sess) {\n return\n }\n\n // parse\n sess = JSON.parse(sess)\n\n if (sess.cookie) {\n var expires = typeof sess.cookie.expires === 'string'\n ? new Date(sess.cookie.expires)\n : sess.cookie.expires\n\n // destroy expired session\n if (expires && expires <= Date.now()) {\n delete this.sessions[sessionId]\n return\n }\n }\n\n return sess\n}\n","/*!\n * Connect - session - Session\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Expose Session.\n */\n\nmodule.exports = Session;\n\n/**\n * Create a new `Session` with the given request and `data`.\n *\n * @param {IncomingRequest} req\n * @param {Object} data\n * @api private\n */\n\nfunction Session(req, data) {\n Object.defineProperty(this, 'req', { value: req });\n Object.defineProperty(this, 'id', { value: req.sessionID });\n\n if (typeof data === 'object' && data !== null) {\n // merge data into this, ignoring prototype properties\n for (var prop in data) {\n if (!(prop in this)) {\n this[prop] = data[prop]\n }\n }\n }\n}\n\n/**\n * Update reset `.cookie.maxAge` to prevent\n * the cookie from expiring when the\n * session is still active.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'touch', function touch() {\n return this.resetMaxAge();\n});\n\n/**\n * Reset `.maxAge` to `.originalMaxAge`.\n *\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'resetMaxAge', function resetMaxAge() {\n this.cookie.maxAge = this.cookie.originalMaxAge;\n return this;\n});\n\n/**\n * Save the session data with optional callback `fn(err)`.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'save', function save(fn) {\n this.req.sessionStore.set(this.id, this, fn || function(){});\n return this;\n});\n\n/**\n * Re-loads the session data _without_ altering\n * the maxAge properties. Invokes the callback `fn(err)`,\n * after which time if no exception has occurred the\n * `req.session` property will be a new `Session` object,\n * although representing the same session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'reload', function reload(fn) {\n var req = this.req\n var store = this.req.sessionStore\n\n store.get(this.id, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn(new Error('failed to load session'));\n store.createSession(req, sess);\n fn();\n });\n return this;\n});\n\n/**\n * Destroy `this` session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'destroy', function destroy(fn) {\n delete this.req.session;\n this.req.sessionStore.destroy(this.id, fn);\n return this;\n});\n\n/**\n * Regenerate this request's session.\n *\n * @param {Function} fn\n * @return {Session} for chaining\n * @api public\n */\n\ndefineMethod(Session.prototype, 'regenerate', function regenerate(fn) {\n this.req.sessionStore.regenerate(this.req, fn);\n return this;\n});\n\n/**\n * Helper function for creating a method on a prototype.\n *\n * @param {Object} obj\n * @param {String} name\n * @param {Function} fn\n * @private\n */\nfunction defineMethod(obj, name, fn) {\n Object.defineProperty(obj, name, {\n configurable: true,\n enumerable: false,\n value: fn,\n writable: true\n });\n};\n","/*!\n * Connect - session - Store\n * Copyright(c) 2010 Sencha Inc.\n * Copyright(c) 2011 TJ Holowaychuk\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar Cookie = require('./cookie')\nvar EventEmitter = require('events').EventEmitter\nvar Session = require('./session')\nvar util = require('util')\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = Store\n\n/**\n * Abstract base class for session stores.\n * @public\n */\n\nfunction Store () {\n EventEmitter.call(this)\n}\n\n/**\n * Inherit from EventEmitter.\n */\n\nutil.inherits(Store, EventEmitter)\n\n/**\n * Re-generate the given requests's session.\n *\n * @param {IncomingRequest} req\n * @return {Function} fn\n * @api public\n */\n\nStore.prototype.regenerate = function(req, fn){\n var self = this;\n this.destroy(req.sessionID, function(err){\n self.generate(req);\n fn(err);\n });\n};\n\n/**\n * Load a `Session` instance via the given `sid`\n * and invoke the callback `fn(err, sess)`.\n *\n * @param {String} sid\n * @param {Function} fn\n * @api public\n */\n\nStore.prototype.load = function(sid, fn){\n var self = this;\n this.get(sid, function(err, sess){\n if (err) return fn(err);\n if (!sess) return fn();\n var req = { sessionID: sid, sessionStore: self };\n fn(null, self.createSession(req, sess))\n });\n};\n\n/**\n * Create session from JSON `sess` data.\n *\n * @param {IncomingRequest} req\n * @param {Object} sess\n * @return {Session}\n * @api private\n */\n\nStore.prototype.createSession = function(req, sess){\n var expires = sess.cookie.expires\n var originalMaxAge = sess.cookie.originalMaxAge\n\n sess.cookie = new Cookie(sess.cookie);\n\n if (typeof expires === 'string') {\n // convert expires to a Date object\n sess.cookie.expires = new Date(expires)\n }\n\n // keep originalMaxAge intact\n sess.cookie.originalMaxAge = originalMaxAge\n\n req.session = new Session(req, sess);\n return req.session;\n};\n","var debug;\n\nmodule.exports = function () {\n if (!debug) {\n try {\n /* eslint global-require: off */\n debug = require(\"debug\")(\"follow-redirects\");\n }\n catch (error) { /* */ }\n if (typeof debug !== \"function\") {\n debug = function () { /* */ };\n }\n }\n debug.apply(null, arguments);\n};\n","var url = require(\"url\");\nvar URL = url.URL;\nvar http = require(\"http\");\nvar https = require(\"https\");\nvar Writable = require(\"stream\").Writable;\nvar assert = require(\"assert\");\nvar debug = require(\"./debug\");\n\n// Create handlers that pass events from native requests\nvar events = [\"abort\", \"aborted\", \"connect\", \"error\", \"socket\", \"timeout\"];\nvar eventHandlers = Object.create(null);\nevents.forEach(function (event) {\n eventHandlers[event] = function (arg1, arg2, arg3) {\n this._redirectable.emit(event, arg1, arg2, arg3);\n };\n});\n\nvar InvalidUrlError = createErrorType(\n \"ERR_INVALID_URL\",\n \"Invalid URL\",\n TypeError\n);\n// Error types with codes\nvar RedirectionError = createErrorType(\n \"ERR_FR_REDIRECTION_FAILURE\",\n \"Redirected request failed\"\n);\nvar TooManyRedirectsError = createErrorType(\n \"ERR_FR_TOO_MANY_REDIRECTS\",\n \"Maximum number of redirects exceeded\"\n);\nvar MaxBodyLengthExceededError = createErrorType(\n \"ERR_FR_MAX_BODY_LENGTH_EXCEEDED\",\n \"Request body larger than maxBodyLength limit\"\n);\nvar WriteAfterEndError = createErrorType(\n \"ERR_STREAM_WRITE_AFTER_END\",\n \"write after end\"\n);\n\n// An HTTP(S) request that can be redirected\nfunction RedirectableRequest(options, responseCallback) {\n // Initialize the request\n Writable.call(this);\n this._sanitizeOptions(options);\n this._options = options;\n this._ended = false;\n this._ending = false;\n this._redirectCount = 0;\n this._redirects = [];\n this._requestBodyLength = 0;\n this._requestBodyBuffers = [];\n\n // Attach a callback if passed\n if (responseCallback) {\n this.on(\"response\", responseCallback);\n }\n\n // React to responses of native requests\n var self = this;\n this._onNativeResponse = function (response) {\n self._processResponse(response);\n };\n\n // Perform the first request\n this._performRequest();\n}\nRedirectableRequest.prototype = Object.create(Writable.prototype);\n\nRedirectableRequest.prototype.abort = function () {\n abortRequest(this._currentRequest);\n this.emit(\"abort\");\n};\n\n// Writes buffered data to the current native request\nRedirectableRequest.prototype.write = function (data, encoding, callback) {\n // Writing is not allowed if end has been called\n if (this._ending) {\n throw new WriteAfterEndError();\n }\n\n // Validate input and shift parameters if necessary\n if (!isString(data) && !isBuffer(data)) {\n throw new TypeError(\"data should be a string, Buffer or Uint8Array\");\n }\n if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Ignore empty buffers, since writing them doesn't invoke the callback\n // https://github.com/nodejs/node/issues/22066\n if (data.length === 0) {\n if (callback) {\n callback();\n }\n return;\n }\n // Only write when we don't exceed the maximum body length\n if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {\n this._requestBodyLength += data.length;\n this._requestBodyBuffers.push({ data: data, encoding: encoding });\n this._currentRequest.write(data, encoding, callback);\n }\n // Error when we exceed the maximum body length\n else {\n this.emit(\"error\", new MaxBodyLengthExceededError());\n this.abort();\n }\n};\n\n// Ends the current native request\nRedirectableRequest.prototype.end = function (data, encoding, callback) {\n // Shift parameters if necessary\n if (isFunction(data)) {\n callback = data;\n data = encoding = null;\n }\n else if (isFunction(encoding)) {\n callback = encoding;\n encoding = null;\n }\n\n // Write data if needed and end\n if (!data) {\n this._ended = this._ending = true;\n this._currentRequest.end(null, null, callback);\n }\n else {\n var self = this;\n var currentRequest = this._currentRequest;\n this.write(data, encoding, function () {\n self._ended = true;\n currentRequest.end(null, null, callback);\n });\n this._ending = true;\n }\n};\n\n// Sets a header value on the current native request\nRedirectableRequest.prototype.setHeader = function (name, value) {\n this._options.headers[name] = value;\n this._currentRequest.setHeader(name, value);\n};\n\n// Clears a header value on the current native request\nRedirectableRequest.prototype.removeHeader = function (name) {\n delete this._options.headers[name];\n this._currentRequest.removeHeader(name);\n};\n\n// Global timeout for all underlying requests\nRedirectableRequest.prototype.setTimeout = function (msecs, callback) {\n var self = this;\n\n // Destroys the socket on timeout\n function destroyOnTimeout(socket) {\n socket.setTimeout(msecs);\n socket.removeListener(\"timeout\", socket.destroy);\n socket.addListener(\"timeout\", socket.destroy);\n }\n\n // Sets up a timer to trigger a timeout event\n function startTimer(socket) {\n if (self._timeout) {\n clearTimeout(self._timeout);\n }\n self._timeout = setTimeout(function () {\n self.emit(\"timeout\");\n clearTimer();\n }, msecs);\n destroyOnTimeout(socket);\n }\n\n // Stops a timeout from triggering\n function clearTimer() {\n // Clear the timeout\n if (self._timeout) {\n clearTimeout(self._timeout);\n self._timeout = null;\n }\n\n // Clean up all attached listeners\n self.removeListener(\"abort\", clearTimer);\n self.removeListener(\"error\", clearTimer);\n self.removeListener(\"response\", clearTimer);\n if (callback) {\n self.removeListener(\"timeout\", callback);\n }\n if (!self.socket) {\n self._currentRequest.removeListener(\"socket\", startTimer);\n }\n }\n\n // Attach callback if passed\n if (callback) {\n this.on(\"timeout\", callback);\n }\n\n // Start the timer if or when the socket is opened\n if (this.socket) {\n startTimer(this.socket);\n }\n else {\n this._currentRequest.once(\"socket\", startTimer);\n }\n\n // Clean up on events\n this.on(\"socket\", destroyOnTimeout);\n this.on(\"abort\", clearTimer);\n this.on(\"error\", clearTimer);\n this.on(\"response\", clearTimer);\n\n return this;\n};\n\n// Proxy all other public ClientRequest methods\n[\n \"flushHeaders\", \"getHeader\",\n \"setNoDelay\", \"setSocketKeepAlive\",\n].forEach(function (method) {\n RedirectableRequest.prototype[method] = function (a, b) {\n return this._currentRequest[method](a, b);\n };\n});\n\n// Proxy all public ClientRequest properties\n[\"aborted\", \"connection\", \"socket\"].forEach(function (property) {\n Object.defineProperty(RedirectableRequest.prototype, property, {\n get: function () { return this._currentRequest[property]; },\n });\n});\n\nRedirectableRequest.prototype._sanitizeOptions = function (options) {\n // Ensure headers are always present\n if (!options.headers) {\n options.headers = {};\n }\n\n // Since http.request treats host as an alias of hostname,\n // but the url module interprets host as hostname plus port,\n // eliminate the host property to avoid confusion.\n if (options.host) {\n // Use hostname if set, because it has precedence\n if (!options.hostname) {\n options.hostname = options.host;\n }\n delete options.host;\n }\n\n // Complete the URL object when necessary\n if (!options.pathname && options.path) {\n var searchPos = options.path.indexOf(\"?\");\n if (searchPos < 0) {\n options.pathname = options.path;\n }\n else {\n options.pathname = options.path.substring(0, searchPos);\n options.search = options.path.substring(searchPos);\n }\n }\n};\n\n\n// Executes the next native request (initial or redirect)\nRedirectableRequest.prototype._performRequest = function () {\n // Load the native protocol\n var protocol = this._options.protocol;\n var nativeProtocol = this._options.nativeProtocols[protocol];\n if (!nativeProtocol) {\n this.emit(\"error\", new TypeError(\"Unsupported protocol \" + protocol));\n return;\n }\n\n // If specified, use the agent corresponding to the protocol\n // (HTTP and HTTPS use different types of agents)\n if (this._options.agents) {\n var scheme = protocol.slice(0, -1);\n this._options.agent = this._options.agents[scheme];\n }\n\n // Create the native request and set up its event handlers\n var request = this._currentRequest =\n nativeProtocol.request(this._options, this._onNativeResponse);\n request._redirectable = this;\n for (var event of events) {\n request.on(event, eventHandlers[event]);\n }\n\n // RFC7230§5.3.1: When making a request directly to an origin server, […]\n // a client MUST send only the absolute path […] as the request-target.\n this._currentUrl = /^\\//.test(this._options.path) ?\n url.format(this._options) :\n // When making a request to a proxy, […]\n // a client MUST send the target URI in absolute-form […].\n this._options.path;\n\n // End a redirected request\n // (The first request must be ended explicitly with RedirectableRequest#end)\n if (this._isRedirect) {\n // Write the request entity and end\n var i = 0;\n var self = this;\n var buffers = this._requestBodyBuffers;\n (function writeNext(error) {\n // Only write if this request has not been redirected yet\n /* istanbul ignore else */\n if (request === self._currentRequest) {\n // Report any write errors\n /* istanbul ignore if */\n if (error) {\n self.emit(\"error\", error);\n }\n // Write the next buffer if there are still left\n else if (i < buffers.length) {\n var buffer = buffers[i++];\n /* istanbul ignore else */\n if (!request.finished) {\n request.write(buffer.data, buffer.encoding, writeNext);\n }\n }\n // End the request if `end` has been called on us\n else if (self._ended) {\n request.end();\n }\n }\n }());\n }\n};\n\n// Processes a response from the current native request\nRedirectableRequest.prototype._processResponse = function (response) {\n // Store the redirected response\n var statusCode = response.statusCode;\n if (this._options.trackRedirects) {\n this._redirects.push({\n url: this._currentUrl,\n headers: response.headers,\n statusCode: statusCode,\n });\n }\n\n // RFC7231§6.4: The 3xx (Redirection) class of status code indicates\n // that further action needs to be taken by the user agent in order to\n // fulfill the request. If a Location header field is provided,\n // the user agent MAY automatically redirect its request to the URI\n // referenced by the Location field value,\n // even if the specific status code is not understood.\n\n // If the response is not a redirect; return it as-is\n var location = response.headers.location;\n if (!location || this._options.followRedirects === false ||\n statusCode < 300 || statusCode >= 400) {\n response.responseUrl = this._currentUrl;\n response.redirects = this._redirects;\n this.emit(\"response\", response);\n\n // Clean up\n this._requestBodyBuffers = [];\n return;\n }\n\n // The response is a redirect, so abort the current request\n abortRequest(this._currentRequest);\n // Discard the remainder of the response to avoid waiting for data\n response.destroy();\n\n // RFC7231§6.4: A client SHOULD detect and intervene\n // in cyclical redirections (i.e., \"infinite\" redirection loops).\n if (++this._redirectCount > this._options.maxRedirects) {\n this.emit(\"error\", new TooManyRedirectsError());\n return;\n }\n\n // Store the request headers if applicable\n var requestHeaders;\n var beforeRedirect = this._options.beforeRedirect;\n if (beforeRedirect) {\n requestHeaders = Object.assign({\n // The Host header was set by nativeProtocol.request\n Host: response.req.getHeader(\"host\"),\n }, this._options.headers);\n }\n\n // RFC7231§6.4: Automatic redirection needs to done with\n // care for methods not known to be safe, […]\n // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change\n // the request method from POST to GET for the subsequent request.\n var method = this._options.method;\n if ((statusCode === 301 || statusCode === 302) && this._options.method === \"POST\" ||\n // RFC7231§6.4.4: The 303 (See Other) status code indicates that\n // the server is redirecting the user agent to a different resource […]\n // A user agent can perform a retrieval request targeting that URI\n // (a GET or HEAD request if using HTTP) […]\n (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {\n this._options.method = \"GET\";\n // Drop a possible entity and headers related to it\n this._requestBodyBuffers = [];\n removeMatchingHeaders(/^content-/i, this._options.headers);\n }\n\n // Drop the Host header, as the redirect might lead to a different host\n var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);\n\n // If the redirect is relative, carry over the host of the last request\n var currentUrlParts = url.parse(this._currentUrl);\n var currentHost = currentHostHeader || currentUrlParts.host;\n var currentUrl = /^\\w+:/.test(location) ? this._currentUrl :\n url.format(Object.assign(currentUrlParts, { host: currentHost }));\n\n // Determine the URL of the redirection\n var redirectUrl;\n try {\n redirectUrl = url.resolve(currentUrl, location);\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n return;\n }\n\n // Create the redirected request\n debug(\"redirecting to\", redirectUrl);\n this._isRedirect = true;\n var redirectUrlParts = url.parse(redirectUrl);\n Object.assign(this._options, redirectUrlParts);\n\n // Drop confidential headers when redirecting to a less secure protocol\n // or to a different domain that is not a superdomain\n if (redirectUrlParts.protocol !== currentUrlParts.protocol &&\n redirectUrlParts.protocol !== \"https:\" ||\n redirectUrlParts.host !== currentHost &&\n !isSubdomain(redirectUrlParts.host, currentHost)) {\n removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);\n }\n\n // Evaluate the beforeRedirect callback\n if (isFunction(beforeRedirect)) {\n var responseDetails = {\n headers: response.headers,\n statusCode: statusCode,\n };\n var requestDetails = {\n url: currentUrl,\n method: method,\n headers: requestHeaders,\n };\n try {\n beforeRedirect(this._options, responseDetails, requestDetails);\n }\n catch (err) {\n this.emit(\"error\", err);\n return;\n }\n this._sanitizeOptions(this._options);\n }\n\n // Perform the redirected request\n try {\n this._performRequest();\n }\n catch (cause) {\n this.emit(\"error\", new RedirectionError({ cause: cause }));\n }\n};\n\n// Wraps the key/value object of protocols with redirect functionality\nfunction wrap(protocols) {\n // Default settings\n var exports = {\n maxRedirects: 21,\n maxBodyLength: 10 * 1024 * 1024,\n };\n\n // Wrap each protocol\n var nativeProtocols = {};\n Object.keys(protocols).forEach(function (scheme) {\n var protocol = scheme + \":\";\n var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];\n var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);\n\n // Executes a request, following redirects\n function request(input, options, callback) {\n // Parse parameters\n if (isString(input)) {\n var parsed;\n try {\n parsed = urlToOptions(new URL(input));\n }\n catch (err) {\n /* istanbul ignore next */\n parsed = url.parse(input);\n }\n if (!isString(parsed.protocol)) {\n throw new InvalidUrlError({ input });\n }\n input = parsed;\n }\n else if (URL && (input instanceof URL)) {\n input = urlToOptions(input);\n }\n else {\n callback = options;\n options = input;\n input = { protocol: protocol };\n }\n if (isFunction(options)) {\n callback = options;\n options = null;\n }\n\n // Set defaults\n options = Object.assign({\n maxRedirects: exports.maxRedirects,\n maxBodyLength: exports.maxBodyLength,\n }, input, options);\n options.nativeProtocols = nativeProtocols;\n if (!isString(options.host) && !isString(options.hostname)) {\n options.hostname = \"::1\";\n }\n\n assert.equal(options.protocol, protocol, \"protocol mismatch\");\n debug(\"options\", options);\n return new RedirectableRequest(options, callback);\n }\n\n // Executes a GET request, following redirects\n function get(input, options, callback) {\n var wrappedRequest = wrappedProtocol.request(input, options, callback);\n wrappedRequest.end();\n return wrappedRequest;\n }\n\n // Expose the properties on the wrapped protocol\n Object.defineProperties(wrappedProtocol, {\n request: { value: request, configurable: true, enumerable: true, writable: true },\n get: { value: get, configurable: true, enumerable: true, writable: true },\n });\n });\n return exports;\n}\n\n/* istanbul ignore next */\nfunction noop() { /* empty */ }\n\n// from https://github.com/nodejs/node/blob/master/lib/internal/url.js\nfunction urlToOptions(urlObject) {\n var options = {\n protocol: urlObject.protocol,\n hostname: urlObject.hostname.startsWith(\"[\") ?\n /* istanbul ignore next */\n urlObject.hostname.slice(1, -1) :\n urlObject.hostname,\n hash: urlObject.hash,\n search: urlObject.search,\n pathname: urlObject.pathname,\n path: urlObject.pathname + urlObject.search,\n href: urlObject.href,\n };\n if (urlObject.port !== \"\") {\n options.port = Number(urlObject.port);\n }\n return options;\n}\n\nfunction removeMatchingHeaders(regex, headers) {\n var lastValue;\n for (var header in headers) {\n if (regex.test(header)) {\n lastValue = headers[header];\n delete headers[header];\n }\n }\n return (lastValue === null || typeof lastValue === \"undefined\") ?\n undefined : String(lastValue).trim();\n}\n\nfunction createErrorType(code, message, baseClass) {\n // Create constructor\n function CustomError(properties) {\n Error.captureStackTrace(this, this.constructor);\n Object.assign(this, properties || {});\n this.code = code;\n this.message = this.cause ? message + \": \" + this.cause.message : message;\n }\n\n // Attach constructor and set default properties\n CustomError.prototype = new (baseClass || Error)();\n CustomError.prototype.constructor = CustomError;\n CustomError.prototype.name = \"Error [\" + code + \"]\";\n return CustomError;\n}\n\nfunction abortRequest(request) {\n for (var event of events) {\n request.removeListener(event, eventHandlers[event]);\n }\n request.on(\"error\", noop);\n request.abort();\n}\n\nfunction isSubdomain(subdomain, domain) {\n assert(isString(subdomain) && isString(domain));\n var dot = subdomain.length - domain.length - 1;\n return dot > 0 && subdomain[dot] === \".\" && subdomain.endsWith(domain);\n}\n\nfunction isString(value) {\n return typeof value === \"string\" || value instanceof String;\n}\n\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\nfunction isBuffer(value) {\n return typeof value === \"object\" && (\"length\" in value);\n}\n\n// Exports\nmodule.exports = wrap({ http: http, https: https });\nmodule.exports.wrap = wrap;\n","'use strict';\n\nvar WHITELIST = [\n\t'ETIMEDOUT',\n\t'ECONNRESET',\n\t'EADDRINUSE',\n\t'ESOCKETTIMEDOUT',\n\t'ECONNREFUSED',\n\t'EPIPE',\n\t'EHOSTUNREACH',\n\t'EAI_AGAIN'\n];\n\nvar BLACKLIST = [\n\t'ENOTFOUND',\n\t'ENETUNREACH',\n\n\t// SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950\n\t'UNABLE_TO_GET_ISSUER_CERT',\n\t'UNABLE_TO_GET_CRL',\n\t'UNABLE_TO_DECRYPT_CERT_SIGNATURE',\n\t'UNABLE_TO_DECRYPT_CRL_SIGNATURE',\n\t'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',\n\t'CERT_SIGNATURE_FAILURE',\n\t'CRL_SIGNATURE_FAILURE',\n\t'CERT_NOT_YET_VALID',\n\t'CERT_HAS_EXPIRED',\n\t'CRL_NOT_YET_VALID',\n\t'CRL_HAS_EXPIRED',\n\t'ERROR_IN_CERT_NOT_BEFORE_FIELD',\n\t'ERROR_IN_CERT_NOT_AFTER_FIELD',\n\t'ERROR_IN_CRL_LAST_UPDATE_FIELD',\n\t'ERROR_IN_CRL_NEXT_UPDATE_FIELD',\n\t'OUT_OF_MEM',\n\t'DEPTH_ZERO_SELF_SIGNED_CERT',\n\t'SELF_SIGNED_CERT_IN_CHAIN',\n\t'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n\t'UNABLE_TO_VERIFY_LEAF_SIGNATURE',\n\t'CERT_CHAIN_TOO_LONG',\n\t'CERT_REVOKED',\n\t'INVALID_CA',\n\t'PATH_LENGTH_EXCEEDED',\n\t'INVALID_PURPOSE',\n\t'CERT_UNTRUSTED',\n\t'CERT_REJECTED'\n];\n\nmodule.exports = function (err) {\n\tif (!err || !err.code) {\n\t\treturn true;\n\t}\n\n\tif (WHITELIST.indexOf(err.code) !== -1) {\n\t\treturn true;\n\t}\n\n\tif (BLACKLIST.indexOf(err.code) !== -1) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","const Kafka = require('./src')\nconst PartitionAssigners = require('./src/consumer/assigners')\nconst AssignerProtocol = require('./src/consumer/assignerProtocol')\nconst Partitioners = require('./src/producer/partitioners')\nconst Compression = require('./src/protocol/message/compression')\nconst ResourceTypes = require('./src/protocol/resourceTypes')\nconst ConfigResourceTypes = require('./src/protocol/configResourceTypes')\nconst ConfigSource = require('./src/protocol/configSource')\nconst AclResourceTypes = require('./src/protocol/aclResourceTypes')\nconst AclOperationTypes = require('./src/protocol/aclOperationTypes')\nconst AclPermissionTypes = require('./src/protocol/aclPermissionTypes')\nconst ResourcePatternTypes = require('./src/protocol/resourcePatternTypes')\nconst Errors = require('./src/errors')\nconst { LEVELS } = require('./src/loggers')\n\nmodule.exports = {\n Kafka,\n PartitionAssigners,\n AssignerProtocol,\n Partitioners,\n logLevel: LEVELS,\n CompressionTypes: Compression.Types,\n CompressionCodecs: Compression.Codecs,\n /**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\n ResourceTypes,\n ConfigResourceTypes,\n AclResourceTypes,\n AclOperationTypes,\n AclPermissionTypes,\n ResourcePatternTypes,\n ConfigSource,\n ...Errors,\n}\n","const createRetry = require('../retry')\nconst flatten = require('../utils/flatten')\nconst waitFor = require('../utils/waitFor')\nconst groupBy = require('../utils/groupBy')\nconst createConsumer = require('../consumer')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { LEVELS } = require('../loggers')\nconst {\n KafkaJSNonRetriableError,\n KafkaJSDeleteGroupsError,\n KafkaJSBrokerNotFound,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSAggregateError,\n} = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst CONFIG_RESOURCE_TYPES = require('../protocol/configResourceTypes')\nconst ACL_RESOURCE_TYPES = require('../protocol/aclResourceTypes')\nconst ACL_OPERATION_TYPES = require('../protocol/aclOperationTypes')\nconst ACL_PERMISSION_TYPES = require('../protocol/aclPermissionTypes')\nconst RESOURCE_PATTERN_TYPES = require('../protocol/resourcePatternTypes')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\n\nconst { CONNECT, DISCONNECT } = events\n\nconst NO_CONTROLLER_ID = -1\n\nconst { values, keys, entries } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `admin.events.${key}`)\n .join(', ')\n\nconst retryOnLeaderNotAvailable = (fn, opts = {}) => {\n const callback = async () => {\n try {\n return await fn()\n } catch (e) {\n if (e.type !== 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n return false\n }\n }\n\n return waitFor(callback, opts)\n}\n\nconst isConsumerGroupRunning = description => ['Empty', 'Dead'].includes(description.state)\nconst findTopicPartitions = async (cluster, topic) => {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n return cluster\n .findTopicPartitionMetadata(topic)\n .map(({ partitionId }) => partitionId)\n .sort()\n}\nconst indexByPartition = array =>\n array.reduce(\n (obj, { partition, ...props }) => Object.assign(obj, { [partition]: { ...props } }),\n {}\n )\n\n/**\n *\n * @param {Object} params\n * @param {import(\"../../types\").Logger} params.logger\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {import('../../types').RetryOptions} params.retry\n * @param {import(\"../../types\").Cluster} params.cluster\n *\n * @returns {import(\"../../types\").Admin}\n */\nmodule.exports = ({\n logger: rootLogger,\n instrumentationEmitter: rootInstrumentationEmitter,\n retry,\n cluster,\n}) => {\n const logger = rootLogger.namespace('Admin')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n\n /**\n * @returns {Promise}\n */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const disconnect = async () => {\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n }\n\n /**\n * @return {Promise}\n */\n const listTopics = async () => {\n const { topicMetadata } = await cluster.metadata()\n const topics = topicMetadata.map(t => t.topic)\n return topics\n }\n\n /**\n * @param {Object} request\n * @param {array} request.topics\n * @param {boolean} [request.validateOnly=false]\n * @param {number} [request.timeout=5000]\n * @param {boolean} [request.waitForLeaders=true]\n * @return {Promise}\n */\n const createTopics = async ({ topics, validateOnly, timeout, waitForLeaders = true }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topics.map(({ topic }) => topic))\n if (topicNames.size < topics.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topics array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createTopics({ topics, validateOnly, timeout })\n\n if (waitForLeaders) {\n const topicNamesArray = Array.from(topicNames.values())\n await retryOnLeaderNotAvailable(async () => await broker.metadata(topicNamesArray), {\n delay: 100,\n maxWait: timeout,\n timeoutMessage: 'Timed out while waiting for topic leaders',\n })\n }\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e instanceof KafkaJSAggregateError) {\n if (e.errors.every(error => error.type === 'TOPIC_ALREADY_EXISTS')) {\n return false\n }\n }\n\n bail(e)\n }\n })\n }\n /**\n * @param {array} topicPartitions\n * @param {boolean} [validateOnly=false]\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const createPartitions = async ({ topicPartitions, validateOnly, timeout }) => {\n if (!topicPartitions || !Array.isArray(topicPartitions)) {\n throw new KafkaJSNonRetriableError(`Invalid topic partitions array ${topicPartitions}`)\n }\n if (topicPartitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Empty topic partitions array`)\n }\n\n if (topicPartitions.filter(({ topic }) => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, the topic names have to be a valid string'\n )\n }\n\n const topicNames = new Set(topicPartitions.map(({ topic }) => topic))\n if (topicNames.size < topicPartitions.length) {\n throw new KafkaJSNonRetriableError(\n 'Invalid topic partitions array, it cannot have multiple entries for the same topic'\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createPartitions({ topicPartitions, validateOnly, timeout })\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string[]} topics\n * @param {number} [timeout=5000]\n * @return {Promise}\n */\n const deleteTopics = async ({ topics, timeout }) => {\n if (!topics || !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Invalid topics array ${topics}`)\n }\n\n if (topics.filter(topic => typeof topic !== 'string').length > 0) {\n throw new KafkaJSNonRetriableError('Invalid topics array, the names must be a valid string')\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.deleteTopics({ topics, timeout })\n\n // Remove deleted topics\n for (const topic of topics) {\n cluster.targetTopics.delete(topic)\n }\n\n await cluster.refreshMetadata()\n } catch (e) {\n if (['NOT_CONTROLLER', 'UNKNOWN_TOPIC_OR_PARTITION'].includes(e.type)) {\n logger.warn('Could not delete topics', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n if (e.type === 'REQUEST_TIMED_OUT') {\n logger.error(\n 'Could not delete topics, check if \"delete.topic.enable\" is set to \"true\" (the default value is \"false\") or increase the timeout',\n {\n error: e.message,\n retryCount,\n retryTime,\n }\n )\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n */\n\n const fetchTopicOffsets = async topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const low = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: true,\n partitions: metadata.map(p => ({ partition: p.partitionId })),\n },\n ])\n\n const { partitions: highPartitions } = high.pop()\n const { partitions: lowPartitions } = low.pop()\n return highPartitions.map(({ partition, offset }) => ({\n partition,\n offset,\n high: offset,\n low: lowPartitions.find(({ partition: lowPartition }) => lowPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {string} topic\n * @param {number} [timestamp]\n */\n\n const fetchTopicOffsetsByTimestamp = async (topic, timestamp) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.addTargetTopic(topic)\n await cluster.refreshMetadataIfNecessary()\n\n const metadata = cluster.findTopicPartitionMetadata(topic)\n const partitions = metadata.map(p => ({ partition: p.partitionId }))\n\n const high = await cluster.fetchTopicsOffset([\n {\n topic,\n fromBeginning: false,\n partitions,\n },\n ])\n const { partitions: highPartitions } = high.pop()\n\n const offsets = await cluster.fetchTopicsOffset([\n {\n topic,\n fromTimestamp: timestamp,\n partitions,\n },\n ])\n const { partitions: lowPartitions } = offsets.pop()\n\n return lowPartitions.map(({ partition, offset }) => ({\n partition,\n offset:\n parseInt(offset, 10) >= 0\n ? offset\n : highPartitions.find(({ partition: highPartition }) => highPartition === partition)\n .offset,\n }))\n } catch (e) {\n if (e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n await cluster.refreshMetadata()\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Fetch offsets for a topic or multiple topics\n *\n * Note: set either topic or topics but not both.\n *\n * @param {string} groupId\n * @param {string} topic - deprecated, use the `topics` parameter. Topic to fetch offsets for.\n * @param {string[]} topics - list of topics to fetch offsets for, defaults to `[]` which fetches all topics for `groupId`.\n * @param {boolean} [resolveOffsets=false]\n * @return {Promise}\n */\n const fetchOffsets = async ({ groupId, topic, topics, resolveOffsets = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic && !topics) {\n topics = []\n }\n\n if (!topic && !Array.isArray(topics)) {\n throw new KafkaJSNonRetriableError(`Expected topic or topics array to be set`)\n }\n\n if (topic && topics) {\n throw new KafkaJSNonRetriableError(`Either topic or topics must be set, not both`)\n }\n\n if (topic) {\n topics = [topic]\n }\n\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const topicsToFetch = await Promise.all(\n topics.map(async topic => {\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToFetch = partitions.map(partition => ({ partition }))\n return { topic, partitions: partitionsToFetch }\n })\n )\n let { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: topicsToFetch,\n })\n\n if (resolveOffsets) {\n consumerOffsets = await Promise.all(\n consumerOffsets.map(async ({ topic, partitions }) => {\n const indexedOffsets = indexByPartition(await fetchTopicOffsets(topic))\n const recalculatedPartitions = partitions.map(({ offset, partition, ...props }) => {\n let resolvedOffset = offset\n if (Number(offset) === EARLIEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].low\n }\n if (Number(offset) === LATEST_OFFSET) {\n resolvedOffset = indexedOffsets[partition].high\n }\n return {\n partition,\n offset: resolvedOffset,\n ...props,\n }\n })\n\n await setOffsets({ groupId, topic, partitions: recalculatedPartitions })\n\n return {\n topic,\n partitions: recalculatedPartitions,\n }\n })\n )\n }\n\n const result = consumerOffsets.map(({ topic, partitions }) => {\n const completePartitions = partitions.map(({ partition, offset, metadata }) => ({\n partition,\n offset,\n metadata: metadata || null,\n }))\n\n return { topic, partitions: completePartitions }\n })\n\n if (topic) {\n return result.pop().partitions\n } else {\n return result\n }\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {boolean} [earliest=false]\n * @return {Promise}\n */\n const resetOffsets = async ({ groupId, topic, earliest = false }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const partitions = await findTopicPartitions(cluster, topic)\n const partitionsToSeek = partitions.map(partition => ({\n partition,\n offset: cluster.defaultOffset({ fromBeginning: earliest }),\n }))\n\n return setOffsets({ groupId, topic, partitions: partitionsToSeek })\n }\n\n /**\n * @param {string} groupId\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const setOffsets = async ({ groupId, topic, partitions }) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId ${groupId}`)\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const consumer = createConsumer({\n logger: rootLogger.namespace('Admin', LEVELS.NOTHING),\n cluster,\n groupId,\n })\n\n await consumer.subscribe({ topic, fromBeginning: true })\n const description = await consumer.describeGroup()\n\n if (!isConsumerGroupRunning(description)) {\n throw new KafkaJSNonRetriableError(\n `The consumer group must have no running instances, current state: ${description.state}`\n )\n }\n\n return new Promise((resolve, reject) => {\n consumer.on(consumer.events.FETCH, async () =>\n consumer\n .stop()\n .then(resolve)\n .catch(reject)\n )\n\n consumer\n .run({\n eachBatchAutoResolve: false,\n eachBatch: async () => true,\n })\n .catch(reject)\n\n // This consumer doesn't need to consume any data\n consumer.pause([{ topic }])\n\n for (const seekData of partitions) {\n consumer.seek({ topic, ...seekData })\n }\n })\n }\n\n const isBrokerConfig = type =>\n [CONFIG_RESOURCE_TYPES.BROKER, CONFIG_RESOURCE_TYPES.BROKER_LOGGER].includes(type)\n\n /**\n * Broker configs can only be returned by the target broker\n *\n * @see\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L3783\n * https://github.com/apache/kafka/blob/821c1ac6641845aeca96a43bc2b946ecec5cba4f/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L2027\n *\n * @param {Broker} defaultBroker. Broker used in case the configuration is not a broker config\n */\n const groupResourcesByBroker = ({ resources, defaultBroker }) =>\n groupBy(resources, async ({ type, name: nodeId }) => {\n return isBrokerConfig(type)\n ? await cluster.findBroker({ nodeId: String(nodeId) })\n : defaultBroker\n })\n\n /**\n * @param {Array} resources\n * @param {boolean} [includeSynonyms=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfigQuery\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} [configNames=[]]\n */\n const describeConfigs = async ({ resources, includeSynonyms }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(\n r => !Array.isArray(r.configNames) && r.configNames != null\n )\n\n if (invalidConfigs) {\n const { configNames } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configNames ${configNames}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const describeConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.describeConfigs({\n resources: resourcerByBroker.get(targetBroker),\n includeSynonyms,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(describeConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} resources\n * @param {boolean} [validateOnly=false]\n * @return {Promise}\n *\n * @typedef {Object} ResourceConfig\n * @property {ConfigResourceType} type\n * @property {string} name\n * @property {Array} configEntries\n *\n * @typedef {Object} ResourceConfigEntry\n * @property {string} name\n * @property {string} value\n */\n const alterConfigs = async ({ resources, validateOnly }) => {\n if (!resources || !Array.isArray(resources)) {\n throw new KafkaJSNonRetriableError(`Invalid resources array ${resources}`)\n }\n\n if (resources.length === 0) {\n throw new KafkaJSNonRetriableError('Resources array cannot be empty')\n }\n\n const validResourceTypes = Object.values(CONFIG_RESOURCE_TYPES)\n const invalidType = resources.find(r => !validResourceTypes.includes(r.type))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.type}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const invalidName = resources.find(r => !r.name || typeof r.name !== 'string')\n\n if (invalidName) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource name ${invalidName.name}: ${JSON.stringify(invalidName)}`\n )\n }\n\n const invalidConfigs = resources.find(r => !Array.isArray(r.configEntries))\n\n if (invalidConfigs) {\n const { configEntries } = invalidConfigs\n throw new KafkaJSNonRetriableError(\n `Invalid resource configEntries ${configEntries}: ${JSON.stringify(invalidConfigs)}`\n )\n }\n\n const invalidConfigValue = resources.find(r =>\n r.configEntries.some(e => typeof e.name !== 'string' || typeof e.value !== 'string')\n )\n\n if (invalidConfigValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource config value: ${JSON.stringify(invalidConfigValue)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const controller = await cluster.findControllerBroker()\n const resourcerByBroker = await groupResourcesByBroker({\n resources,\n defaultBroker: controller,\n })\n\n const alterConfigsAction = async broker => {\n const targetBroker = broker || controller\n return targetBroker.alterConfigs({\n resources: resourcerByBroker.get(targetBroker),\n validateOnly: !!validateOnly,\n })\n }\n\n const brokers = Array.from(resourcerByBroker.keys())\n const responses = await Promise.all(brokers.map(alterConfigsAction))\n const responseResources = responses.reduce(\n (result, { resources }) => [...result, ...resources],\n []\n )\n\n return { resources: responseResources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not alter configs', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @deprecated - This method was replaced by `fetchTopicMetadata`. This implementation\n * is limited by the topics in the target group, so it can't fetch all topics when\n * necessary.\n *\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics of which we are aware.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const getTopicMetadata = async options => {\n const { topics } = options || {}\n\n if (topics) {\n await Promise.all(\n topics.map(async topic => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n try {\n await cluster.addTargetTopic(topic)\n } catch (e) {\n e.message = `Failed to add target topic ${topic}: ${e.message}`\n throw e\n }\n })\n )\n }\n\n await cluster.refreshMetadataIfNecessary()\n const targetTopics = topics || [...cluster.targetTopics]\n\n return {\n topics: await Promise.all(\n targetTopics.map(async topic => ({\n name: topic,\n partitions: cluster.findTopicPartitionMetadata(topic),\n }))\n ),\n }\n }\n\n /**\n * Fetch metadata for provided topics.\n *\n * If no topics are provided fetch metadata for all topics.\n * @see https://kafka.apache.org/protocol#The_Messages_Metadata\n *\n * @param {Object} [options]\n * @param {string[]} [options.topics]\n * @return {Promise}\n *\n * @typedef {Object} TopicsMetadata\n * @property {Array} topics\n *\n * @typedef {Object} TopicMetadata\n * @property {String} name\n * @property {Array} partitions\n *\n * @typedef {Object} PartitionMetadata\n * @property {number} partitionErrorCode Response error code\n * @property {number} partitionId Topic partition id\n * @property {number} leader The id of the broker acting as leader for this partition.\n * @property {Array} replicas The set of all nodes that host this partition.\n * @property {Array} isr The set of nodes that are in sync with the leader for this partition.\n */\n const fetchTopicMetadata = async ({ topics = [] } = {}) => {\n if (topics) {\n topics.forEach(topic => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n })\n }\n\n const metadata = await cluster.metadata({ topics })\n\n return {\n topics: metadata.topicMetadata.map(topicMetadata => ({\n name: topicMetadata.topic,\n partitions: topicMetadata.partitionMetadata,\n })),\n }\n }\n\n /**\n * Describe cluster\n *\n * @return {Promise}\n *\n * @typedef {Object} ClusterMetadata\n * @property {Array} brokers\n * @property {Number} controller Current controller id. Returns null if unknown.\n * @property {String} clusterId\n *\n * @typedef {Object} Broker\n * @property {Number} nodeId\n * @property {String} host\n * @property {Number} port\n */\n const describeCluster = async () => {\n const { brokers: nodes, clusterId, controllerId } = await cluster.metadata({ topics: [] })\n const brokers = nodes.map(({ nodeId, host, port }) => ({\n nodeId,\n host,\n port,\n }))\n const controller =\n controllerId == null || controllerId === NO_CONTROLLER_ID ? null : controllerId\n\n return {\n brokers,\n controller,\n clusterId,\n }\n }\n\n /**\n * List groups in a broker\n *\n * @return {Promise}\n *\n * @typedef {Object} ListGroups\n * @property {Array} groups\n *\n * @typedef {Object} ListGroup\n * @property {string} groupId\n * @property {string} protocolType\n */\n const listGroups = async () => {\n await cluster.refreshMetadata()\n let groups = []\n for (var nodeId in cluster.brokerPool.brokers) {\n const broker = await cluster.findBroker({ nodeId })\n const response = await broker.listGroups()\n groups = groups.concat(response.groups)\n }\n\n return { groups }\n }\n\n /**\n * Describe groups by group ids\n * @param {Array} groupIds\n *\n * @typedef {Object} GroupDescriptions\n * @property {Array} groups\n *\n * @return {Promise}\n */\n const describeGroups = async groupIds => {\n const coordinatorsForGroup = await Promise.all(\n groupIds.map(async groupId => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n return {\n coordinator,\n groupId,\n }\n })\n )\n\n const groupsByCoordinator = Object.values(\n coordinatorsForGroup.reduce((coordinators, { coordinator, groupId }) => {\n const group = coordinators[coordinator.nodeId]\n\n if (group) {\n coordinators[coordinator.nodeId] = {\n ...group,\n groupIds: [...group.groupIds, groupId],\n }\n } else {\n coordinators[coordinator.nodeId] = { coordinator, groupIds: [groupId] }\n }\n return coordinators\n }, {})\n )\n\n const responses = await Promise.all(\n groupsByCoordinator.map(async ({ coordinator, groupIds }) => {\n const retrier = createRetry(retry)\n const { groups } = await retrier(() => coordinator.describeGroups({ groupIds }))\n return groups\n })\n )\n\n const groups = [].concat.apply([], responses)\n\n return { groups }\n }\n\n /**\n * Delete groups in a broker\n *\n * @param {string[]} [groupIds]\n * @return {Promise}\n *\n * @typedef {Array} DeleteGroups\n * @property {string} groupId\n * @property {number} errorCode\n */\n const deleteGroups = async groupIds => {\n if (!groupIds || !Array.isArray(groupIds)) {\n throw new KafkaJSNonRetriableError(`Invalid groupIds array ${groupIds}`)\n }\n\n const invalidGroupId = groupIds.some(g => typeof g !== 'string')\n\n if (invalidGroupId) {\n throw new KafkaJSNonRetriableError(`Invalid groupId name: ${JSON.stringify(invalidGroupId)}`)\n }\n\n const retrier = createRetry(retry)\n\n let results = []\n\n let clonedGroupIds = groupIds.slice()\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n if (clonedGroupIds.length === 0) return []\n\n await cluster.refreshMetadata()\n\n const brokersPerGroups = {}\n const brokersPerNode = {}\n for (const groupId of clonedGroupIds) {\n const broker = await cluster.findGroupCoordinator({ groupId })\n if (brokersPerGroups[broker.nodeId] === undefined) brokersPerGroups[broker.nodeId] = []\n brokersPerGroups[broker.nodeId].push(groupId)\n brokersPerNode[broker.nodeId] = broker\n }\n\n const res = await Promise.all(\n Object.keys(brokersPerNode).map(\n async nodeId => await brokersPerNode[nodeId].deleteGroups(brokersPerGroups[nodeId])\n )\n )\n\n const errors = flatten(\n res.map(({ results }) =>\n results.map(({ groupId, errorCode, error }) => {\n return { groupId, errorCode, error }\n })\n )\n ).filter(({ errorCode }) => errorCode !== 0)\n\n clonedGroupIds = errors.map(({ groupId }) => groupId)\n\n if (errors.length > 0) throw new KafkaJSDeleteGroupsError('Error in DeleteGroups', errors)\n\n results = flatten(res.map(({ results }) => results))\n\n return results\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER' || e.type === 'COORDINATOR_NOT_AVAILABLE') {\n logger.warn('Could not delete groups', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Delete topic records up to the selected partition offsets\n *\n * @param {string} topic\n * @param {Array} partitions\n * @return {Promise}\n *\n * @typedef {Object} SeekEntry\n * @property {number} partition\n * @property {string} offset\n */\n const deleteTopicRecords = async ({ topic, partitions }) => {\n if (!topic || typeof topic !== 'string') {\n throw new KafkaJSNonRetriableError(`Invalid topic \"${topic}\"`)\n }\n\n if (!partitions || partitions.length === 0) {\n throw new KafkaJSNonRetriableError(`Invalid partitions`)\n }\n\n const partitionsByBroker = cluster.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n\n const partitionsFound = flatten(values(partitionsByBroker))\n const topicOffsets = await fetchTopicOffsets(topic)\n\n const leaderNotFoundErrors = []\n partitions.forEach(({ partition, offset }) => {\n // throw if no leader found for partition\n if (!partitionsFound.includes(partition)) {\n leaderNotFoundErrors.push({\n partition,\n offset,\n error: new KafkaJSBrokerNotFound('Could not find the leader for the partition', {\n retriable: false,\n }),\n })\n return\n }\n const { low } = topicOffsets.find(p => p.partition === partition) || {\n high: undefined,\n low: undefined,\n }\n // warn in case of offset below low watermark\n if (parseInt(offset) < parseInt(low) && parseInt(offset) !== -1) {\n logger.warn(\n 'The requested offset is before the earliest offset maintained on the partition - no records will be deleted from this partition',\n {\n topic,\n partition,\n offset,\n }\n )\n }\n })\n\n if (leaderNotFoundErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({ topic, partitions: leaderNotFoundErrors })\n }\n\n const seekEntriesByBroker = entries(partitionsByBroker).reduce(\n (obj, [nodeId, nodePartitions]) => {\n obj[nodeId] = {\n topic,\n partitions: partitions.filter(p => nodePartitions.includes(p.partition)),\n }\n return obj\n },\n {}\n )\n\n const retrier = createRetry(retry)\n return retrier(async bail => {\n try {\n const partitionErrors = []\n\n const brokerRequests = entries(seekEntriesByBroker).map(\n ([nodeId, { topic, partitions }]) => async () => {\n const broker = await cluster.findBroker({ nodeId })\n await broker.deleteRecords({ topics: [{ topic, partitions }] })\n // remove successful entry so it's ignored on retry\n delete seekEntriesByBroker[nodeId]\n }\n )\n\n await Promise.all(\n brokerRequests.map(request =>\n request().catch(e => {\n if (e.name === 'KafkaJSDeleteTopicRecordsError') {\n e.partitions.forEach(({ partition, offset, error }) => {\n partitionErrors.push({\n partition,\n offset,\n error,\n })\n })\n } else {\n // then it's an unknown error, not from the broker response\n throw e\n }\n })\n )\n )\n\n if (partitionErrors.length > 0) {\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionErrors,\n })\n }\n } catch (e) {\n if (\n e.retriable &&\n e.partitions.some(\n ({ error }) => staleMetadata(error) || error.name === 'KafkaJSMetadataNotLoaded'\n )\n ) {\n await cluster.refreshMetadata()\n }\n throw e\n }\n })\n }\n\n /**\n * @param {Array} acl\n * @return {Promise}\n *\n * @typedef {Object} ACLEntry\n */\n const createAcls = async ({ acl }) => {\n if (!acl || !Array.isArray(acl)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL array ${acl}`)\n }\n if (acl.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL array')\n }\n\n // Validate principal\n if (acl.some(({ principal }) => typeof principal !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (acl.some(({ host }) => typeof host !== 'string')) {\n throw new KafkaJSNonRetriableError('Invalid ACL array, the hosts have to be a valid string')\n }\n\n // Validate resourceName\n if (acl.some(({ resourceName }) => typeof resourceName !== 'string')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = acl.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = acl.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = acl.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = acl.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n await broker.createAcls({ acl })\n\n return true\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not create ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {ACLResourceTypes} resourceType The type of resource\n * @param {string} resourceName The name of the resource\n * @param {ACLResourcePatternTypes} resourcePatternType The resource pattern type filter\n * @param {string} principal The principal name\n * @param {string} host The hostname\n * @param {ACLOperationTypes} operation The type of operation\n * @param {ACLPermissionTypes} permissionType The type of permission\n * @return {Promise}\n *\n * @typedef {number} ACLResourceTypes\n * @typedef {number} ACLResourcePatternTypes\n * @typedef {number} ACLOperationTypes\n * @typedef {number} ACLPermissionTypes\n */\n const describeAcls = async ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n // Validate principal\n if (typeof principal !== 'string' && typeof principal !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid principal, the principal have to be a valid string'\n )\n }\n\n // Validate host\n if (typeof host !== 'string' && typeof host !== 'undefined') {\n throw new KafkaJSNonRetriableError('Invalid host, the host have to be a valid string')\n }\n\n // Validate resourceName\n if (typeof resourceName !== 'string' && typeof resourceName !== 'undefined') {\n throw new KafkaJSNonRetriableError(\n 'Invalid resourceName, the resourceName have to be a valid string'\n )\n }\n\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n if (!validOperationTypes.includes(operation)) {\n throw new KafkaJSNonRetriableError(`Invalid operation type ${operation}`)\n }\n\n // Validate resourcePatternType\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n if (!validResourcePatternTypes.includes(resourcePatternType)) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern filter type ${resourcePatternType}`\n )\n }\n\n // Validate permissionType\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n if (!validPermissionTypes.includes(permissionType)) {\n throw new KafkaJSNonRetriableError(`Invalid permission type ${permissionType}`)\n }\n\n // Validate resourceType\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n if (!validResourceTypes.includes(resourceType)) {\n throw new KafkaJSNonRetriableError(`Invalid resource type ${resourceType}`)\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { resources } = await broker.describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n return { resources }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not describe ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {Array} filters\n * @return {Promise}\n *\n * @typedef {Object} ACLFilter\n */\n const deleteAcls = async ({ filters }) => {\n if (!filters || !Array.isArray(filters)) {\n throw new KafkaJSNonRetriableError(`Invalid ACL Filter array ${filters}`)\n }\n\n if (filters.length === 0) {\n throw new KafkaJSNonRetriableError('Empty ACL Filter array')\n }\n\n // Validate principal\n if (\n filters.some(\n ({ principal }) => typeof principal !== 'string' && typeof principal !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the principals have to be a valid string'\n )\n }\n\n // Validate host\n if (filters.some(({ host }) => typeof host !== 'string' && typeof host !== 'undefined')) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the hosts have to be a valid string'\n )\n }\n\n // Validate resourceName\n if (\n filters.some(\n ({ resourceName }) =>\n typeof resourceName !== 'string' && typeof resourceName !== 'undefined'\n )\n ) {\n throw new KafkaJSNonRetriableError(\n 'Invalid ACL Filter array, the resourceNames have to be a valid string'\n )\n }\n\n let invalidType\n // Validate operation\n const validOperationTypes = Object.values(ACL_OPERATION_TYPES)\n invalidType = filters.find(i => !validOperationTypes.includes(i.operation))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid operation type ${invalidType.operation}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourcePatternTypes\n const validResourcePatternTypes = Object.values(RESOURCE_PATTERN_TYPES)\n invalidType = filters.find(i => !validResourcePatternTypes.includes(i.resourcePatternType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource pattern type ${invalidType.resourcePatternType}: ${JSON.stringify(\n invalidType\n )}`\n )\n }\n\n // Validate permissionTypes\n const validPermissionTypes = Object.values(ACL_PERMISSION_TYPES)\n invalidType = filters.find(i => !validPermissionTypes.includes(i.permissionType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid permission type ${invalidType.permissionType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n // Validate resourceTypes\n const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)\n invalidType = filters.find(i => !validResourceTypes.includes(i.resourceType))\n\n if (invalidType) {\n throw new KafkaJSNonRetriableError(\n `Invalid resource type ${invalidType.resourceType}: ${JSON.stringify(invalidType)}`\n )\n }\n\n const retrier = createRetry(retry)\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadata()\n const broker = await cluster.findControllerBroker()\n const { filterResponses } = await broker.deleteAcls({ filters })\n return { filterResponses }\n } catch (e) {\n if (e.type === 'NOT_CONTROLLER') {\n logger.warn('Could not delete ACL', { error: e.message, retryCount, retryTime })\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /** @type {import(\"../../types\").Admin[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n listTopics,\n createTopics,\n deleteTopics,\n createPartitions,\n getTopicMetadata,\n fetchTopicMetadata,\n describeCluster,\n events,\n fetchOffsets,\n fetchTopicOffsets,\n fetchTopicOffsetsByTimestamp,\n setOffsets,\n resetOffsets,\n describeConfigs,\n alterConfigs,\n on,\n logger: getLogger,\n listGroups,\n describeGroups,\n deleteGroups,\n describeAcls,\n deleteAcls,\n createAcls,\n deleteTopicRecords,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst adminType = InstrumentationEventType('admin')\n\nconst events = {\n CONNECT: adminType('connect'),\n DISCONNECT: adminType('disconnect'),\n REQUEST: adminType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: adminType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: adminType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../utils/long')\nconst Lock = require('../utils/lock')\nconst { Types: Compression } = require('../protocol/message/compression')\nconst { requests, lookup } = require('../protocol/requests')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst apiKeys = require('../protocol/requests/apiKeys')\nconst SASLAuthenticator = require('./saslAuthenticator')\nconst shuffle = require('../utils/shuffle')\nconst { ApiVersions: apiVersionsApiKey } = require('../protocol/requests/apiKeys')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst PRIVATE = {\n SHOULD_REAUTHENTICATE: Symbol('private:Broker:shouldReauthenticate'),\n SEND_REQUEST: Symbol('private:Broker:sendRequest'),\n AUTHENTICATE: Symbol('private:Broker:authenticate'),\n}\n\n/** @type {import(\"../protocol/requests\").Lookup} */\nconst notInitializedLookup = () => {\n throw new Error('Broker not connected')\n}\n\n/**\n * @param request - request from protocol\n * @returns {boolean}\n */\nconst isAuthenticatedRequest = request => {\n return request.apiKey !== apiVersionsApiKey\n}\n\n/**\n * Each node in a Kafka cluster is called broker. This class contains\n * the high-level operations a node can perform.\n *\n * @type {import(\"../../types\").Broker}\n */\nmodule.exports = class Broker {\n /**\n * @param {Object} options\n * @param {import(\"../network/connection\")} options.connection\n * @param {import(\"../../types\").Logger} options.logger\n * @param {number} [options.nodeId]\n * @param {import(\"../../types\").ApiVersions} [options.versions=null] The object with all available versions and APIs\n * supported by this cluster. The output of broker#apiVersions\n * @param {number} [options.authenticationTimeout=1000]\n * @param {number} [options.reauthenticationThreshold=10000]\n * @param {boolean} [options.allowAutoTopicCreation=true] If this and the broker config 'auto.create.topics.enable'\n * are true, topics that don't exist will be created when\n * fetching metadata.\n * @param {boolean} [options.supportAuthenticationProtocol=null] If the server supports the SASLAuthenticate protocol\n */\n constructor({\n connection,\n logger,\n nodeId = null,\n versions = null,\n authenticationTimeout = 1000,\n reauthenticationThreshold = 10000,\n allowAutoTopicCreation = true,\n supportAuthenticationProtocol = null,\n }) {\n this.connection = connection\n this.nodeId = nodeId\n this.rootLogger = logger\n this.logger = logger.namespace('Broker')\n this.versions = versions\n this.authenticationTimeout = authenticationTimeout\n this.reauthenticationThreshold = reauthenticationThreshold\n this.allowAutoTopicCreation = allowAutoTopicCreation\n this.supportAuthenticationProtocol = supportAuthenticationProtocol\n\n this.authenticatedAt = null\n this.sessionLifetime = Long.ZERO\n\n // The lock timeout has twice the connectionTimeout because the same timeout is used\n // for the first apiVersions call\n const lockTimeout = 2 * this.connection.connectionTimeout + this.authenticationTimeout\n this.brokerAddress = `${this.connection.host}:${this.connection.port}`\n\n this.lock = new Lock({\n timeout: lockTimeout,\n description: `connect to broker ${this.brokerAddress}`,\n })\n\n this.lookupRequest = notInitializedLookup\n\n /**\n * @private\n * @returns {Promise}\n */\n this[PRIVATE.AUTHENTICATE] = sharedPromiseTo(async () => {\n if (this.connection.sasl && !this.isAuthenticated()) {\n const authenticator = new SASLAuthenticator(\n this.connection,\n this.rootLogger,\n this.versions,\n this.supportAuthenticationProtocol\n )\n\n await authenticator.authenticate()\n this.authenticatedAt = process.hrtime()\n this.sessionLifetime = Long.fromValue(authenticator.sessionLifetime)\n }\n })\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isAuthenticated() {\n return this.authenticatedAt != null && !this[PRIVATE.SHOULD_REAUTHENTICATE]()\n }\n\n /**\n * @public\n * @returns {boolean}\n */\n isConnected() {\n const { connected, sasl } = this.connection\n return sasl ? connected && this.isAuthenticated() : connected\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n try {\n await this.lock.acquire()\n if (this.isConnected()) {\n return\n }\n\n this.authenticatedAt = null\n await this.connection.connect()\n\n if (!this.versions) {\n this.versions = await this.apiVersions()\n }\n\n this.lookupRequest = lookup(this.versions)\n\n if (this.supportAuthenticationProtocol === null) {\n try {\n this.lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n this.supportAuthenticationProtocol = true\n } catch (_) {\n this.supportAuthenticationProtocol = false\n }\n\n this.logger.debug(`Verified support for SaslAuthenticate`, {\n broker: this.brokerAddress,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n })\n }\n\n await this[PRIVATE.AUTHENTICATE]()\n } finally {\n await this.lock.release()\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.authenticatedAt = null\n await this.connection.disconnect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async apiVersions() {\n let response\n const availableVersions = requests.ApiVersions.versions\n .map(Number)\n .sort()\n .reverse()\n\n // Find the best version implemented by the server\n for (const candidateVersion of availableVersions) {\n try {\n const apiVersions = requests.ApiVersions.protocol({ version: candidateVersion })\n response = await this[PRIVATE.SEND_REQUEST]({\n ...apiVersions(),\n requestTimeout: this.connection.connectionTimeout,\n })\n break\n } catch (e) {\n if (e.type !== 'UNSUPPORTED_VERSION') {\n throw e\n }\n }\n }\n\n if (!response) {\n throw new KafkaJSNonRetriableError('API Versions not supported')\n }\n\n return response.apiVersions.reduce(\n (obj, version) =>\n Object.assign(obj, {\n [version.apiKey]: {\n minVersion: version.minVersion,\n maxVersion: version.maxVersion,\n },\n }),\n {}\n )\n }\n\n /**\n * @public\n * @type {import(\"../../types\").Broker['metadata']}\n * @param {string[]} [topics=[]] An array of topics to fetch metadata for.\n * If no topics are specified fetch metadata for all topics\n */\n async metadata(topics = []) {\n const metadata = this.lookupRequest(apiKeys.Metadata, requests.Metadata)\n const shuffledTopics = shuffle(topics)\n return await this[PRIVATE.SEND_REQUEST](\n metadata({ topics: shuffledTopics, allowAutoTopicCreation: this.allowAutoTopicCreation })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {Array} request.topicData An array of messages per topic and per partition, example:\n * [\n * {\n * topic: 'test-topic-1',\n * partitions: [\n * {\n * partition: 0,\n * firstSequence: 0,\n * messages: [\n * { key: '1', value: 'A' },\n * { key: '2', value: 'B' },\n * ]\n * },\n * {\n * partition: 1,\n * firstSequence: 0,\n * messages: [\n * { key: '3', value: 'C' },\n * ]\n * }\n * ]\n * },\n * {\n * topic: 'test-topic-2',\n * partitions: [\n * {\n * partition: 4,\n * firstSequence: 0,\n * messages: [\n * { key: '32', value: 'E' },\n * ]\n * },\n * ]\n * },\n * ]\n * @param {number} [request.acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @param {number} [request.timeout=30000] The time to await a response in ms\n * @param {string} [request.transactionalId=null]\n * @param {number} [request.producerId=-1] Broker assigned producerId\n * @param {number} [request.producerEpoch=0] Broker assigned producerEpoch\n * @param {import(\"../../types\").CompressionTypes} [request.compression=CompressionTypes.None] Compression codec\n * @returns {Promise}\n */\n async produce({\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n acks = -1,\n timeout = 30000,\n compression = Compression.None,\n }) {\n const produce = this.lookupRequest(apiKeys.Produce, requests.Produce)\n return await this[PRIVATE.SEND_REQUEST](\n produce({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {number} [request.replicaId=-1] Broker id of the follower. For normal consumers, use -1\n * @param {number} [request.isolationLevel=1] This setting controls the visibility of transactional records. Default READ_COMMITTED.\n * @param {number} [request.maxWaitTime=5000] Maximum time in ms to wait for the response\n * @param {number} [request.minBytes=1] Minimum bytes to accumulate in the response\n * @param {number} [request.maxBytes=10485760] Maximum bytes to accumulate in the response. Note that this is\n * not an absolute maximum, if the first message in the first non-empty\n * partition of the fetch is larger than this value, the message will still\n * be returned to ensure that progress can be made. Default 10MB.\n * @param {Array} request.topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n * @param {string} [request.rackId=''] A rack identifier for this client. This can be any string value which indicates where this\n * client is physically located. It corresponds with the broker config `broker.rack`.\n * @returns {Promise}\n */\n async fetch({\n replicaId,\n isolationLevel,\n maxWaitTime = 5000,\n minBytes = 1,\n maxBytes = 10485760,\n topics,\n rackId = '',\n }) {\n // TODO: validate topics not null/empty\n const fetch = this.lookupRequest(apiKeys.Fetch, requests.Fetch)\n\n // Shuffle topic-partitions to ensure fair response allocation across partitions (KIP-74)\n const flattenedTopicPartitions = topics.reduce((topicPartitions, { topic, partitions }) => {\n partitions.forEach(partition => {\n topicPartitions.push({ topic, partition })\n })\n return topicPartitions\n }, [])\n\n const shuffledTopicPartitions = shuffle(flattenedTopicPartitions)\n\n // Consecutive partitions for the same topic can be combined into a single `topic` entry\n const consolidatedTopicPartitions = shuffledTopicPartitions.reduce(\n (topicPartitions, { topic, partition }) => {\n const last = topicPartitions[topicPartitions.length - 1]\n\n if (last != null && last.topic === topic) {\n topicPartitions[topicPartitions.length - 1].partitions.push(partition)\n } else {\n topicPartitions.push({ topic, partitions: [partition] })\n }\n\n return topicPartitions\n },\n []\n )\n\n return await this[PRIVATE.SEND_REQUEST](\n fetch({\n replicaId,\n isolationLevel,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics: consolidatedTopicPartitions,\n rackId,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The group id\n * @param {number} request.groupGenerationId The generation of the group\n * @param {string} request.memberId The member id assigned by the group coordinator\n * @returns {Promise}\n */\n async heartbeat({ groupId, groupGenerationId, memberId }) {\n const heartbeat = this.lookupRequest(apiKeys.Heartbeat, requests.Heartbeat)\n return await this[PRIVATE.SEND_REQUEST](heartbeat({ groupId, groupGenerationId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} request.coordinatorType The type of coordinator to find\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType }) {\n // TODO: validate groupId, mandatory\n const findCoordinator = this.lookupRequest(apiKeys.GroupCoordinator, requests.GroupCoordinator)\n return await this[PRIVATE.SEND_REQUEST](findCoordinator({ groupId, coordinatorType }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId The unique group id\n * @param {number} request.sessionTimeout The coordinator considers the consumer dead if it receives\n * no heartbeat after this timeout in ms\n * @param {number} request.rebalanceTimeout The maximum time that the coordinator will wait for each member\n * to rejoin when rebalancing the group\n * @param {string} [request.memberId=\"\"] The assigned consumer id or an empty string for a new consumer\n * @param {string} [request.protocolType=\"consumer\"] Unique name for class of protocols implemented by group\n * @param {Array} request.groupProtocols List of protocols that the member supports (assignment strategy)\n * [{ name: 'AssignerName', metadata: '{\"version\": 1, \"topics\": []}' }]\n * @returns {Promise}\n */\n async joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId = '',\n protocolType = 'consumer',\n groupProtocols,\n }) {\n const joinGroup = this.lookupRequest(apiKeys.JoinGroup, requests.JoinGroup)\n const makeRequest = (assignedMemberId = memberId) =>\n this[PRIVATE.SEND_REQUEST](\n joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: assignedMemberId,\n protocolType,\n groupProtocols,\n })\n )\n\n try {\n return await makeRequest()\n } catch (error) {\n if (error.name === 'KafkaJSMemberIdRequired') {\n return makeRequest(error.memberId)\n }\n\n throw error\n }\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {string} request.memberId\n * @returns {Promise}\n */\n async leaveGroup({ groupId, memberId }) {\n const leaveGroup = this.lookupRequest(apiKeys.LeaveGroup, requests.LeaveGroup)\n return await this[PRIVATE.SEND_REQUEST](leaveGroup({ groupId, memberId }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.generationId\n * @param {string} request.memberId\n * @param {object} request.groupAssignment\n * @returns {Promise}\n */\n async syncGroup({ groupId, generationId, memberId, groupAssignment }) {\n const syncGroup = this.lookupRequest(apiKeys.SyncGroup, requests.SyncGroup)\n return await this[PRIVATE.SEND_REQUEST](\n syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {number} request.replicaId=-1 Broker id of the follower. For normal consumers, use -1\n * @param {number} request.isolationLevel=1 This setting controls the visibility of transactional records (default READ_COMMITTED, Kafka >0.11 only)\n * @param {TopicPartitionOffset[]} request.topics e.g:\n *\n * @typedef {Object} TopicPartitionOffset\n * @property {string} topic\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {number} partition\n * @property {number} [timestamp=-1]\n *\n *\n * @returns {Promise}\n */\n async listOffsets({ replicaId, isolationLevel, topics }) {\n const listOffsets = this.lookupRequest(apiKeys.ListOffsets, requests.ListOffsets)\n const result = await this[PRIVATE.SEND_REQUEST](\n listOffsets({ replicaId, isolationLevel, topics })\n )\n\n // ListOffsets >= v1 will return a single `offset` rather than an array of `offsets` (ListOffsets V0).\n // Normalize to just return `offset`.\n for (const response of result.responses) {\n response.partitions = response.partitions.map(({ offsets, ...partitionData }) => {\n return offsets ? { ...partitionData, offset: offsets.pop() } : partitionData\n })\n }\n\n return result\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {number} request.groupGenerationId\n * @param {string} request.memberId\n * @param {number} [request.retentionTime=-1] -1 signals to the broker that its default configuration\n * should be used.\n * @param {object} request.topics Topics to commit offsets, e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0, offset: '11' }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetCommit({ groupId, groupGenerationId, memberId, retentionTime, topics }) {\n const offsetCommit = this.lookupRequest(apiKeys.OffsetCommit, requests.OffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n offsetCommit({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string} request.groupId\n * @param {object} request.topics - If the topic array is null fetch offsets for all topics. e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * { partition: 0 }\n * ]\n * }\n * ]\n * @returns {Promise}\n */\n async offsetFetch({ groupId, topics }) {\n const offsetFetch = this.lookupRequest(apiKeys.OffsetFetch, requests.OffsetFetch)\n return await this[PRIVATE.SEND_REQUEST](offsetFetch({ groupId, topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.groupIds\n * @returns {Promise}\n */\n async describeGroups({ groupIds }) {\n const describeGroups = this.lookupRequest(apiKeys.DescribeGroups, requests.DescribeGroups)\n return await this[PRIVATE.SEND_REQUEST](describeGroups({ groupIds }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * numPartitions: 1,\n * replicationFactor: 1\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createTopics({ topics, validateOnly = false, timeout = 5000 }) {\n const createTopics = this.lookupRequest(apiKeys.CreateTopics, requests.CreateTopics)\n return await this[PRIVATE.SEND_REQUEST](createTopics({ topics, validateOnly, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {Array} request.topicPartitions e.g:\n * [\n * {\n * topic: 'topic-name',\n * count: 3,\n * assignments: []\n * }\n * ]\n * @param {boolean} [request.validateOnly=false] If this is true, the request will be validated, but the topic\n * won't be created\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely created\n * on the controller node\n * @returns {Promise}\n */\n async createPartitions({ topicPartitions, validateOnly = false, timeout = 5000 }) {\n const createPartitions = this.lookupRequest(apiKeys.CreatePartitions, requests.CreatePartitions)\n return await this[PRIVATE.SEND_REQUEST](\n createPartitions({ topicPartitions, validateOnly, timeout })\n )\n }\n\n /**\n * @public\n * @param {object} request\n * @param {string[]} request.topics An array of topics to be deleted\n * @param {number} [request.timeout=5000] The time in ms to wait for a topic to be completely deleted on the\n * controller node. Values <= 0 will trigger topic deletion and return\n * immediately\n * @returns {Promise}\n */\n async deleteTopics({ topics, timeout = 5000 }) {\n const deleteTopics = this.lookupRequest(apiKeys.DeleteTopics, requests.DeleteTopics)\n return await this[PRIVATE.SEND_REQUEST](deleteTopics({ topics, timeout }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").ResourceConfigQuery[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configNames: ['compression.type', 'retention.ms']\n * }]\n * @param {boolean} [request.includeSynonyms=false]\n * @returns {Promise}\n */\n async describeConfigs({ resources, includeSynonyms = false }) {\n const describeConfigs = this.lookupRequest(apiKeys.DescribeConfigs, requests.DescribeConfigs)\n return await this[PRIVATE.SEND_REQUEST](describeConfigs({ resources, includeSynonyms }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").IResourceConfig[]} request.resources\n * [{\n * type: RESOURCE_TYPES.TOPIC,\n * name: 'topic-name',\n * configEntries: [\n * {\n * name: 'cleanup.policy',\n * value: 'compact'\n * }\n * ]\n * }]\n * @param {boolean} [request.validateOnly=false]\n * @returns {Promise}\n */\n async alterConfigs({ resources, validateOnly = false }) {\n const alterConfigs = this.lookupRequest(apiKeys.AlterConfigs, requests.AlterConfigs)\n return await this[PRIVATE.SEND_REQUEST](alterConfigs({ resources, validateOnly }))\n }\n\n /**\n * Send an `InitProducerId` request to fetch a PID and bump the producer epoch.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {number} request.transactionTimeout The time in ms to wait for before aborting idle transactions\n * @param {number} [request.transactionalId] The transactional id or null if the producer is not transactional\n * @returns {Promise}\n */\n async initProducerId({ transactionalId, transactionTimeout }) {\n const initProducerId = this.lookupRequest(apiKeys.InitProducerId, requests.InitProducerId)\n return await this[PRIVATE.SEND_REQUEST](initProducerId({ transactionalId, transactionTimeout }))\n }\n\n /**\n * Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {object[]} request.topics e.g:\n * [\n * {\n * topic: 'topic-name',\n * partitions: [ 0, 1]\n * }\n * ]\n * @returns {Promise}\n */\n async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {\n const addPartitionsToTxn = this.lookupRequest(\n apiKeys.AddPartitionsToTxn,\n requests.AddPartitionsToTxn\n )\n return await this[PRIVATE.SEND_REQUEST](\n addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `AddOffsetsToTxn` request.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @returns {Promise}\n */\n async addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId }) {\n const addOffsetsToTxn = this.lookupRequest(apiKeys.AddOffsetsToTxn, requests.AddOffsetsToTxn)\n return await this[PRIVATE.SEND_REQUEST](\n addOffsetsToTxn({ transactionalId, producerId, producerEpoch, groupId })\n )\n }\n\n /**\n * Send a `TxnOffsetCommit` request to persist the offsets in the `__consumer_offsets` topics.\n *\n * Request should be made to the consumer coordinator.\n * @public\n * @param {object} request\n * @param {OffsetCommitTopic[]} request.topics\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {string} request.groupId The unique group identifier (for the consumer group)\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {OffsetCommitTopic[]} request.topics\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n * @property {string} [metadata]\n *\n * @returns {Promise}\n */\n async txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics }) {\n const txnOffsetCommit = this.lookupRequest(apiKeys.TxnOffsetCommit, requests.TxnOffsetCommit)\n return await this[PRIVATE.SEND_REQUEST](\n txnOffsetCommit({ transactionalId, groupId, producerId, producerEpoch, topics })\n )\n }\n\n /**\n * Send an `EndTxn` request to indicate transaction should be committed or aborted.\n *\n * Request should be made to the transaction coordinator.\n * @public\n * @param {object} request\n * @param {string} request.transactionalId The transactional id corresponding to the transaction.\n * @param {number} request.producerId Current producer id in use by the transactional id.\n * @param {number} request.producerEpoch Current epoch associated with the producer id.\n * @param {boolean} request.transactionResult The result of the transaction (false = ABORT, true = COMMIT)\n * @returns {Promise}\n */\n async endTxn({ transactionalId, producerId, producerEpoch, transactionResult }) {\n const endTxn = this.lookupRequest(apiKeys.EndTxn, requests.EndTxn)\n return await this[PRIVATE.SEND_REQUEST](\n endTxn({ transactionalId, producerId, producerEpoch, transactionResult })\n )\n }\n\n /**\n * Send request for list of groups\n * @public\n * @returns {Promise}\n */\n async listGroups() {\n const listGroups = this.lookupRequest(apiKeys.ListGroups, requests.ListGroups)\n return await this[PRIVATE.SEND_REQUEST](listGroups())\n }\n\n /**\n * Send request to delete groups\n * @param {string[]} groupIds\n * @public\n * @returns {Promise}\n */\n async deleteGroups(groupIds) {\n const deleteGroups = this.lookupRequest(apiKeys.DeleteGroups, requests.DeleteGroups)\n return await this[PRIVATE.SEND_REQUEST](deleteGroups(groupIds))\n }\n\n /**\n * Send request to delete records\n * @public\n * @param {object} request\n * @param {TopicPartitionRecords[]} request.topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset 2 },\n * { partition: 1, offset 4 },\n * ],\n * }\n * ]\n * @returns {Promise} example:\n * {\n * throttleTime: 0\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, lowWatermark: '2n', errorCode: 0 },\n * { partition: 1, lowWatermark: '4n', errorCode: 0 },\n * ],\n * },\n * ]\n * }\n *\n * @typedef {object} TopicPartitionRecords\n * @property {string} topic\n * @property {PartitionRecord[]} partitions\n *\n * @typedef {object} PartitionRecord\n * @property {number} partition\n * @property {number} offset\n */\n async deleteRecords({ topics }) {\n const deleteRecords = this.lookupRequest(apiKeys.DeleteRecords, requests.DeleteRecords)\n return await this[PRIVATE.SEND_REQUEST](deleteRecords({ topics }))\n }\n\n /**\n * @public\n * @param {object} request\n * @param {import(\"../../types\").AclEntry[]} request.acl e.g:\n * [\n * {\n * resourceType: AclResourceTypes.TOPIC,\n * resourceName: 'topic-name',\n * resourcePatternType: ResourcePatternTypes.LITERAL,\n * principal: 'User:bob',\n * host: '*',\n * operation: AclOperationTypes.ALL,\n * permissionType: AclPermissionTypes.DENY,\n * }\n * ]\n * @returns {Promise}\n */\n async createAcls({ acl }) {\n const createAcls = this.lookupRequest(apiKeys.CreateAcls, requests.CreateAcls)\n return await this[PRIVATE.SEND_REQUEST](createAcls({ creations: acl }))\n }\n\n /**\n * @public\n * @param {import(\"../../types\").AclEntry} aclEntry\n * @returns {Promise}\n */\n async describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) {\n const describeAcls = this.lookupRequest(apiKeys.DescribeAcls, requests.DescribeAcls)\n return await this[PRIVATE.SEND_REQUEST](\n describeAcls({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n })\n )\n }\n\n /**\n * @public\n * @param {Object} request\n * @param {import(\"../../types\").AclEntry[]} request.filters\n * @returns {Promise}\n */\n async deleteAcls({ filters }) {\n const deleteAcls = this.lookupRequest(apiKeys.DeleteAcls, requests.DeleteAcls)\n return await this[PRIVATE.SEND_REQUEST](deleteAcls({ filters }))\n }\n\n /***\n * @private\n */\n [PRIVATE.SHOULD_REAUTHENTICATE]() {\n if (this.sessionLifetime.equals(Long.ZERO)) {\n return false\n }\n\n if (this.authenticatedAt == null) {\n return true\n }\n\n const [secondsSince, remainingNanosSince] = process.hrtime(this.authenticatedAt)\n const millisSince = Long.fromValue(secondsSince)\n .multiply(1000)\n .add(Long.fromValue(remainingNanosSince).divide(1000000))\n\n const reauthenticateAt = millisSince.add(this.reauthenticationThreshold)\n return reauthenticateAt.greaterThanOrEqual(this.sessionLifetime)\n }\n\n /**\n * @private\n */\n async [PRIVATE.SEND_REQUEST](protocolRequest) {\n if (!this.isAuthenticated() && isAuthenticatedRequest(protocolRequest.request)) {\n await this[PRIVATE.AUTHENTICATE]()\n }\n try {\n return await this.connection.send(protocolRequest)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n await this.disconnect()\n }\n\n throw e\n }\n }\n}\n","const awsIam = require('../../protocol/sasl/awsIam')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class AWSIAMAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLAWSIAMAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (!sasl.authorizationIdentity) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing authorizationIdentity')\n }\n if (!sasl.accessKeyId) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing accessKeyId')\n }\n if (!sasl.secretAccessKey) {\n throw new KafkaJSSASLAuthenticationError('SASL AWS-IAM: Missing secretAccessKey')\n }\n if (!sasl.sessionToken) {\n sasl.sessionToken = ''\n }\n\n const request = awsIam.request(sasl)\n const response = awsIam.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL AWS-IAM', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL AWS-IAM authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL AWS-IAM authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const { requests, lookup } = require('../../protocol/requests')\nconst apiKeys = require('../../protocol/requests/apiKeys')\nconst PlainAuthenticator = require('./plain')\nconst SCRAM256Authenticator = require('./scram256')\nconst SCRAM512Authenticator = require('./scram512')\nconst AWSIAMAuthenticator = require('./awsIam')\nconst OAuthBearerAuthenticator = require('./oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nconst AUTHENTICATORS = {\n PLAIN: PlainAuthenticator,\n 'SCRAM-SHA-256': SCRAM256Authenticator,\n 'SCRAM-SHA-512': SCRAM512Authenticator,\n AWS: AWSIAMAuthenticator,\n OAUTHBEARER: OAuthBearerAuthenticator,\n}\n\nconst SUPPORTED_MECHANISMS = Object.keys(AUTHENTICATORS)\nconst UNLIMITED_SESSION_LIFETIME = '0'\n\nmodule.exports = class SASLAuthenticator {\n constructor(connection, logger, versions, supportAuthenticationProtocol) {\n this.connection = connection\n this.logger = logger\n this.sessionLifetime = UNLIMITED_SESSION_LIFETIME\n\n const lookupRequest = lookup(versions)\n this.saslHandshake = lookupRequest(apiKeys.SaslHandshake, requests.SaslHandshake)\n this.protocolAuthentication = supportAuthenticationProtocol\n ? lookupRequest(apiKeys.SaslAuthenticate, requests.SaslAuthenticate)\n : null\n }\n\n async authenticate() {\n const mechanism = this.connection.sasl.mechanism.toUpperCase()\n if (!SUPPORTED_MECHANISMS.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the client`\n )\n }\n\n const handshake = await this.connection.send(this.saslHandshake({ mechanism }))\n if (!handshake.enabledMechanisms.includes(mechanism)) {\n throw new KafkaJSSASLAuthenticationError(\n `SASL ${mechanism} mechanism is not supported by the server`\n )\n }\n\n const saslAuthenticate = async ({ request, response, authExpectResponse }) => {\n if (this.protocolAuthentication) {\n const { buffer: requestAuthBytes } = await request.encode()\n const authResponse = await this.connection.send(\n this.protocolAuthentication({ authBytes: requestAuthBytes })\n )\n\n // `0` is a string because `sessionLifetimeMs` is an int64 encoded as string.\n // This is not present in SaslAuthenticateV0, so we default to `\"0\"`\n this.sessionLifetime = authResponse.sessionLifetimeMs || UNLIMITED_SESSION_LIFETIME\n\n if (!authExpectResponse) {\n return\n }\n\n const { authBytes: responseAuthBytes } = authResponse\n const payloadDecoded = await response.decode(responseAuthBytes)\n return response.parse(payloadDecoded)\n }\n\n return this.connection.authenticate({ request, response, authExpectResponse })\n }\n\n const Authenticator = AUTHENTICATORS[mechanism]\n await new Authenticator(this.connection, this.logger, saslAuthenticate).authenticate()\n }\n}\n","/**\n * The sasl object must include a property named oauthBearerProvider, an\n * async function that is used to return the OAuth bearer token.\n *\n * The OAuth bearer token must be an object with properties value and\n * (optionally) extensions, that will be sent during the SASL/OAUTHBEARER\n * request.\n *\n * The implementation of the oauthBearerProvider must take care that tokens are\n * reused and refreshed when appropriate.\n */\n\nconst oauthBearer = require('../../protocol/sasl/oauthBearer')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class OAuthBearerAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLOAuthBearerAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.oauthBearerProvider == null) {\n throw new KafkaJSSASLAuthenticationError(\n 'SASL OAUTHBEARER: Missing OAuth bearer token provider'\n )\n }\n\n const { oauthBearerProvider } = sasl\n\n const oauthBearerToken = await oauthBearerProvider()\n\n if (oauthBearerToken.value == null) {\n throw new KafkaJSSASLAuthenticationError('SASL OAUTHBEARER: Invalid OAuth bearer token')\n }\n\n const request = await oauthBearer.request(sasl, oauthBearerToken)\n const response = oauthBearer.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL OAUTHBEARER', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL OAUTHBEARER authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL OAUTHBEARER authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const plain = require('../../protocol/sasl/plain')\nconst { KafkaJSSASLAuthenticationError } = require('../../errors')\n\nmodule.exports = class PlainAuthenticator {\n constructor(connection, logger, saslAuthenticate) {\n this.connection = connection\n this.logger = logger.namespace('SASLPlainAuthenticator')\n this.saslAuthenticate = saslAuthenticate\n }\n\n async authenticate() {\n const { sasl } = this.connection\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError('SASL Plain: Invalid username or password')\n }\n\n const request = plain.request(sasl)\n const response = plain.response\n const { host, port } = this.connection\n const broker = `${host}:${port}`\n\n try {\n this.logger.debug('Authenticate with SASL PLAIN', { broker })\n await this.saslAuthenticate({ request, response })\n this.logger.debug('SASL PLAIN authentication successful', { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(\n `SASL PLAIN authentication failed: ${e.message}`\n )\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n}\n","const crypto = require('crypto')\nconst scram = require('../../protocol/sasl/scram')\nconst { KafkaJSSASLAuthenticationError, KafkaJSNonRetriableError } = require('../../errors')\n\nconst GS2_HEADER = 'n,,'\n\nconst EQUAL_SIGN_REGEX = /=/g\nconst COMMA_SIGN_REGEX = /,/g\n\nconst URLSAFE_BASE64_PLUS_REGEX = /\\+/g\nconst URLSAFE_BASE64_SLASH_REGEX = /\\//g\nconst URLSAFE_BASE64_TRAILING_EQUAL_REGEX = /=+$/\n\nconst HMAC_CLIENT_KEY = 'Client Key'\nconst HMAC_SERVER_KEY = 'Server Key'\n\nconst DIGESTS = {\n SHA256: {\n length: 32,\n type: 'sha256',\n minIterations: 4096,\n },\n SHA512: {\n length: 64,\n type: 'sha512',\n minIterations: 4096,\n },\n}\n\nconst encode64 = str => Buffer.from(str).toString('base64')\n\nclass SCRAM {\n /**\n * From https://tools.ietf.org/html/rfc5802#section-5.1\n *\n * The characters ',' or '=' in usernames are sent as '=2C' and\n * '=3D' respectively. If the server receives a username that\n * contains '=' not followed by either '2C' or '3D', then the\n * server MUST fail the authentication.\n *\n * @returns {String}\n */\n static sanitizeString(str) {\n return str.replace(EQUAL_SIGN_REGEX, '=3D').replace(COMMA_SIGN_REGEX, '=2C')\n }\n\n /**\n * In cryptography, a nonce is an arbitrary number that can be used just once.\n * It is similar in spirit to a nonce * word, hence the name. It is often a random or pseudo-random\n * number issued in an authentication protocol to * ensure that old communications cannot be reused\n * in replay attacks.\n *\n * @returns {String}\n */\n static nonce() {\n return crypto\n .randomBytes(16)\n .toString('base64')\n .replace(URLSAFE_BASE64_PLUS_REGEX, '-') // make it url safe\n .replace(URLSAFE_BASE64_SLASH_REGEX, '_')\n .replace(URLSAFE_BASE64_TRAILING_EQUAL_REGEX, '')\n .toString('ascii')\n }\n\n /**\n * Hi() is, essentially, PBKDF2 [RFC2898] with HMAC() as the\n * pseudorandom function (PRF) and with dkLen == output length of\n * HMAC() == output length of H()\n *\n * @returns {Promise}\n */\n static hi(password, salt, iterations, digestDefinition) {\n return new Promise((resolve, reject) => {\n crypto.pbkdf2(\n password,\n salt,\n iterations,\n digestDefinition.length,\n digestDefinition.type,\n (err, derivedKey) => (err ? reject(err) : resolve(derivedKey))\n )\n })\n }\n\n /**\n * Apply the exclusive-or operation to combine the octet string\n * on the left of this operator with the octet string on the right of\n * this operator. The length of the output and each of the two\n * inputs will be the same for this use\n *\n * @returns {Buffer}\n */\n static xor(left, right) {\n const bufferA = Buffer.from(left)\n const bufferB = Buffer.from(right)\n const length = Buffer.byteLength(bufferA)\n\n if (length !== Buffer.byteLength(bufferB)) {\n throw new KafkaJSNonRetriableError('Buffers must be of the same length')\n }\n\n const result = []\n for (let i = 0; i < length; i++) {\n result.push(bufferA[i] ^ bufferB[i])\n }\n\n return Buffer.from(result)\n }\n\n /**\n * @param {Connection} connection\n * @param {Logger} logger\n * @param {Function} saslAuthenticate\n * @param {DigestDefinition} digestDefinition\n */\n constructor(connection, logger, saslAuthenticate, digestDefinition) {\n this.connection = connection\n this.logger = logger\n this.saslAuthenticate = saslAuthenticate\n this.digestDefinition = digestDefinition\n\n const digestType = digestDefinition.type.toUpperCase()\n this.PREFIX = `SASL SCRAM ${digestType} authentication`\n\n this.currentNonce = SCRAM.nonce()\n }\n\n async authenticate() {\n const { PREFIX } = this\n const { host, port, sasl } = this.connection\n const broker = `${host}:${port}`\n\n if (sasl.username == null || sasl.password == null) {\n throw new KafkaJSSASLAuthenticationError(`${this.PREFIX}: Invalid username or password`)\n }\n\n try {\n this.logger.debug('Exchanging first client message', { broker })\n const clientMessageResponse = await this.sendClientFirstMessage()\n\n this.logger.debug('Sending final message', { broker })\n const finalResponse = await this.sendClientFinalMessage(clientMessageResponse)\n\n if (finalResponse.e) {\n throw new Error(finalResponse.e)\n }\n\n const serverKey = await this.serverKey(clientMessageResponse)\n const serverSignature = this.serverSignature(serverKey, clientMessageResponse)\n\n if (finalResponse.v !== serverSignature) {\n throw new Error('Invalid server signature in server final message')\n }\n\n this.logger.debug(`${PREFIX} successful`, { broker })\n } catch (e) {\n const error = new KafkaJSSASLAuthenticationError(`${PREFIX} failed: ${e.message}`)\n this.logger.error(error.message, { broker })\n throw error\n }\n }\n\n /**\n * @private\n */\n async sendClientFirstMessage() {\n const clientFirstMessage = `${GS2_HEADER}${this.firstMessageBare()}`\n const request = scram.firstMessage.request({ clientFirstMessage })\n const response = scram.firstMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async sendClientFinalMessage(clientMessageResponse) {\n const { PREFIX } = this\n const iterations = parseInt(clientMessageResponse.i, 10)\n const { minIterations } = this.digestDefinition\n\n if (!clientMessageResponse.r.startsWith(this.currentNonce)) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Invalid server nonce, it does not start with the client nonce`\n )\n }\n\n if (iterations < minIterations) {\n throw new KafkaJSSASLAuthenticationError(\n `${PREFIX} failed: Requested iterations ${iterations} is less than the minimum ${minIterations}`\n )\n }\n\n const finalMessageWithoutProof = this.finalMessageWithoutProof(clientMessageResponse)\n const clientProof = await this.clientProof(clientMessageResponse)\n const finalMessage = `${finalMessageWithoutProof},p=${clientProof}`\n const request = scram.finalMessage.request({ finalMessage })\n const response = scram.finalMessage.response\n\n return this.saslAuthenticate({\n authExpectResponse: true,\n request,\n response,\n })\n }\n\n /**\n * @private\n */\n async clientProof(clientMessageResponse) {\n const clientKey = await this.clientKey(clientMessageResponse)\n const storedKey = this.H(clientKey)\n const clientSignature = this.clientSignature(storedKey, clientMessageResponse)\n return encode64(SCRAM.xor(clientKey, clientSignature))\n }\n\n /**\n * @private\n */\n async clientKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_CLIENT_KEY)\n }\n\n /**\n * @private\n */\n async serverKey(clientMessageResponse) {\n const saltedPassword = await this.saltPassword(clientMessageResponse)\n return this.HMAC(saltedPassword, HMAC_SERVER_KEY)\n }\n\n /**\n * @private\n */\n clientSignature(storedKey, clientMessageResponse) {\n return this.HMAC(storedKey, this.authMessage(clientMessageResponse))\n }\n\n /**\n * @private\n */\n serverSignature(serverKey, clientMessageResponse) {\n return encode64(this.HMAC(serverKey, this.authMessage(clientMessageResponse)))\n }\n\n /**\n * @private\n */\n authMessage(clientMessageResponse) {\n return [\n this.firstMessageBare(),\n clientMessageResponse.original,\n this.finalMessageWithoutProof(clientMessageResponse),\n ].join(',')\n }\n\n /**\n * @private\n */\n async saltPassword(clientMessageResponse) {\n const salt = Buffer.from(clientMessageResponse.s, 'base64')\n const iterations = parseInt(clientMessageResponse.i, 10)\n return SCRAM.hi(this.encodedPassword(), salt, iterations, this.digestDefinition)\n }\n\n /**\n * @private\n */\n firstMessageBare() {\n return `n=${this.encodedUsername()},r=${this.currentNonce}`\n }\n\n /**\n * @private\n */\n finalMessageWithoutProof(clientMessageResponse) {\n const rnonce = clientMessageResponse.r\n return `c=${encode64(GS2_HEADER)},r=${rnonce}`\n }\n\n /**\n * @private\n */\n encodedUsername() {\n const { username } = this.connection.sasl\n return SCRAM.sanitizeString(username).toString('utf-8')\n }\n\n /**\n * @private\n */\n encodedPassword() {\n const { password } = this.connection.sasl\n return password.toString('utf-8')\n }\n\n /**\n * @private\n */\n H(data) {\n return crypto\n .createHash(this.digestDefinition.type)\n .update(data)\n .digest()\n }\n\n /**\n * @private\n */\n HMAC(key, data) {\n return crypto\n .createHmac(this.digestDefinition.type, key)\n .update(data)\n .digest()\n }\n}\n\nmodule.exports = {\n DIGESTS,\n SCRAM,\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM256Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM256Authenticator'), saslAuthenticate, DIGESTS.SHA256)\n }\n}\n","const { SCRAM, DIGESTS } = require('./scram')\n\nmodule.exports = class SCRAM512Authenticator extends SCRAM {\n constructor(connection, logger, saslAuthenticate) {\n super(connection, logger.namespace('SCRAM512Authenticator'), saslAuthenticate, DIGESTS.SHA512)\n }\n}\n","const Broker = require('../broker')\nconst createRetry = require('../retry')\nconst shuffle = require('../utils/shuffle')\nconst arrayDiff = require('../utils/arrayDiff')\nconst { KafkaJSBrokerNotFound, KafkaJSProtocolError } = require('../errors')\n\nconst { keys, assign, values } = Object\nconst hasBrokerBeenReplaced = (broker, { host, port, rack }) =>\n broker.connection.host !== host ||\n broker.connection.port !== port ||\n broker.connection.rack !== rack\n\nmodule.exports = class BrokerPool {\n /**\n * @param {object} options\n * @param {import(\"./connectionBuilder\").ConnectionBuilder} options.connectionBuilder\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.allowAutoTopicCreation]\n * @param {number} [options.authenticationTimeout]\n * @param {number} [options.reauthenticationThreshold]\n * @param {number} [options.metadataMaxAge]\n */\n constructor({\n connectionBuilder,\n logger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n }) {\n this.rootLogger = logger\n this.connectionBuilder = connectionBuilder\n this.metadataMaxAge = metadataMaxAge || 0\n this.logger = logger.namespace('BrokerPool')\n this.retrier = createRetry(assign({}, retry))\n\n this.createBroker = options =>\n new Broker({\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n ...options,\n })\n\n this.brokers = {}\n /** @type {Broker | undefined} */\n this.seedBroker = undefined\n /** @type {import(\"../../types\").BrokerMetadata | null} */\n this.metadata = null\n this.metadataExpireAt = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @returns {Boolean}\n */\n hasConnectedBrokers() {\n const brokers = values(this.brokers)\n return (\n !!brokers.find(broker => broker.isConnected()) ||\n (this.seedBroker ? this.seedBroker.isConnected() : false)\n )\n }\n\n async createSeedBroker() {\n if (this.seedBroker) {\n await this.seedBroker.disconnect()\n }\n\n this.seedBroker = this.createBroker({\n connection: await this.connectionBuilder.build(),\n logger: this.rootLogger,\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n if (this.hasConnectedBrokers()) {\n return\n }\n\n if (!this.seedBroker) {\n await this.createSeedBroker()\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.seedBroker.connect()\n this.versions = this.seedBroker.versions\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n // Connection builder will always rotate the seed broker\n await this.createSeedBroker()\n this.logger.error(\n `Failed to connect to seed broker, trying another broker from the list: ${e.message}`,\n { retryCount, retryTime }\n )\n } else {\n this.logger.error(e.message, { retryCount, retryTime })\n }\n\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.seedBroker && (await this.seedBroker.disconnect())\n await Promise.all(values(this.brokers).map(broker => broker.disconnect()))\n\n this.brokers = {}\n this.metadata = null\n this.versions = null\n this.supportAuthenticationProtocol = null\n }\n\n /**\n * @public\n * @param {Object} destination\n * @param {string} destination.host\n * @param {number} destination.port\n */\n removeBroker({ host, port }) {\n const removedBroker = values(this.brokers).find(\n broker => broker.connection.host === host && broker.connection.port === port\n )\n\n if (removedBroker) {\n delete this.brokers[removedBroker.nodeId]\n this.metadataExpireAt = null\n\n if (this.seedBroker.nodeId === removedBroker.nodeId) {\n this.seedBroker = shuffle(values(this.brokers))[0]\n }\n }\n }\n\n /**\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadata(topics) {\n const broker = await this.findConnectedBroker()\n const { host: seedHost, port: seedPort } = this.seedBroker.connection\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.metadata = await broker.metadata(topics)\n this.metadataExpireAt = Date.now() + this.metadataMaxAge\n\n const replacedBrokers = []\n\n this.brokers = await this.metadata.brokers.reduce(\n async (resultPromise, { nodeId, host, port, rack }) => {\n const result = await resultPromise\n\n if (result[nodeId]) {\n if (!hasBrokerBeenReplaced(result[nodeId], { host, port, rack })) {\n return result\n }\n\n replacedBrokers.push(result[nodeId])\n }\n\n if (host === seedHost && port === seedPort) {\n this.seedBroker.nodeId = nodeId\n this.seedBroker.connection.rack = rack\n return assign(result, {\n [nodeId]: this.seedBroker,\n })\n }\n\n return assign(result, {\n [nodeId]: this.createBroker({\n logger: this.rootLogger,\n versions: this.versions,\n supportAuthenticationProtocol: this.supportAuthenticationProtocol,\n connection: await this.connectionBuilder.build({ host, port, rack }),\n nodeId,\n }),\n })\n },\n this.brokers\n )\n\n const freshBrokerIds = this.metadata.brokers.map(({ nodeId }) => `${nodeId}`).sort()\n const currentBrokerIds = keys(this.brokers).sort()\n const unusedBrokerIds = arrayDiff(currentBrokerIds, freshBrokerIds)\n\n const brokerDisconnects = unusedBrokerIds.map(nodeId => {\n const broker = this.brokers[nodeId]\n return broker.disconnect().then(() => {\n delete this.brokers[nodeId]\n })\n })\n\n const replacedBrokersDisconnects = replacedBrokers.map(broker => broker.disconnect())\n await Promise.all([...brokerDisconnects, ...replacedBrokersDisconnects])\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * Only refreshes metadata if the data is stale according to the `metadataMaxAge` param or does not contain information about the provided topics\n *\n * @public\n * @param {Array} topics\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary(topics) {\n const shouldRefresh =\n this.metadata == null ||\n this.metadataExpireAt == null ||\n Date.now() > this.metadataExpireAt ||\n !topics.every(topic =>\n this.metadata.topicMetadata.some(topicMetadata => topicMetadata.topic === topic)\n )\n\n if (shouldRefresh) {\n return this.refreshMetadata(topics)\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n const broker = this.brokers[nodeId]\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(`Broker ${nodeId} not found in the cached metadata`)\n }\n\n await this.connectBroker(broker)\n return broker\n }\n\n /**\n * @public\n * @param {(params: { nodeId: string, broker: Broker }) => Promise} callback\n * @returns {Promise}\n * @template T\n */\n async withBroker(callback) {\n const brokers = shuffle(keys(this.brokers))\n if (brokers.length === 0) {\n throw new KafkaJSBrokerNotFound('No brokers in the broker pool')\n }\n\n for (const nodeId of brokers) {\n const broker = await this.findBroker({ nodeId })\n try {\n return await callback({ nodeId, broker })\n } catch (e) {}\n }\n\n return null\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findConnectedBroker() {\n const nodeIds = shuffle(keys(this.brokers))\n const connectedBrokerId = nodeIds.find(nodeId => this.brokers[nodeId].isConnected())\n\n if (connectedBrokerId) {\n return await this.findBroker({ nodeId: connectedBrokerId })\n }\n\n // Cycle through the nodes until one connects\n for (const nodeId of nodeIds) {\n try {\n return await this.findBroker({ nodeId })\n } catch (e) {}\n }\n\n // Failed to connect to all known brokers, metadata might be old\n await this.connect()\n return this.seedBroker\n }\n\n /**\n * @private\n * @param {Broker} broker\n * @returns {Promise}\n */\n async connectBroker(broker) {\n if (broker.isConnected()) {\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await broker.connect()\n } catch (e) {\n if (e.name === 'KafkaJSConnectionError' || e.type === 'ILLEGAL_SASL_STATE') {\n await broker.disconnect()\n }\n\n // To avoid reconnecting to an unavailable host, we bail on connection errors\n // and refresh metadata on a higher level before reconnecting\n if (e.name === 'KafkaJSConnectionError') {\n return bail(e)\n }\n\n if (e.type === 'ILLEGAL_SASL_STATE') {\n // Rebuild the connection since it can't recover from illegal SASL state\n broker.connection = await this.connectionBuilder.build({\n host: broker.connection.host,\n port: broker.connection.port,\n rack: broker.connection.rack,\n })\n\n this.logger.error(`Failed to connect to broker, reconnecting`, { retryCount, retryTime })\n throw new KafkaJSProtocolError(e, { retriable: true })\n }\n\n if (e.retriable) throw e\n this.logger.error(e, { retryCount, retryTime, stack: e.stack })\n bail(e)\n }\n })\n }\n}\n","const Connection = require('../network/connection')\nconst { KafkaJSConnectionError, KafkaJSNonRetriableError } = require('../errors')\n\n/**\n * @typedef {Object} ConnectionBuilder\n * @property {(destination?: { host?: string, port?: number, rack?: string }) => Promise} build\n */\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} [options.socketFactory]\n * @param {string[]|(() => string[])} options.brokers\n * @param {Object} [options.ssl]\n * @param {Object} [options.sasl]\n * @param {string} options.clientId\n * @param {number} options.requestTimeout\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.connectionTimeout]\n * @param {number} [options.maxInFlightRequests]\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter]\n * @returns {ConnectionBuilder}\n */\nmodule.exports = ({\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n requestTimeout,\n enforceRequestTimeout,\n connectionTimeout,\n maxInFlightRequests,\n logger,\n instrumentationEmitter = null,\n}) => {\n let index = 0\n\n const isValidBroker = broker => {\n return broker && typeof broker === 'string' && broker.length > 0\n }\n\n const validateBrokers = brokers => {\n if (!brokers) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers should not be null`)\n }\n\n if (Array.isArray(brokers)) {\n if (!brokers.length) {\n throw new KafkaJSNonRetriableError(`Failed to connect: brokers array is empty`)\n }\n\n brokers.forEach((broker, index) => {\n if (!isValidBroker(broker)) {\n throw new KafkaJSNonRetriableError(\n `Failed to connect: broker at index ${index} is invalid \"${typeof broker}\"`\n )\n }\n })\n }\n }\n\n const getBrokers = async () => {\n let list\n\n if (typeof brokers === 'function') {\n try {\n list = await brokers()\n } catch (e) {\n const wrappedError = new KafkaJSConnectionError(\n `Failed to connect: \"config.brokers\" threw: ${e.message}`\n )\n wrappedError.stack = `${wrappedError.name}\\n Caused by: ${e.stack}`\n throw wrappedError\n }\n } else {\n list = brokers\n }\n\n validateBrokers(list)\n\n return list\n }\n\n return {\n build: async ({ host, port, rack } = {}) => {\n if (!host) {\n const list = await getBrokers()\n\n const randomBroker = list[index++ % list.length]\n\n host = randomBroker.split(':')[0]\n port = Number(randomBroker.split(':')[1])\n }\n\n return new Connection({\n host,\n port,\n rack,\n sasl,\n ssl,\n clientId,\n socketFactory,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n instrumentationEmitter,\n logger,\n })\n },\n }\n}\n","const BrokerPool = require('./brokerPool')\nconst Lock = require('../utils/lock')\nconst createRetry = require('../retry')\nconst connectionBuilder = require('./connectionBuilder')\nconst flatten = require('../utils/flatten')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst {\n KafkaJSError,\n KafkaJSBrokerNotFound,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSGroupCoordinatorNotFound,\n} = require('../errors')\nconst COORDINATOR_TYPES = require('../protocol/coordinatorTypes')\n\nconst { keys } = Object\n\nconst mergeTopics = (obj, { topic, partitions }) => ({\n ...obj,\n [topic]: [...(obj[topic] || []), ...partitions],\n})\n\nmodule.exports = class Cluster {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} options.metadataMaxAge - in milliseconds\n * @param {boolean} options.allowAutoTopicCreation\n * @param {number} options.maxInFlightRequests\n * @param {number} options.isolationLevel\n * @param {import(\"../../types\").RetryOptions} options.retry\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {Map} [options.offsets]\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n logger: rootLogger,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout = 30000,\n enforceRequestTimeout,\n metadataMaxAge,\n retry,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter = null,\n offsets = new Map(),\n }) {\n this.rootLogger = rootLogger\n this.logger = rootLogger.namespace('Cluster')\n this.retrier = createRetry(retry)\n this.connectionBuilder = connectionBuilder({\n logger: rootLogger,\n instrumentationEmitter,\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n requestTimeout,\n enforceRequestTimeout,\n maxInFlightRequests,\n })\n\n this.targetTopics = new Set()\n this.mutatingTargetTopics = new Lock({\n description: `updating target topics`,\n timeout: requestTimeout,\n })\n this.isolationLevel = isolationLevel\n this.brokerPool = new BrokerPool({\n connectionBuilder: this.connectionBuilder,\n logger: this.rootLogger,\n retry,\n allowAutoTopicCreation,\n authenticationTimeout,\n reauthenticationThreshold,\n metadataMaxAge,\n })\n this.committedOffsetsByGroup = offsets\n }\n\n isConnected() {\n return this.brokerPool.hasConnectedBrokers()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async connect() {\n await this.brokerPool.connect()\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n await this.brokerPool.disconnect()\n }\n\n /**\n * @public\n * @param {object} destination\n * @param {String} destination.host\n * @param {Number} destination.port\n */\n removeBroker({ host, port }) {\n this.brokerPool.removeBroker({ host, port })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadata() {\n await this.brokerPool.refreshMetadata(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async refreshMetadataIfNecessary() {\n await this.brokerPool.refreshMetadataIfNecessary(Array.from(this.targetTopics))\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async metadata({ topics = [] } = {}) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.brokerPool.refreshMetadataIfNecessary(topics)\n return this.brokerPool.withBroker(async ({ broker }) => broker.metadata(topics))\n } catch (e) {\n if (e.type === 'LEADER_NOT_AVAILABLE') {\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {string} topic\n * @return {Promise}\n */\n async addTargetTopic(topic) {\n return this.addMultipleTargetTopics([topic])\n }\n\n /**\n * @public\n * @param {string[]} topics\n * @return {Promise}\n */\n async addMultipleTargetTopics(topics) {\n await this.mutatingTargetTopics.acquire()\n\n try {\n const previousSize = this.targetTopics.size\n const previousTopics = new Set(this.targetTopics)\n for (const topic of topics) {\n this.targetTopics.add(topic)\n }\n\n const hasChanged = previousSize !== this.targetTopics.size || !this.brokerPool.metadata\n\n if (hasChanged) {\n try {\n await this.refreshMetadata()\n } catch (e) {\n if (e.type === 'INVALID_TOPIC_EXCEPTION' || e.type === 'UNKNOWN_TOPIC_OR_PARTITION') {\n this.targetTopics = previousTopics\n }\n\n throw e\n }\n }\n } finally {\n await this.mutatingTargetTopics.release()\n }\n }\n\n /**\n * @public\n * @param {object} options\n * @param {string} options.nodeId\n * @returns {Promise}\n */\n async findBroker({ nodeId }) {\n try {\n return await this.brokerPool.findBroker({ nodeId })\n } catch (e) {\n // The client probably has stale metadata\n if (\n e.name === 'KafkaJSBrokerNotFound' ||\n e.name === 'KafkaJSLockTimeout' ||\n e.name === 'KafkaJSConnectionError'\n ) {\n await this.refreshMetadata()\n }\n\n throw e\n }\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async findControllerBroker() {\n const { metadata } = this.brokerPool\n\n if (!metadata || metadata.controllerId == null) {\n throw new KafkaJSMetadataNotLoaded('Topic metadata not loaded')\n }\n\n const broker = await this.findBroker({ nodeId: metadata.controllerId })\n\n if (!broker) {\n throw new KafkaJSBrokerNotFound(\n `Controller broker with id ${metadata.controllerId} not found in the cached metadata`\n )\n }\n\n return broker\n }\n\n /**\n * @public\n * @param {string} topic\n * @returns {import(\"../../types\").PartitionMetadata[]} Example:\n * [{\n * isr: [2],\n * leader: 2,\n * partitionErrorCode: 0,\n * partitionId: 0,\n * replicas: [2],\n * }]\n */\n findTopicPartitionMetadata(topic) {\n const { metadata } = this.brokerPool\n if (!metadata || !metadata.topicMetadata) {\n throw new KafkaJSTopicMetadataNotLoaded('Topic metadata not loaded', { topic })\n }\n\n const topicMetadata = metadata.topicMetadata.find(t => t.topic === topic)\n return topicMetadata ? topicMetadata.partitionMetadata : []\n }\n\n /**\n * @public\n * @param {string} topic\n * @param {(number|string)[]} partitions\n * @returns {Object} Object with leader and partitions. For partitions 0 and 5\n * the result could be:\n * { '0': [0], '2': [5] }\n *\n * where the key is the nodeId.\n */\n findLeaderForPartitions(topic, partitions) {\n const partitionMetadata = this.findTopicPartitionMetadata(topic)\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n\n if (!metadata) {\n return result\n }\n\n if (metadata.leader === null || metadata.leader === undefined) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n const { leader } = metadata\n const current = result[leader] || []\n return { ...result, [leader]: [...current, partitionId] }\n }, {})\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinator({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) {\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const { coordinator } = await this.findGroupCoordinatorMetadata({\n groupId,\n coordinatorType,\n })\n return await this.findBroker({ nodeId: coordinator.nodeId })\n } catch (e) {\n // A new broker can join the cluster before we have the chance\n // to refresh metadata\n if (e.name === 'KafkaJSBrokerNotFound' || e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug(`${e.message}, refreshing metadata and trying again...`, {\n groupId,\n retryCount,\n retryTime,\n })\n\n await this.refreshMetadata()\n throw e\n }\n\n if (e.code === 'ECONNREFUSED') {\n // During maintenance the current coordinator can go down; findBroker will\n // refresh metadata and re-throw the error. findGroupCoordinator has to re-throw\n // the error to go through the retry cycle.\n throw e\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} params\n * @param {string} params.groupId\n * @param {import(\"../protocol/coordinatorTypes\").CoordinatorType} [params.coordinatorType=0]\n * @returns {Promise}\n */\n async findGroupCoordinatorMetadata({ groupId, coordinatorType }) {\n const brokerMetadata = await this.brokerPool.withBroker(async ({ nodeId, broker }) => {\n return await this.retrier(async (bail, retryCount, retryTime) => {\n try {\n const brokerMetadata = await broker.findGroupCoordinator({ groupId, coordinatorType })\n this.logger.debug('Found group coordinator', {\n broker: brokerMetadata.host,\n nodeId: brokerMetadata.coordinator.nodeId,\n })\n return brokerMetadata\n } catch (e) {\n this.logger.debug('Tried to find group coordinator', {\n nodeId,\n error: e,\n })\n\n if (e.type === 'GROUP_COORDINATOR_NOT_AVAILABLE') {\n this.logger.debug('Group coordinator not available, retrying...', {\n nodeId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n })\n\n if (brokerMetadata) {\n return brokerMetadata\n }\n\n throw new KafkaJSGroupCoordinatorNotFound('Failed to find group coordinator')\n }\n\n /**\n * @param {object} topicConfiguration\n * @returns {number}\n */\n defaultOffset({ fromBeginning }) {\n return fromBeginning ? EARLIEST_OFFSET : LATEST_OFFSET\n }\n\n /**\n * @public\n * @param {Array} topics\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [{ partition: 0 }],\n * fromBeginning: false\n * }\n * ]\n * @returns {Promise} example:\n * [\n * {\n * topic: 'my-topic-name',\n * partitions: [\n * { partition: 0, offset: '1' },\n * { partition: 1, offset: '2' },\n * { partition: 2, offset: '1' },\n * ],\n * },\n * ]\n */\n async fetchTopicsOffset(topics) {\n const partitionsPerBroker = {}\n const topicConfigurations = {}\n\n const addDefaultOffset = topic => partition => {\n const { timestamp } = topicConfigurations[topic]\n return { ...partition, timestamp }\n }\n\n // Index all topics and partitions per leader (nodeId)\n for (const topicData of topics) {\n const { topic, partitions, fromBeginning, fromTimestamp } = topicData\n const partitionsPerLeader = this.findLeaderForPartitions(\n topic,\n partitions.map(p => p.partition)\n )\n const timestamp =\n fromTimestamp != null ? fromTimestamp : this.defaultOffset({ fromBeginning })\n\n topicConfigurations[topic] = { timestamp }\n\n keys(partitionsPerLeader).forEach(nodeId => {\n partitionsPerBroker[nodeId] = partitionsPerBroker[nodeId] || {}\n partitionsPerBroker[nodeId][topic] = partitions.filter(p =>\n partitionsPerLeader[nodeId].includes(p.partition)\n )\n })\n }\n\n // Create a list of requests to fetch the offset of all partitions\n const requests = keys(partitionsPerBroker).map(async nodeId => {\n const broker = await this.findBroker({ nodeId })\n const partitions = partitionsPerBroker[nodeId]\n\n const { responses: topicOffsets } = await broker.listOffsets({\n isolationLevel: this.isolationLevel,\n topics: keys(partitions).map(topic => ({\n topic,\n partitions: partitions[topic].map(addDefaultOffset(topic)),\n })),\n })\n\n return topicOffsets\n })\n\n // Execute all requests, merge and normalize the responses\n const responses = await Promise.all(requests)\n const partitionsPerTopic = flatten(responses).reduce(mergeTopics, {})\n\n return keys(partitionsPerTopic).map(topic => ({\n topic,\n partitions: partitionsPerTopic[topic].map(({ partition, offset }) => ({\n partition,\n offset,\n })),\n }))\n }\n\n /**\n * Retrieve the object mapping for committed offsets for a single consumer group\n * @param {object} options\n * @param {string} options.groupId\n * @returns {Object}\n */\n committedOffsets({ groupId }) {\n if (!this.committedOffsetsByGroup.has(groupId)) {\n this.committedOffsetsByGroup.set(groupId, {})\n }\n\n return this.committedOffsetsByGroup.get(groupId)\n }\n\n /**\n * Mark offset as committed for a single consumer group's topic-partition\n * @param {object} options\n * @param {string} options.groupId\n * @param {string} options.topic\n * @param {string|number} options.partition\n * @param {string} options.offset\n */\n markOffsetAsCommitted({ groupId, topic, partition, offset }) {\n const committedOffsets = this.committedOffsets({ groupId })\n\n committedOffsets[topic] = committedOffsets[topic] || {}\n committedOffsets[topic][partition] = offset\n }\n}\n","const EARLIEST_OFFSET = -2\nconst LATEST_OFFSET = -1\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\n\nmodule.exports = {\n EARLIEST_OFFSET,\n LATEST_OFFSET,\n INT_32_MAX_VALUE,\n}\n","const Encoder = require('../protocol/encoder')\nconst Decoder = require('../protocol/decoder')\n\nconst MemberMetadata = {\n /**\n * @param {Object} metadata\n * @param {number} metadata.version\n * @param {Array} metadata.topics\n * @param {Buffer} [metadata.userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, topics, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(topics)\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n return {\n version: decoder.readInt16(),\n topics: decoder.readArray(d => d.readString()),\n userData: decoder.readBytes(),\n }\n },\n}\n\nconst MemberAssignment = {\n /**\n * @param {number} version\n * @param {Object} assignment, example:\n * {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [0, 2],\n * }\n * @param {Buffer} [userData=Buffer.alloc(0)]\n *\n * @returns Buffer\n */\n encode({ version, assignment, userData = Buffer.alloc(0) }) {\n return new Encoder()\n .writeInt16(version)\n .writeArray(\n Object.keys(assignment).map(topic =>\n new Encoder().writeString(topic).writeArray(assignment[topic])\n )\n )\n .writeBytes(userData).buffer\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Object|null}\n */\n decode(buffer) {\n const decoder = new Decoder(buffer)\n const decodePartitions = d => d.readInt32()\n const decodeAssignment = d => ({\n topic: d.readString(),\n partitions: d.readArray(decodePartitions),\n })\n const indexAssignment = (obj, { topic, partitions }) =>\n Object.assign(obj, { [topic]: partitions })\n\n if (!decoder.canReadInt16()) {\n return null\n }\n\n return {\n version: decoder.readInt16(),\n assignment: decoder.readArray(decodeAssignment).reduce(indexAssignment, {}),\n userData: decoder.readBytes(),\n }\n },\n}\n\nmodule.exports = {\n MemberMetadata,\n MemberAssignment,\n}\n","const roundRobin = require('./roundRobinAssigner')\n\nmodule.exports = {\n roundRobin,\n}\n","const { MemberMetadata, MemberAssignment } = require('../../assignerProtocol')\nconst flatten = require('../../../utils/flatten')\n\n/**\n * RoundRobinAssigner\n * @param {Cluster} cluster\n * @returns {function}\n */\nmodule.exports = ({ cluster }) => ({\n name: 'RoundRobinAssigner',\n version: 1,\n\n /**\n * Assign the topics to the provided members.\n *\n * The members array contains information about each member, `memberMetadata` is the result of the\n * `protocol` operation.\n *\n * @param {array} members array of members, e.g:\n [{ memberId: 'test-5f93f5a3', memberMetadata: Buffer }]\n * @param {array} topics\n * @returns {array} object partitions per topic per member, e.g:\n * [\n * {\n * memberId: 'test-5f93f5a3',\n * memberAssignment: {\n * 'topic-A': [0, 2, 4, 6],\n * 'topic-B': [1],\n * },\n * },\n * {\n * memberId: 'test-3d3d5341',\n * memberAssignment: {\n * 'topic-A': [1, 3, 5],\n * 'topic-B': [0, 2],\n * },\n * }\n * ]\n */\n async assign({ members, topics }) {\n const membersCount = members.length\n const sortedMembers = members.map(({ memberId }) => memberId).sort()\n const assignment = {}\n\n const topicsPartionArrays = topics.map(topic => {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n return partitionMetadata.map(m => ({ topic: topic, partitionId: m.partitionId }))\n })\n const topicsPartitions = flatten(topicsPartionArrays)\n\n topicsPartitions.forEach((topicPartition, i) => {\n const assignee = sortedMembers[i % membersCount]\n\n if (!assignment[assignee]) {\n assignment[assignee] = Object.create(null)\n }\n\n if (!assignment[assignee][topicPartition.topic]) {\n assignment[assignee][topicPartition.topic] = []\n }\n\n assignment[assignee][topicPartition.topic].push(topicPartition.partitionId)\n })\n\n return Object.keys(assignment).map(memberId => ({\n memberId,\n memberAssignment: MemberAssignment.encode({\n version: this.version,\n assignment: assignment[memberId],\n }),\n }))\n },\n\n protocol({ topics }) {\n return {\n name: this.name,\n metadata: MemberMetadata.encode({\n version: this.version,\n topics,\n }),\n }\n },\n})\n","/**\n * @template T\n * @return {{lock: Promise, unlock: (v?: T) => void, unlockWithError: (e: Error) => void}}\n */\nmodule.exports = () => {\n let unlock\n let unlockWithError\n const lock = new Promise(resolve => {\n unlock = resolve\n unlockWithError = resolve\n })\n\n return { lock, unlock, unlockWithError }\n}\n","const Long = require('../utils/long')\nconst filterAbortedMessages = require('./filterAbortedMessages')\n\n/**\n * A batch collects messages returned from a single fetch call.\n *\n * A batch could contain _multiple_ Kafka RecordBatches.\n */\nmodule.exports = class Batch {\n constructor(topic, fetchedOffset, partitionData) {\n this.fetchedOffset = fetchedOffset\n const longFetchedOffset = Long.fromValue(this.fetchedOffset)\n const { abortedTransactions, messages } = partitionData\n\n this.topic = topic\n this.partition = partitionData.partition\n this.highWatermark = partitionData.highWatermark\n\n this.rawMessages = messages\n // Apparently fetch can return different offsets than the target offset provided to the fetch API.\n // Discard messages that are not in the requested offset\n // https://github.com/apache/kafka/blob/bf237fa7c576bd141d78fdea9f17f65ea269c290/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L912\n this.messagesWithinOffset = this.rawMessages.filter(message =>\n Long.fromValue(message.offset).gte(longFetchedOffset)\n )\n\n // 1. Don't expose aborted messages\n // 2. Don't expose control records\n // @see https://kafka.apache.org/documentation/#controlbatch\n this.messages = filterAbortedMessages({\n messages: this.messagesWithinOffset,\n abortedTransactions,\n }).filter(message => !message.isControlRecord)\n }\n\n isEmpty() {\n return this.messages.length === 0\n }\n\n isEmptyIncludingFiltered() {\n return this.messagesWithinOffset.length === 0\n }\n\n /**\n * If the batch contained raw messages (i.e was not truely empty) but all messages were filtered out due to\n * log compaction, control records or other reasons\n */\n isEmptyDueToFiltering() {\n return this.isEmpty() && this.rawMessages.length > 0\n }\n\n isEmptyControlRecord() {\n return (\n this.isEmpty() && this.messagesWithinOffset.some(({ isControlRecord }) => isControlRecord)\n )\n }\n\n /**\n * With compressed messages, it's possible for the returned messages to have offsets smaller than the starting offset.\n * These messages will be filtered out (i.e. they are not even included in this.messagesWithinOffset)\n * If these are the only messages, the batch will appear as an empty batch.\n *\n * isEmpty() and isEmptyIncludingFiltered() will always return true if the batch is empty,\n * but this method will only return true if the batch is empty due to log compacted messages.\n *\n * @returns boolean True if the batch is empty, because of log compacted messages in the partition.\n */\n isEmptyDueToLogCompactedMessages() {\n const hasMessages = this.rawMessages.length > 0\n return hasMessages && this.isEmptyIncludingFiltered()\n }\n\n firstOffset() {\n return this.isEmptyIncludingFiltered() ? null : this.messagesWithinOffset[0].offset\n }\n\n lastOffset() {\n if (this.isEmptyDueToLogCompactedMessages()) {\n return this.fetchedOffset\n }\n\n if (this.isEmptyIncludingFiltered()) {\n return Long.fromValue(this.highWatermark)\n .add(-1)\n .toString()\n }\n\n return this.messagesWithinOffset[this.messagesWithinOffset.length - 1].offset\n }\n\n /**\n * Returns the lag based on the last offset in the batch (also known as \"high\")\n */\n offsetLag() {\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const lastConsumedOffset = Long.fromValue(this.lastOffset())\n return lastOffsetOfPartition.add(lastConsumedOffset.multiply(-1)).toString()\n }\n\n /**\n * Returns the lag based on the first offset in the batch\n */\n offsetLagLow() {\n if (this.isEmptyIncludingFiltered()) {\n return '0'\n }\n\n const lastOffsetOfPartition = Long.fromValue(this.highWatermark).add(-1)\n const firstConsumedOffset = Long.fromValue(this.firstOffset())\n return lastOffsetOfPartition.add(firstConsumedOffset.multiply(-1)).toString()\n }\n}\n","const flatten = require('../utils/flatten')\nconst sleep = require('../utils/sleep')\nconst BufferedAsyncIterator = require('../utils/bufferedAsyncIterator')\nconst websiteUrl = require('../utils/websiteUrl')\nconst arrayDiff = require('../utils/arrayDiff')\nconst createRetry = require('../retry')\nconst sharedPromiseTo = require('../utils/sharedPromiseTo')\n\nconst OffsetManager = require('./offsetManager')\nconst Batch = require('./batch')\nconst SeekOffsets = require('./seekOffsets')\nconst SubscriptionState = require('./subscriptionState')\nconst {\n events: { GROUP_JOIN, HEARTBEAT, CONNECT, RECEIVED_UNSUBSCRIBED_TOPICS },\n} = require('./instrumentationEvents')\nconst { MemberAssignment } = require('./assignerProtocol')\nconst {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSStaleTopicMetadataAssignment,\n} = require('../errors')\n\nconst { keys } = Object\n\nconst STALE_METADATA_ERRORS = [\n 'LEADER_NOT_AVAILABLE',\n // Fetch before v9 uses NOT_LEADER_FOR_PARTITION\n 'NOT_LEADER_FOR_PARTITION',\n // Fetch after v9 uses {FENCED,UNKNOWN}_LEADER_EPOCH\n 'FENCED_LEADER_EPOCH',\n 'UNKNOWN_LEADER_EPOCH',\n 'UNKNOWN_TOPIC_OR_PARTITION',\n]\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst PRIVATE = {\n JOIN: Symbol('private:ConsumerGroup:join'),\n SYNC: Symbol('private:ConsumerGroup:sync'),\n HEARTBEAT: Symbol('private:ConsumerGroup:heartbeat'),\n SHAREDHEARTBEAT: Symbol('private:ConsumerGroup:sharedHeartbeat'),\n}\n\nmodule.exports = class ConsumerGroup {\n constructor({\n retry,\n cluster,\n groupId,\n topics,\n topicConfigurations,\n logger,\n instrumentationEmitter,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n }) {\n /** @type {import(\"../../types\").Cluster} */\n this.cluster = cluster\n this.groupId = groupId\n this.topics = topics\n this.topicsSubscribed = topics\n this.topicConfigurations = topicConfigurations\n this.logger = logger.namespace('ConsumerGroup')\n this.instrumentationEmitter = instrumentationEmitter\n this.retrier = createRetry(Object.assign({}, retry))\n this.assigners = assigners\n this.sessionTimeout = sessionTimeout\n this.rebalanceTimeout = rebalanceTimeout\n this.maxBytesPerPartition = maxBytesPerPartition\n this.minBytes = minBytes\n this.maxBytes = maxBytes\n this.maxWaitTime = maxWaitTimeInMs\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.isolationLevel = isolationLevel\n this.rackId = rackId\n this.metadataMaxAge = metadataMaxAge\n\n this.seekOffset = new SeekOffsets()\n this.coordinator = null\n this.generationId = null\n this.leaderId = null\n this.memberId = null\n this.members = null\n this.groupProtocol = null\n\n this.partitionsPerSubscribedTopic = null\n /**\n * Preferred read replica per topic and partition\n *\n * Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp\n * until when that preference is valid.\n *\n * @type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}\n */\n this.preferredReadReplicasPerTopicPartition = {}\n this.offsetManager = null\n this.subscriptionState = new SubscriptionState()\n\n this.lastRequest = Date.now()\n\n this[PRIVATE.SHAREDHEARTBEAT] = sharedPromiseTo(async ({ interval }) => {\n const { groupId, generationId, memberId } = this\n const now = Date.now()\n\n if (memberId && now >= this.lastRequest + interval) {\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n }\n\n await this.coordinator.heartbeat(payload)\n this.instrumentationEmitter.emit(HEARTBEAT, payload)\n this.lastRequest = Date.now()\n }\n })\n }\n\n isLeader() {\n return this.leaderId && this.memberId === this.leaderId\n }\n\n async connect() {\n await this.cluster.connect()\n this.instrumentationEmitter.emit(CONNECT)\n await this.cluster.refreshMetadataIfNecessary()\n }\n\n async [PRIVATE.JOIN]() {\n const { groupId, sessionTimeout, rebalanceTimeout } = this\n\n this.coordinator = await this.cluster.findGroupCoordinator({ groupId })\n\n const groupData = await this.coordinator.joinGroup({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId: this.memberId || '',\n groupProtocols: this.assigners.map(assigner =>\n assigner.protocol({\n topics: this.topicsSubscribed,\n })\n ),\n })\n\n this.generationId = groupData.generationId\n this.leaderId = groupData.leaderId\n this.memberId = groupData.memberId\n this.members = groupData.members\n this.groupProtocol = groupData.groupProtocol\n }\n\n async leave() {\n const { groupId, memberId } = this\n if (memberId) {\n await this.coordinator.leaveGroup({ groupId, memberId })\n this.memberId = null\n }\n }\n\n async [PRIVATE.SYNC]() {\n let assignment = []\n const {\n groupId,\n generationId,\n memberId,\n members,\n groupProtocol,\n topics,\n topicsSubscribed,\n coordinator,\n } = this\n\n if (this.isLeader()) {\n this.logger.debug('Chosen as group leader', { groupId, generationId, memberId, topics })\n const assigner = this.assigners.find(({ name }) => name === groupProtocol)\n\n if (!assigner) {\n throw new KafkaJSNonRetriableError(\n `Unsupported partition assigner \"${groupProtocol}\", the assigner wasn't found in the assigners list`\n )\n }\n\n await this.cluster.refreshMetadata()\n assignment = await assigner.assign({ members, topics: topicsSubscribed })\n\n this.logger.debug('Group assignment', {\n groupId,\n generationId,\n groupProtocol,\n assignment,\n topics: topicsSubscribed,\n })\n }\n\n // Keep track of the partitions for the subscribed topics\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n const { memberAssignment } = await this.coordinator.syncGroup({\n groupId,\n generationId,\n memberId,\n groupAssignment: assignment,\n })\n\n const decodedMemberAssignment = MemberAssignment.decode(memberAssignment)\n const decodedAssignment =\n decodedMemberAssignment != null ? decodedMemberAssignment.assignment : {}\n\n this.logger.debug('Received assignment', {\n groupId,\n generationId,\n memberId,\n memberAssignment: decodedAssignment,\n })\n\n const assignedTopics = keys(decodedAssignment)\n const topicsNotSubscribed = arrayDiff(assignedTopics, topicsSubscribed)\n\n if (topicsNotSubscribed.length > 0) {\n const payload = {\n groupId,\n generationId,\n memberId,\n assignedTopics,\n topicsSubscribed,\n topicsNotSubscribed,\n }\n\n this.instrumentationEmitter.emit(RECEIVED_UNSUBSCRIBED_TOPICS, payload)\n this.logger.warn('Consumer group received unsubscribed topics', {\n ...payload,\n helpUrl: websiteUrl(\n 'docs/faq',\n 'why-am-i-receiving-messages-for-topics-i-m-not-subscribed-to'\n ),\n })\n }\n\n // Remove unsubscribed topics from the list\n const safeAssignment = arrayDiff(assignedTopics, topicsNotSubscribed)\n const currentMemberAssignment = safeAssignment.map(topic => ({\n topic,\n partitions: decodedAssignment[topic],\n }))\n\n // Check if the consumer is aware of all assigned partitions\n for (const assignment of currentMemberAssignment) {\n const { topic, partitions: assignedPartitions } = assignment\n const knownPartitions = this.partitionsPerSubscribedTopic.get(topic)\n const isAwareOfAllAssignedPartitions = assignedPartitions.every(partition =>\n knownPartitions.includes(partition)\n )\n\n if (!isAwareOfAllAssignedPartitions) {\n this.logger.warn('Consumer is not aware of all assigned partitions, refreshing metadata', {\n groupId,\n generationId,\n memberId,\n topic,\n knownPartitions,\n assignedPartitions,\n })\n\n // If the consumer is not aware of all assigned partitions, refresh metadata\n // and update the list of partitions per subscribed topic. It's enough to perform\n // this operation once since refresh metadata will update metadata for all topics\n await this.cluster.refreshMetadata()\n this.partitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n break\n }\n }\n\n this.topics = currentMemberAssignment.map(({ topic }) => topic)\n this.subscriptionState.assign(currentMemberAssignment)\n this.offsetManager = new OffsetManager({\n cluster: this.cluster,\n topicConfigurations: this.topicConfigurations,\n instrumentationEmitter: this.instrumentationEmitter,\n memberAssignment: currentMemberAssignment.reduce(\n (partitionsByTopic, { topic, partitions }) => ({\n ...partitionsByTopic,\n [topic]: partitions,\n }),\n {}\n ),\n autoCommit: this.autoCommit,\n autoCommitInterval: this.autoCommitInterval,\n autoCommitThreshold: this.autoCommitThreshold,\n coordinator,\n groupId,\n generationId,\n memberId,\n })\n }\n\n joinAndSync() {\n const startJoin = Date.now()\n return this.retrier(async bail => {\n try {\n await this[PRIVATE.JOIN]()\n await this[PRIVATE.SYNC]()\n\n const memberAssignment = this.assigned().reduce(\n (result, { topic, partitions }) => ({ ...result, [topic]: partitions }),\n {}\n )\n\n const payload = {\n groupId: this.groupId,\n memberId: this.memberId,\n leaderId: this.leaderId,\n isLeader: this.isLeader(),\n memberAssignment,\n groupProtocol: this.groupProtocol,\n duration: Date.now() - startJoin,\n }\n\n this.instrumentationEmitter.emit(GROUP_JOIN, payload)\n this.logger.info('Consumer has joined the group', payload)\n } catch (e) {\n if (isRebalancing(e)) {\n // Rebalance in progress isn't a retriable protocol error since the consumer\n // has to go through find coordinator and join again before it can\n // actually retry the operation. We wrap the original error in a retriable error\n // here instead in order to restart the join + sync sequence using the retrier.\n throw new KafkaJSError(e)\n }\n\n bail(e)\n }\n })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.offsetManager.resetOffset({ topic, partition })\n }\n\n /**\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.offsetManager.resolveOffset({ topic, partition, offset })\n }\n\n /**\n * Update the consumer offset for the given topic/partition. This will be used\n * on the next fetch. If this API is invoked for the same topic/partition more\n * than once, the latest offset will be used on the next fetch.\n *\n * @param {import(\"../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n seek({ topic, partition, offset }) {\n this.seekOffset.set(topic, partition, offset)\n }\n\n pause(topicPartitions) {\n this.logger.info(`Pausing fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.pause(topicPartitions)\n }\n\n resume(topicPartitions) {\n this.logger.info(`Resuming fetching from ${topicPartitions.length} topics`, {\n topicPartitions,\n })\n this.subscriptionState.resume(topicPartitions)\n }\n\n assigned() {\n return this.subscriptionState.assigned()\n }\n\n paused() {\n return this.subscriptionState.paused()\n }\n\n async commitOffsetsIfNecessary() {\n await this.offsetManager.commitOffsetsIfNecessary()\n }\n\n async commitOffsets(offsets) {\n await this.offsetManager.commitOffsets(offsets)\n }\n\n uncommittedOffsets() {\n return this.offsetManager.uncommittedOffsets()\n }\n\n async heartbeat({ interval }) {\n return this[PRIVATE.SHAREDHEARTBEAT]({ interval })\n }\n\n async fetch() {\n try {\n const { topics, maxBytesPerPartition, maxWaitTime, minBytes, maxBytes } = this\n /** @type {{[nodeId: string]: {topic: string, partitions: { partition: number; fetchOffset: string; maxBytes: number }[]}[]}} */\n const requestsPerNode = {}\n\n await this.cluster.refreshMetadataIfNecessary()\n this.checkForStaleAssignment()\n\n while (this.seekOffset.size > 0) {\n const seekEntry = this.seekOffset.pop()\n this.logger.debug('Seek offset', {\n groupId: this.groupId,\n memberId: this.memberId,\n seek: seekEntry,\n })\n await this.offsetManager.seek(seekEntry)\n }\n\n const pausedTopicPartitions = this.subscriptionState.paused()\n const activeTopicPartitions = this.subscriptionState.active()\n\n const activePartitions = flatten(activeTopicPartitions.map(({ partitions }) => partitions))\n const activeTopics = activeTopicPartitions\n .filter(({ partitions }) => partitions.length > 0)\n .map(({ topic }) => topic)\n\n if (activePartitions.length === 0) {\n this.logger.debug(`No active topic partitions, sleeping for ${this.maxWaitTime}ms`, {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n })\n\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n await this.offsetManager.resolveOffsets()\n\n this.logger.debug(\n `Fetching from ${activePartitions.length} partitions for ${activeTopics.length} out of ${topics.length} topics`,\n {\n topics,\n activeTopicPartitions,\n pausedTopicPartitions,\n }\n )\n\n for (const topicPartition of activeTopicPartitions) {\n const partitionsPerNode = this.findReadReplicaForPartitions(\n topicPartition.topic,\n topicPartition.partitions\n )\n\n const nodeIds = keys(partitionsPerNode)\n const committedOffsets = this.offsetManager.committedOffsets()\n\n for (const nodeId of nodeIds) {\n const partitions = partitionsPerNode[nodeId]\n .filter(partition => {\n /**\n * When recovering from OffsetOutOfRange, each partition can recover\n * concurrently, which invalidates resolved and committed offsets as part\n * of the recovery mechanism (see OffsetManager.clearOffsets). In concurrent\n * scenarios this can initiate a new fetch with invalid offsets.\n *\n * This was further highlighted by https://github.com/tulios/kafkajs/pull/570,\n * which increased concurrency, making this more likely to happen.\n *\n * This is solved by only making requests for partitions with initialized offsets.\n *\n * See the following pull request which explains the context of the problem:\n * @issue https://github.com/tulios/kafkajs/pull/578\n */\n return committedOffsets[topicPartition.topic][partition] != null\n })\n .map(partition => ({\n partition,\n fetchOffset: this.offsetManager\n .nextOffset(topicPartition.topic, partition)\n .toString(),\n maxBytes: maxBytesPerPartition,\n }))\n\n requestsPerNode[nodeId] = requestsPerNode[nodeId] || []\n requestsPerNode[nodeId].push({ topic: topicPartition.topic, partitions })\n }\n }\n\n const requests = keys(requestsPerNode).map(async nodeId => {\n const broker = await this.cluster.findBroker({ nodeId })\n const { responses } = await broker.fetch({\n maxWaitTime,\n minBytes,\n maxBytes,\n isolationLevel: this.isolationLevel,\n topics: requestsPerNode[nodeId],\n rackId: this.rackId,\n })\n\n const batchesPerPartition = responses.map(({ topicName, partitions }) => {\n const topicRequestData = requestsPerNode[nodeId].find(({ topic }) => topic === topicName)\n let preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topicName]\n if (!preferredReadReplicas) {\n this.preferredReadReplicasPerTopicPartition[topicName] = preferredReadReplicas = {}\n }\n\n return partitions\n .filter(\n partitionData =>\n !this.seekOffset.has(topicName, partitionData.partition) &&\n !this.subscriptionState.isPaused(topicName, partitionData.partition)\n )\n .map(partitionData => {\n const { partition, preferredReadReplica } = partitionData\n if (preferredReadReplica != null && preferredReadReplica !== -1) {\n const { nodeId: currentPreferredReadReplica } =\n preferredReadReplicas[partition] || {}\n if (currentPreferredReadReplica !== preferredReadReplica) {\n this.logger.info(`Preferred read replica is now ${preferredReadReplica}`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: topicName,\n partition,\n })\n }\n preferredReadReplicas[partition] = {\n nodeId: preferredReadReplica,\n expireAt: Date.now() + this.metadataMaxAge,\n }\n }\n\n const partitionRequestData = topicRequestData.partitions.find(\n ({ partition }) => partition === partitionData.partition\n )\n\n const fetchedOffset = partitionRequestData.fetchOffset\n return new Batch(topicName, fetchedOffset, partitionData)\n })\n })\n\n return flatten(batchesPerPartition)\n })\n\n // fetch can generate empty requests when the consumer group receives an assignment\n // with more topics than the subscribed, so to prevent a busy loop we wait the\n // configured max wait time\n if (requests.length === 0) {\n await sleep(this.maxWaitTime)\n return BufferedAsyncIterator([])\n }\n\n return BufferedAsyncIterator(requests, e => this.recoverFromFetch(e))\n } catch (e) {\n await this.recoverFromFetch(e)\n }\n }\n\n async recoverFromFetch(e) {\n if (STALE_METADATA_ERRORS.includes(e.type) || e.name === 'KafkaJSTopicMetadataNotLoaded') {\n this.logger.debug('Stale cluster metadata, refreshing...', {\n groupId: this.groupId,\n memberId: this.memberId,\n error: e.message,\n })\n\n await this.cluster.refreshMetadata()\n await this.joinAndSync()\n throw new KafkaJSError(e.message)\n }\n\n if (e.name === 'KafkaJSStaleTopicMetadataAssignment') {\n this.logger.warn(`${e.message}, resync group`, {\n groupId: this.groupId,\n memberId: this.memberId,\n topic: e.topic,\n unknownPartitions: e.unknownPartitions,\n })\n\n await this.joinAndSync()\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n await this.recoverFromOffsetOutOfRange(e)\n }\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n this.cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (e.name === 'KafkaJSBrokerNotFound' || e.name === 'KafkaJSConnectionClosedError') {\n this.logger.debug(`${e.message}, refreshing metadata and retrying...`)\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n\n async recoverFromOffsetOutOfRange(e) {\n // If we are fetching from a follower try with the leader before resetting offsets\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[e.topic]\n if (preferredReadReplicas && typeof preferredReadReplicas[e.partition] === 'number') {\n this.logger.info('Offset out of range while fetching from follower, retrying with leader', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n delete preferredReadReplicas[e.partition]\n } else {\n this.logger.error('Offset out of range, resetting to default offset', {\n topic: e.topic,\n partition: e.partition,\n groupId: this.groupId,\n memberId: this.memberId,\n })\n\n await this.offsetManager.setDefaultOffset({\n topic: e.topic,\n partition: e.partition,\n })\n }\n }\n\n generatePartitionsPerSubscribedTopic() {\n const map = new Map()\n\n for (const topic of this.topicsSubscribed) {\n const partitions = this.cluster\n .findTopicPartitionMetadata(topic)\n .map(m => m.partitionId)\n .sort()\n\n map.set(topic, partitions)\n }\n\n return map\n }\n\n checkForStaleAssignment() {\n if (!this.partitionsPerSubscribedTopic) {\n return\n }\n\n const newPartitionsPerSubscribedTopic = this.generatePartitionsPerSubscribedTopic()\n\n for (const [topic, partitions] of newPartitionsPerSubscribedTopic) {\n const diff = arrayDiff(partitions, this.partitionsPerSubscribedTopic.get(topic))\n\n if (diff.length > 0) {\n throw new KafkaJSStaleTopicMetadataAssignment('Topic has been updated', {\n topic,\n unknownPartitions: diff,\n })\n }\n }\n }\n\n hasSeekOffset({ topic, partition }) {\n return this.seekOffset.has(topic, partition)\n }\n\n /**\n * For each of the partitions find the best nodeId to read it from\n *\n * @param {string} topic\n * @param {number[]} partitions\n * @returns {{[nodeId: number]: number[]}} per-node assignment of partitions\n * @see Cluster~findLeaderForPartitions\n */\n // Invariant: The resulting object has each partition referenced exactly once\n findReadReplicaForPartitions(topic, partitions) {\n const partitionMetadata = this.cluster.findTopicPartitionMetadata(topic)\n const preferredReadReplicas = this.preferredReadReplicasPerTopicPartition[topic]\n return partitions.reduce((result, id) => {\n const partitionId = parseInt(id, 10)\n const metadata = partitionMetadata.find(p => p.partitionId === partitionId)\n if (!metadata) {\n return result\n }\n\n if (metadata.leader == null) {\n throw new KafkaJSError('Invalid partition metadata', { topic, partitionId, metadata })\n }\n\n // Pick the preferred replica if there is one, and it isn't known to be offline, otherwise the leader.\n let nodeId = metadata.leader\n if (preferredReadReplicas) {\n const { nodeId: preferredReadReplica, expireAt } = preferredReadReplicas[partitionId] || {}\n if (Date.now() >= expireAt) {\n this.logger.debug('Preferred read replica information has expired, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n // Drop the entry\n delete preferredReadReplicas[partitionId]\n } else if (preferredReadReplica != null) {\n // Valid entry, check whether it is not offline\n // Note that we don't delete the preference here, and rather hope that eventually that replica comes online again\n const offlineReplicas = metadata.offlineReplicas\n if (Array.isArray(offlineReplicas) && offlineReplicas.includes(nodeId)) {\n this.logger.debug('Preferred read replica is offline, using leader', {\n topic,\n partitionId,\n groupId: this.groupId,\n memberId: this.memberId,\n preferredReadReplica,\n leader: metadata.leader,\n })\n } else {\n nodeId = preferredReadReplica\n }\n }\n }\n const current = result[nodeId] || []\n return { ...result, [nodeId]: [...current, partitionId] }\n }, {})\n }\n}\n","const Long = require('../utils/long')\nconst ABORTED_MESSAGE_KEY = Buffer.from([0, 0, 0, 0])\n\nconst isAbortMarker = ({ key }) => {\n // Handle null/undefined keys.\n if (!key) return false\n // Cast key to buffer defensively\n return Buffer.from(key).equals(ABORTED_MESSAGE_KEY)\n}\n\n/**\n * Remove messages marked as aborted according to the aborted transactions list.\n *\n * Start of an aborted transaction is determined by message offset.\n * End of an aborted transaction is determined by control messages.\n * @param {Message[]} messages\n * @param {Transaction[]} [abortedTransactions]\n * @returns {Message[]} Messages which did not participate in an aborted transaction\n *\n * @typedef {object} Message\n * @param {Buffer} key\n * @param {lastOffset} key Int64\n * @param {RecordBatch} batchContext\n *\n * @typedef {object} Transaction\n * @param {string} firstOffset Int64\n * @param {string} producerId Int64\n *\n * @typedef {object} RecordBatch\n * @param {string} producerId Int64\n * @param {boolean} inTransaction\n */\nmodule.exports = ({ messages, abortedTransactions }) => {\n const currentAbortedTransactions = new Map()\n\n if (!abortedTransactions || !abortedTransactions.length) {\n return messages\n }\n\n const remainingAbortedTransactions = [...abortedTransactions]\n\n return messages.filter(message => {\n // If the message offset is GTE the first offset of the next aborted transaction\n // then we have stepped into an aborted transaction.\n if (\n remainingAbortedTransactions.length &&\n Long.fromValue(message.offset).gte(remainingAbortedTransactions[0].firstOffset)\n ) {\n const { producerId } = remainingAbortedTransactions.shift()\n currentAbortedTransactions.set(producerId, true)\n }\n\n const { producerId, inTransaction } = message.batchContext\n\n if (isAbortMarker(message)) {\n // Transaction is over, we no longer need to ignore messages from this producer\n currentAbortedTransactions.delete(producerId)\n } else if (currentAbortedTransactions.has(producerId) && inTransaction) {\n return false\n }\n\n return true\n })\n}\n","const Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst { initialRetryTime } = require('../retry/defaults')\nconst ConsumerGroup = require('./consumerGroup')\nconst Runner = require('./runner')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst { KafkaJSNonRetriableError } = require('../errors')\nconst { roundRobin } = require('./assigners')\nconst { EARLIEST_OFFSET, LATEST_OFFSET } = require('../constants')\nconst ISOLATION_LEVEL = require('../protocol/isolationLevel')\n\nconst { keys, values } = Object\nconst { CONNECT, DISCONNECT, STOP, CRASH } = events\n\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `consumer.events.${key}`)\n .join(', ')\n\nconst specialOffsets = [\n Long.fromValue(EARLIEST_OFFSET).toString(),\n Long.fromValue(LATEST_OFFSET).toString(),\n]\n\n/**\n * @param {Object} params\n * @param {import(\"../../types\").Cluster} params.cluster\n * @param {String} params.groupId\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').PartitionAssigner[]} [params.partitionAssigners]\n * @param {number} [params.sessionTimeout]\n * @param {number} [params.rebalanceTimeout]\n * @param {number} [params.heartbeatInterval]\n * @param {number} [params.maxBytesPerPartition]\n * @param {number} [params.minBytes]\n * @param {number} [params.maxBytes]\n * @param {number} [params.maxWaitTimeInMs]\n * @param {number} [params.isolationLevel]\n * @param {string} [params.rackId]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n * @param {number} params.metadataMaxAge\n *\n * @returns {import(\"../../types\").Consumer}\n */\nmodule.exports = ({\n cluster,\n groupId,\n retry,\n logger: rootLogger,\n partitionAssigners = [roundRobin],\n sessionTimeout = 30000,\n rebalanceTimeout = 60000,\n heartbeatInterval = 3000,\n maxBytesPerPartition = 1048576, // 1MB\n minBytes = 1,\n maxBytes = 10485760, // 10MB\n maxWaitTimeInMs = 5000,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n rackId = '',\n instrumentationEmitter: rootInstrumentationEmitter,\n metadataMaxAge,\n}) => {\n if (!groupId) {\n throw new KafkaJSNonRetriableError('Consumer groupId must be a non-empty string.')\n }\n\n const logger = rootLogger.namespace('Consumer')\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const assigners = partitionAssigners.map(createAssigner =>\n createAssigner({ groupId, logger, cluster })\n )\n\n const topics = {}\n let runner = null\n let consumerGroup = null\n\n if (heartbeatInterval >= sessionTimeout) {\n throw new KafkaJSNonRetriableError(\n `Consumer heartbeatInterval (${heartbeatInterval}) must be lower than sessionTimeout (${sessionTimeout}). It is recommended to set heartbeatInterval to approximately a third of the sessionTimeout.`\n )\n }\n\n const createConsumerGroup = ({ autoCommit, autoCommitInterval, autoCommitThreshold }) => {\n return new ConsumerGroup({\n logger: rootLogger,\n topics: keys(topics),\n topicConfigurations: topics,\n retry,\n cluster,\n groupId,\n assigners,\n sessionTimeout,\n rebalanceTimeout,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n instrumentationEmitter,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n isolationLevel,\n rackId,\n metadataMaxAge,\n })\n }\n\n const createRunner = ({\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n autoCommit,\n partitionsConsumedConcurrently,\n }) => {\n return new Runner({\n autoCommit,\n logger: rootLogger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n retry,\n onCrash,\n partitionsConsumedConcurrently,\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"connect\"]} */\n const connect = async () => {\n await cluster.connect()\n instrumentationEmitter.emit(CONNECT)\n }\n\n /** @type {import(\"../../types\").Consumer[\"disconnect\"]} */\n const disconnect = async () => {\n try {\n await stop()\n logger.debug('consumer has stopped, disconnecting', { groupId })\n await cluster.disconnect()\n instrumentationEmitter.emit(DISCONNECT)\n } catch (e) {\n logger.error(`Caught error when disconnecting the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"stop\"]} */\n const stop = async () => {\n try {\n if (runner) {\n await runner.stop()\n runner = null\n consumerGroup = null\n instrumentationEmitter.emit(STOP)\n }\n\n logger.info('Stopped', { groupId })\n } catch (e) {\n logger.error(`Caught error when stopping the consumer: ${e.message}`, {\n stack: e.stack,\n groupId,\n })\n\n throw e\n }\n }\n\n /** @type {import(\"../../types\").Consumer[\"subscribe\"]} */\n const subscribe = async ({ topic, fromBeginning = false }) => {\n if (consumerGroup) {\n throw new KafkaJSNonRetriableError('Cannot subscribe to topic while consumer is running')\n }\n\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n const isRegExp = topic instanceof RegExp\n if (typeof topic !== 'string' && !isRegExp) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${topic} (${typeof topic}), the topic name has to be a String or a RegExp`\n )\n }\n\n const topicsToSubscribe = []\n if (isRegExp) {\n const topicRegExp = topic\n const metadata = await cluster.metadata()\n const matchedTopics = metadata.topicMetadata\n .map(({ topic: topicName }) => topicName)\n .filter(topicName => topicRegExp.test(topicName))\n\n logger.debug('Subscription based on RegExp', {\n groupId,\n topicRegExp: topicRegExp.toString(),\n matchedTopics,\n })\n\n topicsToSubscribe.push(...matchedTopics)\n } else {\n topicsToSubscribe.push(topic)\n }\n\n for (const t of topicsToSubscribe) {\n topics[t] = { fromBeginning }\n }\n\n await cluster.addMultipleTargetTopics(topicsToSubscribe)\n }\n\n /** @type {import(\"../../types\").Consumer[\"run\"]} */\n const run = async ({\n autoCommit = true,\n autoCommitInterval = null,\n autoCommitThreshold = null,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently = 1,\n eachBatch = null,\n eachMessage = null,\n } = {}) => {\n if (consumerGroup) {\n logger.warn('consumer#run was called, but the consumer is already running', { groupId })\n return\n }\n\n consumerGroup = createConsumerGroup({\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n const start = async onCrash => {\n logger.info('Starting', { groupId })\n runner = createRunner({\n autoCommit,\n eachBatchAutoResolve,\n eachBatch,\n eachMessage,\n onCrash,\n partitionsConsumedConcurrently,\n })\n\n await runner.start()\n }\n\n const restart = onCrash => {\n consumerGroup = createConsumerGroup({\n autoCommitInterval,\n autoCommitThreshold,\n })\n\n start(onCrash)\n }\n\n const onCrash = async e => {\n logger.error(`Crash: ${e.name}: ${e.message}`, {\n groupId,\n retryCount: e.retryCount,\n stack: e.stack,\n })\n\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n await disconnect()\n\n const isErrorRetriable = e.name === 'KafkaJSNumberOfRetriesExceeded' || e.retriable === true\n const shouldRestart =\n isErrorRetriable &&\n (!retry ||\n !retry.restartOnFailure ||\n (await retry.restartOnFailure(e).catch(error => {\n logger.error(\n 'Caught error when invoking user-provided \"restartOnFailure\" callback. Defaulting to restarting.',\n {\n error: error.message || error,\n originalError: e.message || e,\n groupId,\n }\n )\n\n return true\n })))\n\n instrumentationEmitter.emit(CRASH, {\n error: e,\n groupId,\n restart: shouldRestart,\n })\n\n if (shouldRestart) {\n const retryTime = e.retryTime || (retry && retry.initialRetryTime) || initialRetryTime\n logger.error(`Restarting the consumer in ${retryTime}ms`, {\n retryCount: e.retryCount,\n retryTime,\n groupId,\n })\n\n setTimeout(() => restart(onCrash), retryTime)\n }\n }\n\n await start(onCrash)\n }\n\n /** @type {import(\"../../types\").Consumer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"commitOffsets\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partition: 0, offset: '1', metadata: 'event-id-3' }]\n */\n const commitOffsets = async (topicPartitions = []) => {\n const commitsByTopic = topicPartitions.reduce(\n (payload, { topic, partition, offset, metadata = null }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let commitOffset\n try {\n commitOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (commitOffset.lessThan(0)) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (metadata !== null && typeof metadata !== 'string') {\n throw new KafkaJSNonRetriableError(\n `Invalid offset metadata, expected string or null, received ${metadata}`\n )\n }\n\n const topicCommits = payload[topic] || []\n\n topicCommits.push({ partition, offset: commitOffset, metadata })\n\n return { ...payload, [topic]: topicCommits }\n },\n {}\n )\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n const topics = Object.keys(commitsByTopic)\n\n return runner.commitOffsets({\n topics: topics.map(topic => {\n return {\n topic,\n partitions: commitsByTopic[topic],\n }\n }),\n })\n }\n\n /** @type {import(\"../../types\").Consumer[\"seek\"]} */\n const seek = ({ topic, partition, offset }) => {\n if (!topic) {\n throw new KafkaJSNonRetriableError(`Invalid topic ${topic}`)\n }\n\n if (isNaN(partition)) {\n throw new KafkaJSNonRetriableError(\n `Invalid partition, expected a number received ${partition}`\n )\n }\n\n let seekOffset\n try {\n seekOffset = Long.fromValue(offset)\n } catch (_) {\n throw new KafkaJSNonRetriableError(`Invalid offset, expected a long received ${offset}`)\n }\n\n if (seekOffset.lessThan(0) && !specialOffsets.includes(seekOffset.toString())) {\n throw new KafkaJSNonRetriableError('Offset must not be a negative number')\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.seek({ topic, partition, offset: seekOffset.toString() })\n }\n\n /** @type {import(\"../../types\").Consumer[\"describeGroup\"]} */\n const describeGroup = async () => {\n const coordinator = await cluster.findGroupCoordinator({ groupId })\n const retrier = createRetry(retry)\n return retrier(async () => {\n const { groups } = await coordinator.describeGroups({ groupIds: [groupId] })\n return groups.find(group => group.groupId === groupId)\n })\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"pause\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const pause = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to pause specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.pause(topicPartitions)\n }\n\n /**\n * Returns the list of topic partitions paused on this consumer\n *\n * @type {import(\"../../types\").Consumer[\"paused\"]}\n */\n const paused = () => {\n if (!consumerGroup) {\n return []\n }\n\n return consumerGroup.paused()\n }\n\n /**\n * @type {import(\"../../types\").Consumer[\"resume\"]}\n * @param topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n const resume = (topicPartitions = []) => {\n for (const topicPartition of topicPartitions) {\n if (!topicPartition || !topicPartition.topic) {\n throw new KafkaJSNonRetriableError(\n `Invalid topic ${(topicPartition && topicPartition.topic) || topicPartition}`\n )\n } else if (\n typeof topicPartition.partitions !== 'undefined' &&\n (!Array.isArray(topicPartition.partitions) || topicPartition.partitions.some(isNaN))\n ) {\n throw new KafkaJSNonRetriableError(\n `Array of valid partitions required to resume specific partitions instead of ${topicPartition.partitions}`\n )\n }\n }\n\n if (!consumerGroup) {\n throw new KafkaJSNonRetriableError(\n 'Consumer group was not initialized, consumer#run must be called first'\n )\n }\n\n consumerGroup.resume(topicPartitions)\n }\n\n /**\n * @return {Object} logger\n */\n const getLogger = () => logger\n\n return {\n connect,\n disconnect,\n subscribe,\n stop,\n run,\n commitOffsets,\n seek,\n describeGroup,\n pause,\n paused,\n resume,\n on,\n events,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst networkEvents = require('../network/instrumentationEvents')\nconst consumerType = InstrumentationEventType('consumer')\n\nconst events = {\n HEARTBEAT: consumerType('heartbeat'),\n COMMIT_OFFSETS: consumerType('commit_offsets'),\n GROUP_JOIN: consumerType('group_join'),\n FETCH: consumerType('fetch'),\n FETCH_START: consumerType('fetch_start'),\n START_BATCH_PROCESS: consumerType('start_batch_process'),\n END_BATCH_PROCESS: consumerType('end_batch_process'),\n CONNECT: consumerType('connect'),\n DISCONNECT: consumerType('disconnect'),\n STOP: consumerType('stop'),\n CRASH: consumerType('crash'),\n REBALANCING: consumerType('rebalancing'),\n RECEIVED_UNSUBSCRIBED_TOPICS: consumerType('received_unsubscribed_topics'),\n REQUEST: consumerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: consumerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: consumerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const Long = require('../../utils/long')\nconst flatten = require('../../utils/flatten')\nconst isInvalidOffset = require('./isInvalidOffset')\nconst initializeConsumerOffsets = require('./initializeConsumerOffsets')\nconst {\n events: { COMMIT_OFFSETS },\n} = require('../instrumentationEvents')\n\nconst { keys, assign } = Object\nconst indexTopics = topics => topics.reduce((obj, topic) => assign(obj, { [topic]: {} }), {})\n\nconst PRIVATE = {\n COMMITTED_OFFSETS: Symbol('private:OffsetManager:committedOffsets'),\n}\nmodule.exports = class OffsetManager {\n /**\n * @param {Object} options\n * @param {import(\"../../../types\").Cluster} options.cluster\n * @param {import(\"../../../types\").Broker} options.coordinator\n * @param {import(\"../../../types\").IMemberAssignment} options.memberAssignment\n * @param {boolean} options.autoCommit\n * @param {number | null} options.autoCommitInterval\n * @param {number | null} options.autoCommitThreshold\n * @param {{[topic: string]: { fromBeginning: boolean }}} options.topicConfigurations\n * @param {import(\"../../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {string} options.groupId\n * @param {number} options.generationId\n * @param {string} options.memberId\n */\n constructor({\n cluster,\n coordinator,\n memberAssignment,\n autoCommit,\n autoCommitInterval,\n autoCommitThreshold,\n topicConfigurations,\n instrumentationEmitter,\n groupId,\n generationId,\n memberId,\n }) {\n this.cluster = cluster\n this.coordinator = coordinator\n\n // memberAssignment format:\n // {\n // 'topic1': [0, 1, 2, 3],\n // 'topic2': [0, 1, 2, 3, 4, 5],\n // }\n this.memberAssignment = memberAssignment\n\n this.topicConfigurations = topicConfigurations\n this.instrumentationEmitter = instrumentationEmitter\n this.groupId = groupId\n this.generationId = generationId\n this.memberId = memberId\n\n this.autoCommit = autoCommit\n this.autoCommitInterval = autoCommitInterval\n this.autoCommitThreshold = autoCommitThreshold\n this.lastCommit = Date.now()\n\n this.topics = keys(memberAssignment)\n this.clearAllOffsets()\n }\n\n /**\n * @param {string} topic\n * @param {number} partition\n * @returns {Long}\n */\n nextOffset(topic, partition) {\n if (!this.resolvedOffsets[topic][partition]) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n let offset = this.resolvedOffsets[topic][partition]\n if (isInvalidOffset(offset)) {\n offset = '0'\n }\n\n return Long.fromValue(offset)\n }\n\n /**\n * @returns {Promise}\n */\n async getCoordinator() {\n if (!this.coordinator.isConnected()) {\n this.coordinator = await this.cluster.findBroker(this.coordinator)\n }\n\n return this.coordinator\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n resetOffset({ topic, partition }) {\n this.resolvedOffsets[topic][partition] = this.committedOffsets()[topic][partition]\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n resolveOffset({ topic, partition, offset }) {\n this.resolvedOffsets[topic][partition] = Long.fromValue(offset)\n .add(1)\n .toString()\n }\n\n /**\n * @returns {Long}\n */\n countResolvedOffsets() {\n const committedOffsets = this.committedOffsets()\n\n const subtractOffsets = (resolvedOffset, committedOffset) => {\n const resolvedOffsetLong = Long.fromValue(resolvedOffset)\n return isInvalidOffset(committedOffset)\n ? resolvedOffsetLong\n : resolvedOffsetLong.subtract(Long.fromValue(committedOffset))\n }\n\n const subtractPartitionOffsets = (resolvedTopicOffsets, committedTopicOffsets) =>\n keys(resolvedTopicOffsets).map(partition =>\n subtractOffsets(resolvedTopicOffsets[partition], committedTopicOffsets[partition])\n )\n\n const subtractTopicOffsets = topic =>\n subtractPartitionOffsets(this.resolvedOffsets[topic], committedOffsets[topic])\n\n const offsetsDiff = this.topics.map(subtractTopicOffsets)\n return flatten(offsetsDiff).reduce((sum, offset) => sum.add(offset), Long.fromValue(0))\n }\n\n /**\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n async setDefaultOffset({ topic, partition }) {\n const { groupId, generationId, memberId } = this\n const defaultOffset = this.cluster.defaultOffset(this.topicConfigurations[topic])\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset: defaultOffset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n /**\n * Commit the given offset to the topic/partition. If the consumer isn't assigned to the given\n * topic/partition this method will be a NO-OP.\n *\n * @param {import(\"../../../types\").TopicPartitionOffset} topicPartitionOffset\n */\n async seek({ topic, partition, offset }) {\n if (!this.memberAssignment[topic] || !this.memberAssignment[topic].includes(partition)) {\n return\n }\n\n if (!this.autoCommit) {\n this.resolveOffset({\n topic,\n partition,\n offset: Long.fromValue(offset)\n .subtract(1)\n .toString(),\n })\n return\n }\n\n const { groupId, generationId, memberId } = this\n const coordinator = await this.getCoordinator()\n\n await coordinator.offsetCommit({\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics: [\n {\n topic,\n partitions: [{ partition, offset }],\n },\n ],\n })\n\n this.clearOffsets({ topic, partition })\n }\n\n async commitOffsetsIfNecessary() {\n const now = Date.now()\n\n const timeoutReached =\n this.autoCommitInterval != null && now >= this.lastCommit + this.autoCommitInterval\n\n const thresholdReached =\n this.autoCommitThreshold != null &&\n this.countResolvedOffsets().gte(Long.fromValue(this.autoCommitThreshold))\n\n if (timeoutReached || thresholdReached) {\n return this.commitOffsets()\n }\n }\n\n /**\n * Return all locally resolved offsets which are not marked as committed, by topic-partition.\n * @returns {OffsetsByTopicPartition}\n *\n * @typedef {Object} OffsetsByTopicPartition\n * @property {TopicOffsets[]} topics\n *\n * @typedef {Object} TopicOffsets\n * @property {PartitionOffset[]} partitions\n *\n * @typedef {Object} PartitionOffset\n * @property {string} partition\n * @property {string} offset\n */\n uncommittedOffsets() {\n const offsets = topic => keys(this.resolvedOffsets[topic])\n const emptyPartitions = ({ partitions }) => partitions.length > 0\n const toPartitions = topic => partition => ({\n partition,\n offset: this.resolvedOffsets[topic][partition],\n })\n const changedOffsets = topic => ({ partition, offset }) => {\n return (\n offset !== this.committedOffsets()[topic][partition] &&\n Long.fromValue(offset).greaterThanOrEqual(0)\n )\n }\n\n // Select and format updated partitions\n const topicsWithPartitionsToCommit = this.topics\n .map(topic => ({\n topic,\n partitions: offsets(topic)\n .map(toPartitions(topic))\n .filter(changedOffsets(topic)),\n }))\n .filter(emptyPartitions)\n\n return { topics: topicsWithPartitionsToCommit }\n }\n\n async commitOffsets(offsets = {}) {\n const { groupId, generationId, memberId } = this\n const { topics = this.uncommittedOffsets().topics } = offsets\n\n if (topics.length === 0) {\n this.lastCommit = Date.now()\n return\n }\n\n const payload = {\n groupId,\n memberId,\n groupGenerationId: generationId,\n topics,\n }\n\n try {\n const coordinator = await this.getCoordinator()\n await coordinator.offsetCommit(payload)\n this.instrumentationEmitter.emit(COMMIT_OFFSETS, payload)\n\n // Update local reference of committed offsets\n topics.forEach(({ topic, partitions }) => {\n const updatedOffsets = partitions.reduce(\n (obj, { partition, offset }) => assign(obj, { [partition]: offset }),\n {}\n )\n\n this[PRIVATE.COMMITTED_OFFSETS][topic] = assign(\n {},\n this.committedOffsets()[topic],\n updatedOffsets\n )\n })\n\n this.lastCommit = Date.now()\n } catch (e) {\n // metadata is stale, the coordinator has changed due to a restart or\n // broker reassignment\n if (e.type === 'NOT_COORDINATOR_FOR_GROUP') {\n await this.cluster.refreshMetadata()\n }\n\n throw e\n }\n }\n\n async resolveOffsets() {\n const { groupId } = this\n const invalidOffset = topic => partition => {\n return isInvalidOffset(this.committedOffsets()[topic][partition])\n }\n\n const pendingPartitions = this.topics\n .map(topic => ({\n topic,\n partitions: this.memberAssignment[topic]\n .filter(invalidOffset(topic))\n .map(partition => ({ partition })),\n }))\n .filter(t => t.partitions.length > 0)\n\n if (pendingPartitions.length === 0) {\n return\n }\n\n const coordinator = await this.getCoordinator()\n const { responses: consumerOffsets } = await coordinator.offsetFetch({\n groupId,\n topics: pendingPartitions,\n })\n\n const unresolvedPartitions = consumerOffsets.map(({ topic, partitions }) =>\n assign(\n {\n topic,\n partitions: partitions\n .filter(({ offset }) => isInvalidOffset(offset))\n .map(({ partition }) => assign({ partition })),\n },\n this.topicConfigurations[topic]\n )\n )\n\n const indexPartitions = (obj, { partition, offset }) => {\n return assign(obj, { [partition]: offset })\n }\n\n const hasUnresolvedPartitions = () => unresolvedPartitions.some(t => t.partitions.length > 0)\n\n let offsets = consumerOffsets\n if (hasUnresolvedPartitions()) {\n const topicOffsets = await this.cluster.fetchTopicsOffset(unresolvedPartitions)\n offsets = initializeConsumerOffsets(consumerOffsets, topicOffsets)\n }\n\n offsets.forEach(({ topic, partitions }) => {\n this.committedOffsets()[topic] = partitions.reduce(indexPartitions, {\n ...this.committedOffsets()[topic],\n })\n })\n }\n\n /**\n * @private\n * @param {import(\"../../../types\").TopicPartition} topicPartition\n */\n clearOffsets({ topic, partition }) {\n delete this.committedOffsets()[topic][partition]\n delete this.resolvedOffsets[topic][partition]\n }\n\n /**\n * @private\n */\n clearAllOffsets() {\n const committedOffsets = this.committedOffsets()\n\n for (const topic in committedOffsets) {\n delete committedOffsets[topic]\n }\n\n for (const topic of this.topics) {\n committedOffsets[topic] = {}\n }\n\n this.resolvedOffsets = indexTopics(this.topics)\n }\n\n committedOffsets() {\n if (!this[PRIVATE.COMMITTED_OFFSETS]) {\n this[PRIVATE.COMMITTED_OFFSETS] = this.groupId\n ? this.cluster.committedOffsets({ groupId: this.groupId })\n : {}\n }\n\n return this[PRIVATE.COMMITTED_OFFSETS]\n }\n}\n","const isInvalidOffset = require('./isInvalidOffset')\nconst { keys, assign } = Object\n\nconst indexPartitions = (obj, { partition, offset }) => assign(obj, { [partition]: offset })\nconst indexTopics = (obj, { topic, partitions }) =>\n assign(obj, { [topic]: partitions.reduce(indexPartitions, {}) })\n\nmodule.exports = (consumerOffsets, topicOffsets) => {\n const indexedConsumerOffsets = consumerOffsets.reduce(indexTopics, {})\n const indexedTopicOffsets = topicOffsets.reduce(indexTopics, {})\n\n return keys(indexedConsumerOffsets).map(topic => {\n const partitions = indexedConsumerOffsets[topic]\n return {\n topic,\n partitions: keys(partitions).map(partition => {\n const offset = partitions[partition]\n const resolvedOffset = isInvalidOffset(offset)\n ? indexedTopicOffsets[topic][partition]\n : offset\n\n return { partition: Number(partition), offset: resolvedOffset }\n }),\n }\n })\n}\n","const Long = require('../../utils/long')\n\nmodule.exports = offset => (!offset && offset !== 0) || Long.fromValue(offset).isNegative()\n","const { EventEmitter } = require('events')\nconst Long = require('../utils/long')\nconst createRetry = require('../retry')\nconst limitConcurrency = require('../utils/concurrency')\nconst { KafkaJSError } = require('../errors')\nconst barrier = require('./barrier')\n\nconst {\n events: { FETCH, FETCH_START, START_BATCH_PROCESS, END_BATCH_PROCESS, REBALANCING },\n} = require('./instrumentationEvents')\n\nconst isRebalancing = e =>\n e.type === 'REBALANCE_IN_PROGRESS' || e.type === 'NOT_COORDINATOR_FOR_GROUP'\n\nconst isKafkaJSError = e => e instanceof KafkaJSError\nconst isSameOffset = (offsetA, offsetB) => Long.fromValue(offsetA).equals(Long.fromValue(offsetB))\nconst CONSUMING_START = 'consuming-start'\nconst CONSUMING_STOP = 'consuming-stop'\n\nmodule.exports = class Runner extends EventEmitter {\n /**\n * @param {object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"./consumerGroup\")} options.consumerGroup\n * @param {import(\"../instrumentation/emitter\")} options.instrumentationEmitter\n * @param {boolean} [options.eachBatchAutoResolve=true]\n * @param {number} [options.partitionsConsumedConcurrently]\n * @param {(payload: import(\"../../types\").EachBatchPayload) => Promise} options.eachBatch\n * @param {(payload: import(\"../../types\").EachMessagePayload) => Promise} options.eachMessage\n * @param {number} [options.heartbeatInterval]\n * @param {(reason: Error) => void} options.onCrash\n * @param {import(\"../../types\").RetryOptions} [options.retry]\n * @param {boolean} [options.autoCommit=true]\n */\n constructor({\n logger,\n consumerGroup,\n instrumentationEmitter,\n eachBatchAutoResolve = true,\n partitionsConsumedConcurrently,\n eachBatch,\n eachMessage,\n heartbeatInterval,\n onCrash,\n retry,\n autoCommit = true,\n }) {\n super()\n this.logger = logger.namespace('Runner')\n this.consumerGroup = consumerGroup\n this.instrumentationEmitter = instrumentationEmitter\n this.eachBatchAutoResolve = eachBatchAutoResolve\n this.eachBatch = eachBatch\n this.eachMessage = eachMessage\n this.heartbeatInterval = heartbeatInterval\n this.retrier = createRetry(Object.assign({}, retry))\n this.onCrash = onCrash\n this.autoCommit = autoCommit\n this.partitionsConsumedConcurrently = partitionsConsumedConcurrently\n\n this.running = false\n this.consuming = false\n }\n\n get consuming() {\n return this._consuming\n }\n\n set consuming(value) {\n if (this._consuming !== value) {\n this._consuming = value\n this.emit(value ? CONSUMING_START : CONSUMING_STOP)\n }\n }\n\n async join() {\n await this.consumerGroup.joinAndSync()\n this.running = true\n }\n\n async scheduleJoin() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n return this.join().catch(this.onCrash)\n }\n\n async start() {\n if (this.running) {\n return\n }\n\n try {\n await this.consumerGroup.connect()\n await this.join()\n\n this.running = true\n this.scheduleFetch()\n } catch (e) {\n this.onCrash(e)\n }\n }\n\n async stop() {\n if (!this.running) {\n return\n }\n\n this.logger.debug('stop consumer group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.running = false\n\n try {\n await this.waitForConsumer()\n await this.consumerGroup.leave()\n } catch (e) {}\n }\n\n waitForConsumer() {\n return new Promise(resolve => {\n if (!this.consuming) {\n return resolve()\n }\n\n this.logger.debug('waiting for consumer to finish...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n this.once(CONSUMING_STOP, () => resolve())\n })\n }\n\n async processEachMessage(batch) {\n const { topic, partition } = batch\n\n for (const message of batch.messages) {\n if (!this.running || this.consumerGroup.hasSeekOffset({ topic, partition })) {\n break\n }\n\n try {\n await this.eachMessage({\n topic,\n partition,\n message,\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachMessage`, {\n topic,\n partition,\n offset: message.offset,\n stack: e.stack,\n error: e,\n })\n }\n\n // In case of errors, commit the previously consumed offsets unless autoCommit is disabled\n await this.autoCommitOffsets()\n throw e\n }\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: message.offset })\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n await this.autoCommitOffsetsIfNecessary()\n }\n }\n\n async processEachBatch(batch) {\n const { topic, partition } = batch\n const lastFilteredMessage = batch.messages[batch.messages.length - 1]\n\n try {\n await this.eachBatch({\n batch,\n resolveOffset: offset => {\n /**\n * The transactional producer generates a control record after committing the transaction.\n * The control record is the last record on the RecordBatch, and it is filtered before it\n * reaches the eachBatch callback. When disabling auto-resolve, the user-land code won't\n * be able to resolve the control record offset, since it never reaches the callback,\n * causing stuck consumers as the consumer will never move the offset marker.\n *\n * When the last offset of the batch is resolved, we should automatically resolve\n * the control record offset as this entry doesn't have any meaning to the user-land code,\n * and won't interfere with the stream processing.\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n const offsetToResolve =\n lastFilteredMessage && isSameOffset(offset, lastFilteredMessage.offset)\n ? batch.lastOffset()\n : offset\n\n this.consumerGroup.resolveOffset({ topic, partition, offset: offsetToResolve })\n },\n heartbeat: async () => {\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n },\n /**\n * Commit offsets if provided. Otherwise commit most recent resolved offsets\n * if the autoCommit conditions are met.\n *\n * @param {OffsetsByTopicPartition} [offsets] Optional.\n */\n commitOffsetsIfNecessary: async offsets => {\n return offsets\n ? this.consumerGroup.commitOffsets(offsets)\n : this.consumerGroup.commitOffsetsIfNecessary()\n },\n uncommittedOffsets: () => this.consumerGroup.uncommittedOffsets(),\n isRunning: () => this.running,\n isStale: () => this.consumerGroup.hasSeekOffset({ topic, partition }),\n })\n } catch (e) {\n if (!isKafkaJSError(e)) {\n this.logger.error(`Error when calling eachBatch`, {\n topic,\n partition,\n offset: batch.firstOffset(),\n stack: e.stack,\n error: e,\n })\n }\n\n // eachBatch has a special resolveOffset which can be used\n // to keep track of the messages\n await this.autoCommitOffsets()\n throw e\n }\n\n // resolveOffset for the last offset can be disabled to allow the users of eachBatch to\n // stop their consumers without resolving unprocessed offsets (issues/18)\n if (this.eachBatchAutoResolve) {\n this.consumerGroup.resolveOffset({ topic, partition, offset: batch.lastOffset() })\n }\n }\n\n async fetch() {\n const startFetch = Date.now()\n\n this.instrumentationEmitter.emit(FETCH_START, {})\n\n const iterator = await this.consumerGroup.fetch()\n\n this.instrumentationEmitter.emit(FETCH, {\n /**\n * PR #570 removed support for the number of batches in this instrumentation event;\n * The new implementation uses an async generation to deliver the batches, which makes\n * this number impossible to get. The number is set to 0 to keep the event backward\n * compatible until we bump KafkaJS to version 2, following the end of node 8 LTS.\n *\n * @since 2019-11-29\n */\n numberOfBatches: 0,\n duration: Date.now() - startFetch,\n })\n\n const onBatch = async batch => {\n const startBatchProcess = Date.now()\n const payload = {\n topic: batch.topic,\n partition: batch.partition,\n highWatermark: batch.highWatermark,\n offsetLag: batch.offsetLag(),\n /**\n * @since 2019-06-24 (>= 1.8.0)\n *\n * offsetLag returns the lag based on the latest offset in the batch, to\n * keep the event backward compatible we just introduced \"offsetLagLow\"\n * which calculates the lag based on the first offset in the batch\n */\n offsetLagLow: batch.offsetLagLow(),\n batchSize: batch.messages.length,\n firstOffset: batch.firstOffset(),\n lastOffset: batch.lastOffset(),\n }\n\n /**\n * If the batch contained only control records or only aborted messages then we still\n * need to resolve and auto-commit to ensure the consumer can move forward.\n *\n * We also need to emit batch instrumentation events to allow any listeners keeping\n * track of offsets to know about the latest point of consumption.\n *\n * Added in #1256\n *\n * @see https://github.com/apache/kafka/blob/9aa660786e46c1efbf5605a6a69136a1dac6edb9/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1499-L1505\n */\n if (batch.isEmptyDueToFiltering()) {\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n this.consumerGroup.resolveOffset({\n topic: batch.topic,\n partition: batch.partition,\n offset: batch.lastOffset(),\n })\n await this.autoCommitOffsetsIfNecessary()\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n return\n }\n\n if (batch.isEmpty()) {\n return\n }\n\n this.instrumentationEmitter.emit(START_BATCH_PROCESS, payload)\n\n if (this.eachMessage) {\n await this.processEachMessage(batch)\n } else if (this.eachBatch) {\n await this.processEachBatch(batch)\n }\n\n this.instrumentationEmitter.emit(END_BATCH_PROCESS, {\n ...payload,\n duration: Date.now() - startBatchProcess,\n })\n\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n const { lock, unlock, unlockWithError } = barrier()\n const concurrently = limitConcurrency({ limit: this.partitionsConsumedConcurrently })\n\n let requestsCompleted = false\n let numberOfExecutions = 0\n let expectedNumberOfExecutions = 0\n const enqueuedTasks = []\n\n while (true) {\n const result = iterator.next()\n\n if (result.done) {\n break\n }\n\n if (!this.running) {\n result.value.catch(error => {\n this.logger.debug('Ignoring error in fetch request while stopping runner', {\n error: error.message || error,\n stack: error.stack,\n })\n })\n\n continue\n }\n\n enqueuedTasks.push(async () => {\n const batches = await result.value\n expectedNumberOfExecutions += batches.length\n\n batches.map(batch =>\n concurrently(async () => {\n try {\n if (!this.running) {\n return\n }\n\n await onBatch(batch)\n } catch (e) {\n unlockWithError(e)\n } finally {\n numberOfExecutions++\n if (requestsCompleted && numberOfExecutions === expectedNumberOfExecutions) {\n unlock()\n }\n }\n }).catch(unlockWithError)\n )\n })\n }\n\n await Promise.all(enqueuedTasks.map(fn => fn()))\n requestsCompleted = true\n\n if (expectedNumberOfExecutions === numberOfExecutions) {\n unlock()\n }\n\n const error = await lock\n if (error) {\n throw error\n }\n\n await this.autoCommitOffsets()\n await this.consumerGroup.heartbeat({ interval: this.heartbeatInterval })\n }\n\n async scheduleFetch() {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n this.consuming = true\n await this.fetch()\n this.consuming = false\n\n if (this.running) {\n setImmediate(() => this.scheduleFetch())\n }\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n await this.join()\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSOffsetOutOfRange') {\n setImmediate(() => this.scheduleFetch())\n return\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while fetching data, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n })\n\n throw e\n } finally {\n this.consuming = false\n }\n }).catch(this.onCrash)\n }\n\n autoCommitOffsets() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsets()\n }\n }\n\n autoCommitOffsetsIfNecessary() {\n if (this.autoCommit) {\n return this.consumerGroup.commitOffsetsIfNecessary()\n }\n }\n\n commitOffsets(offsets) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n return this.retrier(async (bail, retryCount, retryTime) => {\n try {\n await this.consumerGroup.commitOffsets(offsets)\n } catch (e) {\n if (!this.running) {\n this.logger.debug('consumer not running, exiting', {\n error: e.message,\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n offsets,\n })\n return\n }\n\n if (isRebalancing(e)) {\n this.logger.warn('The group is rebalancing, re-joining', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.instrumentationEmitter.emit(REBALANCING, {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n })\n\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.type === 'UNKNOWN_MEMBER_ID') {\n this.logger.error('The coordinator is not aware of this member, re-joining the group', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n retryCount,\n retryTime,\n })\n\n this.consumerGroup.memberId = null\n setImmediate(() => this.scheduleJoin())\n\n bail(new KafkaJSError(e))\n }\n\n if (e.name === 'KafkaJSNotImplemented') {\n return bail(e)\n }\n\n this.logger.debug('Error while committing offsets, trying again...', {\n groupId: this.consumerGroup.groupId,\n memberId: this.consumerGroup.memberId,\n error: e.message,\n stack: e.stack,\n retryCount,\n retryTime,\n offsets,\n })\n\n throw e\n }\n })\n }\n}\n","module.exports = class SeekOffsets extends Map {\n set(topic, partition, offset) {\n super.set([topic, partition], offset)\n }\n\n has(topic, partition) {\n return Array.from(this.keys()).some(([t, p]) => t === topic && p === partition)\n }\n\n pop() {\n if (this.size === 0) {\n return\n }\n\n const [key, offset] = this.entries().next().value\n this.delete(key)\n const [topic, partition] = key\n return { topic, partition, offset }\n }\n}\n","const createState = topic => ({\n topic,\n paused: new Set(),\n pauseAll: false,\n resumed: new Set(),\n})\n\nmodule.exports = class SubscriptionState {\n constructor() {\n this.assignedPartitionsByTopic = {}\n this.subscriptionStatesByTopic = {}\n }\n\n /**\n * Replace the current assignment with a new set of assignments\n *\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assign(topicPartitions = []) {\n this.assignedPartitionsByTopic = topicPartitions.reduce(\n (assigned, { topic, partitions = [] }) => {\n return { ...assigned, [topic]: { topic, partitions } }\n },\n {}\n )\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n pause(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = true\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.add(partition)\n state.resumed.delete(partition)\n })\n state.pauseAll = false\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @param {Array} topicPartitions Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n resume(topicPartitions = []) {\n topicPartitions.forEach(({ topic, partitions }) => {\n const state = this.subscriptionStatesByTopic[topic] || createState(topic)\n\n if (typeof partitions === 'undefined') {\n state.paused.clear()\n state.resumed.clear()\n state.pauseAll = false\n } else if (Array.isArray(partitions)) {\n partitions.forEach(partition => {\n state.paused.delete(partition)\n\n if (state.pauseAll) {\n state.resumed.add(partition)\n }\n })\n }\n\n this.subscriptionStatesByTopic[topic] = state\n })\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n assigned() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n active() {\n return Object.values(this.assignedPartitionsByTopic).map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => !this.isPaused(topic, partition)).sort(),\n }))\n }\n\n /**\n * @returns {Array} topicPartitions\n * Example: [{ topic: 'topic-name', partitions: [1, 2] }]\n */\n paused() {\n return Object.values(this.assignedPartitionsByTopic)\n .map(({ topic, partitions }) => ({\n topic,\n partitions: partitions.filter(partition => this.isPaused(topic, partition)).sort(),\n }))\n .filter(({ partitions }) => partitions.length !== 0)\n }\n\n isPaused(topic, partition) {\n const state = this.subscriptionStatesByTopic[topic]\n\n if (!state) {\n return false\n }\n\n const partitionResumed = state.resumed.has(partition)\n const partitionPaused = state.paused.has(partition)\n\n return (state.pauseAll && !partitionResumed) || partitionPaused\n }\n}\n","module.exports = () => ({\n KAFKAJS_DEBUG_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS,\n KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS: process.env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS,\n})\n","const pkgJson = require('../package.json')\nconst { bugs } = pkgJson\n\nclass KafkaJSError extends Error {\n constructor(e, { retriable = true } = {}) {\n super(e)\n Error.captureStackTrace(this, this.constructor)\n this.message = e.message || e\n this.name = 'KafkaJSError'\n this.retriable = retriable\n this.helpUrl = e.helpUrl\n }\n}\n\nclass KafkaJSNonRetriableError extends KafkaJSError {\n constructor(e) {\n super(e, { retriable: false })\n this.name = 'KafkaJSNonRetriableError'\n this.originalError = e\n }\n}\n\nclass KafkaJSProtocolError extends KafkaJSError {\n constructor(e, { retriable = e.retriable } = {}) {\n super(e, { retriable })\n this.type = e.type\n this.code = e.code\n this.name = 'KafkaJSProtocolError'\n }\n}\n\nclass KafkaJSOffsetOutOfRange extends KafkaJSProtocolError {\n constructor(e, { topic, partition }) {\n super(e)\n this.topic = topic\n this.partition = partition\n this.name = 'KafkaJSOffsetOutOfRange'\n }\n}\n\nclass KafkaJSMemberIdRequired extends KafkaJSProtocolError {\n constructor(e, { memberId }) {\n super(e)\n this.memberId = memberId\n this.name = 'KafkaJSMemberIdRequired'\n }\n}\n\nclass KafkaJSNumberOfRetriesExceeded extends KafkaJSNonRetriableError {\n constructor(e, { retryCount, retryTime }) {\n super(e)\n this.stack = `${this.name}\\n Caused by: ${e.stack}`\n this.originalError = e\n this.retryCount = retryCount\n this.retryTime = retryTime\n this.name = 'KafkaJSNumberOfRetriesExceeded'\n }\n}\n\nclass KafkaJSConnectionError extends KafkaJSError {\n constructor(e, { broker, code } = {}) {\n super(e)\n this.broker = broker\n this.code = code\n this.name = 'KafkaJSConnectionError'\n }\n}\n\nclass KafkaJSConnectionClosedError extends KafkaJSConnectionError {\n constructor(e, { host, port } = {}) {\n super(e, { broker: `${host}:${port}` })\n this.host = host\n this.port = port\n this.name = 'KafkaJSConnectionClosedError'\n }\n}\n\nclass KafkaJSRequestTimeoutError extends KafkaJSError {\n constructor(e, { broker, correlationId, createdAt, sentAt, pendingDuration } = {}) {\n super(e)\n this.broker = broker\n this.correlationId = correlationId\n this.createdAt = createdAt\n this.sentAt = sentAt\n this.pendingDuration = pendingDuration\n this.name = 'KafkaJSRequestTimeoutError'\n }\n}\n\nclass KafkaJSMetadataNotLoaded extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSMetadataNotLoaded'\n }\n}\nclass KafkaJSTopicMetadataNotLoaded extends KafkaJSMetadataNotLoaded {\n constructor(e, { topic } = {}) {\n super(e)\n this.topic = topic\n this.name = 'KafkaJSTopicMetadataNotLoaded'\n }\n}\nclass KafkaJSStaleTopicMetadataAssignment extends KafkaJSError {\n constructor(e, { topic, unknownPartitions } = {}) {\n super(e)\n this.topic = topic\n this.unknownPartitions = unknownPartitions\n this.name = 'KafkaJSStaleTopicMetadataAssignment'\n }\n}\n\nclass KafkaJSDeleteGroupsError extends KafkaJSError {\n constructor(e, groups = []) {\n super(e)\n this.groups = groups\n this.name = 'KafkaJSDeleteGroupsError'\n }\n}\n\nclass KafkaJSServerDoesNotSupportApiKey extends KafkaJSNonRetriableError {\n constructor(e, { apiKey, apiName } = {}) {\n super(e)\n this.apiKey = apiKey\n this.apiName = apiName\n this.name = 'KafkaJSServerDoesNotSupportApiKey'\n }\n}\n\nclass KafkaJSBrokerNotFound extends KafkaJSError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSBrokerNotFound'\n }\n}\n\nclass KafkaJSPartialMessageError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSPartialMessageError'\n }\n}\n\nclass KafkaJSSASLAuthenticationError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSSASLAuthenticationError'\n }\n}\n\nclass KafkaJSGroupCoordinatorNotFound extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSGroupCoordinatorNotFound'\n }\n}\n\nclass KafkaJSNotImplemented extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNotImplemented'\n }\n}\n\nclass KafkaJSTimeout extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSTimeout'\n }\n}\n\nclass KafkaJSLockTimeout extends KafkaJSTimeout {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSLockTimeout'\n }\n}\n\nclass KafkaJSUnsupportedMagicByteInMessageSet extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSUnsupportedMagicByteInMessageSet'\n }\n}\n\nclass KafkaJSDeleteTopicRecordsError extends KafkaJSError {\n constructor({ partitions }) {\n /*\n * This error is retriable if all the errors were retriable\n */\n const retriable = partitions\n .filter(({ error }) => error != null)\n .every(({ error }) => error.retriable === true)\n\n super('Error while deleting records', { retriable })\n this.name = 'KafkaJSDeleteTopicRecordsError'\n this.partitions = partitions\n }\n}\n\nconst issueUrl = bugs ? bugs.url : null\n\nclass KafkaJSInvariantViolation extends KafkaJSNonRetriableError {\n constructor(e) {\n const message = e.message || e\n super(`Invariant violated: ${message}. This is likely a bug and should be reported.`)\n this.name = 'KafkaJSInvariantViolation'\n\n if (issueUrl !== null) {\n const issueTitle = encodeURIComponent(`Invariant violation: ${message}`)\n this.helpUrl = `${issueUrl}/new?assignees=&labels=bug&template=bug_report.md&title=${issueTitle}`\n }\n }\n}\n\nclass KafkaJSInvalidVarIntError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSInvalidLongError extends KafkaJSNonRetriableError {\n constructor() {\n super(...arguments)\n this.name = 'KafkaJSNonRetriableError'\n }\n}\n\nclass KafkaJSCreateTopicError extends KafkaJSProtocolError {\n constructor(e, topicName) {\n super(e)\n this.topic = topicName\n this.name = 'KafkaJSCreateTopicError'\n }\n}\nclass KafkaJSAggregateError extends Error {\n constructor(message, errors) {\n super(message)\n this.errors = errors\n this.name = 'KafkaJSAggregateError'\n }\n}\n\nmodule.exports = {\n KafkaJSError,\n KafkaJSNonRetriableError,\n KafkaJSPartialMessageError,\n KafkaJSBrokerNotFound,\n KafkaJSProtocolError,\n KafkaJSConnectionError,\n KafkaJSConnectionClosedError,\n KafkaJSRequestTimeoutError,\n KafkaJSSASLAuthenticationError,\n KafkaJSNumberOfRetriesExceeded,\n KafkaJSOffsetOutOfRange,\n KafkaJSMemberIdRequired,\n KafkaJSGroupCoordinatorNotFound,\n KafkaJSNotImplemented,\n KafkaJSMetadataNotLoaded,\n KafkaJSTopicMetadataNotLoaded,\n KafkaJSStaleTopicMetadataAssignment,\n KafkaJSDeleteGroupsError,\n KafkaJSTimeout,\n KafkaJSLockTimeout,\n KafkaJSServerDoesNotSupportApiKey,\n KafkaJSUnsupportedMagicByteInMessageSet,\n KafkaJSDeleteTopicRecordsError,\n KafkaJSInvariantViolation,\n KafkaJSInvalidVarIntError,\n KafkaJSInvalidLongError,\n KafkaJSCreateTopicError,\n KafkaJSAggregateError,\n}\n","const {\n createLogger,\n LEVELS: { INFO },\n} = require('./loggers')\n\nconst InstrumentationEventEmitter = require('./instrumentation/emitter')\nconst LoggerConsole = require('./loggers/console')\nconst Cluster = require('./cluster')\nconst createProducer = require('./producer')\nconst createConsumer = require('./consumer')\nconst createAdmin = require('./admin')\nconst ISOLATION_LEVEL = require('./protocol/isolationLevel')\nconst defaultSocketFactory = require('./network/socketFactory')\n\nconst PRIVATE = {\n CREATE_CLUSTER: Symbol('private:Kafka:createCluster'),\n CLUSTER_RETRY: Symbol('private:Kafka:clusterRetry'),\n LOGGER: Symbol('private:Kafka:logger'),\n OFFSETS: Symbol('private:Kafka:offsets'),\n}\n\nconst DEFAULT_METADATA_MAX_AGE = 300000\n\nmodule.exports = class Client {\n /**\n * @param {Object} options\n * @param {Array} options.brokers example: ['127.0.0.1:9092', '127.0.0.1:9094']\n * @param {Object} options.ssl\n * @param {Object} options.sasl\n * @param {string} options.clientId\n * @param {number} options.connectionTimeout - in milliseconds\n * @param {number} options.authenticationTimeout - in milliseconds\n * @param {number} options.reauthenticationThreshold - in milliseconds\n * @param {number} [options.requestTimeout=30000] - in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {import(\"../types\").RetryOptions} [options.retry]\n * @param {import(\"../types\").ISocketFactory} [options.socketFactory]\n */\n constructor({\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout = false,\n retry,\n socketFactory = defaultSocketFactory(),\n logLevel = INFO,\n logCreator = LoggerConsole,\n }) {\n this[PRIVATE.OFFSETS] = new Map()\n this[PRIVATE.LOGGER] = createLogger({ level: logLevel, logCreator })\n this[PRIVATE.CLUSTER_RETRY] = retry\n this[PRIVATE.CREATE_CLUSTER] = ({\n metadataMaxAge,\n allowAutoTopicCreation = true,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n isolationLevel,\n }) =>\n new Cluster({\n logger: this[PRIVATE.LOGGER],\n retry: this[PRIVATE.CLUSTER_RETRY],\n offsets: this[PRIVATE.OFFSETS],\n socketFactory,\n brokers,\n ssl,\n sasl,\n clientId,\n connectionTimeout,\n authenticationTimeout,\n reauthenticationThreshold,\n requestTimeout,\n enforceRequestTimeout,\n metadataMaxAge,\n instrumentationEmitter,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n })\n }\n\n /**\n * @public\n */\n producer({\n createPartitioner,\n retry,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n allowAutoTopicCreation,\n idempotent,\n transactionalId,\n transactionTimeout,\n maxInFlightRequests,\n } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n instrumentationEmitter,\n })\n\n return createProducer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n createPartitioner,\n idempotent,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter,\n })\n }\n\n /**\n * @public\n */\n consumer({\n groupId,\n partitionAssigners,\n metadataMaxAge = DEFAULT_METADATA_MAX_AGE,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n retry = { retries: 5 },\n allowAutoTopicCreation,\n maxInFlightRequests,\n readUncommitted = false,\n rackId = '',\n } = {}) {\n const isolationLevel = readUncommitted\n ? ISOLATION_LEVEL.READ_UNCOMMITTED\n : ISOLATION_LEVEL.READ_COMMITTED\n\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n metadataMaxAge,\n allowAutoTopicCreation,\n maxInFlightRequests,\n isolationLevel,\n instrumentationEmitter,\n })\n\n return createConsumer({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n cluster,\n groupId,\n partitionAssigners,\n sessionTimeout,\n rebalanceTimeout,\n heartbeatInterval,\n maxBytesPerPartition,\n minBytes,\n maxBytes,\n maxWaitTimeInMs,\n isolationLevel,\n instrumentationEmitter,\n rackId,\n metadataMaxAge,\n })\n }\n\n /**\n * @public\n */\n admin({ retry } = {}) {\n const instrumentationEmitter = new InstrumentationEventEmitter()\n const cluster = this[PRIVATE.CREATE_CLUSTER]({\n allowAutoTopicCreation: false,\n instrumentationEmitter,\n })\n\n return createAdmin({\n retry: { ...this[PRIVATE.CLUSTER_RETRY], ...retry },\n logger: this[PRIVATE.LOGGER],\n instrumentationEmitter,\n cluster,\n })\n }\n\n /**\n * @public\n */\n logger() {\n return this[PRIVATE.LOGGER]\n }\n}\n","const { EventEmitter } = require('events')\nconst InstrumentationEvent = require('./event')\nconst { KafkaJSError } = require('../errors')\n\nmodule.exports = class InstrumentationEventEmitter {\n constructor() {\n this.emitter = new EventEmitter()\n }\n\n /**\n * @param {string} eventName\n * @param {Object} payload\n */\n emit(eventName, payload) {\n if (!eventName) {\n throw new KafkaJSError('Invalid event name', { retriable: false })\n }\n\n if (this.emitter.listenerCount(eventName) > 0) {\n const event = new InstrumentationEvent(eventName, payload)\n this.emitter.emit(eventName, event)\n }\n }\n\n /**\n * @param {string} eventName\n * @param {(...args: any[]) => void} listener\n * @returns {import(\"../../types\").RemoveInstrumentationEventListener} removeListener\n */\n addListener(eventName, listener) {\n this.emitter.addListener(eventName, listener)\n return () => this.emitter.removeListener(eventName, listener)\n }\n}\n","let id = 0\nconst nextId = () => {\n if (id === Number.MAX_VALUE) {\n id = 0\n }\n\n return id++\n}\n\nclass InstrumentationEvent {\n /**\n * @param {String} type\n * @param {Object} payload\n */\n constructor(type, payload) {\n this.id = nextId()\n this.type = type\n this.timestamp = Date.now()\n this.payload = payload\n }\n}\n\nmodule.exports = InstrumentationEvent\n","module.exports = namespace => type => `${namespace}.${type}`\n","const { LEVELS: logLevel } = require('./index')\n\nmodule.exports = () => ({ namespace, level, label, log }) => {\n const prefix = namespace ? `[${namespace}] ` : ''\n const message = JSON.stringify(\n Object.assign({ level: label }, log, {\n message: `${prefix}${log.message}`,\n })\n )\n\n switch (level) {\n case logLevel.INFO:\n return console.info(message)\n case logLevel.ERROR:\n return console.error(message)\n case logLevel.WARN:\n return console.warn(message)\n case logLevel.DEBUG:\n return console.log(message)\n }\n}\n","const { assign } = Object\n\nconst LEVELS = {\n NOTHING: 0,\n ERROR: 1,\n WARN: 2,\n INFO: 4,\n DEBUG: 5,\n}\n\nconst createLevel = (label, level, currentLevel, namespace, logFunction) => (\n message,\n extra = {}\n) => {\n if (level > currentLevel()) return\n logFunction({\n namespace,\n level,\n label,\n log: assign(\n {\n timestamp: new Date().toISOString(),\n logger: 'kafkajs',\n message,\n },\n extra\n ),\n })\n}\n\nconst evaluateLogLevel = logLevel => {\n const envLogLevel = (process.env.KAFKAJS_LOG_LEVEL || '').toUpperCase()\n return LEVELS[envLogLevel] == null ? logLevel : LEVELS[envLogLevel]\n}\n\nconst createLogger = ({ level = LEVELS.INFO, logCreator } = {}) => {\n let logLevel = evaluateLogLevel(level)\n const logFunction = logCreator(logLevel)\n\n const createNamespace = (namespace, logLevel = null) => {\n const namespaceLogLevel = evaluateLogLevel(logLevel)\n return createLogFunctions(namespace, namespaceLogLevel)\n }\n\n const createLogFunctions = (namespace, namespaceLogLevel = null) => {\n const currentLogLevel = () => (namespaceLogLevel == null ? logLevel : namespaceLogLevel)\n const logger = {\n info: createLevel('INFO', LEVELS.INFO, currentLogLevel, namespace, logFunction),\n error: createLevel('ERROR', LEVELS.ERROR, currentLogLevel, namespace, logFunction),\n warn: createLevel('WARN', LEVELS.WARN, currentLogLevel, namespace, logFunction),\n debug: createLevel('DEBUG', LEVELS.DEBUG, currentLogLevel, namespace, logFunction),\n }\n\n return assign(logger, {\n namespace: createNamespace,\n setLogLevel: newLevel => {\n logLevel = newLevel\n },\n })\n }\n\n return createLogFunctions()\n}\n\nmodule.exports = {\n LEVELS,\n createLogger,\n}\n","const createSocket = require('./socket')\nconst createRequest = require('../protocol/request')\nconst Decoder = require('../protocol/decoder')\nconst { KafkaJSConnectionError, KafkaJSConnectionClosedError } = require('../errors')\nconst { INT_32_MAX_VALUE } = require('../constants')\nconst getEnv = require('../env')\nconst RequestQueue = require('./requestQueue')\nconst { CONNECTION_STATUS, CONNECTED_STATUS } = require('./connectionStatus')\n\nconst requestInfo = ({ apiName, apiKey, apiVersion }) =>\n `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n\nmodule.exports = class Connection {\n /**\n * @param {Object} options\n * @param {string} options.host\n * @param {number} options.port\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} [options.clientId='kafkajs']\n * @param {number} options.requestTimeout The maximum amount of time the client will wait for the response of a request,\n * in milliseconds\n * @param {string} [options.rack=null]\n * @param {Object} [options.ssl=null] Options for the TLS Secure Context. It accepts all options,\n * usually \"cert\", \"key\" and \"ca\". More information at\n * https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options\n * @param {Object} [options.sasl=null] Attributes used for SASL authentication. Options based on the\n * key \"mechanism\". Connection is not actively using the SASL attributes\n * but acting as a data object for this information\n * @param {number} [options.connectionTimeout=1000] The connection timeout, in milliseconds\n * @param {boolean} [options.enforceRequestTimeout]\n * @param {number} [options.maxInFlightRequests=null] The maximum number of unacknowledged requests on a connection before\n * enqueuing\n * @param {import(\"../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n host,\n port,\n logger,\n socketFactory,\n requestTimeout,\n rack = null,\n ssl = null,\n sasl = null,\n clientId = 'kafkajs',\n connectionTimeout = 1000,\n enforceRequestTimeout = false,\n maxInFlightRequests = null,\n instrumentationEmitter = null,\n }) {\n this.host = host\n this.port = port\n this.rack = rack\n this.clientId = clientId\n this.broker = `${this.host}:${this.port}`\n this.logger = logger.namespace('Connection')\n\n this.socketFactory = socketFactory\n this.ssl = ssl\n this.sasl = sasl\n\n this.requestTimeout = requestTimeout\n this.connectionTimeout = connectionTimeout\n\n this.bytesBuffered = 0\n this.bytesNeeded = Decoder.int32Size()\n this.chunks = []\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.correlationId = 0\n this.requestQueue = new RequestQueue({\n instrumentationEmitter,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker: this.broker,\n logger: logger.namespace('RequestQueue'),\n isConnected: () => this.connected,\n })\n\n this.authHandlers = null\n this.authExpectResponse = false\n\n const log = level => (message, extra = {}) => {\n const logFn = this.logger[level]\n logFn(message, { broker: this.broker, clientId, ...extra })\n }\n\n this.logDebug = log('debug')\n this.logError = log('error')\n\n const env = getEnv()\n this.shouldLogBuffers = env.KAFKAJS_DEBUG_PROTOCOL_BUFFERS === '1'\n this.shouldLogFetchBuffer =\n this.shouldLogBuffers && env.KAFKAJS_DEBUG_EXTENDED_PROTOCOL_BUFFERS === '1'\n }\n\n get connected() {\n return CONNECTED_STATUS.includes(this.connectionStatus)\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n connect() {\n return new Promise((resolve, reject) => {\n if (this.connected) {\n return resolve(true)\n }\n\n let timeoutId\n\n const onConnect = () => {\n clearTimeout(timeoutId)\n this.connectionStatus = CONNECTION_STATUS.CONNECTED\n this.requestQueue.scheduleRequestTimeoutCheck()\n resolve(true)\n }\n\n const onData = data => {\n this.processData(data)\n }\n\n const onEnd = async () => {\n clearTimeout(timeoutId)\n\n const wasConnected = this.connected\n\n if (this.authHandlers) {\n this.authHandlers.onError()\n } else if (wasConnected) {\n this.logDebug('Kafka server has closed connection')\n this.rejectRequests(\n new KafkaJSConnectionClosedError('Closed connection', {\n host: this.host,\n port: this.port,\n })\n )\n }\n\n await this.disconnect()\n }\n\n const onError = async e => {\n clearTimeout(timeoutId)\n\n const error = new KafkaJSConnectionError(`Connection error: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n code: e.code,\n })\n\n this.logError(error.message, { stack: e.stack })\n this.rejectRequests(error)\n await this.disconnect()\n\n reject(error)\n }\n\n const onTimeout = async () => {\n const error = new KafkaJSConnectionError('Connection timeout', {\n broker: `${this.host}:${this.port}`,\n })\n\n this.logError(error.message)\n this.rejectRequests(error)\n await this.disconnect()\n reject(error)\n }\n\n this.logDebug(`Connecting`, {\n ssl: !!this.ssl,\n sasl: !!this.sasl,\n })\n\n try {\n timeoutId = setTimeout(onTimeout, this.connectionTimeout)\n this.socket = createSocket({\n socketFactory: this.socketFactory,\n host: this.host,\n port: this.port,\n ssl: this.ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n })\n } catch (e) {\n clearTimeout(timeoutId)\n reject(\n new KafkaJSConnectionError(`Failed to connect: ${e.message}`, {\n broker: `${this.host}:${this.port}`,\n })\n )\n }\n })\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n async disconnect() {\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTING\n this.logDebug('disconnecting...')\n\n await this.requestQueue.waitForPendingRequests()\n this.requestQueue.destroy()\n\n if (this.socket) {\n this.socket.end()\n this.socket.unref()\n }\n\n this.connectionStatus = CONNECTION_STATUS.DISCONNECTED\n this.logDebug('disconnected')\n return true\n }\n\n /**\n * @public\n * @returns {Promise}\n */\n authenticate({ authExpectResponse = false, request, response }) {\n this.authExpectResponse = authExpectResponse\n\n /**\n * TODO: rewrite removing the async promise executor\n */\n\n /* eslint-disable no-async-promise-executor */\n return new Promise(async (resolve, reject) => {\n this.authHandlers = {\n onSuccess: rawData => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n response\n .decode(rawData)\n .then(data => response.parse(data))\n .then(resolve)\n .catch(reject)\n },\n onError: () => {\n this.authHandlers = null\n this.authExpectResponse = false\n\n reject(\n new KafkaJSConnectionError('Connection closed by the server', {\n broker: `${this.host}:${this.port}`,\n })\n )\n },\n }\n\n try {\n const requestPayload = await request.encode()\n\n this.failIfNotConnected()\n this.socket.write(requestPayload.buffer, 'binary')\n } catch (e) {\n reject(e)\n }\n })\n }\n\n /**\n * @public\n * @param {object} protocol\n * @param {object} protocol.request It is defined by the protocol and consists of an object with \"apiKey\",\n * \"apiVersion\", \"apiName\" and an \"encode\" function. The encode function\n * must return an instance of Encoder\n *\n * @param {object} protocol.response It is defined by the protocol and consists of an object with two functions:\n * \"decode\" and \"parse\"\n *\n * @param {number} [protocol.requestTimeout=null] Override for the default requestTimeout\n * @param {boolean} [protocol.logResponseError=true] Whether to log errors\n * @returns {Promise} where data is the return of \"response#parse\"\n */\n async send({ request, response, requestTimeout = null, logResponseError = true }) {\n this.failIfNotConnected()\n\n const expectResponse = !request.expectResponse || request.expectResponse()\n const sendRequest = async () => {\n const { clientId } = this\n const correlationId = this.nextCorrelationId()\n\n const requestPayload = await createRequest({ request, correlationId, clientId })\n const { apiKey, apiName, apiVersion } = request\n this.logDebug(`Request ${requestInfo(request)}`, {\n correlationId,\n expectResponse,\n size: Buffer.byteLength(requestPayload.buffer),\n })\n\n return new Promise((resolve, reject) => {\n try {\n this.failIfNotConnected()\n const entry = { apiKey, apiName, apiVersion, correlationId, resolve, reject }\n\n this.requestQueue.push({\n entry,\n expectResponse,\n requestTimeout,\n sendRequest: () => {\n this.socket.write(requestPayload.buffer, 'binary')\n },\n })\n } catch (e) {\n reject(e)\n }\n })\n }\n\n const { correlationId, size, entry, payload } = await sendRequest()\n\n if (!expectResponse) {\n return\n }\n\n try {\n const payloadDecoded = await response.decode(payload)\n\n /**\n * @see KIP-219\n * If the response indicates that the client-side needs to throttle, do that.\n */\n this.requestQueue.maybeThrottle(payloadDecoded.clientSideThrottleTime)\n\n const data = await response.parse(payloadDecoded)\n const isFetchApi = entry.apiName === 'Fetch'\n this.logDebug(`Response ${requestInfo(entry)}`, {\n correlationId,\n size,\n data: isFetchApi && !this.shouldLogFetchBuffer ? '[filtered]' : data,\n })\n\n return data\n } catch (e) {\n if (logResponseError) {\n this.logError(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n size,\n })\n }\n\n const isBuffer = Buffer.isBuffer(payload)\n this.logDebug(`Response ${requestInfo(entry)}`, {\n error: e.message,\n correlationId,\n payload:\n isBuffer && !this.shouldLogBuffers ? { type: 'Buffer', data: '[filtered]' } : payload,\n })\n\n throw e\n }\n }\n\n /**\n * @private\n */\n failIfNotConnected() {\n if (!this.connected) {\n throw new KafkaJSConnectionError('Not connected', {\n broker: `${this.host}:${this.port}`,\n })\n }\n }\n\n /**\n * @private\n */\n nextCorrelationId() {\n if (this.correlationId >= INT_32_MAX_VALUE) {\n this.correlationId = 0\n }\n\n return this.correlationId++\n }\n\n /**\n * @private\n */\n processData(rawData) {\n if (this.authHandlers && !this.authExpectResponse) {\n return this.authHandlers.onSuccess(rawData)\n }\n\n // Accumulate the new chunk\n this.chunks.push(rawData)\n this.bytesBuffered += Buffer.byteLength(rawData)\n\n // Process data if there are enough bytes to read the expected response size,\n // otherwise keep buffering\n while (this.bytesNeeded <= this.bytesBuffered) {\n const buffer = this.chunks.length > 1 ? Buffer.concat(this.chunks) : this.chunks[0]\n const decoder = new Decoder(buffer)\n const expectedResponseSize = decoder.readInt32()\n\n // Return early if not enough bytes to read the full response\n if (!decoder.canReadBytes(expectedResponseSize)) {\n this.chunks = [buffer]\n this.bytesBuffered = Buffer.byteLength(buffer)\n this.bytesNeeded = Decoder.int32Size() + expectedResponseSize\n return\n }\n\n const response = new Decoder(decoder.readBytes(expectedResponseSize))\n\n // Reset the buffered chunks as the rest of the bytes\n const remainderBuffer = decoder.readAll()\n this.chunks = [remainderBuffer]\n this.bytesBuffered = Buffer.byteLength(remainderBuffer)\n this.bytesNeeded = Decoder.int32Size()\n\n if (this.authHandlers) {\n const rawResponseSize = Decoder.int32Size() + expectedResponseSize\n const rawResponseBuffer = buffer.slice(0, rawResponseSize)\n return this.authHandlers.onSuccess(rawResponseBuffer)\n }\n\n const correlationId = response.readInt32()\n const payload = response.readAll()\n\n this.requestQueue.fulfillRequest({\n size: expectedResponseSize,\n correlationId,\n payload,\n })\n }\n }\n\n /**\n * @private\n */\n rejectRequests(error) {\n this.requestQueue.rejectAll(error)\n }\n}\n","const CONNECTION_STATUS = {\n CONNECTED: 'connected',\n DISCONNECTING: 'disconnecting',\n DISCONNECTED: 'disconnected',\n}\n\nconst CONNECTED_STATUS = [CONNECTION_STATUS.CONNECTED, CONNECTION_STATUS.DISCONNECTING]\n\nmodule.exports = {\n CONNECTION_STATUS,\n CONNECTED_STATUS,\n}\n","const InstrumentationEventType = require('../instrumentation/eventType')\nconst eventType = InstrumentationEventType('network')\n\nmodule.exports = {\n NETWORK_REQUEST: eventType('request'),\n NETWORK_REQUEST_TIMEOUT: eventType('request_timeout'),\n NETWORK_REQUEST_QUEUE_SIZE: eventType('request_queue_size'),\n}\n","const { EventEmitter } = require('events')\nconst SocketRequest = require('./socketRequest')\nconst events = require('../instrumentationEvents')\nconst { KafkaJSInvariantViolation } = require('../../errors')\n\nconst PRIVATE = {\n EMIT_QUEUE_SIZE_EVENT: Symbol('private:RequestQueue:emitQueueSizeEvent'),\n EMIT_REQUEST_QUEUE_EMPTY: Symbol('private:RequestQueue:emitQueueEmpty'),\n}\n\nconst REQUEST_QUEUE_EMPTY = 'requestQueueEmpty'\n\nmodule.exports = class RequestQueue extends EventEmitter {\n /**\n * @param {Object} options\n * @param {number} options.maxInFlightRequests\n * @param {number} options.requestTimeout\n * @param {boolean} options.enforceRequestTimeout\n * @param {string} options.clientId\n * @param {string} options.broker\n * @param {import(\"../../../types\").Logger} options.logger\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n * @param {() => boolean} [options.isConnected]\n */\n constructor({\n instrumentationEmitter = null,\n maxInFlightRequests,\n requestTimeout,\n enforceRequestTimeout,\n clientId,\n broker,\n logger,\n isConnected = () => true,\n }) {\n super()\n this.instrumentationEmitter = instrumentationEmitter\n this.maxInFlightRequests = maxInFlightRequests\n this.requestTimeout = requestTimeout\n this.enforceRequestTimeout = enforceRequestTimeout\n this.clientId = clientId\n this.broker = broker\n this.logger = logger\n this.isConnected = isConnected\n\n this.inflight = new Map()\n this.pending = []\n\n /**\n * Until when this request queue is throttled and shouldn't send requests\n *\n * The value represents the timestamp of the end of the throttling in ms-since-epoch. If the value\n * is smaller than the current timestamp no throttling is active.\n *\n * @type {number}\n */\n this.throttledUntil = -1\n\n /**\n * Timeout id if we have scheduled a check for pending requests due to client-side throttling\n *\n * @type {null|NodeJS.Timeout}\n */\n this.throttleCheckTimeoutId = null\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY] = () => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n this.emit(REQUEST_QUEUE_EMPTY)\n }\n }\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT] = () => {\n instrumentationEmitter &&\n instrumentationEmitter.emit(events.NETWORK_REQUEST_QUEUE_SIZE, {\n broker: this.broker,\n clientId: this.clientId,\n queueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n }\n\n /**\n * @public\n */\n scheduleRequestTimeoutCheck() {\n if (this.enforceRequestTimeout) {\n this.destroy()\n\n this.requestTimeoutIntervalId = setInterval(() => {\n this.inflight.forEach(request => {\n if (Date.now() - request.sentAt > request.requestTimeout) {\n request.timeoutRequest()\n }\n })\n\n if (!this.isConnected()) {\n this.destroy()\n }\n }, Math.min(this.requestTimeout, 100))\n }\n }\n\n maybeThrottle(clientSideThrottleTime) {\n if (clientSideThrottleTime) {\n const minimumThrottledUntil = Date.now() + clientSideThrottleTime\n this.throttledUntil = Math.max(minimumThrottledUntil, this.throttledUntil)\n }\n }\n\n /**\n * @typedef {Object} PushedRequest\n * @property {import(\"./socketRequest\").RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} sendRequest\n * @property {number} [requestTimeout]\n *\n * @public\n * @param {PushedRequest} pushedRequest\n */\n push(pushedRequest) {\n const { correlationId } = pushedRequest.entry\n const defaultRequestTimeout = this.requestTimeout\n const customRequestTimeout = pushedRequest.requestTimeout\n\n // Some protocol requests have custom request timeouts (e.g JoinGroup, Fetch, etc). The custom\n // timeouts are influenced by user configurations, which can be lower than the default requestTimeout\n const requestTimeout = Math.max(defaultRequestTimeout, customRequestTimeout || 0)\n\n const socketRequest = new SocketRequest({\n entry: pushedRequest.entry,\n expectResponse: pushedRequest.expectResponse,\n broker: this.broker,\n clientId: this.clientId,\n instrumentationEmitter: this.instrumentationEmitter,\n requestTimeout,\n send: () => {\n if (this.inflight.has(correlationId)) {\n throw new KafkaJSInvariantViolation('Correlation id already exists')\n }\n this.inflight.set(correlationId, socketRequest)\n pushedRequest.sendRequest()\n },\n timeout: () => {\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n // Try to emit REQUEST_QUEUE_EMPTY. Otherwise, waitForPendingRequests may stuck forever\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n },\n })\n\n if (this.canSendSocketRequestImmediately()) {\n this.sendSocketRequest(socketRequest)\n return\n }\n\n this.pending.push(socketRequest)\n this.scheduleCheckPendingRequests()\n\n this.logger.debug(`Request enqueued`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @param {SocketRequest} socketRequest\n */\n sendSocketRequest(socketRequest) {\n socketRequest.send()\n\n if (!socketRequest.expectResponse) {\n this.logger.debug(`Request does not expect a response, resolving immediately`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: socketRequest.correlationId,\n })\n\n this.inflight.delete(socketRequest.correlationId)\n socketRequest.completed({ size: 0, payload: null })\n }\n }\n\n /**\n * @public\n * @param {object} response\n * @param {number} response.correlationId\n * @param {Buffer} response.payload\n * @param {number} response.size\n */\n fulfillRequest({ correlationId, payload, size }) {\n const socketRequest = this.inflight.get(correlationId)\n this.inflight.delete(correlationId)\n this.checkPendingRequests()\n\n if (socketRequest) {\n socketRequest.completed({ size, payload })\n } else {\n this.logger.warn(`Response without match`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId,\n })\n }\n\n this[PRIVATE.EMIT_REQUEST_QUEUE_EMPTY]()\n }\n\n /**\n * @public\n * @param {Error} error\n */\n rejectAll(error) {\n const requests = [...this.inflight.values(), ...this.pending]\n\n for (const socketRequest of requests) {\n socketRequest.rejected(error)\n this.inflight.delete(socketRequest.correlationId)\n }\n\n this.pending = []\n this.inflight.clear()\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n /**\n * @public\n */\n waitForPendingRequests() {\n return new Promise(resolve => {\n if (this.pending.length === 0 && this.inflight.size === 0) {\n return resolve()\n }\n\n this.logger.debug('Waiting for pending requests', {\n clientId: this.clientId,\n broker: this.broker,\n currentInflightRequests: this.inflight.size,\n currentPendingQueueSize: this.pending.length,\n })\n\n this.once(REQUEST_QUEUE_EMPTY, () => resolve())\n })\n }\n\n /**\n * @public\n */\n destroy() {\n clearInterval(this.requestTimeoutIntervalId)\n clearTimeout(this.throttleCheckTimeoutId)\n this.throttleCheckTimeoutId = null\n }\n\n canSendSocketRequestImmediately() {\n const shouldEnqueue =\n (this.maxInFlightRequests != null && this.inflight.size >= this.maxInFlightRequests) ||\n this.throttledUntil > Date.now()\n\n return !shouldEnqueue\n }\n\n /**\n * Check and process pending requests either now or in the future\n *\n * This function will send out as many pending requests as possible taking throttling and\n * in-flight limits into account.\n */\n checkPendingRequests() {\n while (this.pending.length > 0 && this.canSendSocketRequestImmediately()) {\n const pendingRequest = this.pending.shift() // first in first out\n this.sendSocketRequest(pendingRequest)\n\n this.logger.debug(`Consumed pending request`, {\n clientId: this.clientId,\n broker: this.broker,\n correlationId: pendingRequest.correlationId,\n pendingDuration: pendingRequest.pendingDuration,\n currentPendingQueueSize: this.pending.length,\n })\n\n this[PRIVATE.EMIT_QUEUE_SIZE_EVENT]()\n }\n\n this.scheduleCheckPendingRequests()\n }\n\n /**\n * Ensure that pending requests will be checked in the future\n *\n * If there is a client-side throttling in place this will ensure that we will check\n * the pending request queue eventually.\n */\n scheduleCheckPendingRequests() {\n // If we're throttled: Schedule checkPendingRequests when the throttle\n // should be resolved. If there is already something scheduled we assume that that\n // will be fine, and potentially fix up a new timeout if needed at that time.\n // Note that if we're merely \"overloaded\" by having too many inflight requests\n // we will anyways check the queue when one of them gets fulfilled.\n const timeUntilUnthrottled = this.throttledUntil - Date.now()\n if (timeUntilUnthrottled > 0 && !this.throttleCheckTimeoutId) {\n this.throttleCheckTimeoutId = setTimeout(() => {\n this.throttleCheckTimeoutId = null\n this.checkPendingRequests()\n }, timeUntilUnthrottled)\n }\n }\n}\n","const { KafkaJSRequestTimeoutError, KafkaJSNonRetriableError } = require('../../errors')\nconst events = require('../instrumentationEvents')\n\nconst PRIVATE = {\n STATE: Symbol('private:SocketRequest:state'),\n EMIT_EVENT: Symbol('private:SocketRequest:emitEvent'),\n}\n\nconst REQUEST_STATE = {\n PENDING: Symbol('PENDING'),\n SENT: Symbol('SENT'),\n COMPLETED: Symbol('COMPLETED'),\n REJECTED: Symbol('REJECTED'),\n}\n\n/**\n * SocketRequest abstracts the life cycle of a socket request, making it easier to track\n * request durations and to have individual timeouts per request.\n *\n * @typedef {Object} SocketRequest\n * @property {number} createdAt\n * @property {number} sentAt\n * @property {number} pendingDuration\n * @property {number} duration\n * @property {number} requestTimeout\n * @property {string} broker\n * @property {string} clientId\n * @property {RequestEntry} entry\n * @property {boolean} expectResponse\n * @property {Function} send\n * @property {Function} timeout\n *\n * @typedef {Object} RequestEntry\n * @property {string} apiKey\n * @property {string} apiName\n * @property {number} apiVersion\n * @property {number} correlationId\n * @property {Function} resolve\n * @property {Function} reject\n */\nmodule.exports = class SocketRequest {\n /**\n * @param {Object} options\n * @param {number} options.requestTimeout\n * @param {string} options.broker - e.g: 127.0.0.1:9092\n * @param {string} options.clientId\n * @param {RequestEntry} options.entry\n * @param {boolean} options.expectResponse\n * @param {Function} options.send\n * @param {() => void} options.timeout\n * @param {import(\"../../instrumentation/emitter\")} [options.instrumentationEmitter=null]\n */\n constructor({\n requestTimeout,\n broker,\n clientId,\n entry,\n expectResponse,\n send,\n timeout,\n instrumentationEmitter = null,\n }) {\n this.createdAt = Date.now()\n this.requestTimeout = requestTimeout\n this.broker = broker\n this.clientId = clientId\n this.entry = entry\n this.correlationId = entry.correlationId\n this.expectResponse = expectResponse\n this.sendRequest = send\n this.timeoutHandler = timeout\n\n this.sentAt = null\n this.duration = null\n this.pendingDuration = null\n\n this[PRIVATE.STATE] = REQUEST_STATE.PENDING\n this[PRIVATE.EMIT_EVENT] = (eventName, payload) =>\n instrumentationEmitter && instrumentationEmitter.emit(eventName, payload)\n }\n\n send() {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING],\n next: REQUEST_STATE.SENT,\n })\n\n this.sendRequest()\n this.sentAt = Date.now()\n this.pendingDuration = this.sentAt - this.createdAt\n this[PRIVATE.STATE] = REQUEST_STATE.SENT\n }\n\n timeoutRequest() {\n const { apiName, apiKey, apiVersion } = this.entry\n const requestInfo = `${apiName}(key: ${apiKey}, version: ${apiVersion})`\n const eventData = {\n broker: this.broker,\n clientId: this.clientId,\n correlationId: this.correlationId,\n createdAt: this.createdAt,\n sentAt: this.sentAt,\n pendingDuration: this.pendingDuration,\n }\n\n this.timeoutHandler()\n this.rejected(new KafkaJSRequestTimeoutError(`Request ${requestInfo} timed out`, eventData))\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST_TIMEOUT, {\n ...eventData,\n apiName,\n apiKey,\n apiVersion,\n })\n }\n\n completed({ size, payload }) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.SENT],\n next: REQUEST_STATE.COMPLETED,\n })\n\n const { entry, correlationId, broker, clientId, createdAt, sentAt, pendingDuration } = this\n\n this[PRIVATE.STATE] = REQUEST_STATE.COMPLETED\n this.duration = Date.now() - this.sentAt\n entry.resolve({ correlationId, entry, size, payload })\n\n this[PRIVATE.EMIT_EVENT](events.NETWORK_REQUEST, {\n broker,\n clientId,\n correlationId,\n size,\n createdAt,\n sentAt,\n pendingDuration,\n duration: this.duration,\n apiName: entry.apiName,\n apiKey: entry.apiKey,\n apiVersion: entry.apiVersion,\n })\n }\n\n rejected(error) {\n this.throwIfInvalidState({\n accepted: [REQUEST_STATE.PENDING, REQUEST_STATE.SENT],\n next: REQUEST_STATE.REJECTED,\n })\n\n this[PRIVATE.STATE] = REQUEST_STATE.REJECTED\n this.duration = Date.now() - this.sentAt\n this.entry.reject(error)\n }\n\n /**\n * @private\n */\n throwIfInvalidState({ accepted, next }) {\n if (accepted.includes(this[PRIVATE.STATE])) {\n return\n }\n\n const current = this[PRIVATE.STATE].toString()\n\n throw new KafkaJSNonRetriableError(\n `Invalid state, can't transition from ${current} to ${next.toString()}`\n )\n }\n}\n","/**\n * @param {Object} options\n * @param {import(\"../../types\").ISocketFactory} options.socketFactory\n * @param {string} options.host\n * @param {number} options.port\n * @param {Object} options.ssl\n * @param {() => void} options.onConnect\n * @param {(data: Buffer) => void} options.onData\n * @param {() => void} options.onEnd\n * @param {(err: Error) => void} options.onError\n * @param {() => void} options.onTimeout\n */\nmodule.exports = ({\n socketFactory,\n host,\n port,\n ssl,\n onConnect,\n onData,\n onEnd,\n onError,\n onTimeout,\n}) => {\n const socket = socketFactory({ host, port, ssl, onConnect })\n\n socket.on('data', onData)\n socket.on('end', onEnd)\n socket.on('error', onError)\n socket.on('timeout', onTimeout)\n\n return socket\n}\n","const KEEP_ALIVE_DELAY = 60000 // in ms\n\n/**\n * @returns {import(\"../../types\").ISocketFactory}\n */\nmodule.exports = () => {\n const net = require('net')\n const tls = require('tls')\n\n return ({ host, port, ssl, onConnect }) => {\n const socket = ssl\n ? tls.connect(Object.assign({ host, port, servername: host }, ssl), onConnect)\n : net.connect({ host, port }, onConnect)\n\n socket.setKeepAlive(true, KEEP_ALIVE_DELAY)\n\n return socket\n }\n}\n","module.exports = topicDataForBroker => {\n return topicDataForBroker.map(\n ({ topic, partitions, messagesPerPartition, sequencePerPartition }) => ({\n topic,\n partitions: partitions.map(partition => ({\n partition,\n firstSequence: sequencePerPartition[partition],\n messages: messagesPerPartition[partition],\n })),\n })\n )\n}\n","const createRetry = require('../../retry')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst COORDINATOR_TYPES = require('../../protocol/coordinatorTypes')\nconst createStateMachine = require('./transactionStateMachine')\nconst assert = require('assert')\n\nconst STATES = require('./transactionStates')\nconst NO_PRODUCER_ID = -1\nconst SEQUENCE_START = 0\nconst INT_32_MAX_VALUE = Math.pow(2, 32)\nconst INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS = [\n 'NOT_COORDINATOR_FOR_GROUP',\n 'GROUP_COORDINATOR_NOT_AVAILABLE',\n 'GROUP_LOAD_IN_PROGRESS',\n /**\n * The producer might have crashed and never committed the transaction; retry the\n * request so Kafka can abort the current transaction\n * @see https://github.com/apache/kafka/blob/201da0542726472d954080d54bc585b111aaf86f/clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java#L1001-L1002\n */\n 'CONCURRENT_TRANSACTIONS',\n]\nconst COMMIT_RETRIABLE_PROTOCOL_ERRORS = [\n 'UNKNOWN_TOPIC_OR_PARTITION',\n 'COORDINATOR_LOAD_IN_PROGRESS',\n]\nconst COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS = ['COORDINATOR_NOT_AVAILABLE', 'NOT_COORDINATOR']\n\n/**\n * @typedef {Object} EosManager\n */\n\n/**\n * Manage behavior for an idempotent producer and transactions.\n *\n * @returns {EosManager}\n */\nmodule.exports = ({\n logger,\n cluster,\n transactionTimeout = 60000,\n transactional,\n transactionalId,\n}) => {\n if (transactional && !transactionalId) {\n throw new KafkaJSNonRetriableError('Cannot manage transactions without a transactionalId')\n }\n\n const retrier = createRetry(cluster.retry)\n\n /**\n * Current producer ID\n */\n let producerId = NO_PRODUCER_ID\n\n /**\n * Current producer epoch\n */\n let producerEpoch = 0\n\n /**\n * Idempotent production requires that the producer track the sequence number of messages.\n *\n * Sequences are sent with every Record Batch and tracked per Topic-Partition\n */\n let producerSequence = {}\n\n /**\n * Topic partitions already participating in the transaction\n */\n let transactionTopicPartitions = {}\n\n const stateMachine = createStateMachine({ logger })\n stateMachine.on('transition', ({ to }) => {\n if (to === STATES.READY) {\n transactionTopicPartitions = {}\n }\n })\n\n const findTransactionCoordinator = () => {\n return cluster.findGroupCoordinator({\n groupId: transactionalId,\n coordinatorType: COORDINATOR_TYPES.TRANSACTION,\n })\n }\n\n const transactionalGuard = () => {\n if (!transactional) {\n throw new KafkaJSNonRetriableError('Method unavailable if non-transactional')\n }\n }\n\n const eosManager = stateMachine.createGuarded(\n {\n /**\n * Get the current producer id\n * @returns {number}\n */\n getProducerId() {\n return producerId\n },\n\n /**\n * Get the current producer epoch\n * @returns {number}\n */\n getProducerEpoch() {\n return producerEpoch\n },\n\n getTransactionalId() {\n return transactionalId\n },\n\n /**\n * Initialize the idempotent producer by making an `InitProducerId` request.\n * Overwrites any existing state in this transaction manager\n */\n async initProducerId() {\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await cluster.refreshMetadataIfNecessary()\n\n // If non-transactional we can request the PID from any broker\n const broker = await (transactional\n ? findTransactionCoordinator()\n : cluster.findControllerBroker())\n\n const result = await broker.initProducerId({\n transactionalId: transactional ? transactionalId : undefined,\n transactionTimeout,\n })\n\n stateMachine.transitionTo(STATES.READY)\n producerId = result.producerId\n producerEpoch = result.producerEpoch\n producerSequence = {}\n\n logger.debug('Initialized producer id & epoch', { producerId, producerEpoch })\n } catch (e) {\n if (INIT_PRODUCER_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n if (e.type === 'CONCURRENT_TRANSACTIONS') {\n logger.debug('There is an ongoing transaction on this transactionId, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n }\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n\n /**\n * Get the current sequence for a given Topic-Partition. Defaults to 0.\n *\n * @param {string} topic\n * @param {string} partition\n * @returns {number}\n */\n getSequence(topic, partition) {\n if (!eosManager.isInitialized()) {\n return SEQUENCE_START\n }\n\n producerSequence[topic] = producerSequence[topic] || {}\n producerSequence[topic][partition] = producerSequence[topic][partition] || SEQUENCE_START\n\n return producerSequence[topic][partition]\n },\n\n /**\n * Update the sequence for a given Topic-Partition.\n *\n * Do nothing if not yet initialized (not idempotent)\n * @param {string} topic\n * @param {string} partition\n * @param {number} increment\n */\n updateSequence(topic, partition, increment) {\n if (!eosManager.isInitialized()) {\n return\n }\n\n const previous = eosManager.getSequence(topic, partition)\n let sequence = previous + increment\n\n // Sequence is defined as Int32 in the Record Batch,\n // so theoretically should need to rotate here\n if (sequence >= INT_32_MAX_VALUE) {\n logger.debug(\n `Sequence for ${topic} ${partition} exceeds max value (${sequence}). Rotating to 0.`\n )\n sequence = 0\n }\n\n producerSequence[topic][partition] = sequence\n },\n\n /**\n * Begin a transaction\n */\n beginTransaction() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.TRANSACTING)\n },\n\n /**\n * Add partitions to a transaction if they are not already marked as participating.\n *\n * Should be called prior to sending any messages during a transaction\n * @param {TopicData[]} topicData\n *\n * @typedef {Object} TopicData\n * @property {string} topic\n * @property {object[]} partitions\n * @property {number} partitions[].partition\n */\n async addPartitionsToTransaction(topicData) {\n transactionalGuard()\n const newTopicPartitions = {}\n\n topicData.forEach(({ topic, partitions }) => {\n transactionTopicPartitions[topic] = transactionTopicPartitions[topic] || {}\n\n partitions.forEach(({ partition }) => {\n if (!transactionTopicPartitions[topic][partition]) {\n newTopicPartitions[topic] = newTopicPartitions[topic] || []\n newTopicPartitions[topic].push(partition)\n }\n })\n })\n\n const topics = Object.keys(newTopicPartitions).map(topic => ({\n topic,\n partitions: newTopicPartitions[topic],\n }))\n\n if (topics.length) {\n const broker = await findTransactionCoordinator()\n await broker.addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })\n }\n\n topics.forEach(({ topic, partitions }) => {\n partitions.forEach(partition => {\n transactionTopicPartitions[topic][partition] = true\n })\n })\n },\n\n /**\n * Commit the ongoing transaction\n */\n async commit() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.COMMITTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: true,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Abort the ongoing transaction\n */\n async abort() {\n transactionalGuard()\n stateMachine.transitionTo(STATES.ABORTING)\n\n const broker = await findTransactionCoordinator()\n await broker.endTxn({\n producerId,\n producerEpoch,\n transactionalId,\n transactionResult: false,\n })\n\n stateMachine.transitionTo(STATES.READY)\n },\n\n /**\n * Whether the producer id has already been initialized\n */\n isInitialized() {\n return producerId !== NO_PRODUCER_ID\n },\n\n isTransactional() {\n return transactional\n },\n\n isInTransaction() {\n return stateMachine.state() === STATES.TRANSACTING\n },\n\n /**\n * Mark the provided offsets as participating in the transaction for the given consumer group.\n *\n * This allows us to commit an offset as consumed only if the transaction passes.\n * @param {string} consumerGroupId The unique group identifier\n * @param {OffsetCommitTopic[]} topics The unique group identifier\n * @returns {Promise}\n *\n * @typedef {Object} OffsetCommitTopic\n * @property {string} topic\n * @property {OffsetCommitTopicPartition[]} partitions\n *\n * @typedef {Object} OffsetCommitTopicPartition\n * @property {number} partition\n * @property {number} offset\n */\n async sendOffsets({ consumerGroupId, topics }) {\n assert(consumerGroupId, 'Missing consumerGroupId')\n assert(topics, 'Missing offset topics')\n\n const transactionCoordinator = await findTransactionCoordinator()\n\n // Do we need to add offsets if we've already done so for this consumer group?\n await transactionCoordinator.addOffsetsToTxn({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n })\n\n let groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n return retrier(async (bail, retryCount, retryTime) => {\n try {\n await groupCoordinator.txnOffsetCommit({\n transactionalId,\n producerId,\n producerEpoch,\n groupId: consumerGroupId,\n topics,\n })\n } catch (e) {\n if (COMMIT_RETRIABLE_PROTOCOL_ERRORS.includes(e.type)) {\n logger.debug('Group coordinator is not ready yet, retrying', {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n })\n\n throw e\n }\n\n if (\n COMMIT_STALE_COORDINATOR_PROTOCOL_ERRORS.includes(e.type) ||\n e.code === 'ECONNREFUSED'\n ) {\n logger.debug(\n 'Invalid group coordinator, finding new group coordinator and retrying',\n {\n error: e.message,\n stack: e.stack,\n transactionalId,\n retryCount,\n retryTime,\n }\n )\n\n groupCoordinator = await cluster.findGroupCoordinator({\n groupId: consumerGroupId,\n coordinatorType: COORDINATOR_TYPES.GROUP,\n })\n\n throw e\n }\n\n bail(e)\n }\n })\n },\n },\n\n /**\n * Transaction state guards\n */\n {\n initProducerId: { legalStates: [STATES.UNINITIALIZED, STATES.READY] },\n beginTransaction: { legalStates: [STATES.READY], async: false },\n addPartitionsToTransaction: { legalStates: [STATES.TRANSACTING] },\n sendOffsets: { legalStates: [STATES.TRANSACTING] },\n commit: { legalStates: [STATES.TRANSACTING] },\n abort: { legalStates: [STATES.TRANSACTING] },\n }\n )\n\n return eosManager\n}\n","const { EventEmitter } = require('events')\nconst { KafkaJSNonRetriableError } = require('../../errors')\nconst STATES = require('./transactionStates')\n\nconst VALID_STATE_TRANSITIONS = {\n [STATES.UNINITIALIZED]: [STATES.READY],\n [STATES.READY]: [STATES.READY, STATES.TRANSACTING],\n [STATES.TRANSACTING]: [STATES.COMMITTING, STATES.ABORTING],\n [STATES.COMMITTING]: [STATES.READY],\n [STATES.ABORTING]: [STATES.READY],\n}\n\nmodule.exports = ({ logger, initialState = STATES.UNINITIALIZED }) => {\n let currentState = initialState\n\n const guard = (object, method, { legalStates, async: isAsync = true }) => {\n if (!object[method]) {\n throw new KafkaJSNonRetriableError(`Cannot add guard on missing method \"${method}\"`)\n }\n\n return (...args) => {\n const fn = object[method]\n\n if (!legalStates.includes(currentState)) {\n const error = new KafkaJSNonRetriableError(\n `Transaction state exception: Cannot call \"${method}\" in state \"${currentState}\"`\n )\n\n if (isAsync) {\n return Promise.reject(error)\n } else {\n throw error\n }\n }\n\n return fn.apply(object, args)\n }\n }\n\n const stateMachine = Object.assign(new EventEmitter(), {\n /**\n * Create a clone of \"object\" where we ensure state machine is in correct state\n * prior to calling any of the configured methods\n * @param {Object} object The object whose methods we will guard\n * @param {Object} methodStateMapping Keys are method names on \"object\"\n * @param {string[]} methodStateMapping.legalStates Legal states for this method\n * @param {boolean=true} methodStateMapping.async Whether this method is async (throw vs reject)\n */\n createGuarded(object, methodStateMapping) {\n const guardedMethods = Object.keys(methodStateMapping).reduce((guards, method) => {\n guards[method] = guard(object, method, methodStateMapping[method])\n return guards\n }, {})\n\n return { ...object, ...guardedMethods }\n },\n /**\n * Transition safely to a new state\n */\n transitionTo(state) {\n logger.debug(`Transaction state transition ${currentState} --> ${state}`)\n\n if (!VALID_STATE_TRANSITIONS[currentState].includes(state)) {\n throw new KafkaJSNonRetriableError(\n `Transaction state exception: Invalid transition ${currentState} --> ${state}`\n )\n }\n\n stateMachine.emit('transition', { to: state, from: currentState })\n currentState = state\n },\n\n state() {\n return currentState\n },\n })\n\n return stateMachine\n}\n","module.exports = {\n UNINITIALIZED: 'UNINITIALIZED',\n READY: 'READY',\n TRANSACTING: 'TRANSACTING',\n COMMITTING: 'COMMITTING',\n ABORTING: 'ABORTING',\n}\n","module.exports = ({ topic, partitionMetadata, messages, partitioner }) => {\n if (partitionMetadata.length === 0) {\n return {}\n }\n\n return messages.reduce((result, message) => {\n const partition = partitioner({ topic, partitionMetadata, message })\n const current = result[partition] || []\n return Object.assign(result, { [partition]: [...current, message] })\n }, {})\n}\n","const createRetry = require('../retry')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\nconst { DefaultPartitioner } = require('./partitioners/')\nconst InstrumentationEventEmitter = require('../instrumentation/emitter')\nconst createEosManager = require('./eosManager')\nconst createMessageProducer = require('./messageProducer')\nconst { events, wrap: wrapEvent, unwrap: unwrapEvent } = require('./instrumentationEvents')\nconst { KafkaJSNonRetriableError } = require('../errors')\n\nconst { values, keys } = Object\nconst eventNames = values(events)\nconst eventKeys = keys(events)\n .map(key => `producer.events.${key}`)\n .join(', ')\n\nconst { CONNECT, DISCONNECT } = events\n\n/**\n *\n * @param {Object} params\n * @param {import('../../types').Cluster} params.cluster\n * @param {import('../../types').Logger} params.logger\n * @param {import('../../types').ICustomPartitioner} [params.createPartitioner]\n * @param {import('../../types').RetryOptions} [params.retry]\n * @param {boolean} [params.idempotent]\n * @param {string} [params.transactionalId]\n * @param {number} [params.transactionTimeout]\n * @param {InstrumentationEventEmitter} [params.instrumentationEmitter]\n *\n * @returns {import('../../types').Producer}\n */\nmodule.exports = ({\n cluster,\n logger: rootLogger,\n createPartitioner = DefaultPartitioner,\n retry,\n idempotent = false,\n transactionalId,\n transactionTimeout,\n instrumentationEmitter: rootInstrumentationEmitter,\n}) => {\n let connectionStatus = CONNECTION_STATUS.DISCONNECTED\n retry = retry || { retries: idempotent ? Number.MAX_SAFE_INTEGER : 5 }\n\n if (idempotent && retry.retries < 1) {\n throw new KafkaJSNonRetriableError(\n 'Idempotent producer must allow retries to protect against transient errors'\n )\n }\n\n const logger = rootLogger.namespace('Producer')\n\n if (idempotent && retry.retries < Number.MAX_SAFE_INTEGER) {\n logger.warn('Limiting retries for the idempotent producer may invalidate EoS guarantees')\n }\n\n const partitioner = createPartitioner()\n const retrier = createRetry(Object.assign({}, cluster.retry, retry))\n const instrumentationEmitter = rootInstrumentationEmitter || new InstrumentationEventEmitter()\n const idempotentEosManager = createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: false,\n transactionalId,\n })\n\n const { send, sendBatch } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n eosManager: idempotentEosManager,\n idempotent,\n retrier,\n getConnectionStatus: () => connectionStatus,\n })\n\n let transactionalEosManager\n\n /** @type {import(\"../../types\").Producer[\"on\"]} */\n const on = (eventName, listener) => {\n if (!eventNames.includes(eventName)) {\n throw new KafkaJSNonRetriableError(`Event name should be one of ${eventKeys}`)\n }\n\n return instrumentationEmitter.addListener(unwrapEvent(eventName), event => {\n event.type = wrapEvent(event.type)\n Promise.resolve(listener(event)).catch(e => {\n logger.error(`Failed to execute listener: ${e.message}`, {\n eventName,\n stack: e.stack,\n })\n })\n })\n }\n\n /**\n * Begin a transaction. The returned object contains methods to send messages\n * to the transaction and end the transaction by committing or aborting.\n *\n * Only messages sent on the transaction object will participate in the transaction.\n *\n * Calling any of the transactional methods after the transaction has ended\n * will raise an exception (use `isActive` to ascertain if ended).\n * @returns {Promise}\n *\n * @typedef {Object} Transaction\n * @property {Function} send Identical to the producer \"send\" method\n * @property {Function} sendBatch Identical to the producer \"sendBatch\" method\n * @property {Function} abort Abort the transaction\n * @property {Function} commit Commit the transaction\n * @property {Function} isActive Whether the transaction is active\n */\n const transaction = async () => {\n if (!transactionalId) {\n throw new KafkaJSNonRetriableError('Must provide transactional id for transactional producer')\n }\n\n let transactionDidEnd = false\n transactionalEosManager =\n transactionalEosManager ||\n createEosManager({\n logger,\n cluster,\n transactionTimeout,\n transactional: true,\n transactionalId,\n })\n\n if (transactionalEosManager.isInTransaction()) {\n throw new KafkaJSNonRetriableError(\n 'There is already an ongoing transaction for this producer. Please end the transaction before beginning another.'\n )\n }\n\n // We only initialize the producer id once\n if (!transactionalEosManager.isInitialized()) {\n await transactionalEosManager.initProducerId()\n }\n transactionalEosManager.beginTransaction()\n\n const { send: sendTxn, sendBatch: sendBatchTxn } = createMessageProducer({\n logger,\n cluster,\n partitioner,\n retrier,\n eosManager: transactionalEosManager,\n idempotent: true,\n getConnectionStatus: () => connectionStatus,\n })\n\n const isActive = () => transactionalEosManager.isInTransaction() && !transactionDidEnd\n\n const transactionGuard = fn => (...args) => {\n if (!isActive()) {\n return Promise.reject(\n new KafkaJSNonRetriableError('Cannot continue to use transaction once ended')\n )\n }\n\n return fn(...args)\n }\n\n return {\n sendBatch: transactionGuard(sendBatchTxn),\n send: transactionGuard(sendTxn),\n /**\n * Abort the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n abort: transactionGuard(async () => {\n await transactionalEosManager.abort()\n transactionDidEnd = true\n }),\n /**\n * Commit the ongoing transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n commit: transactionGuard(async () => {\n await transactionalEosManager.commit()\n transactionDidEnd = true\n }),\n /**\n * Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.\n *\n * @throws {KafkaJSNonRetriableError} If transaction has ended\n */\n sendOffsets: transactionGuard(async ({ consumerGroupId, topics }) => {\n await transactionalEosManager.sendOffsets({ consumerGroupId, topics })\n\n for (const topicOffsets of topics) {\n const { topic, partitions } = topicOffsets\n for (const { partition, offset } of partitions) {\n cluster.markOffsetAsCommitted({\n groupId: consumerGroupId,\n topic,\n partition,\n offset,\n })\n }\n }\n }),\n isActive,\n }\n }\n\n /**\n * @returns {Object} logger\n */\n const getLogger = () => logger\n\n return {\n /**\n * @returns {Promise}\n */\n connect: async () => {\n await cluster.connect()\n connectionStatus = CONNECTION_STATUS.CONNECTED\n instrumentationEmitter.emit(CONNECT)\n\n if (idempotent && !idempotentEosManager.isInitialized()) {\n await idempotentEosManager.initProducerId()\n }\n },\n /**\n * @return {Promise}\n */\n disconnect: async () => {\n connectionStatus = CONNECTION_STATUS.DISCONNECTING\n await cluster.disconnect()\n connectionStatus = CONNECTION_STATUS.DISCONNECTED\n instrumentationEmitter.emit(DISCONNECT)\n },\n isIdempotent: () => {\n return idempotent\n },\n events,\n on,\n send,\n sendBatch,\n transaction,\n logger: getLogger,\n }\n}\n","const swapObject = require('../utils/swapObject')\nconst networkEvents = require('../network/instrumentationEvents')\nconst InstrumentationEventType = require('../instrumentation/eventType')\nconst producerType = InstrumentationEventType('producer')\n\nconst events = {\n CONNECT: producerType('connect'),\n DISCONNECT: producerType('disconnect'),\n REQUEST: producerType(networkEvents.NETWORK_REQUEST),\n REQUEST_TIMEOUT: producerType(networkEvents.NETWORK_REQUEST_TIMEOUT),\n REQUEST_QUEUE_SIZE: producerType(networkEvents.NETWORK_REQUEST_QUEUE_SIZE),\n}\n\nconst wrappedEvents = {\n [events.REQUEST]: networkEvents.NETWORK_REQUEST,\n [events.REQUEST_TIMEOUT]: networkEvents.NETWORK_REQUEST_TIMEOUT,\n [events.REQUEST_QUEUE_SIZE]: networkEvents.NETWORK_REQUEST_QUEUE_SIZE,\n}\n\nconst reversedWrappedEvents = swapObject(wrappedEvents)\nconst unwrap = eventName => wrappedEvents[eventName] || eventName\nconst wrap = eventName => reversedWrappedEvents[eventName] || eventName\n\nmodule.exports = {\n events,\n wrap,\n unwrap,\n}\n","const createSendMessages = require('./sendMessages')\nconst { KafkaJSError, KafkaJSNonRetriableError } = require('../errors')\nconst { CONNECTION_STATUS } = require('../network/connectionStatus')\n\nmodule.exports = ({\n logger,\n cluster,\n partitioner,\n eosManager,\n idempotent,\n retrier,\n getConnectionStatus,\n}) => {\n const sendMessages = createSendMessages({\n logger,\n cluster,\n retrier,\n partitioner,\n eosManager,\n })\n\n const validateConnectionStatus = () => {\n const connectionStatus = getConnectionStatus()\n\n switch (connectionStatus) {\n case CONNECTION_STATUS.DISCONNECTING:\n throw new KafkaJSNonRetriableError(\n `The producer is disconnecting; therefore, it can't safely accept messages anymore`\n )\n case CONNECTION_STATUS.DISCONNECTED:\n throw new KafkaJSError('The producer is disconnected')\n }\n }\n\n /**\n * @typedef {Object} TopicMessages\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n *\n * @typedef {Object} SendBatchRequest\n * @property {Array} topicMessages\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n *\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n *\n * @param {SendBatchRequest}\n * @returns {Promise}\n */\n const sendBatch = async ({ acks = -1, timeout, compression, topicMessages = [] }) => {\n if (topicMessages.some(({ topic }) => !topic)) {\n throw new KafkaJSNonRetriableError(`Invalid topic`)\n }\n\n if (idempotent && acks !== -1) {\n throw new KafkaJSNonRetriableError(\n `Not requiring ack for all messages invalidates the idempotent producer's EoS guarantees`\n )\n }\n\n for (const { topic, messages } of topicMessages) {\n if (!messages) {\n throw new KafkaJSNonRetriableError(\n `Invalid messages array [${messages}] for topic \"${topic}\"`\n )\n }\n\n const messageWithoutValue = messages.find(message => message.value === undefined)\n if (messageWithoutValue) {\n throw new KafkaJSNonRetriableError(\n `Invalid message without value for topic \"${topic}\": ${JSON.stringify(\n messageWithoutValue\n )}`\n )\n }\n }\n\n validateConnectionStatus()\n const mergedTopicMessages = topicMessages.reduce((merged, { topic, messages }) => {\n const index = merged.findIndex(({ topic: mergedTopic }) => topic === mergedTopic)\n\n if (index === -1) {\n merged.push({ topic, messages })\n } else {\n merged[index].messages = [...merged[index].messages, ...messages]\n }\n\n return merged\n }, [])\n\n return await sendMessages({\n acks,\n timeout,\n compression,\n topicMessages: mergedTopicMessages,\n })\n }\n\n /**\n * @param {ProduceRequest} ProduceRequest\n * @returns {Promise}\n *\n * @typedef {Object} ProduceRequest\n * @property {string} topic\n * @property {Array} messages An array of objects with \"key\" and \"value\", example:\n * [{ key: 'my-key', value: 'my-value'}]\n * @property {number} [acks=-1] Control the number of required acks.\n * -1 = all replicas must acknowledge\n * 0 = no acknowledgments\n * 1 = only waits for the leader to acknowledge\n * @property {number} [timeout=30000] The time to await a response in ms\n * @property {Compression.Types} [compression=Compression.Types.None] Compression codec\n */\n const send = async ({ acks, timeout, compression, topic, messages }) => {\n const topicMessage = { topic, messages }\n return sendBatch({\n acks,\n timeout,\n compression,\n topicMessages: [topicMessage],\n })\n }\n\n return {\n send,\n sendBatch,\n }\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('./partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = 0x9747b28c\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = 0x5bd1e995\nconst R = 24\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = SEED ^ length\n let length4 = length / 4\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k *= M\n k ^= k >>> R\n k *= M\n h *= M\n h ^= k\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h ^= (data[(length & ~3) + 2] & 0xff) << 16\n case 2:\n h ^= (data[(length & ~3) + 1] & 0xff) << 8\n case 1:\n h ^= data[length & ~3] & 0xff\n h *= M\n }\n\n h ^= h >>> 13\n h *= M\n h ^= h >>> 15\n\n return h\n}\n","const randomBytes = require('./randomBytes')\n\n// Based on the java client 0.10.2\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java\n\n/**\n * A cheap way to deterministically convert a number to a positive value. When the input is\n * positive, the original value is returned. When the input number is negative, the returned\n * positive value is the original value bit AND against 0x7fffffff which is not its absolutely\n * value.\n */\nconst toPositive = x => x & 0x7fffffff\n\n/**\n * The default partitioning strategy:\n * - If a partition is specified in the message, use it\n * - If no partition is specified but a key is present choose a partition based on a hash of the key\n * - If no partition or key is present choose a partition in a round-robin fashion\n */\nmodule.exports = murmur2 => () => {\n const counters = {}\n\n return ({ topic, partitionMetadata, message }) => {\n if (!(topic in counters)) {\n counters[topic] = randomBytes(32).readUInt32BE(0)\n }\n const numPartitions = partitionMetadata.length\n const availablePartitions = partitionMetadata.filter(p => p.leader >= 0)\n const numAvailablePartitions = availablePartitions.length\n\n if (message.partition !== null && message.partition !== undefined) {\n return message.partition\n }\n\n if (message.key !== null && message.key !== undefined) {\n return toPositive(murmur2(message.key)) % numPartitions\n }\n\n if (numAvailablePartitions > 0) {\n const i = toPositive(++counters[topic]) % numAvailablePartitions\n return availablePartitions[i].partitionId\n }\n\n // no partitions are available, give a non-available partition\n return toPositive(++counters[topic]) % numPartitions\n }\n}\n","const { KafkaJSNonRetriableError } = require('../../../errors')\n\nconst toNodeCompatible = crypto => ({\n randomBytes: size => crypto.getRandomValues(Buffer.allocUnsafe(size)),\n})\n\nlet cryptoImplementation = null\nif (global && global.crypto) {\n cryptoImplementation =\n global.crypto.randomBytes === undefined ? toNodeCompatible(global.crypto) : global.crypto\n} else if (global && global.msCrypto) {\n cryptoImplementation = toNodeCompatible(global.msCrypto)\n} else if (global && !global.crypto) {\n cryptoImplementation = require('crypto')\n}\n\nconst MAX_BYTES = 65536\n\nmodule.exports = size => {\n if (size > MAX_BYTES) {\n throw new KafkaJSNonRetriableError(\n `Byte length (${size}) exceeds the max number of bytes of entropy available (${MAX_BYTES})`\n )\n }\n\n if (!cryptoImplementation) {\n throw new KafkaJSNonRetriableError('No available crypto implementation')\n }\n\n return cryptoImplementation.randomBytes(size)\n}\n","const murmur2 = require('./murmur2')\nconst createDefaultPartitioner = require('../default/partitioner')\n\nmodule.exports = createDefaultPartitioner(murmur2)\n","/* eslint-disable */\nconst Long = require('../../../utils/long')\n\n// Based on the kafka client 0.10.2 murmur2 implementation\n// https://github.com/apache/kafka/blob/0.10.2/clients/src/main/java/org/apache/kafka/common/utils/Utils.java#L364\n\nconst SEED = Long.fromValue(0x9747b28c)\n\n// 'm' and 'r' are mixing constants generated offline.\n// They're not really 'magic', they just happen to work well.\nconst M = Long.fromValue(0x5bd1e995)\nconst R = Long.fromValue(24)\n\nmodule.exports = key => {\n const data = Buffer.isBuffer(key) ? key : Buffer.from(String(key))\n const length = data.length\n\n // Initialize the hash to a random value\n let h = Long.fromValue(SEED.xor(length))\n let length4 = Math.floor(length / 4)\n\n for (let i = 0; i < length4; i++) {\n const i4 = i * 4\n let k =\n (data[i4 + 0] & 0xff) +\n ((data[i4 + 1] & 0xff) << 8) +\n ((data[i4 + 2] & 0xff) << 16) +\n ((data[i4 + 3] & 0xff) << 24)\n k = Long.fromValue(k)\n k = k.multiply(M)\n k = k.xor(k.toInt() >>> R)\n k = Long.fromValue(k).multiply(M)\n h = h.multiply(M)\n h = h.xor(k)\n }\n\n // Handle the last few bytes of the input array\n switch (length % 4) {\n case 3:\n h = h.xor((data[(length & ~3) + 2] & 0xff) << 16)\n case 2:\n h = h.xor((data[(length & ~3) + 1] & 0xff) << 8)\n case 1:\n h = h.xor(data[length & ~3] & 0xff)\n h = h.multiply(M)\n }\n\n h = h.xor(h.toInt() >>> 13)\n h = h.multiply(M)\n h = h.xor(h.toInt() >>> 15)\n\n return h.toInt()\n}\n","const DefaultPartitioner = require('./default')\nconst JavaCompatiblePartitioner = require('./defaultJava')\n\nmodule.exports = {\n DefaultPartitioner,\n JavaCompatiblePartitioner,\n}\n","const flatten = require('../utils/flatten')\n\nmodule.exports = ({ topics }) => {\n const partitions = topics.map(({ topicName, partitions }) =>\n partitions.map(partition => ({ topicName, ...partition }))\n )\n\n return flatten(partitions)\n}\n","const flatten = require('../utils/flatten')\nconst { KafkaJSMetadataNotLoaded } = require('../errors')\nconst { staleMetadata } = require('../protocol/error')\nconst groupMessagesPerPartition = require('./groupMessagesPerPartition')\nconst createTopicData = require('./createTopicData')\nconst responseSerializer = require('./responseSerializer')\n\nconst { keys } = Object\n\n/**\n * @param {Object} options\n * @param {import(\"../../types\").Logger} options.logger\n * @param {import(\"../../types\").Cluster} options.cluster\n * @param {ReturnType} options.partitioner\n * @param {import(\"./eosManager\").EosManager} options.eosManager\n * @param {import(\"../retry\").Retrier} options.retrier\n */\nmodule.exports = ({ logger, cluster, partitioner, eosManager, retrier }) => {\n return async ({ acks, timeout, compression, topicMessages }) => {\n /** @type {Map} */\n const responsePerBroker = new Map()\n\n /** @param {Map} responsePerBroker */\n const createProducerRequests = async responsePerBroker => {\n const topicMetadata = new Map()\n\n await cluster.refreshMetadataIfNecessary()\n\n for (const { topic, messages } of topicMessages) {\n const partitionMetadata = cluster.findTopicPartitionMetadata(topic)\n\n if (partitionMetadata.length === 0) {\n logger.debug('Producing to topic without metadata', {\n topic,\n targetTopics: Array.from(cluster.targetTopics),\n })\n\n throw new KafkaJSMetadataNotLoaded('Producing to topic without metadata')\n }\n\n const messagesPerPartition = groupMessagesPerPartition({\n topic,\n partitionMetadata,\n messages,\n partitioner,\n })\n\n const partitions = keys(messagesPerPartition)\n const sequencePerPartition = partitions.reduce((result, partition) => {\n result[partition] = eosManager.getSequence(topic, partition)\n return result\n }, {})\n\n const partitionsPerLeader = cluster.findLeaderForPartitions(topic, partitions)\n const leaders = keys(partitionsPerLeader)\n\n topicMetadata.set(topic, {\n partitionsPerLeader,\n messagesPerPartition,\n sequencePerPartition,\n })\n\n for (const nodeId of leaders) {\n const broker = await cluster.findBroker({ nodeId })\n if (!responsePerBroker.has(broker)) {\n responsePerBroker.set(broker, null)\n }\n }\n }\n\n const brokers = Array.from(responsePerBroker.keys())\n const brokersWithoutResponse = brokers.filter(broker => !responsePerBroker.get(broker))\n\n return brokersWithoutResponse.map(async broker => {\n const entries = Array.from(topicMetadata.entries())\n const topicDataForBroker = entries\n .filter(([_, { partitionsPerLeader }]) => !!partitionsPerLeader[broker.nodeId])\n .map(([topic, { partitionsPerLeader, messagesPerPartition, sequencePerPartition }]) => ({\n topic,\n partitions: partitionsPerLeader[broker.nodeId],\n sequencePerPartition,\n messagesPerPartition,\n }))\n\n const topicData = createTopicData(topicDataForBroker)\n\n try {\n if (eosManager.isTransactional()) {\n await eosManager.addPartitionsToTransaction(topicData)\n }\n\n const response = await broker.produce({\n transactionalId: eosManager.isTransactional()\n ? eosManager.getTransactionalId()\n : undefined,\n producerId: eosManager.getProducerId(),\n producerEpoch: eosManager.getProducerEpoch(),\n acks,\n timeout,\n compression,\n topicData,\n })\n\n const expectResponse = acks !== 0\n const formattedResponse = expectResponse ? responseSerializer(response) : []\n\n formattedResponse.forEach(({ topicName, partition }) => {\n const increment = topicMetadata.get(topicName).messagesPerPartition[partition].length\n\n eosManager.updateSequence(topicName, partition, increment)\n })\n\n responsePerBroker.set(broker, formattedResponse)\n } catch (e) {\n responsePerBroker.delete(broker)\n throw e\n }\n })\n }\n\n return retrier(async (bail, retryCount, retryTime) => {\n const topics = topicMessages.map(({ topic }) => topic)\n await cluster.addMultipleTargetTopics(topics)\n\n try {\n const requests = await createProducerRequests(responsePerBroker)\n await Promise.all(requests)\n const responses = Array.from(responsePerBroker.values())\n return flatten(responses)\n } catch (e) {\n if (e.name === 'KafkaJSConnectionClosedError') {\n cluster.removeBroker({ host: e.host, port: e.port })\n }\n\n if (!cluster.isConnected()) {\n logger.debug(`Cluster has disconnected, reconnecting: ${e.message}`, {\n retryCount,\n retryTime,\n })\n await cluster.connect()\n await cluster.refreshMetadata()\n throw e\n }\n\n // This is necessary in case the metadata is stale and the number of partitions\n // for this topic has increased in the meantime\n if (\n staleMetadata(e) ||\n e.name === 'KafkaJSMetadataNotLoaded' ||\n e.name === 'KafkaJSConnectionError' ||\n e.name === 'KafkaJSConnectionClosedError' ||\n (e.name === 'KafkaJSProtocolError' && e.retriable)\n ) {\n logger.error(`Failed to send messages: ${e.message}`, { retryCount, retryTime })\n await cluster.refreshMetadata()\n throw e\n }\n\n logger.error(`${e.message}`, { retryCount, retryTime })\n if (e.retriable) throw e\n bail(e)\n }\n })\n }\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclOperation.java#L44\n\n/**\n * @typedef {number} ACLOperationTypes\n *\n * Enum for ACL Operations Types\n * @readonly\n * @enum {ACLOperationTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclOperation which this client cannot understand, perhaps because this\n * client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclOperation.\n */\n ANY: 1,\n /**\n * ALL operation.\n */\n ALL: 2,\n /**\n * READ operation.\n */\n READ: 3,\n /**\n * WRITE operation.\n */\n WRITE: 4,\n /**\n * CREATE operation.\n */\n CREATE: 5,\n /**\n * DELETE operation.\n */\n DELETE: 6,\n /**\n * ALTER operation.\n */\n ALTER: 7,\n /**\n * DESCRIBE operation.\n */\n DESCRIBE: 8,\n /**\n * CLUSTER_ACTION operation.\n */\n CLUSTER_ACTION: 9,\n /**\n * DESCRIBE_CONFIGS operation.\n */\n DESCRIBE_CONFIGS: 10,\n /**\n * ALTER_CONFIGS operation.\n */\n ALTER_CONFIGS: 11,\n /**\n * IDEMPOTENT_WRITE operation.\n */\n IDEMPOTENT_WRITE: 12,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/acl/AclPermissionType.java/#L31\n\n/**\n * @typedef {number} ACLPermissionTypes\n *\n * Enum for Permission Types\n * @readonly\n * @enum {ACLPermissionTypes}\n */\nmodule.exports = {\n /**\n * Represents any AclPermissionType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any AclPermissionType.\n */\n ANY: 1,\n /**\n * Disallows access.\n */\n DENY: 2,\n /**\n * Grants access.\n */\n ALLOW: 3,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/a15387f34d142684859c2a57fcbef25edcdce25a/clients/src/main/java/org/apache/kafka/common/resource/ResourceType.java#L25-L31\n * @typedef {number} ACLResourceTypes\n *\n * Enum for ACL Resource Types\n * @readonly\n * @enum {ACLResourceTypes}\n */\n\nmodule.exports = {\n /**\n * Represents any ResourceType which this client cannot understand,\n * perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any ResourceType.\n */\n ANY: 1,\n /**\n * A Kafka topic.\n * @see http://kafka.apache.org/documentation/#topicconfigs\n */\n TOPIC: 2,\n /**\n * A consumer group.\n * @see http://kafka.apache.org/documentation/#consumerconfigs\n */\n GROUP: 3,\n /**\n * The cluster as a whole.\n */\n CLUSTER: 4,\n /**\n * A transactional ID.\n */\n TRANSACTIONAL_ID: 5,\n /**\n * A token ID.\n */\n DELEGATION_TOKEN: 6,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC: 2,\n BROKER: 4,\n BROKER_LOGGER: 8,\n}\n","/**\n * @see https://github.com/apache/kafka/blob/1f240ce1793cab09e1c4823e17436d2b030df2bc/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L115-L122\n */\nmodule.exports = {\n UNKNOWN: 0,\n TOPIC_CONFIG: 1,\n DYNAMIC_BROKER_CONFIG: 2,\n DYNAMIC_DEFAULT_BROKER_CONFIG: 3,\n STATIC_BROKER_CONFIG: 4,\n DEFAULT_CONFIG: 5,\n DYNAMIC_BROKER_LOGGER_CONFIG: 6,\n}\n","// From: https://kafka.apache.org/protocol.html#The_Messages_FindCoordinator\n\n/**\n * @typedef {number} CoordinatorType\n *\n * Enum for the types of coordinator to find.\n * @enum {CoordinatorType}\n */\nmodule.exports = {\n GROUP: 0,\n TRANSACTION: 1,\n}\n","// Based on https://github.com/brianloveswords/buffer-crc32/blob/master/index.js\n\nvar CRC_TABLE = new Int32Array([\n 0x00000000,\n 0x77073096,\n 0xee0e612c,\n 0x990951ba,\n 0x076dc419,\n 0x706af48f,\n 0xe963a535,\n 0x9e6495a3,\n 0x0edb8832,\n 0x79dcb8a4,\n 0xe0d5e91e,\n 0x97d2d988,\n 0x09b64c2b,\n 0x7eb17cbd,\n 0xe7b82d07,\n 0x90bf1d91,\n 0x1db71064,\n 0x6ab020f2,\n 0xf3b97148,\n 0x84be41de,\n 0x1adad47d,\n 0x6ddde4eb,\n 0xf4d4b551,\n 0x83d385c7,\n 0x136c9856,\n 0x646ba8c0,\n 0xfd62f97a,\n 0x8a65c9ec,\n 0x14015c4f,\n 0x63066cd9,\n 0xfa0f3d63,\n 0x8d080df5,\n 0x3b6e20c8,\n 0x4c69105e,\n 0xd56041e4,\n 0xa2677172,\n 0x3c03e4d1,\n 0x4b04d447,\n 0xd20d85fd,\n 0xa50ab56b,\n 0x35b5a8fa,\n 0x42b2986c,\n 0xdbbbc9d6,\n 0xacbcf940,\n 0x32d86ce3,\n 0x45df5c75,\n 0xdcd60dcf,\n 0xabd13d59,\n 0x26d930ac,\n 0x51de003a,\n 0xc8d75180,\n 0xbfd06116,\n 0x21b4f4b5,\n 0x56b3c423,\n 0xcfba9599,\n 0xb8bda50f,\n 0x2802b89e,\n 0x5f058808,\n 0xc60cd9b2,\n 0xb10be924,\n 0x2f6f7c87,\n 0x58684c11,\n 0xc1611dab,\n 0xb6662d3d,\n 0x76dc4190,\n 0x01db7106,\n 0x98d220bc,\n 0xefd5102a,\n 0x71b18589,\n 0x06b6b51f,\n 0x9fbfe4a5,\n 0xe8b8d433,\n 0x7807c9a2,\n 0x0f00f934,\n 0x9609a88e,\n 0xe10e9818,\n 0x7f6a0dbb,\n 0x086d3d2d,\n 0x91646c97,\n 0xe6635c01,\n 0x6b6b51f4,\n 0x1c6c6162,\n 0x856530d8,\n 0xf262004e,\n 0x6c0695ed,\n 0x1b01a57b,\n 0x8208f4c1,\n 0xf50fc457,\n 0x65b0d9c6,\n 0x12b7e950,\n 0x8bbeb8ea,\n 0xfcb9887c,\n 0x62dd1ddf,\n 0x15da2d49,\n 0x8cd37cf3,\n 0xfbd44c65,\n 0x4db26158,\n 0x3ab551ce,\n 0xa3bc0074,\n 0xd4bb30e2,\n 0x4adfa541,\n 0x3dd895d7,\n 0xa4d1c46d,\n 0xd3d6f4fb,\n 0x4369e96a,\n 0x346ed9fc,\n 0xad678846,\n 0xda60b8d0,\n 0x44042d73,\n 0x33031de5,\n 0xaa0a4c5f,\n 0xdd0d7cc9,\n 0x5005713c,\n 0x270241aa,\n 0xbe0b1010,\n 0xc90c2086,\n 0x5768b525,\n 0x206f85b3,\n 0xb966d409,\n 0xce61e49f,\n 0x5edef90e,\n 0x29d9c998,\n 0xb0d09822,\n 0xc7d7a8b4,\n 0x59b33d17,\n 0x2eb40d81,\n 0xb7bd5c3b,\n 0xc0ba6cad,\n 0xedb88320,\n 0x9abfb3b6,\n 0x03b6e20c,\n 0x74b1d29a,\n 0xead54739,\n 0x9dd277af,\n 0x04db2615,\n 0x73dc1683,\n 0xe3630b12,\n 0x94643b84,\n 0x0d6d6a3e,\n 0x7a6a5aa8,\n 0xe40ecf0b,\n 0x9309ff9d,\n 0x0a00ae27,\n 0x7d079eb1,\n 0xf00f9344,\n 0x8708a3d2,\n 0x1e01f268,\n 0x6906c2fe,\n 0xf762575d,\n 0x806567cb,\n 0x196c3671,\n 0x6e6b06e7,\n 0xfed41b76,\n 0x89d32be0,\n 0x10da7a5a,\n 0x67dd4acc,\n 0xf9b9df6f,\n 0x8ebeeff9,\n 0x17b7be43,\n 0x60b08ed5,\n 0xd6d6a3e8,\n 0xa1d1937e,\n 0x38d8c2c4,\n 0x4fdff252,\n 0xd1bb67f1,\n 0xa6bc5767,\n 0x3fb506dd,\n 0x48b2364b,\n 0xd80d2bda,\n 0xaf0a1b4c,\n 0x36034af6,\n 0x41047a60,\n 0xdf60efc3,\n 0xa867df55,\n 0x316e8eef,\n 0x4669be79,\n 0xcb61b38c,\n 0xbc66831a,\n 0x256fd2a0,\n 0x5268e236,\n 0xcc0c7795,\n 0xbb0b4703,\n 0x220216b9,\n 0x5505262f,\n 0xc5ba3bbe,\n 0xb2bd0b28,\n 0x2bb45a92,\n 0x5cb36a04,\n 0xc2d7ffa7,\n 0xb5d0cf31,\n 0x2cd99e8b,\n 0x5bdeae1d,\n 0x9b64c2b0,\n 0xec63f226,\n 0x756aa39c,\n 0x026d930a,\n 0x9c0906a9,\n 0xeb0e363f,\n 0x72076785,\n 0x05005713,\n 0x95bf4a82,\n 0xe2b87a14,\n 0x7bb12bae,\n 0x0cb61b38,\n 0x92d28e9b,\n 0xe5d5be0d,\n 0x7cdcefb7,\n 0x0bdbdf21,\n 0x86d3d2d4,\n 0xf1d4e242,\n 0x68ddb3f8,\n 0x1fda836e,\n 0x81be16cd,\n 0xf6b9265b,\n 0x6fb077e1,\n 0x18b74777,\n 0x88085ae6,\n 0xff0f6a70,\n 0x66063bca,\n 0x11010b5c,\n 0x8f659eff,\n 0xf862ae69,\n 0x616bffd3,\n 0x166ccf45,\n 0xa00ae278,\n 0xd70dd2ee,\n 0x4e048354,\n 0x3903b3c2,\n 0xa7672661,\n 0xd06016f7,\n 0x4969474d,\n 0x3e6e77db,\n 0xaed16a4a,\n 0xd9d65adc,\n 0x40df0b66,\n 0x37d83bf0,\n 0xa9bcae53,\n 0xdebb9ec5,\n 0x47b2cf7f,\n 0x30b5ffe9,\n 0xbdbdf21c,\n 0xcabac28a,\n 0x53b39330,\n 0x24b4a3a6,\n 0xbad03605,\n 0xcdd70693,\n 0x54de5729,\n 0x23d967bf,\n 0xb3667a2e,\n 0xc4614ab8,\n 0x5d681b02,\n 0x2a6f2b94,\n 0xb40bbe37,\n 0xc30c8ea1,\n 0x5a05df1b,\n 0x2d02ef8d,\n])\n\nmodule.exports = encoder => {\n const { buffer } = encoder\n const l = buffer.length\n let crc = -1\n for (let n = 0; n < l; n++) {\n crc = CRC_TABLE[(crc ^ buffer[n]) & 0xff] ^ (crc >>> 8)\n }\n return crc ^ -1\n}\n","const { KafkaJSInvalidVarIntError, KafkaJSInvalidLongError } = require('../errors')\nconst Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\n\nmodule.exports = class Decoder {\n static int32Size() {\n return INT32_SIZE\n }\n\n static decodeZigZag(value) {\n return (value >>> 1) ^ -(value & 1)\n }\n\n static decodeZigZag64(longValue) {\n return longValue.shiftRightUnsigned(1).xor(longValue.and(Long.fromInt(1)).negate())\n }\n\n constructor(buffer) {\n this.buffer = buffer\n this.offset = 0\n }\n\n readInt8() {\n const value = this.buffer.readInt8(this.offset)\n this.offset += INT8_SIZE\n return value\n }\n\n canReadInt16() {\n return this.canReadBytes(INT16_SIZE)\n }\n\n readInt16() {\n const value = this.buffer.readInt16BE(this.offset)\n this.offset += INT16_SIZE\n return value\n }\n\n canReadInt32() {\n return this.canReadBytes(INT32_SIZE)\n }\n\n readInt32() {\n const value = this.buffer.readInt32BE(this.offset)\n this.offset += INT32_SIZE\n return value\n }\n\n canReadInt64() {\n return this.canReadBytes(INT64_SIZE)\n }\n\n readInt64() {\n const first = this.buffer[this.offset]\n const last = this.buffer[this.offset + 7]\n\n const low =\n (first << 24) + // Overflow\n this.buffer[this.offset + 1] * 2 ** 16 +\n this.buffer[this.offset + 2] * 2 ** 8 +\n this.buffer[this.offset + 3]\n const high =\n this.buffer[this.offset + 4] * 2 ** 24 +\n this.buffer[this.offset + 5] * 2 ** 16 +\n this.buffer[this.offset + 6] * 2 ** 8 +\n last\n this.offset += INT64_SIZE\n\n return (BigInt(low) << 32n) + BigInt(high)\n }\n\n readDouble() {\n const value = this.buffer.readDoubleBE(this.offset)\n this.offset += DOUBLE_SIZE\n return value\n }\n\n readString() {\n const byteLength = this.readInt16()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readVarIntString() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n readUVarIntString() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n const value = stringBuffer.toString('utf8')\n this.offset += byteLength\n return value\n }\n\n canReadBytes(length) {\n return Buffer.byteLength(this.buffer) - this.offset >= length\n }\n\n readBytes(byteLength = this.readInt32()) {\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readVarIntBytes() {\n const byteLength = this.readVarInt()\n\n if (byteLength === -1) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readUVarIntBytes() {\n const byteLength = this.readUVarInt()\n\n if (byteLength === 0) {\n return null\n }\n\n const stringBuffer = this.buffer.slice(this.offset, this.offset + byteLength)\n this.offset += byteLength\n return stringBuffer\n }\n\n readBoolean() {\n return this.readInt8() === 1\n }\n\n readAll() {\n const result = this.buffer.slice(this.offset)\n this.offset += Buffer.byteLength(this.buffer)\n return result\n }\n\n readArray(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readVarIntArray(reader) {\n const length = this.readVarInt()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n readUVarIntArray(reader) {\n const length = this.readUVarInt()\n\n if (length === 0) {\n return []\n }\n\n const array = new Array(length - 1)\n for (let i = 0; i < length - 1; i++) {\n array[i] = reader(this)\n }\n\n return array\n }\n\n async readArrayAsync(reader) {\n const length = this.readInt32()\n\n if (length === -1) {\n return []\n }\n\n const array = new Array(length)\n for (let i = 0; i < length; i++) {\n array[i] = await reader(this)\n }\n\n return array\n }\n\n readVarInt() {\n let currentByte\n let result = 0\n let i = 0\n\n do {\n currentByte = this.buffer[this.offset++]\n result += (currentByte & OTHER_BITS) << i\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag(result)\n }\n\n // By default JavaScript's numbers are of type float64, performing bitwise operations converts the numbers to a signed 32-bit integer\n // Unsigned Right Shift Operator >>> ensures the returned value is an unsigned 32-bit integer\n readUVarInt() {\n let currentByte\n let result = 0\n let i = 0\n while (((currentByte = this.buffer[this.offset++]) & MOST_SIGNIFICANT_BIT) !== 0) {\n result |= (currentByte & OTHER_BITS) << i\n i += 7\n if (i > 28) {\n throw new KafkaJSInvalidVarIntError('Invalid VarInt, must contain 5 bytes or less')\n }\n }\n result |= currentByte << i\n return result >>> 0\n }\n\n readVarLong() {\n let currentByte\n let result = Long.fromInt(0)\n let i = 0\n\n do {\n if (i > 63) {\n throw new KafkaJSInvalidLongError('Invalid Long, must contain 9 bytes or less')\n }\n currentByte = this.buffer[this.offset++]\n result = result.add(Long.fromInt(currentByte & OTHER_BITS).shiftLeft(i))\n i += 7\n } while (currentByte >= MOST_SIGNIFICANT_BIT)\n\n return Decoder.decodeZigZag64(result)\n }\n\n slice(size) {\n return new Decoder(this.buffer.slice(this.offset, this.offset + size))\n }\n\n forward(size) {\n this.offset += size\n }\n}\n","const Long = require('../utils/long')\n\nconst INT8_SIZE = 1\nconst INT16_SIZE = 2\nconst INT32_SIZE = 4\nconst INT64_SIZE = 8\nconst DOUBLE_SIZE = 8\n\nconst MOST_SIGNIFICANT_BIT = 0x80 // 128\nconst OTHER_BITS = 0x7f // 127\nconst UNSIGNED_INT32_MAX_NUMBER = 0xffffff80\nconst UNSIGNED_INT64_MAX_NUMBER = 0xffffffffffffff80n\n\nmodule.exports = class Encoder {\n static encodeZigZag(value) {\n return (value << 1) ^ (value >> 31)\n }\n\n static encodeZigZag64(value) {\n const longValue = Long.fromValue(value)\n return longValue.shiftLeft(1).xor(longValue.shiftRight(63))\n }\n\n static sizeOfVarInt(value) {\n let encodedValue = this.encodeZigZag(value)\n let bytes = 1\n\n while ((encodedValue & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n bytes += 1\n encodedValue >>>= 7\n }\n\n return bytes\n }\n\n static sizeOfVarLong(value) {\n let longValue = Encoder.encodeZigZag64(value)\n let bytes = 1\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n bytes += 1\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n return bytes\n }\n\n static sizeOfVarIntBytes(value) {\n const size = value == null ? -1 : Buffer.byteLength(value)\n\n if (size < 0) {\n return Encoder.sizeOfVarInt(-1)\n }\n\n return Encoder.sizeOfVarInt(size) + size\n }\n\n static nextPowerOfTwo(value) {\n return 1 << (31 - Math.clz32(value) + 1)\n }\n\n /**\n * Construct a new encoder with the given initial size\n *\n * @param {number} [initialSize] initial size\n */\n constructor(initialSize = 511) {\n this.buf = Buffer.alloc(Encoder.nextPowerOfTwo(initialSize))\n this.offset = 0\n }\n\n /**\n * @param {Buffer} buffer\n */\n writeBufferInternal(buffer) {\n const bufferLength = buffer.length\n this.ensureAvailable(bufferLength)\n buffer.copy(this.buf, this.offset, 0)\n this.offset += bufferLength\n }\n\n ensureAvailable(length) {\n if (this.offset + length > this.buf.length) {\n const newLength = Encoder.nextPowerOfTwo(this.offset + length)\n const newBuffer = Buffer.alloc(newLength)\n this.buf.copy(newBuffer, 0, 0, this.offset)\n this.buf = newBuffer\n }\n }\n\n get buffer() {\n return this.buf.slice(0, this.offset)\n }\n\n writeInt8(value) {\n this.ensureAvailable(INT8_SIZE)\n this.buf.writeInt8(value, this.offset)\n this.offset += INT8_SIZE\n return this\n }\n\n writeInt16(value) {\n this.ensureAvailable(INT16_SIZE)\n this.buf.writeInt16BE(value, this.offset)\n this.offset += INT16_SIZE\n return this\n }\n\n writeInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeUInt32(value) {\n this.ensureAvailable(INT32_SIZE)\n this.buf.writeUInt32BE(value, this.offset)\n this.offset += INT32_SIZE\n return this\n }\n\n writeInt64(value) {\n this.ensureAvailable(INT64_SIZE)\n const longValue = Long.fromValue(value)\n this.buf.writeInt32BE(longValue.getHighBits(), this.offset)\n this.buf.writeInt32BE(longValue.getLowBits(), this.offset + INT32_SIZE)\n this.offset += INT64_SIZE\n return this\n }\n\n writeDouble(value) {\n this.ensureAvailable(DOUBLE_SIZE)\n this.buf.writeDoubleBE(value, this.offset)\n this.offset += DOUBLE_SIZE\n return this\n }\n\n writeBoolean(value) {\n value ? this.writeInt8(1) : this.writeInt8(0)\n return this\n }\n\n writeString(value) {\n if (value == null) {\n this.writeInt16(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.ensureAvailable(INT16_SIZE + byteLength)\n this.writeInt16(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeVarIntString(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeUVarIntString(value) {\n if (value == null) {\n this.writeUVarInt(0)\n return this\n }\n\n const byteLength = Buffer.byteLength(value, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(value, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n return this\n }\n\n writeBytes(value) {\n if (value == null) {\n this.writeInt32(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.ensureAvailable(INT32_SIZE + value.length)\n this.writeInt32(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.ensureAvailable(INT32_SIZE + byteLength)\n this.writeInt32(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(-1)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeVarInt(value.length)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeVarInt(byteLength)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeUVarIntBytes(value) {\n if (value == null) {\n this.writeVarInt(0)\n return this\n }\n\n if (Buffer.isBuffer(value)) {\n // raw bytes\n this.writeUVarInt(value.length + 1)\n this.writeBufferInternal(value)\n } else {\n const valueToWrite = String(value)\n const byteLength = Buffer.byteLength(valueToWrite, 'utf8')\n this.writeUVarInt(byteLength + 1)\n this.ensureAvailable(byteLength)\n this.buf.write(valueToWrite, this.offset, byteLength, 'utf8')\n this.offset += byteLength\n }\n\n return this\n }\n\n writeEncoder(value) {\n if (value == null || !Buffer.isBuffer(value.buf)) {\n throw new Error('value should be an instance of Encoder')\n }\n\n this.writeBufferInternal(value.buffer)\n return this\n }\n\n writeEncoderArray(value) {\n if (!Array.isArray(value) || value.some(v => v == null || !Buffer.isBuffer(v.buf))) {\n throw new Error('all values should be an instance of Encoder[]')\n }\n\n value.forEach(v => {\n this.writeBufferInternal(v.buffer)\n })\n return this\n }\n\n writeBuffer(value) {\n if (!Buffer.isBuffer(value)) {\n throw new Error('value should be an instance of Buffer')\n }\n\n this.writeBufferInternal(value)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n */\n writeNullableArray(array, type) {\n // A null value is encoded with length of -1 and there are no following bytes\n // On the context of this library, empty array and null are the same thing\n const length = array.length !== 0 ? array.length : -1\n this.writeArray(array, type, length)\n return this\n }\n\n /**\n * @param {any[]} array\n * @param {'int32'|'number'|'string'|'object'} [type]\n * @param {number} [length]\n */\n writeArray(array, type, length) {\n const arrayLength = length == null ? array.length : length\n this.writeInt32(arrayLength)\n if (type !== undefined) {\n switch (type) {\n case 'int32':\n case 'number':\n array.forEach(value => this.writeInt32(value))\n break\n case 'string':\n array.forEach(value => this.writeString(value))\n break\n case 'object':\n this.writeEncoderArray(array)\n break\n }\n } else {\n array.forEach(value => {\n switch (typeof value) {\n case 'number':\n this.writeInt32(value)\n break\n case 'string':\n this.writeString(value)\n break\n case 'object':\n this.writeEncoder(value)\n break\n }\n })\n }\n return this\n }\n\n writeVarIntArray(array, type) {\n if (type === 'object') {\n this.writeVarInt(array.length)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeVarInt(objectArray.length)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n writeUVarIntArray(array, type) {\n if (type === 'object') {\n this.writeUVarInt(array.length + 1)\n this.writeEncoderArray(array)\n } else {\n const objectArray = array.filter(v => typeof v === 'object')\n this.writeUVarInt(objectArray.length + 1)\n this.writeEncoderArray(objectArray)\n }\n return this\n }\n\n // Based on:\n // https://en.wikipedia.org/wiki/LEB128 Using LEB128 format similar to VLQ.\n // https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/util/Varint.java#L106\n writeVarInt(value) {\n return this.writeUVarInt(Encoder.encodeZigZag(value))\n }\n\n writeUVarInt(value) {\n const byteArray = []\n while ((value & UNSIGNED_INT32_MAX_NUMBER) !== 0) {\n byteArray.push((value & OTHER_BITS) | MOST_SIGNIFICANT_BIT)\n value >>>= 7\n }\n byteArray.push(value & OTHER_BITS)\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n writeVarLong(value) {\n const byteArray = []\n let longValue = Encoder.encodeZigZag64(value)\n\n while (longValue.and(UNSIGNED_INT64_MAX_NUMBER).notEquals(Long.fromInt(0))) {\n byteArray.push(\n longValue\n .and(OTHER_BITS)\n .or(MOST_SIGNIFICANT_BIT)\n .toInt()\n )\n longValue = longValue.shiftRightUnsigned(7)\n }\n\n byteArray.push(longValue.toInt())\n\n this.writeBufferInternal(Buffer.from(byteArray))\n return this\n }\n\n size() {\n // We can use the offset here directly, because we anyways will not re-encode the buffer when writing\n return this.offset\n }\n\n toJSON() {\n return this.buffer.toJSON()\n }\n}\n","const { KafkaJSProtocolError } = require('../errors')\nconst websiteUrl = require('../utils/websiteUrl')\n\nconst errorCodes = [\n {\n type: 'UNKNOWN',\n code: -1,\n retriable: false,\n message: 'The server experienced an unexpected error when processing the request',\n },\n {\n type: 'OFFSET_OUT_OF_RANGE',\n code: 1,\n retriable: false,\n message: 'The requested offset is not within the range of offsets maintained by the server',\n },\n {\n type: 'CORRUPT_MESSAGE',\n code: 2,\n retriable: true,\n message:\n 'This message has failed its CRC checksum, exceeds the valid size, or is otherwise corrupt',\n },\n {\n type: 'UNKNOWN_TOPIC_OR_PARTITION',\n code: 3,\n retriable: true,\n message: 'This server does not host this topic-partition',\n },\n {\n type: 'INVALID_FETCH_SIZE',\n code: 4,\n retriable: false,\n message: 'The requested fetch size is invalid',\n },\n {\n type: 'LEADER_NOT_AVAILABLE',\n code: 5,\n retriable: true,\n message:\n 'There is no leader for this topic-partition as we are in the middle of a leadership election',\n },\n {\n type: 'NOT_LEADER_FOR_PARTITION',\n code: 6,\n retriable: true,\n message: 'This server is not the leader for that topic-partition',\n },\n {\n type: 'REQUEST_TIMED_OUT',\n code: 7,\n retriable: true,\n message: 'The request timed out',\n },\n {\n type: 'BROKER_NOT_AVAILABLE',\n code: 8,\n retriable: false,\n message: 'The broker is not available',\n },\n {\n type: 'REPLICA_NOT_AVAILABLE',\n code: 9,\n retriable: false,\n message: 'The replica is not available for the requested topic-partition',\n },\n {\n type: 'MESSAGE_TOO_LARGE',\n code: 10,\n retriable: false,\n message:\n 'The request included a message larger than the max message size the server will accept',\n },\n {\n type: 'STALE_CONTROLLER_EPOCH',\n code: 11,\n retriable: false,\n message: 'The controller moved to another broker',\n },\n {\n type: 'OFFSET_METADATA_TOO_LARGE',\n code: 12,\n retriable: false,\n message: 'The metadata field of the offset request was too large',\n },\n {\n type: 'NETWORK_EXCEPTION',\n code: 13,\n retriable: true,\n message: 'The server disconnected before a response was received',\n },\n {\n type: 'GROUP_LOAD_IN_PROGRESS',\n code: 14,\n retriable: true,\n message: \"The coordinator is loading and hence can't process requests for this group\",\n },\n {\n type: 'GROUP_COORDINATOR_NOT_AVAILABLE',\n code: 15,\n retriable: true,\n message: 'The group coordinator is not available',\n },\n {\n type: 'NOT_COORDINATOR_FOR_GROUP',\n code: 16,\n retriable: true,\n message: 'This is not the correct coordinator for this group',\n },\n {\n type: 'INVALID_TOPIC_EXCEPTION',\n code: 17,\n retriable: false,\n message: 'The request attempted to perform an operation on an invalid topic',\n },\n {\n type: 'RECORD_LIST_TOO_LARGE',\n code: 18,\n retriable: false,\n message:\n 'The request included message batch larger than the configured segment size on the server',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS',\n code: 19,\n retriable: true,\n message: 'Messages are rejected since there are fewer in-sync replicas than required',\n },\n {\n type: 'NOT_ENOUGH_REPLICAS_AFTER_APPEND',\n code: 20,\n retriable: true,\n message: 'Messages are written to the log, but to fewer in-sync replicas than required',\n },\n {\n type: 'INVALID_REQUIRED_ACKS',\n code: 21,\n retriable: false,\n message: 'Produce request specified an invalid value for required acks',\n },\n {\n type: 'ILLEGAL_GENERATION',\n code: 22,\n retriable: false,\n message: 'Specified group generation id is not valid',\n },\n {\n type: 'INCONSISTENT_GROUP_PROTOCOL',\n code: 23,\n retriable: false,\n message:\n \"The group member's supported protocols are incompatible with those of existing members\",\n },\n {\n type: 'INVALID_GROUP_ID',\n code: 24,\n retriable: false,\n message: 'The configured groupId is invalid',\n },\n {\n type: 'UNKNOWN_MEMBER_ID',\n code: 25,\n retriable: false,\n message: 'The coordinator is not aware of this member',\n },\n {\n type: 'INVALID_SESSION_TIMEOUT',\n code: 26,\n retriable: false,\n message:\n 'The session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms)',\n },\n {\n type: 'REBALANCE_IN_PROGRESS',\n code: 27,\n retriable: false,\n message: 'The group is rebalancing, so a rejoin is needed',\n helpUrl: websiteUrl('docs/faq', 'what-does-it-mean-to-get-rebalance-in-progress-errors'),\n },\n {\n type: 'INVALID_COMMIT_OFFSET_SIZE',\n code: 28,\n retriable: false,\n message: 'The committing offset data size is not valid',\n },\n {\n type: 'TOPIC_AUTHORIZATION_FAILED',\n code: 29,\n retriable: false,\n message: 'Not authorized to access topics: [Topic authorization failed]',\n },\n {\n type: 'GROUP_AUTHORIZATION_FAILED',\n code: 30,\n retriable: false,\n message: 'Not authorized to access group: Group authorization failed',\n },\n {\n type: 'CLUSTER_AUTHORIZATION_FAILED',\n code: 31,\n retriable: false,\n message: 'Cluster authorization failed',\n },\n {\n type: 'INVALID_TIMESTAMP',\n code: 32,\n retriable: false,\n message: 'The timestamp of the message is out of acceptable range',\n },\n {\n type: 'UNSUPPORTED_SASL_MECHANISM',\n code: 33,\n retriable: false,\n message: 'The broker does not support the requested SASL mechanism',\n },\n {\n type: 'ILLEGAL_SASL_STATE',\n code: 34,\n retriable: false,\n message: 'Request is not valid given the current SASL state',\n },\n {\n type: 'UNSUPPORTED_VERSION',\n code: 35,\n retriable: false,\n message: 'The version of API is not supported',\n },\n {\n type: 'TOPIC_ALREADY_EXISTS',\n code: 36,\n retriable: false,\n message: 'Topic with this name already exists',\n },\n {\n type: 'INVALID_PARTITIONS',\n code: 37,\n retriable: false,\n message: 'Number of partitions is invalid',\n },\n {\n type: 'INVALID_REPLICATION_FACTOR',\n code: 38,\n retriable: false,\n message: 'Replication-factor is invalid',\n },\n {\n type: 'INVALID_REPLICA_ASSIGNMENT',\n code: 39,\n retriable: false,\n message: 'Replica assignment is invalid',\n },\n {\n type: 'INVALID_CONFIG',\n code: 40,\n retriable: false,\n message: 'Configuration is invalid',\n },\n {\n type: 'NOT_CONTROLLER',\n code: 41,\n retriable: true,\n message: 'This is not the correct controller for this cluster',\n },\n {\n type: 'INVALID_REQUEST',\n code: 42,\n retriable: false,\n message:\n 'This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details',\n },\n {\n type: 'UNSUPPORTED_FOR_MESSAGE_FORMAT',\n code: 43,\n retriable: false,\n message: 'The message format version on the broker does not support the request',\n },\n {\n type: 'POLICY_VIOLATION',\n code: 44,\n retriable: false,\n message: 'Request parameters do not satisfy the configured policy',\n },\n {\n type: 'OUT_OF_ORDER_SEQUENCE_NUMBER',\n code: 45,\n retriable: false,\n message: 'The broker received an out of order sequence number',\n },\n {\n type: 'DUPLICATE_SEQUENCE_NUMBER',\n code: 46,\n retriable: false,\n message: 'The broker received a duplicate sequence number',\n },\n {\n type: 'INVALID_PRODUCER_EPOCH',\n code: 47,\n retriable: false,\n message:\n \"Producer attempted an operation with an old epoch. Either there is a newer producer with the same transactionalId, or the producer's transaction has been expired by the broker\",\n },\n {\n type: 'INVALID_TXN_STATE',\n code: 48,\n retriable: false,\n message: 'The producer attempted a transactional operation in an invalid state',\n },\n {\n type: 'INVALID_PRODUCER_ID_MAPPING',\n code: 49,\n retriable: false,\n message:\n 'The producer attempted to use a producer id which is not currently assigned to its transactional id',\n },\n {\n type: 'INVALID_TRANSACTION_TIMEOUT',\n code: 50,\n retriable: false,\n message:\n 'The transaction timeout is larger than the maximum value allowed by the broker (as configured by max.transaction.timeout.ms)',\n },\n {\n type: 'CONCURRENT_TRANSACTIONS',\n code: 51,\n /**\n * The concurrent transactions error has \"retriable\" set to false on the protocol documentation (https://kafka.apache.org/protocol.html#protocol_error_codes)\n * but the server expects the clients to retry. PR #223\n * @see https://github.com/apache/kafka/blob/12f310d50e7f5b1c18c4f61a119a6cd830da3bc0/core/src/main/scala/kafka/coordinator/transaction/TransactionCoordinator.scala#L153\n */\n retriable: true,\n message:\n 'The producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing',\n },\n {\n type: 'TRANSACTION_COORDINATOR_FENCED',\n code: 52,\n retriable: false,\n message:\n 'Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer',\n },\n {\n type: 'TRANSACTIONAL_ID_AUTHORIZATION_FAILED',\n code: 53,\n retriable: false,\n message: 'Transactional Id authorization failed',\n },\n {\n type: 'SECURITY_DISABLED',\n code: 54,\n retriable: false,\n message: 'Security features are disabled',\n },\n {\n type: 'OPERATION_NOT_ATTEMPTED',\n code: 55,\n retriable: false,\n message:\n 'The broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest',\n },\n {\n type: 'KAFKA_STORAGE_ERROR',\n code: 56,\n retriable: true,\n message: 'Disk error when trying to access log file on the disk',\n },\n {\n type: 'LOG_DIR_NOT_FOUND',\n code: 57,\n retriable: false,\n message: 'The user-specified log directory is not found in the broker config',\n },\n {\n type: 'SASL_AUTHENTICATION_FAILED',\n code: 58,\n retriable: false,\n message: 'SASL Authentication failed',\n helpUrl: websiteUrl('docs/configuration', 'sasl'),\n },\n {\n type: 'UNKNOWN_PRODUCER_ID',\n code: 59,\n retriable: false,\n message:\n \"This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception\",\n },\n {\n type: 'REASSIGNMENT_IN_PROGRESS',\n code: 60,\n retriable: false,\n message: 'A partition reassignment is in progress',\n },\n {\n type: 'DELEGATION_TOKEN_AUTH_DISABLED',\n code: 61,\n retriable: false,\n message: 'Delegation Token feature is not enabled',\n },\n {\n type: 'DELEGATION_TOKEN_NOT_FOUND',\n code: 62,\n retriable: false,\n message: 'Delegation Token is not found on server',\n },\n {\n type: 'DELEGATION_TOKEN_OWNER_MISMATCH',\n code: 63,\n retriable: false,\n message: 'Specified Principal is not valid Owner/Renewer',\n },\n {\n type: 'DELEGATION_TOKEN_REQUEST_NOT_ALLOWED',\n code: 64,\n retriable: false,\n message:\n 'Delegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels',\n },\n {\n type: 'DELEGATION_TOKEN_AUTHORIZATION_FAILED',\n code: 65,\n retriable: false,\n message: 'Delegation Token authorization failed',\n },\n {\n type: 'DELEGATION_TOKEN_EXPIRED',\n code: 66,\n retriable: false,\n message: 'Delegation Token is expired',\n },\n {\n type: 'INVALID_PRINCIPAL_TYPE',\n code: 67,\n retriable: false,\n message: 'Supplied principalType is not supported',\n },\n {\n type: 'NON_EMPTY_GROUP',\n code: 68,\n retriable: false,\n message: 'The group is not empty',\n },\n {\n type: 'GROUP_ID_NOT_FOUND',\n code: 69,\n retriable: false,\n message: 'The group id was not found',\n },\n {\n type: 'FETCH_SESSION_ID_NOT_FOUND',\n code: 70,\n retriable: true,\n message: 'The fetch session ID was not found',\n },\n {\n type: 'INVALID_FETCH_SESSION_EPOCH',\n code: 71,\n retriable: true,\n message: 'The fetch session epoch is invalid',\n },\n {\n type: 'LISTENER_NOT_FOUND',\n code: 72,\n retriable: true,\n message:\n 'There is no listener on the leader broker that matches the listener on which metadata request was processed',\n },\n {\n type: 'TOPIC_DELETION_DISABLED',\n code: 73,\n retriable: false,\n message: 'Topic deletion is disabled',\n },\n {\n type: 'FENCED_LEADER_EPOCH',\n code: 74,\n retriable: true,\n message: 'The leader epoch in the request is older than the epoch on the broker',\n },\n {\n type: 'UNKNOWN_LEADER_EPOCH',\n code: 75,\n retriable: true,\n message: 'The leader epoch in the request is newer than the epoch on the broker',\n },\n {\n type: 'UNSUPPORTED_COMPRESSION_TYPE',\n code: 76,\n retriable: false,\n message: 'The requesting client does not support the compression type of given partition',\n },\n {\n type: 'STALE_BROKER_EPOCH',\n code: 77,\n retriable: false,\n message: 'Broker epoch has changed',\n },\n {\n type: 'OFFSET_NOT_AVAILABLE',\n code: 78,\n retriable: true,\n message:\n 'The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing',\n },\n {\n type: 'MEMBER_ID_REQUIRED',\n code: 79,\n retriable: false,\n message:\n 'The group member needs to have a valid member id before actually entering a consumer group',\n },\n {\n type: 'PREFERRED_LEADER_NOT_AVAILABLE',\n code: 80,\n retriable: true,\n message: 'The preferred leader was not available',\n },\n {\n type: 'GROUP_MAX_SIZE_REACHED',\n code: 81,\n retriable: false,\n message:\n 'The consumer group has reached its max size. It already has the configured maximum number of members',\n },\n {\n type: 'FENCED_INSTANCE_ID',\n code: 82,\n retriable: false,\n message:\n 'The broker rejected this static consumer since another consumer with the same group instance id has registered with a different member id',\n },\n {\n type: 'ELIGIBLE_LEADERS_NOT_AVAILABLE',\n code: 83,\n retriable: true,\n message: 'Eligible topic partition leaders are not available',\n },\n {\n type: 'ELECTION_NOT_NEEDED',\n code: 84,\n retriable: true,\n message: 'Leader election not needed for topic partition',\n },\n {\n type: 'NO_REASSIGNMENT_IN_PROGRESS',\n code: 85,\n retriable: false,\n message: 'No partition reassignment is in progress',\n },\n {\n type: 'GROUP_SUBSCRIBED_TO_TOPIC',\n code: 86,\n retriable: false,\n message:\n 'Deleting offsets of a topic is forbidden while the consumer group is actively subscribed to it',\n },\n {\n type: 'INVALID_RECORD',\n code: 87,\n retriable: false,\n message: 'This record has failed the validation on broker and hence be rejected',\n },\n {\n type: 'UNSTABLE_OFFSET_COMMIT',\n code: 88,\n retriable: true,\n message: 'There are unstable offsets that need to be cleared',\n },\n]\n\nconst unknownErrorCode = errorCode => ({\n type: 'KAFKAJS_UNKNOWN_ERROR_CODE',\n code: -99,\n retriable: false,\n message: `Unknown error code ${errorCode}`,\n})\n\nconst SUCCESS_CODE = 0\nconst UNSUPPORTED_VERSION_CODE = 35\n\nconst failure = code => code !== SUCCESS_CODE\nconst createErrorFromCode = code => {\n return new KafkaJSProtocolError(errorCodes.find(e => e.code === code) || unknownErrorCode(code))\n}\n\nconst failIfVersionNotSupported = code => {\n if (code === UNSUPPORTED_VERSION_CODE) {\n throw createErrorFromCode(UNSUPPORTED_VERSION_CODE)\n }\n}\n\nconst staleMetadata = e =>\n ['UNKNOWN_TOPIC_OR_PARTITION', 'LEADER_NOT_AVAILABLE', 'NOT_LEADER_FOR_PARTITION'].includes(\n e.type\n )\n\nmodule.exports = {\n failure,\n errorCodes,\n createErrorFromCode,\n failIfVersionNotSupported,\n staleMetadata,\n}\n","/**\n * Enum for isolation levels\n * @readonly\n * @enum {number}\n */\nmodule.exports = {\n // Makes all records visible\n READ_UNCOMMITTED: 0,\n\n // non-transactional and COMMITTED transactional records are visible. It returns all data\n // from offsets smaller than the current LSO (last stable offset), and enables the inclusion of\n // the list of aborted transactions in the result, which allows consumers to discard ABORTED\n // transactional records\n READ_COMMITTED: 1,\n}\n","const { promisify } = require('util')\nconst zlib = require('zlib')\n\nconst gzip = promisify(zlib.gzip)\nconst unzip = promisify(zlib.unzip)\n\nmodule.exports = {\n /**\n * @param {Encoder} encoder\n * @returns {Promise}\n */\n async compress(encoder) {\n return await gzip(encoder.buffer)\n },\n\n /**\n * @param {Buffer} buffer\n * @returns {Promise}\n */\n async decompress(buffer) {\n return await unzip(buffer)\n },\n}\n","const { KafkaJSNotImplemented } = require('../../../errors')\n\nconst COMPRESSION_CODEC_MASK = 0x07\n\nconst Types = {\n None: 0,\n GZIP: 1,\n Snappy: 2,\n LZ4: 3,\n ZSTD: 4,\n}\n\nconst Codecs = {\n [Types.GZIP]: () => require('./gzip'),\n [Types.Snappy]: () => {\n throw new KafkaJSNotImplemented('Snappy compression not implemented')\n },\n [Types.LZ4]: () => {\n throw new KafkaJSNotImplemented('LZ4 compression not implemented')\n },\n [Types.ZSTD]: () => {\n throw new KafkaJSNotImplemented('ZSTD compression not implemented')\n },\n}\n\nconst lookupCodec = type => (Codecs[type] ? Codecs[type]() : null)\nconst lookupCodecByAttributes = attributes => {\n const codec = Codecs[attributes & COMPRESSION_CODEC_MASK]\n return codec ? codec() : null\n}\n\nmodule.exports = {\n Types,\n Codecs,\n lookupCodec,\n lookupCodecByAttributes,\n COMPRESSION_CODEC_MASK,\n}\n","const {\n KafkaJSPartialMessageError,\n KafkaJSUnsupportedMagicByteInMessageSet,\n} = require('../../errors')\n\nconst V0Decoder = require('./v0/decoder')\nconst V1Decoder = require('./v1/decoder')\n\nconst decodeMessage = (decoder, magicByte) => {\n switch (magicByte) {\n case 0:\n return V0Decoder(decoder)\n case 1:\n return V1Decoder(decoder)\n default:\n throw new KafkaJSUnsupportedMagicByteInMessageSet(\n `Unsupported MessageSet message version, magic byte: ${magicByte}`\n )\n }\n}\n\nmodule.exports = (offset, size, decoder) => {\n // Don't decrement decoder.offset because slice is already considering the current\n // offset of the decoder\n const remainingBytes = Buffer.byteLength(decoder.slice(size).buffer)\n\n if (remainingBytes < size) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: remainingBytes(${remainingBytes}) < messageSize(${size})`\n )\n }\n\n const crc = decoder.readInt32()\n const magicByte = decoder.readInt8()\n const message = decodeMessage(decoder, magicByte)\n return Object.assign({ offset, size, crc, magicByte }, message)\n}\n","const versions = {\n 0: require('./v0'),\n 1: require('./v1'),\n}\n\nmodule.exports = ({ version = 0 }) => versions[version]\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v0\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, key, value }) => {\n const content = new Encoder()\n .writeInt8(0) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","module.exports = decoder => ({\n attributes: decoder.readInt8(),\n timestamp: decoder.readInt64().toString(),\n key: decoder.readBytes(),\n value: decoder.readBytes(),\n})\n","const Encoder = require('../../encoder')\nconst crc32 = require('../../crc32')\nconst { Types: Compression, COMPRESSION_CODEC_MASK } = require('../compression')\n\n/**\n * v1 (supported since 0.10.0)\n * Message => Crc MagicByte Attributes Key Value\n * Crc => int32\n * MagicByte => int8\n * Attributes => int8\n * Timestamp => int64\n * Key => bytes\n * Value => bytes\n */\n\nmodule.exports = ({ compression = Compression.None, timestamp = Date.now(), key, value }) => {\n const content = new Encoder()\n .writeInt8(1) // magicByte\n .writeInt8(compression & COMPRESSION_CODEC_MASK)\n .writeInt64(timestamp)\n .writeBytes(key)\n .writeBytes(value)\n\n const crc = crc32(content)\n return new Encoder().writeInt32(crc).writeEncoder(content)\n}\n","const Long = require('../../utils/long')\nconst Decoder = require('../decoder')\nconst MessageDecoder = require('../message/decoder')\nconst { lookupCodecByAttributes } = require('../message/compression')\nconst { KafkaJSPartialMessageError } = require('../../errors')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\nmodule.exports = async (primaryDecoder, size = null) => {\n const messages = []\n const messageSetSize = size || primaryDecoder.readInt32()\n const messageSetDecoder = primaryDecoder.slice(messageSetSize)\n\n while (messageSetDecoder.offset < messageSetSize) {\n try {\n const message = EntryDecoder(messageSetDecoder)\n const codec = lookupCodecByAttributes(message.attributes)\n\n if (codec) {\n const buffer = await codec.decompress(message.value)\n messages.push(...EntriesDecoder(new Decoder(buffer), message))\n } else {\n messages.push(message)\n }\n } catch (e) {\n if (e.name === 'KafkaJSPartialMessageError') {\n // We tried to decode a partial message, it means that minBytes\n // is probably too low\n break\n }\n\n if (e.name === 'KafkaJSUnsupportedMagicByteInMessageSet') {\n // Received a MessageSet and a RecordBatch on the same response, the cluster is probably\n // upgrading the message format from 0.10 to 0.11. Stop processing this message set to\n // receive the full record batch on the next request\n break\n }\n\n throw e\n }\n }\n\n primaryDecoder.forward(messageSetSize)\n return messages\n}\n\nconst EntriesDecoder = (decoder, compressedMessage) => {\n const messages = []\n\n while (decoder.offset < decoder.buffer.length) {\n messages.push(EntryDecoder(decoder))\n }\n\n if (compressedMessage.magicByte > 0 && compressedMessage.offset >= 0) {\n const compressedOffset = Long.fromValue(compressedMessage.offset)\n const lastMessageOffset = Long.fromValue(messages[messages.length - 1].offset)\n const baseOffset = compressedOffset - lastMessageOffset\n\n for (const message of messages) {\n message.offset = Long.fromValue(message.offset)\n .add(baseOffset)\n .toString()\n }\n }\n\n return messages\n}\n\nconst EntryDecoder = decoder => {\n if (!decoder.canReadInt64()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the offset`\n )\n }\n\n const offset = decoder.readInt64().toString()\n\n if (!decoder.canReadInt32()) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial message: There isn't enough bytes to read the message size`\n )\n }\n\n const size = decoder.readInt32()\n return MessageDecoder(offset, size, decoder)\n}\n","const Encoder = require('../encoder')\nconst MessageProtocol = require('../message')\nconst { Types } = require('../message/compression')\n\n/**\n * MessageSet => [Offset MessageSize Message]\n * Offset => int64\n * MessageSize => int32\n * Message => Bytes\n */\n\n/**\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n */\nmodule.exports = ({ messageVersion = 0, compression, entries }) => {\n const isCompressed = compression !== Types.None\n const Message = MessageProtocol({ version: messageVersion })\n const encoder = new Encoder()\n\n // Messages in a message set are __not__ encoded as an array.\n // They are written in sequence.\n // https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-Messagesets\n\n entries.forEach((entry, i) => {\n const message = Message(entry)\n\n // This is the offset used in kafka as the log sequence number.\n // When the producer is sending non compressed messages, it can set the offsets to anything\n // When the producer is sending compressed messages, to avoid server side recompression, each compressed message\n // should have offset starting from 0 and increasing by one for each inner message in the compressed message\n encoder.writeInt64(isCompressed ? i : -1)\n encoder.writeInt32(message.size())\n\n encoder.writeEncoder(message)\n })\n\n return encoder\n}\n","/**\n * A javascript implementation of the CRC32 checksum that uses\n * the CRC32-C polynomial, the same polynomial used by iSCSI\n *\n * also known as CRC32 Castagnoli\n * based on: https://github.com/ashi009/node-fast-crc32c/blob/master/impls/js_crc32c.js\n */\nconst crc32C = buffer => {\n let crc = 0 ^ -1\n for (let i = 0; i < buffer.length; i++) {\n crc = T[(crc ^ buffer[i]) & 0xff] ^ (crc >>> 8)\n }\n\n return (crc ^ -1) >>> 0\n}\n\nmodule.exports = crc32C\n\n// prettier-ignore\nvar T = new Int32Array([\n 0x00000000, 0xf26b8303, 0xe13b70f7, 0x1350f3f4,\n 0xc79a971f, 0x35f1141c, 0x26a1e7e8, 0xd4ca64eb,\n 0x8ad958cf, 0x78b2dbcc, 0x6be22838, 0x9989ab3b,\n 0x4d43cfd0, 0xbf284cd3, 0xac78bf27, 0x5e133c24,\n 0x105ec76f, 0xe235446c, 0xf165b798, 0x030e349b,\n 0xd7c45070, 0x25afd373, 0x36ff2087, 0xc494a384,\n 0x9a879fa0, 0x68ec1ca3, 0x7bbcef57, 0x89d76c54,\n 0x5d1d08bf, 0xaf768bbc, 0xbc267848, 0x4e4dfb4b,\n 0x20bd8ede, 0xd2d60ddd, 0xc186fe29, 0x33ed7d2a,\n 0xe72719c1, 0x154c9ac2, 0x061c6936, 0xf477ea35,\n 0xaa64d611, 0x580f5512, 0x4b5fa6e6, 0xb93425e5,\n 0x6dfe410e, 0x9f95c20d, 0x8cc531f9, 0x7eaeb2fa,\n 0x30e349b1, 0xc288cab2, 0xd1d83946, 0x23b3ba45,\n 0xf779deae, 0x05125dad, 0x1642ae59, 0xe4292d5a,\n 0xba3a117e, 0x4851927d, 0x5b016189, 0xa96ae28a,\n 0x7da08661, 0x8fcb0562, 0x9c9bf696, 0x6ef07595,\n 0x417b1dbc, 0xb3109ebf, 0xa0406d4b, 0x522bee48,\n 0x86e18aa3, 0x748a09a0, 0x67dafa54, 0x95b17957,\n 0xcba24573, 0x39c9c670, 0x2a993584, 0xd8f2b687,\n 0x0c38d26c, 0xfe53516f, 0xed03a29b, 0x1f682198,\n 0x5125dad3, 0xa34e59d0, 0xb01eaa24, 0x42752927,\n 0x96bf4dcc, 0x64d4cecf, 0x77843d3b, 0x85efbe38,\n 0xdbfc821c, 0x2997011f, 0x3ac7f2eb, 0xc8ac71e8,\n 0x1c661503, 0xee0d9600, 0xfd5d65f4, 0x0f36e6f7,\n 0x61c69362, 0x93ad1061, 0x80fde395, 0x72966096,\n 0xa65c047d, 0x5437877e, 0x4767748a, 0xb50cf789,\n 0xeb1fcbad, 0x197448ae, 0x0a24bb5a, 0xf84f3859,\n 0x2c855cb2, 0xdeeedfb1, 0xcdbe2c45, 0x3fd5af46,\n 0x7198540d, 0x83f3d70e, 0x90a324fa, 0x62c8a7f9,\n 0xb602c312, 0x44694011, 0x5739b3e5, 0xa55230e6,\n 0xfb410cc2, 0x092a8fc1, 0x1a7a7c35, 0xe811ff36,\n 0x3cdb9bdd, 0xceb018de, 0xdde0eb2a, 0x2f8b6829,\n 0x82f63b78, 0x709db87b, 0x63cd4b8f, 0x91a6c88c,\n 0x456cac67, 0xb7072f64, 0xa457dc90, 0x563c5f93,\n 0x082f63b7, 0xfa44e0b4, 0xe9141340, 0x1b7f9043,\n 0xcfb5f4a8, 0x3dde77ab, 0x2e8e845f, 0xdce5075c,\n 0x92a8fc17, 0x60c37f14, 0x73938ce0, 0x81f80fe3,\n 0x55326b08, 0xa759e80b, 0xb4091bff, 0x466298fc,\n 0x1871a4d8, 0xea1a27db, 0xf94ad42f, 0x0b21572c,\n 0xdfeb33c7, 0x2d80b0c4, 0x3ed04330, 0xccbbc033,\n 0xa24bb5a6, 0x502036a5, 0x4370c551, 0xb11b4652,\n 0x65d122b9, 0x97baa1ba, 0x84ea524e, 0x7681d14d,\n 0x2892ed69, 0xdaf96e6a, 0xc9a99d9e, 0x3bc21e9d,\n 0xef087a76, 0x1d63f975, 0x0e330a81, 0xfc588982,\n 0xb21572c9, 0x407ef1ca, 0x532e023e, 0xa145813d,\n 0x758fe5d6, 0x87e466d5, 0x94b49521, 0x66df1622,\n 0x38cc2a06, 0xcaa7a905, 0xd9f75af1, 0x2b9cd9f2,\n 0xff56bd19, 0x0d3d3e1a, 0x1e6dcdee, 0xec064eed,\n 0xc38d26c4, 0x31e6a5c7, 0x22b65633, 0xd0ddd530,\n 0x0417b1db, 0xf67c32d8, 0xe52cc12c, 0x1747422f,\n 0x49547e0b, 0xbb3ffd08, 0xa86f0efc, 0x5a048dff,\n 0x8ecee914, 0x7ca56a17, 0x6ff599e3, 0x9d9e1ae0,\n 0xd3d3e1ab, 0x21b862a8, 0x32e8915c, 0xc083125f,\n 0x144976b4, 0xe622f5b7, 0xf5720643, 0x07198540,\n 0x590ab964, 0xab613a67, 0xb831c993, 0x4a5a4a90,\n 0x9e902e7b, 0x6cfbad78, 0x7fab5e8c, 0x8dc0dd8f,\n 0xe330a81a, 0x115b2b19, 0x020bd8ed, 0xf0605bee,\n 0x24aa3f05, 0xd6c1bc06, 0xc5914ff2, 0x37faccf1,\n 0x69e9f0d5, 0x9b8273d6, 0x88d28022, 0x7ab90321,\n 0xae7367ca, 0x5c18e4c9, 0x4f48173d, 0xbd23943e,\n 0xf36e6f75, 0x0105ec76, 0x12551f82, 0xe03e9c81,\n 0x34f4f86a, 0xc69f7b69, 0xd5cf889d, 0x27a40b9e,\n 0x79b737ba, 0x8bdcb4b9, 0x988c474d, 0x6ae7c44e,\n 0xbe2da0a5, 0x4c4623a6, 0x5f16d052, 0xad7d5351\n]);\n","const crc32C = require('./crc32C')\nconst unsigned = value => Uint32Array.from([value])[0]\n\nmodule.exports = buffer => unsigned(crc32C(buffer))\n","module.exports = decoder => ({\n key: decoder.readVarIntString(),\n value: decoder.readVarIntBytes(),\n})\n","const Encoder = require('../../../encoder')\n\n/**\n * v0\n * Header => Key Value\n * Key => varInt|string\n * Value => varInt|bytes\n */\n\nmodule.exports = ({ key, value }) => {\n return new Encoder().writeVarIntString(key).writeVarIntBytes(value)\n}\n","const Long = require('../../../../utils/long')\nconst HeaderDecoder = require('../../header/v0/decoder')\nconst TimestampTypes = require('../../../timestampTypes')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\nmodule.exports = (decoder, batchContext = {}) => {\n const {\n firstOffset,\n firstTimestamp,\n magicByte,\n isControlBatch = false,\n timestampType,\n maxTimestamp,\n } = batchContext\n const attributes = decoder.readInt8()\n\n const timestampDelta = decoder.readVarLong()\n const timestamp =\n timestampType === TimestampTypes.LOG_APPEND_TIME && maxTimestamp\n ? maxTimestamp\n : Long.fromValue(firstTimestamp)\n .add(timestampDelta)\n .toString()\n\n const offsetDelta = decoder.readVarInt()\n const offset = Long.fromValue(firstOffset)\n .add(offsetDelta)\n .toString()\n\n const key = decoder.readVarIntBytes()\n const value = decoder.readVarIntBytes()\n const headers = decoder\n .readVarIntArray(HeaderDecoder)\n .reduce((obj, { key, value }) => ({ ...obj, [key]: value }), {})\n\n return {\n magicByte,\n attributes, // Record level attributes are presently unused\n timestamp,\n offset,\n key,\n value,\n headers,\n isControlRecord: isControlBatch,\n batchContext,\n }\n}\n","const Encoder = require('../../../encoder')\nconst Header = require('../../header/v0')\n\n/**\n * v0\n * Record =>\n * Length => Varint\n * Attributes => Int8\n * TimestampDelta => Varlong\n * OffsetDelta => Varint\n * Key => varInt|Bytes\n * Value => varInt|Bytes\n * Headers => [HeaderKey HeaderValue]\n * HeaderKey => VarInt|String\n * HeaderValue => VarInt|Bytes\n */\n\n/**\n * @param [offsetDelta=0] {Integer}\n * @param [timestampDelta=0] {Long}\n * @param key {Buffer}\n * @param value {Buffer}\n * @param [headers={}] {Object}\n */\nmodule.exports = ({ offsetDelta = 0, timestampDelta = 0, key, value, headers = {} }) => {\n const headersArray = Object.keys(headers).map(headerKey => ({\n key: headerKey,\n value: headers[headerKey],\n }))\n\n const sizeOfBody =\n 1 + // always one byte for attributes\n Encoder.sizeOfVarLong(timestampDelta) +\n Encoder.sizeOfVarInt(offsetDelta) +\n Encoder.sizeOfVarIntBytes(key) +\n Encoder.sizeOfVarIntBytes(value) +\n sizeOfHeaders(headersArray)\n\n return new Encoder()\n .writeVarInt(sizeOfBody)\n .writeInt8(0) // no used record attributes at the moment\n .writeVarLong(timestampDelta)\n .writeVarInt(offsetDelta)\n .writeVarIntBytes(key)\n .writeVarIntBytes(value)\n .writeVarIntArray(headersArray.map(Header))\n}\n\nconst sizeOfHeaders = headersArray => {\n let size = Encoder.sizeOfVarInt(headersArray.length)\n\n for (const header of headersArray) {\n const keySize = Buffer.byteLength(header.key)\n const valueSize = Buffer.byteLength(header.value)\n\n size += Encoder.sizeOfVarInt(keySize) + keySize\n\n if (header.value === null) {\n size += Encoder.sizeOfVarInt(-1)\n } else {\n size += Encoder.sizeOfVarInt(valueSize) + valueSize\n }\n }\n\n return size\n}\n","const Decoder = require('../../decoder')\nconst { KafkaJSPartialMessageError } = require('../../../errors')\nconst { lookupCodecByAttributes } = require('../../message/compression')\nconst RecordDecoder = require('../record/v0/decoder')\nconst TimestampTypes = require('../../timestampTypes')\n\nconst TIMESTAMP_TYPE_FLAG_MASK = 0x8\nconst TRANSACTIONAL_FLAG_MASK = 0x10\nconst CONTROL_FLAG_MASK = 0x20\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nmodule.exports = async fetchDecoder => {\n const firstOffset = fetchDecoder.readInt64().toString()\n const length = fetchDecoder.readInt32()\n const decoder = fetchDecoder.slice(length)\n fetchDecoder.forward(length)\n\n const remainingBytes = Buffer.byteLength(decoder.buffer)\n\n if (remainingBytes < length) {\n throw new KafkaJSPartialMessageError(\n `Tried to decode a partial record batch: remainingBytes(${remainingBytes}) < recordBatchLength(${length})`\n )\n }\n\n const partitionLeaderEpoch = decoder.readInt32()\n\n // The magic byte was read by the Fetch protocol to distinguish between\n // the record batch and the legacy message set. It's not used here but\n // it has to be read.\n const magicByte = decoder.readInt8() // eslint-disable-line no-unused-vars\n\n // The library is currently not performing CRC validations\n const crc = decoder.readInt32() // eslint-disable-line no-unused-vars\n\n const attributes = decoder.readInt16()\n const lastOffsetDelta = decoder.readInt32()\n const firstTimestamp = decoder.readInt64().toString()\n const maxTimestamp = decoder.readInt64().toString()\n const producerId = decoder.readInt64().toString()\n const producerEpoch = decoder.readInt16()\n const firstSequence = decoder.readInt32()\n\n const inTransaction = (attributes & TRANSACTIONAL_FLAG_MASK) > 0\n const isControlBatch = (attributes & CONTROL_FLAG_MASK) > 0\n const timestampType =\n (attributes & TIMESTAMP_TYPE_FLAG_MASK) > 0\n ? TimestampTypes.LOG_APPEND_TIME\n : TimestampTypes.CREATE_TIME\n\n const codec = lookupCodecByAttributes(attributes)\n\n const recordContext = {\n firstOffset,\n firstTimestamp,\n partitionLeaderEpoch,\n inTransaction,\n isControlBatch,\n lastOffsetDelta,\n producerId,\n producerEpoch,\n firstSequence,\n maxTimestamp,\n timestampType,\n }\n\n const records = await decodeRecords(codec, decoder, { ...recordContext, magicByte })\n\n return {\n ...recordContext,\n records,\n }\n}\n\nconst decodeRecords = async (codec, recordsDecoder, recordContext) => {\n if (!codec) {\n return recordsDecoder.readArray(decoder => decodeRecord(decoder, recordContext))\n }\n\n const length = recordsDecoder.readInt32()\n\n if (length <= 0) {\n return []\n }\n\n const compressedRecordsBuffer = recordsDecoder.readAll()\n const decompressedRecordBuffer = await codec.decompress(compressedRecordsBuffer)\n const decompressedRecordDecoder = new Decoder(decompressedRecordBuffer)\n const records = new Array(length)\n\n for (let i = 0; i < length; i++) {\n records[i] = decodeRecord(decompressedRecordDecoder, recordContext)\n }\n\n return records\n}\n\nconst decodeRecord = (decoder, recordContext) => {\n const recordBuffer = decoder.readVarIntBytes()\n return RecordDecoder(new Decoder(recordBuffer), recordContext)\n}\n","const Long = require('../../../utils/long')\nconst Encoder = require('../../encoder')\nconst crc32C = require('../crc32C')\nconst {\n Types: Compression,\n lookupCodec,\n COMPRESSION_CODEC_MASK,\n} = require('../../message/compression')\n\nconst MAGIC_BYTE = 2\nconst TIMESTAMP_MASK = 0 // The fourth lowest bit, always set this bit to 0 (since 0.10.0)\nconst TRANSACTIONAL_MASK = 16 // The fifth lowest bit\n\n/**\n * v0\n * RecordBatch =>\n * FirstOffset => int64\n * Length => int32\n * PartitionLeaderEpoch => int32\n * Magic => int8\n * CRC => int32\n * Attributes => int16\n * LastOffsetDelta => int32\n * FirstTimestamp => int64\n * MaxTimestamp => int64\n * ProducerId => int64\n * ProducerEpoch => int16\n * FirstSequence => int32\n * Records => [Record]\n */\n\nconst RecordBatch = async ({\n compression = Compression.None,\n firstOffset = Long.fromInt(0),\n firstTimestamp = Date.now(),\n maxTimestamp = Date.now(),\n partitionLeaderEpoch = 0,\n lastOffsetDelta = 0,\n transactional = false,\n producerId = Long.fromValue(-1), // for idempotent messages\n producerEpoch = 0, // for idempotent messages\n firstSequence = 0, // for idempotent messages\n records = [],\n}) => {\n const COMPRESSION_CODEC = compression & COMPRESSION_CODEC_MASK\n const IN_TRANSACTION = transactional ? TRANSACTIONAL_MASK : 0\n const attributes = COMPRESSION_CODEC | TIMESTAMP_MASK | IN_TRANSACTION\n\n const batchBody = new Encoder()\n .writeInt16(attributes)\n .writeInt32(lastOffsetDelta)\n .writeInt64(firstTimestamp)\n .writeInt64(maxTimestamp)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeInt32(firstSequence)\n\n if (compression === Compression.None) {\n if (records.every(v => typeof v === typeof records[0])) {\n batchBody.writeArray(records, typeof records[0])\n } else {\n batchBody.writeArray(records)\n }\n } else {\n const compressedRecords = await compressRecords(compression, records)\n batchBody.writeInt32(records.length).writeBuffer(compressedRecords)\n }\n\n // CRC32C validation is happening here:\n // https://github.com/apache/kafka/blob/0.11.0.1/clients/src/main/java/org/apache/kafka/common/record/DefaultRecordBatch.java#L148\n\n const batch = new Encoder()\n .writeInt32(partitionLeaderEpoch)\n .writeInt8(MAGIC_BYTE)\n .writeUInt32(crc32C(batchBody.buffer))\n .writeEncoder(batchBody)\n\n return new Encoder().writeInt64(firstOffset).writeBytes(batch.buffer)\n}\n\nconst compressRecords = async (compression, records) => {\n const codec = lookupCodec(compression)\n const recordsEncoder = new Encoder()\n\n recordsEncoder.writeEncoderArray(records)\n\n return codec.compress(recordsEncoder)\n}\n\nmodule.exports = {\n RecordBatch,\n MAGIC_BYTE,\n}\n","const Encoder = require('./encoder')\n\nmodule.exports = async ({ correlationId, clientId, request: { apiKey, apiVersion, encode } }) => {\n const payload = await encode()\n const requestPayload = new Encoder()\n .writeInt16(apiKey)\n .writeInt16(apiVersion)\n .writeInt32(correlationId)\n .writeString(clientId)\n .writeEncoder(payload)\n\n return new Encoder().writeInt32(requestPayload.size()).writeEncoder(requestPayload)\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, groupId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, groupId }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddOffsetsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddOffsetsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddOffsetsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * AddOffsetsToTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddOffsetsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch group_id\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * group_id => STRING\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, groupId }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n groupId,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddOffsetsToTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n 1: ({ transactionalId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, producerId, producerEpoch, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AddPartitionsToTxn: apiKey } = require('../../apiKeys')\n\n/**\n * AddPartitionsToTxn Request (Version: 0) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AddPartitionsToTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = partition => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AddPartitionsToTxn Response (Version: 0) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errors = await decoder.readArrayAsync(decodeError)\n\n return {\n throttleTime,\n errors,\n }\n}\n\nconst decodeError = async decoder => ({\n topic: decoder.readString(),\n partitionErrors: await decoder.readArrayAsync(decodePartitionError),\n})\n\nconst decodePartitionError = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.errors\n .map(({ partitionErrors }) => ({\n partitionsWithErrors: partitionErrors.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AddPartitionsToTxn Request (Version: 1) => transactional_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, topics }) =>\n Object.assign(\n requestV0({\n transactionalId,\n producerId,\n producerEpoch,\n topics,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AddPartitionsToTxn Response (Version: 1) => throttle_time_ms [errors]\n * throttle_time_ms => INT32\n * errors => topic [partition_errors]\n * topic => STRING\n * partition_errors => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources, validateOnly }), response }\n },\n 1: ({ resources, validateOnly }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, validateOnly }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { AlterConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * AlterConfigs Request (Version: 0) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly = false }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'AlterConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(validateOnly)\n },\n})\n\nconst encodeResource = ({ type, name, configEntries }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * AlterConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * AlterConfigs Request (Version: 1) => [resources] validate_only\n * resources => resource_type resource_name [config_entries]\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * validate_only => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of resources to change\n * @param {boolean} [validateOnly=false]\n */\nmodule.exports = ({ resources, validateOnly }) =>\n Object.assign(\n requestV0({\n resources,\n validateOnly,\n }),\n { apiVersion: 1 }\n )\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * AlterConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","module.exports = {\n Produce: 0,\n Fetch: 1,\n ListOffsets: 2,\n Metadata: 3,\n LeaderAndIsr: 4,\n StopReplica: 5,\n UpdateMetadata: 6,\n ControlledShutdown: 7,\n OffsetCommit: 8,\n OffsetFetch: 9,\n GroupCoordinator: 10,\n JoinGroup: 11,\n Heartbeat: 12,\n LeaveGroup: 13,\n SyncGroup: 14,\n DescribeGroups: 15,\n ListGroups: 16,\n SaslHandshake: 17,\n ApiVersions: 18, // ApiVersions v0 on Kafka 0.10\n CreateTopics: 19,\n DeleteTopics: 20,\n DeleteRecords: 21,\n InitProducerId: 22,\n OffsetForLeaderEpoch: 23,\n AddPartitionsToTxn: 24,\n AddOffsetsToTxn: 25,\n EndTxn: 26,\n WriteTxnMarkers: 27,\n TxnOffsetCommit: 28,\n DescribeAcls: 29,\n CreateAcls: 30,\n DeleteAcls: 31,\n DescribeConfigs: 32,\n AlterConfigs: 33, // ApiVersions v0 and v1 on Kafka 0.11\n AlterReplicaLogDirs: 34,\n DescribeLogDirs: 35,\n SaslAuthenticate: 36,\n CreatePartitions: 37,\n CreateDelegationToken: 38,\n RenewDelegationToken: 39,\n ExpireDelegationToken: 40,\n DescribeDelegationToken: 41,\n DeleteGroups: 42, // ApiVersions v2 on Kafka 1.0\n ElectPreferredLeaders: 43,\n}\n","const logResponseError = false\n\nconst versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response, logResponseError: true }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response, logResponseError }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response, logResponseError }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ApiVersions: apiKey } = require('../../apiKeys')\n\n/**\n * ApiVersionRequest => ApiKeys\n */\n\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ApiVersions',\n encode: async () => new Encoder(),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * ApiVersionResponse => ApiVersions\n * ErrorCode = INT16\n * ApiVersions = [ApiVersion]\n * ApiVersion = ApiKey MinVersion MaxVersion\n * ApiKey = INT16\n * MinVersion = INT16\n * MaxVersion = INT16\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n apiVersions: decoder.readArray(apiVersion),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * ApiVersions Response (Version: 1) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst apiVersion = decoder => ({\n apiKey: decoder.readInt16(),\n minVersion: decoder.readInt16(),\n maxVersion: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const apiVersions = decoder.readArray(apiVersion)\n\n /**\n * The Java client defaults this value to 0 if not present,\n * even though it is required in the protocol. This is to\n * work around https://github.com/tulios/kafkajs/issues/491\n *\n * See:\n * https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/protocol/CommonFields.java#L23-L25\n */\n const throttleTime = decoder.canReadInt32() ? decoder.readInt32() : 0\n\n return {\n errorCode,\n apiVersions,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV0 = require('../v0/request')\n\n// ApiVersions Request after v1 indicates the client can parse throttle_time_ms\n\nmodule.exports = () => ({ ...requestV0(), apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ApiVersions Response (Version: 2) => error_code [api_versions] throttle_time_ms\n * error_code => INT16\n * api_versions => api_key min_version max_version\n * api_key => INT16\n * min_version => INT16\n * max_version => INT16\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ creations }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ creations }), response }\n },\n 1: ({ creations }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ creations }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 0) => [creations]\n * creations => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * CreateAcls Response (Version: 0) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decodeCreationResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const creationResponses = decoder.readArray(decodeCreationResponse)\n\n return {\n throttleTime,\n creationResponses,\n }\n}\n\nconst parse = async data => {\n const creationResponsesWithError = data.creationResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (creationResponsesWithError.length > 0) {\n throw createErrorFromCode(creationResponsesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateAcls: apiKey } = require('../../apiKeys')\n\n/**\n * CreateAcls Request (Version: 1) => [creations]\n * creations => resource_type resource_name resource_pattern_type principal host operation permission_type\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeCreations = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ creations }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateAcls',\n encode: async () => {\n return new Encoder().writeArray(creations.map(encodeCreations))\n },\n})\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateAcls Response (Version: 1) => throttle_time_ms [creation_responses]\n * throttle_time_ms => INT32\n * creation_responses => error_code error_message\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topicPartitions, timeout, validateOnly }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topicPartitions, timeout, validateOnly }), response }\n },\n 1: ({ topicPartitions, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topicPartitions, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreatePartitions: apiKey } = require('../../apiKeys')\n\n/**\n * CreatePartitions Request (Version: 0) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreatePartitions',\n encode: async () => {\n return new Encoder()\n .writeArray(topicPartitions.map(encodeTopicPartitions))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopicPartitions = ({ topic, count, assignments = [] }) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(count)\n .writeNullableArray(assignments.map(encodeAssignments))\n}\n\nconst encodeAssignments = brokerIds => {\n return new Encoder().writeNullableArray(brokerIds)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/*\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n return {\n throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * CreatePartitions Request (Version: 1) => [topic_partitions] timeout validate_only\n * topic_partitions => topic new_partitions\n * topic => STRING\n * new_partitions => count [assignment]\n * count => INT32\n * assignment => ARRAY(INT32)\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topicPartitions, validateOnly, timeout }) =>\n Object.assign(requestV0({ topicPartitions, validateOnly, timeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreatePartitions Response (Version: 0) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, validateOnly, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 2: ({ topics, validateOnly, timeout }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n 3: ({ topics, validateOnly, timeout }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics, validateOnly, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n * CreateTopics Request (Version: 0) => [create_topic_requests] timeout\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder().writeArray(topics.map(encodeTopics)).writeInt32(timeout)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst { KafkaJSAggregateError, KafkaJSCreateTopicError } = require('../../../../errors')\n\n/**\n * CreateTopics Response (Version: 0) => [topic_errors]\n * topic_errors => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw new KafkaJSAggregateError(\n 'Topic creation errors',\n topicsWithError.map(\n error => new KafkaJSCreateTopicError(createErrorFromCode(error.errorCode), error.topic)\n )\n )\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { CreateTopics: apiKey } = require('../../apiKeys')\n\n/**\n *CreateTopics Request (Version: 1) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly = false, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'CreateTopics',\n encode: async () => {\n return new Encoder()\n .writeArray(topics.map(encodeTopics))\n .writeInt32(timeout)\n .writeBoolean(validateOnly)\n },\n})\n\nconst encodeTopics = ({\n topic,\n numPartitions = 1,\n replicationFactor = 1,\n replicaAssignment = [],\n configEntries = [],\n}) => {\n return new Encoder()\n .writeString(topic)\n .writeInt32(numPartitions)\n .writeInt16(replicationFactor)\n .writeArray(replicaAssignment.map(encodeReplicaAssignment))\n .writeArray(configEntries.map(encodeConfigEntries))\n}\n\nconst encodeReplicaAssignment = ({ partition, replicas }) => {\n return new Encoder().writeInt32(partition).writeArray(replicas)\n}\n\nconst encodeConfigEntries = ({ name, value }) => {\n return new Encoder().writeString(name).writeString(value)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * CreateTopics Response (Version: 1) => [topic_errors]\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * CreateTopics Request (Version: 2) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV1({ topics, validateOnly, timeout }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\n\n/**\n * CreateTopics Response (Version: 2) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * CreateTopics Request (Version: 3) => [create_topic_requests] timeout validate_only\n * create_topic_requests => topic num_partitions replication_factor [replica_assignment] [config_entries]\n * topic => STRING\n * num_partitions => INT32\n * replication_factor => INT16\n * replica_assignment => partition [replicas]\n * partition => INT32\n * replicas => INT32\n * config_entries => config_name config_value\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * timeout => INT32\n * validate_only => BOOLEAN\n */\n\nmodule.exports = ({ topics, validateOnly, timeout }) =>\n Object.assign(requestV2({ topics, validateOnly, timeout }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * CreateTopics Response (Version: 3) => throttle_time_ms [topic_errors]\n * throttle_time_ms => INT32\n * topic_errors => topic error_code error_message\n * topic => STRING\n * error_code => INT16\n * error_message => NULLABLE_STRING\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ filters }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ filters }), response }\n },\n 1: ({ filters }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ filters }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 0) => [filters]\n * filters => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteAcls Response (Version: 0) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime,\n filterResponses,\n }\n}\n\nconst parse = async data => {\n const filterResponsesWithError = data.filterResponses.filter(({ errorCode }) =>\n failure(errorCode)\n )\n\n if (filterResponsesWithError.length > 0) {\n throw createErrorFromCode(filterResponsesWithError[0].errorCode)\n }\n\n for (const filterResponse of data.filterResponses) {\n const matchingAcls = filterResponse.matchingAcls\n const matchingAclsWithError = matchingAcls.filter(({ errorCode }) => failure(errorCode))\n\n if (matchingAclsWithError.length > 0) {\n throw createErrorFromCode(matchingAclsWithError[0].errorCode)\n }\n }\n\n return data\n}\n\nmodule.exports = {\n decodeMatchingAcls,\n decodeFilterResponse,\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteAcls Request (Version: 1) => [filters]\n * filters => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst encodeFilters = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n}\n\nmodule.exports = ({ filters }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DeleteAcls',\n encode: async () => {\n return new Encoder().writeArray(filters.map(encodeFilters))\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DeleteAcls Response (Version: 1) => throttle_time_ms [filter_responses]\n * throttle_time_ms => INT32\n * filter_responses => error_code error_message [matching_acls]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * matching_acls => error_code error_message resource_type resource_name resource_pattern_type principal host operation permission_type\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeMatchingAcls = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeFilterResponse = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n matchingAcls: decoder.readArray(decodeMatchingAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const filterResponses = decoder.readArray(decodeFilterResponse)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n filterResponses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: groupIds => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(groupIds), response }\n },\n 1: groupIds => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(groupIds), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteGroups Request (Version: 0) => [groups_names]\n * groups_names => STRING\n */\n\n/**\n */\nmodule.exports = groupIds => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds.map(encodeGroups))\n },\n})\n\nconst encodeGroups = group => {\n return new Encoder().writeString(group)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n/**\n * DeleteGroups Response (Version: 0) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTimeMs = decoder.readInt32()\n const results = decoder.readArray(decodeGroup)\n\n for (const result of results) {\n if (failure(result.errorCode)) {\n result.error = createErrorFromCode(result.errorCode)\n }\n }\n return {\n throttleTimeMs,\n results,\n }\n}\n\nconst parse = async data => {\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteGroups Request (Version: 1)\n */\n\nmodule.exports = groupIds => Object.assign(requestV0(groupIds), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteGroups Response (Version: 1) => throttle_time_ms [results]\n * throttle_time_ms => INT32\n * results => group_id error_code\n * group_id => STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response: response({ topics }) }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteRecords: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteRecords Request (Version: 0) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteRecords',\n encode: async () => {\n return new Encoder()\n .writeArray(\n topics.map(({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(\n partitions.map(({ partition, offset }) => {\n return new Encoder().writeInt32(partition).writeInt64(offset)\n })\n )\n })\n )\n .writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { KafkaJSDeleteTopicRecordsError } = require('../../../../errors')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteRecords Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition low_watermark error_code\n * partition => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n topics: decoder\n .readArray(decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decoder => ({\n partition: decoder.readInt32(),\n lowWatermark: decoder.readInt64(),\n errorCode: decoder.readInt16(),\n })),\n }))\n .sort(topicNameComparator),\n }\n}\n\nconst parse = requestTopics => async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n // at present we only ever request one topic at a time, so can destructure the arrays\n const [{ topic }] = data.topics // topic name\n const [{ partitions: requestPartitions }] = requestTopics // requested offset(s)\n const [{ partitionsWithErrors }] = topicsWithErrors // partition(s) + error(s)\n\n throw new KafkaJSDeleteTopicRecordsError({\n topic,\n partitions: partitionsWithErrors.map(({ partition, errorCode }) => ({\n partition,\n error: createErrorFromCode(errorCode),\n // attach the original offset from the request, onto the error response\n offset: requestPartitions.find(p => p.partition === partition).offset,\n })),\n })\n }\n\n return data\n}\n\nmodule.exports = ({ topics }) => ({\n decode,\n parse: parse(topics),\n})\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteRecords Request (Version: 1) => [topics] timeout_ms\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset\n * partition => INT32\n * offset => INT64\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteRecords Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => name [partitions]\n * name => STRING\n * partitions => partition_index low_watermark error_code\n * partition_index => INT32\n * low_watermark => INT64\n * error_code => INT16\n */\n\nmodule.exports = ({ topics }) => {\n const { parse, decode: decodeV0 } = responseV0({ topics })\n\n const decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n }\n\n return {\n decode,\n parse,\n }\n}\n","const versions = {\n 0: ({ topics, timeout }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics, timeout }), response }\n },\n 1: ({ topics, timeout }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics, timeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DeleteTopics: apiKey } = require('../../apiKeys')\n\n/**\n * DeleteTopics Request (Version: 0) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\nmodule.exports = ({ topics, timeout = 5000 }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DeleteTopics',\n encode: async () => {\n return new Encoder().writeArray(topics).writeInt32(timeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DeleteTopics Response (Version: 0) => [topic_error_codes]\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nconst parse = async data => {\n const topicsWithError = data.topicErrors.filter(({ errorCode }) => failure(errorCode))\n if (topicsWithError.length > 0) {\n throw createErrorFromCode(topicsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DeleteTopics Request (Version: 1) => [topics] timeout\n * topics => STRING\n * timeout => INT32\n */\n\nmodule.exports = ({ topics, timeout }) =>\n Object.assign(requestV0({ topics, timeout }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DeleteTopics Response (Version: 1) => throttle_time_ms [topic_error_codes]\n * throttle_time_ms => INT32\n * topic_error_codes => topic error_code\n * topic => STRING\n * error_code => INT16\n */\n\nconst topicNameComparator = (a, b) => a.topic.localeCompare(b.topic)\n\nconst topicErrors = decoder => ({\n topic: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n topicErrors: decoder.readArray(topicErrors).sort(topicNameComparator),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ resourceType, resourceName, principal, host, operation, permissionType }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ resourceType, resourceName, principal, host, operation, permissionType }),\n response,\n }\n },\n 1: ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 0) => resource_type resource_name principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({ resourceType, resourceName, principal, host, operation, permissionType }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeAcls Response (Version: 0) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name [acls]\n * resource_type => INT8\n * resource_name => STRING\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeAcls: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeAcls Request (Version: 1) => resource_type resource_name resource_pattern_type_filter principal host operation permission_type\n * resource_type => INT8\n * resource_name => NULLABLE_STRING\n * resource_pattern_type_filter => INT8\n * principal => NULLABLE_STRING\n * host => NULLABLE_STRING\n * operation => INT8\n * permission_type => INT8\n */\n\nmodule.exports = ({\n resourceType,\n resourceName,\n resourcePatternType,\n principal,\n host,\n operation,\n permissionType,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeAcls',\n encode: async () => {\n return new Encoder()\n .writeInt8(resourceType)\n .writeString(resourceName)\n .writeInt8(resourcePatternType)\n .writeString(principal)\n .writeString(host)\n .writeInt8(operation)\n .writeInt8(permissionType)\n },\n})\n","const { parse } = require('../v0/response')\nconst Decoder = require('../../../decoder')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n * Version 1 also introduces a new resource pattern type field.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs\n *\n * DescribeAcls Response (Version: 1) => throttle_time_ms error_code error_message [resources]\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resources => resource_type resource_name resource_pattern_type [acls]\n * resource_type => INT8\n * resource_name => STRING\n * resource_pattern_type => INT8\n * acls => principal host operation permission_type\n * principal => STRING\n * host => STRING\n * operation => INT8\n * permission_type => INT8\n */\nconst decodeAcls = decoder => ({\n principal: decoder.readString(),\n host: decoder.readString(),\n operation: decoder.readInt8(),\n permissionType: decoder.readInt8(),\n})\n\nconst decodeResources = decoder => ({\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n resourcePatternType: decoder.readInt8(),\n acls: decoder.readArray(decodeAcls),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n errorMessage,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ resources }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ resources }), response }\n },\n 1: ({ resources, includeSynonyms }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n 2: ({ resources, includeSynonyms }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ resources, includeSynonyms }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 0) => [resources]\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n */\nmodule.exports = ({ resources }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource))\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst ConfigSource = require('../../../configSource')\nconst ConfigResourceTypes = require('../../../configResourceTypes')\n\n/**\n * DescribeConfigs Response (Version: 0) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only is_default is_sensitive\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * is_default => BOOLEAN\n * is_sensitive => BOOLEAN\n */\n\nconst decodeConfigEntries = (decoder, resourceType) => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const isDefault = decoder.readBoolean()\n const isSensitive = decoder.readBoolean()\n\n /**\n * Backporting ConfigSource value to v0\n * @see https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/DescribeConfigsResponse.java#L232-L242\n */\n let configSource\n if (isDefault) {\n configSource = ConfigSource.DEFAULT_CONFIG\n } else {\n switch (resourceType) {\n case ConfigResourceTypes.BROKER:\n configSource = ConfigSource.STATIC_BROKER_CONFIG\n break\n case ConfigResourceTypes.TOPIC:\n configSource = ConfigSource.TOPIC_CONFIG\n break\n default:\n configSource = ConfigSource.UNKNOWN\n }\n }\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault,\n configSource,\n isSensitive,\n }\n}\n\nconst decodeResources = decoder => {\n const errorCode = decoder.readInt16()\n const errorMessage = decoder.readString()\n const resourceType = decoder.readInt8()\n const resourceName = decoder.readString()\n const configEntries = decoder.readArray(decoder => decodeConfigEntries(decoder, resourceType))\n\n return {\n errorCode,\n errorMessage,\n resourceType,\n resourceName,\n configEntries,\n }\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nconst parse = async data => {\n const resourcesWithError = data.resources.filter(({ errorCode }) => failure(errorCode))\n if (resourcesWithError.length > 0) {\n throw createErrorFromCode(resourcesWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeConfigs: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms = false }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'DescribeConfigs',\n encode: async () => {\n return new Encoder().writeArray(resources.map(encodeResource)).writeBoolean(includeSynonyms)\n },\n})\n\nconst encodeResource = ({ type, name, configNames = [] }) => {\n return new Encoder()\n .writeInt8(type)\n .writeString(name)\n .writeNullableArray(configNames)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { DEFAULT_CONFIG } = require('../../../configSource')\n\n/**\n * DescribeConfigs Response (Version: 1) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decodeSynonyms = decoder => ({\n configName: decoder.readString(),\n configValue: decoder.readString(),\n configSource: decoder.readInt8(),\n})\n\nconst decodeConfigEntries = decoder => {\n const configName = decoder.readString()\n const configValue = decoder.readString()\n const readOnly = decoder.readBoolean()\n const configSource = decoder.readInt8()\n const isSensitive = decoder.readBoolean()\n const configSynonyms = decoder.readArray(decodeSynonyms)\n\n return {\n configName,\n configValue,\n readOnly,\n isDefault: configSource === DEFAULT_CONFIG,\n configSource,\n isSensitive,\n configSynonyms,\n }\n}\n\nconst decodeResources = decoder => ({\n errorCode: decoder.readInt16(),\n errorMessage: decoder.readString(),\n resourceType: decoder.readInt8(),\n resourceName: decoder.readString(),\n configEntries: decoder.readArray(decodeConfigEntries),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const resources = decoder.readArray(decodeResources)\n\n return {\n throttleTime,\n resources,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeConfigs Request (Version: 1) => [resources] include_synonyms\n * resources => resource_type resource_name [config_names]\n * resource_type => INT8\n * resource_name => STRING\n * config_names => STRING\n * include_synonyms => BOOLEAN\n */\n\n/**\n * @param {Array} resources An array of config resources to be returned\n * @param [includeSynonyms=false]\n */\nmodule.exports = ({ resources, includeSynonyms }) =>\n Object.assign(requestV1({ resources, includeSynonyms }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeConfigs Response (Version: 2) => throttle_time_ms [resources]\n * throttle_time_ms => INT32\n * resources => error_code error_message resource_type resource_name [config_entries]\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * resource_type => INT8\n * resource_name => STRING\n * config_entries => config_name config_value read_only config_source is_sensitive [config_synonyms]\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * read_only => BOOLEAN\n * config_source => INT8\n * is_sensitive => BOOLEAN\n * config_synonyms => config_name config_value config_source\n * config_name => STRING\n * config_value => NULLABLE_STRING\n * config_source => INT8\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupIds }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupIds }), response }\n },\n 1: ({ groupIds }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupIds }), response }\n },\n 2: ({ groupIds }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupIds }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { DescribeGroups: apiKey } = require('../../apiKeys')\n\n/**\n * DescribeGroups Request (Version: 0) => [group_ids]\n * group_ids => STRING\n */\n\n/**\n * @param {Array} groupIds List of groupIds to request metadata for (an empty groupId array will return empty group metadata)\n */\nmodule.exports = ({ groupIds }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'DescribeGroups',\n encode: async () => {\n return new Encoder().writeArray(groupIds)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * DescribeGroups Response (Version: 0) => [groups]\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const groups = decoder.readArray(decodeGroup)\n\n return {\n groups,\n }\n}\n\nconst parse = async data => {\n const groupsWithError = data.groups.filter(({ errorCode }) => failure(errorCode))\n if (groupsWithError.length > 0) {\n throw createErrorFromCode(groupsWithError[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * DescribeGroups Request (Version: 1) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV0({ groupIds }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * DescribeGroups Response (Version: 1) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decoderMember = decoder => ({\n memberId: decoder.readString(),\n clientId: decoder.readString(),\n clientHost: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n memberAssignment: decoder.readBytes(),\n})\n\nconst decodeGroup = decoder => ({\n errorCode: decoder.readInt16(),\n groupId: decoder.readString(),\n state: decoder.readString(),\n protocolType: decoder.readString(),\n protocol: decoder.readString(),\n members: decoder.readArray(decoderMember),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n throttleTime,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * DescribeGroups Request (Version: 2) => [group_ids]\n * group_ids => STRING\n */\n\nmodule.exports = ({ groupIds }) => Object.assign(requestV1({ groupIds }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * DescribeGroups Response (Version: 2) => throttle_time_ms [groups]\n * throttle_time_ms => INT32\n * groups => error_code group_id state protocol_type protocol [members]\n * error_code => INT16\n * group_id => STRING\n * state => STRING\n * protocol_type => STRING\n * protocol => STRING\n * members => member_id client_id client_host member_metadata member_assignment\n * member_id => STRING\n * client_id => STRING\n * client_host => STRING\n * member_metadata => BYTES\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n 1: ({ transactionalId, producerId, producerEpoch, transactionResult }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, producerId, producerEpoch, transactionResult }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { EndTxn: apiKey } = require('../../apiKeys')\n\n/**\n * EndTxn Request (Version: 0) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'EndTxn',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeBoolean(transactionResult)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * EndTxn Response (Version: 0) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * EndTxn Request (Version: 1) => transactional_id producer_id producer_epoch transaction_result\n * transactional_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * transaction_result => BOOLEAN\n */\n\nmodule.exports = ({ transactionalId, producerId, producerEpoch, transactionResult }) =>\n Object.assign(requestV0({ transactionalId, producerId, producerEpoch, transactionResult }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * EndTxn Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\nconst NETWORK_DELAY = 100\n\n/**\n * The FETCH request can block up to maxWaitTime, which can be bigger than the configured\n * request timeout. It's safer to always use the maxWaitTime\n **/\nconst requestTimeout = timeout =>\n Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 1: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 2: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 3: ({ replicaId = REPLICA_ID, maxWaitTime, minBytes, maxBytes, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ replicaId, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 4: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 5: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 6: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({ replicaId, isolationLevel, maxWaitTime, minBytes, maxBytes, topics }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 7: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 8: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v8/request')\n const response = require('./v8/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 9: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v9/request')\n const response = require('./v9/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 10: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }) => {\n const request = require('./v10/request')\n const response = require('./v10/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n 11: ({\n replicaId = REPLICA_ID,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [],\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }) => {\n const request = require('./v11/request')\n const response = require('./v11/response')\n return {\n request: request({\n replicaId,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId,\n }),\n response,\n requestTimeout: requestTimeout(maxWaitTime),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 0) => replica_id max_wait_time min_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSOffsetOutOfRange } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n responses,\n }\n}\n\nconst { code: OFFSET_OUT_OF_RANGE_ERROR_CODE } = errorCodes.find(\n e => e.type === 'OFFSET_OUT_OF_RANGE'\n)\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(({ topicName, partitions }) => {\n return partitions\n .filter(partition => failure(partition.errorCode))\n .map(partition => Object.assign({}, partition, { topic: topicName }))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode, topic, partition } = errors[0]\n if (errorCode === OFFSET_OUT_OF_RANGE_ERROR_CODE) {\n throw new KafkaJSOffsetOutOfRange(createErrorFromCode(errorCode), { topic, partition })\n }\n\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\n\n/**\n * Fetch Response (Version: 1) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n messages: await MessageSetDecoder(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV9 = require('../v9/request')\n\n/**\n * ZStd Compression\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-110%3A+Add+Codec+for+ZStandard+Compression\n */\n\n/**\n * Fetch Request (Version: 10) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV9({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 10 }\n )\n","const { decode, parse } = require('../v9/response')\n\n/**\n * Fetch Response (Version: 10) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow consumers to fetch from closest replica\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica\n */\n\n/**\n * Fetch Request (Version: 11) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n * rack_id => STRING\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n rackId = '',\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 11,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n .writeString(rackId)\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 11) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * preferred_read_replica => INT32\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n preferredReadReplica: decoder.readInt32(),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, topics }) => {\n return Object.assign(requestV0({ replicaId, maxWaitTime, minBytes, topics }), { apiVersion: 2 })\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\n\n/**\n * Fetch Request (Version: 3) => replica_id max_wait_time min_bytes max_bytes [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\n/**\n * @param {number} replicaId Broker id of the follower\n * @param {number} maxWaitTime Maximum time in ms to wait for the response\n * @param {number} minBytes Minimum bytes to accumulate in the response.\n * @param {number} maxBytes Maximum bytes to accumulate in the response. Note that this is not an absolute maximum,\n * if the first message in the first non-empty partition of the fetch is larger than this value,\n * the message will still be returned to ensure that progress can be made.\n * @param {Array} topics Topics to fetch\n * [\n * {\n * topic: 'topic-name',\n * partitions: [\n * {\n * partition: 0,\n * fetchOffset: '4124',\n * maxBytes: 2048\n * }\n * ]\n * }\n * ]\n */\nmodule.exports = ({ replicaId, maxWaitTime, minBytes, maxBytes, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v1/response')\n\n/**\n * Fetch Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Decoder = require('../../../decoder')\nconst MessageSetDecoder = require('../../../messageSet/decoder')\nconst RecordBatchDecoder = require('../../../recordBatch/v0/decoder')\nconst { MAGIC_BYTE } = require('../../../recordBatch/v0')\n\n// the magic offset is at the same offset for all current message formats, but the 4 bytes\n// between the size and the magic is dependent on the version.\nconst MAGIC_OFFSET = 16\nconst RECORD_BATCH_OVERHEAD = 49\n\nconst decodeMessages = async decoder => {\n const messagesSize = decoder.readInt32()\n\n if (messagesSize <= 0 || !decoder.canReadBytes(messagesSize)) {\n return []\n }\n\n const messagesBuffer = decoder.readBytes(messagesSize)\n const messagesDecoder = new Decoder(messagesBuffer)\n const magicByte = messagesBuffer.slice(MAGIC_OFFSET).readInt8(0)\n\n if (magicByte === MAGIC_BYTE) {\n const records = []\n\n while (messagesDecoder.canReadBytes(RECORD_BATCH_OVERHEAD)) {\n try {\n const recordBatch = await RecordBatchDecoder(messagesDecoder)\n records.push(...recordBatch.records)\n } catch (e) {\n // The tail of the record batches can have incomplete records\n // due to how maxBytes works. See https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-FetchAPI\n if (e.name === 'KafkaJSPartialMessageError') {\n break\n }\n\n throw e\n }\n }\n\n return records\n }\n\n return MessageSetDecoder(messagesDecoder, messagesSize)\n}\n\nmodule.exports = decodeMessages\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 4) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('./decodeMessages')\n\n/**\n * Fetch Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Fetch Request (Version: 5) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV5 = require('../v5/request')\n\n/**\n * Fetch Request (Version: 6) => replica_id max_wait_time min_bytes max_bytes isolation_level [topics]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n}) =>\n Object.assign(\n requestV5({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n }),\n { apiVersion: 6 }\n )\n","const { decode, parse } = require('../v5/response')\n\n/**\n * Fetch Response (Version: 6) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Sessions are only used by followers\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability\n */\n\n/**\n * Fetch Request (Version: 7) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 7,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, fetchOffset, logStartOffset = -1, maxBytes }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 7) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n return {\n throttleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const ISOLATION_LEVEL = require('../../../isolationLevel')\nconst requestV7 = require('../v7/request')\n\n/**\n * Quota violation brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n */\n\n/**\n * Fetch Request (Version: 8) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) =>\n Object.assign(\n requestV7({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel,\n sessionId,\n sessionEpoch,\n forgottenTopics,\n }),\n { apiVersion: 8 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV1 } = require('../v1/response')\nconst decodeMessages = require('../v4/decodeMessages')\n\n/**\n * Fetch Response (Version: 8) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nconst decodeAbortedTransactions = decoder => ({\n producerId: decoder.readInt64().toString(),\n firstOffset: decoder.readInt64().toString(),\n})\n\nconst decodePartition = async decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n highWatermark: decoder.readInt64().toString(),\n lastStableOffset: decoder.readInt64().toString(),\n lastStartOffset: decoder.readInt64().toString(),\n abortedTransactions: decoder.readArray(decodeAbortedTransactions),\n messages: await decodeMessages(decoder),\n})\n\nconst decodeResponse = async decoder => ({\n topicName: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const clientSideThrottleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const sessionId = decoder.readInt32()\n const responses = await decoder.readArrayAsync(decodeResponse)\n\n // Report a `throttleTime` of 0: The broker will not have throttled\n // this request, but if the `clientSideThrottleTime` is >0 then it\n // expects us to do that -- and it will ignore requests.\n return {\n throttleTime: 0,\n clientSideThrottleTime,\n errorCode,\n sessionId,\n responses,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV1,\n}\n","const Encoder = require('../../../encoder')\nconst { Fetch: apiKey } = require('../../apiKeys')\nconst ISOLATION_LEVEL = require('../../../isolationLevel')\n\n/**\n * Allow fetchers to detect and handle log truncation\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-320%3A+Allow+fetchers+to+detect+and+handle+log+truncation\n */\n\n/**\n * Fetch Request (Version: 9) => replica_id max_wait_time min_bytes max_bytes isolation_level session_id session_epoch [topics] [forgotten_topics_data]\n * replica_id => INT32\n * max_wait_time => INT32\n * min_bytes => INT32\n * max_bytes => INT32\n * isolation_level => INT8\n * session_id => INT32\n * session_epoch => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition current_leader_epoch fetch_offset log_start_offset partition_max_bytes\n * partition => INT32\n * current_leader_epoch => INT32\n * fetch_offset => INT64\n * log_start_offset => INT64\n * partition_max_bytes => INT32\n * forgotten_topics_data => topic [partitions]\n * topic => STRING\n * partitions => INT32\n */\n\nmodule.exports = ({\n replicaId,\n maxWaitTime,\n minBytes,\n maxBytes,\n topics,\n isolationLevel = ISOLATION_LEVEL.READ_COMMITTED,\n sessionId = 0,\n sessionEpoch = -1,\n forgottenTopics = [], // Topics to remove from the fetch session\n}) => ({\n apiKey,\n apiVersion: 9,\n apiName: 'Fetch',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt32(maxWaitTime)\n .writeInt32(minBytes)\n .writeInt32(maxBytes)\n .writeInt8(isolationLevel)\n .writeInt32(sessionId)\n .writeInt32(sessionEpoch)\n .writeArray(topics.map(encodeTopic))\n .writeArray(forgottenTopics.map(encodeForgottenTopics))\n },\n})\n\nconst encodeForgottenTopics = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions)\n}\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({\n partition,\n currentLeaderEpoch = -1,\n fetchOffset,\n logStartOffset = -1,\n maxBytes,\n}) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(currentLeaderEpoch)\n .writeInt64(fetchOffset)\n .writeInt64(logStartOffset)\n .writeInt32(maxBytes)\n}\n","const { decode, parse } = require('../v8/response')\n\n/**\n * Fetch Response (Version: 9) => throttle_time_ms error_code session_id [responses]\n * throttle_time_ms => INT32\n * error_code => INT16\n * session_id => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition_header record_set\n * partition_header => partition error_code high_watermark last_stable_offset log_start_offset [aborted_transactions]\n * partition => INT32\n * error_code => INT16\n * high_watermark => INT64\n * last_stable_offset => INT64\n * log_start_offset => INT64\n * aborted_transactions => producer_id first_offset\n * producer_id => INT64\n * first_offset => INT64\n * record_set => RECORDS\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const COORDINATOR_TYPES = require('../../coordinatorTypes')\n\nconst versions = {\n 0: ({ groupId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId }), response }\n },\n 1: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n 2: ({ groupId, coordinatorType = COORDINATOR_TYPES.GROUP }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ coordinatorKey: groupId, coordinatorType }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 0) => group_id\n * group_id => STRING\n */\n\nmodule.exports = ({ groupId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(groupId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 0) => error_code coordinator\n * error_code => INT16\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n errorCode,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { GroupCoordinator: apiKey } = require('../../apiKeys')\n\n/**\n * FindCoordinator Request (Version: 1) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'GroupCoordinator',\n encode: async () => {\n return new Encoder().writeString(coordinatorKey).writeInt8(coordinatorType)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n const errorMessage = decoder.readString()\n const coordinator = {\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n }\n\n return {\n throttleTime,\n errorCode,\n errorMessage,\n coordinator,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * FindCoordinator Request (Version: 2) => coordinator_key coordinator_type\n * coordinator_key => STRING\n * coordinator_type => INT8\n */\n\nmodule.exports = ({ coordinatorKey, coordinatorType }) =>\n Object.assign(requestV1({ coordinatorKey, coordinatorType }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * Starting in version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * FindCoordinator Response (Version: 1) => throttle_time_ms error_code error_message coordinator\n * throttle_time_ms => INT32\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * coordinator => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 1: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 2: ({ groupId, groupGenerationId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, groupGenerationId, memberId }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, groupGenerationId, memberId, groupInstanceId }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Heartbeat Request (Version: 0) => group_id group_generation_id member_id\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * Heartbeat Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * Heartbeat Request (Version: 1) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV0({ groupId, groupGenerationId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Heartbeat Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Heartbeat Request (Version: 2) => group_id generation_id member_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId }) =>\n Object.assign(requestV1({ groupId, groupGenerationId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Heartbeat Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Heartbeat: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * Heartbeat Request (Version: 3) => group_id generation_id member_id group_instance_id\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, groupInstanceId }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Heartbeat',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n },\n})\n","const { parse, decode } = require('../v2/response')\n\n/**\n * Heartbeat Response (Version: 3) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const apiKeys = require('./apiKeys')\nconst { KafkaJSServerDoesNotSupportApiKey, KafkaJSNotImplemented } = require('../../errors')\n\n/**\n * @typedef {(options?: Object) => { request: any, response: any, logResponseErrors?: boolean }} Request\n */\n\n/**\n * @typedef {Object} RequestDefinitions\n * @property {string[]} versions\n * @property {({ version: number }) => Request} protocol\n */\n\n/**\n * @typedef {(apiKey: number, definitions: RequestDefinitions) => Request} Lookup\n */\n\n/** @type {RequestDefinitions} */\nconst noImplementedRequestDefinitions = {\n versions: [],\n protocol: () => {\n throw new KafkaJSNotImplemented()\n },\n}\n\n/**\n * @type {{[apiName: string]: RequestDefinitions}}\n */\nconst requests = {\n Produce: require('./produce'),\n Fetch: require('./fetch'),\n ListOffsets: require('./listOffsets'),\n Metadata: require('./metadata'),\n LeaderAndIsr: noImplementedRequestDefinitions,\n StopReplica: noImplementedRequestDefinitions,\n UpdateMetadata: noImplementedRequestDefinitions,\n ControlledShutdown: noImplementedRequestDefinitions,\n OffsetCommit: require('./offsetCommit'),\n OffsetFetch: require('./offsetFetch'),\n GroupCoordinator: require('./findCoordinator'),\n JoinGroup: require('./joinGroup'),\n Heartbeat: require('./heartbeat'),\n LeaveGroup: require('./leaveGroup'),\n SyncGroup: require('./syncGroup'),\n DescribeGroups: require('./describeGroups'),\n ListGroups: require('./listGroups'),\n SaslHandshake: require('./saslHandshake'),\n ApiVersions: require('./apiVersions'),\n CreateTopics: require('./createTopics'),\n DeleteTopics: require('./deleteTopics'),\n DeleteRecords: require('./deleteRecords'),\n InitProducerId: require('./initProducerId'),\n OffsetForLeaderEpoch: noImplementedRequestDefinitions,\n AddPartitionsToTxn: require('./addPartitionsToTxn'),\n AddOffsetsToTxn: require('./addOffsetsToTxn'),\n EndTxn: require('./endTxn'),\n WriteTxnMarkers: noImplementedRequestDefinitions,\n TxnOffsetCommit: require('./txnOffsetCommit'),\n DescribeAcls: require('./describeAcls'),\n CreateAcls: require('./createAcls'),\n DeleteAcls: require('./deleteAcls'),\n DescribeConfigs: require('./describeConfigs'),\n AlterConfigs: require('./alterConfigs'),\n AlterReplicaLogDirs: noImplementedRequestDefinitions,\n DescribeLogDirs: noImplementedRequestDefinitions,\n SaslAuthenticate: require('./saslAuthenticate'),\n CreatePartitions: require('./createPartitions'),\n CreateDelegationToken: noImplementedRequestDefinitions,\n RenewDelegationToken: noImplementedRequestDefinitions,\n ExpireDelegationToken: noImplementedRequestDefinitions,\n DescribeDelegationToken: noImplementedRequestDefinitions,\n DeleteGroups: require('./deleteGroups'),\n}\n\nconst names = Object.keys(apiKeys)\nconst keys = Object.values(apiKeys)\nconst findApiName = apiKey => names[keys.indexOf(apiKey)]\n\n/**\n * @param {import(\"../../../types\").ApiVersions} versions\n * @returns {Lookup}\n */\nconst lookup = versions => (apiKey, definition) => {\n const version = versions[apiKey]\n const availableVersions = definition.versions.map(Number)\n const bestImplementedVersion = Math.max(...availableVersions)\n\n if (!version || version.maxVersion == null) {\n throw new KafkaJSServerDoesNotSupportApiKey(\n `The Kafka server does not support the requested API version`,\n { apiKey, apiName: findApiName(apiKey) }\n )\n }\n\n const bestSupportedVersion = Math.min(bestImplementedVersion, version.maxVersion)\n return definition.protocol({ version: bestSupportedVersion })\n}\n\nmodule.exports = {\n requests,\n lookup,\n}\n","const versions = {\n 0: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n 1: ({ transactionalId, transactionTimeout = 5000 }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ transactionalId, transactionTimeout }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { InitProducerId: apiKey } = require('../../apiKeys')\n\n/**\n * InitProducerId Request (Version: 0) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'InitProducerId',\n encode: async () => {\n return new Encoder().writeString(transactionalId).writeInt32(transactionTimeout)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n producerId: decoder.readInt64().toString(),\n producerEpoch: decoder.readInt16(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * InitProducerId Request (Version: 1) => transactional_id transaction_timeout_ms\n * transactional_id => NULLABLE_STRING\n * transaction_timeout_ms => INT32\n */\n\nmodule.exports = ({ transactionalId, transactionTimeout }) =>\n Object.assign(requestV0({ transactionalId, transactionTimeout }), { apiVersion: 1 })\n","const { parse, decode: decodeV0 } = require('../v0/response')\n\n/**\n * Starting in version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * InitProducerId Response (Version: 0) => throttle_time_ms error_code producer_id producer_epoch\n * throttle_time_ms => INT32\n * error_code => INT16\n * producer_id => INT64\n * producer_epoch => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV0(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const NETWORK_DELAY = 5000\n\n/**\n * @see https://github.com/apache/kafka/pull/5203\n * The JOIN_GROUP request may block up to sessionTimeout (or rebalanceTimeout in JoinGroupV1),\n * so we should override the requestTimeout to be a bit more than the sessionTimeout\n * NOTE: the sessionTimeout can be configured as Number.MAX_SAFE_INTEGER and overflow when\n * increased, so we have to check for potential overflows\n **/\nconst requestTimeout = ({ rebalanceTimeout, sessionTimeout }) => {\n const timeout = rebalanceTimeout || sessionTimeout\n return Number.isSafeInteger(timeout + NETWORK_DELAY) ? timeout + NETWORK_DELAY : timeout\n}\n\nconst logResponseError = memberId => memberId != null && memberId !== ''\n\nconst versions = {\n 0: ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout: null, sessionTimeout }),\n }\n },\n 1: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 2: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 3: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n }\n },\n 4: ({ groupId, sessionTimeout, rebalanceTimeout, memberId, protocolType, groupProtocols }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n 5: ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n\n return {\n request: request({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId,\n protocolType,\n groupProtocols,\n }),\n response,\n requestTimeout: requestTimeout({ rebalanceTimeout, sessionTimeout }),\n logResponseError: logResponseError(memberId),\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 0) => group_id session_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({ groupId, sessionTimeout, memberId, protocolType, groupProtocols }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 0) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * JoinGroup Request (Version: 1) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 1) => error_code generation_id group_protocol leader_id member_id [members]\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * JoinGroup Request (Version: 2) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV1({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 2 }\n )\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * JoinGroup Response (Version: 2) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * JoinGroup Request (Version: 3) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV2({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 3 }\n )\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * Starting in version 3, on quota violation, brokers send out responses\n * before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * JoinGroup Response (Version: 3) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Starting in version 4, the client needs to issue a second request to join group\n * with assigned id.\n *\n * JoinGroup Request (Version: 4) => group_id session_timeout rebalance_timeout member_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n}) =>\n Object.assign(\n requestV3({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n protocolType,\n groupProtocols,\n }),\n { apiVersion: 4 }\n )\n","const { decode } = require('../v3/response')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst { failure, createErrorFromCode, errorCodes } = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 4) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id member_metadata\n * member_id => STRING\n * member_metadata => BYTES\n */\n\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { JoinGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * JoinGroup Request (Version: 5) => group_id session_timeout rebalance_timeout member_id group_instance_id protocol_type [group_protocols]\n * group_id => STRING\n * session_timeout => INT32\n * rebalance_timeout => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * protocol_type => STRING\n * group_protocols => protocol_name protocol_metadata\n * protocol_name => STRING\n * protocol_metadata => BYTES\n */\n\nmodule.exports = ({\n groupId,\n sessionTimeout,\n rebalanceTimeout,\n memberId,\n groupInstanceId = null,\n protocolType,\n groupProtocols,\n}) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'JoinGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(sessionTimeout)\n .writeInt32(rebalanceTimeout)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeString(protocolType)\n .writeArray(groupProtocols.map(encodeGroupProtocols))\n },\n})\n\nconst encodeGroupProtocols = ({ name, metadata = Buffer.alloc(0) }) => {\n return new Encoder().writeString(name).writeBytes(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { KafkaJSMemberIdRequired } = require('../../../../errors')\nconst {\n failure,\n createErrorFromCode,\n errorCodes,\n failIfVersionNotSupported,\n} = require('../../../error')\n\n/**\n * JoinGroup Response (Version: 5) => throttle_time_ms error_code generation_id group_protocol leader_id member_id [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * generation_id => INT32\n * group_protocol => STRING\n * leader_id => STRING\n * member_id => STRING\n * members => member_id group_instance_id metadata\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * member_metadata => BYTES\n */\nconst { code: MEMBER_ID_REQUIRED_ERROR_CODE } = errorCodes.find(\n e => e.type === 'MEMBER_ID_REQUIRED'\n)\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n if (data.errorCode === MEMBER_ID_REQUIRED_ERROR_CODE) {\n throw new KafkaJSMemberIdRequired(createErrorFromCode(data.errorCode), {\n memberId: data.memberId,\n })\n }\n\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime: 0,\n clientSideThrottleTime: throttleTime,\n errorCode,\n generationId: decoder.readInt32(),\n groupProtocol: decoder.readString(),\n leaderId: decoder.readString(),\n memberId: decoder.readString(),\n members: decoder.readArray(decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n memberMetadata: decoder.readBytes(),\n })),\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ groupId, memberId }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 1: ({ groupId, memberId }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 2: ({ groupId, memberId }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, memberId }),\n response,\n }\n },\n 3: ({ groupId, memberId, groupInstanceId }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, members: [{ memberId, groupInstanceId }] }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * LeaveGroup Request (Version: 0) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder().writeString(groupId).writeString(memberId)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * LeaveGroup Response (Version: 0) => error_code\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { errorCode }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * LeaveGroup Request (Version: 1) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV0({ groupId, memberId }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * LeaveGroup Response (Version: 1) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime, errorCode }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * LeaveGroup Request (Version: 2) => group_id member_id\n * group_id => STRING\n * member_id => STRING\n */\n\nmodule.exports = ({ groupId, memberId }) =>\n Object.assign(requestV1({ groupId, memberId }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * LeaveGroup Response (Version: 2) => throttle_time_ms error_code\n * throttle_time_ms => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { LeaveGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 changes leavegroup to operate on a batch of members\n * and adds group_instance_id to identify members across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * LeaveGroup Request (Version: 3) => group_id [members]\n * group_id => STRING\n * members => member_id group_instance_id\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, members }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'LeaveGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeArray(members.map(member => encodeMember(member)))\n },\n})\n\nconst encodeMember = ({ memberId, groupInstanceId = null }) => {\n return new Encoder().writeString(memberId).writeString(groupInstanceId)\n}\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported, failure, createErrorFromCode } = require('../../../error')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * LeaveGroup Response (Version: 3) => throttle_time_ms error_code [members]\n * throttle_time_ms => INT32\n * error_code => INT16\n * members => member_id group_instance_id error_code\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const members = decoder.readArray(decodeMembers)\n\n failIfVersionNotSupported(errorCode)\n\n return { throttleTime: 0, clientSideThrottleTime: throttleTime, errorCode, members }\n}\n\nconst decodeMembers = decoder => ({\n memberId: decoder.readString(),\n groupInstanceId: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const parsed = parseV2(data)\n\n const memberWithError = data.members.find(member => failure(member.errorCode))\n if (memberWithError) {\n throw createErrorFromCode(memberWithError.errorCode)\n }\n\n return parsed\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: () => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request(), response }\n },\n 1: () => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request(), response }\n },\n 2: () => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request(), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListGroups: apiKey } = require('../../apiKeys')\n\n/**\n * ListGroups Request (Version: 0)\n */\n\n/**\n */\nmodule.exports = () => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListGroups',\n encode: async () => {\n return new Encoder()\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * ListGroups Response (Version: 0) => error_code [groups]\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decodeGroup = decoder => ({\n groupId: decoder.readString(),\n protocolType: decoder.readString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(decodeGroup)\n\n return {\n errorCode,\n groups,\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decodeGroup,\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * ListGroups Request (Version: 1)\n */\n\nmodule.exports = () => Object.assign(requestV0(), { apiVersion: 1 })\n","const responseV0 = require('../v0/response')\n\nconst Decoder = require('../../../decoder')\n\n/**\n * ListGroups Response (Version: 1) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n const groups = decoder.readArray(responseV0.decodeGroup)\n\n return {\n throttleTime,\n errorCode,\n groups,\n }\n}\n\nmodule.exports = {\n decode,\n parse: responseV0.parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * ListGroups Request (Version: 2)\n */\n\nmodule.exports = () => Object.assign(requestV1(), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListGroups Response (Version: 2) => error_code [groups]\n * throttle_time_ms => INT32\n * error_code => INT16\n * groups => group_id protocol_type\n * group_id => STRING\n * protocol_type => STRING\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const ISOLATION_LEVEL = require('../../isolationLevel')\n\n// For normal consumers, use -1\nconst REPLICA_ID = -1\n\nconst versions = {\n 0: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ replicaId, topics }), response }\n },\n 1: ({ replicaId = REPLICA_ID, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ replicaId, topics }), response }\n },\n 2: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n 3: ({ replicaId = REPLICA_ID, isolationLevel = ISOLATION_LEVEL.READ_COMMITTED, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ replicaId, isolationLevel, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 0) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp max_num_offsets\n * partition => INT32\n * timestamp => INT64\n * max_num_offsets => INT32\n */\n\n/**\n * @param {number} replicaId\n * @param {object} topics use timestamp=-1 for latest offsets and timestamp=-2 for earliest.\n * Default timestamp=-1. Example:\n * {\n * topics: [\n * {\n * topic: 'topic-name',\n * partitions: [{ partition: 0, timestamp: -1 }]\n * }\n * ]\n * }\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1, maxNumOffsets = 1 }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(timestamp)\n .writeInt32(maxNumOffsets)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Offsets Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code [offsets]\n * partition => INT32\n * error_code => INT16\n * offsets => INT64\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offsets: decoder.readArray(decodeOffsets),\n})\n\nconst decodeOffsets = decoder => decoder.readInt64().toString()\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 1) => replica_id [topics]\n * replica_id => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder().writeInt32(replicaId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { ListOffsets: apiKey } = require('../../apiKeys')\n\n/**\n * ListOffsets Request (Version: 2) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'ListOffsets',\n encode: async () => {\n return new Encoder()\n .writeInt32(replicaId)\n .writeInt8(isolationLevel)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, timestamp = -1 }) => {\n return new Encoder().writeInt32(partition).writeInt64(timestamp)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * ListOffsets Response (Version: 2) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n timestamp: decoder.readInt64().toString(),\n offset: decoder.readInt64().toString(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * ListOffsets Request (Version: 3) => replica_id isolation_level [topics]\n * replica_id => INT32\n * isolation_level => INT8\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition timestamp\n * partition => INT32\n * timestamp => INT64\n */\nmodule.exports = ({ replicaId, isolationLevel, topics }) =>\n Object.assign(requestV2({ replicaId, isolationLevel, topics }), { apiVersion: 3 })\n","const { parse, decode: decodeV2 } = require('../v2/response')\n\n/**\n * In version 3 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * ListOffsets Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code timestamp offset\n * partition => INT32\n * error_code => INT16\n * timestamp => INT64\n * offset => INT64\n */\nconst decode = async rawData => {\n const decoded = await decodeV2(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ topics }), response }\n },\n 1: ({ topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ topics }), response }\n },\n 2: ({ topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ topics }), response }\n },\n 3: ({ topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ topics }), response }\n },\n 4: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 5: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n 6: ({ topics, allowAutoTopicCreation }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return { request: request({ topics, allowAutoTopicCreation }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 0) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Metadata Response (Version: 0) => [brokers] [topic_metadata]\n * brokers => node_id host port\n * node_id => INT32\n * host => STRING\n * port => INT32\n * topic_metadata => topic_error_code topic [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n // leader: The node id for the kafka broker currently acting as leader\n // for this partition\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nconst parse = async data => {\n const topicsWithErrors = data.topicMetadata.filter(topic => failure(topic.topicErrorCode))\n if (topicsWithErrors.length > 0) {\n const { topicErrorCode } = topicsWithErrors[0]\n throw createErrorFromCode(topicErrorCode)\n }\n\n const partitionsWithErrors = data.topicMetadata.map(topic => {\n return topic.partitionMetadata.filter(partition => failure(partition.partitionErrorCode))\n })\n\n const errors = flatten(partitionsWithErrors)\n if (errors.length > 0) {\n const { partitionErrorCode } = errors[0]\n throw createErrorFromCode(partitionErrorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 1) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics)\n },\n})\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 1) => [brokers] controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 2) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 2) => [brokers] cluster_id controller_id [topic_metadata]\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => topic_error_code topic is_internal [partition_metadata]\n * topic_error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => partition_error_code partition_id leader [replicas] [isr]\n * partition_error_code => INT16\n * partition_id => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * Metadata Request (Version: 3) => [topics]\n * topics => STRING\n */\n\nmodule.exports = ({ topics }) => Object.assign(requestV1({ topics }), { apiVersion: 3 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 3) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Metadata: apiKey } = require('../../apiKeys')\n\n/**\n * Metadata Request (Version: 4) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) => ({\n apiKey,\n apiVersion: 4,\n apiName: 'Metadata',\n encode: async () => {\n return new Encoder().writeNullableArray(topics).writeBoolean(allowAutoTopicCreation)\n },\n})\n","const { parse: parseV3, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Metadata Response (Version: 4) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n */\n\nmodule.exports = {\n parse: parseV3,\n decode: decodeV3,\n}\n","const requestV4 = require('../v4/request')\n\n/**\n * Metadata Request (Version: 5) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV4({ topics, allowAutoTopicCreation }), { apiVersion: 5 })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * Metadata Response (Version: 5) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\n\nconst broker = decoder => ({\n nodeId: decoder.readInt32(),\n host: decoder.readString(),\n port: decoder.readInt32(),\n rack: decoder.readString(),\n})\n\nconst topicMetadata = decoder => ({\n topicErrorCode: decoder.readInt16(),\n topic: decoder.readString(),\n isInternal: decoder.readBoolean(),\n partitionMetadata: decoder.readArray(partitionMetadata),\n})\n\nconst partitionMetadata = decoder => ({\n partitionErrorCode: decoder.readInt16(),\n partitionId: decoder.readInt32(),\n leader: decoder.readInt32(),\n replicas: decoder.readArray(d => d.readInt32()),\n isr: decoder.readArray(d => d.readInt32()),\n offlineReplicas: decoder.readArray(d => d.readInt32()),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n brokers: decoder.readArray(broker),\n clusterId: decoder.readString(),\n controllerId: decoder.readInt32(),\n topicMetadata: decoder.readArray(topicMetadata),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * Metadata Request (Version: 6) => [topics] allow_auto_topic_creation\n * topics => STRING\n * allow_auto_topic_creation => BOOLEAN\n */\n\nmodule.exports = ({ topics, allowAutoTopicCreation = true }) =>\n Object.assign(requestV5({ topics, allowAutoTopicCreation }), { apiVersion: 6 })\n","const { parse, decode: decodeV1 } = require('../v5/response')\n\n/**\n * In version 6 on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * Metadata Response (Version: 6) => throttle_time_ms [brokers] cluster_id controller_id [topic_metadata]\n * throttle_time_ms => INT32\n * brokers => node_id host port rack\n * node_id => INT32\n * host => STRING\n * port => INT32\n * rack => NULLABLE_STRING\n * cluster_id => NULLABLE_STRING\n * controller_id => INT32\n * topic_metadata => error_code topic is_internal [partition_metadata]\n * error_code => INT16\n * topic => STRING\n * is_internal => BOOLEAN\n * partition_metadata => error_code partition leader [replicas] [isr] [offline_replicas]\n * error_code => INT16\n * partition => INT32\n * leader => INT32\n * replicas => INT32\n * isr => INT32\n * offline_replicas => INT32\n */\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// This value signals to the broker that its default configuration should be used.\nconst RETENTION_TIME = -1\n\nconst versions = {\n 0: ({ groupId, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ groupId, topics }), response }\n },\n 1: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, groupGenerationId, memberId, topics }), response }\n },\n 2: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 3: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 4: ({ groupId, groupGenerationId, memberId, retentionTime = RETENTION_TIME, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n retentionTime,\n topics,\n }),\n response,\n }\n },\n 5: ({ groupId, groupGenerationId, memberId, topics }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n groupId,\n groupGenerationId,\n memberId,\n topics,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 0) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetCommit Response (Version: 0) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 1) => group_id group_generation_id member_id [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset timestamp metadata\n * partition => INT32\n * offset => INT64\n * timestamp => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, timestamp = Date.now(), metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeInt64(timestamp)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetCommit Request (Version: 2) => group_id group_generation_id member_id retention_time [topics]\n * group_id => STRING\n * group_generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeInt64(retentionTime)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV2 = require('../v2/request')\n\n/**\n * OffsetCommit Request (Version: 3) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV2({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 3,\n })\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * OffsetCommit Response (Version: 3) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id retention_time [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * retention_time => INT64\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, retentionTime, topics }) =>\n Object.assign(requestV3({ groupId, groupGenerationId, memberId, retentionTime, topics }), {\n apiVersion: 4,\n })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetCommit Response (Version: 4) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * Version 5 removes retention_time, as this is controlled by a broker setting\n *\n * OffsetCommit Request (Version: 4) => group_id generation_id member_id [topics]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ groupId, groupGenerationId, memberId, topics }) => ({\n apiKey,\n apiVersion: 5,\n apiName: 'OffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(groupGenerationId)\n .writeString(memberId)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata = null }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const { parse, decode } = require('../v4/response')\n\n/**\n * OffsetCommit Response (Version: 5) => throttle_time_ms [responses]\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 1: ({ groupId, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ groupId, topics }), response }\n },\n 2: ({ groupId, topics }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ groupId, topics }), response }\n },\n 3: ({ groupId, topics }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return { request: request({ groupId, topics }), response }\n },\n 4: ({ groupId, topics }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return { request: request({ groupId, topics }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 1) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 1,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 1) => [responses]\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * OffsetFetch Request (Version: 2) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV1({ groupId, topics }), { apiVersion: 2 })\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * OffsetFetch Response (Version: 2) => [responses] error_code\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n const partitionsWithError = data.responses.map(response =>\n response.partitions.filter(partition => failure(partition.errorCode))\n )\n const partitionWithError = flatten(partitionsWithError)[0]\n if (partitionWithError) {\n throw createErrorFromCode(partitionWithError.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { OffsetFetch: apiKey } = require('../../apiKeys')\n\n/**\n * OffsetFetch Request (Version: 3) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'OffsetFetch',\n encode: async () => {\n return new Encoder().writeString(groupId).writeNullableArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition }) => {\n return new Encoder().writeInt32(partition)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV2 } = require('../v2/response')\n\n/**\n * OffsetFetch Response (Version: 3) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n return {\n throttleTime: decoder.readInt32(),\n responses: decoder.readArray(decodeResponses),\n errorCode: decoder.readInt16(),\n }\n}\n\nconst decodeResponses = decoder => ({\n topic: decoder.readString(),\n partitions: decoder.readArray(decodePartitions),\n})\n\nconst decodePartitions = decoder => ({\n partition: decoder.readInt32(),\n offset: decoder.readInt64().toString(),\n metadata: decoder.readString(),\n errorCode: decoder.readInt16(),\n})\n\nmodule.exports = {\n decode,\n parse: parseV2,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * OffsetFetch Request (Version: 4) => group_id [topics]\n * group_id => STRING\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition\n * partition => INT32\n */\n\nmodule.exports = ({ groupId, topics }) =>\n Object.assign(requestV3({ groupId, topics }), { apiVersion: 4 })\n","const { parse, decode: decodeV3 } = require('../v3/response')\n\n/**\n * Starting in version 4, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * OffsetFetch Response (Version: 4) => throttle_time_ms [responses] error_code\n * throttle_time_ms => INT32\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition offset metadata error_code\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n * error_code => INT16\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV3(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ acks, timeout, topicData }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 1: ({ acks, timeout, topicData }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ acks, timeout, topicData }), response }\n },\n 2: ({ acks, timeout, topicData, compression }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return { request: request({ acks, timeout, compression, topicData }), response }\n },\n 3: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 4: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v4/request')\n const response = require('./v4/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 5: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v5/request')\n const response = require('./v5/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 6: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v6/request')\n const response = require('./v6/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n 7: ({ acks, timeout, compression, topicData, transactionalId, producerId, producerEpoch }) => {\n const request = require('./v7/request')\n const response = require('./v7/response')\n return {\n request: request({\n acks,\n timeout,\n compression,\n topicData,\n transactionalId,\n producerId,\n producerEpoch,\n }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\n\n/**\n * Produce Request (Version: 0) => acks timeout [topic_data]\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set record_set_size\n * partition => INT32\n * record_set_size => INT32\n * record_set => RECORDS\n */\n\n/**\n * MessageV0:\n * {\n * key: bytes,\n * value: bytes\n * }\n *\n * MessageSet:\n * [\n * { key: \"\", value: \"\" },\n * { key: \"\", value: \"\" },\n * ]\n *\n * TopicData:\n * [\n * {\n * topic: 'name1',\n * partitions: [\n * {\n * partition: 0,\n * messages: []\n * }\n * ]\n * }\n * ]\n */\n\n/**\n * @param acks {Integer} This field indicates how many acknowledgements the servers should receive before\n * responding to the request. If it is 0 the server will not send any response\n * (this is the only case where the server will not reply to a request). If it is 1,\n * the server will wait the data is written to the local log before sending a response.\n * If it is -1 the server will block until the message is committed by all in sync replicas\n * before sending a response.\n *\n * @param timeout {Integer} This provides a maximum time in milliseconds the server can await the receipt of the number\n * of acknowledgements in RequiredAcks. The timeout is not an exact limit on the request time\n * for a few reasons:\n * (1) it does not include network latency,\n * (2) the timer begins at the beginning of the processing of this request so if many requests are\n * queued due to server overload that wait time will not be included,\n * (3) we will not terminate a local write so if the local write time exceeds this timeout it will not\n * be respected. To get a hard timeout of this type the client should use the socket timeout.\n *\n * @param topicData {Array}\n */\nmodule.exports = ({ acks, timeout, topicData }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(topicData.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartitions))\n}\n\nconst encodePartitions = ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 0, entries: messages })\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * v0\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]]\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n return {\n topics,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(topic => {\n return topic.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n// Produce Request on or after v1 indicates the client can parse the quota throttle time\n// in the Produce Response.\n\nmodule.exports = ({ acks, timeout, topicData }) => {\n return Object.assign(requestV0({ acks, timeout, topicData }), { apiVersion: 1 })\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v1 (supported in 0.9.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst MessageSet = require('../../../messageSet')\nconst { Types, lookupCodec } = require('../../../message/compression')\n\n// Produce Request on or after v2 indicates the client can parse the timestamp field\n// in the produce Response.\n\nmodule.exports = ({ acks, timeout, compression = Types.None, topicData }) => ({\n apiKey,\n apiVersion: 2,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(await encodeTopic(data))\n }\n\n return new Encoder()\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => {\n const encodePartitions = partitionsEncoder(compression)\n\n return async ({ topic, partitions }) => {\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(await encodePartitions(data))\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n }\n}\n\nconst partitionsEncoder = compression => async ({ partition, messages }) => {\n const messageSet = MessageSet({ messageVersion: 1, compression, entries: messages })\n\n if (compression === Types.None) {\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(messageSet.size())\n .writeEncoder(messageSet)\n }\n\n const timestamp = messages[0].timestamp || Date.now()\n\n const codec = lookupCodec(compression)\n const compressedValue = await codec.compress(messageSet)\n const compressedMessageSet = MessageSet({\n messageVersion: 1,\n entries: [{ compression, timestamp, value: compressedValue }],\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(compressedMessageSet.size())\n .writeEncoder(compressedMessageSet)\n}\n","const Decoder = require('../../../decoder')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * v2 (supported in 0.10.0 or later)\n * ProduceResponse => [TopicName [Partition ErrorCode Offset Timestamp]] ThrottleTime\n * TopicName => string\n * Partition => int32\n * ErrorCode => int16\n * Offset => int64\n * Timestamp => int64\n * ThrottleTime => int32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n offset: decoder.readInt64().toString(),\n timestamp: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const Long = require('../../../../utils/long')\nconst Encoder = require('../../../encoder')\nconst { Produce: apiKey } = require('../../apiKeys')\nconst { Types } = require('../../../message/compression')\nconst Record = require('../../../recordBatch/record/v0')\nconst { RecordBatch } = require('../../../recordBatch/v0')\n\n/**\n * Produce Request (Version: 3) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\n/**\n * @param [transactionalId=null] {String} The transactional id or null if the producer is not transactional\n * @param acks {Integer} See producer request v0\n * @param timeout {Integer} See producer request v0\n * @param [compression=CompressionTypes.None] {CompressionTypes}\n * @param topicData {Array}\n */\nmodule.exports = ({\n acks,\n timeout,\n transactionalId = null,\n producerId = Long.fromInt(-1),\n producerEpoch = 0,\n compression = Types.None,\n topicData,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'Produce',\n expectResponse: () => acks !== 0,\n encode: async () => {\n const encodeTopic = topicEncoder(compression)\n const encodedTopicData = []\n\n for (const data of topicData) {\n encodedTopicData.push(\n await encodeTopic({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder()\n .writeString(transactionalId)\n .writeInt16(acks)\n .writeInt32(timeout)\n .writeArray(encodedTopicData)\n },\n})\n\nconst topicEncoder = compression => async ({\n topic,\n partitions,\n transactionalId,\n producerId,\n producerEpoch,\n}) => {\n const encodePartitions = partitionsEncoder(compression)\n const encodedPartitions = []\n\n for (const data of partitions) {\n encodedPartitions.push(\n await encodePartitions({ ...data, transactionalId, producerId, producerEpoch })\n )\n }\n\n return new Encoder().writeString(topic).writeArray(encodedPartitions)\n}\n\nconst partitionsEncoder = compression => async ({\n partition,\n messages,\n transactionalId,\n firstSequence,\n producerId,\n producerEpoch,\n}) => {\n const dateNow = Date.now()\n const messageTimestamps = messages\n .map(m => m.timestamp)\n .filter(timestamp => timestamp != null)\n .sort()\n\n const timestamps = messageTimestamps.length === 0 ? [dateNow] : messageTimestamps\n const firstTimestamp = timestamps[0]\n const maxTimestamp = timestamps[timestamps.length - 1]\n\n const records = messages.map((message, i) =>\n Record({\n ...message,\n offsetDelta: i,\n timestampDelta: (message.timestamp || dateNow) - firstTimestamp,\n })\n )\n\n const recordBatch = await RecordBatch({\n compression,\n records,\n firstTimestamp,\n maxTimestamp,\n producerId,\n producerEpoch,\n firstSequence,\n transactional: !!transactionalId,\n lastOffsetDelta: records.length - 1,\n })\n\n return new Encoder()\n .writeInt32(partition)\n .writeInt32(recordBatch.size())\n .writeEncoder(recordBatch)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\nconst flatten = require('../../../../utils/flatten')\n\n/**\n * Produce Response (Version: 3) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nconst parse = async data => {\n const partitionsWithError = data.topics.map(response => {\n return response.partitions.filter(partition => failure(partition.errorCode))\n })\n\n const errors = flatten(partitionsWithError)\n if (errors.length > 0) {\n const { errorCode } = errors[0]\n throw createErrorFromCode(errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 4) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 4 }\n )\n","const { decode, parse } = require('../v3/response')\n\n/**\n * Produce Response (Version: 4) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV3 = require('../v3/request')\n\n/**\n * Produce Request (Version: 5) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV3({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 5 }\n )\n","const Decoder = require('../../../decoder')\nconst { parse: parseV3 } = require('../v3/response')\n\n/**\n * Produce Response (Version: 5) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst partition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n baseOffset: decoder.readInt64().toString(),\n logAppendTime: decoder.readInt64().toString(),\n logStartOffset: decoder.readInt64().toString(),\n})\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const topics = decoder.readArray(decoder => ({\n topicName: decoder.readString(),\n partitions: decoder.readArray(partition),\n }))\n\n const throttleTime = decoder.readInt32()\n\n return {\n topics,\n throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV3,\n}\n","const requestV5 = require('../v5/request')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L113-L117\n *\n * Produce Request (Version: 6) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV5({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 6 }\n )\n","const { parse, decode: decodeV5 } = require('../v5/response')\n\n/**\n * The version number is bumped to indicate that on quota violation brokers send out responses before throttling.\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceResponse.java#L152-L156\n *\n * Produce Response (Version: 6) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV5(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV6 = require('../v6/request')\n\n/**\n * V7 indicates ZStandard capability (see KIP-110)\n * @see https://github.com/apache/kafka/blob/9c8f75c4b624084c954b4da69f092211a9ac4689/clients/src/main/java/org/apache/kafka/common/requests/ProduceRequest.java#L118-L121\n *\n * Produce Request (Version: 7) => transactional_id acks timeout [topic_data]\n * transactional_id => NULLABLE_STRING\n * acks => INT16\n * timeout => INT32\n * topic_data => topic [data]\n * topic => STRING\n * data => partition record_set\n * partition => INT32\n * record_set => RECORDS\n */\n\nmodule.exports = ({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n}) =>\n Object.assign(\n requestV6({\n acks,\n timeout,\n transactionalId,\n producerId,\n producerEpoch,\n compression,\n topicData,\n }),\n { apiVersion: 7 }\n )\n","const { decode, parse } = require('../v6/response')\n\n/**\n * Produce Response (Version: 7) => [responses] throttle_time_ms\n * responses => topic [partition_responses]\n * topic => STRING\n * partition_responses => partition error_code base_offset log_append_time log_start_offset\n * partition => INT32\n * error_code => INT16\n * base_offset => INT64\n * log_append_time => INT64\n * log_start_offset => INT64\n * throttle_time_ms => INT32\n */\n\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ authBytes }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ authBytes }), response }\n },\n 1: ({ authBytes }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ authBytes }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslAuthenticate: apiKey } = require('../../apiKeys')\n\n/**\n * SaslAuthenticate Request (Version: 0) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslAuthenticate',\n encode: async () => {\n return new Encoder().writeBuffer(authBytes)\n },\n})\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst {\n failure,\n createErrorFromCode,\n failIfVersionNotSupported,\n errorCodes,\n} = require('../../../error')\n\nconst { KafkaJSProtocolError } = require('../../../../errors')\nconst SASL_AUTHENTICATION_FAILED = 58\nconst protocolAuthError = errorCodes.find(e => e.code === SASL_AUTHENTICATION_FAILED)\n\n/**\n * SaslAuthenticate Response (Version: 0) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n }\n}\n\nconst parse = async data => {\n if (data.errorCode === SASL_AUTHENTICATION_FAILED && data.errorMessage) {\n throw new KafkaJSProtocolError({\n ...protocolAuthError,\n message: data.errorMessage,\n })\n }\n\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SaslAuthenticate Request (Version: 1) => sasl_auth_bytes\n * sasl_auth_bytes => BYTES\n */\n\n/**\n * @param {Buffer} authBytes - SASL authentication bytes from client as defined by the SASL mechanism\n */\nmodule.exports = ({ authBytes }) => Object.assign(requestV0({ authBytes }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst Encoder = require('../../../encoder')\nconst { parse: parseV0 } = require('../v0/response')\nconst { failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslAuthenticate Response (Version: 1) => error_code error_message sasl_auth_bytes\n * error_code => INT16\n * error_message => NULLABLE_STRING\n * sasl_auth_bytes => BYTES\n * session_lifetime_ms => INT64\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n const errorMessage = decoder.readString()\n\n // This is necessary to make the response compatible with the original\n // mechanism protocols. They expect a byte response, which starts with\n // the size\n const authBytesEncoder = new Encoder().writeBytes(decoder.readBytes())\n const authBytes = authBytesEncoder.buffer\n const sessionLifetimeMs = decoder.readInt64().toString()\n\n return {\n errorCode,\n errorMessage,\n authBytes,\n sessionLifetimeMs,\n }\n}\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ mechanism }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return { request: request({ mechanism }), response }\n },\n 1: ({ mechanism }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return { request: request({ mechanism }), response }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SaslHandshake: apiKey } = require('../../apiKeys')\n\n/**\n * SaslHandshake Request (Version: 0) => mechanism\n * mechanism => STRING\n */\n\n/**\n * @param {string} mechanism - SASL Mechanism chosen by the client\n */\nmodule.exports = ({ mechanism }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SaslHandshake',\n encode: async () => new Encoder().writeString(mechanism),\n})\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SaslHandshake Response (Version: 0) => error_code [enabled_mechanisms]\n * error_code => INT16\n * enabled_mechanisms => STRING\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n enabledMechanisms: decoder.readArray(decoder => decoder.readString()),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\nmodule.exports = ({ mechanism }) => ({ ...requestV0({ mechanism }), apiVersion: 1 })\n","const { decode: decodeV0, parse: parseV0 } = require('../v0/response')\n\nmodule.exports = {\n decode: decodeV0,\n parse: parseV0,\n}\n","const versions = {\n 0: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 1: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 2: ({ groupId, generationId, memberId, groupAssignment }) => {\n const request = require('./v2/request')\n const response = require('./v2/response')\n return {\n request: request({ groupId, generationId, memberId, groupAssignment }),\n response,\n }\n },\n 3: ({ groupId, generationId, memberId, groupInstanceId, groupAssignment }) => {\n const request = require('./v3/request')\n const response = require('./v3/response')\n return {\n request: request({ groupId, generationId, memberId, groupInstanceId, groupAssignment }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * SyncGroup Request (Version: 0) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode, failIfVersionNotSupported } = require('../../../error')\n\n/**\n * SyncGroup Response (Version: 0) => error_code member_assignment\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nconst parse = async data => {\n if (failure(data.errorCode)) {\n throw createErrorFromCode(data.errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * SyncGroup Request (Version: 1) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV0({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 1 })\n","const Decoder = require('../../../decoder')\nconst { failIfVersionNotSupported } = require('../../../error')\nconst { parse: parseV0 } = require('../v0/response')\n\n/**\n * SyncGroup Response (Version: 1) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const errorCode = decoder.readInt16()\n\n failIfVersionNotSupported(errorCode)\n\n return {\n throttleTime,\n errorCode,\n memberAssignment: decoder.readBytes(),\n }\n}\n\nmodule.exports = {\n decode,\n parse: parseV0,\n}\n","const requestV1 = require('../v1/request')\n\n/**\n * SyncGroup Request (Version: 2) => group_id generation_id member_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({ groupId, generationId, memberId, groupAssignment }) =>\n Object.assign(requestV1({ groupId, generationId, memberId, groupAssignment }), { apiVersion: 2 })\n","const { parse, decode: decodeV1 } = require('../v1/response')\n\n/**\n * In version 2, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const Encoder = require('../../../encoder')\nconst { SyncGroup: apiKey } = require('../../apiKeys')\n\n/**\n * Version 3 adds group_instance_id to indicate member identity across restarts.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-345%3A+Introduce+static+membership+protocol+to+reduce+consumer+rebalances\n *\n * SyncGroup Request (Version: 3) => group_id generation_id member_id group_instance_id [group_assignment]\n * group_id => STRING\n * generation_id => INT32\n * member_id => STRING\n * group_instance_id => NULLABLE_STRING\n * group_assignment => member_id member_assignment\n * member_id => STRING\n * member_assignment => BYTES\n */\n\nmodule.exports = ({\n groupId,\n generationId,\n memberId,\n groupInstanceId = null,\n groupAssignment,\n}) => ({\n apiKey,\n apiVersion: 3,\n apiName: 'SyncGroup',\n encode: async () => {\n return new Encoder()\n .writeString(groupId)\n .writeInt32(generationId)\n .writeString(memberId)\n .writeString(groupInstanceId)\n .writeArray(groupAssignment.map(encodeGroupAssignment))\n },\n})\n\nconst encodeGroupAssignment = ({ memberId, memberAssignment }) => {\n return new Encoder().writeString(memberId).writeBytes(memberAssignment)\n}\n","const { decode, parse } = require('../v2/response')\n\n/**\n * SyncGroup Response (Version: 2) => throttle_time_ms error_code member_assignment\n * throttle_time_ms => INT32\n * error_code => INT16\n * member_assignment => BYTES\n */\nmodule.exports = {\n decode,\n parse,\n}\n","const versions = {\n 0: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v0/request')\n const response = require('./v0/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n 1: ({ transactionalId, groupId, producerId, producerEpoch, topics }) => {\n const request = require('./v1/request')\n const response = require('./v1/response')\n return {\n request: request({ transactionalId, groupId, producerId, producerEpoch, topics }),\n response,\n }\n },\n}\n\nmodule.exports = {\n versions: Object.keys(versions),\n protocol: ({ version }) => versions[version],\n}\n","const Encoder = require('../../../encoder')\nconst { TxnOffsetCommit: apiKey } = require('../../apiKeys')\n\n/**\n * TxnOffsetCommit Request (Version: 0) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) => ({\n apiKey,\n apiVersion: 0,\n apiName: 'TxnOffsetCommit',\n encode: async () => {\n return new Encoder()\n .writeString(transactionalId)\n .writeString(groupId)\n .writeInt64(producerId)\n .writeInt16(producerEpoch)\n .writeArray(topics.map(encodeTopic))\n },\n})\n\nconst encodeTopic = ({ topic, partitions }) => {\n return new Encoder().writeString(topic).writeArray(partitions.map(encodePartition))\n}\n\nconst encodePartition = ({ partition, offset, metadata }) => {\n return new Encoder()\n .writeInt32(partition)\n .writeInt64(offset)\n .writeString(metadata)\n}\n","const Decoder = require('../../../decoder')\nconst { failure, createErrorFromCode } = require('../../../error')\n\n/**\n * TxnOffsetCommit Response (Version: 0) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\nconst decode = async rawData => {\n const decoder = new Decoder(rawData)\n const throttleTime = decoder.readInt32()\n const topics = await decoder.readArrayAsync(decodeTopic)\n\n return {\n throttleTime,\n topics,\n }\n}\n\nconst decodeTopic = async decoder => ({\n topic: decoder.readString(),\n partitions: await decoder.readArrayAsync(decodePartition),\n})\n\nconst decodePartition = decoder => ({\n partition: decoder.readInt32(),\n errorCode: decoder.readInt16(),\n})\n\nconst parse = async data => {\n const topicsWithErrors = data.topics\n .map(({ partitions }) => ({\n partitionsWithErrors: partitions.filter(({ errorCode }) => failure(errorCode)),\n }))\n .filter(({ partitionsWithErrors }) => partitionsWithErrors.length)\n\n if (topicsWithErrors.length > 0) {\n throw createErrorFromCode(topicsWithErrors[0].partitionsWithErrors[0].errorCode)\n }\n\n return data\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","const requestV0 = require('../v0/request')\n\n/**\n * TxnOffsetCommit Request (Version: 1) => transactional_id group_id producer_id producer_epoch [topics]\n * transactional_id => STRING\n * group_id => STRING\n * producer_id => INT64\n * producer_epoch => INT16\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition offset metadata\n * partition => INT32\n * offset => INT64\n * metadata => NULLABLE_STRING\n */\n\nmodule.exports = ({ transactionalId, groupId, producerId, producerEpoch, topics }) =>\n Object.assign(requestV0({ transactionalId, groupId, producerId, producerEpoch, topics }), {\n apiVersion: 1,\n })\n","const { parse, decode: decodeV1 } = require('../v0/response')\n\n/**\n * In version 1, on quota violation, brokers send out responses before throttling.\n * @see https://cwiki.apache.org/confluence/display/KAFKA/KIP-219+-+Improve+quota+communication\n *\n * TxnOffsetCommit Response (Version: 1) => throttle_time_ms [topics]\n * throttle_time_ms => INT32\n * topics => topic [partitions]\n * topic => STRING\n * partitions => partition error_code\n * partition => INT32\n * error_code => INT16\n */\n\nconst decode = async rawData => {\n const decoded = await decodeV1(rawData)\n\n return {\n ...decoded,\n throttleTime: 0,\n clientSideThrottleTime: decoded.throttleTime,\n }\n}\n\nmodule.exports = {\n decode,\n parse,\n}\n","// From:\n// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/resource/PatternType.java#L32\n\n/**\n * @typedef {number} ACLResourcePatternTypes\n *\n * Enum for ACL Resource Pattern Type\n * @readonly\n * @enum {ACLResourcePatternTypes}\n */\nmodule.exports = {\n /**\n * Represents any PatternType which this client cannot understand, perhaps because this client is too old.\n */\n UNKNOWN: 0,\n /**\n * In a filter, matches any resource pattern type.\n */\n ANY: 1,\n /**\n * In a filter, will perform pattern matching.\n *\n * e.g. Given a filter of {@code ResourcePatternFilter(TOPIC, \"payments.received\", MATCH)`}, the filter match\n * any {@link ResourcePattern} that matches topic 'payments.received'. This might include:\n *
    \n *
  • A Literal pattern with the same type and name, e.g. {@code ResourcePattern(TOPIC, \"payments.received\", LITERAL)}
  • \n *
  • A Wildcard pattern with the same type, e.g. {@code ResourcePattern(TOPIC, \"*\", LITERAL)}
  • \n *
  • A Prefixed pattern with the same type and where the name is a matching prefix, e.g. {@code ResourcePattern(TOPIC, \"payments.\", PREFIXED)}
  • \n *
\n */\n MATCH: 2,\n /**\n * A literal resource name.\n *\n * A literal name defines the full name of a resource, e.g. topic with name 'foo', or group with name 'bob'.\n *\n * The special wildcard character {@code *} can be used to represent a resource with any name.\n */\n LITERAL: 3,\n /**\n * A prefixed resource name.\n *\n * A prefixed name defines a prefix for a resource, e.g. topics with names that start with 'foo'.\n */\n PREFIXED: 4,\n}\n","const ACLResourceTypes = require('./aclResourceTypes')\n\n/**\n * @deprecated\n * @see https://github.com/tulios/kafkajs/issues/649\n *\n * Use ConfigResourceTypes or AclResourceTypes instead.\n */\nmodule.exports = ACLResourceTypes\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","const Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity, accessKeyId, secretAccessKey, sessionToken = '' }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, accessKeyId, secretAccessKey, sessionToken].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc5801.txt\n *\n * See org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerClientInitialResponse\n * for official Java client implementation.\n *\n * The mechanism consists of a message from the client to the server.\n * The client sends the \"n,\"\" GS header, followed by the authorizationIdentitty\n * prefixed by \"a=\" (if present), followed by \",\", followed by a US-ASCII SOH\n * character, followed by \"auth=Bearer \", followed by the token value, followed\n * by US-ASCII SOH character, followed by SASL extensions in OAuth \"friendly\"\n * format and then closed by two additionals US-ASCII SOH characters.\n *\n * SASL extensions are optional an must be expressed as key-value pairs in an\n * object. Each expression is converted as, the extension entry key, followed\n * by \"=\", followed by extension entry value. Each extension is separated by a\n * US-ASCII SOH character. If extensions are not present, their relative part\n * in the message, including the US-ASCII SOH character, is omitted.\n *\n * The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication token and verify that the\n * authentication credentials permit the client to login as the authorization\n * identity. If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst SEPARATOR = '\\u0001' // SOH - Start Of Header ASCII\n\nfunction formatExtensions(extensions) {\n let msg = ''\n\n if (extensions == null) {\n return msg\n }\n\n let prefix = ''\n for (const k in extensions) {\n msg += `${prefix}${k}=${extensions[k]}`\n prefix = SEPARATOR\n }\n\n return msg\n}\n\nmodule.exports = async ({ authorizationIdentity = null }, oauthBearerToken) => {\n const authzid = authorizationIdentity == null ? '' : `\"a=${authorizationIdentity}`\n let ext = formatExtensions(oauthBearerToken.extensions)\n if (ext.length > 0) {\n ext = `${SEPARATOR}${ext}`\n }\n\n const oauthMsg = `n,${authzid},${SEPARATOR}auth=Bearer ${oauthBearerToken.value}${ext}${SEPARATOR}${SEPARATOR}`\n\n return {\n encode: async () => {\n return new Encoder().writeBytes(Buffer.from(oauthMsg))\n },\n }\n}\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","module.exports = {\n request: require('./request'),\n response: require('./response'),\n}\n","/**\n * http://www.ietf.org/rfc/rfc2595.txt\n *\n * The mechanism consists of a single message from the client to the\n * server. The client sends the authorization identity (identity to\n * login as), followed by a US-ASCII NUL character, followed by the\n * authentication identity (identity whose password will be used),\n * followed by a US-ASCII NUL character, followed by the clear-text\n * password. The client may leave the authorization identity empty to\n * indicate that it is the same as the authentication identity.\n *\n * The server will verify the authentication identity and password with\n * the system authentication database and verify that the authentication\n * credentials permit the client to login as the authorization identity.\n * If both steps succeed, the user is logged in.\n */\n\nconst Encoder = require('../../encoder')\n\nconst US_ASCII_NULL_CHAR = '\\u0000'\n\nmodule.exports = ({ authorizationIdentity = null, username, password }) => ({\n encode: async () => {\n return new Encoder().writeBytes(\n [authorizationIdentity, username, password].join(US_ASCII_NULL_CHAR)\n )\n },\n})\n","module.exports = {\n decode: async () => true,\n parse: async () => true,\n}\n","const Encoder = require('../../../encoder')\n\nmodule.exports = ({ finalMessage }) => ({\n encode: async () => new Encoder().writeBytes(finalMessage),\n})\n","module.exports = require('../firstMessage/response')\n","/**\n * https://tools.ietf.org/html/rfc5802\n *\n * First, the client sends the \"client-first-message\" containing:\n *\n * -> a GS2 header consisting of a flag indicating whether channel\n * binding is supported-but-not-used, not supported, or used, and an\n * optional SASL authorization identity;\n *\n * -> SCRAM username and a random, unique nonce attributes.\n *\n * Note that the client's first message will always start with \"n\", \"y\",\n * or \"p\"; otherwise, the message is invalid and authentication MUST\n * fail. This is important, as it allows for GS2 extensibility (e.g.,\n * to add support for security layers).\n */\n\nconst Encoder = require('../../../encoder')\n\nmodule.exports = ({ clientFirstMessage }) => ({\n encode: async () => new Encoder().writeBytes(clientFirstMessage),\n})\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"_\" }] */\n\nconst Decoder = require('../../../decoder')\n\nconst ENTRY_REGEX = /^([rsiev])=(.*)$/\n\nmodule.exports = {\n decode: async rawData => {\n return new Decoder(rawData).readBytes()\n },\n parse: async data => {\n const processed = data\n .toString()\n .split(',')\n .map(str => {\n const [_, key, value] = str.match(ENTRY_REGEX)\n return [key, value]\n })\n .reduce((obj, entry) => ({ ...obj, [entry[0]]: entry[1] }), {})\n\n return { original: data.toString(), ...processed }\n },\n}\n","module.exports = {\n firstMessage: {\n request: require('./firstMessage/request'),\n response: require('./firstMessage/response'),\n },\n finalMessage: {\n request: require('./finalMessage/request'),\n response: require('./finalMessage/response'),\n },\n}\n","/**\n * Enum for timestamp types\n * @readonly\n * @enum {TimestampType}\n */\nmodule.exports = {\n // Timestamp type is unknown\n NO_TIMESTAMP: -1,\n\n // Timestamp relates to message creation time as set by a Kafka client\n CREATE_TIME: 0,\n\n // Timestamp relates to the time a message was appended to a Kafka log\n LOG_APPEND_TIME: 1,\n}\n","module.exports = {\n maxRetryTime: 30 * 1000,\n initialRetryTime: 300,\n factor: 0.2, // randomization factor\n multiplier: 2, // exponential factor\n retries: 5, // max retries\n}\n","module.exports = {\n maxRetryTime: 1000,\n initialRetryTime: 50,\n factor: 0.02, // randomization factor\n multiplier: 1.5, // exponential factor\n retries: 15, // max retries\n}\n","const { KafkaJSNumberOfRetriesExceeded, KafkaJSNonRetriableError } = require('../errors')\n\nconst isTestMode = process.env.NODE_ENV === 'test'\nconst RETRY_DEFAULT = isTestMode ? require('./defaults.test') : require('./defaults')\n\nconst random = (min, max) => {\n return Math.random() * (max - min) + min\n}\n\nconst randomFromRetryTime = (factor, retryTime) => {\n const delta = factor * retryTime\n return Math.ceil(random(retryTime - delta, retryTime + delta))\n}\n\nconst UNRECOVERABLE_ERRORS = ['RangeError', 'ReferenceError', 'SyntaxError', 'TypeError']\nconst isErrorUnrecoverable = e => UNRECOVERABLE_ERRORS.includes(e.name)\nconst isErrorRetriable = error =>\n (error.retriable || error.retriable !== false) && !isErrorUnrecoverable(error)\n\nconst createRetriable = (configs, resolve, reject, fn) => {\n let aborted = false\n const { factor, multiplier, maxRetryTime, retries } = configs\n\n const bail = error => {\n aborted = true\n reject(error || new Error('Aborted'))\n }\n\n const calculateExponentialRetryTime = retryTime => {\n return Math.min(randomFromRetryTime(factor, retryTime) * multiplier, maxRetryTime)\n }\n\n const retry = (retryTime, retryCount = 0) => {\n if (aborted) return\n\n const nextRetryTime = calculateExponentialRetryTime(retryTime)\n const shouldRetry = retryCount < retries\n\n const scheduleRetry = () => {\n setTimeout(() => retry(nextRetryTime, retryCount + 1), retryTime)\n }\n\n fn(bail, retryCount, retryTime)\n .then(resolve)\n .catch(e => {\n if (isErrorRetriable(e)) {\n if (shouldRetry) {\n scheduleRetry()\n } else {\n reject(new KafkaJSNumberOfRetriesExceeded(e, { retryCount, retryTime }))\n }\n } else {\n reject(new KafkaJSNonRetriableError(e))\n }\n })\n }\n\n return retry\n}\n\n/**\n * @typedef {(fn: (bail: (err: Error) => void, retryCount: number, retryTime: number) => any) => Promise>} Retrier\n */\n\n/**\n * @param {import(\"../../types\").RetryOptions} [opts]\n * @returns {Retrier}\n */\nmodule.exports = (opts = {}) => fn => {\n return new Promise((resolve, reject) => {\n const configs = Object.assign({}, RETRY_DEFAULT, opts)\n const start = createRetriable(configs, resolve, reject, fn)\n start(randomFromRetryTime(configs.factor, configs.initialRetryTime))\n })\n}\n","module.exports = (a, b) => {\n const result = []\n const length = a.length\n let i = 0\n\n while (i < length) {\n if (b.indexOf(a[i]) === -1) {\n result.push(a[i])\n }\n i += 1\n }\n\n return result\n}\n","const defaultErrorHandler = e => {\n throw e\n}\n\n/**\n * Generator that processes the given promises, and yields their result in the order of them resolving.\n *\n * @template T\n * @param {Promise[]} promises promises to process\n * @param {(err: Error) => any} [handleError] optional error handler\n * @returns {Generator>}\n */\nfunction* BufferedAsyncIterator(promises, handleError = defaultErrorHandler) {\n /** Queue of promises in order of resolution */\n const promisesQueue = []\n /** Queue of {resolve, reject} in the same order as `promisesQueue` */\n const resolveRejectQueue = []\n\n promises.forEach(promise => {\n // Create a new promise into the promises queue, and keep the {resolve,reject}\n // in the resolveRejectQueue\n let resolvePromise\n let rejectPromise\n promisesQueue.push(\n new Promise((resolve, reject) => {\n resolvePromise = resolve\n rejectPromise = reject\n })\n )\n resolveRejectQueue.push({ resolve: resolvePromise, reject: rejectPromise })\n\n // When the promise resolves pick the next available {resolve, reject}, and\n // through that resolve the next promise in the queue\n promise.then(\n result => {\n const { resolve } = resolveRejectQueue.pop()\n resolve(result)\n },\n async err => {\n const { reject } = resolveRejectQueue.pop()\n try {\n await handleError(err)\n reject(err)\n } catch (newError) {\n reject(newError)\n }\n }\n )\n })\n\n // While there are promises left pick the next one to yield\n // The caller will then wait for the value to resolve.\n while (promisesQueue.length > 0) {\n const nextPromise = promisesQueue.pop()\n yield nextPromise\n }\n}\n\nmodule.exports = BufferedAsyncIterator\n","const { KafkaJSNonRetriableError } = require('../errors')\n\nconst REJECTED_ERROR = new KafkaJSNonRetriableError(\n 'Queued function aborted due to earlier promise rejection'\n)\nfunction NOOP() {}\n\nconst concurrency = ({ limit, onChange = NOOP } = {}) => {\n if (isNaN(limit) || typeof limit !== 'number' || limit < 1) {\n throw new KafkaJSNonRetriableError(`\"limit\" cannot be less than 1`)\n }\n\n let waiting = []\n let semaphore = 0\n\n const clear = () => {\n for (const lazyAction of waiting) {\n lazyAction((_1, _2, reject) => reject(REJECTED_ERROR))\n }\n waiting = []\n semaphore = 0\n }\n\n const next = () => {\n semaphore--\n onChange(semaphore)\n\n if (waiting.length > 0) {\n const lazyAction = waiting.shift()\n lazyAction()\n }\n }\n\n const invoke = (action, resolve, reject) => {\n semaphore++\n onChange(semaphore)\n\n action()\n .then(result => {\n resolve(result)\n next()\n })\n .catch(error => {\n reject(error)\n clear()\n })\n }\n\n const push = (action, resolve, reject) => {\n if (semaphore < limit) {\n invoke(action, resolve, reject)\n } else {\n waiting.push(override => {\n const execute = override || invoke\n execute(action, resolve, reject)\n })\n }\n }\n\n return action => new Promise((resolve, reject) => push(action, resolve, reject))\n}\n\nmodule.exports = concurrency\n","/**\n * Flatten the given arrays into a new array\n *\n * @param {Array>} arrays\n * @returns {Array}\n * @template T\n */\nfunction flatten(arrays) {\n return [].concat.apply([], arrays)\n}\n\nmodule.exports = flatten\n","module.exports = async (array, groupFn) => {\n const result = new Map()\n\n for (const item of array) {\n const group = await Promise.resolve(groupFn(item))\n result.set(group, result.has(group) ? [...result.get(group), item] : [item])\n }\n\n return result\n}\n","const { format } = require('util')\nconst { KafkaJSLockTimeout } = require('../errors')\n\nconst PRIVATE = {\n LOCKED: Symbol('private:Lock:locked'),\n TIMEOUT: Symbol('private:Lock:timeout'),\n WAITING: Symbol('private:Lock:waiting'),\n TIMEOUT_ERROR_MESSAGE: Symbol('private:Lock:timeoutErrorMessage'),\n}\n\nconst TIMEOUT_MESSAGE = 'Timeout while acquiring lock (%d waiting locks)'\n\nmodule.exports = class Lock {\n constructor({ timeout, description = null } = {}) {\n if (typeof timeout !== 'number') {\n throw new TypeError(`'timeout' is not a number, received '${typeof timeout}'`)\n }\n\n this[PRIVATE.LOCKED] = false\n this[PRIVATE.TIMEOUT] = timeout\n this[PRIVATE.WAITING] = new Set()\n this[PRIVATE.TIMEOUT_ERROR_MESSAGE] = () => {\n const timeoutMessage = format(TIMEOUT_MESSAGE, this[PRIVATE.WAITING].size)\n return description ? `${timeoutMessage}: \"${description}\"` : timeoutMessage\n }\n }\n\n async acquire() {\n return new Promise((resolve, reject) => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n return resolve()\n }\n\n let timeoutId = null\n const tryToAcquire = async () => {\n if (!this[PRIVATE.LOCKED]) {\n this[PRIVATE.LOCKED] = true\n clearTimeout(timeoutId)\n this[PRIVATE.WAITING].delete(tryToAcquire)\n return resolve()\n }\n }\n\n this[PRIVATE.WAITING].add(tryToAcquire)\n timeoutId = setTimeout(() => {\n // The message should contain the number of waiters _including_ this one\n const error = new KafkaJSLockTimeout(this[PRIVATE.TIMEOUT_ERROR_MESSAGE]())\n this[PRIVATE.WAITING].delete(tryToAcquire)\n reject(error)\n }, this[PRIVATE.TIMEOUT])\n })\n }\n\n async release() {\n this[PRIVATE.LOCKED] = false\n const waitingLock = this[PRIVATE.WAITING].values().next().value\n\n if (waitingLock) {\n return waitingLock()\n }\n }\n}\n","/**\n * @exports Long\n * @class A Long class for representing a 64 bit int (BigInt)\n * @param {bigint} value The value of the 64 bit int\n * @constructor\n */\nclass Long {\n constructor(value) {\n this.value = value\n }\n\n /**\n * @function isLong\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\n static isLong(obj) {\n return typeof obj.value === 'bigint'\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromBits(value) {\n return new Long(BigInt(value))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromInt(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt.asIntN(64, BigInt(value)))\n }\n\n /**\n * @param {number} value\n * @returns {!Long}\n * @inner\n */\n static fromNumber(value) {\n if (isNaN(value)) return Long.ZERO\n\n return new Long(BigInt(value))\n }\n\n /**\n * @function\n * @param {bigint|number|string|Long} val\n * @returns {!Long}\n * @inner\n */\n static fromValue(val) {\n if (typeof val === 'number') return this.fromNumber(val)\n if (typeof val === 'string') return this.fromString(val)\n if (typeof val === 'bigint') return new Long(val)\n if (this.isLong(val)) return new Long(BigInt(val.value))\n\n return new Long(BigInt(val))\n }\n\n /**\n * @param {string} str\n * @returns {!Long}\n * @inner\n */\n static fromString(str) {\n if (str.length === 0) throw Error('empty string')\n if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity')\n return Long.ZERO\n return new Long(BigInt(str))\n }\n\n /**\n * Tests if this Long's value equals zero.\n * @returns {boolean}\n */\n isZero() {\n return this.value === BigInt(0)\n }\n\n /**\n * Tests if this Long's value is negative.\n * @returns {boolean}\n */\n isNegative() {\n return this.value < BigInt(0)\n }\n\n /**\n * Converts the Long to a string.\n * @returns {string}\n * @override\n */\n toString() {\n return String(this.value)\n }\n\n /**\n * Converts the Long to the nearest floating-point representation (double, 53-bit mantissa)\n * @returns {number}\n * @override\n */\n toNumber() {\n return Number(this.value)\n }\n\n /**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @returns {number}\n */\n toInt() {\n return Number(BigInt.asIntN(32, this.value))\n }\n\n /**\n * Converts the Long to JSON\n * @returns {string}\n * @override\n */\n toJSON() {\n return this.toString()\n }\n\n /**\n * Returns this Long with bits shifted to the left by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftLeft(numBits) {\n return new Long(this.value << BigInt(numBits))\n }\n\n /**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRight(numBits) {\n return new Long(this.value >> BigInt(numBits))\n }\n\n /**\n * Returns the bitwise OR of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n or(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return Long.fromBits(this.value | other.value)\n }\n\n /**\n * Returns the bitwise XOR of this Long and the given one.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n xor(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value ^ other.value)\n }\n\n /**\n * Returns the bitwise AND of this Long and the specified.\n * @param {bigint|number|string} other Other Long\n * @returns {!Long}\n */\n and(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return new Long(this.value & other.value)\n }\n\n /**\n * Returns the bitwise NOT of this Long.\n * @returns {!Long}\n */\n not() {\n return new Long(~this.value)\n }\n\n /**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @param {number|bigint} numBits Number of bits\n * @returns {!Long} Shifted bigint\n */\n shiftRightUnsigned(numBits) {\n return new Long(this.value >> BigInt.asUintN(64, BigInt(numBits)))\n }\n\n /**\n * Tests if this Long's value equals the specified's.\n * @param {bigint|number|string} other Other value\n * @returns {boolean}\n */\n equals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value === other.value\n }\n\n /**\n * Tests if this Long's value is greater than or equal the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n greaterThanOrEqual(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value >= other.value\n }\n\n gte(other) {\n return this.greaterThanOrEqual(other)\n }\n\n notEquals(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return !this.equals(/* validates */ other)\n }\n\n /**\n * Returns the sum of this and the specified Long.\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\n add(addend) {\n if (!Long.isLong(addend)) addend = Long.fromValue(addend)\n return new Long(this.value + addend.value)\n }\n\n /**\n * Returns the difference of this and the specified Long.\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\n subtract(subtrahend) {\n if (!Long.isLong(subtrahend)) subtrahend = Long.fromValue(subtrahend)\n return this.add(subtrahend.negate())\n }\n\n /**\n * Returns the product of this and the specified Long.\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\n multiply(multiplier) {\n if (this.isZero()) return Long.ZERO\n if (!Long.isLong(multiplier)) multiplier = Long.fromValue(multiplier)\n return new Long(this.value * multiplier.value)\n }\n\n /**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n * unsigned if this Long is unsigned.\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\n divide(divisor) {\n if (!Long.isLong(divisor)) divisor = Long.fromValue(divisor)\n if (divisor.isZero()) throw Error('division by zero')\n return new Long(this.value / divisor.value)\n }\n\n /**\n * Compares this Long's value with the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n * if the given one is greater\n */\n compare(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n if (this.value === other.value) return 0\n if (this.value > other.value) return 1\n if (other.value > this.value) return -1\n }\n\n /**\n * Tests if this Long's value is less than the specified's.\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\n lessThan(other) {\n if (!Long.isLong(other)) other = Long.fromValue(other)\n return this.value < other.value\n }\n\n /**\n * Negates this Long's value.\n * @returns {!Long} Negated Long\n */\n negate() {\n if (this.equals(Long.MIN_VALUE)) {\n return Long.MIN_VALUE\n }\n return this.not().add(Long.ONE)\n }\n\n /**\n * Gets the high 32 bits as a signed integer.\n * @returns {number} Signed high bits\n */\n getHighBits() {\n return Number(BigInt.asIntN(32, this.value >> BigInt(32)))\n }\n\n /**\n * Gets the low 32 bits as a signed integer.\n * @returns {number} Signed low bits\n */\n getLowBits() {\n return Number(BigInt.asIntN(32, this.value))\n }\n}\n\n/**\n * Minimum signed value.\n * @type {bigint}\n */\nLong.MIN_VALUE = new Long(BigInt('-9223372036854775808'))\n\n/**\n * Maximum signed value.\n * @type {bigint}\n */\nLong.MAX_VALUE = new Long(BigInt('9223372036854775807'))\n\n/**\n * Signed zero.\n * @type {Long}\n */\nLong.ZERO = Long.fromInt(0)\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = Long.fromInt(1)\n\nmodule.exports = Long\n","/**\n * @template T\n * @param { (...args: any) => Promise } [asyncFunction]\n * Promise returning function that will only ever be invoked sequentially.\n * @returns { (...args: any) => Promise }\n * Function that may invoke asyncFunction if there is not a currently executing invocation.\n * Returns promise from the currently executing invocation.\n */\nmodule.exports = asyncFunction => {\n let promise = null\n\n return (...args) => {\n if (promise == null) {\n promise = asyncFunction(...args).finally(() => (promise = null))\n }\n return promise\n }\n}\n","/**\n * @param {T[]} array\n * @returns T[]\n * @template T\n */\nmodule.exports = array => {\n if (!Array.isArray(array)) {\n throw new TypeError(\"'array' is not an array\")\n }\n\n if (array.length < 2) {\n return array\n }\n\n const copy = array.slice()\n\n for (let i = copy.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1))\n const temp = copy[i]\n copy[i] = copy[j]\n copy[j] = temp\n }\n\n return copy\n}\n","module.exports = timeInMs =>\n new Promise(resolve => {\n setTimeout(resolve, timeInMs)\n })\n","const { keys } = Object\nmodule.exports = object =>\n keys(object).reduce((result, key) => ({ ...result, [object[key]]: key }), {})\n","const sleep = require('./sleep')\nconst { KafkaJSTimeout } = require('../errors')\n\nmodule.exports = (\n fn,\n { delay = 50, maxWait = 10000, timeoutMessage = 'Timeout', ignoreTimeout = false } = {}\n) => {\n let timeoutId\n let totalWait = 0\n let fulfilled = false\n\n const checkCondition = async (resolve, reject) => {\n totalWait += delay\n await sleep(delay)\n\n try {\n const result = await fn(totalWait)\n if (result) {\n fulfilled = true\n clearTimeout(timeoutId)\n return resolve(result)\n }\n\n checkCondition(resolve, reject)\n } catch (e) {\n fulfilled = true\n clearTimeout(timeoutId)\n reject(e)\n }\n }\n\n return new Promise((resolve, reject) => {\n checkCondition(resolve, reject)\n\n if (ignoreTimeout) {\n return\n }\n\n timeoutId = setTimeout(() => {\n if (!fulfilled) {\n return reject(new KafkaJSTimeout(timeoutMessage))\n }\n }, maxWait)\n })\n}\n","const BASE_URL = 'https://kafka.js.org'\n\nmodule.exports = (path, hash) => `${BASE_URL}/${path}${hash ? '#' + hash : ''}`\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","var packet = require('dns-packet')\nvar dgram = require('dgram')\nvar thunky = require('thunky')\nvar events = require('events')\nvar os = require('os')\n\nvar noop = function () {}\n\nmodule.exports = function (opts) {\n if (!opts) opts = {}\n\n var that = new events.EventEmitter()\n var port = typeof opts.port === 'number' ? opts.port : 5353\n var type = opts.type || 'udp4'\n var ip = opts.ip || opts.host || (type === 'udp4' ? '224.0.0.251' : null)\n var me = {address: ip, port: port}\n var memberships = {}\n var destroyed = false\n var interval = null\n\n if (type === 'udp6' && (!ip || !opts.interface)) {\n throw new Error('For IPv6 multicast you must specify `ip` and `interface`')\n }\n\n var socket = opts.socket || dgram.createSocket({\n type: type,\n reuseAddr: opts.reuseAddr !== false,\n toString: function () {\n return type\n }\n })\n\n socket.on('error', function (err) {\n if (err.code === 'EACCES' || err.code === 'EADDRINUSE') that.emit('error', err)\n else that.emit('warning', err)\n })\n\n socket.on('message', function (message, rinfo) {\n try {\n message = packet.decode(message)\n } catch (err) {\n that.emit('warning', err)\n return\n }\n\n that.emit('packet', message, rinfo)\n\n if (message.type === 'query') that.emit('query', message, rinfo)\n if (message.type === 'response') that.emit('response', message, rinfo)\n })\n\n socket.on('listening', function () {\n if (!port) port = me.port = socket.address().port\n if (opts.multicast !== false) {\n that.update()\n interval = setInterval(that.update, 5000)\n socket.setMulticastTTL(opts.ttl || 255)\n socket.setMulticastLoopback(opts.loopback !== false)\n }\n })\n\n var bind = thunky(function (cb) {\n if (!port || opts.bind === false) return cb(null)\n socket.once('error', cb)\n socket.bind(port, opts.bind || opts.interface, function () {\n socket.removeListener('error', cb)\n cb(null)\n })\n })\n\n bind(function (err) {\n if (err) return that.emit('error', err)\n that.emit('ready')\n })\n\n that.send = function (value, rinfo, cb) {\n if (typeof rinfo === 'function') return that.send(value, null, rinfo)\n if (!cb) cb = noop\n if (!rinfo) rinfo = me\n else if (!rinfo.host && !rinfo.address) rinfo.address = me.address\n\n bind(onbind)\n\n function onbind (err) {\n if (destroyed) return cb()\n if (err) return cb(err)\n var message = packet.encode(value)\n socket.send(message, 0, message.length, rinfo.port, rinfo.address || rinfo.host, cb)\n }\n }\n\n that.response =\n that.respond = function (res, rinfo, cb) {\n if (Array.isArray(res)) res = {answers: res}\n\n res.type = 'response'\n res.flags = (res.flags || 0) | packet.AUTHORITATIVE_ANSWER\n that.send(res, rinfo, cb)\n }\n\n that.query = function (q, type, rinfo, cb) {\n if (typeof type === 'function') return that.query(q, null, null, type)\n if (typeof type === 'object' && type && type.port) return that.query(q, null, type, rinfo)\n if (typeof rinfo === 'function') return that.query(q, type, null, rinfo)\n if (!cb) cb = noop\n\n if (typeof q === 'string') q = [{name: q, type: type || 'ANY'}]\n if (Array.isArray(q)) q = {type: 'query', questions: q}\n\n q.type = 'query'\n that.send(q, rinfo, cb)\n }\n\n that.destroy = function (cb) {\n if (!cb) cb = noop\n if (destroyed) return process.nextTick(cb)\n destroyed = true\n clearInterval(interval)\n\n // Need to drop memberships by hand and ignore errors.\n // socket.close() does not cope with errors.\n for (var iface in memberships) {\n try {\n socket.dropMembership(ip, iface)\n } catch (e) {\n // eat it\n }\n }\n memberships = {}\n socket.close(cb)\n }\n\n that.update = function () {\n var ifaces = opts.interface ? [].concat(opts.interface) : allInterfaces()\n var updated = false\n\n for (var i = 0; i < ifaces.length; i++) {\n var addr = ifaces[i]\n if (memberships[addr]) continue\n\n try {\n socket.addMembership(ip, addr)\n memberships[addr] = true\n updated = true\n } catch (err) {\n that.emit('warning', err)\n }\n }\n\n if (updated) {\n if (socket.setMulticastInterface) {\n try {\n socket.setMulticastInterface(opts.interface || defaultInterface())\n } catch (err) {\n that.emit('warning', err)\n }\n }\n that.emit('networkInterface')\n }\n }\n\n return that\n}\n\nfunction defaultInterface () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family) && !iface.internal) {\n if (os.platform() === 'darwin' && names[i] === 'en0') return iface.address\n return '0.0.0.0'\n }\n }\n }\n\n return '127.0.0.1'\n}\n\nfunction allInterfaces () {\n var networks = os.networkInterfaces()\n var names = Object.keys(networks)\n var res = []\n\n for (var i = 0; i < names.length; i++) {\n var net = networks[names[i]]\n for (var j = 0; j < net.length; j++) {\n var iface = net[j]\n if (isIPv4(iface.family)) {\n res.push(iface.address)\n // could only addMembership once per interface (https://nodejs.org/api/dgram.html#dgram_socket_addmembership_multicastaddress_multicastinterface)\n break\n }\n }\n }\n\n return res\n}\n\nfunction isIPv4 (family) { // for backwards compat\n return family === 4 || family === 'IPv4'\n}\n","import crypto from 'crypto'\nimport { urlAlphabet } from './url-alphabet/index.js'\nconst POOL_SIZE_MULTIPLIER = 128\nlet pool, poolOffset\nlet fillPool = bytes => {\n if (!pool || pool.length < bytes) {\n pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER)\n crypto.randomFillSync(pool)\n poolOffset = 0\n } else if (poolOffset + bytes > pool.length) {\n crypto.randomFillSync(pool)\n poolOffset = 0\n }\n poolOffset += bytes\n}\nlet random = bytes => {\n fillPool((bytes -= 0))\n return pool.subarray(poolOffset - bytes, poolOffset)\n}\nlet customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << (31 - Math.clz32((alphabet.length - 1) | 1))) - 1\n let step = Math.ceil((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let i = step\n while (i--) {\n id += alphabet[bytes[i] & mask] || ''\n if (id.length === size) return id\n }\n }\n }\n}\nlet customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size, random)\nlet nanoid = (size = 21) => {\n fillPool((size -= 0))\n let id = ''\n for (let i = poolOffset - size; i < poolOffset; i++) {\n id += urlAlphabet[pool[i] & 63]\n }\n return id\n}\nexport { nanoid, customAlphabet, customRandom, urlAlphabet, random }\n","let urlAlphabet =\n 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'\nexport { urlAlphabet }\n","var fs = require('fs')\nvar path = require('path')\nvar os = require('os')\n\n// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'\nvar runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line\n\nvar vars = (process.config && process.config.variables) || {}\nvar prebuildsOnly = !!process.env.PREBUILDS_ONLY\nvar abi = process.versions.modules // TODO: support old node where this is undef\nvar runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')\n\nvar arch = process.env.npm_config_arch || os.arch()\nvar platform = process.env.npm_config_platform || os.platform()\nvar libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')\nvar armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''\nvar uv = (process.versions.uv || '').split('.')[0]\n\nmodule.exports = load\n\nfunction load (dir) {\n return runtimeRequire(load.path(dir))\n}\n\nload.path = function (dir) {\n dir = path.resolve(dir || '.')\n\n try {\n var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')\n if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']\n } catch (err) {}\n\n if (!prebuildsOnly) {\n var release = getFirst(path.join(dir, 'build/Release'), matchBuild)\n if (release) return release\n\n var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)\n if (debug) return debug\n }\n\n var prebuild = resolve(dir)\n if (prebuild) return prebuild\n\n var nearby = resolve(path.dirname(process.execPath))\n if (nearby) return nearby\n\n var target = [\n 'platform=' + platform,\n 'arch=' + arch,\n 'runtime=' + runtime,\n 'abi=' + abi,\n 'uv=' + uv,\n armv ? 'armv=' + armv : '',\n 'libc=' + libc,\n 'node=' + process.versions.node,\n process.versions.electron ? 'electron=' + process.versions.electron : '',\n typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line\n ].filter(Boolean).join(' ')\n\n throw new Error('No native build was found for ' + target + '\\n loaded from: ' + dir + '\\n')\n\n function resolve (dir) {\n // Find matching \"prebuilds/-\" directory\n var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)\n var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]\n if (!tuple) return\n\n // Find most specific flavor first\n var prebuilds = path.join(dir, 'prebuilds', tuple.name)\n var parsed = readdirSync(prebuilds).map(parseTags)\n var candidates = parsed.filter(matchTags(runtime, abi))\n var winner = candidates.sort(compareTags(runtime))[0]\n if (winner) return path.join(prebuilds, winner.file)\n }\n}\n\nfunction readdirSync (dir) {\n try {\n return fs.readdirSync(dir)\n } catch (err) {\n return []\n }\n}\n\nfunction getFirst (dir, filter) {\n var files = readdirSync(dir).filter(filter)\n return files[0] && path.join(dir, files[0])\n}\n\nfunction matchBuild (name) {\n return /\\.node$/.test(name)\n}\n\nfunction parseTuple (name) {\n // Example: darwin-x64+arm64\n var arr = name.split('-')\n if (arr.length !== 2) return\n\n var platform = arr[0]\n var architectures = arr[1].split('+')\n\n if (!platform) return\n if (!architectures.length) return\n if (!architectures.every(Boolean)) return\n\n return { name, platform, architectures }\n}\n\nfunction matchTuple (platform, arch) {\n return function (tuple) {\n if (tuple == null) return false\n if (tuple.platform !== platform) return false\n return tuple.architectures.includes(arch)\n }\n}\n\nfunction compareTuples (a, b) {\n // Prefer single-arch prebuilds over multi-arch\n return a.architectures.length - b.architectures.length\n}\n\nfunction parseTags (file) {\n var arr = file.split('.')\n var extension = arr.pop()\n var tags = { file: file, specificity: 0 }\n\n if (extension !== 'node') return\n\n for (var i = 0; i < arr.length; i++) {\n var tag = arr[i]\n\n if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {\n tags.runtime = tag\n } else if (tag === 'napi') {\n tags.napi = true\n } else if (tag.slice(0, 3) === 'abi') {\n tags.abi = tag.slice(3)\n } else if (tag.slice(0, 2) === 'uv') {\n tags.uv = tag.slice(2)\n } else if (tag.slice(0, 4) === 'armv') {\n tags.armv = tag.slice(4)\n } else if (tag === 'glibc' || tag === 'musl') {\n tags.libc = tag\n } else {\n continue\n }\n\n tags.specificity++\n }\n\n return tags\n}\n\nfunction matchTags (runtime, abi) {\n return function (tags) {\n if (tags == null) return false\n if (tags.runtime !== runtime && !runtimeAgnostic(tags)) return false\n if (tags.abi !== abi && !tags.napi) return false\n if (tags.uv && tags.uv !== uv) return false\n if (tags.armv && tags.armv !== armv) return false\n if (tags.libc && tags.libc !== libc) return false\n\n return true\n }\n}\n\nfunction runtimeAgnostic (tags) {\n return tags.runtime === 'node' && tags.napi\n}\n\nfunction compareTags (runtime) {\n // Precedence: non-agnostic runtime, abi over napi, then by specificity.\n return function (a, b) {\n if (a.runtime !== b.runtime) {\n return a.runtime === runtime ? -1 : 1\n } else if (a.abi !== b.abi) {\n return a.abi ? -1 : 1\n } else if (a.specificity !== b.specificity) {\n return a.specificity > b.specificity ? -1 : 1\n } else {\n return 0\n }\n }\n}\n\nfunction isNwjs () {\n return !!(process.versions && process.versions.nw)\n}\n\nfunction isElectron () {\n if (process.versions && process.versions.electron) return true\n if (process.env.ELECTRON_RUN_AS_NODE) return true\n return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'\n}\n\nfunction isAlpine (platform) {\n return platform === 'linux' && fs.existsSync('/etc/alpine-release')\n}\n\n// Exposed for unit tests\n// TODO: move to lib\nload.parseTags = parseTags\nload.matchTags = matchTags\nload.compareTags = compareTags\nload.parseTuple = parseTuple\nload.matchTuple = matchTuple\nload.compareTuples = compareTuples\n","/*!\n * on-headers\n * Copyright(c) 2014 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = onHeaders\n\n/**\n * Create a replacement writeHead method.\n *\n * @param {function} prevWriteHead\n * @param {function} listener\n * @private\n */\n\nfunction createWriteHead (prevWriteHead, listener) {\n var fired = false\n\n // return function with core name and argument list\n return function writeHead (statusCode) {\n // set headers from arguments\n var args = setWriteHeadHeaders.apply(this, arguments)\n\n // fire listener\n if (!fired) {\n fired = true\n listener.call(this)\n\n // pass-along an updated status code\n if (typeof args[0] === 'number' && this.statusCode !== args[0]) {\n args[0] = this.statusCode\n args.length = 1\n }\n }\n\n return prevWriteHead.apply(this, args)\n }\n}\n\n/**\n * Execute a listener when a response is about to write headers.\n *\n * @param {object} res\n * @return {function} listener\n * @public\n */\n\nfunction onHeaders (res, listener) {\n if (!res) {\n throw new TypeError('argument res is required')\n }\n\n if (typeof listener !== 'function') {\n throw new TypeError('argument listener must be a function')\n }\n\n res.writeHead = createWriteHead(res.writeHead, listener)\n}\n\n/**\n * Set headers contained in array on the response object.\n *\n * @param {object} res\n * @param {array} headers\n * @private\n */\n\nfunction setHeadersFromArray (res, headers) {\n for (var i = 0; i < headers.length; i++) {\n res.setHeader(headers[i][0], headers[i][1])\n }\n}\n\n/**\n * Set headers contained in object on the response object.\n *\n * @param {object} res\n * @param {object} headers\n * @private\n */\n\nfunction setHeadersFromObject (res, headers) {\n var keys = Object.keys(headers)\n for (var i = 0; i < keys.length; i++) {\n var k = keys[i]\n if (k) res.setHeader(k, headers[k])\n }\n}\n\n/**\n * Set headers and other properties on the response object.\n *\n * @param {number} statusCode\n * @private\n */\n\nfunction setWriteHeadHeaders (statusCode) {\n var length = arguments.length\n var headerIndex = length > 1 && typeof arguments[1] === 'string'\n ? 2\n : 1\n\n var headers = length >= headerIndex + 1\n ? arguments[headerIndex]\n : undefined\n\n this.statusCode = statusCode\n\n if (Array.isArray(headers)) {\n // handle array case\n setHeadersFromArray(this, headers)\n } else if (headers) {\n // handle object case\n setHeadersFromObject(this, headers)\n }\n\n // copy leading arguments\n var args = new Array(Math.min(length, headerIndex))\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n\n return args\n}\n","/*!\n * parseurl\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar url = require('url')\nvar parse = url.parse\nvar Url = url.Url\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = parseurl\nmodule.exports.original = originalurl\n\n/**\n * Parse the `req` url with memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction parseurl (req) {\n var url = req.url\n\n if (url === undefined) {\n // URL is undefined\n return undefined\n }\n\n var parsed = req._parsedUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedUrl = parsed)\n};\n\n/**\n * Parse the `req` original url with fallback and memoization.\n *\n * @param {ServerRequest} req\n * @return {Object}\n * @public\n */\n\nfunction originalurl (req) {\n var url = req.originalUrl\n\n if (typeof url !== 'string') {\n // Fallback\n return parseurl(req)\n }\n\n var parsed = req._parsedOriginalUrl\n\n if (fresh(url, parsed)) {\n // Return cached URL parse\n return parsed\n }\n\n // Parse the URL\n parsed = fastparse(url)\n parsed._raw = url\n\n return (req._parsedOriginalUrl = parsed)\n};\n\n/**\n * Parse the `str` url with fast-path short-cut.\n *\n * @param {string} str\n * @return {Object}\n * @private\n */\n\nfunction fastparse (str) {\n if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) {\n return parse(str)\n }\n\n var pathname = str\n var query = null\n var search = null\n\n // This takes the regexp from https://github.com/joyent/node/pull/7878\n // Which is /^(\\/[^?#\\s]*)(\\?[^#\\s]*)?$/\n // And unrolls it into a for loop\n for (var i = 1; i < str.length; i++) {\n switch (str.charCodeAt(i)) {\n case 0x3f: /* ? */\n if (search === null) {\n pathname = str.substring(0, i)\n query = str.substring(i + 1)\n search = str.substring(i)\n }\n break\n case 0x09: /* \\t */\n case 0x0a: /* \\n */\n case 0x0c: /* \\f */\n case 0x0d: /* \\r */\n case 0x20: /* */\n case 0x23: /* # */\n case 0xa0:\n case 0xfeff:\n return parse(str)\n }\n }\n\n var url = Url !== undefined\n ? new Url()\n : {}\n\n url.path = str\n url.href = str\n url.pathname = pathname\n\n if (search !== null) {\n url.query = query\n url.search = search\n }\n\n return url\n}\n\n/**\n * Determine if parsed is still fresh for url.\n *\n * @param {string} url\n * @param {object} parsedUrl\n * @return {boolean}\n * @private\n */\n\nfunction fresh (url, parsedUrl) {\n return typeof parsedUrl === 'object' &&\n parsedUrl !== null &&\n (Url === undefined || parsedUrl instanceof Url) &&\n parsedUrl._raw === url\n}\n","/*!\n * random-bytes\n * Copyright(c) 2016 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar crypto = require('crypto')\n\n/**\n * Module variables.\n * @private\n */\n\nvar generateAttempts = crypto.randomBytes === crypto.pseudoRandomBytes ? 1 : 3\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = randomBytes\nmodule.exports.sync = randomBytesSync\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction randomBytes(size, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateRandomBytes(size, generateAttempts, callback)\n }\n\n return new Promise(function executor(resolve, reject) {\n generateRandomBytes(size, generateAttempts, function onRandomBytes(err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Generates strong pseudo-random bytes sync.\n *\n * @param {number} size\n * @return {Buffer}\n * @public\n */\n\nfunction randomBytesSync(size) {\n var err = null\n\n for (var i = 0; i < generateAttempts; i++) {\n try {\n return crypto.randomBytes(size)\n } catch (e) {\n err = e\n }\n }\n\n throw err\n}\n\n/**\n * Generates strong pseudo-random bytes.\n *\n * @param {number} size\n * @param {number} attempts\n * @param {function} callback\n * @private\n */\n\nfunction generateRandomBytes(size, attempts, callback) {\n crypto.randomBytes(size, function onRandomBytes(err, buf) {\n if (!err) return callback(null, buf)\n if (!--attempts) return callback(err)\n setTimeout(generateRandomBytes.bind(null, size, attempts, callback), 10)\n })\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","module.exports = {\n\tcore: {\n\t\tBatch: require(\"./src/Batch\"),\n\t\tClientBuilder: require(\"./src/ClientBuilder\"),\n\t\tbuildClient: require(\"./src/util/buildClients\"),\n\t\tSharedCredentials: require(\"./src/SharedCredentials\"),\n\t\tStaticCredentials: require(\"./src/StaticCredentials\"),\n\t\tErrors: require(\"./src/Errors\"),\n\t},\n\tusStreet: {\n\t\tLookup: require(\"./src/us_street/Lookup\"),\n\t\tCandidate: require(\"./src/us_street/Candidate\"),\n\t},\n\tusZipcode: {\n\t\tLookup: require(\"./src/us_zipcode/Lookup\"),\n\t\tResult: require(\"./src/us_zipcode/Result\"),\n\t},\n\tusAutocomplete: {\n\t\tLookup: require(\"./src/us_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete/Suggestion\"),\n\t},\n\tusAutocompletePro: {\n\t\tLookup: require(\"./src/us_autocomplete_pro/Lookup\"),\n\t\tSuggestion: require(\"./src/us_autocomplete_pro/Suggestion\"),\n\t},\n\tusExtract: {\n\t\tLookup: require(\"./src/us_extract/Lookup\"),\n\t\tResult: require(\"./src/us_extract/Result\"),\n\t},\n\tinternationalStreet: {\n\t\tLookup: require(\"./src/international_street/Lookup\"),\n\t\tCandidate: require(\"./src/international_street/Candidate\"),\n\t},\n\tusReverseGeo: {\n\t\tLookup: require(\"./src/us_reverse_geo/Lookup\"),\n\t},\n\tinternationalAddressAutocomplete: {\n\t\tLookup: require(\"./src/international_address_autocomplete/Lookup\"),\n\t\tSuggestion: require(\"./src/international_address_autocomplete/Suggestion\"),\n\t},\n};\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar buildFullPath = require('../core/buildFullPath');\nvar buildURL = require('./../helpers/buildURL');\nvar http = require('http');\nvar https = require('https');\nvar httpFollow = require('follow-redirects').http;\nvar httpsFollow = require('follow-redirects').https;\nvar url = require('url');\nvar zlib = require('zlib');\nvar VERSION = require('./../env/data').version;\nvar createError = require('../core/createError');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nvar isHttps = /https:?/;\n\n/**\n *\n * @param {http.ClientRequestArgs} options\n * @param {AxiosProxyConfig} proxy\n * @param {string} location\n */\nfunction setProxy(options, proxy, location) {\n options.hostname = proxy.host;\n options.host = proxy.host;\n options.port = proxy.port;\n options.path = location;\n\n // Basic proxy authorization\n if (proxy.auth) {\n var base64 = Buffer.from(proxy.auth.username + ':' + proxy.auth.password, 'utf8').toString('base64');\n options.headers['Proxy-Authorization'] = 'Basic ' + base64;\n }\n\n // If a proxy is used, any redirects must also pass through the proxy\n options.beforeRedirect = function beforeRedirect(redirection) {\n redirection.headers.host = redirection.host;\n setProxy(redirection, proxy, redirection.href);\n };\n}\n\n/*eslint consistent-return:0*/\nmodule.exports = function httpAdapter(config) {\n return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n var resolve = function resolve(value) {\n done();\n resolvePromise(value);\n };\n var rejected = false;\n var reject = function reject(value) {\n done();\n rejected = true;\n rejectPromise(value);\n };\n var data = config.data;\n var headers = config.headers;\n var headerNames = {};\n\n Object.keys(headers).forEach(function storeLowerName(name) {\n headerNames[name.toLowerCase()] = name;\n });\n\n // Set User-Agent (required by some servers)\n // See https://github.com/axios/axios/issues/69\n if ('user-agent' in headerNames) {\n // User-Agent is specified; handle case where no UA header is desired\n if (!headers[headerNames['user-agent']]) {\n delete headers[headerNames['user-agent']];\n }\n // Otherwise, use specified value\n } else {\n // Only set header if it hasn't been set in config\n headers['User-Agent'] = 'axios/' + VERSION;\n }\n\n if (data && !utils.isStream(data)) {\n if (Buffer.isBuffer(data)) {\n // Nothing to do...\n } else if (utils.isArrayBuffer(data)) {\n data = Buffer.from(new Uint8Array(data));\n } else if (utils.isString(data)) {\n data = Buffer.from(data, 'utf-8');\n } else {\n return reject(createError(\n 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',\n config\n ));\n }\n\n if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {\n return reject(createError('Request body larger than maxBodyLength limit', config));\n }\n\n // Add Content-Length header if data exists\n if (!headerNames['content-length']) {\n headers['Content-Length'] = data.length;\n }\n }\n\n // HTTP basic authentication\n var auth = undefined;\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n auth = username + ':' + password;\n }\n\n // Parse url\n var fullPath = buildFullPath(config.baseURL, config.url);\n var parsed = url.parse(fullPath);\n var protocol = parsed.protocol || 'http:';\n\n if (!auth && parsed.auth) {\n var urlAuth = parsed.auth.split(':');\n var urlUsername = urlAuth[0] || '';\n var urlPassword = urlAuth[1] || '';\n auth = urlUsername + ':' + urlPassword;\n }\n\n if (auth && headerNames.authorization) {\n delete headers[headerNames.authorization];\n }\n\n var isHttpsRequest = isHttps.test(protocol);\n var agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;\n\n try {\n buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, '');\n } catch (err) {\n var customErr = new Error(err.message);\n customErr.config = config;\n customErr.url = config.url;\n customErr.exists = true;\n reject(customErr);\n }\n\n var options = {\n path: buildURL(parsed.path, config.params, config.paramsSerializer).replace(/^\\?/, ''),\n method: config.method.toUpperCase(),\n headers: headers,\n agent: agent,\n agents: { http: config.httpAgent, https: config.httpsAgent },\n auth: auth\n };\n\n if (config.socketPath) {\n options.socketPath = config.socketPath;\n } else {\n options.hostname = parsed.hostname;\n options.port = parsed.port;\n }\n\n var proxy = config.proxy;\n if (!proxy && proxy !== false) {\n var proxyEnv = protocol.slice(0, -1) + '_proxy';\n var proxyUrl = process.env[proxyEnv] || process.env[proxyEnv.toUpperCase()];\n if (proxyUrl) {\n var parsedProxyUrl = url.parse(proxyUrl);\n var noProxyEnv = process.env.no_proxy || process.env.NO_PROXY;\n var shouldProxy = true;\n\n if (noProxyEnv) {\n var noProxy = noProxyEnv.split(',').map(function trim(s) {\n return s.trim();\n });\n\n shouldProxy = !noProxy.some(function proxyMatch(proxyElement) {\n if (!proxyElement) {\n return false;\n }\n if (proxyElement === '*') {\n return true;\n }\n if (proxyElement[0] === '.' &&\n parsed.hostname.substr(parsed.hostname.length - proxyElement.length) === proxyElement) {\n return true;\n }\n\n return parsed.hostname === proxyElement;\n });\n }\n\n if (shouldProxy) {\n proxy = {\n host: parsedProxyUrl.hostname,\n port: parsedProxyUrl.port,\n protocol: parsedProxyUrl.protocol\n };\n\n if (parsedProxyUrl.auth) {\n var proxyUrlAuth = parsedProxyUrl.auth.split(':');\n proxy.auth = {\n username: proxyUrlAuth[0],\n password: proxyUrlAuth[1]\n };\n }\n }\n }\n }\n\n if (proxy) {\n options.headers.host = parsed.hostname + (parsed.port ? ':' + parsed.port : '');\n setProxy(options, proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);\n }\n\n var transport;\n var isHttpsProxy = isHttpsRequest && (proxy ? isHttps.test(proxy.protocol) : true);\n if (config.transport) {\n transport = config.transport;\n } else if (config.maxRedirects === 0) {\n transport = isHttpsProxy ? https : http;\n } else {\n if (config.maxRedirects) {\n options.maxRedirects = config.maxRedirects;\n }\n transport = isHttpsProxy ? httpsFollow : httpFollow;\n }\n\n if (config.maxBodyLength > -1) {\n options.maxBodyLength = config.maxBodyLength;\n }\n\n if (config.insecureHTTPParser) {\n options.insecureHTTPParser = config.insecureHTTPParser;\n }\n\n // Create the request\n var req = transport.request(options, function handleResponse(res) {\n if (req.aborted) return;\n\n // uncompress the response body transparently if required\n var stream = res;\n\n // return the last request in case of redirects\n var lastRequest = res.req || req;\n\n\n // if no content, is HEAD request or decompress disabled we should not decompress\n if (res.statusCode !== 204 && lastRequest.method !== 'HEAD' && config.decompress !== false) {\n switch (res.headers['content-encoding']) {\n /*eslint default-case:0*/\n case 'gzip':\n case 'compress':\n case 'deflate':\n // add the unzipper to the body stream processing pipeline\n stream = stream.pipe(zlib.createUnzip());\n\n // remove the content-encoding in order to not confuse downstream operations\n delete res.headers['content-encoding'];\n break;\n }\n }\n\n var response = {\n status: res.statusCode,\n statusText: res.statusMessage,\n headers: res.headers,\n config: config,\n request: lastRequest\n };\n\n if (config.responseType === 'stream') {\n response.data = stream;\n settle(resolve, reject, response);\n } else {\n var responseBuffer = [];\n var totalResponseBytes = 0;\n stream.on('data', function handleStreamData(chunk) {\n responseBuffer.push(chunk);\n totalResponseBytes += chunk.length;\n\n // make sure the content length is not over the maxContentLength if specified\n if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {\n // stream.destoy() emit aborted event before calling reject() on Node.js v16\n rejected = true;\n stream.destroy();\n reject(createError('maxContentLength size of ' + config.maxContentLength + ' exceeded',\n config, null, lastRequest));\n }\n });\n\n stream.on('aborted', function handlerStreamAborted() {\n if (rejected) {\n return;\n }\n stream.destroy();\n reject(createError('error request aborted', config, 'ERR_REQUEST_ABORTED', lastRequest));\n });\n\n stream.on('error', function handleStreamError(err) {\n if (req.aborted) return;\n reject(enhanceError(err, config, null, lastRequest));\n });\n\n stream.on('end', function handleStreamEnd() {\n try {\n var responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);\n if (config.responseType !== 'arraybuffer') {\n responseData = responseData.toString(config.responseEncoding);\n if (!config.responseEncoding || config.responseEncoding === 'utf8') {\n responseData = utils.stripBOM(responseData);\n }\n }\n response.data = responseData;\n } catch (err) {\n reject(enhanceError(err, config, err.code, response.request, response));\n }\n settle(resolve, reject, response);\n });\n }\n });\n\n // Handle errors\n req.on('error', function handleRequestError(err) {\n if (req.aborted && err.code !== 'ERR_FR_TOO_MANY_REDIRECTS') return;\n reject(enhanceError(err, config, null, req));\n });\n\n // set tcp keep alive to prevent drop connection by peer\n req.on('socket', function handleRequestSocket(socket) {\n // default interval of sending ack packet is 1 minute\n socket.setKeepAlive(true, 1000 * 60);\n });\n\n // Handle request timeout\n if (config.timeout) {\n // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.\n var timeout = parseInt(config.timeout, 10);\n\n if (isNaN(timeout)) {\n reject(createError(\n 'error trying to parse `config.timeout` to int',\n config,\n 'ERR_PARSE_TIMEOUT',\n req\n ));\n\n return;\n }\n\n // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.\n // And timer callback will be fired, and abort() will be invoked before connection, then get \"socket hang up\" and code ECONNRESET.\n // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.\n // And then these socket which be hang up will devoring CPU little by little.\n // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.\n req.setTimeout(timeout, function handleRequestTimeout() {\n req.abort();\n var timeoutErrorMessage = '';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n } else {\n timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n }\n var transitional = config.transitional || transitionalDefaults;\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n req\n ));\n });\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (req.aborted) return;\n\n req.abort();\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n\n // Send the request\n if (utils.isStream(data)) {\n data.on('error', function handleStreamError(err) {\n reject(enhanceError(err, config, null, req));\n }).pipe(req);\n } else {\n req.end(data);\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","class AgentSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\trequest.parameters.agent = \"smarty (sdk:javascript@\" + require(\"../package.json\").version + \")\";\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = AgentSender;","class BaseUrlSender {\n\tconstructor(innerSender, urlOverride) {\n\t\tthis.urlOverride = urlOverride;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\trequest.baseUrl = this.urlOverride;\n\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = BaseUrlSender;","const BatchFullError = require(\"./Errors\").BatchFullError;\n\n/**\n * This class contains a collection of up to 100 lookups to be sent to one of the Smarty APIs
\n * all at once. This is more efficient than sending them one at a time.\n */\nclass Batch {\n\tconstructor () {\n\t\tthis.lookups = [];\n\t}\n\n\tadd (lookup) {\n\t\tif (this.lookupsHasRoomForLookup()) this.lookups.push(lookup);\n\t\telse throw new BatchFullError();\n\t}\n\n\tlookupsHasRoomForLookup() {\n\t\tconst maxNumberOfLookups = 100;\n\t\treturn this.lookups.length < maxNumberOfLookups;\n\t}\n\n\tlength() {\n\t\treturn this.lookups.length;\n\t}\n\n\tgetByIndex(index) {\n\t\treturn this.lookups[index];\n\t}\n\n\tgetByInputId(inputId) {\n\t\treturn this.lookups.filter(lookup => {\n\t\t\treturn lookup.inputId === inputId;\n\t\t})[0];\n\t}\n\n\t/**\n\t * Clears the lookups stored in the batch so it can be used again.
\n\t * This helps avoid the overhead of building a new Batch object for each group of lookups.\n\t */\n\tclear () {\n\t\tthis.lookups = [];\n\t}\n\n\tisEmpty () {\n\t\treturn this.length() === 0;\n\t}\n}\n\nmodule.exports = Batch;","const HttpSender = require(\"./HttpSender\");\nconst SigningSender = require(\"./SigningSender\");\nconst BaseUrlSender = require(\"./BaseUrlSender\");\nconst AgentSender = require(\"./AgentSender\");\nconst StaticCredentials = require(\"./StaticCredentials\");\nconst SharedCredentials = require(\"./SharedCredentials\");\nconst CustomHeaderSender = require(\"./CustomHeaderSender\");\nconst StatusCodeSender = require(\"./StatusCodeSender\");\nconst LicenseSender = require(\"./LicenseSender\");\nconst BadCredentialsError = require(\"./Errors\").BadCredentialsError;\n\n//TODO: refactor this to work more cleanly with a bundler.\nconst UsStreetClient = require(\"./us_street/Client\");\nconst UsZipcodeClient = require(\"./us_zipcode/Client\");\nconst UsAutocompleteClient = require(\"./us_autocomplete/Client\");\nconst UsAutocompleteProClient = require(\"./us_autocomplete_pro/Client\");\nconst UsExtractClient = require(\"./us_extract/Client\");\nconst InternationalStreetClient = require(\"./international_street/Client\");\nconst UsReverseGeoClient = require(\"./us_reverse_geo/Client\");\nconst InternationalAddressAutocompleteClient = require(\"./international_address_autocomplete/Client\");\n\nconst INTERNATIONAL_STREET_API_URI = \"https://international-street.api.smartystreets.com/verify\";\nconst US_AUTOCOMPLETE_API_URL = \"https://us-autocomplete.api.smartystreets.com/suggest\";\nconst US_AUTOCOMPLETE_PRO_API_URL = \"https://us-autocomplete-pro.api.smartystreets.com/lookup\";\nconst US_EXTRACT_API_URL = \"https://us-extract.api.smartystreets.com/\";\nconst US_STREET_API_URL = \"https://us-street.api.smartystreets.com/street-address\";\nconst US_ZIP_CODE_API_URL = \"https://us-zipcode.api.smartystreets.com/lookup\";\nconst US_REVERSE_GEO_API_URL = \"https://us-reverse-geo.api.smartystreets.com/lookup\";\nconst INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = \"https://international-autocomplete.api.smartystreets.com/lookup\";\n\n/**\n * The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.
\n * You can use ClientBuilder's methods to customize settings like maximum retries or timeout duration. These methods
\n * are chainable, so you can usually get set up with one line of code.\n */\nclass ClientBuilder {\n\tconstructor(signer) {\n\t\tif (noCredentialsProvided()) throw new BadCredentialsError();\n\n\t\tthis.signer = signer;\n\t\tthis.httpSender = undefined;\n\t\tthis.maxRetries = 5;\n\t\tthis.maxTimeout = 10000;\n\t\tthis.baseUrl = undefined;\n\t\tthis.proxy = undefined;\n\t\tthis.customHeaders = {};\n\t\tthis.debug = undefined;\n\t\tthis.licenses = [];\n\n\t\tfunction noCredentialsProvided() {\n\t\t\treturn !signer instanceof StaticCredentials || !signer instanceof SharedCredentials;\n\t\t}\n\t}\n\n\t/**\n\t * @param retries The maximum number of times to retry sending the request to the API. (Default is 5)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxRetries(retries) {\n\t\tthis.maxRetries = retries;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param timeout The maximum time (in milliseconds) to wait for a connection, and also to wait for
\n\t * the response to be read. (Default is 10000)\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithMaxTimeout(timeout) {\n\t\tthis.maxTimeout = timeout;\n\t\treturn this;\n\t}\n\n\t/**\n\t * @param sender Default is a series of nested senders. See buildSender().\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithSender(sender) {\n\t\tthis.httpSender = sender;\n\t\treturn this;\n\t}\n\n\t/**\n\t * This may be useful when using a local installation of the Smarty APIs.\n\t * @param url Defaults to the URL for the API corresponding to the Client object being built.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithBaseUrl(url) {\n\t\tthis.baseUrl = url;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to specify a proxy through which to send all lookups.\n\t * @param host The host of the proxy server (do not include the port).\n\t * @param port The port on the proxy server to which you wish to connect.\n\t * @param protocol The protocol on the proxy server to which you wish to connect. If the proxy server uses HTTPS, then you must set the protocol to 'https'.\n\t * @param username The username to login to the proxy.\n\t * @param password The password to login to the proxy.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithProxy(host, port, protocol, username, password) {\n\t\tthis.proxy = {\n\t\t\thost: host,\n\t\t\tport: port,\n\t\t\tprotocol: protocol,\n\t\t};\n\n\t\tif (username && password) {\n\t\t\tthis.proxy.auth = {\n\t\t\t\tusername: username,\n\t\t\t\tpassword: password,\n\t\t\t};\n\t\t}\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Use this to add any additional headers you need.\n\t * @param customHeaders A String to Object Map of header name/value pairs.\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithCustomHeaders(customHeaders) {\n\t\tthis.customHeaders = customHeaders;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Enables debug mode, which will print information about the HTTP request and response to console.log\n\t * @return Returns this to accommodate method chaining.\n\t */\n\twithDebug() {\n\t\tthis.debug = true;\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Allows the caller to specify the subscription license (aka \"track\") they wish to use.\n\t * @param licenses A String Array of licenses.\n\t * @returns Returns this to accommodate method chaining.\n\t */\n\twithLicenses(licenses) {\n\t\tthis.licenses = licenses;\n\n\t\treturn this;\n\t}\n\n\tbuildSender() {\n\t\tif (this.httpSender) return this.httpSender;\n\n\t\tconst httpSender = new HttpSender(this.maxTimeout, this.maxRetries, this.proxy, this.debug);\n\t\tconst statusCodeSender = new StatusCodeSender(httpSender);\n\t\tconst signingSender = new SigningSender(statusCodeSender, this.signer);\n\t\tconst agentSender = new AgentSender(signingSender);\n\t\tconst customHeaderSender = new CustomHeaderSender(agentSender, this.customHeaders);\n\t\tconst baseUrlSender = new BaseUrlSender(customHeaderSender, this.baseUrl);\n\t\tconst licenseSender = new LicenseSender(baseUrlSender, this.licenses);\n\n\t\treturn licenseSender;\n\t}\n\n\tbuildClient(baseUrl, Client) {\n\t\tif (!this.baseUrl) {\n\t\t\tthis.baseUrl = baseUrl;\n\t\t}\n\n\t\treturn new Client(this.buildSender());\n\t}\n\n\tbuildUsStreetApiClient() {\n\t\treturn this.buildClient(US_STREET_API_URL, UsStreetClient);\n\t}\n\n\tbuildUsZipcodeClient() {\n\t\treturn this.buildClient(US_ZIP_CODE_API_URL, UsZipcodeClient);\n\t}\n\n\tbuildUsAutocompleteClient() { // Deprecated\n\t\treturn this.buildClient(US_AUTOCOMPLETE_API_URL, UsAutocompleteClient);\n\t}\n\n\tbuildUsAutocompleteProClient() {\n\t\treturn this.buildClient(US_AUTOCOMPLETE_PRO_API_URL, UsAutocompleteProClient);\n\t}\n\n\tbuildUsExtractClient() {\n\t\treturn this.buildClient(US_EXTRACT_API_URL, UsExtractClient);\n\t}\n\n\tbuildInternationalStreetClient() {\n\t\treturn this.buildClient(INTERNATIONAL_STREET_API_URI, InternationalStreetClient);\n\t}\n\n\tbuildUsReverseGeoClient() {\n\t\treturn this.buildClient(US_REVERSE_GEO_API_URL, UsReverseGeoClient);\n\t}\n\n\tbuildInternationalAddressAutocompleteClient() {\n\t\treturn this.buildClient(INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL, InternationalAddressAutocompleteClient);\n\t}\n}\n\nmodule.exports = ClientBuilder;","class CustomHeaderSender {\n\tconstructor(innerSender, customHeaders) {\n\t\tthis.sender = innerSender;\n\t\tthis.customHeaders = customHeaders;\n\t}\n\n\tsend(request) {\n\t\tfor (let key in this.customHeaders) {\n\t\t\trequest.headers[key] = this.customHeaders[key];\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = CustomHeaderSender;","class SmartyError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass BatchFullError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch can contain a max of 100 lookups.\");\n\t}\n}\n\nclass BatchEmptyError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"A batch must contain at least 1 lookup.\");\n\t}\n}\n\nclass UndefinedLookupError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The lookup provided is missing or undefined. Make sure you're passing a Lookup object.\");\n\t}\n}\n\nclass BadCredentialsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Unauthorized: The credentials were provided incorrectly or did not match any existing active credentials.\");\n\t}\n}\n\nclass PaymentRequiredError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Payment Required: There is no active subscription for the account associated with the credentials submitted with the request.\");\n\t}\n}\n\nclass RequestEntityTooLargeError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Request Entity Too Large: The request body has exceeded the maximum size.\");\n\t}\n}\n\nclass BadRequestError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Bad Request (Malformed Payload): A GET request lacked a street field or the request body of a POST request contained malformed JSON.\");\n\t}\n}\n\nclass UnprocessableEntityError extends SmartyError {\n\tconstructor(message) {\n\t\tsuper(message);\n\t}\n}\n\nclass TooManyRequestsError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"When using the public 'embedded key' authentication, we restrict the number of requests coming from a given source over too short of a time.\");\n\t}\n}\n\nclass InternalServerError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Internal Server Error.\");\n\t}\n}\n\nclass ServiceUnavailableError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"Service Unavailable. Try again later.\");\n\t}\n}\n\nclass GatewayTimeoutError extends SmartyError {\n\tconstructor() {\n\t\tsuper(\"The upstream data provider did not respond in a timely fashion and the request failed. A serious, yet rare occurrence indeed.\");\n\t}\n}\n\nmodule.exports = {\n\tBatchFullError: BatchFullError,\n\tBatchEmptyError: BatchEmptyError,\n\tUndefinedLookupError: UndefinedLookupError,\n\tBadCredentialsError: BadCredentialsError,\n\tPaymentRequiredError: PaymentRequiredError,\n\tRequestEntityTooLargeError: RequestEntityTooLargeError,\n\tBadRequestError: BadRequestError,\n\tUnprocessableEntityError: UnprocessableEntityError,\n\tTooManyRequestsError: TooManyRequestsError,\n\tInternalServerError: InternalServerError,\n\tServiceUnavailableError: ServiceUnavailableError,\n\tGatewayTimeoutError: GatewayTimeoutError\n};","const Response = require(\"./Response\");\nconst Axios = require(\"axios\");\nconst axiosRetry = require(\"axios-retry\");\n\nclass HttpSender {\n\tconstructor(timeout = 10000, retries = 5, proxyConfig, debug = false) {\n\t\taxiosRetry(Axios, {\n\t\t\tretries: retries,\n\t\t});\n\t\tthis.timeout = timeout;\n\t\tthis.proxyConfig = proxyConfig;\n\t\tif (debug) this.enableDebug();\n\t}\n\n\tbuildRequestConfig({payload, parameters, headers, baseUrl}) {\n\t\tlet config = {\n\t\t\tmethod: \"GET\",\n\t\t\ttimeout: this.timeout,\n\t\t\tparams: parameters,\n\t\t\theaders: headers,\n\t\t\tbaseURL: baseUrl,\n\t\t\tvalidateStatus: function (status) {\n\t\t\t\treturn status < 500;\n\t\t\t},\n\t\t};\n\n\t\tif (payload) {\n\t\t\tconfig.method = \"POST\";\n\t\t\tconfig.data = payload;\n\t\t}\n\n\t\tif (this.proxyConfig) config.proxy = this.proxyConfig;\n\t\treturn config;\n\t}\n\n\tbuildSmartyResponse(response, error) {\n\t\tif (response) return new Response(response.status, response.data);\n\t\treturn new Response(undefined, undefined, error)\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tlet requestConfig = this.buildRequestConfig(request);\n\n\t\t\tAxios(requestConfig)\n\t\t\t\t.then(response => {\n\t\t\t\t\tlet smartyResponse = this.buildSmartyResponse(response);\n\n\t\t\t\t\tif (smartyResponse.statusCode >= 400) reject(smartyResponse);\n\n\t\t\t\t\tresolve(smartyResponse);\n\t\t\t\t})\n\t\t\t\t.catch(error => reject(this.buildSmartyResponse(undefined, error)));\n\t\t});\n\t}\n\n\tenableDebug() {\n\t\tAxios.interceptors.request.use(request => {\n\t\t\tconsole.log('Request:\\r\\n', request);\n\t\t\tconsole.log('\\r\\n*******************************************\\r\\n');\n\t\t\treturn request\n\t\t});\n\n\t\tAxios.interceptors.response.use(response => {\n\t\t\tconsole.log('Response:\\r\\n');\n\t\t\tconsole.log('Status:', response.status, response.statusText);\n\t\t\tconsole.log('Headers:', response.headers);\n\t\t\tconsole.log('Data:', response.data);\n\t\t\treturn response\n\t\t})\n\t}\n}\n\nmodule.exports = HttpSender;","class InputData {\n\tconstructor(lookup) {\n\t\tthis.lookup = lookup;\n\t\tthis.data = {};\n\t}\n\n\tadd(apiField, lookupField) {\n\t\tif (this.lookupFieldIsPopulated(lookupField)) this.data[apiField] = this.lookup[lookupField];\n\t}\n\n\tlookupFieldIsPopulated(lookupField) {\n\t\treturn this.lookup[lookupField] !== \"\" && this.lookup[lookupField] !== undefined;\n\t}\n}\n\nmodule.exports = InputData;","class LicenseSender {\n\tconstructor(innerSender, licenses) {\n\t\tthis.sender = innerSender;\n\t\tthis.licenses = licenses;\n\t}\n\n\tsend(request) {\n\t\tif (this.licenses.length !== 0) {\n\t\t\trequest.parameters[\"license\"] = this.licenses.join(\",\");\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = LicenseSender;","class Request {\n\tconstructor(payload) {\n\t\tthis.baseUrl = \"\";\n\t\tthis.payload = payload;\n\t\tthis.headers = {\n\t\t\t\"Content-Type\": \"application/json; charset=utf-8\",\n\t\t};\n\n\t\tthis.parameters = {};\n\t}\n}\n\nmodule.exports = Request;","class Response {\n\tconstructor (statusCode, payload, error = undefined) {\n\t\tthis.statusCode = statusCode;\n\t\tthis.payload = payload;\n\t\tthis.error = error;\n\t}\n}\n\nmodule.exports = Response;","class SharedCredentials {\n\tconstructor(authId, hostName) {\n\t\tthis.authId = authId;\n\t\tthis.hostName = hostName;\n\t}\n\n\tsign(request) {\n\t\trequest.parameters[\"key\"] = this.authId;\n\t\tif (this.hostName) request.headers[\"Referer\"] = \"https://\" + this.hostName;\n\t}\n}\n\nmodule.exports = SharedCredentials;","const UnprocessableEntityError = require(\"./Errors\").UnprocessableEntityError;\nconst SharedCredentials = require(\"./SharedCredentials\");\n\nclass SigningSender {\n\tconstructor(innerSender, signer) {\n\t\tthis.signer = signer;\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\tconst sendingPostWithSharedCredentials = request.payload && this.signer instanceof SharedCredentials;\n\t\tif (sendingPostWithSharedCredentials) {\n\t\t\tconst message = \"Shared credentials cannot be used in batches with a length greater than 1 or when using the US Extract API.\";\n\t\t\tthrow new UnprocessableEntityError(message);\n\t\t}\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.signer.sign(request);\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(reject);\n\t\t});\n\t}\n}\n\nmodule.exports = SigningSender;","class StaticCredentials {\n\tconstructor (authId, authToken) {\n\t\tthis.authId = authId;\n\t\tthis.authToken = authToken;\n\t}\n\n\tsign (request) {\n\t\trequest.parameters[\"auth-id\"] = this.authId;\n\t\trequest.parameters[\"auth-token\"] = this.authToken;\n\t}\n}\n\nmodule.exports = StaticCredentials;","const Errors = require(\"./Errors\");\n\nclass StatusCodeSender {\n\tconstructor(innerSender) {\n\t\tthis.sender = innerSender;\n\t}\n\n\tsend(request) {\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(resolve)\n\t\t\t\t.catch(error => {\n\t\t\t\t\tswitch (error.statusCode) {\n\t\t\t\t\t\tcase 400:\n\t\t\t\t\t\t\terror.error = new Errors.BadRequestError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\terror.error = new Errors.BadCredentialsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 402:\n\t\t\t\t\t\t\terror.error = new Errors.PaymentRequiredError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 413:\n\t\t\t\t\t\t\terror.error = new Errors.RequestEntityTooLargeError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 422:\n\t\t\t\t\t\t\terror.error = new Errors.UnprocessableEntityError(\"GET request lacked required fields.\");\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 429:\n\t\t\t\t\t\t\terror.error = new Errors.TooManyRequestsError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 500:\n\t\t\t\t\t\t\terror.error = new Errors.InternalServerError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 503:\n\t\t\t\t\t\t\terror.error = new Errors.ServiceUnavailableError();\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 504:\n\t\t\t\t\t\t\terror.error = new Errors.GatewayTimeoutError();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t});\n\t}\n}\n\nmodule.exports = StatusCodeSender;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = {\n\t\t\tsearch: lookup.search,\n\t\t\tcountry: lookup.country,\n\t\t\tmax_results: lookup.max_results,\n\t\t\tinclude_only_administrative_area: lookup.include_only_administrative_area,\n\t\t\tinclude_only_locality: lookup.include_only_locality,\n\t\t\tinclude_only_postal_code: lookup.include_only_postal_code,\n\t\t};\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload && payload.candidates === null) return [];\n\n\t\t\treturn payload.candidates.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","class Lookup {\n\tconstructor(search = \"\", country = \"United States\", max_results = undefined, include_only_administrative_area = \"\", include_only_locality = \"\", include_only_postal_code = \"\") {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.country = country;\n\t\tthis.max_results = max_results;\n\t\tthis.include_only_administrative_area = include_only_administrative_area;\n\t\tthis.include_only_locality = include_only_locality;\n\t\tthis.include_only_postal_code = include_only_postal_code;\n\t}\n}\n\nmodule.exports = Lookup;","class Suggestion {\n\tconstructor(responseData) {\n\t\tthis.street = responseData.street;\n\t\tthis.locality = responseData.locality;\n\t\tthis.administrativeArea = responseData.administrative_area;\n\t\tthis.postalCode = responseData.postal_code;\n\t\tthis.countryIso3 = responseData.country_iso3;\n\t}\n}\n\nmodule.exports = Suggestion;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.organization = responseData.organization;\n\t\tthis.address1 = responseData.address1;\n\t\tthis.address2 = responseData.address2;\n\t\tthis.address3 = responseData.address3;\n\t\tthis.address4 = responseData.address4;\n\t\tthis.address5 = responseData.address5;\n\t\tthis.address6 = responseData.address6;\n\t\tthis.address7 = responseData.address7;\n\t\tthis.address8 = responseData.address8;\n\t\tthis.address9 = responseData.address9;\n\t\tthis.address10 = responseData.address10;\n\t\tthis.address11 = responseData.address11;\n\t\tthis.address12 = responseData.address12;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.countryIso3 = responseData.components.country_iso_3;\n\t\t\tthis.components.superAdministrativeArea = responseData.components.super_administrative_area;\n\t\t\tthis.components.administrativeArea = responseData.components.administrative_area;\n\t\t\tthis.components.subAdministrativeArea = responseData.components.sub_administrative_area;\n\t\t\tthis.components.dependentLocality = responseData.components.dependent_locality;\n\t\t\tthis.components.dependentLocalityName = responseData.components.dependent_locality_name;\n\t\t\tthis.components.doubleDependentLocality = responseData.components.double_dependent_locality;\n\t\t\tthis.components.locality = responseData.components.locality;\n\t\t\tthis.components.postalCode = responseData.components.postal_code;\n\t\t\tthis.components.postalCodeShort = responseData.components.postal_code_short;\n\t\t\tthis.components.postalCodeExtra = responseData.components.postal_code_extra;\n\t\t\tthis.components.premise = responseData.components.premise;\n\t\t\tthis.components.premiseExtra = responseData.components.premise_extra;\n\t\t\tthis.components.premisePrefixNumber = responseData.components.premise_prefix_number;\n\t\t\tthis.components.premiseNumber = responseData.components.premise_number;\n\t\t\tthis.components.premiseType = responseData.components.premise_type;\n\t\t\tthis.components.thoroughfare = responseData.components.thoroughfare;\n\t\t\tthis.components.thoroughfarePredirection = responseData.components.thoroughfare_predirection;\n\t\t\tthis.components.thoroughfarePostdirection = responseData.components.thoroughfare_postdirection;\n\t\t\tthis.components.thoroughfareName = responseData.components.thoroughfare_name;\n\t\t\tthis.components.thoroughfareTrailingType = responseData.components.thoroughfare_trailing_type;\n\t\t\tthis.components.thoroughfareType = responseData.components.thoroughfare_type;\n\t\t\tthis.components.dependentThoroughfare = responseData.components.dependent_thoroughfare;\n\t\t\tthis.components.dependentThoroughfarePredirection = responseData.components.dependent_thoroughfare_predirection;\n\t\t\tthis.components.dependentThoroughfarePostdirection = responseData.components.dependent_thoroughfare_postdirection;\n\t\t\tthis.components.dependentThoroughfareName = responseData.components.dependent_thoroughfare_name;\n\t\t\tthis.components.dependentThoroughfareTrailingType = responseData.components.dependent_thoroughfare_trailing_type;\n\t\t\tthis.components.dependentThoroughfareType = responseData.components.dependent_thoroughfare_type;\n\t\t\tthis.components.building = responseData.components.building;\n\t\t\tthis.components.buildingLeadingType = responseData.components.building_leading_type;\n\t\t\tthis.components.buildingName = responseData.components.building_name;\n\t\t\tthis.components.buildingTrailingType = responseData.components.building_trailing_type;\n\t\t\tthis.components.subBuildingType = responseData.components.sub_building_type;\n\t\t\tthis.components.subBuildingNumber = responseData.components.sub_building_number;\n\t\t\tthis.components.subBuildingName = responseData.components.sub_building_name;\n\t\t\tthis.components.subBuilding = responseData.components.sub_building;\n\t\t\tthis.components.postBox = responseData.components.post_box;\n\t\t\tthis.components.postBoxType = responseData.components.post_box_type;\n\t\t\tthis.components.postBoxNumber = responseData.components.post_box_number;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.verificationStatus = responseData.analysis.verification_status;\n\t\t\tthis.analysis.addressPrecision = responseData.analysis.address_precision;\n\t\t\tthis.analysis.maxAddressPrecision = responseData.analysis.max_address_precision;\n\n\t\t\tthis.analysis.changes = {};\n\t\t\tif (responseData.analysis.changes !== undefined) {\n\t\t\t\tthis.analysis.changes.organization = responseData.analysis.changes.organization;\n\t\t\t\tthis.analysis.changes.address1 = responseData.analysis.changes.address1;\n\t\t\t\tthis.analysis.changes.address2 = responseData.analysis.changes.address2;\n\t\t\t\tthis.analysis.changes.address3 = responseData.analysis.changes.address3;\n\t\t\t\tthis.analysis.changes.address4 = responseData.analysis.changes.address4;\n\t\t\t\tthis.analysis.changes.address5 = responseData.analysis.changes.address5;\n\t\t\t\tthis.analysis.changes.address6 = responseData.analysis.changes.address6;\n\t\t\t\tthis.analysis.changes.address7 = responseData.analysis.changes.address7;\n\t\t\t\tthis.analysis.changes.address8 = responseData.analysis.changes.address8;\n\t\t\t\tthis.analysis.changes.address9 = responseData.analysis.changes.address9;\n\t\t\t\tthis.analysis.changes.address10 = responseData.analysis.changes.address10;\n\t\t\t\tthis.analysis.changes.address11 = responseData.analysis.changes.address11;\n\t\t\t\tthis.analysis.changes.address12 = responseData.analysis.changes.address12;\n\n\t\t\t\tthis.analysis.changes.components = {};\n\t\t\t\tif (responseData.analysis.changes.components !== undefined) {\n\t\t\t\t\tthis.analysis.changes.components.countryIso3 = responseData.analysis.changes.components.country_iso_3;\n\t\t\t\t\tthis.analysis.changes.components.superAdministrativeArea = responseData.analysis.changes.components.super_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.administrativeArea = responseData.analysis.changes.components.administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.subAdministrativeArea = responseData.analysis.changes.components.sub_administrative_area;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocality = responseData.analysis.changes.components.dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.dependentLocalityName = responseData.analysis.changes.components.dependent_locality_name;\n\t\t\t\t\tthis.analysis.changes.components.doubleDependentLocality = responseData.analysis.changes.components.double_dependent_locality;\n\t\t\t\t\tthis.analysis.changes.components.locality = responseData.analysis.changes.components.locality;\n\t\t\t\t\tthis.analysis.changes.components.postalCode = responseData.analysis.changes.components.postal_code;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeShort = responseData.analysis.changes.components.postal_code_short;\n\t\t\t\t\tthis.analysis.changes.components.postalCodeExtra = responseData.analysis.changes.components.postal_code_extra;\n\t\t\t\t\tthis.analysis.changes.components.premise = responseData.analysis.changes.components.premise;\n\t\t\t\t\tthis.analysis.changes.components.premiseExtra = responseData.analysis.changes.components.premise_extra;\n\t\t\t\t\tthis.analysis.changes.components.premisePrefixNumber = responseData.analysis.changes.components.premise_prefix_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseNumber = responseData.analysis.changes.components.premise_number;\n\t\t\t\t\tthis.analysis.changes.components.premiseType = responseData.analysis.changes.components.premise_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfare = responseData.analysis.changes.components.thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePredirection = responseData.analysis.changes.components.thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfarePostdirection = responseData.analysis.changes.components.thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareName = responseData.analysis.changes.components.thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareTrailingType = responseData.analysis.changes.components.thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.thoroughfareType = responseData.analysis.changes.components.thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfare = responseData.analysis.changes.components.dependent_thoroughfare;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePredirection = responseData.analysis.changes.components.dependent_thoroughfare_predirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfarePostdirection = responseData.analysis.changes.components.dependent_thoroughfare_postdirection;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareName = responseData.analysis.changes.components.dependent_thoroughfare_name;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareTrailingType = responseData.analysis.changes.components.dependent_thoroughfare_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.dependentThoroughfareType = responseData.analysis.changes.components.dependent_thoroughfare_type;\n\t\t\t\t\tthis.analysis.changes.components.building = responseData.analysis.changes.components.building;\n\t\t\t\t\tthis.analysis.changes.components.buildingLeadingType = responseData.analysis.changes.components.building_leading_type;\n\t\t\t\t\tthis.analysis.changes.components.buildingName = responseData.analysis.changes.components.building_name;\n\t\t\t\t\tthis.analysis.changes.components.buildingTrailingType = responseData.analysis.changes.components.building_trailing_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingType = responseData.analysis.changes.components.sub_building_type;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingNumber = responseData.analysis.changes.components.sub_building_number;\n\t\t\t\t\tthis.analysis.changes.components.subBuildingName = responseData.analysis.changes.components.sub_building_name;\n\t\t\t\t\tthis.analysis.changes.components.subBuilding = responseData.analysis.changes.components.sub_building;\n\t\t\t\t\tthis.analysis.changes.components.postBox = responseData.analysis.changes.components.post_box;\n\t\t\t\t\tthis.analysis.changes.components.postBoxType = responseData.analysis.changes.components.post_box_type;\n\t\t\t\t\tthis.analysis.changes.components.postBoxNumber = responseData.analysis.changes.components.post_box_number;\n\t\t\t\t}\n\t\t\t\t//TODO: Fill in the rest of these fields and their corresponding tests.\n\t\t\t}\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tthis.metadata.geocodePrecision = responseData.metadata.geocode_precision;\n\t\t\tthis.metadata.maxGeocodePrecision = responseData.metadata.max_geocode_precision;\n\t\t\tthis.metadata.addressFormat = responseData.metadata.address_format;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst Candidate = require(\"./Candidate\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").internationalStreet;\n\n/**\n * This client sends lookups to the Smarty International Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupCandidates(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupCandidates(response, lookup) {\n\t\t\tresponse.payload.map(rawCandidate => {\n\t\t\t\tlookup.result.push(new Candidate(rawCandidate));\n\t\t\t});\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","const UnprocessableEntityError = require(\"../Errors\").UnprocessableEntityError;\nconst messages = {\n\tcountryRequired: \"Country field is required.\",\n\tfreeformOrAddress1Required: \"Either freeform or address1 is required.\",\n\tinsufficientInformation: \"Insufficient information: One or more required fields were not set on the lookup.\",\n\tbadGeocode: \"Invalid input: geocode can only be set to 'true' (default is 'false'.\",\n\tinvalidLanguage: \"Invalid input: language can only be set to 'latin' or 'native'. When not set, the the output language will match the language of the input values.\"\n};\n\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n *

Note: Lookups must have certain required fields set with non-blank values.
\n * These can be found at the URL below.

\n * @see \"https://www.smarty.com/docs/cloud/international-street-api#http-input-fields\"\n */\nclass Lookup {\n\tconstructor(country, freeform) {\n\t\tthis.result = [];\n\n\t\tthis.country = country;\n\t\tthis.freeform = freeform;\n\t\tthis.address1 = undefined;\n\t\tthis.address2 = undefined;\n\t\tthis.address3 = undefined;\n\t\tthis.address4 = undefined;\n\t\tthis.organization = undefined;\n\t\tthis.locality = undefined;\n\t\tthis.administrativeArea = undefined;\n\t\tthis.postalCode = undefined;\n\t\tthis.geocode = undefined;\n\t\tthis.language = undefined;\n\t\tthis.inputId = undefined;\n\n\t\tthis.ensureEnoughInfo = this.ensureEnoughInfo.bind(this);\n\t\tthis.ensureValidData = this.ensureValidData.bind(this);\n\t}\n\n\tensureEnoughInfo() {\n\t\tif (fieldIsMissing(this.country)) throw new UnprocessableEntityError(messages.countryRequired);\n\n\t\tif (fieldIsSet(this.freeform)) return true;\n\n\t\tif (fieldIsMissing(this.address1)) throw new UnprocessableEntityError(messages.freeformOrAddress1Required);\n\n\t\tif (fieldIsSet(this.postalCode)) return true;\n\n\t\tif (fieldIsMissing(this.locality) || fieldIsMissing(this.administrativeArea)) throw new UnprocessableEntityError(messages.insufficientInformation);\n\n\t\treturn true;\n\t}\n\n\tensureValidData() {\n\t\tlet languageIsSetIncorrectly = () => {\n\t\t\tlet isLanguage = language => this.language.toLowerCase() === language;\n\n\t\t\treturn fieldIsSet(this.language) && !(isLanguage(\"latin\") || isLanguage(\"native\"));\n\t\t};\n\n\t\tlet geocodeIsSetIncorrectly = () => {\n\t\t\treturn fieldIsSet(this.geocode) && this.geocode.toLowerCase() !== \"true\";\n\t\t};\n\n\t\tif (geocodeIsSetIncorrectly()) throw new UnprocessableEntityError(messages.badGeocode);\n\n\t\tif (languageIsSetIncorrectly()) throw new UnprocessableEntityError(messages.invalidLanguage);\n\n\t\treturn true;\n\t}\n}\n\nfunction fieldIsMissing (field) {\n\tif (!field) return true;\n\n\tconst whitespaceCharacters = /\\s/g;\n\n\treturn field.replace(whitespaceCharacters, \"\").length < 1;\n}\n\nfunction fieldIsSet (field) {\n\treturn !fieldIsMissing(field);\n}\n\nmodule.exports = Lookup;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tprefix: lookup.prefix,\n\t\t\t\tsuggestions: lookup.maxSuggestions,\n\t\t\t\tcity_filter: joinFieldWith(lookup.cityFilter, \",\"),\n\t\t\t\tstate_filter: joinFieldWith(lookup.stateFilter, \",\"),\n\t\t\t\tprefer: joinFieldWith(lookup.prefer, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tgeolocate: lookup.geolocate,\n\t\t\t\tgeolocate_precision: lookup.geolocatePrecision,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param prefix The beginning of an address. This is required to be set.\n\t */\n\tconstructor(prefix) {\n\t\tthis.result = [];\n\n\t\tthis.prefix = prefix;\n\t\tthis.maxSuggestions = undefined;\n\t\tthis.cityFilter = [];\n\t\tthis.stateFilter = [];\n\t\tthis.prefer = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.geolocate = undefined;\n\t\tthis.geolocatePrecision = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t}\n}\n\nmodule.exports = Suggestion;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Suggestion = require(\"./Suggestion\");\n\n/**\n * This client sends lookups to the Smarty US Autocomplete Pro API,
\n * and attaches the suggestions to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildRequestParameters(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = buildSuggestionsFromResponse(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParameters(lookup) {\n\t\t\treturn {\n\t\t\t\tsearch: lookup.search,\n\t\t\t\tselected: lookup.selected,\n\t\t\t\tmax_results: lookup.maxResults,\n\t\t\t\tinclude_only_cities: joinFieldWith(lookup.includeOnlyCities, \";\"),\n\t\t\t\tinclude_only_states: joinFieldWith(lookup.includeOnlyStates, \";\"),\n\t\t\t\tinclude_only_zip_codes: joinFieldWith(lookup.includeOnlyZIPCodes, \";\"),\n\t\t\t\texclude_states: joinFieldWith(lookup.excludeStates, \";\"),\n\t\t\t\tprefer_cities: joinFieldWith(lookup.preferCities, \";\"),\n\t\t\t\tprefer_states: joinFieldWith(lookup.preferStates, \";\"),\n\t\t\t\tprefer_zip_codes: joinFieldWith(lookup.preferZIPCodes, \";\"),\n\t\t\t\tprefer_ratio: lookup.preferRatio,\n\t\t\t\tprefer_geolocation: lookup.preferGeolocation,\n\t\t\t\tsource: lookup.source,\n\t\t\t};\n\n\t\t\tfunction joinFieldWith(field, delimiter) {\n\t\t\t\tif (field.length) return field.join(delimiter);\n\t\t\t}\n\t\t}\n\n\t\tfunction buildSuggestionsFromResponse(payload) {\n\t\t\tif (payload.suggestions === null) return [];\n\n\t\t\treturn payload.suggestions.map(suggestion => new Suggestion(suggestion));\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param search The beginning of an address. This is required to be set.\n\t */\n\tconstructor(search) {\n\t\tthis.result = [];\n\n\t\tthis.search = search;\n\t\tthis.selected = undefined;\n\t\tthis.maxResults = undefined;\n\t\tthis.includeOnlyCities = [];\n\t\tthis.includeOnlyStates = [];\n\t\tthis.includeOnlyZIPCodes = [];\n\t\tthis.excludeStates = [];\n\t\tthis.preferCities = [];\n\t\tthis.preferStates = [];\n\t\tthis.preferZIPCodes = [];\n\t\tthis.preferRatio = undefined;\n\t\tthis.preferGeolocation = undefined;\n\t\tthis.source = undefined\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-autocomplete-api#pro-http-response\"\n */\nclass Suggestion {\n\tconstructor(responseData) {\n\t\tthis.streetLine = responseData.street_line;\n\t\tthis.secondary = responseData.secondary;\n\t\tthis.city = responseData.city;\n\t\tthis.state = responseData.state;\n\t\tthis.zipcode = responseData.zipcode;\n\t\tthis.entries = responseData.entries;\n\t}\n}\n\nmodule.exports = Suggestion;","const Candidate = require(\"../us_street/Candidate\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Address {\n\tconstructor (responseData) {\n\t\tthis.text = responseData.text;\n\t\tthis.verified = responseData.verified;\n\t\tthis.line = responseData.line;\n\t\tthis.start = responseData.start;\n\t\tthis.end = responseData.end;\n\t\tthis.candidates = responseData.api_output.map(rawAddress => new Candidate(rawAddress));\n\t}\n}\n\nmodule.exports = Address;","const Errors = require(\"../Errors\");\nconst Request = require(\"../Request\");\nconst Result = require(\"./Result\");\n\n/**\n * This client sends lookups to the Smarty US Extract API,
\n * and attaches the results to the Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new Errors.UndefinedLookupError();\n\n\t\tlet request = new Request(lookup.text);\n\t\trequest.parameters = buildRequestParams(lookup);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tlookup.result = new Result(response.payload);\n\t\t\t\t\tresolve(lookup);\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction buildRequestParams(lookup) {\n\t\t\treturn {\n\t\t\t\thtml: lookup.html,\n\t\t\t\taggressive: lookup.aggressive,\n\t\t\t\taddr_line_breaks: lookup.addressesHaveLineBreaks,\n\t\t\t\taddr_per_line: lookup.addressesPerLine,\n\t\t\t};\n\t\t}\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-extract-api#http-request-input-fields\"\n */\nclass Lookup {\n\t/**\n\t * @param text The text that is to have addresses extracted out of it for verification (required)\n\t */\n\tconstructor(text) {\n\t\tthis.result = {\n\t\t\tmeta: {},\n\t\t\taddresses: [],\n\t\t};\n\t\t//TODO: require the text field.\n\t\tthis.text = text;\n\t\tthis.html = undefined;\n\t\tthis.aggressive = undefined;\n\t\tthis.addressesHaveLineBreaks = undefined;\n\t\tthis.addressesPerLine = undefined;\n\t}\n}\n\nmodule.exports = Lookup;","const Address = require(\"./Address\");\n\n/**\n * @see Smarty US Extract API docs\n */\nclass Result {\n\tconstructor({meta, addresses}) {\n\t\tthis.meta = {\n\t\t\tlines: meta.lines,\n\t\t\tunicode: meta.unicode,\n\t\t\taddressCount: meta.address_count,\n\t\t\tverifiedCount: meta.verified_count,\n\t\t\tbytes: meta.bytes,\n\t\t\tcharacterCount: meta.character_count,\n\t\t};\n\n\t\tthis.addresses = addresses.map(rawAddress => new Address(rawAddress));\n\t}\n}\n\nmodule.exports = Result;","const Request = require(\"../Request\");\nconst Response = require(\"./Response\");\nconst buildInputData = require(\"../util/buildInputData\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usReverseGeo;\nconst {UndefinedLookupError} = require(\"../Errors.js\");\n\n/**\n * This client sends lookups to the Smarty US Reverse Geo API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\tsend(lookup) {\n\t\tif (typeof lookup === \"undefined\") throw new UndefinedLookupError();\n\n\t\tlet request = new Request();\n\t\trequest.parameters = buildInputData(lookup, keyTranslationFormat);\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis.sender.send(request)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\t\tresolve(attachLookupResults(response, lookup));\n\t\t\t\t})\n\t\t\t\t.catch(reject);\n\t\t});\n\n\t\tfunction attachLookupResults(response, lookup) {\n\t\t\tlookup.response = new Response(response.payload);\n\n\t\t\treturn lookup;\n\t\t}\n\t}\n}\n\nmodule.exports = Client;\n","const Response = require(\"./Response\");\n\n/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(latitude, longitude) {\n\t\tthis.latitude = latitude.toFixed(8);\n\t\tthis.longitude = longitude.toFixed(8);\n\t\tthis.response = new Response();\n\t}\n}\n\nmodule.exports = Lookup;\n","const Result = require(\"./Result\");\n\n/**\n * The SmartyResponse contains the response from a call to the US Reverse Geo API.\n */\nclass Response {\n\tconstructor(responseData) {\n\t\tthis.results = [];\n\n\t\tif (responseData)\n\t\t\tresponseData.results.map(rawResult => {\n\t\t\t\tthis.results.push(new Result(rawResult));\n\t\t\t});\n\t}\n}\n\nmodule.exports = Response;\n","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-reverse-geo-api#result\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.distance = responseData.distance;\n\n\t\tthis.address = {};\n\t\tif (responseData.address) {\n\t\t\tthis.address.street = responseData.address.street;\n\t\t\tthis.address.city = responseData.address.city;\n\t\t\tthis.address.state_abbreviation = responseData.address.state_abbreviation;\n\t\t\tthis.address.zipcode = responseData.address.zipcode;\n\t\t}\n\n\t\tthis.coordinate = {};\n\t\tif (responseData.coordinate) {\n\t\t\tthis.coordinate.latitude = responseData.coordinate.latitude;\n\t\t\tthis.coordinate.longitude = responseData.coordinate.longitude;\n\t\t\tthis.coordinate.accuracy = responseData.coordinate.accuracy;\n\t\t\tswitch (responseData.coordinate.license) {\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.coordinate.license = \"SmartyStreets\";\n\t\t\t}\n\t\t}\n\t}\n}\n\nmodule.exports = Result;","/**\n * A candidate is a possible match for an address that was submitted.
\n * A lookup can have multiple candidates if the address was ambiguous, and
\n * the maxCandidates field is set higher than 1.\n *\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#root\"\n */\nclass Candidate {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.candidateIndex = responseData.candidate_index;\n\t\tthis.addressee = responseData.addressee;\n\t\tthis.deliveryLine1 = responseData.delivery_line_1;\n\t\tthis.deliveryLine2 = responseData.delivery_line_2;\n\t\tthis.lastLine = responseData.last_line;\n\t\tthis.deliveryPointBarcode = responseData.delivery_point_barcode;\n\n\t\tthis.components = {};\n\t\tif (responseData.components !== undefined) {\n\t\t\tthis.components.urbanization = responseData.components.urbanization;\n\t\t\tthis.components.primaryNumber = responseData.components.primary_number;\n\t\t\tthis.components.streetName = responseData.components.street_name;\n\t\t\tthis.components.streetPredirection = responseData.components.street_predirection;\n\t\t\tthis.components.streetPostdirection = responseData.components.street_postdirection;\n\t\t\tthis.components.streetSuffix = responseData.components.street_suffix;\n\t\t\tthis.components.secondaryNumber = responseData.components.secondary_number;\n\t\t\tthis.components.secondaryDesignator = responseData.components.secondary_designator;\n\t\t\tthis.components.extraSecondaryNumber = responseData.components.extra_secondary_number;\n\t\t\tthis.components.extraSecondaryDesignator = responseData.components.extra_secondary_designator;\n\t\t\tthis.components.pmbDesignator = responseData.components.pmb_designator;\n\t\t\tthis.components.pmbNumber = responseData.components.pmb_number;\n\t\t\tthis.components.cityName = responseData.components.city_name;\n\t\t\tthis.components.defaultCityName = responseData.components.default_city_name;\n\t\t\tthis.components.state = responseData.components.state_abbreviation;\n\t\t\tthis.components.zipCode = responseData.components.zipcode;\n\t\t\tthis.components.plus4Code = responseData.components.plus4_code;\n\t\t\tthis.components.deliveryPoint = responseData.components.delivery_point;\n\t\t\tthis.components.deliveryPointCheckDigit = responseData.components.delivery_point_check_digit;\n\t\t}\n\n\t\tthis.metadata = {};\n\t\tif (responseData.metadata !== undefined) {\n\t\t\tthis.metadata.recordType = responseData.metadata.record_type;\n\t\t\tthis.metadata.zipType = responseData.metadata.zip_type;\n\t\t\tthis.metadata.countyFips = responseData.metadata.county_fips;\n\t\t\tthis.metadata.countyName = responseData.metadata.county_name;\n\t\t\tthis.metadata.carrierRoute = responseData.metadata.carrier_route;\n\t\t\tthis.metadata.congressionalDistrict = responseData.metadata.congressional_district;\n\t\t\tthis.metadata.buildingDefaultIndicator = responseData.metadata.building_default_indicator;\n\t\t\tthis.metadata.rdi = responseData.metadata.rdi;\n\t\t\tthis.metadata.elotSequence = responseData.metadata.elot_sequence;\n\t\t\tthis.metadata.elotSort = responseData.metadata.elot_sort;\n\t\t\tthis.metadata.latitude = responseData.metadata.latitude;\n\t\t\tthis.metadata.longitude = responseData.metadata.longitude;\n\t\t\tswitch (responseData.metadata.coordinate_license)\n\t\t\t{\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets Proprietary\";\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthis.metadata.coordinateLicense = \"SmartyStreets\";\n\t\t\t}\n\t\t\tthis.metadata.precision = responseData.metadata.precision;\n\t\t\tthis.metadata.timeZone = responseData.metadata.time_zone;\n\t\t\tthis.metadata.utcOffset = responseData.metadata.utc_offset;\n\t\t\tthis.metadata.obeysDst = responseData.metadata.dst;\n\t\t\tthis.metadata.isEwsMatch = responseData.metadata.ews_match;\n\t\t}\n\n\t\tthis.analysis = {};\n\t\tif (responseData.analysis !== undefined) {\n\t\t\tthis.analysis.dpvMatchCode = responseData.analysis.dpv_match_code;\n\t\t\tthis.analysis.dpvFootnotes = responseData.analysis.dpv_footnotes;\n\t\t\tthis.analysis.cmra = responseData.analysis.dpv_cmra;\n\t\t\tthis.analysis.vacant = responseData.analysis.dpv_vacant;\n\t\t\tthis.analysis.noStat = responseData.analysis.dpv_no_stat;\n\t\t\tthis.analysis.active = responseData.analysis.active;\n\t\t\tthis.analysis.isEwsMatch = responseData.analysis.ews_match; // Deprecated, refer to metadata.ews_match\n\t\t\tthis.analysis.footnotes = responseData.analysis.footnotes;\n\t\t\tthis.analysis.lacsLinkCode = responseData.analysis.lacslink_code;\n\t\t\tthis.analysis.lacsLinkIndicator = responseData.analysis.lacslink_indicator;\n\t\t\tthis.analysis.isSuiteLinkMatch = responseData.analysis.suitelink_match;\n\t\t\tthis.analysis.enhancedMatch = responseData.analysis.enhanced_match;\n\t\t}\n\t}\n}\n\nmodule.exports = Candidate;","const Candidate = require(\"./Candidate\");\nconst Lookup = require(\"./Lookup\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usStreet;\n\n/**\n * This client sends lookups to the Smarty US Street API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data may be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tif (data.maxCandidates == null && data.match == \"enhanced\")\n\t\t\t\tdata.maxCandidates = 5;\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else {\n\t\t\tbatch = data;\n\t\t}\n\n\t\treturn sendBatch(batch, this.sender, Candidate, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-street-api#input-fields\"\n */\nclass Lookup {\n\tconstructor(street, street2, secondary, city, state, zipCode, lastLine, addressee, urbanization, match, maxCandidates, inputId) {\n\t\tthis.street = street;\n\t\tthis.street2 = street2;\n\t\tthis.secondary = secondary;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.lastLine = lastLine;\n\t\tthis.addressee = addressee;\n\t\tthis.urbanization = urbanization;\n\t\tthis.match = match;\n\t\tthis.maxCandidates = maxCandidates;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;\n","const Lookup = require(\"./Lookup\");\nconst Result = require(\"./Result\");\nconst Batch = require(\"../Batch\");\nconst UndefinedLookupError = require(\"../Errors\").UndefinedLookupError;\nconst sendBatch = require(\"../util/sendBatch\");\nconst keyTranslationFormat = require(\"../util/apiToSDKKeyMap\").usZipcode;\n\n/**\n * This client sends lookups to the Smarty US ZIP Code API,
\n * and attaches the results to the appropriate Lookup objects.\n */\nclass Client {\n\tconstructor(sender) {\n\t\tthis.sender = sender;\n\t}\n\n\t/**\n\t * Sends up to 100 lookups for validation.\n\t * @param data May be a Lookup object, or a Batch which must contain between 1 and 100 Lookup objects\n\t * @throws SmartyException\n\t */\n\tsend(data) {\n\t\tconst dataIsBatch = data instanceof Batch;\n\t\tconst dataIsLookup = data instanceof Lookup;\n\n\t\tif (!dataIsLookup && !dataIsBatch) throw new UndefinedLookupError;\n\n\t\tlet batch;\n\n\t\tif (dataIsLookup) {\n\t\t\tbatch = new Batch();\n\t\t\tbatch.add(data);\n\t\t} else batch = data;\n\n\t\treturn sendBatch(batch, this.sender, Result, keyTranslationFormat);\n\t}\n}\n\nmodule.exports = Client;","/**\n * In addition to holding all of the input data for this lookup, this class also
\n * will contain the result of the lookup after it comes back from the API.\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#http-request-input-fields\"\n */\nclass Lookup {\n\tconstructor(city, state, zipCode, inputId) {\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipCode = zipCode;\n\t\tthis.inputId = inputId;\n\t\tthis.result = [];\n\t}\n}\n\nmodule.exports = Lookup;","/**\n * @see \"https://www.smarty.com/docs/cloud/us-zipcode-api#root\"\n */\nclass Result {\n\tconstructor(responseData) {\n\t\tthis.inputIndex = responseData.input_index;\n\t\tthis.status = responseData.status;\n\t\tthis.reason = responseData.reason;\n\t\tthis.valid = this.status === undefined && this.reason === undefined;\n\n\t\tthis.cities = !responseData.city_states ? [] : responseData.city_states.map(city => {\n\t\t\treturn {\n\t\t\t\tcity: city.city,\n\t\t\t\tstateAbbreviation: city.state_abbreviation,\n\t\t\t\tstate: city.state,\n\t\t\t\tmailableCity: city.mailable_city,\n\t\t\t};\n\t\t});\n\n\t\tthis.zipcodes = !responseData.zipcodes ? [] : responseData.zipcodes.map(zipcode => {\n\t\t\treturn {\n\t\t\t\tzipcode: zipcode.zipcode,\n\t\t\t\tzipcodeType: zipcode.zipcode_type,\n\t\t\t\tdefaultCity: zipcode.default_city,\n\t\t\t\tcountyFips: zipcode.county_fips,\n\t\t\t\tcountyName: zipcode.county_name,\n\t\t\t\tlatitude: zipcode.latitude,\n\t\t\t\tlongitude: zipcode.longitude,\n\t\t\t\tprecision: zipcode.precision,\n\t\t\t\tstateAbbreviation: zipcode.state_abbreviation,\n\t\t\t\tstate: zipcode.state,\n\t\t\t\talternateCounties: !zipcode.alternate_counties ? [] : zipcode.alternate_counties.map(county => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcountyFips: county.county_fips,\n\t\t\t\t\t\tcountyName: county.county_name,\n\t\t\t\t\t\tstateAbbreviation: county.state_abbreviation,\n\t\t\t\t\t\tstate: county.state,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t};\n\t\t});\n\t}\n}\n\nmodule.exports = Result;","module.exports = {\n\tusStreet: {\n\t\t\"street\": \"street\",\n\t\t\"street2\": \"street2\",\n\t\t\"secondary\": \"secondary\",\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t\t\"lastline\": \"lastLine\",\n\t\t\"addressee\": \"addressee\",\n\t\t\"urbanization\": \"urbanization\",\n\t\t\"match\": \"match\",\n\t\t\"candidates\": \"maxCandidates\",\n\t},\n\tusZipcode: {\n\t\t\"city\": \"city\",\n\t\t\"state\": \"state\",\n\t\t\"zipcode\": \"zipCode\",\n\t},\n\tinternationalStreet: {\n\t\t\"country\": \"country\",\n\t\t\"freeform\": \"freeform\",\n\t\t\"address1\": \"address1\",\n\t\t\"address2\": \"address2\",\n\t\t\"address3\": \"address3\",\n\t\t\"address4\": \"address4\",\n\t\t\"organization\": \"organization\",\n\t\t\"locality\": \"locality\",\n\t\t\"administrative_area\": \"administrativeArea\",\n\t\t\"postal_code\": \"postalCode\",\n\t\t\"geocode\": \"geocode\",\n\t\t\"language\": \"language\",\n\t},\n\tusReverseGeo: {\n\t\t\"latitude\": \"latitude\",\n\t\t\"longitude\": \"longitude\",\n\t}\n};","const ClientBuilder = require(\"../ClientBuilder\");\n\nfunction instantiateClientBuilder(credentials) {\n\treturn new ClientBuilder(credentials);\n}\n\nfunction buildUsStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsStreetApiClient();\n}\n\nfunction buildUsAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteClient();\n}\n\nfunction buildUsAutocompleteProApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsAutocompleteProClient();\n}\n\nfunction buildUsExtractApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsExtractClient();\n}\n\nfunction buildUsZipcodeApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsZipcodeClient();\n}\n\nfunction buildInternationalStreetApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalStreetClient();\n}\n\nfunction buildUsReverseGeoApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildUsReverseGeoClient();\n}\n\nfunction buildInternationalAddressAutocompleteApiClient(credentials) {\n\treturn instantiateClientBuilder(credentials).buildInternationalAddressAutocompleteClient();\n}\n\nmodule.exports = {\n\tusStreet: buildUsStreetApiClient,\n\tusAutocomplete: buildUsAutocompleteApiClient,\n\tusAutocompletePro: buildUsAutocompleteProApiClient,\n\tusExtract: buildUsExtractApiClient,\n\tusZipcode: buildUsZipcodeApiClient,\n\tinternationalStreet: buildInternationalStreetApiClient,\n\tusReverseGeo: buildUsReverseGeoApiClient,\n\tinternationalAddressAutocomplete: buildInternationalAddressAutocompleteApiClient,\n};","const InputData = require(\"../InputData\");\n\nmodule.exports = (lookup, keyTranslationFormat) => {\n\tlet inputData = new InputData(lookup);\n\n\tfor (let key in keyTranslationFormat) {\n\t\tinputData.add(key, keyTranslationFormat[key]);\n\t}\n\n\treturn inputData.data;\n};\n","const Request = require(\"../Request\");\nconst Errors = require(\"../Errors\");\nconst buildInputData = require(\"../util/buildInputData\");\n\nmodule.exports = (batch, sender, Result, keyTranslationFormat) => {\n\tif (batch.isEmpty()) throw new Errors.BatchEmptyError;\n\n\tlet request = new Request();\n\n\tif (batch.length() === 1) request.parameters = generateRequestPayload(batch)[0];\n\telse request.payload = generateRequestPayload(batch);\n\n\treturn new Promise((resolve, reject) => {\n\t\tsender.send(request)\n\t\t\t.then(response => {\n\t\t\t\tif (response.error) reject(response.error);\n\n\t\t\t\tresolve(assignResultsToLookups(batch, response));\n\t\t\t})\n\t\t\t.catch(reject);\n\t});\n\n\tfunction generateRequestPayload(batch) {\n\t\treturn batch.lookups.map((lookup) => {\n\t\t\treturn buildInputData(lookup, keyTranslationFormat);\n\t\t});\n\t}\n\n\tfunction assignResultsToLookups(batch, response) {\n\t\tresponse.payload.map(rawResult => {\n\t\t\tlet result = new Result(rawResult);\n\t\t\tlet lookup = batch.getByIndex(result.inputIndex);\n\n\t\t\tlookup.result.push(result);\n\t\t});\n\n\t\treturn batch;\n\t}\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict'\n\nvar nextTick = nextTickArgs\nprocess.nextTick(upgrade, 42) // pass 42 and see if upgrade is called with it\n\nmodule.exports = thunky\n\nfunction thunky (fn) {\n var state = run\n return thunk\n\n function thunk (callback) {\n state(callback || noop)\n }\n\n function run (callback) {\n var stack = [callback]\n state = wait\n fn(done)\n\n function wait (callback) {\n stack.push(callback)\n }\n\n function done (err) {\n var args = arguments\n state = isError(err) ? run : finished\n while (stack.length) finished(stack.shift())\n\n function finished (callback) {\n nextTick(apply, callback, args)\n }\n }\n }\n}\n\nfunction isError (err) { // inlined from util so this works in the browser\n return Object.prototype.toString.call(err) === '[object Error]'\n}\n\nfunction noop () {}\n\nfunction apply (callback, args) {\n callback.apply(null, args)\n}\n\nfunction upgrade (val) {\n if (val === 42) nextTick = process.nextTick\n}\n\nfunction nextTickArgs (fn, a, b) {\n process.nextTick(function () {\n fn(a, b)\n })\n}\n","/*!\n * uid-safe\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar randomBytes = require('random-bytes')\n\n/**\n * Module variables.\n * @private\n */\n\nvar EQUAL_END_REGEXP = /=+$/\nvar PLUS_GLOBAL_REGEXP = /\\+/g\nvar SLASH_GLOBAL_REGEXP = /\\//g\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = uid\nmodule.exports.sync = uidSync\n\n/**\n * Create a unique ID.\n *\n * @param {number} length\n * @param {function} [callback]\n * @return {Promise}\n * @public\n */\n\nfunction uid (length, callback) {\n // validate callback is a function, if provided\n if (callback !== undefined && typeof callback !== 'function') {\n throw new TypeError('argument callback must be a function')\n }\n\n // require the callback without promises\n if (!callback && !global.Promise) {\n throw new TypeError('argument callback is required')\n }\n\n if (callback) {\n // classic callback style\n return generateUid(length, callback)\n }\n\n return new Promise(function executor (resolve, reject) {\n generateUid(length, function onUid (err, str) {\n if (err) return reject(err)\n resolve(str)\n })\n })\n}\n\n/**\n * Create a unique ID sync.\n *\n * @param {number} length\n * @return {string}\n * @public\n */\n\nfunction uidSync (length) {\n return toString(randomBytes.sync(length))\n}\n\n/**\n * Generate a unique ID string.\n *\n * @param {number} length\n * @param {function} callback\n * @private\n */\n\nfunction generateUid (length, callback) {\n randomBytes(length, function (err, buf) {\n if (err) return callback(err)\n callback(null, toString(buf))\n })\n}\n\n/**\n * Change a Buffer into a string.\n *\n * @param {Buffer} buf\n * @return {string}\n * @private\n */\n\nfunction toString (buf) {\n return buf.toString('base64')\n .replace(EQUAL_END_REGEXP, '')\n .replace(PLUS_GLOBAL_REGEXP, '-')\n .replace(SLASH_GLOBAL_REGEXP, '_')\n}\n","'use strict';\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0x00) { // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) { // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) { // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80 || // overlong\n buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0 // surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) { // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80 || // overlong\n buf[i] === 0xf4 && buf[i + 1] > 0x8f || buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = isValidUTF8;\n","'use strict';\n\ntry {\n module.exports = require('node-gyp-build')(__dirname);\n} catch (e) {\n module.exports = require('./fallback');\n}\n","'use strict';\n\nconst WebSocket = require('./lib/websocket');\n\nWebSocket.createWebSocketStream = require('./lib/stream');\nWebSocket.Server = require('./lib/websocket-server');\nWebSocket.Receiver = require('./lib/receiver');\nWebSocket.Sender = require('./lib/sender');\n\nmodule.exports = WebSocket;\n","'use strict';\n\nconst { EMPTY_BUFFER } = require('./constants');\n\n/**\n * Merges an array of buffers into a new buffer.\n *\n * @param {Buffer[]} list The array of buffers to concat\n * @param {Number} totalLength The total length of buffers in the list\n * @return {Buffer} The resulting buffer\n * @public\n */\nfunction concat(list, totalLength) {\n if (list.length === 0) return EMPTY_BUFFER;\n if (list.length === 1) return list[0];\n\n const target = Buffer.allocUnsafe(totalLength);\n let offset = 0;\n\n for (let i = 0; i < list.length; i++) {\n const buf = list[i];\n target.set(buf, offset);\n offset += buf.length;\n }\n\n if (offset < totalLength) return target.slice(0, offset);\n\n return target;\n}\n\n/**\n * Masks a buffer using the given mask.\n *\n * @param {Buffer} source The buffer to mask\n * @param {Buffer} mask The mask to use\n * @param {Buffer} output The buffer where to store the result\n * @param {Number} offset The offset at which to start writing\n * @param {Number} length The number of bytes to mask.\n * @public\n */\nfunction _mask(source, mask, output, offset, length) {\n for (let i = 0; i < length; i++) {\n output[offset + i] = source[i] ^ mask[i & 3];\n }\n}\n\n/**\n * Unmasks a buffer using the given mask.\n *\n * @param {Buffer} buffer The buffer to unmask\n * @param {Buffer} mask The mask to use\n * @public\n */\nfunction _unmask(buffer, mask) {\n // Required until https://github.com/nodejs/node/issues/9006 is resolved.\n const length = buffer.length;\n for (let i = 0; i < length; i++) {\n buffer[i] ^= mask[i & 3];\n }\n}\n\n/**\n * Converts a buffer to an `ArrayBuffer`.\n *\n * @param {Buffer} buf The buffer to convert\n * @return {ArrayBuffer} Converted buffer\n * @public\n */\nfunction toArrayBuffer(buf) {\n if (buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n }\n\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n}\n\n/**\n * Converts `data` to a `Buffer`.\n *\n * @param {*} data The data to convert\n * @return {Buffer} The buffer\n * @throws {TypeError}\n * @public\n */\nfunction toBuffer(data) {\n toBuffer.readOnly = true;\n\n if (Buffer.isBuffer(data)) return data;\n\n let buf;\n\n if (data instanceof ArrayBuffer) {\n buf = Buffer.from(data);\n } else if (ArrayBuffer.isView(data)) {\n buf = Buffer.from(data.buffer, data.byteOffset, data.byteLength);\n } else {\n buf = Buffer.from(data);\n toBuffer.readOnly = false;\n }\n\n return buf;\n}\n\ntry {\n const bufferUtil = require('bufferutil');\n const bu = bufferUtil.BufferUtil || bufferUtil;\n\n module.exports = {\n concat,\n mask(source, mask, output, offset, length) {\n if (length < 48) _mask(source, mask, output, offset, length);\n else bu.mask(source, mask, output, offset, length);\n },\n toArrayBuffer,\n toBuffer,\n unmask(buffer, mask) {\n if (buffer.length < 32) _unmask(buffer, mask);\n else bu.unmask(buffer, mask);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n concat,\n mask: _mask,\n toArrayBuffer,\n toBuffer,\n unmask: _unmask\n };\n}\n","'use strict';\n\nmodule.exports = {\n BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],\n GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',\n kStatusCode: Symbol('status-code'),\n kWebSocket: Symbol('websocket'),\n EMPTY_BUFFER: Buffer.alloc(0),\n NOOP: () => {}\n};\n","'use strict';\n\n/**\n * Class representing an event.\n *\n * @private\n */\nclass Event {\n /**\n * Create a new `Event`.\n *\n * @param {String} type The name of the event\n * @param {Object} target A reference to the target to which the event was\n * dispatched\n */\n constructor(type, target) {\n this.target = target;\n this.type = type;\n }\n}\n\n/**\n * Class representing a message event.\n *\n * @extends Event\n * @private\n */\nclass MessageEvent extends Event {\n /**\n * Create a new `MessageEvent`.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(data, target) {\n super('message', target);\n\n this.data = data;\n }\n}\n\n/**\n * Class representing a close event.\n *\n * @extends Event\n * @private\n */\nclass CloseEvent extends Event {\n /**\n * Create a new `CloseEvent`.\n *\n * @param {Number} code The status code explaining why the connection is being\n * closed\n * @param {String} reason A human-readable string explaining why the\n * connection is closing\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(code, reason, target) {\n super('close', target);\n\n this.wasClean = target._closeFrameReceived && target._closeFrameSent;\n this.reason = reason;\n this.code = code;\n }\n}\n\n/**\n * Class representing an open event.\n *\n * @extends Event\n * @private\n */\nclass OpenEvent extends Event {\n /**\n * Create a new `OpenEvent`.\n *\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(target) {\n super('open', target);\n }\n}\n\n/**\n * Class representing an error event.\n *\n * @extends Event\n * @private\n */\nclass ErrorEvent extends Event {\n /**\n * Create a new `ErrorEvent`.\n *\n * @param {Object} error The error that generated this event\n * @param {WebSocket} target A reference to the target to which the event was\n * dispatched\n */\n constructor(error, target) {\n super('error', target);\n\n this.message = error.message;\n this.error = error;\n }\n}\n\n/**\n * This provides methods for emulating the `EventTarget` interface. It's not\n * meant to be used directly.\n *\n * @mixin\n */\nconst EventTarget = {\n /**\n * Register an event listener.\n *\n * @param {String} type A string representing the event type to listen for\n * @param {Function} listener The listener to add\n * @param {Object} [options] An options object specifies characteristics about\n * the event listener\n * @param {Boolean} [options.once=false] A `Boolean`` indicating that the\n * listener should be invoked at most once after being added. If `true`,\n * the listener would be automatically removed when invoked.\n * @public\n */\n addEventListener(type, listener, options) {\n if (typeof listener !== 'function') return;\n\n function onMessage(data) {\n listener.call(this, new MessageEvent(data, this));\n }\n\n function onClose(code, message) {\n listener.call(this, new CloseEvent(code, message, this));\n }\n\n function onError(error) {\n listener.call(this, new ErrorEvent(error, this));\n }\n\n function onOpen() {\n listener.call(this, new OpenEvent(this));\n }\n\n const method = options && options.once ? 'once' : 'on';\n\n if (type === 'message') {\n onMessage._listener = listener;\n this[method](type, onMessage);\n } else if (type === 'close') {\n onClose._listener = listener;\n this[method](type, onClose);\n } else if (type === 'error') {\n onError._listener = listener;\n this[method](type, onError);\n } else if (type === 'open') {\n onOpen._listener = listener;\n this[method](type, onOpen);\n } else {\n this[method](type, listener);\n }\n },\n\n /**\n * Remove an event listener.\n *\n * @param {String} type A string representing the event type to remove\n * @param {Function} listener The listener to remove\n * @public\n */\n removeEventListener(type, listener) {\n const listeners = this.listeners(type);\n\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i] === listener || listeners[i]._listener === listener) {\n this.removeListener(type, listeners[i]);\n }\n }\n }\n};\n\nmodule.exports = EventTarget;\n","'use strict';\n\n//\n// Allowed token characters:\n//\n// '!', '#', '$', '%', '&', ''', '*', '+', '-',\n// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~'\n//\n// tokenChars[32] === 0 // ' '\n// tokenChars[33] === 1 // '!'\n// tokenChars[34] === 0 // '\"'\n// ...\n//\n// prettier-ignore\nconst tokenChars = [\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31\n 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63\n 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127\n];\n\n/**\n * Adds an offer to the map of extension offers or a parameter to the map of\n * parameters.\n *\n * @param {Object} dest The map of extension offers or parameters\n * @param {String} name The extension or parameter name\n * @param {(Object|Boolean|String)} elem The extension parameters or the\n * parameter value\n * @private\n */\nfunction push(dest, name, elem) {\n if (dest[name] === undefined) dest[name] = [elem];\n else dest[name].push(elem);\n}\n\n/**\n * Parses the `Sec-WebSocket-Extensions` header into an object.\n *\n * @param {String} header The field value of the header\n * @return {Object} The parsed object\n * @public\n */\nfunction parse(header) {\n const offers = Object.create(null);\n\n if (header === undefined || header === '') return offers;\n\n let params = Object.create(null);\n let mustUnescape = false;\n let isEscaping = false;\n let inQuotes = false;\n let extensionName;\n let paramName;\n let start = -1;\n let end = -1;\n let i = 0;\n\n for (; i < header.length; i++) {\n const code = header.charCodeAt(i);\n\n if (extensionName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\\t' */) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n const name = header.slice(start, end);\n if (code === 0x2c) {\n push(offers, name, params);\n params = Object.create(null);\n } else {\n extensionName = name;\n }\n\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (paramName === undefined) {\n if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x20 || code === 0x09) {\n if (end === -1 && start !== -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n push(params, header.slice(start, end), true);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n start = end = -1;\n } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) {\n paramName = header.slice(start, i);\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else {\n //\n // The value of a quoted-string after unescaping must conform to the\n // token ABNF, so only token characters are valid.\n // Ref: https://tools.ietf.org/html/rfc6455#section-9.1\n //\n if (isEscaping) {\n if (tokenChars[code] !== 1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n if (start === -1) start = i;\n else if (!mustUnescape) mustUnescape = true;\n isEscaping = false;\n } else if (inQuotes) {\n if (tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (code === 0x22 /* '\"' */ && start !== -1) {\n inQuotes = false;\n end = i;\n } else if (code === 0x5c /* '\\' */) {\n isEscaping = true;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) {\n inQuotes = true;\n } else if (end === -1 && tokenChars[code] === 1) {\n if (start === -1) start = i;\n } else if (start !== -1 && (code === 0x20 || code === 0x09)) {\n if (end === -1) end = i;\n } else if (code === 0x3b || code === 0x2c) {\n if (start === -1) {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n\n if (end === -1) end = i;\n let value = header.slice(start, end);\n if (mustUnescape) {\n value = value.replace(/\\\\/g, '');\n mustUnescape = false;\n }\n push(params, paramName, value);\n if (code === 0x2c) {\n push(offers, extensionName, params);\n params = Object.create(null);\n extensionName = undefined;\n }\n\n paramName = undefined;\n start = end = -1;\n } else {\n throw new SyntaxError(`Unexpected character at index ${i}`);\n }\n }\n }\n\n if (start === -1 || inQuotes) {\n throw new SyntaxError('Unexpected end of input');\n }\n\n if (end === -1) end = i;\n const token = header.slice(start, end);\n if (extensionName === undefined) {\n push(offers, token, params);\n } else {\n if (paramName === undefined) {\n push(params, token, true);\n } else if (mustUnescape) {\n push(params, paramName, token.replace(/\\\\/g, ''));\n } else {\n push(params, paramName, token);\n }\n push(offers, extensionName, params);\n }\n\n return offers;\n}\n\n/**\n * Builds the `Sec-WebSocket-Extensions` header field value.\n *\n * @param {Object} extensions The map of extensions and parameters to format\n * @return {String} A string representing the given object\n * @public\n */\nfunction format(extensions) {\n return Object.keys(extensions)\n .map((extension) => {\n let configurations = extensions[extension];\n if (!Array.isArray(configurations)) configurations = [configurations];\n return configurations\n .map((params) => {\n return [extension]\n .concat(\n Object.keys(params).map((k) => {\n let values = params[k];\n if (!Array.isArray(values)) values = [values];\n return values\n .map((v) => (v === true ? k : `${k}=${v}`))\n .join('; ');\n })\n )\n .join('; ');\n })\n .join(', ');\n })\n .join(', ');\n}\n\nmodule.exports = { format, parse };\n","'use strict';\n\nconst kDone = Symbol('kDone');\nconst kRun = Symbol('kRun');\n\n/**\n * A very simple job queue with adjustable concurrency. Adapted from\n * https://github.com/STRML/async-limiter\n */\nclass Limiter {\n /**\n * Creates a new `Limiter`.\n *\n * @param {Number} [concurrency=Infinity] The maximum number of jobs allowed\n * to run concurrently\n */\n constructor(concurrency) {\n this[kDone] = () => {\n this.pending--;\n this[kRun]();\n };\n this.concurrency = concurrency || Infinity;\n this.jobs = [];\n this.pending = 0;\n }\n\n /**\n * Adds a job to the queue.\n *\n * @param {Function} job The job to run\n * @public\n */\n add(job) {\n this.jobs.push(job);\n this[kRun]();\n }\n\n /**\n * Removes a job from the queue and runs it if possible.\n *\n * @private\n */\n [kRun]() {\n if (this.pending === this.concurrency) return;\n\n if (this.jobs.length) {\n const job = this.jobs.shift();\n\n this.pending++;\n job(this[kDone]);\n }\n }\n}\n\nmodule.exports = Limiter;\n","'use strict';\n\nconst zlib = require('zlib');\n\nconst bufferUtil = require('./buffer-util');\nconst Limiter = require('./limiter');\nconst { kStatusCode, NOOP } = require('./constants');\n\nconst TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]);\nconst kPerMessageDeflate = Symbol('permessage-deflate');\nconst kTotalLength = Symbol('total-length');\nconst kCallback = Symbol('callback');\nconst kBuffers = Symbol('buffers');\nconst kError = Symbol('error');\n\n//\n// We limit zlib concurrency, which prevents severe memory fragmentation\n// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913\n// and https://github.com/websockets/ws/issues/1202\n//\n// Intentionally global; it's the global thread pool that's an issue.\n//\nlet zlibLimiter;\n\n/**\n * permessage-deflate implementation.\n */\nclass PerMessageDeflate {\n /**\n * Creates a PerMessageDeflate instance.\n *\n * @param {Object} [options] Configuration options\n * @param {Boolean} [options.serverNoContextTakeover=false] Request/accept\n * disabling of server context takeover\n * @param {Boolean} [options.clientNoContextTakeover=false] Advertise/\n * acknowledge disabling of client context takeover\n * @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the\n * use of a custom server window size\n * @param {(Boolean|Number)} [options.clientMaxWindowBits] Advertise support\n * for, or request, a custom client window size\n * @param {Object} [options.zlibDeflateOptions] Options to pass to zlib on\n * deflate\n * @param {Object} [options.zlibInflateOptions] Options to pass to zlib on\n * inflate\n * @param {Number} [options.threshold=1024] Size (in bytes) below which\n * messages should not be compressed\n * @param {Number} [options.concurrencyLimit=10] The number of concurrent\n * calls to zlib\n * @param {Boolean} [isServer=false] Create the instance in either server or\n * client mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(options, isServer, maxPayload) {\n this._maxPayload = maxPayload | 0;\n this._options = options || {};\n this._threshold =\n this._options.threshold !== undefined ? this._options.threshold : 1024;\n this._isServer = !!isServer;\n this._deflate = null;\n this._inflate = null;\n\n this.params = null;\n\n if (!zlibLimiter) {\n const concurrency =\n this._options.concurrencyLimit !== undefined\n ? this._options.concurrencyLimit\n : 10;\n zlibLimiter = new Limiter(concurrency);\n }\n }\n\n /**\n * @type {String}\n */\n static get extensionName() {\n return 'permessage-deflate';\n }\n\n /**\n * Create an extension negotiation offer.\n *\n * @return {Object} Extension parameters\n * @public\n */\n offer() {\n const params = {};\n\n if (this._options.serverNoContextTakeover) {\n params.server_no_context_takeover = true;\n }\n if (this._options.clientNoContextTakeover) {\n params.client_no_context_takeover = true;\n }\n if (this._options.serverMaxWindowBits) {\n params.server_max_window_bits = this._options.serverMaxWindowBits;\n }\n if (this._options.clientMaxWindowBits) {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n } else if (this._options.clientMaxWindowBits == null) {\n params.client_max_window_bits = true;\n }\n\n return params;\n }\n\n /**\n * Accept an extension negotiation offer/response.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Object} Accepted configuration\n * @public\n */\n accept(configurations) {\n configurations = this.normalizeParams(configurations);\n\n this.params = this._isServer\n ? this.acceptAsServer(configurations)\n : this.acceptAsClient(configurations);\n\n return this.params;\n }\n\n /**\n * Releases all resources used by the extension.\n *\n * @public\n */\n cleanup() {\n if (this._inflate) {\n this._inflate.close();\n this._inflate = null;\n }\n\n if (this._deflate) {\n const callback = this._deflate[kCallback];\n\n this._deflate.close();\n this._deflate = null;\n\n if (callback) {\n callback(\n new Error(\n 'The deflate stream was closed while data was being processed'\n )\n );\n }\n }\n }\n\n /**\n * Accept an extension negotiation offer.\n *\n * @param {Array} offers The extension negotiation offers\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsServer(offers) {\n const opts = this._options;\n const accepted = offers.find((params) => {\n if (\n (opts.serverNoContextTakeover === false &&\n params.server_no_context_takeover) ||\n (params.server_max_window_bits &&\n (opts.serverMaxWindowBits === false ||\n (typeof opts.serverMaxWindowBits === 'number' &&\n opts.serverMaxWindowBits > params.server_max_window_bits))) ||\n (typeof opts.clientMaxWindowBits === 'number' &&\n !params.client_max_window_bits)\n ) {\n return false;\n }\n\n return true;\n });\n\n if (!accepted) {\n throw new Error('None of the extension offers can be accepted');\n }\n\n if (opts.serverNoContextTakeover) {\n accepted.server_no_context_takeover = true;\n }\n if (opts.clientNoContextTakeover) {\n accepted.client_no_context_takeover = true;\n }\n if (typeof opts.serverMaxWindowBits === 'number') {\n accepted.server_max_window_bits = opts.serverMaxWindowBits;\n }\n if (typeof opts.clientMaxWindowBits === 'number') {\n accepted.client_max_window_bits = opts.clientMaxWindowBits;\n } else if (\n accepted.client_max_window_bits === true ||\n opts.clientMaxWindowBits === false\n ) {\n delete accepted.client_max_window_bits;\n }\n\n return accepted;\n }\n\n /**\n * Accept the extension negotiation response.\n *\n * @param {Array} response The extension negotiation response\n * @return {Object} Accepted configuration\n * @private\n */\n acceptAsClient(response) {\n const params = response[0];\n\n if (\n this._options.clientNoContextTakeover === false &&\n params.client_no_context_takeover\n ) {\n throw new Error('Unexpected parameter \"client_no_context_takeover\"');\n }\n\n if (!params.client_max_window_bits) {\n if (typeof this._options.clientMaxWindowBits === 'number') {\n params.client_max_window_bits = this._options.clientMaxWindowBits;\n }\n } else if (\n this._options.clientMaxWindowBits === false ||\n (typeof this._options.clientMaxWindowBits === 'number' &&\n params.client_max_window_bits > this._options.clientMaxWindowBits)\n ) {\n throw new Error(\n 'Unexpected or invalid parameter \"client_max_window_bits\"'\n );\n }\n\n return params;\n }\n\n /**\n * Normalize parameters.\n *\n * @param {Array} configurations The extension negotiation offers/reponse\n * @return {Array} The offers/response with normalized parameters\n * @private\n */\n normalizeParams(configurations) {\n configurations.forEach((params) => {\n Object.keys(params).forEach((key) => {\n let value = params[key];\n\n if (value.length > 1) {\n throw new Error(`Parameter \"${key}\" must have only a single value`);\n }\n\n value = value[0];\n\n if (key === 'client_max_window_bits') {\n if (value !== true) {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (!this._isServer) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else if (key === 'server_max_window_bits') {\n const num = +value;\n if (!Number.isInteger(num) || num < 8 || num > 15) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n value = num;\n } else if (\n key === 'client_no_context_takeover' ||\n key === 'server_no_context_takeover'\n ) {\n if (value !== true) {\n throw new TypeError(\n `Invalid value for parameter \"${key}\": ${value}`\n );\n }\n } else {\n throw new Error(`Unknown parameter \"${key}\"`);\n }\n\n params[key] = value;\n });\n });\n\n return configurations;\n }\n\n /**\n * Decompress data. Concurrency limited.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n decompress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._decompress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Compress data. Concurrency limited.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @public\n */\n compress(data, fin, callback) {\n zlibLimiter.add((done) => {\n this._compress(data, fin, (err, result) => {\n done();\n callback(err, result);\n });\n });\n }\n\n /**\n * Decompress data.\n *\n * @param {Buffer} data Compressed data\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _decompress(data, fin, callback) {\n const endpoint = this._isServer ? 'client' : 'server';\n\n if (!this._inflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._inflate = zlib.createInflateRaw({\n ...this._options.zlibInflateOptions,\n windowBits\n });\n this._inflate[kPerMessageDeflate] = this;\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n this._inflate.on('error', inflateOnError);\n this._inflate.on('data', inflateOnData);\n }\n\n this._inflate[kCallback] = callback;\n\n this._inflate.write(data);\n if (fin) this._inflate.write(TRAILER);\n\n this._inflate.flush(() => {\n const err = this._inflate[kError];\n\n if (err) {\n this._inflate.close();\n this._inflate = null;\n callback(err);\n return;\n }\n\n const data = bufferUtil.concat(\n this._inflate[kBuffers],\n this._inflate[kTotalLength]\n );\n\n if (this._inflate._readableState.endEmitted) {\n this._inflate.close();\n this._inflate = null;\n } else {\n this._inflate[kTotalLength] = 0;\n this._inflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._inflate.reset();\n }\n }\n\n callback(null, data);\n });\n }\n\n /**\n * Compress data.\n *\n * @param {Buffer} data Data to compress\n * @param {Boolean} fin Specifies whether or not this is the last fragment\n * @param {Function} callback Callback\n * @private\n */\n _compress(data, fin, callback) {\n const endpoint = this._isServer ? 'server' : 'client';\n\n if (!this._deflate) {\n const key = `${endpoint}_max_window_bits`;\n const windowBits =\n typeof this.params[key] !== 'number'\n ? zlib.Z_DEFAULT_WINDOWBITS\n : this.params[key];\n\n this._deflate = zlib.createDeflateRaw({\n ...this._options.zlibDeflateOptions,\n windowBits\n });\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n //\n // An `'error'` event is emitted, only on Node.js < 10.0.0, if the\n // `zlib.DeflateRaw` instance is closed while data is being processed.\n // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong\n // time due to an abnormal WebSocket closure.\n //\n this._deflate.on('error', NOOP);\n this._deflate.on('data', deflateOnData);\n }\n\n this._deflate[kCallback] = callback;\n\n this._deflate.write(data);\n this._deflate.flush(zlib.Z_SYNC_FLUSH, () => {\n if (!this._deflate) {\n //\n // The deflate stream was closed while data was being processed.\n //\n return;\n }\n\n let data = bufferUtil.concat(\n this._deflate[kBuffers],\n this._deflate[kTotalLength]\n );\n\n if (fin) data = data.slice(0, data.length - 4);\n\n //\n // Ensure that the callback will not be called again in\n // `PerMessageDeflate#cleanup()`.\n //\n this._deflate[kCallback] = null;\n\n this._deflate[kTotalLength] = 0;\n this._deflate[kBuffers] = [];\n\n if (fin && this.params[`${endpoint}_no_context_takeover`]) {\n this._deflate.reset();\n }\n\n callback(null, data);\n });\n }\n}\n\nmodule.exports = PerMessageDeflate;\n\n/**\n * The listener of the `zlib.DeflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction deflateOnData(chunk) {\n this[kBuffers].push(chunk);\n this[kTotalLength] += chunk.length;\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction inflateOnData(chunk) {\n this[kTotalLength] += chunk.length;\n\n if (\n this[kPerMessageDeflate]._maxPayload < 1 ||\n this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload\n ) {\n this[kBuffers].push(chunk);\n return;\n }\n\n this[kError] = new RangeError('Max payload size exceeded');\n this[kError].code = 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH';\n this[kError][kStatusCode] = 1009;\n this.removeListener('data', inflateOnData);\n this.reset();\n}\n\n/**\n * The listener of the `zlib.InflateRaw` stream `'error'` event.\n *\n * @param {Error} err The emitted error\n * @private\n */\nfunction inflateOnError(err) {\n //\n // There is no need to call `Zlib#close()` as the handle is automatically\n // closed when an error is emitted.\n //\n this[kPerMessageDeflate]._inflate = null;\n err[kStatusCode] = 1007;\n this[kCallback](err);\n}\n","'use strict';\n\nconst { Writable } = require('stream');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n kStatusCode,\n kWebSocket\n} = require('./constants');\nconst { concat, toArrayBuffer, unmask } = require('./buffer-util');\nconst { isValidStatusCode, isValidUTF8 } = require('./validation');\n\nconst GET_INFO = 0;\nconst GET_PAYLOAD_LENGTH_16 = 1;\nconst GET_PAYLOAD_LENGTH_64 = 2;\nconst GET_MASK = 3;\nconst GET_DATA = 4;\nconst INFLATING = 5;\n\n/**\n * HyBi Receiver implementation.\n *\n * @extends Writable\n */\nclass Receiver extends Writable {\n /**\n * Creates a Receiver instance.\n *\n * @param {String} [binaryType=nodebuffer] The type for binary data\n * @param {Object} [extensions] An object containing the negotiated extensions\n * @param {Boolean} [isServer=false] Specifies whether to operate in client or\n * server mode\n * @param {Number} [maxPayload=0] The maximum allowed message length\n */\n constructor(binaryType, extensions, isServer, maxPayload) {\n super();\n\n this._binaryType = binaryType || BINARY_TYPES[0];\n this[kWebSocket] = undefined;\n this._extensions = extensions || {};\n this._isServer = !!isServer;\n this._maxPayload = maxPayload | 0;\n\n this._bufferedBytes = 0;\n this._buffers = [];\n\n this._compressed = false;\n this._payloadLength = 0;\n this._mask = undefined;\n this._fragmented = 0;\n this._masked = false;\n this._fin = false;\n this._opcode = 0;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragments = [];\n\n this._state = GET_INFO;\n this._loop = false;\n }\n\n /**\n * Implements `Writable.prototype._write()`.\n *\n * @param {Buffer} chunk The chunk of data to write\n * @param {String} encoding The character encoding of `chunk`\n * @param {Function} cb Callback\n * @private\n */\n _write(chunk, encoding, cb) {\n if (this._opcode === 0x08 && this._state == GET_INFO) return cb();\n\n this._bufferedBytes += chunk.length;\n this._buffers.push(chunk);\n this.startLoop(cb);\n }\n\n /**\n * Consumes `n` bytes from the buffered data.\n *\n * @param {Number} n The number of bytes to consume\n * @return {Buffer} The consumed bytes\n * @private\n */\n consume(n) {\n this._bufferedBytes -= n;\n\n if (n === this._buffers[0].length) return this._buffers.shift();\n\n if (n < this._buffers[0].length) {\n const buf = this._buffers[0];\n this._buffers[0] = buf.slice(n);\n return buf.slice(0, n);\n }\n\n const dst = Buffer.allocUnsafe(n);\n\n do {\n const buf = this._buffers[0];\n const offset = dst.length - n;\n\n if (n >= buf.length) {\n dst.set(this._buffers.shift(), offset);\n } else {\n dst.set(new Uint8Array(buf.buffer, buf.byteOffset, n), offset);\n this._buffers[0] = buf.slice(n);\n }\n\n n -= buf.length;\n } while (n > 0);\n\n return dst;\n }\n\n /**\n * Starts the parsing loop.\n *\n * @param {Function} cb Callback\n * @private\n */\n startLoop(cb) {\n let err;\n this._loop = true;\n\n do {\n switch (this._state) {\n case GET_INFO:\n err = this.getInfo();\n break;\n case GET_PAYLOAD_LENGTH_16:\n err = this.getPayloadLength16();\n break;\n case GET_PAYLOAD_LENGTH_64:\n err = this.getPayloadLength64();\n break;\n case GET_MASK:\n this.getMask();\n break;\n case GET_DATA:\n err = this.getData(cb);\n break;\n default:\n // `INFLATING`\n this._loop = false;\n return;\n }\n } while (this._loop);\n\n cb(err);\n }\n\n /**\n * Reads the first two bytes of a frame.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getInfo() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(2);\n\n if ((buf[0] & 0x30) !== 0x00) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV2 and RSV3 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_2_3'\n );\n }\n\n const compressed = (buf[0] & 0x40) === 0x40;\n\n if (compressed && !this._extensions[PerMessageDeflate.extensionName]) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n this._fin = (buf[0] & 0x80) === 0x80;\n this._opcode = buf[0] & 0x0f;\n this._payloadLength = buf[1] & 0x7f;\n\n if (this._opcode === 0x00) {\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (!this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n 'invalid opcode 0',\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._opcode = this._fragmented;\n } else if (this._opcode === 0x01 || this._opcode === 0x02) {\n if (this._fragmented) {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n this._compressed = compressed;\n } else if (this._opcode > 0x07 && this._opcode < 0x0b) {\n if (!this._fin) {\n this._loop = false;\n return error(\n RangeError,\n 'FIN must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_FIN'\n );\n }\n\n if (compressed) {\n this._loop = false;\n return error(\n RangeError,\n 'RSV1 must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_RSV_1'\n );\n }\n\n if (this._payloadLength > 0x7d) {\n this._loop = false;\n return error(\n RangeError,\n `invalid payload length ${this._payloadLength}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n }\n } else {\n this._loop = false;\n return error(\n RangeError,\n `invalid opcode ${this._opcode}`,\n true,\n 1002,\n 'WS_ERR_INVALID_OPCODE'\n );\n }\n\n if (!this._fin && !this._fragmented) this._fragmented = this._opcode;\n this._masked = (buf[1] & 0x80) === 0x80;\n\n if (this._isServer) {\n if (!this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be set',\n true,\n 1002,\n 'WS_ERR_EXPECTED_MASK'\n );\n }\n } else if (this._masked) {\n this._loop = false;\n return error(\n RangeError,\n 'MASK must be clear',\n true,\n 1002,\n 'WS_ERR_UNEXPECTED_MASK'\n );\n }\n\n if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16;\n else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64;\n else return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+16).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength16() {\n if (this._bufferedBytes < 2) {\n this._loop = false;\n return;\n }\n\n this._payloadLength = this.consume(2).readUInt16BE(0);\n return this.haveLength();\n }\n\n /**\n * Gets extended payload length (7+64).\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n getPayloadLength64() {\n if (this._bufferedBytes < 8) {\n this._loop = false;\n return;\n }\n\n const buf = this.consume(8);\n const num = buf.readUInt32BE(0);\n\n //\n // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned\n // if payload length is greater than this number.\n //\n if (num > Math.pow(2, 53 - 32) - 1) {\n this._loop = false;\n return error(\n RangeError,\n 'Unsupported WebSocket frame: payload length > 2^53 - 1',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH'\n );\n }\n\n this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4);\n return this.haveLength();\n }\n\n /**\n * Payload length has been read.\n *\n * @return {(RangeError|undefined)} A possible error\n * @private\n */\n haveLength() {\n if (this._payloadLength && this._opcode < 0x08) {\n this._totalPayloadLength += this._payloadLength;\n if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) {\n this._loop = false;\n return error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n );\n }\n }\n\n if (this._masked) this._state = GET_MASK;\n else this._state = GET_DATA;\n }\n\n /**\n * Reads mask bytes.\n *\n * @private\n */\n getMask() {\n if (this._bufferedBytes < 4) {\n this._loop = false;\n return;\n }\n\n this._mask = this.consume(4);\n this._state = GET_DATA;\n }\n\n /**\n * Reads data bytes.\n *\n * @param {Function} cb Callback\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n getData(cb) {\n let data = EMPTY_BUFFER;\n\n if (this._payloadLength) {\n if (this._bufferedBytes < this._payloadLength) {\n this._loop = false;\n return;\n }\n\n data = this.consume(this._payloadLength);\n if (this._masked) unmask(data, this._mask);\n }\n\n if (this._opcode > 0x07) return this.controlMessage(data);\n\n if (this._compressed) {\n this._state = INFLATING;\n this.decompress(data, cb);\n return;\n }\n\n if (data.length) {\n //\n // This message is not compressed so its lenght is the sum of the payload\n // length of all fragments.\n //\n this._messageLength = this._totalPayloadLength;\n this._fragments.push(data);\n }\n\n return this.dataMessage();\n }\n\n /**\n * Decompresses data.\n *\n * @param {Buffer} data Compressed data\n * @param {Function} cb Callback\n * @private\n */\n decompress(data, cb) {\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n perMessageDeflate.decompress(data, this._fin, (err, buf) => {\n if (err) return cb(err);\n\n if (buf.length) {\n this._messageLength += buf.length;\n if (this._messageLength > this._maxPayload && this._maxPayload > 0) {\n return cb(\n error(\n RangeError,\n 'Max payload size exceeded',\n false,\n 1009,\n 'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH'\n )\n );\n }\n\n this._fragments.push(buf);\n }\n\n const er = this.dataMessage();\n if (er) return cb(er);\n\n this.startLoop(cb);\n });\n }\n\n /**\n * Handles a data message.\n *\n * @return {(Error|undefined)} A possible error\n * @private\n */\n dataMessage() {\n if (this._fin) {\n const messageLength = this._messageLength;\n const fragments = this._fragments;\n\n this._totalPayloadLength = 0;\n this._messageLength = 0;\n this._fragmented = 0;\n this._fragments = [];\n\n if (this._opcode === 2) {\n let data;\n\n if (this._binaryType === 'nodebuffer') {\n data = concat(fragments, messageLength);\n } else if (this._binaryType === 'arraybuffer') {\n data = toArrayBuffer(concat(fragments, messageLength));\n } else {\n data = fragments;\n }\n\n this.emit('message', data);\n } else {\n const buf = concat(fragments, messageLength);\n\n if (!isValidUTF8(buf)) {\n this._loop = false;\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('message', buf.toString());\n }\n }\n\n this._state = GET_INFO;\n }\n\n /**\n * Handles a control message.\n *\n * @param {Buffer} data Data to handle\n * @return {(Error|RangeError|undefined)} A possible error\n * @private\n */\n controlMessage(data) {\n if (this._opcode === 0x08) {\n this._loop = false;\n\n if (data.length === 0) {\n this.emit('conclude', 1005, '');\n this.end();\n } else if (data.length === 1) {\n return error(\n RangeError,\n 'invalid payload length 1',\n true,\n 1002,\n 'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'\n );\n } else {\n const code = data.readUInt16BE(0);\n\n if (!isValidStatusCode(code)) {\n return error(\n RangeError,\n `invalid status code ${code}`,\n true,\n 1002,\n 'WS_ERR_INVALID_CLOSE_CODE'\n );\n }\n\n const buf = data.slice(2);\n\n if (!isValidUTF8(buf)) {\n return error(\n Error,\n 'invalid UTF-8 sequence',\n true,\n 1007,\n 'WS_ERR_INVALID_UTF8'\n );\n }\n\n this.emit('conclude', code, buf.toString());\n this.end();\n }\n } else if (this._opcode === 0x09) {\n this.emit('ping', data);\n } else {\n this.emit('pong', data);\n }\n\n this._state = GET_INFO;\n }\n}\n\nmodule.exports = Receiver;\n\n/**\n * Builds an error object.\n *\n * @param {function(new:Error|RangeError)} ErrorCtor The error constructor\n * @param {String} message The error message\n * @param {Boolean} prefix Specifies whether or not to add a default prefix to\n * `message`\n * @param {Number} statusCode The status code\n * @param {String} errorCode The exposed error code\n * @return {(Error|RangeError)} The error\n * @private\n */\nfunction error(ErrorCtor, message, prefix, statusCode, errorCode) {\n const err = new ErrorCtor(\n prefix ? `Invalid WebSocket frame: ${message}` : message\n );\n\n Error.captureStackTrace(err, error);\n err.code = errorCode;\n err[kStatusCode] = statusCode;\n return err;\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls$\" }] */\n\n'use strict';\n\nconst net = require('net');\nconst tls = require('tls');\nconst { randomFillSync } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst { EMPTY_BUFFER } = require('./constants');\nconst { isValidStatusCode } = require('./validation');\nconst { mask: applyMask, toBuffer } = require('./buffer-util');\n\nconst mask = Buffer.alloc(4);\n\n/**\n * HyBi Sender implementation.\n */\nclass Sender {\n /**\n * Creates a Sender instance.\n *\n * @param {(net.Socket|tls.Socket)} socket The connection socket\n * @param {Object} [extensions] An object containing the negotiated extensions\n */\n constructor(socket, extensions) {\n this._extensions = extensions || {};\n this._socket = socket;\n\n this._firstFragment = true;\n this._compress = false;\n\n this._bufferedBytes = 0;\n this._deflating = false;\n this._queue = [];\n }\n\n /**\n * Frames a piece of data according to the HyBi WebSocket protocol.\n *\n * @param {Buffer} data The data to frame\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @return {Buffer[]} The framed data as a list of `Buffer` instances\n * @public\n */\n static frame(data, options) {\n const merge = options.mask && options.readOnly;\n let offset = options.mask ? 6 : 2;\n let payloadLength = data.length;\n\n if (data.length >= 65536) {\n offset += 8;\n payloadLength = 127;\n } else if (data.length > 125) {\n offset += 2;\n payloadLength = 126;\n }\n\n const target = Buffer.allocUnsafe(merge ? data.length + offset : offset);\n\n target[0] = options.fin ? options.opcode | 0x80 : options.opcode;\n if (options.rsv1) target[0] |= 0x40;\n\n target[1] = payloadLength;\n\n if (payloadLength === 126) {\n target.writeUInt16BE(data.length, 2);\n } else if (payloadLength === 127) {\n target.writeUInt32BE(0, 2);\n target.writeUInt32BE(data.length, 6);\n }\n\n if (!options.mask) return [target, data];\n\n randomFillSync(mask, 0, 4);\n\n target[1] |= 0x80;\n target[offset - 4] = mask[0];\n target[offset - 3] = mask[1];\n target[offset - 2] = mask[2];\n target[offset - 1] = mask[3];\n\n if (merge) {\n applyMask(data, mask, target, offset, data.length);\n return [target];\n }\n\n applyMask(data, mask, data, 0, data.length);\n return [target, data];\n }\n\n /**\n * Sends a close message to the other peer.\n *\n * @param {Number} [code] The status code component of the body\n * @param {String} [data] The message component of the body\n * @param {Boolean} [mask=false] Specifies whether or not to mask the message\n * @param {Function} [cb] Callback\n * @public\n */\n close(code, data, mask, cb) {\n let buf;\n\n if (code === undefined) {\n buf = EMPTY_BUFFER;\n } else if (typeof code !== 'number' || !isValidStatusCode(code)) {\n throw new TypeError('First argument must be a valid error code number');\n } else if (data === undefined || data === '') {\n buf = Buffer.allocUnsafe(2);\n buf.writeUInt16BE(code, 0);\n } else {\n const length = Buffer.byteLength(data);\n\n if (length > 123) {\n throw new RangeError('The message must not be greater than 123 bytes');\n }\n\n buf = Buffer.allocUnsafe(2 + length);\n buf.writeUInt16BE(code, 0);\n buf.write(data, 2);\n }\n\n if (this._deflating) {\n this.enqueue([this.doClose, buf, mask, cb]);\n } else {\n this.doClose(buf, mask, cb);\n }\n }\n\n /**\n * Frames and sends a close message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @private\n */\n doClose(data, mask, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x08,\n mask,\n readOnly: false\n }),\n cb\n );\n }\n\n /**\n * Sends a ping message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n ping(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPing(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a ping message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPing(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x09,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a pong message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback\n * @public\n */\n pong(data, mask, cb) {\n const buf = toBuffer(data);\n\n if (buf.length > 125) {\n throw new RangeError('The data size must not be greater than 125 bytes');\n }\n\n if (this._deflating) {\n this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]);\n } else {\n this.doPong(buf, mask, toBuffer.readOnly, cb);\n }\n }\n\n /**\n * Frames and sends a pong message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [mask=false] Specifies whether or not to mask `data`\n * @param {Boolean} [readOnly=false] Specifies whether `data` can be modified\n * @param {Function} [cb] Callback\n * @private\n */\n doPong(data, mask, readOnly, cb) {\n this.sendFrame(\n Sender.frame(data, {\n fin: true,\n rsv1: false,\n opcode: 0x0a,\n mask,\n readOnly\n }),\n cb\n );\n }\n\n /**\n * Sends a data message to the other peer.\n *\n * @param {*} data The message to send\n * @param {Object} options Options object\n * @param {Boolean} [options.compress=false] Specifies whether or not to\n * compress `data`\n * @param {Boolean} [options.binary=false] Specifies whether `data` is binary\n * or text\n * @param {Boolean} [options.fin=false] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Function} [cb] Callback\n * @public\n */\n send(data, options, cb) {\n const buf = toBuffer(data);\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n let opcode = options.binary ? 2 : 1;\n let rsv1 = options.compress;\n\n if (this._firstFragment) {\n this._firstFragment = false;\n if (rsv1 && perMessageDeflate) {\n rsv1 = buf.length >= perMessageDeflate._threshold;\n }\n this._compress = rsv1;\n } else {\n rsv1 = false;\n opcode = 0;\n }\n\n if (options.fin) this._firstFragment = true;\n\n if (perMessageDeflate) {\n const opts = {\n fin: options.fin,\n rsv1,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n };\n\n if (this._deflating) {\n this.enqueue([this.dispatch, buf, this._compress, opts, cb]);\n } else {\n this.dispatch(buf, this._compress, opts, cb);\n }\n } else {\n this.sendFrame(\n Sender.frame(buf, {\n fin: options.fin,\n rsv1: false,\n opcode,\n mask: options.mask,\n readOnly: toBuffer.readOnly\n }),\n cb\n );\n }\n }\n\n /**\n * Dispatches a data message.\n *\n * @param {Buffer} data The message to send\n * @param {Boolean} [compress=false] Specifies whether or not to compress\n * `data`\n * @param {Object} options Options object\n * @param {Number} options.opcode The opcode\n * @param {Boolean} [options.readOnly=false] Specifies whether `data` can be\n * modified\n * @param {Boolean} [options.fin=false] Specifies whether or not to set the\n * FIN bit\n * @param {Boolean} [options.mask=false] Specifies whether or not to mask\n * `data`\n * @param {Boolean} [options.rsv1=false] Specifies whether or not to set the\n * RSV1 bit\n * @param {Function} [cb] Callback\n * @private\n */\n dispatch(data, compress, options, cb) {\n if (!compress) {\n this.sendFrame(Sender.frame(data, options), cb);\n return;\n }\n\n const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName];\n\n this._bufferedBytes += data.length;\n this._deflating = true;\n perMessageDeflate.compress(data, options.fin, (_, buf) => {\n if (this._socket.destroyed) {\n const err = new Error(\n 'The socket was closed while data was being compressed'\n );\n\n if (typeof cb === 'function') cb(err);\n\n for (let i = 0; i < this._queue.length; i++) {\n const callback = this._queue[i][4];\n\n if (typeof callback === 'function') callback(err);\n }\n\n return;\n }\n\n this._bufferedBytes -= data.length;\n this._deflating = false;\n options.readOnly = false;\n this.sendFrame(Sender.frame(buf, options), cb);\n this.dequeue();\n });\n }\n\n /**\n * Executes queued send operations.\n *\n * @private\n */\n dequeue() {\n while (!this._deflating && this._queue.length) {\n const params = this._queue.shift();\n\n this._bufferedBytes -= params[1].length;\n Reflect.apply(params[0], this, params.slice(1));\n }\n }\n\n /**\n * Enqueues a send operation.\n *\n * @param {Array} params Send operation parameters.\n * @private\n */\n enqueue(params) {\n this._bufferedBytes += params[1].length;\n this._queue.push(params);\n }\n\n /**\n * Sends a frame.\n *\n * @param {Buffer[]} list The frame to send\n * @param {Function} [cb] Callback\n * @private\n */\n sendFrame(list, cb) {\n if (list.length === 2) {\n this._socket.cork();\n this._socket.write(list[0]);\n this._socket.write(list[1], cb);\n this._socket.uncork();\n } else {\n this._socket.write(list[0], cb);\n }\n }\n}\n\nmodule.exports = Sender;\n","'use strict';\n\nconst { Duplex } = require('stream');\n\n/**\n * Emits the `'close'` event on a stream.\n *\n * @param {Duplex} stream The stream.\n * @private\n */\nfunction emitClose(stream) {\n stream.emit('close');\n}\n\n/**\n * The listener of the `'end'` event.\n *\n * @private\n */\nfunction duplexOnEnd() {\n if (!this.destroyed && this._writableState.finished) {\n this.destroy();\n }\n}\n\n/**\n * The listener of the `'error'` event.\n *\n * @param {Error} err The error\n * @private\n */\nfunction duplexOnError(err) {\n this.removeListener('error', duplexOnError);\n this.destroy();\n if (this.listenerCount('error') === 0) {\n // Do not suppress the throwing behavior.\n this.emit('error', err);\n }\n}\n\n/**\n * Wraps a `WebSocket` in a duplex stream.\n *\n * @param {WebSocket} ws The `WebSocket` to wrap\n * @param {Object} [options] The options for the `Duplex` constructor\n * @return {Duplex} The duplex stream\n * @public\n */\nfunction createWebSocketStream(ws, options) {\n let resumeOnReceiverDrain = true;\n let terminateOnDestroy = true;\n\n function receiverOnDrain() {\n if (resumeOnReceiverDrain) ws._socket.resume();\n }\n\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n });\n } else {\n ws._receiver.removeAllListeners('drain');\n ws._receiver.on('drain', receiverOnDrain);\n }\n\n const duplex = new Duplex({\n ...options,\n autoDestroy: false,\n emitClose: false,\n objectMode: false,\n writableObjectMode: false\n });\n\n ws.on('message', function message(msg) {\n if (!duplex.push(msg)) {\n resumeOnReceiverDrain = false;\n ws._socket.pause();\n }\n });\n\n ws.once('error', function error(err) {\n if (duplex.destroyed) return;\n\n // Prevent `ws.terminate()` from being called by `duplex._destroy()`.\n //\n // - If the `'error'` event is emitted before the `'open'` event, then\n // `ws.terminate()` is a noop as no socket is assigned.\n // - Otherwise, the error is re-emitted by the listener of the `'error'`\n // event of the `Receiver` object. The listener already closes the\n // connection by calling `ws.close()`. This allows a close frame to be\n // sent to the other peer. If `ws.terminate()` is called right after this,\n // then the close frame might not be sent.\n terminateOnDestroy = false;\n duplex.destroy(err);\n });\n\n ws.once('close', function close() {\n if (duplex.destroyed) return;\n\n duplex.push(null);\n });\n\n duplex._destroy = function (err, callback) {\n if (ws.readyState === ws.CLOSED) {\n callback(err);\n process.nextTick(emitClose, duplex);\n return;\n }\n\n let called = false;\n\n ws.once('error', function error(err) {\n called = true;\n callback(err);\n });\n\n ws.once('close', function close() {\n if (!called) callback(err);\n process.nextTick(emitClose, duplex);\n });\n\n if (terminateOnDestroy) ws.terminate();\n };\n\n duplex._final = function (callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._final(callback);\n });\n return;\n }\n\n // If the value of the `_socket` property is `null` it means that `ws` is a\n // client websocket and the handshake failed. In fact, when this happens, a\n // socket is never assigned to the websocket. Wait for the `'error'` event\n // that will be emitted by the websocket.\n if (ws._socket === null) return;\n\n if (ws._socket._writableState.finished) {\n callback();\n if (duplex._readableState.endEmitted) duplex.destroy();\n } else {\n ws._socket.once('finish', function finish() {\n // `duplex` is not destroyed here because the `'end'` event will be\n // emitted on `duplex` after this `'finish'` event. The EOF signaling\n // `null` chunk is, in fact, pushed when the websocket emits `'close'`.\n callback();\n });\n ws.close();\n }\n };\n\n duplex._read = function () {\n if (\n (ws.readyState === ws.OPEN || ws.readyState === ws.CLOSING) &&\n !resumeOnReceiverDrain\n ) {\n resumeOnReceiverDrain = true;\n if (!ws._receiver._writableState.needDrain) ws._socket.resume();\n }\n };\n\n duplex._write = function (chunk, encoding, callback) {\n if (ws.readyState === ws.CONNECTING) {\n ws.once('open', function open() {\n duplex._write(chunk, encoding, callback);\n });\n return;\n }\n\n ws.send(chunk, callback);\n };\n\n duplex.on('end', duplexOnEnd);\n duplex.on('error', duplexOnError);\n return duplex;\n}\n\nmodule.exports = createWebSocketStream;\n","'use strict';\n\n/**\n * Checks if a status code is allowed in a close frame.\n *\n * @param {Number} code The status code\n * @return {Boolean} `true` if the status code is valid, else `false`\n * @public\n */\nfunction isValidStatusCode(code) {\n return (\n (code >= 1000 &&\n code <= 1014 &&\n code !== 1004 &&\n code !== 1005 &&\n code !== 1006) ||\n (code >= 3000 && code <= 4999)\n );\n}\n\n/**\n * Checks if a given buffer contains only correct UTF-8.\n * Ported from https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c by\n * Markus Kuhn.\n *\n * @param {Buffer} buf The buffer to check\n * @return {Boolean} `true` if `buf` contains only correct UTF-8, else `false`\n * @public\n */\nfunction _isValidUTF8(buf) {\n const len = buf.length;\n let i = 0;\n\n while (i < len) {\n if ((buf[i] & 0x80) === 0) {\n // 0xxxxxxx\n i++;\n } else if ((buf[i] & 0xe0) === 0xc0) {\n // 110xxxxx 10xxxxxx\n if (\n i + 1 === len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i] & 0xfe) === 0xc0 // Overlong\n ) {\n return false;\n }\n\n i += 2;\n } else if ((buf[i] & 0xf0) === 0xe0) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n if (\n i + 2 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i] === 0xe0 && (buf[i + 1] & 0xe0) === 0x80) || // Overlong\n (buf[i] === 0xed && (buf[i + 1] & 0xe0) === 0xa0) // Surrogate (U+D800 - U+DFFF)\n ) {\n return false;\n }\n\n i += 3;\n } else if ((buf[i] & 0xf8) === 0xf0) {\n // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx\n if (\n i + 3 >= len ||\n (buf[i + 1] & 0xc0) !== 0x80 ||\n (buf[i + 2] & 0xc0) !== 0x80 ||\n (buf[i + 3] & 0xc0) !== 0x80 ||\n (buf[i] === 0xf0 && (buf[i + 1] & 0xf0) === 0x80) || // Overlong\n (buf[i] === 0xf4 && buf[i + 1] > 0x8f) ||\n buf[i] > 0xf4 // > U+10FFFF\n ) {\n return false;\n }\n\n i += 4;\n } else {\n return false;\n }\n }\n\n return true;\n}\n\ntry {\n let isValidUTF8 = require('utf-8-validate');\n\n /* istanbul ignore if */\n if (typeof isValidUTF8 === 'object') {\n isValidUTF8 = isValidUTF8.Validation.isValidUTF8; // utf-8-validate@<3.0.0\n }\n\n module.exports = {\n isValidStatusCode,\n isValidUTF8(buf) {\n return buf.length < 150 ? _isValidUTF8(buf) : isValidUTF8(buf);\n }\n };\n} catch (e) /* istanbul ignore next */ {\n module.exports = {\n isValidStatusCode,\n isValidUTF8: _isValidUTF8\n };\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^net|tls|https$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst http = require('http');\nconst https = require('https');\nconst net = require('net');\nconst tls = require('tls');\nconst { createHash } = require('crypto');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst WebSocket = require('./websocket');\nconst { format, parse } = require('./extension');\nconst { GUID, kWebSocket } = require('./constants');\n\nconst keyRegex = /^[+/0-9A-Za-z]{22}==$/;\n\nconst RUNNING = 0;\nconst CLOSING = 1;\nconst CLOSED = 2;\n\n/**\n * Class representing a WebSocket server.\n *\n * @extends EventEmitter\n */\nclass WebSocketServer extends EventEmitter {\n /**\n * Create a `WebSocketServer` instance.\n *\n * @param {Object} options Configuration options\n * @param {Number} [options.backlog=511] The maximum length of the queue of\n * pending connections\n * @param {Boolean} [options.clientTracking=true] Specifies whether or not to\n * track clients\n * @param {Function} [options.handleProtocols] A hook to handle protocols\n * @param {String} [options.host] The hostname where to bind the server\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.noServer=false] Enable no server mode\n * @param {String} [options.path] Accept only connections matching this path\n * @param {(Boolean|Object)} [options.perMessageDeflate=false] Enable/disable\n * permessage-deflate\n * @param {Number} [options.port] The port where to bind the server\n * @param {(http.Server|https.Server)} [options.server] A pre-created HTTP/S\n * server to use\n * @param {Function} [options.verifyClient] A hook to reject connections\n * @param {Function} [callback] A listener for the `listening` event\n */\n constructor(options, callback) {\n super();\n\n options = {\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: false,\n handleProtocols: null,\n clientTracking: true,\n verifyClient: null,\n noServer: false,\n backlog: null, // use default (511 as implemented in net.js)\n server: null,\n host: null,\n path: null,\n port: null,\n ...options\n };\n\n if (\n (options.port == null && !options.server && !options.noServer) ||\n (options.port != null && (options.server || options.noServer)) ||\n (options.server && options.noServer)\n ) {\n throw new TypeError(\n 'One and only one of the \"port\", \"server\", or \"noServer\" options ' +\n 'must be specified'\n );\n }\n\n if (options.port != null) {\n this._server = http.createServer((req, res) => {\n const body = http.STATUS_CODES[426];\n\n res.writeHead(426, {\n 'Content-Length': body.length,\n 'Content-Type': 'text/plain'\n });\n res.end(body);\n });\n this._server.listen(\n options.port,\n options.host,\n options.backlog,\n callback\n );\n } else if (options.server) {\n this._server = options.server;\n }\n\n if (this._server) {\n const emitConnection = this.emit.bind(this, 'connection');\n\n this._removeListeners = addListeners(this._server, {\n listening: this.emit.bind(this, 'listening'),\n error: this.emit.bind(this, 'error'),\n upgrade: (req, socket, head) => {\n this.handleUpgrade(req, socket, head, emitConnection);\n }\n });\n }\n\n if (options.perMessageDeflate === true) options.perMessageDeflate = {};\n if (options.clientTracking) this.clients = new Set();\n this.options = options;\n this._state = RUNNING;\n }\n\n /**\n * Returns the bound address, the address family name, and port of the server\n * as reported by the operating system if listening on an IP socket.\n * If the server is listening on a pipe or UNIX domain socket, the name is\n * returned as a string.\n *\n * @return {(Object|String|null)} The address of the server\n * @public\n */\n address() {\n if (this.options.noServer) {\n throw new Error('The server is operating in \"noServer\" mode');\n }\n\n if (!this._server) return null;\n return this._server.address();\n }\n\n /**\n * Close the server.\n *\n * @param {Function} [cb] Callback\n * @public\n */\n close(cb) {\n if (cb) this.once('close', cb);\n\n if (this._state === CLOSED) {\n process.nextTick(emitClose, this);\n return;\n }\n\n if (this._state === CLOSING) return;\n this._state = CLOSING;\n\n //\n // Terminate all associated clients.\n //\n if (this.clients) {\n for (const client of this.clients) client.terminate();\n }\n\n const server = this._server;\n\n if (server) {\n this._removeListeners();\n this._removeListeners = this._server = null;\n\n //\n // Close the http server if it was internally created.\n //\n if (this.options.port != null) {\n server.close(emitClose.bind(undefined, this));\n return;\n }\n }\n\n process.nextTick(emitClose, this);\n }\n\n /**\n * See if a given request should be handled by this server instance.\n *\n * @param {http.IncomingMessage} req Request object to inspect\n * @return {Boolean} `true` if the request is valid, else `false`\n * @public\n */\n shouldHandle(req) {\n if (this.options.path) {\n const index = req.url.indexOf('?');\n const pathname = index !== -1 ? req.url.slice(0, index) : req.url;\n\n if (pathname !== this.options.path) return false;\n }\n\n return true;\n }\n\n /**\n * Handle a HTTP Upgrade request.\n *\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @public\n */\n handleUpgrade(req, socket, head, cb) {\n socket.on('error', socketOnError);\n\n const key =\n req.headers['sec-websocket-key'] !== undefined\n ? req.headers['sec-websocket-key'].trim()\n : false;\n const version = +req.headers['sec-websocket-version'];\n const extensions = {};\n\n if (\n req.method !== 'GET' ||\n req.headers.upgrade.toLowerCase() !== 'websocket' ||\n !key ||\n !keyRegex.test(key) ||\n (version !== 8 && version !== 13) ||\n !this.shouldHandle(req)\n ) {\n return abortHandshake(socket, 400);\n }\n\n if (this.options.perMessageDeflate) {\n const perMessageDeflate = new PerMessageDeflate(\n this.options.perMessageDeflate,\n true,\n this.options.maxPayload\n );\n\n try {\n const offers = parse(req.headers['sec-websocket-extensions']);\n\n if (offers[PerMessageDeflate.extensionName]) {\n perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]);\n extensions[PerMessageDeflate.extensionName] = perMessageDeflate;\n }\n } catch (err) {\n return abortHandshake(socket, 400);\n }\n }\n\n //\n // Optionally call external client verification handler.\n //\n if (this.options.verifyClient) {\n const info = {\n origin:\n req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`],\n secure: !!(req.socket.authorized || req.socket.encrypted),\n req\n };\n\n if (this.options.verifyClient.length === 2) {\n this.options.verifyClient(info, (verified, code, message, headers) => {\n if (!verified) {\n return abortHandshake(socket, code || 401, message, headers);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n });\n return;\n }\n\n if (!this.options.verifyClient(info)) return abortHandshake(socket, 401);\n }\n\n this.completeUpgrade(key, extensions, req, socket, head, cb);\n }\n\n /**\n * Upgrade the connection to WebSocket.\n *\n * @param {String} key The value of the `Sec-WebSocket-Key` header\n * @param {Object} extensions The accepted extensions\n * @param {http.IncomingMessage} req The request object\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Function} cb Callback\n * @throws {Error} If called more than once with the same socket\n * @private\n */\n completeUpgrade(key, extensions, req, socket, head, cb) {\n //\n // Destroy the socket if the client has already sent a FIN packet.\n //\n if (!socket.readable || !socket.writable) return socket.destroy();\n\n if (socket[kWebSocket]) {\n throw new Error(\n 'server.handleUpgrade() was called more than once with the same ' +\n 'socket, possibly due to a misconfiguration'\n );\n }\n\n if (this._state > RUNNING) return abortHandshake(socket, 503);\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n const headers = [\n 'HTTP/1.1 101 Switching Protocols',\n 'Upgrade: websocket',\n 'Connection: Upgrade',\n `Sec-WebSocket-Accept: ${digest}`\n ];\n\n const ws = new WebSocket(null);\n let protocol = req.headers['sec-websocket-protocol'];\n\n if (protocol) {\n protocol = protocol.split(',').map(trim);\n\n //\n // Optionally call external protocol selection handler.\n //\n if (this.options.handleProtocols) {\n protocol = this.options.handleProtocols(protocol, req);\n } else {\n protocol = protocol[0];\n }\n\n if (protocol) {\n headers.push(`Sec-WebSocket-Protocol: ${protocol}`);\n ws._protocol = protocol;\n }\n }\n\n if (extensions[PerMessageDeflate.extensionName]) {\n const params = extensions[PerMessageDeflate.extensionName].params;\n const value = format({\n [PerMessageDeflate.extensionName]: [params]\n });\n headers.push(`Sec-WebSocket-Extensions: ${value}`);\n ws._extensions = extensions;\n }\n\n //\n // Allow external modification/inspection of handshake headers.\n //\n this.emit('headers', headers, req);\n\n socket.write(headers.concat('\\r\\n').join('\\r\\n'));\n socket.removeListener('error', socketOnError);\n\n ws.setSocket(socket, head, this.options.maxPayload);\n\n if (this.clients) {\n this.clients.add(ws);\n ws.on('close', () => this.clients.delete(ws));\n }\n\n cb(ws, req);\n }\n}\n\nmodule.exports = WebSocketServer;\n\n/**\n * Add event listeners on an `EventEmitter` using a map of \n * pairs.\n *\n * @param {EventEmitter} server The event emitter\n * @param {Object.} map The listeners to add\n * @return {Function} A function that will remove the added listeners when\n * called\n * @private\n */\nfunction addListeners(server, map) {\n for (const event of Object.keys(map)) server.on(event, map[event]);\n\n return function removeListeners() {\n for (const event of Object.keys(map)) {\n server.removeListener(event, map[event]);\n }\n };\n}\n\n/**\n * Emit a `'close'` event on an `EventEmitter`.\n *\n * @param {EventEmitter} server The event emitter\n * @private\n */\nfunction emitClose(server) {\n server._state = CLOSED;\n server.emit('close');\n}\n\n/**\n * Handle premature socket errors.\n *\n * @private\n */\nfunction socketOnError() {\n this.destroy();\n}\n\n/**\n * Close the connection when preconditions are not fulfilled.\n *\n * @param {(net.Socket|tls.Socket)} socket The socket of the upgrade request\n * @param {Number} code The HTTP response status code\n * @param {String} [message] The HTTP response body\n * @param {Object} [headers] Additional HTTP response headers\n * @private\n */\nfunction abortHandshake(socket, code, message, headers) {\n if (socket.writable) {\n message = message || http.STATUS_CODES[code];\n headers = {\n Connection: 'close',\n 'Content-Type': 'text/html',\n 'Content-Length': Buffer.byteLength(message),\n ...headers\n };\n\n socket.write(\n `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\\r\\n` +\n Object.keys(headers)\n .map((h) => `${h}: ${headers[h]}`)\n .join('\\r\\n') +\n '\\r\\n\\r\\n' +\n message\n );\n }\n\n socket.removeListener('error', socketOnError);\n socket.destroy();\n}\n\n/**\n * Remove whitespace characters from both ends of a string.\n *\n * @param {String} str The string\n * @return {String} A new string representing `str` stripped of whitespace\n * characters from both its beginning and end\n * @private\n */\nfunction trim(str) {\n return str.trim();\n}\n","/* eslint no-unused-vars: [\"error\", { \"varsIgnorePattern\": \"^Readable$\" }] */\n\n'use strict';\n\nconst EventEmitter = require('events');\nconst https = require('https');\nconst http = require('http');\nconst net = require('net');\nconst tls = require('tls');\nconst { randomBytes, createHash } = require('crypto');\nconst { Readable } = require('stream');\nconst { URL } = require('url');\n\nconst PerMessageDeflate = require('./permessage-deflate');\nconst Receiver = require('./receiver');\nconst Sender = require('./sender');\nconst {\n BINARY_TYPES,\n EMPTY_BUFFER,\n GUID,\n kStatusCode,\n kWebSocket,\n NOOP\n} = require('./constants');\nconst { addEventListener, removeEventListener } = require('./event-target');\nconst { format, parse } = require('./extension');\nconst { toBuffer } = require('./buffer-util');\n\nconst readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];\nconst protocolVersions = [8, 13];\nconst closeTimeout = 30 * 1000;\n\n/**\n * Class representing a WebSocket.\n *\n * @extends EventEmitter\n */\nclass WebSocket extends EventEmitter {\n /**\n * Create a new `WebSocket`.\n *\n * @param {(String|URL)} address The URL to which to connect\n * @param {(String|String[])} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n */\n constructor(address, protocols, options) {\n super();\n\n this._binaryType = BINARY_TYPES[0];\n this._closeCode = 1006;\n this._closeFrameReceived = false;\n this._closeFrameSent = false;\n this._closeMessage = '';\n this._closeTimer = null;\n this._extensions = {};\n this._protocol = '';\n this._readyState = WebSocket.CONNECTING;\n this._receiver = null;\n this._sender = null;\n this._socket = null;\n\n if (address !== null) {\n this._bufferedAmount = 0;\n this._isServer = false;\n this._redirects = 0;\n\n if (Array.isArray(protocols)) {\n protocols = protocols.join(', ');\n } else if (typeof protocols === 'object' && protocols !== null) {\n options = protocols;\n protocols = undefined;\n }\n\n initAsClient(this, address, protocols, options);\n } else {\n this._isServer = true;\n }\n }\n\n /**\n * This deviates from the WHATWG interface since ws doesn't support the\n * required default \"blob\" type (instead we define a custom \"nodebuffer\"\n * type).\n *\n * @type {String}\n */\n get binaryType() {\n return this._binaryType;\n }\n\n set binaryType(type) {\n if (!BINARY_TYPES.includes(type)) return;\n\n this._binaryType = type;\n\n //\n // Allow to change `binaryType` on the fly.\n //\n if (this._receiver) this._receiver._binaryType = type;\n }\n\n /**\n * @type {Number}\n */\n get bufferedAmount() {\n if (!this._socket) return this._bufferedAmount;\n\n return this._socket._writableState.length + this._sender._bufferedBytes;\n }\n\n /**\n * @type {String}\n */\n get extensions() {\n return Object.keys(this._extensions).join();\n }\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onclose() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onclose(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onerror() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onerror(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onopen() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onopen(listener) {}\n\n /**\n * @type {Function}\n */\n /* istanbul ignore next */\n get onmessage() {\n return undefined;\n }\n\n /* istanbul ignore next */\n set onmessage(listener) {}\n\n /**\n * @type {String}\n */\n get protocol() {\n return this._protocol;\n }\n\n /**\n * @type {Number}\n */\n get readyState() {\n return this._readyState;\n }\n\n /**\n * @type {String}\n */\n get url() {\n return this._url;\n }\n\n /**\n * Set up the socket and the internal resources.\n *\n * @param {(net.Socket|tls.Socket)} socket The network socket between the\n * server and client\n * @param {Buffer} head The first packet of the upgraded stream\n * @param {Number} [maxPayload=0] The maximum allowed message size\n * @private\n */\n setSocket(socket, head, maxPayload) {\n const receiver = new Receiver(\n this.binaryType,\n this._extensions,\n this._isServer,\n maxPayload\n );\n\n this._sender = new Sender(socket, this._extensions);\n this._receiver = receiver;\n this._socket = socket;\n\n receiver[kWebSocket] = this;\n socket[kWebSocket] = this;\n\n receiver.on('conclude', receiverOnConclude);\n receiver.on('drain', receiverOnDrain);\n receiver.on('error', receiverOnError);\n receiver.on('message', receiverOnMessage);\n receiver.on('ping', receiverOnPing);\n receiver.on('pong', receiverOnPong);\n\n socket.setTimeout(0);\n socket.setNoDelay();\n\n if (head.length > 0) socket.unshift(head);\n\n socket.on('close', socketOnClose);\n socket.on('data', socketOnData);\n socket.on('end', socketOnEnd);\n socket.on('error', socketOnError);\n\n this._readyState = WebSocket.OPEN;\n this.emit('open');\n }\n\n /**\n * Emit the `'close'` event.\n *\n * @private\n */\n emitClose() {\n if (!this._socket) {\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n return;\n }\n\n if (this._extensions[PerMessageDeflate.extensionName]) {\n this._extensions[PerMessageDeflate.extensionName].cleanup();\n }\n\n this._receiver.removeAllListeners();\n this._readyState = WebSocket.CLOSED;\n this.emit('close', this._closeCode, this._closeMessage);\n }\n\n /**\n * Start a closing handshake.\n *\n * +----------+ +-----------+ +----------+\n * - - -|ws.close()|-->|close frame|-->|ws.close()|- - -\n * | +----------+ +-----------+ +----------+ |\n * +----------+ +-----------+ |\n * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING\n * +----------+ +-----------+ |\n * | | | +---+ |\n * +------------------------+-->|fin| - - - -\n * | +---+ | +---+\n * - - - - -|fin|<---------------------+\n * +---+\n *\n * @param {Number} [code] Status code explaining why the connection is closing\n * @param {String} [data] A string explaining why the connection is closing\n * @public\n */\n close(code, data) {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this.readyState === WebSocket.CLOSING) {\n if (\n this._closeFrameSent &&\n (this._closeFrameReceived || this._receiver._writableState.errorEmitted)\n ) {\n this._socket.end();\n }\n\n return;\n }\n\n this._readyState = WebSocket.CLOSING;\n this._sender.close(code, data, !this._isServer, (err) => {\n //\n // This error is handled by the `'error'` listener on the socket. We only\n // want to know if the close frame has been sent here.\n //\n if (err) return;\n\n this._closeFrameSent = true;\n\n if (\n this._closeFrameReceived ||\n this._receiver._writableState.errorEmitted\n ) {\n this._socket.end();\n }\n });\n\n //\n // Specify a timeout for the closing handshake to complete.\n //\n this._closeTimer = setTimeout(\n this._socket.destroy.bind(this._socket),\n closeTimeout\n );\n }\n\n /**\n * Send a ping.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the ping is sent\n * @public\n */\n ping(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.ping(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a pong.\n *\n * @param {*} [data] The data to send\n * @param {Boolean} [mask] Indicates whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when the pong is sent\n * @public\n */\n pong(data, mask, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof data === 'function') {\n cb = data;\n data = mask = undefined;\n } else if (typeof mask === 'function') {\n cb = mask;\n mask = undefined;\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n if (mask === undefined) mask = !this._isServer;\n this._sender.pong(data || EMPTY_BUFFER, mask, cb);\n }\n\n /**\n * Send a data message.\n *\n * @param {*} data The message to send\n * @param {Object} [options] Options object\n * @param {Boolean} [options.compress] Specifies whether or not to compress\n * `data`\n * @param {Boolean} [options.binary] Specifies whether `data` is binary or\n * text\n * @param {Boolean} [options.fin=true] Specifies whether the fragment is the\n * last one\n * @param {Boolean} [options.mask] Specifies whether or not to mask `data`\n * @param {Function} [cb] Callback which is executed when data is written out\n * @public\n */\n send(data, options, cb) {\n if (this.readyState === WebSocket.CONNECTING) {\n throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');\n }\n\n if (typeof options === 'function') {\n cb = options;\n options = {};\n }\n\n if (typeof data === 'number') data = data.toString();\n\n if (this.readyState !== WebSocket.OPEN) {\n sendAfterClose(this, data, cb);\n return;\n }\n\n const opts = {\n binary: typeof data !== 'string',\n mask: !this._isServer,\n compress: true,\n fin: true,\n ...options\n };\n\n if (!this._extensions[PerMessageDeflate.extensionName]) {\n opts.compress = false;\n }\n\n this._sender.send(data || EMPTY_BUFFER, opts, cb);\n }\n\n /**\n * Forcibly close the connection.\n *\n * @public\n */\n terminate() {\n if (this.readyState === WebSocket.CLOSED) return;\n if (this.readyState === WebSocket.CONNECTING) {\n const msg = 'WebSocket was closed before the connection was established';\n return abortHandshake(this, this._req, msg);\n }\n\n if (this._socket) {\n this._readyState = WebSocket.CLOSING;\n this._socket.destroy();\n }\n }\n}\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} CONNECTING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CONNECTING', {\n enumerable: true,\n value: readyStates.indexOf('CONNECTING')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} OPEN\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'OPEN', {\n enumerable: true,\n value: readyStates.indexOf('OPEN')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSING\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSING', {\n enumerable: true,\n value: readyStates.indexOf('CLOSING')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket\n */\nObject.defineProperty(WebSocket, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n/**\n * @constant {Number} CLOSED\n * @memberof WebSocket.prototype\n */\nObject.defineProperty(WebSocket.prototype, 'CLOSED', {\n enumerable: true,\n value: readyStates.indexOf('CLOSED')\n});\n\n[\n 'binaryType',\n 'bufferedAmount',\n 'extensions',\n 'protocol',\n 'readyState',\n 'url'\n].forEach((property) => {\n Object.defineProperty(WebSocket.prototype, property, { enumerable: true });\n});\n\n//\n// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.\n// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface\n//\n['open', 'error', 'close', 'message'].forEach((method) => {\n Object.defineProperty(WebSocket.prototype, `on${method}`, {\n enumerable: true,\n get() {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n if (listeners[i]._listener) return listeners[i]._listener;\n }\n\n return undefined;\n },\n set(listener) {\n const listeners = this.listeners(method);\n for (let i = 0; i < listeners.length; i++) {\n //\n // Remove only the listeners added via `addEventListener`.\n //\n if (listeners[i]._listener) this.removeListener(method, listeners[i]);\n }\n this.addEventListener(method, listener);\n }\n });\n});\n\nWebSocket.prototype.addEventListener = addEventListener;\nWebSocket.prototype.removeEventListener = removeEventListener;\n\nmodule.exports = WebSocket;\n\n/**\n * Initialize a WebSocket client.\n *\n * @param {WebSocket} websocket The client to initialize\n * @param {(String|URL)} address The URL to which to connect\n * @param {String} [protocols] The subprotocols\n * @param {Object} [options] Connection options\n * @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable\n * permessage-deflate\n * @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the\n * handshake request\n * @param {Number} [options.protocolVersion=13] Value of the\n * `Sec-WebSocket-Version` header\n * @param {String} [options.origin] Value of the `Origin` or\n * `Sec-WebSocket-Origin` header\n * @param {Number} [options.maxPayload=104857600] The maximum allowed message\n * size\n * @param {Boolean} [options.followRedirects=false] Whether or not to follow\n * redirects\n * @param {Number} [options.maxRedirects=10] The maximum number of redirects\n * allowed\n * @private\n */\nfunction initAsClient(websocket, address, protocols, options) {\n const opts = {\n protocolVersion: protocolVersions[1],\n maxPayload: 100 * 1024 * 1024,\n perMessageDeflate: true,\n followRedirects: false,\n maxRedirects: 10,\n ...options,\n createConnection: undefined,\n socketPath: undefined,\n hostname: undefined,\n protocol: undefined,\n timeout: undefined,\n method: undefined,\n host: undefined,\n path: undefined,\n port: undefined\n };\n\n if (!protocolVersions.includes(opts.protocolVersion)) {\n throw new RangeError(\n `Unsupported protocol version: ${opts.protocolVersion} ` +\n `(supported versions: ${protocolVersions.join(', ')})`\n );\n }\n\n let parsedUrl;\n\n if (address instanceof URL) {\n parsedUrl = address;\n websocket._url = address.href;\n } else {\n parsedUrl = new URL(address);\n websocket._url = address;\n }\n\n const isUnixSocket = parsedUrl.protocol === 'ws+unix:';\n\n if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) {\n const err = new Error(`Invalid URL: ${websocket.url}`);\n\n if (websocket._redirects === 0) {\n throw err;\n } else {\n emitErrorAndClose(websocket, err);\n return;\n }\n }\n\n const isSecure =\n parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:';\n const defaultPort = isSecure ? 443 : 80;\n const key = randomBytes(16).toString('base64');\n const get = isSecure ? https.get : http.get;\n let perMessageDeflate;\n\n opts.createConnection = isSecure ? tlsConnect : netConnect;\n opts.defaultPort = opts.defaultPort || defaultPort;\n opts.port = parsedUrl.port || defaultPort;\n opts.host = parsedUrl.hostname.startsWith('[')\n ? parsedUrl.hostname.slice(1, -1)\n : parsedUrl.hostname;\n opts.headers = {\n 'Sec-WebSocket-Version': opts.protocolVersion,\n 'Sec-WebSocket-Key': key,\n Connection: 'Upgrade',\n Upgrade: 'websocket',\n ...opts.headers\n };\n opts.path = parsedUrl.pathname + parsedUrl.search;\n opts.timeout = opts.handshakeTimeout;\n\n if (opts.perMessageDeflate) {\n perMessageDeflate = new PerMessageDeflate(\n opts.perMessageDeflate !== true ? opts.perMessageDeflate : {},\n false,\n opts.maxPayload\n );\n opts.headers['Sec-WebSocket-Extensions'] = format({\n [PerMessageDeflate.extensionName]: perMessageDeflate.offer()\n });\n }\n if (protocols) {\n opts.headers['Sec-WebSocket-Protocol'] = protocols;\n }\n if (opts.origin) {\n if (opts.protocolVersion < 13) {\n opts.headers['Sec-WebSocket-Origin'] = opts.origin;\n } else {\n opts.headers.Origin = opts.origin;\n }\n }\n if (parsedUrl.username || parsedUrl.password) {\n opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;\n }\n\n if (isUnixSocket) {\n const parts = opts.path.split(':');\n\n opts.socketPath = parts[0];\n opts.path = parts[1];\n }\n\n if (opts.followRedirects) {\n if (websocket._redirects === 0) {\n websocket._originalUnixSocket = isUnixSocket;\n websocket._originalSecure = isSecure;\n websocket._originalHostOrSocketPath = isUnixSocket\n ? opts.socketPath\n : parsedUrl.host;\n\n const headers = options && options.headers;\n\n //\n // Shallow copy the user provided options so that headers can be changed\n // without mutating the original object.\n //\n options = { ...options, headers: {} };\n\n if (headers) {\n for (const [key, value] of Object.entries(headers)) {\n options.headers[key.toLowerCase()] = value;\n }\n }\n } else {\n const isSameHost = isUnixSocket\n ? websocket._originalUnixSocket\n ? opts.socketPath === websocket._originalHostOrSocketPath\n : false\n : websocket._originalUnixSocket\n ? false\n : parsedUrl.host === websocket._originalHostOrSocketPath;\n\n if (!isSameHost || (websocket._originalSecure && !isSecure)) {\n //\n // Match curl 7.77.0 behavior and drop the following headers. These\n // headers are also dropped when following a redirect to a subdomain.\n //\n delete opts.headers.authorization;\n delete opts.headers.cookie;\n\n if (!isSameHost) delete opts.headers.host;\n\n opts.auth = undefined;\n }\n }\n\n //\n // Match curl 7.77.0 behavior and make the first `Authorization` header win.\n // If the `Authorization` header is set, then there is nothing to do as it\n // will take precedence.\n //\n if (opts.auth && !options.headers.authorization) {\n options.headers.authorization =\n 'Basic ' + Buffer.from(opts.auth).toString('base64');\n }\n }\n\n let req = (websocket._req = get(opts));\n\n if (opts.timeout) {\n req.on('timeout', () => {\n abortHandshake(websocket, req, 'Opening handshake has timed out');\n });\n }\n\n req.on('error', (err) => {\n if (req === null || req.aborted) return;\n\n req = websocket._req = null;\n emitErrorAndClose(websocket, err);\n });\n\n req.on('response', (res) => {\n const location = res.headers.location;\n const statusCode = res.statusCode;\n\n if (\n location &&\n opts.followRedirects &&\n statusCode >= 300 &&\n statusCode < 400\n ) {\n if (++websocket._redirects > opts.maxRedirects) {\n abortHandshake(websocket, req, 'Maximum redirects exceeded');\n return;\n }\n\n req.abort();\n\n let addr;\n\n try {\n addr = new URL(location, address);\n } catch (err) {\n emitErrorAndClose(websocket, err);\n return;\n }\n\n initAsClient(websocket, addr, protocols, options);\n } else if (!websocket.emit('unexpected-response', req, res)) {\n abortHandshake(\n websocket,\n req,\n `Unexpected server response: ${res.statusCode}`\n );\n }\n });\n\n req.on('upgrade', (res, socket, head) => {\n websocket.emit('upgrade', res);\n\n //\n // The user may have closed the connection from a listener of the `upgrade`\n // event.\n //\n if (websocket.readyState !== WebSocket.CONNECTING) return;\n\n req = websocket._req = null;\n\n if (res.headers.upgrade.toLowerCase() !== 'websocket') {\n abortHandshake(websocket, socket, 'Invalid Upgrade header');\n return;\n }\n\n const digest = createHash('sha1')\n .update(key + GUID)\n .digest('base64');\n\n if (res.headers['sec-websocket-accept'] !== digest) {\n abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');\n return;\n }\n\n const serverProt = res.headers['sec-websocket-protocol'];\n const protList = (protocols || '').split(/, */);\n let protError;\n\n if (!protocols && serverProt) {\n protError = 'Server sent a subprotocol but none was requested';\n } else if (protocols && !serverProt) {\n protError = 'Server sent no subprotocol';\n } else if (serverProt && !protList.includes(serverProt)) {\n protError = 'Server sent an invalid subprotocol';\n }\n\n if (protError) {\n abortHandshake(websocket, socket, protError);\n return;\n }\n\n if (serverProt) websocket._protocol = serverProt;\n\n const secWebSocketExtensions = res.headers['sec-websocket-extensions'];\n\n if (secWebSocketExtensions !== undefined) {\n if (!perMessageDeflate) {\n const message =\n 'Server sent a Sec-WebSocket-Extensions header but no extension ' +\n 'was requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n let extensions;\n\n try {\n extensions = parse(secWebSocketExtensions);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n const extensionNames = Object.keys(extensions);\n\n if (extensionNames.length) {\n if (\n extensionNames.length !== 1 ||\n extensionNames[0] !== PerMessageDeflate.extensionName\n ) {\n const message =\n 'Server indicated an extension that was not requested';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n try {\n perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);\n } catch (err) {\n const message = 'Invalid Sec-WebSocket-Extensions header';\n abortHandshake(websocket, socket, message);\n return;\n }\n\n websocket._extensions[PerMessageDeflate.extensionName] =\n perMessageDeflate;\n }\n }\n\n websocket.setSocket(socket, head, opts.maxPayload);\n });\n}\n\n/**\n * Emit the `'error'` and `'close'` event.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {Error} The error to emit\n * @private\n */\nfunction emitErrorAndClose(websocket, err) {\n websocket._readyState = WebSocket.CLOSING;\n websocket.emit('error', err);\n websocket.emitClose();\n}\n\n/**\n * Create a `net.Socket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {net.Socket} The newly created socket used to start the connection\n * @private\n */\nfunction netConnect(options) {\n options.path = options.socketPath;\n return net.connect(options);\n}\n\n/**\n * Create a `tls.TLSSocket` and initiate a connection.\n *\n * @param {Object} options Connection options\n * @return {tls.TLSSocket} The newly created socket used to start the connection\n * @private\n */\nfunction tlsConnect(options) {\n options.path = undefined;\n\n if (!options.servername && options.servername !== '') {\n options.servername = net.isIP(options.host) ? '' : options.host;\n }\n\n return tls.connect(options);\n}\n\n/**\n * Abort the handshake and emit an error.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to\n * abort or the socket to destroy\n * @param {String} message The error message\n * @private\n */\nfunction abortHandshake(websocket, stream, message) {\n websocket._readyState = WebSocket.CLOSING;\n\n const err = new Error(message);\n Error.captureStackTrace(err, abortHandshake);\n\n if (stream.setHeader) {\n stream.abort();\n\n if (stream.socket && !stream.socket.destroyed) {\n //\n // On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if\n // called after the request completed. See\n // https://github.com/websockets/ws/issues/1869.\n //\n stream.socket.destroy();\n }\n\n stream.once('abort', websocket.emitClose.bind(websocket));\n websocket.emit('error', err);\n } else {\n stream.destroy(err);\n stream.once('error', websocket.emit.bind(websocket, 'error'));\n stream.once('close', websocket.emitClose.bind(websocket));\n }\n}\n\n/**\n * Handle cases where the `ping()`, `pong()`, or `send()` methods are called\n * when the `readyState` attribute is `CLOSING` or `CLOSED`.\n *\n * @param {WebSocket} websocket The WebSocket instance\n * @param {*} [data] The data to send\n * @param {Function} [cb] Callback\n * @private\n */\nfunction sendAfterClose(websocket, data, cb) {\n if (data) {\n const length = toBuffer(data).length;\n\n //\n // The `_bufferedAmount` property is used only when the peer is a client and\n // the opening handshake fails. Under these circumstances, in fact, the\n // `setSocket()` method is not called, so the `_socket` and `_sender`\n // properties are set to `null`.\n //\n if (websocket._socket) websocket._sender._bufferedBytes += length;\n else websocket._bufferedAmount += length;\n }\n\n if (cb) {\n const err = new Error(\n `WebSocket is not open: readyState ${websocket.readyState} ` +\n `(${readyStates[websocket.readyState]})`\n );\n cb(err);\n }\n}\n\n/**\n * The listener of the `Receiver` `'conclude'` event.\n *\n * @param {Number} code The status code\n * @param {String} reason The reason for closing\n * @private\n */\nfunction receiverOnConclude(code, reason) {\n const websocket = this[kWebSocket];\n\n websocket._closeFrameReceived = true;\n websocket._closeMessage = reason;\n websocket._closeCode = code;\n\n if (websocket._socket[kWebSocket] === undefined) return;\n\n websocket._socket.removeListener('data', socketOnData);\n process.nextTick(resume, websocket._socket);\n\n if (code === 1005) websocket.close();\n else websocket.close(code, reason);\n}\n\n/**\n * The listener of the `Receiver` `'drain'` event.\n *\n * @private\n */\nfunction receiverOnDrain() {\n this[kWebSocket]._socket.resume();\n}\n\n/**\n * The listener of the `Receiver` `'error'` event.\n *\n * @param {(RangeError|Error)} err The emitted error\n * @private\n */\nfunction receiverOnError(err) {\n const websocket = this[kWebSocket];\n\n if (websocket._socket[kWebSocket] !== undefined) {\n websocket._socket.removeListener('data', socketOnData);\n\n //\n // On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See\n // https://github.com/websockets/ws/issues/1940.\n //\n process.nextTick(resume, websocket._socket);\n\n websocket.close(err[kStatusCode]);\n }\n\n websocket.emit('error', err);\n}\n\n/**\n * The listener of the `Receiver` `'finish'` event.\n *\n * @private\n */\nfunction receiverOnFinish() {\n this[kWebSocket].emitClose();\n}\n\n/**\n * The listener of the `Receiver` `'message'` event.\n *\n * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message\n * @private\n */\nfunction receiverOnMessage(data) {\n this[kWebSocket].emit('message', data);\n}\n\n/**\n * The listener of the `Receiver` `'ping'` event.\n *\n * @param {Buffer} data The data included in the ping frame\n * @private\n */\nfunction receiverOnPing(data) {\n const websocket = this[kWebSocket];\n\n websocket.pong(data, !websocket._isServer, NOOP);\n websocket.emit('ping', data);\n}\n\n/**\n * The listener of the `Receiver` `'pong'` event.\n *\n * @param {Buffer} data The data included in the pong frame\n * @private\n */\nfunction receiverOnPong(data) {\n this[kWebSocket].emit('pong', data);\n}\n\n/**\n * Resume a readable stream\n *\n * @param {Readable} stream The readable stream\n * @private\n */\nfunction resume(stream) {\n stream.resume();\n}\n\n/**\n * The listener of the `net.Socket` `'close'` event.\n *\n * @private\n */\nfunction socketOnClose() {\n const websocket = this[kWebSocket];\n\n this.removeListener('close', socketOnClose);\n this.removeListener('data', socketOnData);\n this.removeListener('end', socketOnEnd);\n\n websocket._readyState = WebSocket.CLOSING;\n\n let chunk;\n\n //\n // The close frame might not have been received or the `'end'` event emitted,\n // for example, if the socket was destroyed due to an error. Ensure that the\n // `receiver` stream is closed after writing any remaining buffered data to\n // it. If the readable side of the socket is in flowing mode then there is no\n // buffered data as everything has been already written and `readable.read()`\n // will return `null`. If instead, the socket is paused, any possible buffered\n // data will be read as a single chunk.\n //\n if (\n !this._readableState.endEmitted &&\n !websocket._closeFrameReceived &&\n !websocket._receiver._writableState.errorEmitted &&\n (chunk = websocket._socket.read()) !== null\n ) {\n websocket._receiver.write(chunk);\n }\n\n websocket._receiver.end();\n\n this[kWebSocket] = undefined;\n\n clearTimeout(websocket._closeTimer);\n\n if (\n websocket._receiver._writableState.finished ||\n websocket._receiver._writableState.errorEmitted\n ) {\n websocket.emitClose();\n } else {\n websocket._receiver.on('error', receiverOnFinish);\n websocket._receiver.on('finish', receiverOnFinish);\n }\n}\n\n/**\n * The listener of the `net.Socket` `'data'` event.\n *\n * @param {Buffer} chunk A chunk of data\n * @private\n */\nfunction socketOnData(chunk) {\n if (!this[kWebSocket]._receiver.write(chunk)) {\n this.pause();\n }\n}\n\n/**\n * The listener of the `net.Socket` `'end'` event.\n *\n * @private\n */\nfunction socketOnEnd() {\n const websocket = this[kWebSocket];\n\n websocket._readyState = WebSocket.CLOSING;\n websocket._receiver.end();\n this.end();\n}\n\n/**\n * The listener of the `net.Socket` `'error'` event.\n *\n * @private\n */\nfunction socketOnError() {\n const websocket = this[kWebSocket];\n\n this.removeListener('error', socketOnError);\n this.on('error', NOOP);\n\n if (websocket) {\n websocket._readyState = WebSocket.CLOSING;\n this.destroy();\n }\n}\n","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"cluster\");","module.exports = require(\"crypto\");","module.exports = require(\"dgram\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\n__webpack_require__.I = (name) => {\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// handling circular init calls\n\tinitPromises[name] = 1;\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => typeof console !== \"undefined\" && console.warn && console.warn(msg);;\n\tvar uniqueName = \"aegis-app\";\n\tvar register = (name, version, factory) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || !activeVersion.loaded && uniqueName > activeVersion.from) versions[version] = { get: factory, from: uniqueName };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => warn(\"Initialization of sharing external failed: \" + err);\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => module && module.init && module.init(__webpack_require__.S[name])\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"axios\", \"0.21.4\", () => () => __webpack_require__(/*! ./node_modules/axios/index.js */ \"./node_modules/axios/index.js\"));\n\t\t\tregister(\"axios\", \"0.26.1\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\"));\n\t\t\tregister(\"kafkajs\", \"1.16.0\", () => () => __webpack_require__(/*! ./node_modules/kafkajs/index.js */ \"./node_modules/kafkajs/index.js\"));\n\t\t\tregister(\"multicast-dns\", \"7.2.5\", () => () => __webpack_require__(/*! ./node_modules/multicast-dns/index.js */ \"./node_modules/multicast-dns/index.js\"));\n\t\t\tregister(\"nanoid\", \"3.3.4\", () => () => __webpack_require__(/*! ./node_modules/nanoid/index.js */ \"./node_modules/nanoid/index.js\"));\n\t\t\tregister(\"smartystreets-javascript-sdk\", \"1.13.7\", () => () => __webpack_require__(/*! ./node_modules/smartystreets-javascript-sdk/index.js */ \"./node_modules/smartystreets-javascript-sdk/index.js\"));\n\t\t}\n\t\tbreak;\n\t}\n\treturn promises.length && (initPromises[name] = Promise.all(promises).then(() => initPromises[name] = 1));\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tif(1===range.length)return\"*\";if(0 in range){var r=\"\",n=range[0];r+=0==n?\">=\":-1==n?\"<\":1==n?\"^\":2==n?\"~\":n>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return r}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n};\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t\"webpack/sharing/consume/default/nanoid/nanoid\": () => loadStrictVersionCheckFallback(\"default\", \"nanoid\", [1,3,1,12], () => () => __webpack_require__(/*! nanoid */ \"./node_modules/nanoid/index.js\")),\n\t\"webpack/sharing/consume/default/kafkajs/kafkajs\": () => loadStrictVersionCheckFallback(\"default\", \"kafkajs\", [1,1,14,0], () => () => __webpack_require__(/*! kafkajs */ \"./node_modules/kafkajs/index.js\")),\n\t\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\": () => loadStrictVersionCheckFallback(\"default\", \"smartystreets-javascript-sdk\", [1,1,6,0], () => () => __webpack_require__(/*! smartystreets-javascript-sdk */ \"./node_modules/smartystreets-javascript-sdk/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5c0e\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,26,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/smartystreets-javascript-sdk/node_modules/axios/index.js\")),\n\t\"webpack/sharing/consume/default/multicast-dns/multicast-dns\": () => loadStrictVersionCheckFallback(\"default\", \"multicast-dns\", [1,7,2,5], () => () => __webpack_require__(/*! multicast-dns */ \"./node_modules/multicast-dns/index.js\")),\n\t\"webpack/sharing/consume/default/axios/axios?5326\": () => loadStrictVersionCheckFallback(\"default\", \"axios\", [2,0,21,1], () => () => __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\"))\n};\nvar initialConsumes = [\"webpack/sharing/consume/default/nanoid/nanoid\",\"webpack/sharing/consume/default/kafkajs/kafkajs\",\"webpack/sharing/consume/default/smartystreets-javascript-sdk/smartystreets-javascript-sdk\",\"webpack/sharing/consume/default/axios/axios?5c0e\",\"webpack/sharing/consume/default/multicast-dns/multicast-dns\",\"webpack/sharing/consume/default/axios/axios?5326\"];\ninitialConsumes.forEach((id) => {\n\t__webpack_modules__[id] = (module) => {\n\t\t// Handle case when module is used sync\n\t\tinstalledModules[id] = 0;\n\t\tdelete __webpack_module_cache__[id];\n\t\tvar factory = moduleToHandlerMapping[id]();\n\t\tif(typeof factory !== \"function\") throw new Error(\"Shared module is not available for eager consumption: \" + id);\n\t\tmodule.exports = factory();\n\t}\n});\n// no chunk loading of consumes","// module exports must be returned from runtime so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(\"./node_modules/@babel/polyfill/lib/index.js\");\nreturn __webpack_require__(\"./src/index.js\");\n"],"sourceRoot":""} \ No newline at end of file diff --git a/src/adapters/ticket-master.js b/src/adapters/ticket-master.js index 14023267..bfbdbd7a 100644 --- a/src/adapters/ticket-master.js +++ b/src/adapters/ticket-master.js @@ -8,6 +8,7 @@ export function tmListEventsOut (service) { https.get( `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${apiKey}`, res => { + res.on('error', reject) res.on('data', chunk => chunks.push(chunk)) res.on('end', () => resolve(chunks.join(''))) } diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index c5c89d49..00000000 --- a/yarn.lock +++ /dev/null @@ -1,7263 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@ampproject/remapping@^2.1.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" - integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== - dependencies: - "@jridgewell/gen-mapping" "^0.1.0" - "@jridgewell/trace-mapping" "^0.3.9" - -"@apimatic/schema@^0.4.1": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@apimatic/schema/-/schema-0.4.1.tgz#cb7a122895846638b01f402cc4ca1a32f656aa11" - integrity sha512-KdGp4GaC0sTlcwshahvqZ8OrB/QEM99lxm3sEAo5JgVQP3XH0y/+zeguV8OZhiXRsHERoVZvcI4rKBSHcL84gQ== - dependencies: - lodash.flatten "^4.4.0" - -"@assemblyscript/loader@^0.19.10": - version "0.19.23" - resolved "https://registry.yarnpkg.com/@assemblyscript/loader/-/loader-0.19.23.tgz#7fccae28d0a2692869f1d1219d36093bc24d5e72" - integrity sha512-ulkCYfFbYj01ie1MDOyxv2F6SpRN1TOj7fQxbP07D6HmeR+gr2JLSmINKjga2emB+b1L2KGrFKBTc+e00p54nw== - -"@babel/cli@^7.10.5": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.20.7.tgz#8fc12e85c744a1a617680eacb488fab1fcd35b7c" - integrity sha512-WylgcELHB66WwQqItxNILsMlaTd8/SO6SgTTjMp4uCI7P4QyH1r3nqgFmO3BfM4AtfniHgFMH3EpYFj/zynBkQ== - dependencies: - "@jridgewell/trace-mapping" "^0.3.8" - commander "^4.0.1" - convert-source-map "^1.1.0" - fs-readdir-recursive "^1.1.0" - glob "^7.2.0" - make-dir "^2.1.0" - slash "^2.0.0" - optionalDependencies: - "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" - chokidar "^3.4.0" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== - dependencies: - "@babel/highlight" "^7.18.6" - -"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.20.1", "@babel/compat-data@^7.20.5": - version "7.20.10" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" - integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== - -"@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.7.tgz#37072f951bd4d28315445f66e0ec9f6ae0c8c35f" - integrity sha512-t1ZjCluspe5DW24bn2Rr1CDb2v9rn/hROtg9a2tmd0+QYf4bsloYfLQzjG4qHPNMhWtKdGC33R5AxGR2Af2cBw== - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.7" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-module-transforms" "^7.20.7" - "@babel/helpers" "^7.20.7" - "@babel/parser" "^7.20.7" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.7" - "@babel/types" "^7.20.7" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" - -"@babel/generator@^7.20.7", "@babel/generator@^7.7.2": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" - integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== - dependencies: - "@babel/types" "^7.20.7" - "@jridgewell/gen-mapping" "^0.3.2" - jsesc "^2.5.1" - -"@babel/helper-annotate-as-pure@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" - integrity sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.18.6": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.9.tgz#acd4edfd7a566d1d51ea975dff38fd52906981bb" - integrity sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw== - dependencies: - "@babel/helper-explode-assignable-expression" "^7.18.6" - "@babel/types" "^7.18.9" - -"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.0", "@babel/helper-compilation-targets@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" - integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== - dependencies: - "@babel/compat-data" "^7.20.5" - "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.21.3" - lru-cache "^5.1.1" - semver "^6.3.0" - -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.20.5", "@babel/helper-create-class-features-plugin@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.7.tgz#d0e1f8d7e4ed5dac0389364d9c0c191d948ade6f" - integrity sha512-LtoWbDXOaidEf50hmdDqn9g8VEzsorMexoWMQdQODbvmqYmaF23pBP5VNPAGIFHsFQCIeKokDiz3CH5Y2jlY6w== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-member-expression-to-functions" "^7.20.7" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-replace-supers" "^7.20.7" - "@babel/helper-split-export-declaration" "^7.18.6" - -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.20.5.tgz#5ea79b59962a09ec2acf20a963a01ab4d076ccca" - integrity sha512-m68B1lkg3XDGX5yCvGO0kPx3v9WIYLnzjKfPcQiwntEQa5ZeRkPmo2X/ISJc8qxWGfwUr+kvZAeEzAwLec2r2w== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - regexpu-core "^5.2.1" - -"@babel/helper-define-polyfill-provider@^0.3.3": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" - integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== - dependencies: - "@babel/helper-compilation-targets" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - semver "^6.1.2" - -"@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== - -"@babel/helper-explode-assignable-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" - integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.19.0": - version "7.19.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" - integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== - dependencies: - "@babel/template" "^7.18.10" - "@babel/types" "^7.19.0" - -"@babel/helper-hoist-variables@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" - integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-member-expression-to-functions@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05" - integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== - dependencies: - "@babel/types" "^7.20.7" - -"@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.20.7": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" - integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.20.2" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.10" - "@babel/types" "^7.20.7" - -"@babel/helper-optimise-call-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" - integrity sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" - integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== - -"@babel/helper-remap-async-to-generator@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" - integrity sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-wrap-function" "^7.18.9" - "@babel/types" "^7.18.9" - -"@babel/helper-replace-supers@^7.18.6", "@babel/helper-replace-supers@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" - integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-member-expression-to-functions" "^7.20.7" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== - dependencies: - "@babel/types" "^7.20.2" - -"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" - integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== - dependencies: - "@babel/types" "^7.20.0" - -"@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== - dependencies: - "@babel/types" "^7.18.6" - -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== - -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - -"@babel/helper-validator-option@^7.12.17", "@babel/helper-validator-option@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" - integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== - -"@babel/helper-wrap-function@^7.18.9": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz#75e2d84d499a0ab3b31c33bcfe59d6b8a45f62e3" - integrity sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q== - dependencies: - "@babel/helper-function-name" "^7.19.0" - "@babel/template" "^7.18.10" - "@babel/traverse" "^7.20.5" - "@babel/types" "^7.20.5" - -"@babel/helpers@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" - integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== - dependencies: - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== - dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" - -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" - integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== - -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" - integrity sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz#d9c85589258539a22a901033853101a6198d4ef1" - integrity sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" - "@babel/plugin-proposal-optional-chaining" "^7.20.7" - -"@babel/plugin-proposal-async-generator-functions@^7.20.1": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" - integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== - dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-remap-async-to-generator" "^7.18.9" - "@babel/plugin-syntax-async-generators" "^7.8.4" - -"@babel/plugin-proposal-class-properties@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" - integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-proposal-class-static-block@^7.18.6": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.20.7.tgz#92592e9029b13b15be0f7ce6a7aedc2879ca45a7" - integrity sha512-AveGOoi9DAjUYYuUAG//Ig69GlazLnoyzMw68VCDux+c1tsnnH/OkYcpz/5xzMkEFC6UxjR5Gw1c+iY2wOGVeQ== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.20.7" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - -"@babel/plugin-proposal-dynamic-import@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" - integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - -"@babel/plugin-proposal-export-namespace-from@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" - integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - -"@babel/plugin-proposal-json-strings@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" - integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-json-strings" "^7.8.3" - -"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" - integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - -"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" - integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - -"@babel/plugin-proposal-numeric-separator@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" - integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-proposal-object-rest-spread@^7.20.2": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" - integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== - dependencies: - "@babel/compat-data" "^7.20.5" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.20.7" - -"@babel/plugin-proposal-optional-catch-binding@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" - integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - -"@babel/plugin-proposal-optional-chaining@^7.18.9", "@babel/plugin-proposal-optional-chaining@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.20.7.tgz#49f2b372519ab31728cc14115bb0998b15bfda55" - integrity sha512-T+A7b1kfjtRM51ssoOfS1+wbyCVqorfyZhT99TvxxLMirPShD8CzKMRepMlCBGM5RpHMbn8s+5MMHnPstJH6mQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - -"@babel/plugin-proposal-private-methods@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" - integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-proposal-private-property-in-object@^7.18.6": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.20.5.tgz#309c7668f2263f1c711aa399b5a9a6291eef6135" - integrity sha512-Vq7b9dUA12ByzB4EjQTPo25sFhY+08pQDBSZRtUAkj7lb7jahaHR5igera16QZ+3my1nYR4dKsNdYj5IjPHilQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-create-class-features-plugin" "^7.20.5" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - -"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" - integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-bigint@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== - dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - -"@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" - integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-export-namespace-from@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" - integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-syntax-import-assertions@^7.20.0": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz#bb50e0d4bea0957235390641209394e87bdb9cc4" - integrity sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ== - dependencies: - "@babel/helper-plugin-utils" "^7.19.0" - -"@babel/plugin-syntax-import-meta@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-jsx@^7.7.2": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" - integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-typescript@^7.7.2": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" - integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== - dependencies: - "@babel/helper-plugin-utils" "^7.19.0" - -"@babel/plugin-transform-arrow-functions@^7.18.6": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz#bea332b0e8b2dab3dafe55a163d8227531ab0551" - integrity sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-async-to-generator@^7.18.6": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz#dfee18623c8cb31deb796aa3ca84dda9cea94354" - integrity sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q== - dependencies: - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-remap-async-to-generator" "^7.18.9" - -"@babel/plugin-transform-block-scoped-functions@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz#9187bf4ba302635b9d70d986ad70f038726216a8" - integrity sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-block-scoping@^7.20.2": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.20.11.tgz#9f5a3424bd112a3f32fe0cf9364fbb155cff262a" - integrity sha512-tA4N427a7fjf1P0/2I4ScsHGc5jcHPbb30xMbaTke2gxDuWpUfXDuX1FEymJwKk4tuGUvGcejAR6HdZVqmmPyw== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-classes@^7.20.2": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.20.7.tgz#f438216f094f6bb31dc266ebfab8ff05aecad073" - integrity sha512-LWYbsiXTPKl+oBlXUGlwNlJZetXD5Am+CyBdqhPsDVjM9Jc8jwBJFrKhHf900Kfk2eZG1y9MAG3UNajol7A4VQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-compilation-targets" "^7.20.7" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-replace-supers" "^7.20.7" - "@babel/helper-split-export-declaration" "^7.18.6" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.18.9": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz#704cc2fd155d1c996551db8276d55b9d46e4d0aa" - integrity sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/template" "^7.20.7" - -"@babel/plugin-transform-destructuring@^7.20.2": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz#8bda578f71620c7de7c93af590154ba331415454" - integrity sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" - integrity sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-duplicate-keys@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.9.tgz#687f15ee3cdad6d85191eb2a372c4528eaa0ae0e" - integrity sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-exponentiation-operator@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" - integrity sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-for-of@^7.18.8": - version "7.18.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz#6ef8a50b244eb6a0bdbad0c7c61877e4e30097c1" - integrity sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-function-name@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" - integrity sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ== - dependencies: - "@babel/helper-compilation-targets" "^7.18.9" - "@babel/helper-function-name" "^7.18.9" - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-literals@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.9.tgz#72796fdbef80e56fba3c6a699d54f0de557444bc" - integrity sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-member-expression-literals@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz#ac9fdc1a118620ac49b7e7a5d2dc177a1bfee88e" - integrity sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-modules-amd@^7.19.6": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz#3daccca8e4cc309f03c3a0c4b41dc4b26f55214a" - integrity sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g== - dependencies: - "@babel/helper-module-transforms" "^7.20.11" - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-modules-commonjs@^7.19.6": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.20.11.tgz#8cb23010869bf7669fd4b3098598b6b2be6dc607" - integrity sha512-S8e1f7WQ7cimJQ51JkAaDrEtohVEitXjgCGAS2N8S31Y42E+kWwfSz83LYz57QdBm7q9diARVqanIaH2oVgQnw== - dependencies: - "@babel/helper-module-transforms" "^7.20.11" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-simple-access" "^7.20.2" - -"@babel/plugin-transform-modules-systemjs@^7.19.6": - version "7.20.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz#467ec6bba6b6a50634eea61c9c232654d8a4696e" - integrity sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw== - dependencies: - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-module-transforms" "^7.20.11" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-validator-identifier" "^7.19.1" - -"@babel/plugin-transform-modules-umd@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" - integrity sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ== - dependencies: - "@babel/helper-module-transforms" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.19.1": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz#626298dd62ea51d452c3be58b285d23195ba69a8" - integrity sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.20.5" - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-new-target@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz#d128f376ae200477f37c4ddfcc722a8a1b3246a8" - integrity sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-object-super@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" - integrity sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/helper-replace-supers" "^7.18.6" - -"@babel/plugin-transform-parameters@^7.20.1", "@babel/plugin-transform-parameters@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz#0ee349e9d1bc96e78e3b37a7af423a4078a7083f" - integrity sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - -"@babel/plugin-transform-property-literals@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz#e22498903a483448e94e032e9bbb9c5ccbfc93a3" - integrity sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-regenerator@^7.18.6": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz#57cda588c7ffb7f4f8483cc83bdcea02a907f04d" - integrity sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - regenerator-transform "^0.15.1" - -"@babel/plugin-transform-reserved-words@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz#b1abd8ebf8edaa5f7fe6bbb8d2133d23b6a6f76a" - integrity sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-shorthand-properties@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" - integrity sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-spread@^7.19.0": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" - integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== - dependencies: - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" - -"@babel/plugin-transform-sticky-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz#c6706eb2b1524028e317720339583ad0f444adcc" - integrity sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q== - dependencies: - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-template-literals@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.9.tgz#04ec6f10acdaa81846689d63fae117dd9c243a5e" - integrity sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-typeof-symbol@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.9.tgz#c8cea68263e45addcd6afc9091429f80925762c0" - integrity sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-unicode-escapes@^7.18.10": - version "7.18.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz#1ecfb0eda83d09bbcb77c09970c2dd55832aa246" - integrity sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ== - dependencies: - "@babel/helper-plugin-utils" "^7.18.9" - -"@babel/plugin-transform-unicode-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" - integrity sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/polyfill@^7.11.5": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.12.1.tgz#1f2d6371d1261bbd961f3c5d5909150e12d0bd96" - integrity sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g== - dependencies: - core-js "^2.6.5" - regenerator-runtime "^0.13.4" - -"@babel/preset-env@^7.11.0": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.20.2.tgz#9b1642aa47bb9f43a86f9630011780dab7f86506" - integrity sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg== - dependencies: - "@babel/compat-data" "^7.20.1" - "@babel/helper-compilation-targets" "^7.20.0" - "@babel/helper-plugin-utils" "^7.20.2" - "@babel/helper-validator-option" "^7.18.6" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" - "@babel/plugin-proposal-async-generator-functions" "^7.20.1" - "@babel/plugin-proposal-class-properties" "^7.18.6" - "@babel/plugin-proposal-class-static-block" "^7.18.6" - "@babel/plugin-proposal-dynamic-import" "^7.18.6" - "@babel/plugin-proposal-export-namespace-from" "^7.18.9" - "@babel/plugin-proposal-json-strings" "^7.18.6" - "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" - "@babel/plugin-proposal-numeric-separator" "^7.18.6" - "@babel/plugin-proposal-object-rest-spread" "^7.20.2" - "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" - "@babel/plugin-proposal-optional-chaining" "^7.18.9" - "@babel/plugin-proposal-private-methods" "^7.18.6" - "@babel/plugin-proposal-private-property-in-object" "^7.18.6" - "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-import-assertions" "^7.20.0" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-transform-arrow-functions" "^7.18.6" - "@babel/plugin-transform-async-to-generator" "^7.18.6" - "@babel/plugin-transform-block-scoped-functions" "^7.18.6" - "@babel/plugin-transform-block-scoping" "^7.20.2" - "@babel/plugin-transform-classes" "^7.20.2" - "@babel/plugin-transform-computed-properties" "^7.18.9" - "@babel/plugin-transform-destructuring" "^7.20.2" - "@babel/plugin-transform-dotall-regex" "^7.18.6" - "@babel/plugin-transform-duplicate-keys" "^7.18.9" - "@babel/plugin-transform-exponentiation-operator" "^7.18.6" - "@babel/plugin-transform-for-of" "^7.18.8" - "@babel/plugin-transform-function-name" "^7.18.9" - "@babel/plugin-transform-literals" "^7.18.9" - "@babel/plugin-transform-member-expression-literals" "^7.18.6" - "@babel/plugin-transform-modules-amd" "^7.19.6" - "@babel/plugin-transform-modules-commonjs" "^7.19.6" - "@babel/plugin-transform-modules-systemjs" "^7.19.6" - "@babel/plugin-transform-modules-umd" "^7.18.6" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.19.1" - "@babel/plugin-transform-new-target" "^7.18.6" - "@babel/plugin-transform-object-super" "^7.18.6" - "@babel/plugin-transform-parameters" "^7.20.1" - "@babel/plugin-transform-property-literals" "^7.18.6" - "@babel/plugin-transform-regenerator" "^7.18.6" - "@babel/plugin-transform-reserved-words" "^7.18.6" - "@babel/plugin-transform-shorthand-properties" "^7.18.6" - "@babel/plugin-transform-spread" "^7.19.0" - "@babel/plugin-transform-sticky-regex" "^7.18.6" - "@babel/plugin-transform-template-literals" "^7.18.9" - "@babel/plugin-transform-typeof-symbol" "^7.18.9" - "@babel/plugin-transform-unicode-escapes" "^7.18.10" - "@babel/plugin-transform-unicode-regex" "^7.18.6" - "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.20.2" - babel-plugin-polyfill-corejs2 "^0.3.3" - babel-plugin-polyfill-corejs3 "^0.6.0" - babel-plugin-polyfill-regenerator "^0.4.1" - core-js-compat "^3.25.1" - semver "^6.3.0" - -"@babel/preset-modules@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" - integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/register@^7.12.1": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.18.9.tgz#1888b24bc28d5cc41c412feb015e9ff6b96e439c" - integrity sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw== - dependencies: - clone-deep "^4.0.1" - find-cache-dir "^2.0.0" - make-dir "^2.1.0" - pirates "^4.0.5" - source-map-support "^0.5.16" - -"@babel/runtime@^7.8.4": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" - integrity sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ== - dependencies: - regenerator-runtime "^0.13.11" - -"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" - integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - -"@babel/traverse@^7.20.10", "@babel/traverse@^7.20.5", "@babel/traverse@^7.20.7", "@babel/traverse@^7.7.2": - version "7.20.10" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.10.tgz#2bf98239597fcec12f842756f186a9dde6d09230" - integrity sha512-oSf1juCgymrSez8NI4A2sr4+uB/mFd9MXplYGPEBnfAuWmmyeVcHa6xLPiaRBcXkcb/28bgxmQLTVwFKE1yfsg== - dependencies: - "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.20.7" - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-function-name" "^7.19.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" - integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== - dependencies: - "@babel/helper-string-parser" "^7.19.4" - "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" - -"@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" - integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== - -"@gar/promisify@^1.0.1": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== - -"@isaacs/string-locale-compare@^1.0.1": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" - integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== - -"@istanbuljs/load-nyc-config@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" - integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== - dependencies: - camelcase "^5.3.1" - find-up "^4.1.0" - get-package-type "^0.1.0" - js-yaml "^3.13.1" - resolve-from "^5.0.0" - -"@istanbuljs/schema@^0.1.2": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== - -"@jest/console@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.3.1.tgz#3e3f876e4e47616ea3b1464b9fbda981872e9583" - integrity sha512-IRE6GD47KwcqA09RIWrabKdHPiKDGgtAL31xDxbi/RjQMsr+lY+ppxmHwY0dUEV3qvvxZzoe5Hl0RXZJOjQNUg== - dependencies: - "@jest/types" "^29.3.1" - "@types/node" "*" - chalk "^4.0.0" - jest-message-util "^29.3.1" - jest-util "^29.3.1" - slash "^3.0.0" - -"@jest/core@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.3.1.tgz#bff00f413ff0128f4debec1099ba7dcd649774a1" - integrity sha512-0ohVjjRex985w5MmO5L3u5GR1O30DexhBSpuwx2P+9ftyqHdJXnk7IUWiP80oHMvt7ubHCJHxV0a0vlKVuZirw== - dependencies: - "@jest/console" "^29.3.1" - "@jest/reporters" "^29.3.1" - "@jest/test-result" "^29.3.1" - "@jest/transform" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - ci-info "^3.2.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-changed-files "^29.2.0" - jest-config "^29.3.1" - jest-haste-map "^29.3.1" - jest-message-util "^29.3.1" - jest-regex-util "^29.2.0" - jest-resolve "^29.3.1" - jest-resolve-dependencies "^29.3.1" - jest-runner "^29.3.1" - jest-runtime "^29.3.1" - jest-snapshot "^29.3.1" - jest-util "^29.3.1" - jest-validate "^29.3.1" - jest-watcher "^29.3.1" - micromatch "^4.0.4" - pretty-format "^29.3.1" - slash "^3.0.0" - strip-ansi "^6.0.0" - -"@jest/environment@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.3.1.tgz#eb039f726d5fcd14698acd072ac6576d41cfcaa6" - integrity sha512-pMmvfOPmoa1c1QpfFW0nXYtNLpofqo4BrCIk6f2kW4JFeNlHV2t3vd+3iDLf31e2ot2Mec0uqZfmI+U0K2CFag== - dependencies: - "@jest/fake-timers" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - jest-mock "^29.3.1" - -"@jest/expect-utils@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.3.1.tgz#531f737039e9b9e27c42449798acb5bba01935b6" - integrity sha512-wlrznINZI5sMjwvUoLVk617ll/UYfGIZNxmbU+Pa7wmkL4vYzhV9R2pwVqUh4NWWuLQWkI8+8mOkxs//prKQ3g== - dependencies: - jest-get-type "^29.2.0" - -"@jest/expect@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.3.1.tgz#456385b62894349c1d196f2d183e3716d4c6a6cd" - integrity sha512-QivM7GlSHSsIAWzgfyP8dgeExPRZ9BIe2LsdPyEhCGkZkoyA+kGsoIzbKAfZCvvRzfZioKwPtCZIt5SaoxYCvg== - dependencies: - expect "^29.3.1" - jest-snapshot "^29.3.1" - -"@jest/fake-timers@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.3.1.tgz#b140625095b60a44de820876d4c14da1aa963f67" - integrity sha512-iHTL/XpnDlFki9Tq0Q1GGuVeQ8BHZGIYsvCO5eN/O/oJaRzofG9Xndd9HuSDBI/0ZS79pg0iwn07OMTQ7ngF2A== - dependencies: - "@jest/types" "^29.3.1" - "@sinonjs/fake-timers" "^9.1.2" - "@types/node" "*" - jest-message-util "^29.3.1" - jest-mock "^29.3.1" - jest-util "^29.3.1" - -"@jest/globals@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.3.1.tgz#92be078228e82d629df40c3656d45328f134a0c6" - integrity sha512-cTicd134vOcwO59OPaB6AmdHQMCtWOe+/DitpTZVxWgMJ+YvXL1HNAmPyiGbSHmF/mXVBkvlm8YYtQhyHPnV6Q== - dependencies: - "@jest/environment" "^29.3.1" - "@jest/expect" "^29.3.1" - "@jest/types" "^29.3.1" - jest-mock "^29.3.1" - -"@jest/reporters@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.3.1.tgz#9a6d78c109608e677c25ddb34f907b90e07b4310" - integrity sha512-GhBu3YFuDrcAYW/UESz1JphEAbvUjaY2vShRZRoRY1mxpCMB3yGSJ4j9n0GxVlEOdCf7qjvUfBCrTUUqhVfbRA== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^29.3.1" - "@jest/test-result" "^29.3.1" - "@jest/transform" "^29.3.1" - "@jest/types" "^29.3.1" - "@jridgewell/trace-mapping" "^0.3.15" - "@types/node" "*" - chalk "^4.0.0" - collect-v8-coverage "^1.0.0" - exit "^0.1.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^5.1.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.1.3" - jest-message-util "^29.3.1" - jest-util "^29.3.1" - jest-worker "^29.3.1" - slash "^3.0.0" - string-length "^4.0.1" - strip-ansi "^6.0.0" - v8-to-istanbul "^9.0.1" - -"@jest/schemas@^29.0.0": - version "29.0.0" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a" - integrity sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA== - dependencies: - "@sinclair/typebox" "^0.24.1" - -"@jest/source-map@^29.2.0": - version "29.2.0" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.2.0.tgz#ab3420c46d42508dcc3dc1c6deee0b613c235744" - integrity sha512-1NX9/7zzI0nqa6+kgpSdKPK+WU1p+SJk3TloWZf5MzPbxri9UEeXX5bWZAPCzbQcyuAzubcdUHA7hcNznmRqWQ== - dependencies: - "@jridgewell/trace-mapping" "^0.3.15" - callsites "^3.0.0" - graceful-fs "^4.2.9" - -"@jest/test-result@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.3.1.tgz#92cd5099aa94be947560a24610aa76606de78f50" - integrity sha512-qeLa6qc0ddB0kuOZyZIhfN5q0e2htngokyTWsGriedsDhItisW7SDYZ7ceOe57Ii03sL988/03wAcBh3TChMGw== - dependencies: - "@jest/console" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" - -"@jest/test-sequencer@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.3.1.tgz#fa24b3b050f7a59d48f7ef9e0b782ab65123090d" - integrity sha512-IqYvLbieTv20ArgKoAMyhLHNrVHJfzO6ARZAbQRlY4UGWfdDnLlZEF0BvKOMd77uIiIjSZRwq3Jb3Fa3I8+2UA== - dependencies: - "@jest/test-result" "^29.3.1" - graceful-fs "^4.2.9" - jest-haste-map "^29.3.1" - slash "^3.0.0" - -"@jest/transform@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.3.1.tgz#1e6bd3da4af50b5c82a539b7b1f3770568d6e36d" - integrity sha512-8wmCFBTVGYqFNLWfcOWoVuMuKYPUBTnTMDkdvFtAYELwDOl9RGwOsvQWGPFxDJ8AWY9xM/8xCXdqmPK3+Q5Lug== - dependencies: - "@babel/core" "^7.11.6" - "@jest/types" "^29.3.1" - "@jridgewell/trace-mapping" "^0.3.15" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^2.0.0" - fast-json-stable-stringify "^2.1.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.3.1" - jest-regex-util "^29.2.0" - jest-util "^29.3.1" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - write-file-atomic "^4.0.1" - -"@jest/types@^29.3.1": - version "29.3.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.3.1.tgz#7c5a80777cb13e703aeec6788d044150341147e3" - integrity sha512-d0S0jmmTpjnhCmNpApgX3jrUZgZ22ivKJRvL2lli5hpCRoNnp1f85r2/wpKfXuYu8E7Jjh1hGfhPyup1NM5AmA== - dependencies: - "@jest/schemas" "^29.0.0" - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^17.0.8" - chalk "^4.0.0" - -"@jridgewell/gen-mapping@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" - integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== - dependencies: - "@jridgewell/set-array" "^1.0.0" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" - integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== - dependencies: - "@jridgewell/set-array" "^1.0.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" - -"@jridgewell/resolve-uri@3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - -"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== - -"@jridgewell/source-map@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb" - integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw== - dependencies: - "@jridgewell/gen-mapping" "^0.3.0" - "@jridgewell/trace-mapping" "^0.3.9" - -"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== - -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15", "@jridgewell/trace-mapping@^0.3.8", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.17" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" - integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== - dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" - -"@leichtgewicht/ip-codec@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" - integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== - -"@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": - version "2.1.8-no-fsevents.3" - resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" - integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== - -"@npmcli/arborist@^2.6.4": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-2.10.0.tgz#424c2d73a7ae59c960b0cc7f74fed043e4316c2c" - integrity sha512-CLnD+zXG9oijEEzViimz8fbOoFVb7hoypiaf7p6giJhvYtrxLAyY3cZAMPIFQvsG731+02eMDp3LqVBNo7BaZA== - dependencies: - "@isaacs/string-locale-compare" "^1.0.1" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/map-workspaces" "^1.0.2" - "@npmcli/metavuln-calculator" "^1.1.0" - "@npmcli/move-file" "^1.1.0" - "@npmcli/name-from-folder" "^1.0.1" - "@npmcli/node-gyp" "^1.0.1" - "@npmcli/package-json" "^1.0.1" - "@npmcli/run-script" "^1.8.2" - bin-links "^2.2.1" - cacache "^15.0.3" - common-ancestor-path "^1.0.1" - json-parse-even-better-errors "^2.3.1" - json-stringify-nice "^1.1.4" - mkdirp "^1.0.4" - mkdirp-infer-owner "^2.0.0" - npm-install-checks "^4.0.0" - npm-package-arg "^8.1.5" - npm-pick-manifest "^6.1.0" - npm-registry-fetch "^11.0.0" - pacote "^11.3.5" - parse-conflict-json "^1.1.1" - proc-log "^1.0.0" - promise-all-reject-late "^1.0.0" - promise-call-limit "^1.0.1" - read-package-json-fast "^2.0.2" - readdir-scoped-modules "^1.1.0" - rimraf "^3.0.2" - semver "^7.3.5" - ssri "^8.0.1" - treeverse "^1.0.4" - walk-up-path "^1.0.0" - -"@npmcli/fs@^1.0.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" - integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== - dependencies: - "@gar/promisify" "^1.0.1" - semver "^7.3.5" - -"@npmcli/git@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" - integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== - dependencies: - "@npmcli/promise-spawn" "^1.3.2" - lru-cache "^6.0.0" - mkdirp "^1.0.4" - npm-pick-manifest "^6.1.1" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" - -"@npmcli/installed-package-contents@^1.0.6", "@npmcli/installed-package-contents@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== - dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -"@npmcli/map-workspaces@^1.0.2": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-1.0.4.tgz#915708b55afa25e20bc2c14a766c124c2c5d4cab" - integrity sha512-wVR8QxhyXsFcD/cORtJwGQodeeaDf0OxcHie8ema4VgFeqwYkFsDPnSrIRSytX8xR6nKPAH89WnwTcaU608b/Q== - dependencies: - "@npmcli/name-from-folder" "^1.0.1" - glob "^7.1.6" - minimatch "^3.0.4" - read-package-json-fast "^2.0.1" - -"@npmcli/metavuln-calculator@^1.1.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-1.1.1.tgz#2f95ff3c6d88b366dd70de1c3f304267c631b458" - integrity sha512-9xe+ZZ1iGVaUovBVFI9h3qW+UuECUzhvZPxK9RaEA2mjU26o5D0JloGYWwLYvQELJNmBdQB6rrpuN8jni6LwzQ== - dependencies: - cacache "^15.0.5" - pacote "^11.1.11" - semver "^7.3.2" - -"@npmcli/move-file@^1.0.1", "@npmcli/move-file@^1.1.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/name-from-folder@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" - integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== - -"@npmcli/node-gyp@^1.0.1", "@npmcli/node-gyp@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" - integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== - -"@npmcli/package-json@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-1.0.1.tgz#1ed42f00febe5293c3502fd0ef785647355f6e89" - integrity sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg== - dependencies: - json-parse-even-better-errors "^2.3.1" - -"@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" - integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== - dependencies: - infer-owner "^1.0.4" - -"@npmcli/run-script@^1.8.2": - version "1.8.6" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.6.tgz#18314802a6660b0d4baa4c3afe7f1ad39d8c28b7" - integrity sha512-e42bVZnC6VluBZBAFEr3YrdqSspG3bgilyg4nSLBJ7TRGNCzxHa92XAHxQBLYg0BmgwO4b2mf3h/l5EkEWRn3g== - dependencies: - "@npmcli/node-gyp" "^1.0.2" - "@npmcli/promise-spawn" "^1.3.2" - node-gyp "^7.1.0" - read-package-json-fast "^2.0.1" - -"@rollup/plugin-commonjs@^16.0.0": - version "16.0.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f" - integrity sha512-LuNyypCP3msCGVQJ7ki8PqYdpjfEkE/xtFa5DqlF+7IBD0JsfMZ87C58heSwIMint58sAUZbt3ITqOmdQv/dXw== - dependencies: - "@rollup/pluginutils" "^3.1.0" - commondir "^1.0.1" - estree-walker "^2.0.1" - glob "^7.1.6" - is-reference "^1.2.1" - magic-string "^0.25.7" - resolve "^1.17.0" - -"@rollup/plugin-inject@^4.0.0", "@rollup/plugin-inject@^4.0.2": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-4.0.4.tgz#fbeee66e9a700782c4f65c8b0edbafe58678fbc2" - integrity sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ== - dependencies: - "@rollup/pluginutils" "^3.1.0" - estree-walker "^2.0.1" - magic-string "^0.25.7" - -"@rollup/plugin-json@^4.0.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3" - integrity sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw== - dependencies: - "@rollup/pluginutils" "^3.0.8" - -"@rollup/plugin-node-resolve@^10.0.0": - version "10.0.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-10.0.0.tgz#44064a2b98df7530e66acf8941ff262fc9b4ead8" - integrity sha512-sNijGta8fqzwA1VwUEtTvWCx2E7qC70NMsDh4ZG13byAXYigBNZMxALhKUSycBks5gupJdq0lFrKumFrRZ8H3A== - dependencies: - "@rollup/pluginutils" "^3.1.0" - "@types/resolve" "1.17.1" - builtin-modules "^3.1.0" - deepmerge "^4.2.2" - is-module "^1.0.0" - resolve "^1.17.0" - -"@rollup/plugin-replace@^2.4.2": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a" - integrity sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg== - dependencies: - "@rollup/pluginutils" "^3.1.0" - magic-string "^0.25.7" - -"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" - integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== - dependencies: - "@types/estree" "0.0.39" - estree-walker "^1.0.1" - picomatch "^2.2.2" - -"@sinclair/typebox@^0.24.1": - version "0.24.51" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" - integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== - -"@sindresorhus/is@^4.0.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" - integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== - -"@sinonjs/commons@^1.7.0": - version "1.8.6" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" - integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== - dependencies: - type-detect "4.0.8" - -"@sinonjs/fake-timers@^9.1.2": - version "9.1.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" - integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== - dependencies: - "@sinonjs/commons" "^1.7.0" - -"@szmarczak/http-timer@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== - dependencies: - defer-to-connect "^2.0.0" - -"@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== - -"@types/babel__core@^7.1.14": - version "7.1.20" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" - integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - "@types/babel__generator" "*" - "@types/babel__template" "*" - "@types/babel__traverse" "*" - -"@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== - dependencies: - "@babel/types" "^7.0.0" - -"@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - -"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.18.3" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" - integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== - dependencies: - "@babel/types" "^7.3.0" - -"@types/cacheable-request@^6.0.1": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" - integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== - dependencies: - "@types/http-cache-semantics" "*" - "@types/keyv" "^3.1.4" - "@types/node" "*" - "@types/responselike" "^1.0.0" - -"@types/eslint-scope@^3.7.0": - version "3.7.4" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" - integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "8.4.10" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.10.tgz#19731b9685c19ed1552da7052b6f668ed7eb64bb" - integrity sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/estree@*": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" - integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== - -"@types/estree@0.0.39": - version "0.0.39" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - -"@types/estree@^0.0.45": - version "0.0.45" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884" - integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== - -"@types/graceful-fs@^4.1.3": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" - integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== - dependencies: - "@types/node" "*" - -"@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== - -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== - -"@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== - dependencies: - "@types/istanbul-lib-coverage" "*" - -"@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== - dependencies: - "@types/istanbul-lib-report" "*" - -"@types/json-schema@*", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== - -"@types/keyv@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== - dependencies: - "@types/node" "*" - -"@types/node@*": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== - -"@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - -"@types/prettier@^2.1.5": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" - integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== - -"@types/resolve@1.17.1": - version "1.17.1" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" - integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== - dependencies: - "@types/node" "*" - -"@types/responselike@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" - integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== - dependencies: - "@types/node" "*" - -"@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== - -"@types/webidl-conversions@*": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz#2b8e60e33906459219aa587e9d1a612ae994cfe7" - integrity sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog== - -"@types/whatwg-url@^8.2.1": - version "8.2.2" - resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-8.2.2.tgz#749d5b3873e845897ada99be4448041d4cc39e63" - integrity sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA== - dependencies: - "@types/node" "*" - "@types/webidl-conversions" "*" - -"@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== - -"@types/yargs@^17.0.8": - version "17.0.18" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.18.tgz#466225ab4fbabb9aa711f5b406796daf1374a5b7" - integrity sha512-eIJR1UER6ur3EpKM3d+2Pgd+ET+k6Kn9B4ZItX0oPjjVI5PrfaRjKyLT5UYendDpLuoiJMNJvovLQbEXqhsPaw== - dependencies: - "@types/yargs-parser" "*" - -"@ungap/promise-all-settled@1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" - integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== - -"@webassemblyjs/ast@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964" - integrity sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA== - dependencies: - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - -"@webassemblyjs/floating-point-hex-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" - integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== - -"@webassemblyjs/helper-api-error@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" - integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== - -"@webassemblyjs/helper-buffer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz#a1442d269c5feb23fcbc9ef759dac3547f29de00" - integrity sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA== - -"@webassemblyjs/helper-code-frame@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz#647f8892cd2043a82ac0c8c5e75c36f1d9159f27" - integrity sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA== - dependencies: - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/helper-fsm@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz#c05256b71244214671f4b08ec108ad63b70eddb8" - integrity sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw== - -"@webassemblyjs/helper-module-context@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz#25d8884b76839871a08a6c6f806c3979ef712f07" - integrity sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g== - dependencies: - "@webassemblyjs/ast" "1.9.0" - -"@webassemblyjs/helper-wasm-bytecode@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" - integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== - -"@webassemblyjs/helper-wasm-section@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz#5a4138d5a6292ba18b04c5ae49717e4167965346" - integrity sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - -"@webassemblyjs/ieee754@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz#15c7a0fbaae83fb26143bbacf6d6df1702ad39e4" - integrity sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.9.0.tgz#f19ca0b76a6dc55623a09cffa769e838fa1e1c95" - integrity sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" - integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== - -"@webassemblyjs/wasm-edit@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz#3fe6d79d3f0f922183aa86002c42dd256cfee9cf" - integrity sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/helper-wasm-section" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-opt" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - "@webassemblyjs/wast-printer" "1.9.0" - -"@webassemblyjs/wasm-gen@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz#50bc70ec68ded8e2763b01a1418bf43491a7a49c" - integrity sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wasm-opt@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz#2211181e5b31326443cc8112eb9f0b9028721a61" - integrity sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-buffer" "1.9.0" - "@webassemblyjs/wasm-gen" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - -"@webassemblyjs/wasm-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz#9d48e44826df4a6598294aa6c87469d642fff65e" - integrity sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-wasm-bytecode" "1.9.0" - "@webassemblyjs/ieee754" "1.9.0" - "@webassemblyjs/leb128" "1.9.0" - "@webassemblyjs/utf8" "1.9.0" - -"@webassemblyjs/wast-parser@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz#3031115d79ac5bd261556cecc3fa90a3ef451914" - integrity sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/floating-point-hex-parser" "1.9.0" - "@webassemblyjs/helper-api-error" "1.9.0" - "@webassemblyjs/helper-code-frame" "1.9.0" - "@webassemblyjs/helper-fsm" "1.9.0" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/wast-printer@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz#4935d54c85fef637b00ce9f52377451d00d47899" - integrity sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA== - dependencies: - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/wast-parser" "1.9.0" - "@xtuc/long" "4.2.2" - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -acorn-walk@^8.2.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn@^7.4.0: - version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== - -acorn@^8.5.0, acorn@^8.7.0: - version "8.8.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" - integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== - -address@^1.0.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/address/-/address-1.2.2.tgz#2b5248dac5485a6390532c6a517fda2e3faac89e" - integrity sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA== - -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.1.3: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" - integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== - dependencies: - debug "^4.1.0" - depd "^1.1.2" - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ajv-keywords@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" - integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== - -ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ansi-colors@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - -ansi-escapes@^4.2.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== - -ansi-regex@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" - integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== - -ansi-regex@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" - integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^3.2.0, ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" - integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== - -anymatch@^3.0.3, anymatch@~3.1.1, anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -are-we-there-yet@~1.1.2: - version "1.1.7" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" - integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" - integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== - dependencies: - safer-buffer "~2.1.0" - -assemblyscript@^0.19.10: - version "0.19.23" - resolved "https://registry.yarnpkg.com/assemblyscript/-/assemblyscript-0.19.23.tgz#16ece69f7f302161e2e736a0f6a474e6db72134c" - integrity sha512-fwOQNZVTMga5KRsfY80g7cpOl4PsFQczMwHzdtgoqLXaYhkhavufKb0sB0l3T1DUxpAufA0KNhlbpuuhZUwxMA== - dependencies: - binaryen "102.0.0-nightly.20211028" - long "^5.2.0" - source-map-support "^0.5.20" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== - -assert@^1.4.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== - -aws4@^1.8.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" - integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== - -axios-retry@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.2.0.tgz#eb48e72f90b177fde62329b2896aa8476cfb90ba" - integrity sha512-RK2cLMgIsAQBDhlIsJR5dOhODPigvel18XUv1dDXW+4k1FzebyfRk+C+orot6WPZOYFKSfhLwHPwVmTVOODQ5w== - dependencies: - is-retry-allowed "^1.1.0" - -axios@^0.21.1: - version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== - dependencies: - follow-redirects "^1.14.0" - -axios@^0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" - integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== - dependencies: - follow-redirects "^1.14.8" - -babel-jest@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.3.1.tgz#05c83e0d128cd48c453eea851482a38782249f44" - integrity sha512-aard+xnMoxgjwV70t0L6wkW/3HQQtV+O0PEimxKgzNqCJnbYmroPojdP2tqKSOAt8QAKV/uSZU8851M7B5+fcA== - dependencies: - "@jest/transform" "^29.3.1" - "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^29.2.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - slash "^3.0.0" - -babel-loader@^8.2.5: - version "8.3.0" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8" - integrity sha512-H8SvsMF+m9t15HNLMipppzkC+Y2Yq+v3SonZyU70RBL/h1gxPkH08Ot8pEE9Z4Kd+czyWJClmFS8qzIP9OZ04Q== - dependencies: - find-cache-dir "^3.3.1" - loader-utils "^2.0.0" - make-dir "^3.1.0" - schema-utils "^2.6.5" - -babel-plugin-istanbul@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" - integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@istanbuljs/load-nyc-config" "^1.0.0" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-instrument "^5.0.4" - test-exclude "^6.0.0" - -babel-plugin-jest-hoist@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.2.0.tgz#23ee99c37390a98cfddf3ef4a78674180d823094" - integrity sha512-TnspP2WNiR3GLfCsUNHqeXw0RoQ2f9U5hQ5L3XFpwuO8htQmSrhh8qsB6vi5Yi8+kuynN1yjDjQsPfkebmB6ZA== - dependencies: - "@babel/template" "^7.3.3" - "@babel/types" "^7.3.3" - "@types/babel__core" "^7.1.14" - "@types/babel__traverse" "^7.0.6" - -babel-plugin-polyfill-corejs2@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" - integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== - dependencies: - "@babel/compat-data" "^7.17.7" - "@babel/helper-define-polyfill-provider" "^0.3.3" - semver "^6.1.1" - -babel-plugin-polyfill-corejs3@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" - integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.3" - core-js-compat "^3.25.1" - -babel-plugin-polyfill-regenerator@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" - integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.3" - -babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== - dependencies: - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.8.3" - "@babel/plugin-syntax-import-meta" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - -babel-preset-jest@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.2.0.tgz#3048bea3a1af222e3505e4a767a974c95a7620dc" - integrity sha512-z9JmMJppMxNv8N7fNRHvhMg9cvIkMxQBXgFkane3yKVEvEOP+kB50lk8DFRvF9PGqbyXxlmebKWhuDORO8RgdA== - dependencies: - babel-plugin-jest-hoist "^29.2.0" - babel-preset-current-node-syntax "^1.0.0" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== - dependencies: - tweetnacl "^0.14.3" - -big-integer@^1.6.7: - version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - -bin-links@^2.2.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-2.3.0.tgz#1ff241c86d2c29b24ae52f49544db5d78a4eb967" - integrity sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA== - dependencies: - cmd-shim "^4.0.1" - mkdirp-infer-owner "^2.0.0" - npm-normalize-package-bin "^1.0.0" - read-cmd-shim "^2.0.0" - rimraf "^3.0.0" - write-file-atomic "^3.0.3" - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -binaryen@102.0.0-nightly.20211028: - version "102.0.0-nightly.20211028" - resolved "https://registry.yarnpkg.com/binaryen/-/binaryen-102.0.0-nightly.20211028.tgz#8f1efb0920afd34509e342e37f84313ec936afb2" - integrity sha512-GCJBVB5exbxzzvyt8MGDv/MeUjs6gkXDvf4xOIItRBptYl0Tz5sm1o/uG95YK0L0VeG5ajDu3hRtkBP2kzqC5w== - -boolbase@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== - -bplist-parser@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.1.1.tgz#d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6" - integrity sha512-2AEM0FXy8ZxVLBuqX0hqt1gDwcnz2zygEkQ6zaD5Wko/sB9paUNwlpawrFtKeHUAQUOzjVy9AO4oeonqIHKA9Q== - dependencies: - big-integer "^1.6.7" - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -browser-stdout@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" - integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== - -browserslist@^4.21.3, browserslist@^4.21.4: - version "4.21.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" - integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== - dependencies: - caniuse-lite "^1.0.30001400" - electron-to-chromium "^1.4.251" - node-releases "^2.0.6" - update-browserslist-db "^1.0.9" - -bser@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" - integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== - dependencies: - node-int64 "^0.4.0" - -bson@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.0.tgz#7874a60091ffc7a45c5dd2973b5cad7cded9718a" - integrity sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA== - dependencies: - buffer "^5.6.0" - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -bufferutil@^4.0.2: - version "4.0.7" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" - integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== - dependencies: - node-gyp-build "^4.3.0" - -builtin-modules@^3.1.0, builtin-modules@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -cacache@^15.0.0, cacache@^15.0.3, cacache@^15.0.5, cacache@^15.2.0: - version "15.3.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" - integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== - dependencies: - "@npmcli/fs" "^1.0.0" - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -cacheable-lookup@^5.0.3: - version "5.0.4" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" - integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== - -cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - -cachedir@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" - integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -camelcase@^5.0.0, camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -camelcase@^6.0.0, camelcase@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -caniuse-lite@^1.0.30001400: - version "1.0.30001441" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001441.tgz#987437b266260b640a23cd18fbddb509d7f69f3e" - integrity sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg== - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== - -chalk@^2.0.0, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -char-regex@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" - integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== - -cheerio-select@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-1.6.0.tgz#489f36604112c722afa147dedd0d4609c09e1696" - integrity sha512-eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g== - dependencies: - css-select "^4.3.0" - css-what "^6.0.1" - domelementtype "^2.2.0" - domhandler "^4.3.1" - domutils "^2.8.0" - -cheerio@1.0.0-rc.10: - version "1.0.0-rc.10" - resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.10.tgz#2ba3dcdfcc26e7956fc1f440e61d51c643379f3e" - integrity sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw== - dependencies: - cheerio-select "^1.5.0" - dom-serializer "^1.3.2" - domhandler "^4.2.0" - htmlparser2 "^6.1.0" - parse5 "^6.0.1" - parse5-htmlparser2-tree-adapter "^6.0.1" - tslib "^2.2.0" - -chokidar@3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" - integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.5.0" - optionalDependencies: - fsevents "~2.3.1" - -chokidar@^3.4.0: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== - -ci-info@^3.2.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f" - integrity sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w== - -cjs-module-lexer@^1.0.0, cjs-module-lexer@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" - integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cli-spinners@^2.5.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" - integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== - -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - -cmd-shim@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" - integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== - dependencies: - mkdirp-infer-owner "^2.0.0" - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== - -collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^4.0.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - -common-ancestor-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" - integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== - -component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - -compressible@^2.0.18: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -convert-source-map@^1.1.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - -convert-source-map@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" - integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== - -cookie@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== - -core-js-compat@^3.25.1: - version "3.27.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.27.1.tgz#b5695eb25c602d72b1d30cbfba3cb7e5e4cf0a67" - integrity sha512-Dg91JFeCDA17FKnneN7oCMz4BkQ4TcffkgHP4OWwp9yx3pi7ubqMDXXSacfNak1PQqjc95skyt+YBLHQJnkJwA== - dependencies: - browserslist "^4.21.4" - -core-js@^2.6.5: - version "2.6.12" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.12.tgz#d9333dfa7b065e347cc5682219d6f690859cc2ec" - integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - -core-js@^3.6.5: - version "3.27.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.27.1.tgz#23cc909b315a6bb4e418bf40a52758af2103ba46" - integrity sha512-GutwJLBChfGCpwwhbYoqfv03LAfmiz7e7D/BNxzeMxwQf10GRSzqiOjx7AmtEk+heiD/JWmBuyBPgFtx0Sg1ww== - -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== - -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cosmiconfig@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" - integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.10.0" - -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -css-select@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" - integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== - dependencies: - boolbase "^1.0.0" - css-what "^6.0.1" - domhandler "^4.3.1" - domutils "^2.8.0" - nth-check "^2.0.1" - -css-what@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" - integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== - -cssesc@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" - integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== - -dashdash@^1.12.0, dashdash@^1.5.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== - dependencies: - assert-plus "^1.0.0" - -debug@2.6.9, debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.3: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -debug@4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" - integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== - dependencies: - ms "2.1.2" - -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== - -decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -decamelize@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" - integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== - -decode-uri-component@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" - integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== - -decompress-response@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" - integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== - dependencies: - mimic-response "^3.1.0" - -dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - -deepmerge@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" - integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== - -default-browser-id@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-2.0.0.tgz#01ecce371a71e85f15a17177e7863047e73dbe7d" - integrity sha512-+LePblg9HDIx3CIla8BxfI/zYUFs8Kp67U5feqb7iTJcAxBOvcZ7ZNXKFsBDnGE5x0ap66o848VHE0fq7cgpPg== - dependencies: - bplist-parser "^0.1.0" - pify "^2.3.0" - untildify "^2.0.0" - -defer-to-connect@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -denque@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/denque/-/denque-2.1.0.tgz#e93e1a6569fb5e66f16a3c2a2964617d349d6ab1" - integrity sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw== - -depd@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -depd@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -detect-file@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== - -detect-newline@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" - integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== - -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - -detect-port@^1.3.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/detect-port/-/detect-port-1.5.1.tgz#451ca9b6eaf20451acb0799b8ab40dff7718727b" - integrity sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ== - dependencies: - address "^1.0.1" - debug "4" - -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - -diff-sequences@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.3.1.tgz#104b5b95fe725932421a9c6e5b4bef84c3f2249e" - integrity sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ== - -diff@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" - integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== - -dns-packet@^5.2.2: - version "5.4.0" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.4.0.tgz#1f88477cf9f27e78a213fb6d118ae38e759a879b" - integrity sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g== - dependencies: - "@leichtgewicht/ip-codec" "^2.0.1" - -dom-serializer@^1.0.1, dom-serializer@^1.3.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" - integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.2.0" - entities "^2.0.0" - -domelementtype@^2.0.1, domelementtype@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" - integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== - -domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" - integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== - dependencies: - domelementtype "^2.2.0" - -domutils@^2.5.2, domutils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" - integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== - dependencies: - dom-serializer "^1.0.1" - domelementtype "^2.2.0" - domhandler "^4.2.0" - -dotenv@^16.0.3: - version "16.0.3" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" - integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -ejs@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-1.0.0.tgz#c9c60a48a46ee452fb32a71c317b95e5aa1fcb3d" - integrity sha512-hK3tEqj0pP7UF5UHKNiRvm3zCaYk7UI4EBJ6wwN5O2qX1WdSovmqvUHEbNOJuglXzVkk/H0r7vgst3mVcQXrPA== - -electron-to-chromium@^1.4.251: - version "1.4.284" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" - integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== - -emittery@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" - integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emojis-list@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" - integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== - -encoding@^0.1.12: - version "0.1.13" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -enhanced-resolve@5.0.0-beta.10: - version "5.0.0-beta.10" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.0.0-beta.10.tgz#3907c034f8e59446dfa5a89a1fd73db29aa0f246" - integrity sha512-vEyxvHv3f8xl7i7QmTQ6BqKY32acSPQ4dTZo8WRMtcqTDYH9YyXnDxqXsQqBLvdRHUiwl9nVivESiM1RcrxbKQ== - dependencies: - graceful-fs "^4.2.0" - tapable "^2.0.0-beta.10" - -enhanced-resolve@^4.1.1: - version "4.5.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" - integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== - dependencies: - graceful-fs "^4.1.2" - memory-fs "^0.5.0" - tapable "^1.0.0" - -entities@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" - integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== - -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - -errno@^0.1.3: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -es-module-lexer@^0.3.24: - version "0.3.26" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.26.tgz#7b507044e97d5b03b01d4392c74ffeb9c177a83b" - integrity sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA== - -es-module-lexer@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.6.0.tgz#e72ab05b7412e62b9be37c37a09bdb6000d706f0" - integrity sha512-f8kcHX1ArhllUtb/wVSyvygoKCznIjnxhLxy7TCvIiMdT7fL4ZDTIKaadMe6eLvOXg6Wk02UeoFgUoZ2EKZZUA== - -esbuild@~0.9.0: - version "0.9.7" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.9.7.tgz#ea0d639cbe4b88ec25fbed4d6ff00c8d788ef70b" - integrity sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg== - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - -escape-string-regexp@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -esinstall@^1.0.0, esinstall@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/esinstall/-/esinstall-1.1.7.tgz#ceabeb4b8685bf48c805a503e292dfafe4e0cb22" - integrity sha512-irDsrIF7fZ5BCQEAV5gmH+4nsK6JhnkI9C9VloXdmzJLbM1EcshPw8Ap95UUGc4ZJdzGeOrjV+jgKjQ/Z7Q3pg== - dependencies: - "@rollup/plugin-commonjs" "^16.0.0" - "@rollup/plugin-inject" "^4.0.2" - "@rollup/plugin-json" "^4.0.0" - "@rollup/plugin-node-resolve" "^10.0.0" - "@rollup/plugin-replace" "^2.4.2" - builtin-modules "^3.2.0" - cjs-module-lexer "^1.2.1" - es-module-lexer "^0.6.0" - execa "^5.1.1" - is-valid-identifier "^2.0.2" - kleur "^4.1.1" - mkdirp "^1.0.3" - picomatch "^2.3.0" - resolve "^1.20.0" - rimraf "^3.0.0" - rollup "~2.37.1" - rollup-plugin-polyfill-node "^0.6.2" - slash "~3.0.0" - validate-npm-package-name "^3.0.0" - vm2 "^3.9.2" - -eslint-scope@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -esm@^3.2.25: - version "3.2.25" - resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" - integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -estree-walker@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" - integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== - -estree-walker@^2.0.1, estree-walker@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" - integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -etag@^1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== - -eventemitter3@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -execa@^5.0.0, execa@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== - dependencies: - homedir-polyfill "^1.0.1" - -expect@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.3.1.tgz#92877aad3f7deefc2e3f6430dd195b92295554a6" - integrity sha512-gGb1yTgU30Q0O/tQq+z30KBWv24ApkMgFUpvKBkyLUBL68Wv8dHdJxTBZFl/iT8K/bqDHvUYRH6IIN3rToopPA== - dependencies: - "@jest/expect-utils" "^29.3.1" - jest-get-type "^29.2.0" - jest-matcher-utils "^29.3.1" - jest-message-util "^29.3.1" - jest-util "^29.3.1" - -express-cli@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/express-cli/-/express-cli-0.0.1.tgz#4b8053cf46ea5b78a50ec8924a174f9c8efca52f" - integrity sha512-4HJ65kcpNJsj991kpfy3ts3bmGewIHoqIhhB67BCRdPYqT5ihu+FTFL3fIqOpbLRLNxH9wk90rZvWOSa+GZkoA== - -express-session@^1.17.1: - version "1.17.3" - resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.3.tgz#14b997a15ed43e5949cb1d073725675dd2777f36" - integrity sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw== - dependencies: - cookie "0.4.2" - cookie-signature "1.0.6" - debug "2.6.9" - depd "~2.0.0" - on-headers "~1.0.2" - parseurl "~1.3.3" - safe-buffer "5.2.1" - uid-safe "~2.1.5" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== - -extsprintf@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - -fast-deep-equal@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fb-watchman@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" - integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== - dependencies: - bser "2.1.1" - -fdir@^5.0.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/fdir/-/fdir-5.3.0.tgz#67c6a75edebb887906fb22fec224fa5c2b1ff1e8" - integrity sha512-BtE53+jaa7nNHT+gPdfU6cFAXOJUWDs2b5GFox8dtl6zLXmfNf/N6im69b9nqNNwDyl27mpIWX8qR7AafWzSdQ== - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -find-cache-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" - -find-cache-dir@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - -find-up@5.0.0, find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -findup-sync@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1" - integrity sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== - dependencies: - detect-file "^1.0.0" - is-glob "^4.0.0" - micromatch "^3.0.4" - resolve-dir "^1.0.1" - -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - -follow-redirects@^1.14.0, follow-redirects@^1.14.8: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== - -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== - -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== - dependencies: - map-cache "^0.2.2" - -fs-minipass@^2.0.0, fs-minipass@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-readdir-recursive@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" - integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@^2.3.2, fsevents@~2.3.1, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -fsevents@~2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" - integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg== - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -generic-names@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-4.0.0.tgz#0bd8a2fd23fe8ea16cbd0a279acd69c06933d9a3" - integrity sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A== - dependencies: - loader-utils "^3.2.0" - -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - -get-caller-file@^2.0.1, get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-package-type@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" - integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== - -get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== - dependencies: - assert-plus "^1.0.0" - -glob-parent@~5.1.0, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - -glob@7.1.6: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7, glob@^7.2.0: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - -global-modules@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" - integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== - dependencies: - global-prefix "^3.0.0" - -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - -global-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" - integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== - dependencies: - ini "^1.3.5" - kind-of "^6.0.2" - which "^1.3.1" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -got@^11.1.4: - version "11.8.6" - resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" - integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== - dependencies: - "@sindresorhus/is" "^4.0.0" - "@szmarczak/http-timer" "^4.0.5" - "@types/cacheable-request" "^6.0.1" - "@types/responselike" "^1.0.0" - cacheable-lookup "^5.0.3" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - http2-wrapper "^1.0.0-beta.5.2" - lowercase-keys "^2.0.0" - p-cancelable "^2.0.0" - responselike "^2.0.0" - -graceful-fs@^4.1.2, graceful-fs@^4.2.0, graceful-fs@^4.2.3, graceful-fs@^4.2.4, graceful-fs@^4.2.9: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -growl@1.10.5: - version "1.10.5" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" - integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== - -har-validator@~5.1.3: - version "5.1.5" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" - integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== - dependencies: - ajv "^6.12.3" - har-schema "^2.0.0" - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -he@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== - -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" - integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== - -htmlparser2@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7" - integrity sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.0.0" - domutils "^2.5.2" - entities "^2.0.0" - -http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== - -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== - dependencies: - "@tootallnate/once" "1" - agent-base "6" - debug "4" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -http2-wrapper@^1.0.0-beta.5.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" - integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.0.0" - -httpie@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/httpie/-/httpie-1.1.2.tgz#e76a6792c2172446ea6df8805977a6f57bc9615d" - integrity sha512-VQ82oXG95oY1fQw/XecHuvcFBA+lZQ9Vwj1RfLcO8a7HpDd4cc2ukwpJt+TUlFaLUAzZErylxWu6wclJ1rUhUQ== - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -icss-replace-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" - integrity sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg== - -icss-utils@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" - integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== - -ieee754@^1.1.13: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-walk@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" - integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== - dependencies: - minimatch "^3.0.4" - -import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha512-8nWq2nLTAwd02jTqJExUYFSD/fKq6VH9Y/oG2accc/kdI0V98Bag8d5a4gi3XHz73rDWa2PvTtvcWYquKqSENA== - -ini@^1.3.4, ini@^1.3.5: - version "1.3.8" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - -interpret@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== - -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A== - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-core-module@^2.2.0, is-core-module@^2.9.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" - integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== - dependencies: - has "^1.0.3" - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg== - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== - dependencies: - kind-of "^6.0.0" - -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-generator-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" - integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - -is-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" - integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== - dependencies: - kind-of "^3.0.2" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - -is-reference@^1.1.4, is-reference@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" - integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== - dependencies: - "@types/estree" "*" - -is-retry-allowed@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -is-typedarray@^1.0.0, is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - -is-valid-identifier@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-valid-identifier/-/is-valid-identifier-2.0.2.tgz#146d9dbf29821b8118580b039d2203aa4bd1da4b" - integrity sha512-mpS5EGqXOwzXtKAg6I44jIAqeBfntFLxpAth1rrKbxtKyI6LPktyDYpHBI+tHlduhhX/SF26mFXmxQu995QVqg== - dependencies: - assert "^1.4.1" - -is-windows@^1.0.1, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isbinaryfile@^4.0.6: - version "4.0.10" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" - integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== - -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== - -istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" - integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== - dependencies: - "@babel/core" "^7.12.3" - "@babel/parser" "^7.14.7" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.2.0" - semver "^6.3.0" - -istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== - dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" - supports-color "^7.1.0" - -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== - dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" - -istanbul-reports@^3.1.3: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== - dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" - -jest-changed-files@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.2.0.tgz#b6598daa9803ea6a4dce7968e20ab380ddbee289" - integrity sha512-qPVmLLyBmvF5HJrY7krDisx6Voi8DmlV3GZYX0aFNbaQsZeoz1hfxcCMbqDGuQCxU1dJy9eYc2xscE8QrCCYaA== - dependencies: - execa "^5.0.0" - p-limit "^3.1.0" - -jest-circus@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.3.1.tgz#177d07c5c0beae8ef2937a67de68f1e17bbf1b4a" - integrity sha512-wpr26sEvwb3qQQbdlmei+gzp6yoSSoSL6GsLPxnuayZSMrSd5Ka7IjAvatpIernBvT2+Ic6RLTg+jSebScmasg== - dependencies: - "@jest/environment" "^29.3.1" - "@jest/expect" "^29.3.1" - "@jest/test-result" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - dedent "^0.7.0" - is-generator-fn "^2.0.0" - jest-each "^29.3.1" - jest-matcher-utils "^29.3.1" - jest-message-util "^29.3.1" - jest-runtime "^29.3.1" - jest-snapshot "^29.3.1" - jest-util "^29.3.1" - p-limit "^3.1.0" - pretty-format "^29.3.1" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-cli@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.3.1.tgz#e89dff427db3b1df50cea9a393ebd8640790416d" - integrity sha512-TO/ewvwyvPOiBBuWZ0gm04z3WWP8TIK8acgPzE4IxgsLKQgb377NYGrQLc3Wl/7ndWzIH2CDNNsUjGxwLL43VQ== - dependencies: - "@jest/core" "^29.3.1" - "@jest/test-result" "^29.3.1" - "@jest/types" "^29.3.1" - chalk "^4.0.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - import-local "^3.0.2" - jest-config "^29.3.1" - jest-util "^29.3.1" - jest-validate "^29.3.1" - prompts "^2.0.1" - yargs "^17.3.1" - -jest-config@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.3.1.tgz#0bc3dcb0959ff8662957f1259947aedaefb7f3c6" - integrity sha512-y0tFHdj2WnTEhxmGUK1T7fgLen7YK4RtfvpLFBXfQkh2eMJAQq24Vx9472lvn5wg0MAO6B+iPfJfzdR9hJYalg== - dependencies: - "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^29.3.1" - "@jest/types" "^29.3.1" - babel-jest "^29.3.1" - chalk "^4.0.0" - ci-info "^3.2.0" - deepmerge "^4.2.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-circus "^29.3.1" - jest-environment-node "^29.3.1" - jest-get-type "^29.2.0" - jest-regex-util "^29.2.0" - jest-resolve "^29.3.1" - jest-runner "^29.3.1" - jest-util "^29.3.1" - jest-validate "^29.3.1" - micromatch "^4.0.4" - parse-json "^5.2.0" - pretty-format "^29.3.1" - slash "^3.0.0" - strip-json-comments "^3.1.1" - -jest-diff@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.3.1.tgz#d8215b72fed8f1e647aed2cae6c752a89e757527" - integrity sha512-vU8vyiO7568tmin2lA3r2DP8oRvzhvRcD4DjpXc6uGveQodyk7CKLhQlCSiwgx3g0pFaE88/KLZ0yaTWMc4Uiw== - dependencies: - chalk "^4.0.0" - diff-sequences "^29.3.1" - jest-get-type "^29.2.0" - pretty-format "^29.3.1" - -jest-docblock@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.2.0.tgz#307203e20b637d97cee04809efc1d43afc641e82" - integrity sha512-bkxUsxTgWQGbXV5IENmfiIuqZhJcyvF7tU4zJ/7ioTutdz4ToB5Yx6JOFBpgI+TphRY4lhOyCWGNH/QFQh5T6A== - dependencies: - detect-newline "^3.0.0" - -jest-each@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.3.1.tgz#bc375c8734f1bb96625d83d1ca03ef508379e132" - integrity sha512-qrZH7PmFB9rEzCSl00BWjZYuS1BSOH8lLuC0azQE9lQrAx3PWGKHTDudQiOSwIy5dGAJh7KA0ScYlCP7JxvFYA== - dependencies: - "@jest/types" "^29.3.1" - chalk "^4.0.0" - jest-get-type "^29.2.0" - jest-util "^29.3.1" - pretty-format "^29.3.1" - -jest-environment-node@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.3.1.tgz#5023b32472b3fba91db5c799a0d5624ad4803e74" - integrity sha512-xm2THL18Xf5sIHoU7OThBPtuH6Lerd+Y1NLYiZJlkE3hbE+7N7r8uvHIl/FkZ5ymKXJe/11SQuf3fv4v6rUMag== - dependencies: - "@jest/environment" "^29.3.1" - "@jest/fake-timers" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - jest-mock "^29.3.1" - jest-util "^29.3.1" - -jest-get-type@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.2.0.tgz#726646f927ef61d583a3b3adb1ab13f3a5036408" - integrity sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA== - -jest-haste-map@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.3.1.tgz#af83b4347f1dae5ee8c2fb57368dc0bb3e5af843" - integrity sha512-/FFtvoG1xjbbPXQLFef+WSU4yrc0fc0Dds6aRPBojUid7qlPqZvxdUBA03HW0fnVHXVCnCdkuoghYItKNzc/0A== - dependencies: - "@jest/types" "^29.3.1" - "@types/graceful-fs" "^4.1.3" - "@types/node" "*" - anymatch "^3.0.3" - fb-watchman "^2.0.0" - graceful-fs "^4.2.9" - jest-regex-util "^29.2.0" - jest-util "^29.3.1" - jest-worker "^29.3.1" - micromatch "^4.0.4" - walker "^1.0.8" - optionalDependencies: - fsevents "^2.3.2" - -jest-leak-detector@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.3.1.tgz#95336d020170671db0ee166b75cd8ef647265518" - integrity sha512-3DA/VVXj4zFOPagGkuqHnSQf1GZBmmlagpguxEERO6Pla2g84Q1MaVIB3YMxgUaFIaYag8ZnTyQgiZ35YEqAQA== - dependencies: - jest-get-type "^29.2.0" - pretty-format "^29.3.1" - -jest-matcher-utils@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.3.1.tgz#6e7f53512f80e817dfa148672bd2d5d04914a572" - integrity sha512-fkRMZUAScup3txIKfMe3AIZZmPEjWEdsPJFK3AIy5qRohWqQFg1qrmKfYXR9qEkNc7OdAu2N4KPHibEmy4HPeQ== - dependencies: - chalk "^4.0.0" - jest-diff "^29.3.1" - jest-get-type "^29.2.0" - pretty-format "^29.3.1" - -jest-message-util@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.3.1.tgz#37bc5c468dfe5120712053dd03faf0f053bd6adb" - integrity sha512-lMJTbgNcDm5z+6KDxWtqOFWlGQxD6XaYwBqHR8kmpkP+WWWG90I35kdtQHY67Ay5CSuydkTBbJG+tH9JShFCyA== - dependencies: - "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.3.1" - "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^29.3.1" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-mock@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.3.1.tgz#60287d92e5010979d01f218c6b215b688e0f313e" - integrity sha512-H8/qFDtDVMFvFP4X8NuOT3XRDzOUTz+FeACjufHzsOIBAxivLqkB1PoLCaJx9iPPQ8dZThHPp/G3WRWyMgA3JA== - dependencies: - "@jest/types" "^29.3.1" - "@types/node" "*" - jest-util "^29.3.1" - -jest-pnp-resolver@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" - integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== - -jest-regex-util@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.2.0.tgz#82ef3b587e8c303357728d0322d48bbfd2971f7b" - integrity sha512-6yXn0kg2JXzH30cr2NlThF+70iuO/3irbaB4mh5WyqNIvLLP+B6sFdluO1/1RJmslyh/f9osnefECflHvTbwVA== - -jest-resolve-dependencies@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.3.1.tgz#a6a329708a128e68d67c49f38678a4a4a914c3bf" - integrity sha512-Vk0cYq0byRw2WluNmNWGqPeRnZ3p3hHmjJMp2dyyZeYIfiBskwq4rpiuGFR6QGAdbj58WC7HN4hQHjf2mpvrLA== - dependencies: - jest-regex-util "^29.2.0" - jest-snapshot "^29.3.1" - -jest-resolve@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.3.1.tgz#9a4b6b65387a3141e4a40815535c7f196f1a68a7" - integrity sha512-amXJgH/Ng712w3Uz5gqzFBBjxV8WFLSmNjoreBGMqxgCz5cH7swmBZzgBaCIOsvb0NbpJ0vgaSFdJqMdT+rADw== - dependencies: - chalk "^4.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.3.1" - jest-pnp-resolver "^1.2.2" - jest-util "^29.3.1" - jest-validate "^29.3.1" - resolve "^1.20.0" - resolve.exports "^1.1.0" - slash "^3.0.0" - -jest-runner@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.3.1.tgz#a92a879a47dd096fea46bb1517b0a99418ee9e2d" - integrity sha512-oFvcwRNrKMtE6u9+AQPMATxFcTySyKfLhvso7Sdk/rNpbhg4g2GAGCopiInk1OP4q6gz3n6MajW4+fnHWlU3bA== - dependencies: - "@jest/console" "^29.3.1" - "@jest/environment" "^29.3.1" - "@jest/test-result" "^29.3.1" - "@jest/transform" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - chalk "^4.0.0" - emittery "^0.13.1" - graceful-fs "^4.2.9" - jest-docblock "^29.2.0" - jest-environment-node "^29.3.1" - jest-haste-map "^29.3.1" - jest-leak-detector "^29.3.1" - jest-message-util "^29.3.1" - jest-resolve "^29.3.1" - jest-runtime "^29.3.1" - jest-util "^29.3.1" - jest-watcher "^29.3.1" - jest-worker "^29.3.1" - p-limit "^3.1.0" - source-map-support "0.5.13" - -jest-runtime@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.3.1.tgz#21efccb1a66911d6d8591276a6182f520b86737a" - integrity sha512-jLzkIxIqXwBEOZx7wx9OO9sxoZmgT2NhmQKzHQm1xwR1kNW/dn0OjxR424VwHHf1SPN6Qwlb5pp1oGCeFTQ62A== - dependencies: - "@jest/environment" "^29.3.1" - "@jest/fake-timers" "^29.3.1" - "@jest/globals" "^29.3.1" - "@jest/source-map" "^29.2.0" - "@jest/test-result" "^29.3.1" - "@jest/transform" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - chalk "^4.0.0" - cjs-module-lexer "^1.0.0" - collect-v8-coverage "^1.0.0" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^29.3.1" - jest-message-util "^29.3.1" - jest-mock "^29.3.1" - jest-regex-util "^29.2.0" - jest-resolve "^29.3.1" - jest-snapshot "^29.3.1" - jest-util "^29.3.1" - slash "^3.0.0" - strip-bom "^4.0.0" - -jest-snapshot@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.3.1.tgz#17bcef71a453adc059a18a32ccbd594b8cc4e45e" - integrity sha512-+3JOc+s28upYLI2OJM4PWRGK9AgpsMs/ekNryUV0yMBClT9B1DF2u2qay8YxcQd338PPYSFNb0lsar1B49sLDA== - dependencies: - "@babel/core" "^7.11.6" - "@babel/generator" "^7.7.2" - "@babel/plugin-syntax-jsx" "^7.7.2" - "@babel/plugin-syntax-typescript" "^7.7.2" - "@babel/traverse" "^7.7.2" - "@babel/types" "^7.3.3" - "@jest/expect-utils" "^29.3.1" - "@jest/transform" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/babel__traverse" "^7.0.6" - "@types/prettier" "^2.1.5" - babel-preset-current-node-syntax "^1.0.0" - chalk "^4.0.0" - expect "^29.3.1" - graceful-fs "^4.2.9" - jest-diff "^29.3.1" - jest-get-type "^29.2.0" - jest-haste-map "^29.3.1" - jest-matcher-utils "^29.3.1" - jest-message-util "^29.3.1" - jest-util "^29.3.1" - natural-compare "^1.4.0" - pretty-format "^29.3.1" - semver "^7.3.5" - -jest-util@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.3.1.tgz#1dda51e378bbcb7e3bc9d8ab651445591ed373e1" - integrity sha512-7YOVZaiX7RJLv76ZfHt4nbNEzzTRiMW/IiOG7ZOKmTXmoGBxUDefgMAxQubu6WPVqP5zSzAdZG0FfLcC7HOIFQ== - dependencies: - "@jest/types" "^29.3.1" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" - -jest-validate@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.3.1.tgz#d56fefaa2e7d1fde3ecdc973c7f7f8f25eea704a" - integrity sha512-N9Lr3oYR2Mpzuelp1F8negJR3YE+L1ebk1rYA5qYo9TTY3f9OWdptLoNSPP9itOCBIRBqjt/S5XHlzYglLN67g== - dependencies: - "@jest/types" "^29.3.1" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^29.2.0" - leven "^3.1.0" - pretty-format "^29.3.1" - -jest-watcher@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.3.1.tgz#3341547e14fe3c0f79f9c3a4c62dbc3fc977fd4a" - integrity sha512-RspXG2BQFDsZSRKGCT/NiNa8RkQ1iKAjrO0//soTMWx/QUt+OcxMqMSBxz23PYGqUuWm2+m2mNNsmj0eIoOaFg== - dependencies: - "@jest/test-result" "^29.3.1" - "@jest/types" "^29.3.1" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - emittery "^0.13.1" - jest-util "^29.3.1" - string-length "^4.0.1" - -jest-worker@^26.5.0: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^7.0.0" - -jest-worker@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.3.1.tgz#e9462161017a9bb176380d721cab022661da3d6b" - integrity sha512-lY4AnnmsEWeiXirAIA0c9SDPbuCBq8IYuDVL8PMm0MZ2PEs2yPvRA/J64QBXuZp7CYKrDM/rmNrc9/i3KJQncw== - dependencies: - "@types/node" "*" - jest-util "^29.3.1" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jest@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-29.3.1.tgz#c130c0d551ae6b5459b8963747fed392ddbde122" - integrity sha512-6iWfL5DTT0Np6UYs/y5Niu7WIfNv/wRTtN5RSXt2DIEft3dx3zPuw/3WJQBCJfmEzvDiEKwoqMbGD9n49+qLSA== - dependencies: - "@jest/core" "^29.3.1" - "@jest/types" "^29.3.1" - import-local "^3.0.2" - jest-cli "^29.3.1" - -js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f" - integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q== - dependencies: - argparse "^2.0.1" - -js-yaml@^3.13.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - -json-stringify-nice@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" - integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -json5@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" - integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== - dependencies: - minimist "^1.2.0" - -json5@^2.1.2, json5@^2.2.1: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - -jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -jsonschema@~1.2.5: - version "1.2.11" - resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.11.tgz#7a799cc2aa5a285d893203e8dc81f5becbfb0e91" - integrity sha512-XNZHs3N1IOa3lPKm//npxMhOdaoPw+MvEV0NIgxcER83GTJcG13rehtWmpBCfEt8DrtYwIkMTs8bdXoYs4fvnQ== - -jsprim@^1.2.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" - integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.4.0" - verror "1.10.0" - -just-diff-apply@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-3.1.2.tgz#710d8cda00c65dc4e692df50dbe9bac5581c2193" - integrity sha512-TCa7ZdxCeq6q3Rgms2JCRHTCfWAETPZ8SzYUbkYF6KR3I03sN29DaOIC+xyWboIcMvjAsD5iG2u/RWzHD8XpgQ== - -just-diff@^3.0.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-3.1.1.tgz#d50c597c6fd4776495308c63bdee1b6839082647" - integrity sha512-sdMWKjRq8qWZEjDcVA6llnUT8RDEBIfOiGpYFPYa9u+2c39JCsejktSP7mj5eRid5EIvTzIpQ2kDOCw1Nq9BjQ== - -kafkajs@^1.14.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/kafkajs/-/kafkajs-1.16.0.tgz#bfcc3ae2b69265ca8435b53a01ee9e8787b9fee5" - integrity sha512-+Rcfu2hyQ/jv5skqRY8xA7Ra+mmRkDAzCaLDYbkGtgsNKpzxPWiLbk8ub0dgr4EbWrN1Zb4BCXHUkD6+zYfdWg== - -keyv@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" - integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== - dependencies: - json-buffer "3.0.1" - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -kleur@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" - integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== - -kleur@^4.1.0, kleur@^4.1.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" - integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== - -leven@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" - integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -loader-runner@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== - -loader-utils@^1.1.0, loader-utils@^1.4.0: - version "1.4.2" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" - integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^1.0.1" - -loader-utils@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" - integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^2.1.2" - -loader-utils@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-3.2.1.tgz#4fb104b599daafd82ef3e1a41fb9265f87e1f576" - integrity sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw== - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== - -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== - -lodash.flatmap@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.flatmap/-/lodash.flatmap-4.5.0.tgz#ef8cbf408f6e48268663345305c6acc0b778702e" - integrity sha512-/OcpcAGWlrZyoHGeHh3cAoa6nGdX6QYtmzNP84Jqol6UEQQ2gIaU3H+0eICcjcKGl0/XF8LWOujNn9lffsnaOg== - -lodash.flatten@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" - integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== - -log-symbols@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" - integrity sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA== - dependencies: - chalk "^4.0.0" - -long@^5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" - integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== - -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -magic-string@^0.25.7: - version "0.25.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== - dependencies: - sourcemap-codec "^1.4.8" - -make-dir@^2.0.0, make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== - dependencies: - semver "^6.0.0" - -make-fetch-happen@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" - integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== - dependencies: - agentkeepalive "^4.1.3" - cacache "^15.2.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.2" - promise-retry "^2.0.1" - socks-proxy-agent "^6.0.0" - ssri "^8.0.0" - -makeerror@1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" - integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== - dependencies: - tmpl "1.0.5" - -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== - dependencies: - object-visit "^1.0.0" - -memory-fs@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" - integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== - dependencies: - errno "^0.1.3" - readable-stream "^2.0.1" - -memory-pager@^1.0.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" - integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -meriyah@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/meriyah/-/meriyah-3.1.6.tgz#56c9c0edb63f9640c7609a39a413c60b038e4451" - integrity sha512-JDOSi6DIItDc33U5N52UdV6P8v+gn+fqZKfbAfHzdWApRQyQWdcvxPvAr9t01bI2rBxGvSrKRQSCg3SkZC1qeg== - -micromatch@^3.0.4: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12, mime-types@^2.1.26, mime-types@^2.1.27, mime-types@~2.1.19: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -mimic-response@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -mimic-response@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" - integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== - -minimatch@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimatch@^3.0.4, minimatch@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimist@^1.2.0: - version "1.2.7" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" - integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.4.1.tgz#d75e0091daac1b0ffd7e9d41629faff7d0c1f1b6" - integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== - dependencies: - minipass "^3.1.0" - minipass-sized "^1.0.3" - minizlib "^2.0.0" - optionalDependencies: - encoding "^0.1.12" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-json-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" - integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== - dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" - -minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: - version "3.3.6" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" - integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== - dependencies: - yallist "^4.0.0" - -minipass@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.0.tgz#7cebb0f9fa7d56f0c5b17853cbe28838a8dbbd3b" - integrity sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw== - dependencies: - yallist "^4.0.0" - -minizlib@^2.0.0, minizlib@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== - dependencies: - chownr "^2.0.0" - infer-owner "^1.0.4" - mkdirp "^1.0.3" - -mkdirp@^1.0.3, mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -mocha@^8.2.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.4.0.tgz#677be88bf15980a3cae03a73e10a0fc3997f0cff" - integrity sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ== - dependencies: - "@ungap/promise-all-settled" "1.1.2" - ansi-colors "4.1.1" - browser-stdout "1.3.1" - chokidar "3.5.1" - debug "4.3.1" - diff "5.0.0" - escape-string-regexp "4.0.0" - find-up "5.0.0" - glob "7.1.6" - growl "1.10.5" - he "1.2.0" - js-yaml "4.0.0" - log-symbols "4.0.0" - minimatch "3.0.4" - ms "2.1.3" - nanoid "3.1.20" - serialize-javascript "5.0.1" - strip-json-comments "3.1.1" - supports-color "8.1.1" - which "2.0.2" - wide-align "1.1.3" - workerpool "6.1.0" - yargs "16.2.0" - yargs-parser "20.2.4" - yargs-unparser "2.0.0" - -mongodb-connection-string-url@^2.5.3: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz#57901bf352372abdde812c81be47b75c6b2ec5cf" - integrity sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ== - dependencies: - "@types/whatwg-url" "^8.2.1" - whatwg-url "^11.0.0" - -mongodb@4.9.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.9.0.tgz#58618439b721f2d6f7d38bb10a4612e29d7f1c8a" - integrity sha512-tJJEFJz7OQTQPZeVHZJIeSOjMRqc5eSyXTt86vSQENEErpkiG7279tM/GT5AVZ7TgXNh9HQxoa2ZkbrANz5GQw== - dependencies: - bson "^4.7.0" - denque "^2.1.0" - mongodb-connection-string-url "^2.5.3" - socks "^2.7.0" - optionalDependencies: - saslprep "^1.0.3" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -ms@2.1.3, ms@^2.0.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multicast-dns@^7.2.5: - version "7.2.5" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" - integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== - dependencies: - dns-packet "^5.2.2" - thunky "^1.0.2" - -nanoid@3.1.20: - version "3.1.20" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788" - integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== - -nanoid@^3.1.12, nanoid@^3.3.4: - version "3.3.4" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" - integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -negotiator@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -node-cmd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/node-cmd/-/node-cmd-3.0.0.tgz#38fff70a4aaa4f659d203eb57862737018e24f6f" - integrity sha512-SBvtm39iEkhEEDbUowR0O2YVaqpbD2nRvQ3fxXP/Tn1FgRpZAaUb8yKeEtFulBIv+xTHDodOKkj4EXIBANj+AQ== - -node-gyp-build@^4.3.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" - integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== - -node-gyp@^7.1.0: - version "7.1.2" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" - integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== - dependencies: - env-paths "^2.2.0" - glob "^7.1.4" - graceful-fs "^4.2.3" - nopt "^5.0.0" - npmlog "^4.1.2" - request "^2.88.2" - rimraf "^3.0.2" - semver "^7.3.2" - tar "^6.0.2" - which "^2.0.2" - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== - -node-releases@^2.0.6: - version "2.0.8" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" - integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== - -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== - dependencies: - abbrev "1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - -npm-bundled@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-install-checks@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" - integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: - version "8.1.5" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" - integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== - dependencies: - hosted-git-info "^4.0.1" - semver "^7.3.4" - validate-npm-package-name "^3.0.0" - -npm-packlist@^2.1.4: - version "2.2.2" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8" - integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== - dependencies: - glob "^7.1.6" - ignore-walk "^3.0.3" - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.0, npm-pick-manifest@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" - integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== - dependencies: - npm-install-checks "^4.0.0" - npm-normalize-package-bin "^1.0.1" - npm-package-arg "^8.1.2" - semver "^7.3.4" - -npm-registry-fetch@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz#68c1bb810c46542760d62a6a965f85a702d43a76" - integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== - dependencies: - make-fetch-happen "^9.0.1" - minipass "^3.1.3" - minipass-fetch "^1.3.0" - minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -nth-check@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" - integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== - dependencies: - boolbase "^1.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== - dependencies: - isobject "^3.0.0" - -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== - dependencies: - isobject "^3.0.1" - -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -open@^8.2.1: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== - -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - -p-limit@^2.0.0, p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - -p-limit@^3.0.2, p-limit@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-queue@^6.2.1: - version "6.6.2" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== - dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" - -p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -pacote@^11.1.11, pacote@^11.3.4, pacote@^11.3.5: - version "11.3.5" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.3.5.tgz#73cf1fc3772b533f575e39efa96c50be8c3dc9d2" - integrity sha512-fT375Yczn4zi+6Hkk2TBe1x1sP8FgFsEIZ2/iWaXY2r/NkhDJfxbcn5paz1+RTFCyNf+dPnaoBDJoAxXSU8Bkg== - dependencies: - "@npmcli/git" "^2.1.0" - "@npmcli/installed-package-contents" "^1.0.6" - "@npmcli/promise-spawn" "^1.2.0" - "@npmcli/run-script" "^1.8.2" - cacache "^15.0.5" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.3" - mkdirp "^1.0.3" - npm-package-arg "^8.0.1" - npm-packlist "^2.1.4" - npm-pick-manifest "^6.0.0" - npm-registry-fetch "^11.0.0" - promise-retry "^2.0.1" - read-package-json-fast "^2.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.1.0" - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - -parse-conflict-json@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-1.1.1.tgz#54ec175bde0f2d70abf6be79e0e042290b86701b" - integrity sha512-4gySviBiW5TRl7XHvp1agcS7SOe0KZOjC//71dzZVWJrY9hCrgtvl5v3SyIxCZ4fZF47TxD9nfzmxcx76xmbUw== - dependencies: - json-parse-even-better-errors "^2.3.0" - just-diff "^3.0.1" - just-diff-apply "^3.0.0" - -parse-json@^5.0.0, parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== - -parse5-htmlparser2-tree-adapter@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6" - integrity sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA== - dependencies: - parse5 "^6.0.1" - -parse5@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" - integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== - -parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== - -periscopic@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/periscopic/-/periscopic-2.0.3.tgz#326e16c46068172ca9a9d20af1a684cd0796fa99" - integrity sha512-FuCZe61mWxQOJAQFEfmt9FjzebRlcpFz8sFPbyaCKtdusPkMEbA9ey0eARnRav5zAhmXznhaQkKGFAPn7X9NUw== - dependencies: - estree-walker "^2.0.2" - is-reference "^1.1.4" - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.0, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pirates@^4.0.4, pirates@^4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== - -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== - dependencies: - find-up "^3.0.0" - -pkg-dir@^4.1.0, pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -pnp@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/pnp/-/pnp-0.0.3.tgz#c2cb6981070427c5e22c7acfb5b56b0b2cfeb0ab" - integrity sha512-OQHNwRwXRUfpTPULPeBl9B1tAQIWZCOS4hDgSUlvuyVb6ZYromTkN5fxMtrD3seBIQOsc6iKTVUTpmAnaztT/g== - dependencies: - dashdash "^1.5.0" - ejs "^1.0.0" - url "^0.10.1" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== - -postcss-modules-extract-imports@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" - integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== - -postcss-modules-local-by-default@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz#ebbb54fae1598eecfdf691a02b3ff3b390a5a51c" - integrity sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ== - dependencies: - icss-utils "^5.0.0" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.1.0" - -postcss-modules-scope@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" - integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg== - dependencies: - postcss-selector-parser "^6.0.4" - -postcss-modules-values@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" - integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== - dependencies: - icss-utils "^5.0.0" - -postcss-modules@^4.0.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-4.3.1.tgz#517c06c09eab07d133ae0effca2c510abba18048" - integrity sha512-ItUhSUxBBdNamkT3KzIZwYNNRFKmkJrofvC2nWab3CPKhYBQ1f27XXh1PAPE27Psx58jeelPsxWB/+og+KEH0Q== - dependencies: - generic-names "^4.0.0" - icss-replace-symbols "^1.1.0" - lodash.camelcase "^4.3.0" - postcss-modules-extract-imports "^3.0.0" - postcss-modules-local-by-default "^4.0.0" - postcss-modules-scope "^3.0.0" - postcss-modules-values "^4.0.0" - string-hash "^1.1.1" - -postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: - version "6.0.11" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz#2e41dc39b7ad74046e1615185185cd0b17d0c8dc" - integrity sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== - dependencies: - cssesc "^3.0.0" - util-deprecate "^1.0.2" - -postcss-value-parser@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" - integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== - -postcss@^8.3.5: - version "8.4.20" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.20.tgz#64c52f509644cecad8567e949f4081d98349dc56" - integrity sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g== - dependencies: - nanoid "^3.3.4" - picocolors "^1.0.0" - source-map-js "^1.0.2" - -pretty-format@^29.3.1: - version "29.3.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.3.1.tgz#1841cac822b02b4da8971dacb03e8a871b4722da" - integrity sha512-FyLnmb1cYJV8biEIiRyzRFvs2lry7PPIvOqKVe1GCUEYg4YGmlx1qG9EJNMxArYm7piII4qb8UV1Pncq5dxmcg== - dependencies: - "@jest/schemas" "^29.0.0" - ansi-styles "^5.0.0" - react-is "^18.0.0" - -proc-log@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-1.0.0.tgz#0d927307401f69ed79341e83a0b2c9a13395eb77" - integrity sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg== - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -promise-all-reject-late@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" - integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== - -promise-call-limit@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" - integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -prompts@^2.0.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" - integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== - dependencies: - kleur "^3.0.3" - sisteransi "^1.0.5" - -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== - -psl@^1.1.28: - version "1.9.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" - integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== - -punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -py-loader@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/py-loader/-/py-loader-0.3.1.tgz#8d871518354edf3f4a102333fa6bc92fd8e0085c" - integrity sha512-C9gYo9Yiinpw/Qm8G0Uu43KRh0wk1uLZ/YO4OLfar+6oW1lvRx6adf8tqtqOY+gZmeXGAKLu+AoRn+FKaBxxrA== - dependencies: - loader-utils "^1.1.0" - node-cmd "^3.0.0" - -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -query-params-mongo@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/query-params-mongo/-/query-params-mongo-1.1.3.tgz#34276e324622bbccc47af60d04edd34b500ba645" - integrity sha512-FksHM/v8NVDlCVUxqhxMas2rnXPiyw+yLegM+G9gOUMMTPDtWRCydUy1iHm5NFsobHMsyZBkkpBldhGEJ+7Tsg== - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== - -quick-lru@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" - integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== - -random-bytes@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b" - integrity sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ== - -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -react-is@^18.0.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - -read-cmd-shim@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9" - integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== - -read-package-json-fast@^2.0.1, read-package-json-fast@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" - integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" - -readable-stream@^2.0.1, readable-stream@^2.0.6: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readdir-scoped-modules@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - -readdirp@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" - integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== - dependencies: - picomatch "^2.2.1" - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -regenerate-unicode-properties@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" - integrity sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ== - dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== - -regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4: - version "0.13.11" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" - integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== - -regenerator-transform@^0.15.1: - version "0.15.1" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" - integrity sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg== - dependencies: - "@babel/runtime" "^7.8.4" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexpu-core@^5.2.1: - version "5.2.2" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.2.2.tgz#3e4e5d12103b64748711c3aad69934d7718e75fc" - integrity sha512-T0+1Zp2wjF/juXMrMxHxidqGYn8U4R+zleSJhX9tQ1PUsS8a9UtYfbsF9LdiVgNX3kiX8RNaKM42nfSgvFJjmw== - dependencies: - regenerate "^1.4.2" - regenerate-unicode-properties "^10.1.0" - regjsgen "^0.7.1" - regjsparser "^0.9.1" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.1.0" - -regjsgen@^0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" - integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== - -regjsparser@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" - integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== - dependencies: - jsesc "~0.5.0" - -repeat-element@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" - integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== - -request@^2.88.2: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -resolve-alpn@^1.0.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" - integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== - -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg== - dependencies: - resolve-from "^3.0.0" - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw== - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== - -resolve.exports@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" - integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== - -resolve@^1.14.2, resolve@^1.17.0, resolve@^1.20.0: - version "1.22.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" - integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== - dependencies: - is-core-module "^2.9.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -responselike@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" - integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== - dependencies: - lowercase-keys "^2.0.0" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rollup-plugin-polyfill-node@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.6.2.tgz#dea62e00f5cc2c174e4b4654b5daab79b1a92fc3" - integrity sha512-gMCVuR0zsKq0jdBn8pSXN1Ejsc458k2QsFFvQdbHoM0Pot5hEnck+pBP/FDwFS6uAi77pD3rDTytsaUStsOMlA== - dependencies: - "@rollup/plugin-inject" "^4.0.0" - -rollup@^2.23.0: - version "2.79.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" - integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== - optionalDependencies: - fsevents "~2.3.2" - -rollup@~2.37.1: - version "2.37.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.37.1.tgz#aa7aadffd75c80393f9314f9857e851b0ffd34e7" - integrity sha512-V3ojEeyGeSdrMSuhP3diBb06P+qV4gKQeanbDv+Qh/BZbhdZ7kHV0xAt8Yjk4GFshq/WjO7R4c7DFM20AwTFVQ== - optionalDependencies: - fsevents "~2.1.2" - -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -saslprep@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226" - integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag== - dependencies: - sparse-bitfield "^3.0.3" - -schema-utils@^2.6.5, schema-utils@^2.7.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" - integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== - dependencies: - "@types/json-schema" "^7.0.5" - ajv "^6.12.4" - ajv-keywords "^3.5.2" - -schema-utils@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -semver@^5.5.0, semver@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== - dependencies: - lru-cache "^6.0.0" - -serialize-javascript@5.0.1, serialize-javascript@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-5.0.1.tgz#7886ec848049a462467a97d3d918ebb2aaf934f4" - integrity sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA== - dependencies: - randombytes "^2.1.0" - -set-blocking@^2.0.0, set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== - dependencies: - shebang-regex "^1.0.0" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -sisteransi@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" - integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== - -skypack@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/skypack/-/skypack-0.3.2.tgz#9df9fde1ed73ae6874d15111f0636e16f2cab1b9" - integrity sha512-je1pix0QYER6iHuUGbgcafRJT5TI+EGUIBfzBLMqo3Wi22I2SzB9TVHQqwKCw8pzJMuHqhVTFEHc3Ey+ra25Sw== - dependencies: - cacache "^15.0.0" - cachedir "^2.3.0" - esinstall "^1.0.0" - etag "^1.8.1" - find-up "^5.0.0" - got "^11.1.4" - kleur "^4.1.0" - mkdirp "^1.0.3" - p-queue "^6.2.1" - rimraf "^3.0.0" - rollup "^2.23.0" - validate-npm-package-name "^3.0.0" - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^3.0.0, slash@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -smartystreets-javascript-sdk@^1.6.0: - version "1.13.7" - resolved "https://registry.yarnpkg.com/smartystreets-javascript-sdk/-/smartystreets-javascript-sdk-1.13.7.tgz#2bb3ba4a81da5bf84a027912f8b45f77ac784dd8" - integrity sha512-oLZKVV9+OfL3nXyVSvS3S4R9AvzWKZau5hw2lFz9V+Ra0MvKy1s8rBKNorViji27LUo/KSsY/UDzzmJM0I+fVg== - dependencies: - axios "^0.26.1" - axios-retry "3.2.0" - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -snowpack@^3.4.0: - version "3.8.8" - resolved "https://registry.yarnpkg.com/snowpack/-/snowpack-3.8.8.tgz#237f1c0ad49c68313864f3aa4438db3affee0806" - integrity sha512-Y/4V8FdzzYpwmJU2TgXRRFytz+GFSliWULK9J5O6C72KyK60w20JKqCdRtVs1S6BuobCedF5vSBD1Gvtm+gsJg== - dependencies: - "@npmcli/arborist" "^2.6.4" - bufferutil "^4.0.2" - cachedir "^2.3.0" - cheerio "1.0.0-rc.10" - chokidar "^3.4.0" - cli-spinners "^2.5.0" - compressible "^2.0.18" - cosmiconfig "^7.0.0" - deepmerge "^4.2.2" - default-browser-id "^2.0.0" - detect-port "^1.3.0" - es-module-lexer "^0.3.24" - esbuild "~0.9.0" - esinstall "^1.1.7" - estree-walker "^2.0.2" - etag "^1.8.1" - execa "^5.1.1" - fdir "^5.0.0" - find-cache-dir "^3.3.1" - find-up "^5.0.0" - glob "^7.1.7" - httpie "^1.1.2" - is-plain-object "^5.0.0" - is-reference "^1.2.1" - isbinaryfile "^4.0.6" - jsonschema "~1.2.5" - kleur "^4.1.1" - magic-string "^0.25.7" - meriyah "^3.1.6" - mime-types "^2.1.26" - mkdirp "^1.0.3" - npm-run-path "^4.0.1" - open "^8.2.1" - pacote "^11.3.4" - periscopic "^2.0.3" - picomatch "^2.3.0" - postcss "^8.3.5" - postcss-modules "^4.0.0" - resolve "^1.20.0" - resolve-from "^5.0.0" - rimraf "^3.0.0" - rollup "~2.37.1" - signal-exit "^3.0.3" - skypack "^0.3.2" - slash "~3.0.0" - source-map "^0.7.3" - strip-ansi "^6.0.0" - strip-comments "^2.0.1" - utf-8-validate "^5.0.3" - ws "^7.3.0" - yargs-parser "^20.0.0" - optionalDependencies: - fsevents "^2.3.2" - -socks-proxy-agent@^6.0.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz#2687a31f9d7185e38d530bef1944fe1f1496d6ce" - integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.6.2, socks@^2.7.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" - integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - -source-list-map@^2.0.0, source-list-map@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - -source-map-js@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" - integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== - -source-map-resolve@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== - dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@0.5.13: - version "0.5.13" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" - integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@^0.5.16, source-map-support@^0.5.20, source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" - integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== - -source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -source-map@^0.7.3: - version "0.7.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" - integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== - -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - -sparse-bitfield@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz#ff4ae6e68656056ba4b3e792ab3334d38273ca11" - integrity sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ== - dependencies: - memory-pager "^1.0.2" - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -square@^8.1.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/square/-/square-8.1.1.tgz#b460293519292a56a9f7b120f8366493c3f38556" - integrity sha512-MSfpAEuos5Fh6NXA+GSjGrK+H4JyFm8198iJwgVUviPOasJE2eO5U5mcZDFz0HPW68NVcrKPnqmPa7Bjvxn33w== - dependencies: - "@apimatic/schema" "^0.4.1" - axios "^0.21.1" - detect-node "^2.0.4" - form-data "^3.0.0" - lodash.flatmap "^4.5.0" - tiny-warning "^1.0.3" - -sshpk@^1.7.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" - integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -ssri@^8.0.0, ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== - dependencies: - minipass "^3.1.1" - -stack-utils@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" - integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== - dependencies: - escape-string-regexp "^2.0.0" - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -string-hash@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" - integrity sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A== - -string-length@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" - integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== - dependencies: - char-regex "^1.0.2" - strip-ansi "^6.0.0" - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2": - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== - -strip-comments@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-2.0.1.tgz#4ad11c3fbcac177a67a40ac224ca339ca1c1ba9b" - integrity sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw== - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -strip-json-comments@3.1.1, strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -supports-color@8.1.1, supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" - integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.0.0, supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -tapable@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" - integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== - -tapable@^2.0.0-beta.10, tapable@^2.0.0-beta.11: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== - -tar@^6.0.2, tar@^6.1.0: - version "6.1.13" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" - integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^4.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -terser-webpack-plugin@^4.1.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz#28daef4a83bd17c1db0297070adc07fc8cfc6a9a" - integrity sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ== - dependencies: - cacache "^15.0.5" - find-cache-dir "^3.3.1" - jest-worker "^26.5.0" - p-limit "^3.0.2" - schema-utils "^3.0.0" - serialize-javascript "^5.0.1" - source-map "^0.6.1" - terser "^5.3.4" - webpack-sources "^1.4.3" - -terser@^5.3.4: - version "5.16.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.1.tgz#5af3bc3d0f24241c7fb2024199d5c461a1075880" - integrity sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw== - dependencies: - "@jridgewell/source-map" "^0.3.2" - acorn "^8.5.0" - commander "^2.20.0" - source-map-support "~0.5.20" - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" - integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== - dependencies: - "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" - -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== - -tiny-warning@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" - integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== - -tmpl@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" - integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tr46@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" - integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== - dependencies: - punycode "^2.1.1" - -treeverse@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-1.0.4.tgz#a6b0ebf98a1bca6846ddc7ecbc900df08cb9cd5f" - integrity sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g== - -tslib@^2.2.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" - integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== - -type-detect@4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -uid-safe@~2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/uid-safe/-/uid-safe-2.1.5.tgz#2b3d5c7240e8fc2e58f8aa269e5ee49c0857bd3a" - integrity sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA== - dependencies: - random-bytes "~1.0.0" - -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" - integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== - dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" - integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" - integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== - -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -untildify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-2.1.0.tgz#17eb2807987f76952e9c0485fc311d06a826a2e0" - integrity sha512-sJjbDp2GodvkB0FZZcn7k6afVisqX5BZD7Yq3xp4nN2O15BBK0cLm3Vwn2vQaF7UDS0UUsrQMkkplmDI5fskig== - dependencies: - os-homedir "^1.0.0" - -update-browserslist-db@^1.0.9: - version "1.0.10" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" - integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== - -url@^0.10.1: - version "0.10.3" - resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" - integrity sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ== - dependencies: - punycode "1.3.2" - querystring "0.2.0" - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -utf-8-validate@^5.0.3: - version "5.0.10" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" - integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== - dependencies: - node-gyp-build "^4.3.0" - -util-deprecate@^1.0.2, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha512-5KiHfsmkqacuKjkRkdV7SsfDJ2EGiPsK92s2MhNSY0craxjTdKTtqKsJaCWp4LW33ZZ0OPUv1WO/TFvNQRiQxQ== - dependencies: - inherits "2.0.1" - -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - -v8-compile-cache@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - -v8-to-istanbul@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" - integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== - dependencies: - "@jridgewell/trace-mapping" "^0.3.12" - "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== - dependencies: - builtins "^1.0.3" - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -vm2@^3.9.2: - version "3.9.13" - resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.13.tgz#774a1a3d73b9b90b1aa45bcc5f25e349f2eef649" - integrity sha512-0rvxpB8P8Shm4wX2EKOiMp7H2zq+HUE/UwodY0pCZXs9IffIKZq6vUti5OgkVCTakKo9e/fgO4X1fkwfjWxE3Q== - dependencies: - acorn "^8.7.0" - acorn-walk "^8.2.0" - -walk-up-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" - integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== - -walker@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" - integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== - dependencies: - makeerror "1.0.12" - -watchpack@2.0.0-beta.14: - version "2.0.0-beta.14" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.0.0-beta.14.tgz#6135804571e4bc6792d44e4df6a97f07e7d40272" - integrity sha512-mToSRWik+KvbvQ0c9Oxy2PjhiCUz5CXx6kpKI9MdJ/fiBDxi0HYx4UTGxQoHIEA7aXQKJrfNUhw9OeH2bc4Wvg== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -webidl-conversions@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" - integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== - -webpack-cli@^3.3.12: - version "3.3.12" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.12.tgz#94e9ada081453cd0aa609c99e500012fd3ad2d4a" - integrity sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag== - dependencies: - chalk "^2.4.2" - cross-spawn "^6.0.5" - enhanced-resolve "^4.1.1" - findup-sync "^3.0.0" - global-modules "^2.0.0" - import-local "^2.0.0" - interpret "^1.4.0" - loader-utils "^1.4.0" - supports-color "^6.1.0" - v8-compile-cache "^2.1.1" - yargs "^13.3.2" - -webpack-node-externals@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-2.5.2.tgz#178e017a24fec6015bc9e672c77958a6afac861d" - integrity sha512-aHdl/y2N7PW2Sx7K+r3AxpJO+aDMcYzMQd60Qxefq3+EwhewSbTBqNumOsCE1JsCUNoyfGj5465N0sSf6hc/5w== - -webpack-sources@2.0.0-beta.9: - version "2.0.0-beta.9" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.0.0-beta.9.tgz#49a504a08c0a8b1c5418c1fdca4ced06b5cb9119" - integrity sha512-q6O+gKGojLye0Fm05vgthtmx5LPbYpAU4FsdMsX8YBgkOZovDbQmBMhjY/CiWhxD9u/0AWeWdXFNbQz17mkdLw== - dependencies: - source-list-map "^2.0.1" - source-map "^0.6.1" - -webpack-sources@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack@5.0.0-beta.28: - version "5.0.0-beta.28" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.0.0-beta.28.tgz#5e3f3f0e1587f3eeffd8402ce7bd3d7d3ab1f242" - integrity sha512-NVaE2s4YlhP07eFtfw8mmBKlRQYcc+vjLIVyLSaawCvJdt7i53oHDe2K8zTDNCNcP/HWluEg9kghV19LBE2T4A== - dependencies: - "@types/eslint-scope" "^3.7.0" - "@types/estree" "^0.0.45" - "@webassemblyjs/ast" "1.9.0" - "@webassemblyjs/helper-module-context" "1.9.0" - "@webassemblyjs/wasm-edit" "1.9.0" - "@webassemblyjs/wasm-parser" "1.9.0" - acorn "^7.4.0" - chrome-trace-event "^1.0.2" - core-js "^3.6.5" - enhanced-resolve "5.0.0-beta.10" - eslint-scope "^5.1.0" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.4" - json-parse-better-errors "^1.0.2" - loader-runner "^4.0.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - pkg-dir "^4.2.0" - schema-utils "^2.7.0" - tapable "^2.0.0-beta.11" - terser-webpack-plugin "^4.1.0" - watchpack "2.0.0-beta.14" - webpack-sources "2.0.0-beta.9" - -whatwg-url@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" - integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== - dependencies: - tr46 "^3.0.0" - webidl-conversions "^7.0.0" - -which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== - -which@2.0.2, which@^2.0.1, which@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -which@^1.2.14, which@^1.2.9, which@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -wide-align@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== - dependencies: - string-width "^1.0.2 || 2" - -wide-align@^1.1.0: - version "1.1.5" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - -workerpool@6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.1.0.tgz#a8e038b4c94569596852de7a8ea4228eefdeb37b" - integrity sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg== - -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" - integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -write-file-atomic@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" - integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - -ws@^7.3.0, ws@^7.5.2: - version "7.5.9" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" - integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== - -y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yaml@^1.10.0: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@^13.1.2: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@^20.0.0, yargs-parser@^20.2.2: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs-unparser@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" - integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== - dependencies: - camelcase "^6.0.0" - decamelize "^4.0.0" - flat "^5.0.2" - is-plain-obj "^2.1.0" - -yargs@16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yargs@^13.3.2: - version "13.3.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" - integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" - -yargs@^17.3.1: - version "17.6.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" - integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== From 73b0c76e92c47b1ccf6de400fcd2fe80414467d4 Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 13:47:11 -0600 Subject: [PATCH 4/6] update branch --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index dbd297d1..e5a220e2 100755 --- a/install.sh +++ b/install.sh @@ -1,11 +1,15 @@ export PORT=8080 git clone https://github.com/module-federation/aegis +git checkout release-0-1-0 +git fetch git clone https://github.com/module-federation/aegis-host +git checkout release-0-1-0 +git fetch cd aegis yarn yarn build cd ../aegis-app -yarn +yarnwww yarn build cd ../aegis-host yarn From 261880f7d39d0e257bc132555b7448d159f21b1b Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 14:07:55 -0600 Subject: [PATCH 5/6] typo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e5a220e2..b8c46160 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ cd aegis yarn yarn build cd ../aegis-app -yarnwww +yarn yarn build cd ../aegis-host yarn From 061325b5bc164557b395d3a3def765d8bc8f9c67 Mon Sep 17 00:00:00 2001 From: tysonrm Date: Tue, 3 Jan 2023 17:43:56 -0600 Subject: [PATCH 6/6] remove unnecessary libs --- install.sh | 1 - package.json | 2 -- 2 files changed, 3 deletions(-) diff --git a/install.sh b/install.sh index b8c46160..48a2a7ca 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,3 @@ -export PORT=8080 git clone https://github.com/module-federation/aegis git checkout release-0-1-0 git fetch diff --git a/package.json b/package.json index 4c56d407..75ff4e82 100644 --- a/package.json +++ b/package.json @@ -78,8 +78,6 @@ "is-core-module": "^2.2.0", "jest": "^29.3.1", "mocha": "^8.2.0", - "py-loader": "^0.3.1", - "snowpack": "^3.4.0", "webpack": "5.0.0-beta.28", "webpack-cli": "^3.3.12", "webpack-node-externals": "^2.5.2"